/* ============================================================
   Centre Stage — hand-rolled stylesheet
   Palette, type scale and cinematic dark theme.
   ============================================================ */

:root {
  --bg:        #111111;
  --panel:     #1C1C1C;
  --gold:      #D6A84D;
  --gold-soft: #e6c079;
  --white:     #F8F8F8;
  --muted:     #BBBBBB;
  --line:      rgba(214, 168, 77, 0.18);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: 24px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }

.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--panel { background: var(--panel); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0 0 0.5em;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 1rem;
}

.section__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }

p { margin: 0 0 1.15em; color: var(--muted); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: var(--white);
  white-space: nowrap;
}
.wordmark__star { color: var(--gold); font-size: 0.8em; margin: 0 0.02em; }
.wordmark--sm { font-size: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 1.05em 2.2em; font-size: 1rem; }

.btn--gold {
  background: var(--gold);
  color: #1a1400;
  box-shadow: 0 6px 24px rgba(214, 168, 77, 0.22);
}
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(214, 168, 77, 0.34); }

.btn--ghost { border-color: rgba(248, 248, 248, 0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-size: 0.9rem; color: var(--muted); position: relative; padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 4px; }

.nav__toggle {
  display: none; margin-left: auto; background: none; border: 0; color: var(--white);
  font-size: 1.35rem; cursor: pointer; padding: 6px;
}
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0) 30%, rgba(17,17,17,0.15) 70%, rgba(17,17,17,0.9) 100%);
}
/* Off-centre: the composed still carries centred type at the bottom of the frame. */
.hero__scroll {
  position: absolute; bottom: 20px; right: 28px;
  color: var(--muted); font-size: 1.1rem; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(8px);} }

/* Above 640px the composed still carries the headline, so the h1 stays
   screen-reader-only and the sub/CTA are off. Phones show them as real text. */
.hero__content { display: contents; }
.hero__title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.hero__sub, .hero__cta { display: none; }

/* Sticky phone CTA (revealed by main.js past the hero) */
.mobile-cta { display: none; }

/* ---------- Statement band ---------- */
.statement { background: #000; padding: clamp(80px, 14vw, 180px) 0; text-align: center; }
.statement__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  color: var(--white);
  max-width: 960px; margin: 0 auto;
  letter-spacing: 0.2px;
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__body p { color: var(--muted); font-size: 1.08rem; }
.about__pull {
  font-family: var(--serif); font-style: italic; color: var(--gold-soft);
  font-size: 1.4rem; line-height: 1.4; margin-top: 1.4em;
  padding-left: 1em; border-left: 2px solid var(--gold);
}

/* ---------- Founder ---------- */
.founder { text-align: center; }
.founder__head { margin: 0 auto clamp(28px, 4vw, 44px); max-width: 720px; }
.founder__role {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; color: var(--gold); margin: 0.6rem 0 0;
}
.founder__body { max-width: 720px; margin: 0 auto; text-align: left; }
.founder__body p { font-size: 1.08rem; }
.founder__pull {
  font-family: var(--serif); font-style: italic; color: var(--gold-soft);
  font-size: 1.3rem; line-height: 1.45; margin-top: 1.4em;
  padding-left: 1em; border-left: 2px solid var(--gold);
}
.founder__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 820px; margin: clamp(44px, 6vw, 72px) auto 0;
}
.stat { padding: 0 12px; }
.stat__num {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--gold);
}
.stat__unit { font-size: 0.55em; }
.stat__label { display: block; margin-top: 12px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Cards / Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(214,168,77,0.5); background: rgba(214,168,77,0.04); }
.card__icon { color: var(--gold); font-size: 1.9rem; margin-bottom: 20px; }
.card__title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 0 0 0.5em; color: var(--white); }
.card p { margin: 0; font-size: 0.98rem; }

/* ---------- Areas of expertise ---------- */
.expertise { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.expertise__label {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.72rem; color: var(--gold); margin: 0 0 20px;
}
.expertise__tags {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.expertise__tags li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 0.92rem; color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.expertise__tags li:hover { color: var(--white); border-color: var(--gold); background: rgba(214,168,77,0.06); }

/* ---------- Why choose ---------- */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.why__media { border-radius: var(--radius); overflow: hidden; position: relative; }
.why__media picture { display: block; }
.why__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.9s var(--ease); }
.why__media:hover img { transform: scale(1.05); }

.ticks { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; align-items: center; gap: 14px; color: var(--white); font-size: 1.06rem; }
.ticks i { color: var(--gold); font-size: 0.85rem; flex: none; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.timeline__step { position: relative; padding-top: 12px; }
.timeline__step::before {
  content: ""; position: absolute; top: 30px; left: 34px; right: -12px; height: 1px; background: var(--line);
}
.timeline__step:last-child::before { display: none; }
.timeline__num {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-size: 1.5rem; margin-bottom: 22px;
  background: var(--panel); position: relative; z-index: 1;
}
.timeline__title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0 0 0.4em; color: var(--white); }
.timeline__step p { margin: 0; font-size: 0.96rem; }

/* ---------- Testimonials ---------- */
.quote {
  margin: 0; background: rgba(255,255,255,0.02);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px;
}
.quote__mark { color: var(--gold); font-size: 1.4rem; margin-bottom: 16px; opacity: 0.9; }
.quote blockquote { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.65; color: var(--white); font-style: italic; }
.quote figcaption { color: var(--gold-soft); font-size: 0.9rem; letter-spacing: 0.02em; }
.testimonials__note { text-align: center; margin-top: 32px; font-size: 0.82rem; color: #8a8a8a; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.015); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--serif); font-size: 1.18rem; color: var(--white);
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }
.faq__item summary i { color: var(--gold); font-size: 0.9rem; transition: transform 0.25s var(--ease); flex: none; }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 24px 24px; font-size: 1rem; }

/* ---------- CTA banner ---------- */
.cta { position: relative; text-align: center; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; background: #0b0b0b; }
.cta__curtain {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(214,168,77,0.16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.5) 0 22px, rgba(30,20,5,0.55) 22px 44px);
  opacity: 0.9;
}
.cta__inner { position: relative; }
.cta__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 3.2rem); line-height: 1.15; margin: 0 0 0.5em; }
.cta__sub { max-width: 560px; margin: 0 auto 2em; font-size: 1.1rem; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { display: grid; gap: 8px; }
.form__field span { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.form input, .form textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--white);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; width: 100%; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,168,77,0.15); }
.form textarea { resize: vertical; }
.form button { justify-self: start; }
.form__note { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }

.contact__lead { margin: 0.9rem 0 0; color: var(--muted); font-size: 1.05rem; max-width: 580px; }
.contact__lead strong { color: var(--gold-soft); font-weight: 500; }

.contact__alt { text-align: center; margin: 28px 0 0; font-size: 0.98rem; color: var(--muted); }
.contact__alt a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.contact__alt a:hover { border-color: var(--gold); }

.flash {
  display: flex; align-items: center; gap: 12px;
  background: rgba(214,168,77,0.1); border: 1px solid var(--gold);
  color: var(--gold-soft); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 28px;
}
.flash--error {
  background: rgba(200, 80, 60, 0.12); border-color: #c8503c; color: #e79b8c;
}

/* ---------- Footer ---------- */
.footer { background: #0c0c0c; padding-top: 64px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-bottom: 40px; }
.footer__tag { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 8px 0 0; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--gold); }
.footer__contact { display: flex; gap: 14px; }
.footer__contact a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); transition: all 0.25s var(--ease);
}
.footer__contact a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer__base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 24px 0; border-top: 1px solid var(--line); font-size: 0.85rem; color: #8a8a8a;
}
.footer__base a { color: #8a8a8a; }
.footer__base a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
  .nav__mobile {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; gap: 6px; padding: 12px var(--gutter) 24px;
    background: rgba(17,17,17,0.98); border-top: 1px solid var(--line);
  }
  .nav__mobile.is-open { display: flex; }
  .nav__mobile a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 1rem; }

  .about__grid, .why__grid { grid-template-columns: 1fr; }
  .why__media { order: -1; }
  .cards, .cards--3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline__step::before { display: none; }

  .mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 0.5em;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 16px var(--gutter);
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: var(--gold); color: #1a1400;
    font-family: var(--sans); font-weight: 500; letter-spacing: 0.02em;
    box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.55);
    transform: translateY(100%); transition: transform 0.3s var(--ease);
  }
  .mobile-cta.is-visible { transform: translateY(0); }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .cards--3, .timeline, .form__row { grid-template-columns: 1fr; }
  .founder__stats { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  /* Thumb-sized targets for the footer's stacked links. */
  .footer__nav { flex-direction: column; gap: 0; }
  .footer__nav a,
  .footer__base a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__contact a { width: 44px; height: 44px; }
}

/* On phones the wide composed still letterboxes to a strip and its baked-in
   headline is unreadable, so serve a text-free crop of the same photograph and
   set the headline, proposition and call to action as real text beneath it.
   The nav keeps its solid bar so the wordmark sits ABOVE the image, not over it. */
@media (max-width: 640px) {
  .nav { background: rgba(17, 17, 17, 0.96); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
  .wordmark { font-size: 1.05rem; letter-spacing: 0.1em; }

  .hero { min-height: 0; display: block; padding-top: 68px; }
  .hero picture { display: block; }
  .hero__img {
    position: static; width: 100%; height: 38svh; min-height: 220px; max-height: 340px;
    object-fit: cover; object-position: 50% 42%; animation: none;
  }
  .hero__scrim,
  .hero__scroll { display: none; }

  /* Phone: the text sits under the image on solid ground, not over it. */
  .hero__content { display: block; padding: 26px var(--gutter) 34px; }
  .hero__title {
    position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
    font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 7.4vw, 2.1rem);
    line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; color: var(--white);
  }
  .hero__sub { display: block; margin-top: 14px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
  .hero__cta { display: inline-flex; width: 100%; min-height: 52px; margin-top: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; }
  .mobile-cta { transition: none; }
}
