/* ---------- fonts ----------

   Served from this domain rather than from Google. The footer promises that
   visitors' data is never passed to third parties, and a stylesheet loaded from
   fonts.googleapis.com hands Google every visitor's IP address before the page
   has finished rendering. Self-hosting keeps that promise true and saves two
   DNS lookups and a round trip on first paint.

   Cormorant Garamond and Jost are both under the SIL Open Font License; see
   assets/fonts/OFL.txt. Only the four faces the stylesheet actually renders are
   here — the old Google request asked for eight. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/jost-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jost-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jost-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0908;
  --bg-alt: #100e0c;
  --card: #141210;
  --gold: #d9b98a;
  --gold-dim: #a98d64;
  --text: #f2efea;
  --muted: #98918a;
  --line: rgba(217, 185, 138, 0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shell: min(1180px, 100% - 10vw);
  --header-h: 76px;
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.eyebrow {
  font-size: .688rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 1.1rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0 0 1.1rem;
}

.section-sub { color: var(--muted); max-width: 46ch; margin: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 2.2em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}

.btn-gold { background: var(--gold); color: #14100c; }
.btn-gold:hover { background: #e8cda6; transform: translateY(-1px); }
.btn-sm { padding: .8em 1.5em; font-size: .688rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  transition: color .25s;
}
.btn-link:hover { color: var(--text); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  background: linear-gradient(to bottom, rgba(10, 9, 8, .92), rgba(10, 9, 8, .55) 70%, transparent);
  backdrop-filter: blur(6px);
}

.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 2rem; margin-inline: auto; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  transition: color .25s;
}
.site-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-pill {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-pill button {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .688rem;
  letter-spacing: .12em;
  color: var(--muted);
  padding: .5em 1em;
  transition: background .25s, color .25s;
}
.lang-pill button[aria-current="true"] { background: var(--gold); color: #14100c; }

/* ---------- title page ---------- */

.title-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 36% 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 5vw, 3.5rem) 3rem;
  overflow: hidden;
}

.portrait {
  position: relative;
  align-self: end;
  justify-self: center;
  /* sits a touch below the fold so the fade at the bottom of the cut-out runs
     off the edge of the screen rather than ending in mid-air */
  margin-bottom: calc(-3rem - 8px);
  width: 100%;
  max-width: 470px;
}
.portrait img {
  width: 100%;
  height: auto;
  max-height: calc(100svh - var(--header-h) - 1rem);
  object-fit: contain;
  object-position: bottom;
  margin-inline: auto;
}

/* the quote carries the page on its own, so it is set large and centred in
   the space beside the portrait */
.title-quote {
  margin: 0;
  align-self: center;
  justify-self: center;
  /* not a ch measure: ch here would resolve against the small caption font,
     not the large serif of the quote itself */
  max-width: min(34rem, 100%);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.title-quote blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.32;
  letter-spacing: .005em;
  color: #efeae0;
}
.title-quote figcaption {
  font-size: .688rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 1.6rem 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: rgba(242, 239, 234, .17);
  white-space: nowrap;
}
.marquee-dot { color: var(--gold-dim); opacity: .45; align-self: center; }

@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ---------- sections ---------- */

.section {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(5rem, 11vw, 9rem) 0;
}
.section-alt {
  width: 100%;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}
.section-alt > * { width: min(1180px, 100%); margin-inline: auto; }

/* ---------- topics ---------- */

.topic-list { list-style: none; margin: 3.4rem 0 0; padding: 0; display: grid; gap: .75rem; }

.topic {
  display: grid;
  grid-template-columns: 3.5rem 1fr 2rem;
  align-items: start;
  gap: 1rem;
  padding: 1.9rem 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .3s, border-color .3s, transform .3s;
}
.topic:hover { background: #1a1613; border-color: rgba(217, 185, 138, .34); transform: translateX(4px); }

.topic-num {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--gold-dim);
  padding-top: .35rem;
}
.topic-text { display: block; }
.topic-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin-bottom: .35rem;
}
.topic-desc { display: block; color: var(--muted); font-size: .9rem; max-width: 62ch; }
.topic-arrow { color: var(--muted); justify-self: end; transition: color .3s, transform .3s; }
.topic:hover .topic-arrow { color: var(--gold); transform: translate(3px, -3px); }

/* ---------- approach ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3.4rem;
  border: 1px solid var(--line);
}
.pillar { padding: 2.6rem 2.2rem; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--gold-dim); font-size: .95rem; }
.pillar h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.5rem;
  margin: 1.1rem 0 .9rem;
}
.pillar p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem 2rem; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: .688rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .7rem;
}

.field input,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  padding: .55rem 0;
  border-radius: 0;
  transition: border-color .25s;
}
.field select { appearance: none; cursor: pointer; }
.field input:focus,
.field select:focus { outline: 0; border-bottom-color: var(--gold); }
.field select option { background: var(--card); color: var(--text); }
.field input.invalid,
.field select.invalid { border-bottom-color: #c8756a; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  appearance: none;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: .15rem;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.consent input:checked { background: var(--gold); border-color: var(--gold); }
.consent input.invalid { border-color: #c8756a; }

.form-error { color: #d68a7e; font-size: .8rem; margin: 0; }
.form-status { color: var(--gold); font-size: .85rem; margin: 0; }

.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* spam trap — off-screen rather than display:none, which bots skip */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- footer ---------- */

.site-footer {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 3rem;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.footer-name { font-family: var(--serif); font-size: 1.7rem; margin: 0 0 .7rem; }
.privacy-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.8rem;
  color: var(--muted);
  font-size: .85rem;
}
.privacy-card p:last-child { margin: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  /* portrait moves behind the copy, under a scrim */
  .title-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding-bottom: 5rem;
  }
  .portrait {
    position: absolute;
    inset: auto 0 0 auto;
    width: 78%;
    max-width: 420px;
    margin: 0;
    opacity: .3;
    pointer-events: none;
  }
  .portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 4%, transparent 62%),
                linear-gradient(to right, var(--bg) 2%, transparent 42%);
  }
  .title-quote { position: relative; z-index: 1; max-width: none; justify-self: stretch; }
  .topic { grid-template-columns: 2.5rem 1fr 1.5rem; padding: 1.5rem 1.25rem; }
  .contact-form { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; gap: .6rem; }
}

@media (max-width: 560px) {
  /* the header CTA wraps onto two lines here; the hero repeats it anyway */
  .site-header .btn { display: none; }
  .header-actions { margin-left: auto; }
}
