/* =============================================================
   Bontle Matlala - Commercial Strategy & Legal Analyst
   Design system & global styles
   Aesthetic: restrained luxury - ink navy, champagne gold, ivory
   ============================================================= */

/* ----------  Design Tokens  ---------- */
:root {
  /* Brand palette */
  --ink:        #0d1b2a;   /* deep navy - law, trust, gravitas       */
  --ink-2:      #13263b;   /* slightly lifted navy for surfaces      */
  --ink-soft:   #1c344e;   /* hover / borders on dark                */
  --gold:       #c5a572;   /* champagne gold - wealth, premium       */
  --gold-deep:  #a8854f;   /* gold on light backgrounds (contrast)   */
  --gold-soft:  #e7d8bd;   /* subtle gold tint                       */
  --ivory:      #faf7f2;   /* warm paper white                       */
  --ivory-2:    #f3ede3;   /* sectional warm tint                    */
  --cloud:      #ffffff;
  --charcoal:   #2b2b2b;   /* primary body text on light             */
  --slate:      #5a6472;   /* secondary text                         */
  --line:       #e3ddd2;   /* hairline borders on light              */

  /* Typography */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale & rhythm */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13,27,42,.06), 0 4px 14px rgba(13,27,42,.05);
  --shadow-md: 0 10px 30px rgba(13,27,42,.10);
  --shadow-lg: 0 24px 60px rgba(13,27,42,.16);
  --ease: cubic-bezier(.22,.61,.36,1);

  --space-section: clamp(4.5rem, 9vw, 8.5rem);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Keyboard focus: a clear, on-brand ring (never removed, only refined) */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
.bg-ink :focus-visible, .hero :focus-visible, .cta-band :focus-visible,
.page-hero :focus-visible, .nav-overlay-light :focus-visible { outline-color: var(--gold); }
/* Selection inherits the champagne accent */
::selection { background: rgba(197, 165, 114, .26); color: var(--ink); }

/* ----------  Typography  ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: .01em; }
p  { margin-bottom: 1.1rem; color: var(--slate); }
p:last-child { margin-bottom: 0; }
strong { color: var(--charcoal); font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.65; }

/* ----------  Layout helpers  ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.bg-ivory-2 { background: var(--ivory-2); }
.bg-ink { background: var(--ink); color: #d7dde6; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--cloud); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
  padding: .95rem 1.9rem;
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-deep); color: var(--cloud); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: var(--cloud); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
/* Ghost buttons over any dark surface need light text + border to stay legible */
.bg-ink .btn-ghost,
.hero .btn-ghost,
.cta-band .btn-ghost,
.page-hero .btn-ghost { color: var(--cloud); border-color: rgba(255,255,255,.4); }
.bg-ink .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.page-hero .btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(197,165,114,.08); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; color: var(--gold-deep);
  letter-spacing: .01em;
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* =============================================================
   Header / Navigation
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 1.4rem;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  background: rgba(250,247,242,.92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .85rem;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.brand .brand-role { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: .35rem; font-weight: 600; }

/* nav on transparent (top) state - over dark hero */
.nav-overlay-light .brand .brand-name { color: var(--cloud); }
.nav-overlay-light .nav-links a { color: rgba(255,255,255,.85); }
.nav-overlay-light .nav-links a:hover,
.nav-overlay-light .nav-links a.active { color: var(--gold); }
.nav-overlay-light .nav-toggle span { background: var(--cloud); }
.site-header.scrolled.nav-overlay-light .brand .brand-name { color: var(--ink); }
.site-header.scrolled.nav-overlay-light .nav-links a { color: var(--charcoal); }
.site-header.scrolled.nav-overlay-light .nav-links a.active { color: var(--ink); }
.site-header.scrolled.nav-overlay-light .nav-toggle span { background: var(--ink); }

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .92rem; font-weight: 500; letter-spacing: .01em; position: relative; padding-block: .25rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold-deep); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); display: block; transition: all .35s var(--ease); border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 0 30%; background: var(--ink); flex-direction: column; justify-content: center; gap: 2.5rem;
         transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); }
  .nav.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 1.8rem; }
  .nav-links a { color: rgba(255,255,255,.85); font-size: 1.1rem; }
  .nav-links a:hover, .nav-links a.active { color: var(--gold); }
  .nav .btn { margin-top: .5rem; }
  body.nav-open { overflow: hidden; }
  .nav-overlay-light .nav-links a { color: rgba(255,255,255,.85); }

  /* Links live inside the dark slide-out panel, so they must stay light no
     matter the header's scrolled/overlay state (those dark colours are for the
     desktop bar). These match the desktop rules' specificity and, sitting later
     in the cascade, win on mobile. */
  .site-header.scrolled .nav-links a,
  .site-header.scrolled.nav-overlay-light .nav-links a { color: rgba(255,255,255,.85); }
  .site-header.scrolled .nav-links a:hover,
  .site-header.scrolled .nav-links a.active,
  .site-header.scrolled.nav-overlay-light .nav-links a.active { color: var(--gold); }

  /* The scrolled header's backdrop-filter makes it the containing block for
     position:fixed descendants, which would collapse the open menu panel to
     the header's height. Drop it while the menu is open so the panel fills the
     viewport, and keep the close (X) icon light so it stays visible on the
     dark panel regardless of scroll/overlay state. */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  body.nav-open .nav-toggle span,
  body.nav-open .nav-overlay-light .nav-toggle span,
  body.nav-open .site-header.scrolled.nav-overlay-light .nav-toggle span { background: var(--cloud); }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0a1622 0%, #0d1b2a 45%, #13263b 100%);
  color: var(--cloud); overflow: hidden; padding-top: 6rem;
}
.hero::before { /* subtle radial gold glow */
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(197,165,114,.18), transparent 60%); pointer-events: none;
}
.hero::after { /* fine grid / texture line */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--cloud); margin-bottom: 1.5rem; }
.hero h1 .accent { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.78); margin-bottom: 2.4rem; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-meta { margin-top: 3rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-meta .stat .num { font-family: var(--font-serif); font-size: 2.1rem; color: var(--gold); line-height: 1; }
.hero-meta .stat .label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .4rem; }

/* hero portrait frame (placeholder until image supplied) */
.hero-visual { position: relative; }
.portrait-frame {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #1c344e, #0d1b2a);
  border: 1px solid rgba(197,165,114,.3);
  box-shadow: var(--shadow-lg);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame .placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(197,165,114,.55); text-align: center; gap: .8rem; padding: 2rem;
}
.portrait-frame .placeholder .mono { font-family: var(--font-serif); font-size: 5rem; color: rgba(197,165,114,.7); }
.portrait-frame .placeholder small { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5);
  display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 360px; margin: 0 auto; order: -1; }
  .hero { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
}

/* =============================================================
   Page header (inner pages)
   ============================================================= */
.page-hero {
  background: linear-gradient(135deg, #0a1622, #13263b); color: var(--cloud);
  padding-top: 11rem; padding-bottom: 4.5rem; position: relative; overflow: hidden;
}
.page-hero::before { content:""; position:absolute; top:-30%; right:-5%; width:45vw; height:45vw;
  background: radial-gradient(circle, rgba(197,165,114,.15), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cloud); margin-bottom: 1.1rem; }
.page-hero .lead { color: rgba(255,255,255,.75); max-width: 640px; }
.breadcrumb { font-size: .8rem; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--gold); }

/* =============================================================
   Cards & grids
   ============================================================= */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card .card-num { font-family: var(--font-serif); font-size: .95rem; color: var(--gold-deep); font-weight: 600; }
.card .icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--ivory-2); color: var(--gold-deep); margin-bottom: 1.4rem; border: 1px solid var(--line);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .98rem; }
.card .card-foot { margin-top: 1.4rem; }

/* service card variant with top accent */
.service-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover::before { transform: scaleX(1); }

/* value tiles on dark */
.value-tile { padding: 2rem 0; border-top: 1px solid var(--ink-soft); }
.value-tile h4 { color: var(--gold); margin-bottom: .6rem; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.value-tile p { color: rgba(255,255,255,.7); font-size: .98rem; }

/* =============================================================
   Split / feature sections
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split.reverse .split-visual { order: 2; }
@media (max-width: 850px) { .split { grid-template-columns: 1fr; } .split.reverse .split-visual { order: 0; } }

.figure-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--ivory-2), #e7ddcb);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.figure-frame.tall { aspect-ratio: 4/5; }
.figure-frame img { width: 100%; height: 100%; object-fit: cover; }
.figure-frame .placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .6rem;
  align-items: center; justify-content: center; color: var(--gold-deep); text-align: center; padding: 2rem; }
.figure-frame .placeholder .mono { font-family: var(--font-serif); font-size: 4rem; opacity: .5; }
.figure-frame .placeholder small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.checklist { margin-top: 1.5rem; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--charcoal); }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--gold-deep); margin-top: .15rem; }

/* =============================================================
   Credentials strip
   ============================================================= */
.creds { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; align-items: center; justify-content: center; }
.cred { text-align: center; }
.cred .c-title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.cred .c-sub { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-top: .3rem; }

/* =============================================================
   Process steps
   ============================================================= */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: none; }
.step .step-num { counter-increment: step; font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold-deep); line-height: 1; min-width: 3rem; }
.step .step-num::before { content: "0" counter(step); }
.step h4 { margin-bottom: .5rem; font-size: 1.25rem; }

/* =============================================================
   Insights / blog
   ============================================================= */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .post-thumb { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.3rem;
  background: linear-gradient(160deg, #13263b, #0d1b2a); position: relative; }
.post-card .post-thumb .placeholder { position:absolute; inset:0; display:grid; place-items:center; color: rgba(197,165,114,.5); font-family: var(--font-serif); font-size: 2.4rem; }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.post-card h3 { font-size: 1.35rem; margin: .6rem 0 .6rem; }
.post-meta { font-size: .82rem; color: var(--slate); margin-top: auto; padding-top: 1rem; }

.featured-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.featured-post .fp-visual { aspect-ratio: 4/3; background: linear-gradient(160deg,#13263b,#0d1b2a); position: relative; height: 100%; }
.featured-post .fp-visual .placeholder { position:absolute; inset:0; display:grid; place-items:center; color: rgba(197,165,114,.5); font-family: var(--font-serif); font-size: 3rem; }
.featured-post .fp-visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.featured-post .fp-body { padding: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 850px) { .featured-post { grid-template-columns: 1fr; } }

/* =============================================================
   Testimonials
   ============================================================= */
.quote-card { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem; position: relative; }
.quote-card .mark { font-family: var(--font-serif); font-size: 4rem; color: var(--gold-soft); line-height: .6; position: absolute; top: 1.6rem; right: 1.8rem; }
.quote-card blockquote { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-style: italic; margin-bottom: 1.6rem; }
.quote-card .author { display: flex; align-items: center; gap: .9rem; }
.quote-card .author .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; }
.quote-card .author .who .n { font-weight: 600; color: var(--charcoal); font-size: .95rem; }
.quote-card .author .who .r { font-size: .82rem; color: var(--slate); }

/* =============================================================
   CTA band
   ============================================================= */
.cta-band { background: linear-gradient(135deg, #0a1622, #13263b); color: var(--cloud); border-radius: var(--radius-lg); padding: clamp(2.8rem, 6vw, 5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; bottom:-30%; left:-5%; width:40vw; height:40vw; background: radial-gradient(circle, rgba(197,165,114,.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--cloud); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 560px; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .hero-cta { justify-content: center; }

/* =============================================================
   Forms / contact
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--charcoal); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--charcoal);
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(197,165,114,.18); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: .5rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e8f3ec; color: #2c6b45; border: 1px solid #bcdcca; }

.contact-detail { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail .ci { width: 44px; height: 44px; flex: none; border-radius: var(--radius); background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.contact-detail .ci svg { width: 20px; height: 20px; }
.contact-detail .cd-label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.contact-detail .cd-value { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.contact-detail a.cd-value:hover { color: var(--gold-deep); }

/* =============================================================
   FAQ accordion
   ============================================================= */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0; font-family: var(--font-serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.faq-q .pm { flex: none; width: 26px; height: 26px; position: relative; transition: transform .3s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--gold-deep); border-radius: 2px; }
.faq-q .pm::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); transition: transform .3s var(--ease); }
.faq-item.open .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding-bottom: 1.5rem; color: var(--slate); }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--ink-soft); }
@media (max-width: 850px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-name { font-family: var(--font-serif); font-size: 1.7rem; color: var(--cloud); }
.footer-brand .brand-role { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: .4rem; }
.footer-brand p { margin-top: 1.2rem; font-size: .95rem; max-width: 320px; }
.footer-col h5 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-family: var(--font-sans); }
.footer-col ul { display: grid; gap: .75rem; }
.footer-col a { font-size: .95rem; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--ink-soft); border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.7); transition: all .3s var(--ease); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.8rem; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* =============================================================
   Scroll reveal
   ============================================================= */
/* Reveal is gated behind .js so content is never hidden when scripts fail to
   load - progressive enhancement, not a hard dependency. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* skip link (accessibility) */
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  position: fixed !important; left: 1rem !important; top: 1rem !important;
  z-index: 999; background: var(--ink); color: var(--gold);
  padding: .75rem 1.2rem; border-radius: var(--radius); font-weight: 600;
}

/* 404 */
.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 12rem); color: var(--gold-soft); line-height: .9; }

/* utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.divider-gold { width: 56px; height: 2px; background: var(--gold); margin: 1.4rem 0; border: none; }
.is-centered .divider-gold { margin-inline: auto; }
