:root {
  --ink: #0c0c0c;
  --paper: #f2f0eb;
  --soft: #bbb6aa;
  --gold: #bd9b62;
  --line: rgba(255, 255, 255, .16);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,155,98,.1), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 142px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
}
.brand img { display: block; width: 245px; height: auto; }
.header-mark {
  justify-self: end;
  display: block;
  width: 245px;
}
.header-mark img {
  display: block;
  width: 100%;
  height: auto;
  opacity: .92;
  transition: opacity .3s ease, transform .5s ease;
}
.header-mark:hover img { opacity: 1; transform: translateX(-3px); }
.site-header nav { display: flex; gap: 40px; }
.site-header nav a,
.text-button {
  position: relative;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right .35s ease;
}
.site-header nav a:hover::after { right: 0; }
.text-button {
  justify-self: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.text-button span { color: var(--gold); margin-left: 8px; }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 210px 8vw 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #090909 0%, #11100e 55%, #080808 100%);
}
.mark-scene {
  position: absolute;
  z-index: 1;
  width: min(46vw, 620px);
  height: min(68vh, 700px);
  right: 7vw;
  top: 20%;
  perspective: 1100px;
  pointer-events: none;
}
.spinning-mark {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: markSpin3d 18s linear infinite;
}
.mark-face,
.mark-depth {
  position: absolute;
  inset: 0;
  display: block;
  background: center / contain no-repeat url("icon-mark-white.png");
  filter: drop-shadow(0 0 30px rgba(189,155,98,.14));
}
.mark-front {
  opacity: .065;
  transform: translateZ(18px);
}
.mark-back {
  opacity: .035;
  transform: rotateY(180deg) translateZ(18px);
}
.mark-depth {
  opacity: .018;
  filter: sepia(1) saturate(.7) drop-shadow(0 0 18px rgba(189,155,98,.12));
}
.mark-depth-one { transform: translateZ(9px); }
.mark-depth-two { transform: translateZ(0); }
.mark-depth-three { transform: translateZ(-9px); }
@keyframes markSpin3d {
  0% { transform: rotateX(-7deg) rotateY(0deg); }
  50% { transform: rotateX(7deg) rotateY(180deg); }
  100% { transform: rotateX(-7deg) rotateY(360deg); }
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.eyebrow {
  margin: 0 0 34px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .28em;
}
.eyebrow.dark { color: #76674d; }
h1, h2, blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(62px, 7.2vw, 116px); line-height: .95; }
h1 em, h2 em, blockquote em { color: var(--gold); font-style: italic; }
.hero-lead {
  max-width: 570px;
  margin: 34px 0 0 7px;
  color: #b9b5ad;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; gap: 36px; margin: 44px 0 0 7px; }
.button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 0 24px 0 28px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .13em;
  cursor: pointer;
  transition: color .35s ease, background .35s ease, border .35s ease, transform .2s ease;
}
.button i { font-size: 16px; font-style: normal; transition: transform .35s ease; }
.button:hover i { transform: translate(4px, -4px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--gold); }
.button-dark { width: 100%; background: var(--ink); color: white; }
.button-dark:hover { background: #2b251c; }
.quiet-link {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: #bdb8ae;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.quiet-link span { margin-left: 12px; color: var(--gold); }
.hero-foot {
  position: absolute;
  z-index: 2;
  left: 5vw;
  right: 5vw;
  bottom: 34px;
  display: flex;
  gap: 28px;
  color: #77736d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .24em;
}
.hero-foot p { margin: 0 0 0 auto; color: var(--gold); }

.hero-orbit {
  position: absolute;
  z-index: 1;
  width: min(58vw, 800px);
  aspect-ratio: 1;
  right: -18vw;
  top: 12%;
}
.orbit, .orb-core { position: absolute; inset: 0; border-radius: 50%; }
.orbit {
  border: 1px solid rgba(189,155,98,.18);
  animation: orbitPulse 7s ease-in-out infinite;
}
.orbit-one { inset: 8%; }
.orbit-two { inset: 22%; animation-delay: -2s; }
.orb-core {
  inset: 34%;
  background:
    radial-gradient(circle at 40% 32%, rgba(255,235,199,.5), transparent 8%),
    radial-gradient(circle at 45% 40%, #8b7350, #2b241b 36%, #090909 72%);
  box-shadow: 0 0 90px rgba(189,155,98,.16);
  animation: float 8s ease-in-out infinite;
}
.orb-core::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, transparent, rgba(189,155,98,.1), transparent 45%);
  animation: spin 14s linear infinite;
}
@keyframes orbitPulse { 50% { transform: scale(1.035); opacity: .45; } }
@keyframes float { 50% { transform: translateY(-14px) scale(1.025); } }
@keyframes spin { to { transform: rotate(360deg); } }

.light-section { background: var(--paper); color: var(--ink); }
.manifesto { position: relative; padding: 145px 8vw 120px; }
.section-index {
  position: absolute;
  top: 150px;
  left: 3.5vw;
  color: #9e988c;
  font-size: 10px;
}
.manifesto-copy { margin-left: 11vw; }
.manifesto h2, .expertise h2, .contact h2 {
  font-size: clamp(50px, 6.3vw, 96px);
  line-height: 1.02;
}
.manifesto-copy > p:last-child {
  max-width: 480px;
  margin: 48px 8vw 0 auto;
  color: #68645c;
  font-size: 16px;
  line-height: 1.8;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 120px;
  border-top: 1px solid #cbc7bf;
}
.principle { padding: 30px 8% 30px 0; border-right: 1px solid #cbc7bf; }
.principle + .principle { padding-left: 12%; }
.principle:last-child { border-right: 0; }
.principle > span { color: #9b7f53; font-size: 10px; }
.principle h3 {
  margin: 55px 0 32px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
}
.principle p { color: #716d65; font-size: 13px; line-height: 1.75; }

.expertise { padding: 145px 8vw; }
.expertise-heading { margin-bottom: 95px; }
.expertise-list { border-top: 1px solid var(--line); }
.expertise-item {
  display: grid;
  grid-template-columns: 70px 1.2fr 1fr 30px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
  transition: padding .4s ease, background .4s ease;
}
.expertise-item:hover {
  padding: 0 25px;
  background: rgba(255,255,255,.035);
}
.expertise-item > span { color: var(--gold); font-size: 10px; }
.expertise-item h3 { font-family: var(--serif); font-size: clamp(27px, 3vw, 47px); font-weight: 400; }
.expertise-item p { max-width: 390px; color: #8f8b84; font-size: 13px; line-height: 1.7; }
.expertise-item i { color: var(--gold); font-size: 19px; font-style: normal; }

.proof-statement blockquote { max-width: 1050px; font-size: clamp(48px, 6vw, 90px); line-height: 1.08; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 120px;
  border-top: 1px solid #c9c4ba;
  border-bottom: 1px solid #c9c4ba;
}
.proof-grid div { padding: 36px 0; border-right: 1px solid #c9c4ba; }
.proof-grid div + div { padding-left: 12%; }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.proof-grid span { margin-top: 8px; color: #807a70; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; }

.contact {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 150px 8vw 38px;
  overflow: hidden;
}
.contact-copy { position: relative; z-index: 2; }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin: 35px 0; color: #a5a099; line-height: 1.8; }
.contact-copy h2 {
  max-width: 1100px;
  font-size: clamp(66px, 8.5vw, 135px);
  line-height: .94;
}
.contact-address {
  display: block;
  width: fit-content;
  margin: 32px 0 42px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 48px);
  letter-spacing: -.02em;
  transition: color .3s ease;
}
.contact-address:hover { color: var(--gold); }
.contact-halo {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: 0;
  border-radius: 50%;
  border: 1px solid rgba(189,155,98,.15);
  box-shadow: inset 0 0 150px rgba(189,155,98,.06);
}
.contact-halo::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 30%, #9e8258, #252018 48%, #090909 72%);
  box-shadow: 0 0 100px rgba(189,155,98,.12);
}
footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  align-items: end;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: #77736d;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .16em;
}
footer img { width: 235px; }
footer p { margin: 0; }
footer a { text-transform: none; }
footer span { text-align: right; }
footer b { font-weight: inherit; }

.access-modal {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 42px 64px 38px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.access-modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
.access-modal img { width: 250px; margin-bottom: 32px; }
.modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 1px solid #cbc7bf;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
  font-weight: 300;
  cursor: pointer;
}
.access-modal h2 { margin: 0; font-family: var(--serif); font-size: clamp(43px, 5vw, 65px); font-weight: 400; line-height: 1; }
.modal-copy { max-width: 410px; margin: 19px 0 25px; color: #716d65; font-size: 13px; line-height: 1.7; }
.access-modal label { display: block; margin-bottom: 16px; }
.access-modal label span { display: block; margin-bottom: 8px; color: #716d65; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.access-modal input,
.access-modal textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #aaa59b;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.access-modal textarea { resize: vertical; min-height: 76px; }
.access-modal input:focus,
.access-modal textarea:focus { border-color: var(--gold); }
.access-modal form .button { margin-top: 9px; }
.form-note { text-align: center; color: #918b80; font-size: 9px; letter-spacing: .05em; }
.form-success { padding: 35px 0 60px; text-align: center; }
.form-success span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 25px; border: 1px solid var(--gold); border-radius: 50%; color: #806a48; }
.form-success h3 { margin: 0; font-family: var(--serif); font-size: 45px; font-weight: 400; }
.form-success p { color: #716d65; }

.code-modal {
  width: min(560px, calc(100% - 32px));
  padding: 64px;
  border: 1px solid rgba(189,155,98,.25);
  background:
    radial-gradient(circle at 90% 10%, rgba(189,155,98,.14), transparent 34%),
    #0b0b0b;
  color: var(--paper);
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
}
.code-modal::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(12px); }
.code-modal .modal-close {
  border-color: rgba(255,255,255,.2);
  color: var(--paper);
}
.code-mark img { display: block; width: 210px; margin-bottom: 74px; }
.code-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .3em;
}
.code-modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(68px, 9vw, 105px);
  font-weight: 400;
  line-height: .9;
}
.code-copy { margin: 24px 0 42px; color: #8e8981; font-size: 13px; }
.code-field span {
  display: block;
  margin-bottom: 10px;
  color: #706c66;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .24em;
}
.code-field input {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 21px;
  letter-spacing: .28em;
}
.code-field input:focus { border-color: var(--gold); }
.code-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding: 19px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.code-button i { color: var(--gold); font-size: 17px; font-style: normal; transition: transform .3s ease; }
.code-button:hover i { transform: translateX(6px); }
.code-response { min-height: 16px; margin: 20px 0 0; color: #7c766d; font-size: 10px; letter-spacing: .08em; }

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; height: 112px; }
  .site-header nav { display: none; }
  .brand img { width: 180px; }
  .header-mark { display: none; }
  .text-button { justify-self: end; }
  .hero {
    padding: 165px 6vw 100px;
  }
  .hero-orbit { width: 85vw; right: -42vw; top: 28%; opacity: .6; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .manifesto, .expertise, .proof, .contact { padding-left: 6vw; padding-right: 6vw; }
  .manifesto-copy { margin-left: 0; }
  .manifesto-copy > p:last-child { margin-left: 0; }
  .principles { grid-template-columns: 1fr; margin-top: 75px; }
  .principle, .principle + .principle { padding: 30px 0 45px; border-right: 0; border-bottom: 1px solid #cbc7bf; }
  .principle h3 { margin: 28px 0 20px; }
  .expertise-item { grid-template-columns: 45px 1fr 25px; padding: 30px 0; }
  .expertise-item p { grid-column: 2; }
  .expertise-item i { grid-column: 3; grid-row: 1; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div, .proof-grid div + div { padding: 28px 10px; border-bottom: 1px solid #c9c4ba; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .text-button { font-size: 0; }
  .text-button span { font-size: 16px; }
  h1 { font-size: 54px; }
  .mark-scene { width: 78vw; height: 54vh; right: -22vw; top: 25%; }
  .hero-lead { font-size: 14px; }
  .hero-foot span { display: none; }
  .manifesto, .expertise, .proof { padding-top: 100px; padding-bottom: 90px; }
  .manifesto h2, .expertise h2, .contact h2 { font-size: 47px; }
  .section-index { display: none; }
  .expertise-item h3 { font-size: 28px; }
  .expertise-item p { font-size: 12px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 0; }
  .contact { padding-top: 110px; }
  .contact-copy h2 { font-size: 58px; }
  .contact-address { margin: 42px 0 34px; font-size: 29px; }
  .contact-halo { width: 480px; height: 480px; right: -300px; top: 110px; }
  footer { margin-top: 100px; grid-template-columns: 1fr; align-items: start; }
  footer span { text-align: left; }
  .access-modal { padding: 48px 25px 35px; }
  .access-modal img { width: 190px; margin-bottom: 40px; }
  .code-modal { padding: 48px 28px 38px; }
  .code-mark img { width: 180px; margin-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
