@font-face { font-family: 'Bodoni Moda'; src: url('/fonts/bodoni-moda.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond-300-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  --black: #070707;
  --black-lift: #111110;
  --gold: #c9a96a;
  --gold-soft: rgba(201, 169, 106, .35);
  --ivory: #efe8da;
  --ivory-dim: rgba(239, 232, 218, .62);
  --serif-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --serif-text: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --edge: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--black); scroll-behavior: smooth; }
body { color: var(--ivory); font-family: var(--serif-text); font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--gold); color: var(--black); }
a { color: inherit; }
a:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }

.caps { font: 300 11px var(--sans); letter-spacing: .45em; text-transform: uppercase; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--edge); color: var(--ivory-dim);
  mix-blend-mode: difference;
}
.site-header a { text-decoration: none; transition: color .5s; }
.site-header a:hover { color: var(--ivory); }

/* Hero: the monogram is drawn as particles on the canvas; the h1 is the no-JS / accessible fallback. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: grid; place-items: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__title { font: 500 clamp(64px, 16vw, 230px)/1 var(--serif-display); letter-spacing: .12em; margin-right: -.12em; }
/* The title is hidden from first paint so it never doubles up with the particles; noscript.css and .no-particles bring it back. */
.hero__title { color: transparent; }
.no-particles .hero__title { color: var(--gold); }
.hero__tag { position: absolute; bottom: clamp(88px, 14vh, 140px); left: 0; right: 0; text-align: center; color: var(--gold); padding: 0 var(--edge); animation: rise 2.4s var(--ease) .8s both; }
.hero__cue { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); }
.hero__cue span { display: block; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.6s ease-in-out infinite; }

/* Statement: words light up as the section scrolls past. */
.statement { min-height: 150vh; }
.statement__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding: 0 var(--edge); }
.statement__text { font: 300 clamp(30px, 4.4vw, 66px)/1.22 var(--serif-text); text-align: center; max-width: 1100px; }
.statement__text em { font-style: italic; color: var(--gold); }
.js-words .statement__text .word { opacity: .22; transition: opacity .6s; }
.js-words .statement__text .word.is-lit { opacity: 1; }

/* Principles */
.principles { padding: 20vh var(--edge) 24vh; background: linear-gradient(var(--black), var(--black-lift) 60%, var(--black)); }
.principles__label { color: var(--gold); text-align: center; margin-bottom: 12vh; }
.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6vw; max-width: 1200px; margin: 0 auto; }
.pillar { text-align: center; }
.pillar__num { font: italic 400 22px var(--serif-display); color: var(--gold); }
.pillar__rule { display: block; width: 1px; height: 54px; background: var(--gold-soft); margin: 22px auto; transform-origin: top; }
.pillar h3 { font: 400 clamp(28px, 2.6vw, 40px) var(--serif-display); letter-spacing: .04em; }
.pillar p { margin: 16px auto 0; max-width: 300px; font-size: 21px; line-height: 1.45; color: var(--ivory-dim); }

.js-reveal .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal .pillar__rule { transform: scaleY(0); transition: transform 1.4s var(--ease) .4s; }
.js-reveal .reveal.is-in .pillar__rule { transform: scaleY(1); }
.principles__grid .reveal:nth-child(2) { transition-delay: .18s; }
.principles__grid .reveal:nth-child(3) { transition-delay: .36s; }

/* Enquiries */
.enquiries { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 0 var(--edge); background: radial-gradient(ellipse 60% 45% at 50% 55%, rgba(201, 169, 106, .07), transparent 70%); }
.enquiries__title { font: italic 300 clamp(42px, 6vw, 92px)/1.05 var(--serif-text); }
.enquiries__label { color: var(--gold); margin-top: 34px; }
.enquiries__mail {
  display: inline-block; margin-top: 48px; padding-bottom: 10px;
  font: 300 clamp(15px, 1.4vw, 19px) var(--sans); letter-spacing: .2em; text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 1px no-repeat;
  transition: background-size .9s var(--ease);
}
.enquiries__mail:hover, .enquiries__mail:focus-visible { background-size: 100% 1px; }

.site-footer {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 44px var(--edge) 48px; border-top: 1px solid rgba(201, 169, 106, .12);
  color: var(--ivory-dim); font: 300 10px var(--sans); letter-spacing: .26em; text-transform: uppercase;
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .caps { font-size: 10px; letter-spacing: .32em; }
  .principles__grid { grid-template-columns: 1fr; gap: 12vh; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; line-height: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-words .statement__text .word { opacity: 1; }
}
