:root {
  --plaster: #F9F3EA;
  --parchment: #EFE0CF;
  --bronze: #8D6A4C;
  --ink: #171916;
  --vermilion: #A83F31;
  --vermilion-deep: #8C3328;
  --muted: rgba(23, 25, 22, 0.72);
  --line: rgba(23, 25, 22, 0.14);
  --line-strong: rgba(23, 25, 22, 0.32);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --header: 78px;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
::selection { background: var(--vermilion); color: var(--plaster); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 80;
  background: var(--plaster); color: var(--ink); padding: 8px 12px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--vermilion); outline-offset: 3px; }

.trace {
  position: fixed; top: 0; left: 0; height: 1px; width: 0;
  background: var(--vermilion); z-index: 70; pointer-events: none;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(249, 243, 234, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.logo-link {
  display: inline-flex;
  align-items: baseline;
  margin-right: auto;
  text-decoration: none;
}
.mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.22em;
  line-height: 1;
  padding-left: 0.22em;
}
.desk-nav { display: flex; gap: 28px; }
.desk-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bronze);
}
.desk-nav a:hover { color: var(--ink); }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  cursor: pointer;
}
.menu-btn i { display: block; width: 14px; height: 1px; background: currentColor; }

.nav-panel {
  position: fixed; inset: var(--header) 0 0 0; z-index: 35;
  background: rgba(249, 243, 234, 0.98);
  padding: 36px var(--gutter);
}
.nav-panel[hidden] { display: none; }
.nav-panel nav { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.nav-panel a:not(.btn) {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  font-style: italic;
  text-decoration: none;
  line-height: 1;
}
.nav-panel a:not(.btn):hover { color: var(--vermilion); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.btn-red { background: var(--vermilion); color: var(--plaster); border-color: var(--vermilion); }
.btn-red:hover { background: var(--vermilion-deep); border-color: var(--vermilion-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(23, 25, 22, 0.45); }
.btn-ghost:hover { background: var(--ink); color: var(--plaster); border-color: var(--ink); }

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 8px) var(--gutter) 96px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(249, 243, 234, 0.55) 0%, rgba(249, 243, 234, 0.12) 42%, rgba(249, 243, 234, 0) 68%),
    url("assets/hero-creation.jpg?v=6") center 50% / cover no-repeat;
  background-color: #e7d7c2;
}
.hero-copy {
  position: relative; z-index: 1;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  width: min(820px, calc(100% - 32px));
  margin-top: 2vh;
}
.lockup-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(76px, 12vw, 138px);
  line-height: 0.82;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  color: var(--ink);
}
.lockup-name-sm {
  font-size: clamp(56px, 7vw, 84px);
  letter-spacing: 0.18em;
  padding-left: 0.18em;
}
.lockup-line {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--vermilion);
}
h1 {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  max-width: 22em;
  color: var(--ink);
}
h2, .cases h3, .card h3, .stats h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.sub, .split-copy p, .card p, .stats p, .cases li p, .security p, .contact-copy p {
  color: var(--muted);
}
.sub { margin-top: 18px; max-width: 48ch; font-size: 15.5px; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 64px;
  z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}
.hero-caption::before, .hero-caption::after {
  content: "";
  width: min(88px, 12vw);
  height: 1px;
  background: rgba(141, 106, 76, 0.55);
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  color: var(--bronze);
  z-index: 1;
}
.scroll-cue:hover { color: var(--ink); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.tick { width: 28px; height: 1px; background: var(--vermilion); display: inline-block; }

.cases {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.split {
  position: relative;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 72px;
  align-items: center;
  padding: 112px max(var(--gutter), calc((100% - var(--max)) / 2));
  background:
    radial-gradient(ellipse at 18% 88%, rgba(232, 214, 190, 0.7), transparent 42%),
    #f4ecdf;
  overflow: hidden;
}
.split-orbit, .split-clouds {
  position: absolute;
  pointer-events: none;
}
.split-orbit {
  left: 50%;
  top: 50%;
  width: min(1460px, calc(100% - 32px));
  height: 94%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.split-clouds {
  left: max(0px, calc(50% - 760px));
  bottom: 0;
  width: min(360px, 32%);
  height: auto;
  z-index: 0;
  opacity: 0.85;
}
.split-copy, .stats { position: relative; z-index: 1; }
.split h2 {
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 0.96;
  max-width: 13ch;
}
.section-head h2, .security h2, .contact h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.98;
  max-width: 14ch;
}
.split-copy p { margin-top: 26px; max-width: 42ch; font-size: 15px; color: rgba(23, 25, 22, 0.78); }
.stats { list-style: none; display: flex; flex-direction: column; }
.stats li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(141, 106, 76, 0.38);
}
.stats li:last-child { border-bottom: 1px solid rgba(141, 106, 76, 0.38); }
.stat-index {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--vermilion);
  border-right: 1px solid rgba(141, 106, 76, 0.45);
  padding: 8px 16px 8px 0;
}
.card-index, .cases li > span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--vermilion);
}
.stats h3 { font-size: 28px; line-height: 1.05; margin-bottom: 4px; }
.stats p { max-width: 32ch; font-size: 14.5px; line-height: 1.45; }

.engine {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f6efe4;
  padding: 92px max(var(--gutter), calc((100% - var(--max)) / 2)) 84px;
}
.engine::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(141, 106, 76, 0.28);
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 13px;
  height: 13px;
  z-index: 2;
  pointer-events: none;
}
.corner::before, .corner::after {
  content: "";
  position: absolute;
  background: #8d6a4c;
}
.corner::before { left: 6px; top: 0; width: 1px; height: 13px; }
.corner::after { left: 0; top: 6px; width: 13px; height: 1px; }
.corner-tl { top: 12px; left: 12px; }
.corner-tr { top: 12px; right: 12px; }
.corner-bl { bottom: 12px; left: 12px; }
.corner-br { bottom: 12px; right: 12px; }
.engine-cloud {
  position: absolute;
  width: min(280px, 28vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.engine-cloud-l { top: 0; left: 0; }
.engine-cloud-r { top: 18%; right: 0; transform: scaleX(-1); opacity: 0.7; }
.engine-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.engine-orbit { width: min(100%, 460px); height: auto; justify-self: end; }
.engine .section-head { margin-bottom: 0; }
.engine h2 { max-width: 12ch; font-size: clamp(42px, 4.2vw, 60px); }
.section-head { margin-bottom: 40px; }
.cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  background: rgba(249, 243, 234, 0.35);
  border: 1px solid rgba(141, 106, 76, 0.45);
  padding: 26px 24px 28px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 12px;
}
.card-star {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 13px;
  height: 13px;
  color: var(--vermilion);
}
.card-index { font-size: 16px; letter-spacing: 0.02em; text-transform: none; font-style: italic; }
.card h3 { font-size: 30px; line-height: 1.05; max-width: 14ch; }
.card p { margin-top: auto; font-size: 14.5px; line-height: 1.5; }
.card:hover { border-color: rgba(141, 106, 76, 0.8); }

.cases { padding: 108px 0; }
.cases ol { list-style: none; border-top: 1px solid var(--line); }
.cases li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.cases h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-style: italic;
}
.cases li p { margin-top: 8px; max-width: 54ch; }
.cases li em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}

.security {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--plaster);
  padding: 76px max(var(--gutter), calc((100% - var(--max)) / 2)) 76px max(280px, calc((100% - var(--max)) / 2 + 20px));
  display: grid;
  grid-template-columns: 1.25fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.security-bust {
  position: absolute;
  left: 0;
  top: 6%;
  height: 88%;
  width: min(300px, 30vw);
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 46%, transparent 88%);
  mask-image: linear-gradient(90deg, #000 46%, transparent 88%);
}
.security-arc {
  position: absolute;
  right: 6%;
  top: 50%;
  width: min(420px, 40vw);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.85;
}
.security-copy, .labs { position: relative; z-index: 1; }
.security h2 { color: var(--plaster); max-width: 12ch; }
.security .eyebrow { color: #e7d7c4; }
.security p { margin-top: 18px; max-width: 46ch; color: rgba(249, 243, 234, 0.78); font-size: 15px; }
.labs { list-style: none; display: flex; flex-direction: column; align-self: center; }
.labs li {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 0;
  border-top: 1px solid rgba(196, 164, 132, 0.55);
  color: var(--plaster);
}
.labs li:last-child { border-bottom: 1px solid rgba(196, 164, 132, 0.55); color: #e07a62; }

.contact {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding: 88px max(var(--gutter), calc((100% - var(--max)) / 2)) 36px;
  align-items: start;
  background: #f7f1e8;
}
.contact::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 28px;
  width: 340px;
  height: 460px;
  border: 1px solid rgba(141, 106, 76, 0.35);
  border-bottom: 0;
  border-radius: 220px 220px 0 0;
  pointer-events: none;
}
.contact-mark {
  position: relative;
  margin-bottom: 28px;
  padding: 2px 0 10px 22px;
}
.contact-mark::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: -6px;
  width: 1px;
  background: rgba(141, 106, 76, 0.55);
}
.contact-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(#8d6a4c, #8d6a4c) center / 1px 13px no-repeat,
    linear-gradient(#8d6a4c, #8d6a4c) center / 13px 1px no-repeat;
}
.contact-word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  padding-left: 0.28em;
}
.contact-copy .lockup-line {
  margin-top: 8px;
  margin-bottom: 0;
  letter-spacing: 0.22em;
  text-indent: 0;
  font-size: 10px;
  white-space: nowrap;
  color: var(--vermilion);
}
.contact-copy p { margin-top: 16px; max-width: 36ch; font-size: 16px; }
.contact-copy .contact-word {
  margin-top: 0;
  max-width: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  color: var(--ink);
}
.contact h2 { margin-top: 8px; }
form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  padding-top: 36px;
}
form .btn { align-self: center; margin-top: 10px; min-width: 260px; }
label { width: 100%; display: flex; flex-direction: column; gap: 8px; }
label span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}
input, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 12px;
  outline: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-bottom-color: var(--vermilion); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-bottom-color: var(--vermilion); }
.form-error { color: var(--vermilion); font-size: 14px; }
::placeholder { color: rgba(23, 25, 22, 0.38); }
textarea::placeholder { font-family: var(--serif); font-style: italic; font-size: 17px; }

.site-footer {
  width: 100%;
  margin: 0;
  padding: 22px max(var(--gutter), calc((100% - var(--max)) / 2)) 32px;
  border-top: 1px solid rgba(141, 106, 76, 0.35);
  background: #f7f1e8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.site-footer .logo-link { margin-right: 0; justify-self: start; }
.site-footer .mark { font-size: 20px; letter-spacing: 0.22em; }
.site-footer p { text-align: center; }
.site-footer a:not(.logo-link) { color: var(--bronze); text-decoration: none; justify-self: end; }
.site-footer a:not(.logo-link):hover { color: var(--vermilion); }

@media (max-width: 980px) {
  .desk-nav, .site-header .btn-red { display: none; }
  .menu-btn { display: flex; }
  .split, .security, .contact, .cards, .engine-top { grid-template-columns: 1fr; }
  .engine-orbit { justify-self: start; width: min(100%, 320px); }
  .security { padding-left: var(--gutter); }
  .security-bust { display: none; }
  .contact::after { display: none; }
  .hero { min-height: 100svh; padding-top: 96px; }
  .lockup-line { letter-spacing: 0.22em; text-indent: 0.22em; font-size: 11px; }
  .cases li { grid-template-columns: 44px 1fr; }
  .cases li em { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer p, .site-footer a:not(.logo-link) { justify-self: start; text-align: left; }
  .security { align-items: start; }
}

@media (max-width: 640px) {
  .lockup-name { font-size: 64px; letter-spacing: 0.1em; padding-left: 0.1em; }
  h1 { font-size: 24px; }
  .split h2, .section-head h2, .security h2, .contact h2 { font-size: 36px; }
  .card { min-height: 0; }
  .stats h3, .card h3 { font-size: 28px; }
  .hero-caption { letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
