:root {
  --bg: #090507;
  --bg-soft: #13090e;
  --bg-mid: #1a0f15;
  --rose: #943050;
  --rose-deep: #7a2040;
  --gold: #c8a070;
  --ivory: #ead9cc;
  --ivory-soft: #d8c8bc;
  --light: #ede5da;
  --light-2: #f6eee8;
  --ink: #1d1015;
  --line-dark: rgba(200, 160, 112, 0.12);
  --line-light: rgba(29, 16, 21, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.44);
  --shadow-light: 0 30px 80px rgba(55, 31, 20, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(148, 48, 80, 0.16), transparent 24%),
    linear-gradient(180deg, #070406, #0a0507 16%, #090507 100%);
  color: var(--ivory);
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.ambient-grain {
  position: fixed;
  inset: -150%;
  width: 400%;
  height: 400%;
  pointer-events: none;
  opacity: 0.026;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px;
  animation: grain-shift .2s steps(1) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(2%, -2%); }
  75% { transform: translate(2%, 3%); }
  100% { transform: translate(-1%, 2%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(14px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(8, 5, 7, 0.96), rgba(8, 5, 7, 0.78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 160, 112, 0.08);
}

.brand-mark {
  text-decoration: none;
  font-family: "Noto Serif Display", serif;
  font-weight: 200;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(14px, 1.8vw, 18px);
  white-space: nowrap;
}

.brand-gordi {
  color: var(--ivory-soft);
}

.brand-art {
  color: var(--rose);
}

.header-cta,
.button,
.text-link,
.tag-chip,
.channel-chip,
.process-step {
  transition:
    background-color .24s ease,
    border-color .24s ease,
    color .24s ease,
    transform .24s ease,
    opacity .24s ease;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  width: auto;
  background: linear-gradient(180deg, rgba(50, 22, 32, 0.3), rgba(20, 10, 14, 0.2));
  border-color: rgba(148, 48, 80, 0.28);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(200, 160, 112, 0.06);
}

.button {
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(90deg, var(--rose), var(--rose-deep));
  color: var(--ivory);
}

.button-ghost {
  border-color: rgba(200, 160, 112, 0.22);
  color: var(--ivory);
  background: transparent;
}

.button-dark {
  background: linear-gradient(90deg, var(--rose), var(--rose-deep));
  color: var(--light-2);
}

.header-cta:hover,
.button:hover,
.text-link:hover,
.tag-chip:hover,
.channel-chip:hover,
.process-step:hover {
  transform: translateY(-1px);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 4, 6, 0.72);
  backdrop-filter: blur(10px);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 24px));
  margin: min(7vh, 64px) auto 0;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(200, 160, 112, 0.14);
  background:
    radial-gradient(circle at top right, rgba(148, 48, 80, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(22, 11, 16, 0.96), rgba(8, 5, 7, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ivory);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.project-modal-eyebrow,
.hero-label,
.section-eyebrow,
.service-tag,
.portfolio-cat,
.manifest-name-label,
.card-label,
.process-card-num,
.project-field span,
.project-form-note,
.panel-index,
.panel-index-dark,
.dialogue-meta,
.service-num,
.section-note,
.legal-links {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.project-modal-eyebrow,
.section-eyebrow,
.hero-label,
.service-tag,
.portfolio-cat,
.manifest-name-label {
  letter-spacing: 0.3em;
}

.project-modal-eyebrow {
  margin: 0 0 14px;
  font-size: 9px;
  color: rgba(200, 160, 112, 0.74);
}

.project-modal-title,
.hero-title,
.section-title,
.dialogue-copy h3,
.service-item h3,
.process-card h3,
.portfolio-card h3,
.flagship-card h3 {
  margin: 0;
  font-family: "Noto Serif Display", serif;
  font-weight: 200;
}

.project-modal-title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.project-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.project-field {
  display: grid;
  gap: 8px;
}

.project-field-wide {
  grid-column: 1 / -1;
}

.project-field span {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(200, 160, 112, 0.74);
}

.project-field input,
.project-field textarea {
  width: 100%;
  border: 1px solid rgba(200, 160, 112, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ivory);
  padding: 15px 16px;
  outline: none;
}

.project-field textarea {
  resize: vertical;
  min-height: 140px;
}

.project-field input::placeholder,
.project-field textarea::placeholder {
  color: rgba(234, 217, 204, 0.38);
}

.project-form-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.modal-submit {
  width: 100%;
}

.project-form-note {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(200, 160, 112, 0.68);
}

.page-shell {
  scroll-padding-top: 84px;

  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 20px));
  margin: 0 auto;
  padding: 12px 0 36px;
}

.panel {
  scroll-margin-top: 84px;

  position: relative;
  overflow: clip;
  margin-bottom: 12px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at top right, rgba(148, 48, 80, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(200, 160, 112, 0.08), transparent 38%),
    linear-gradient(180deg, var(--bg-mid), var(--bg));
  box-shadow: var(--shadow-dark);
}

.panel-light {
  border-color: var(--line-light);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, var(--light-2), var(--light));
  color: var(--ink);
  box-shadow: var(--shadow-light);
}

.panel-index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(212, 184, 152, 0.46);
}

.panel-index-dark {
  color: rgba(29, 16, 21, 0.4);
}

.panel-hero {
  min-height: min(100svh - 84px, 880px);
  padding: clamp(26px, 6vw, 54px) clamp(18px, 4vw, 42px) clamp(28px, 4vw, 42px);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 9px;
  color: rgba(200, 160, 112, 0.74);
}

.hero-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 160, 112, 0.46), transparent);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  min-height: clamp(520px, 74svh, 820px);
  padding-top: clamp(18px, 3vw, 30px);
}

.hero-title-wrap {
  position: relative;
  max-width: 760px;
  padding-top: clamp(62px, 8vw, 112px);
}

.hero-ghost {
  position: absolute;
  top: clamp(34px, 4vw, 58px);
  left: 14px;
  display: grid;
  gap: clamp(4px, 1.1vw, 14px);
  font-family: "Noto Serif Display", serif;
  font-style: italic;
  font-weight: 100;
  color: rgba(212, 184, 152, 0.14);
  pointer-events: none;
}

.hero-ghost-top {
  font-size: clamp(64px, 7vw, 120px);
  line-height: 0.86;
}

.hero-ghost-bottom {
  margin-left: clamp(144px, 20vw, 334px);
  margin-top: clamp(34px, 3.6vw, 62px);
  font-size: clamp(62px, 6.8vw, 118px);
  line-height: 0.84;
}

.hero-title {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.03em;
  max-width: 6.4em;
  font-size: clamp(84px, 14vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.hero-title .accent {
  color: var(--rose);
}

.hero-copy {
  align-self: center;
  justify-self: end;
  max-width: 390px;
  position: relative;
  z-index: 2;
}

.hero-sub,
.hero-rational,
.flagship-copy p,
.dialogue-copy p,
.service-item p,
.process-card p,
.portfolio-card p,
.manifest-lines p,
.contact-row,
.flagship-card p,
.card-detail {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.56;
}

.dialogue-copy p,
.service-item p,
.portfolio-card p,
.manifest-lines p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
}

.dialogue-copy h3,
.service-item h3,
.portfolio-card h3,
.process-card h3,
.panel-manifest .section-title-dark {
  font-weight: 200;
}

.hero-rational {
  margin-top: 16px;
  color: rgba(234, 217, 204, 0.8);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section-head {
  max-width: 760px;
}

.section-eyebrow {
  margin: 0 0 18px;
  font-size: 9px;
  color: rgba(200, 160, 112, 0.72);
}

.section-eyebrow-dark {
  color: rgba(122, 32, 64, 0.84);
}

.section-title {
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.section-title-dark {
  color: var(--ink);
}

.section-title em,
.dialogue-copy h3 em {
  font-style: italic;
  color: var(--rose);
}

.section-note {
  margin-top: 14px;
  max-width: 520px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(200, 160, 112, 0.66);
}

.panel-light .section-note {
  color: rgba(122, 32, 64, 0.62);
}

.panel-flagship,
.panel-services,
.panel-portfolio,
.panel-manifest,
.panel-contacts,
.panel-process,
.panel-dialogue {
  padding: clamp(48px, 6vw, 76px) clamp(18px, 4vw, 42px);
}

.panel-flagship {
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.22), rgba(19, 10, 15, 0)),
    #ead9cc;
}

.flagship-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 34px;
}

.flagship-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.flagship-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 32, 64, 0.2);
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.12), rgba(19, 10, 15, 0)),
    #ead9cc;
  cursor: pointer;
  transition:
    background 0.56s ease,
    border-color 0.56s ease,
    transform 0.56s cubic-bezier(0.2, 0.75, 0.24, 1);
  overflow: hidden;
}

.flagship-card > * {
  position: relative;
  z-index: 1;
}

.flagship-card.is-active,
.flagship-card:hover {
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.16), rgba(19, 10, 15, 0.03)),
    #ead9cc;
  border-color: rgba(122, 32, 64, 0.3);
}

.flagship-card-max {
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.14), rgba(19, 10, 15, 0)),
    #ead9cc;
}

.card-label,
.process-card-num {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(122, 32, 64, 0.74);
}

.flagship-card h3 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 0.9;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(122, 32, 64, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16));
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  color: rgba(122, 32, 64, 0.88);
}

.card-icon--tg,
.card-icon--bot,
.card-icon--max,
.card-icon--pulse {
  text-shadow: 0 2px 10px rgba(122, 32, 64, 0.18);
}

.flagship-card > p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.18;
  letter-spacing: 0.004em;
  color: rgba(29, 16, 21, 0.86);
}

.card-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(29, 16, 21, 0);
  color: rgba(29, 16, 21, 0.8);
  transition:
    max-height 0.82s cubic-bezier(0.2, 0.75, 0.24, 1),
    opacity 0.62s ease,
    transform 0.62s ease,
    margin-top 0.62s ease,
    padding-top 0.62s ease,
    border-color 0.62s ease;
}

.flagship-card.is-active .card-detail {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
  padding-top: 14px;
  border-top-color: rgba(29, 16, 21, 0.1);
}

.panel-dialogue {
  background:
    radial-gradient(circle at 0% 20%, rgba(148, 48, 80, 0.15), transparent 26%),
    radial-gradient(circle at 100% 80%, rgba(200, 160, 112, 0.07), transparent 28%),
    linear-gradient(180deg, #10070d, #080507);
}

.panel-process {
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.16), rgba(19, 10, 15, 0.02)),
    #ead9cc;
}

.dialogue-title-wrap {
  position: relative;
  display: grid;
  width: fit-content;
}

.dialogue-ghost-title {
  position: absolute;
  left: clamp(10px, 2vw, 24px);
  top: clamp(-2px, 0.3vw, 10px);
  margin: 0;
  font-family: "Noto Serif Display", serif;
  font-style: italic;
  font-weight: 100;
  font-size: clamp(34px, 4.8vw, 74px);
  line-height: 0.92;
  color: rgba(212, 184, 152, 0.2);
  pointer-events: none;
}

.dialogue-title-main {
  color: var(--ivory);
}

.dialogue-title-main em {
  color: var(--rose);
}

.dialogue-ghost-title .ghost-top {
  position: relative;
  display: inline-block;
  top: -0.5em;
}

.dialogue-ghost-title .ghost-bottom {
  position: static;
  display: inline-block;
  margin-left: 0;
}

.dialogue-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.dialogue-card {
  border-radius: var(--radius-lg);
  border: 1px solid #7a2040;
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.12), rgba(19, 10, 15, 0)),
    #ead9cc;
}

.dialogue-card {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  border: 1px solid #7a2040;
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.36), rgba(19, 10, 15, 0.08)),
    linear-gradient(180deg, #10070d, #080507);
}

.dialogue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(148, 48, 80, 0.14), rgba(19, 10, 15, 0));
  pointer-events: none;
  z-index: 0;
}

.dialogue-card::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: var(--dialogue-art-bottom, -18px);
  width: 178px;
  height: 246px;
  background-image: var(--dialogue-art);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.dialogue-card,
.service-item,
.portfolio-card {
  padding: 22px;
}

.panel-services .service-item,
.panel-portfolio .portfolio-card,
.panel-contacts .contact-row {
  border-radius: var(--radius-lg);
  border: 1px solid #7a2040;
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.34), rgba(19, 10, 15, 0.08)),
    linear-gradient(180deg, #10070d, #080507);
  color: var(--ivory);
}

.panel-services .service-item h3,
.panel-portfolio .portfolio-card h3 {
  color: rgba(246, 238, 232, 0.98);
}

.panel-services .service-item p,
.panel-portfolio .portfolio-card p {
  color: rgba(234, 217, 204, 0.92);
}

.panel-services .service-tag,
.panel-portfolio .portfolio-cat,
.panel-services .service-num {
  color: rgba(234, 217, 204, 0.72);
}

.panel-contacts .contact-row {
  padding: 18px;
}

.panel-contacts .contact-row span {
  color: rgba(234, 217, 204, 0.9);
}

.panel-contacts .contact-row input {
  border-bottom-color: rgba(234, 217, 204, 0.34);
}

.panel-contacts .tag-chip,
.panel-contacts .channel-chip {
  border-color: rgba(234, 217, 204, 0.28);
  color: rgba(234, 217, 204, 0.92);
}

.dialogue-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(234, 217, 204, 0.84);
}

.dialogue-sep {
  width: 32px;
  height: 1px;
  background: rgba(234, 217, 204, 0.44);
}

.dialogue-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.dialogue-copy h3 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 0.94;
  color: rgba(246, 238, 232, 0.98);
}

.dialogue-copy p {
  margin-top: 16px;
  max-width: 560px;
  font-size: clamp(19px, 1.9vw, 23px);
  color: rgba(234, 217, 204, 0.92);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.services-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.service-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(200, 160, 112, 0.78);
}

.service-tag,
.portfolio-cat {
  display: block;
  margin-bottom: 12px;
  font-size: 9px;
  color: rgba(200, 160, 112, 0.72);
}

.service-item h3,
.portfolio-card h3,
.process-card h3 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 0.94;
}

.service-item p,
.portfolio-card p {
  margin-top: 14px;
}

.service-item {
  cursor: pointer;
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(234, 217, 204, 0);
  transition:
    max-height 0.62s cubic-bezier(0.2, 0.75, 0.24, 1),
    opacity 0.52s ease,
    transform 0.52s ease,
    margin-top 0.52s ease,
    padding-top 0.52s ease,
    border-color 0.52s ease;
}

.service-item.is-active .service-detail {
  max-height: 480px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 14px;
  padding-top: 14px;
  border-top-color: rgba(234, 217, 204, 0.22);
}

.service-detail h4 {
  margin: 0 0 10px;
  font-family: "Noto Serif Display", serif;
  font-weight: 200;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.02;
  color: rgba(246, 238, 232, 0.98);
}

.service-detail p {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.56;
  color: rgba(234, 217, 204, 0.9);
}

.service-detail p:last-child {
  margin-bottom: 0;
}

.service-stack {
  font-family: "JetBrains Mono", monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 160, 112, 0.86) !important;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 160, 112, 0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 184, 152, 0.74);
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}

.process-steps {
  display: grid;
  gap: 10px;
}

.process-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(122, 32, 64, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.1), rgba(19, 10, 15, 0)),
    #ead9cc;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-family: "Noto Serif Display", serif;
}

.process-step span:first-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(122, 32, 64, 0.74);
}

.process-step.is-active {
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.14), rgba(19, 10, 15, 0.03)),
    #ead9cc;
  border-color: #7a2040;
}

.process-panels {
  display: none;
}

.process-card {
  position: relative;
  inset: auto;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(122, 32, 64, 0.22);
  background:
    linear-gradient(160deg, rgba(19, 10, 15, 0.14), rgba(19, 10, 15, 0.04)),
    #ead9cc;
  display: none;
  margin: 0;
}

.process-card.is-active {
  display: block;
}

.process-steps .process-card {
  margin: 6px 0 10px;
}

.process-card p {
  margin-top: 16px;
  max-width: 520px;
  color: rgba(29, 16, 21, 0.86);
}

.process-out {
  display: inline-flex;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(122, 32, 64, 0.22);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(122, 32, 64, 0.74);
}

.manifest-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.panel-manifest {
  position: relative;
  border-color: rgba(122, 32, 64, 0.22);
  background:
    radial-gradient(circle at 20% 20%, rgba(148, 48, 80, 0.14), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(200, 160, 112, 0.08), transparent 30%),
    linear-gradient(180deg, #10070d, #080507);
  color: var(--ivory);
}

.panel-manifest::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 22%, rgba(212, 184, 152, 0.56) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 15%, rgba(212, 184, 152, 0.52) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 18%, rgba(212, 184, 152, 0.48) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 26%, rgba(212, 184, 152, 0.44) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 70%, rgba(212, 184, 152, 0.36) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 78%, rgba(212, 184, 152, 0.42) 0 1px, transparent 2px);
}

.panel-manifest .panel-index-dark {
  color: rgba(212, 184, 152, 0.42);
}

.manifest-ghost {
  position: absolute;
  left: clamp(54px, 15vw, 250px);
  top: clamp(36%, 46%, 52%);
  transform: translateY(-50%);
  z-index: 2;
  margin: 0;
  font-family: "Noto Serif Display", serif;
  font-style: italic;
  font-weight: 100;
  font-size: clamp(120px, 20vw, 300px);
  line-height: 0.8;
  color: rgba(148, 48, 80, 0.14);
  pointer-events: none;
}

.manifest-photo {
  position: relative;
  z-index: 3;
  max-width: 300px;
  width: 100%;
  justify-self: center;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
}

.manifest-photo img {
  width: 100%;
  max-height: 440px;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}

.manifest-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 32%;
  background: linear-gradient(180deg, rgba(8, 5, 7, 0), rgba(8, 5, 7, 1));
  filter: blur(8px);
  pointer-events: none;
}

.manifest-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 5, 7, 0.78), rgba(8, 5, 7, 0) 20%, rgba(8, 5, 7, 0) 80%, rgba(8, 5, 7, 0.78)),
    linear-gradient(180deg, rgba(8, 5, 7, 0) 62%, rgba(8, 5, 7, 0.86));
  filter: blur(10px);
  pointer-events: none;
}

.manifest-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: clamp(20px, 2.6vw, 34px);
  max-width: 620px;
}

.panel-manifest .section-eyebrow-dark,
.panel-manifest .manifest-name-label {
  color: rgba(200, 160, 112, 0.86);
}

.panel-manifest .manifest-name-label {
  font-size: 8px;
}

.manifest-title em {
  color: var(--rose);
}

.panel-manifest .section-title-dark {
  color: rgba(246, 238, 232, 0.98);
}

.panel-manifest .manifest-lines p {
  font-size: clamp(19px, 1.9vw, 23px);
  color: rgba(234, 217, 204, 0.9);
}

.manifest-accent {
  color: rgba(246, 238, 232, 0.98);
  font-style: italic;
  border-left: 2px solid rgba(148, 48, 80, 0.74);
  padding-left: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px;
}

.contact-row input {
  min-width: 160px;
  flex: 1 1 180px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(200, 160, 112, 0.18);
  background: transparent;
  color: var(--ivory);
  outline: none;
}

.contact-row input::placeholder {
  color: rgba(234, 217, 204, 0.38);
}

.tag-list,
.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-chip,
.channel-chip {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(200, 160, 112, 0.18);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tag-chip.is-selected,
.channel-chip.is-selected {
  background: rgba(148, 48, 80, 0.22);
  border-color: rgba(148, 48, 80, 0.36);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.legal-links a {
  text-decoration: none;
  color: rgba(200, 160, 112, 0.74);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-stage,
  .flagship-layout,
  .process-layout,
  .manifest-layout {
    grid-template-columns: 1fr;
  }

  .manifest-ghost {
    left: 50%;
    top: clamp(22%, 26vw, 36%);
    transform: translate(-58%, -50%);
    font-size: clamp(104px, 28vw, 220px);
  }

  .hero-copy {
    max-width: 460px;
    justify-self: start;
    align-self: start;
  }

  .process-panels {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .project-form {
    grid-template-columns: 1fr;
  }

  .flagship-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(64px, 22vw, 132px);
  }

  .section-title {
    font-size: clamp(40px, 11vw, 68px);
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100vw - 12px, 1280px);
    padding-top: 6px;
  }

  .site-header {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 12px;
  }

  .header-cta {
    width: auto;
    min-width: 182px;
    padding-inline: 14px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .button {
    width: 100%;
  }

  .project-modal-dialog {
    width: calc(100vw - 16px);
    margin-top: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .panel-hero,
  .panel-flagship,
  .panel-services,
  .panel-portfolio,
  .panel-manifest,
  .panel-contacts,
  .panel-process,
  .panel-dialogue {
    padding-inline: 14px;
    padding-block: 42px;
    border-radius: 24px;
  }

  .panel-hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-label {
    gap: 8px;
  }

  .hero-line {
    width: 24px;
  }

  .hero-stage {
    gap: 22px;
    padding-top: 20px;
    min-height: auto;
  }

  .hero-title-wrap {
    padding-top: 48px;
  }

  .hero-ghost {
    top: 22px;
    left: 2px;
    gap: 6px;
  }

  .hero-ghost-top {
    font-size: clamp(44px, 11.8vw, 70px);
  }

  .hero-ghost-bottom {
    margin-left: clamp(122px, 38vw, 170px);
    margin-top: clamp(28px, 7vw, 42px);
    font-size: clamp(40px, 10.6vw, 66px);
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(60px, 20vw, 100px);
    line-height: 0.84;
  }

  .manifest-ghost {
    left: 50%;
    top: 24%;
    transform: translate(-60%, -50%);
    font-size: clamp(84px, 26vw, 142px);
  }

  .hero-sub,
  .hero-rational,
  .flagship-copy p,
  .dialogue-copy p,
  .service-item p,
  .process-card p,
  .portfolio-card p,
  .manifest-lines p,
  .contact-row,
  .flagship-card > p,
  .card-detail {
    font-size: 16px;
    line-height: 1.48;
  }

  .flagship-card > p {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.16;
  }

  .dialogue-copy p {
    font-size: 18px;
    line-height: 1.5;
  }

  .panel-manifest .manifest-lines p {
    font-size: 18px;
    line-height: 1.52;
  }

  .flagship-card,
  .service-item,
  .portfolio-card,
  .dialogue-card,
  .process-card,
  .contact-row {
    padding: 18px;
    border-radius: 20px;
  }

  .dialogue-copy h3,
  .service-item h3,
  .portfolio-card h3,
  .process-card h3,
  .flagship-card h3 {
    font-size: 32px;
  }

  .dialogue-ghost-title {
    left: 2px;
    top: 0;
    font-size: clamp(28px, 9vw, 48px);
  }

  .process-panels {
    min-height: 0;
  }

  .contact-row input {
    min-width: 100%;
    flex-basis: 100%;
  }

  .legal-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
