/* =============================================================
   JYOTISH VIDYA — VEDIC ASTROLOGY WEBSITE
   style.css  |  Main Stylesheet
   ============================================================= */

/* ── SELF-HOSTED FONTS ──────────────────────────────────────── */
/* Paths are relative to this CSS file (assets/css/) → ../fonts/ */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cinzel-v26-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: 'Cinzel';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cinzel-v26-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: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cinzel-decorative-v19-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;
}
@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cinzel-decorative-v19-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: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cinzel-decorative-v19-700-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: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cinzel-decorative-v19-700-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 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-normal-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 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-normal-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 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-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: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-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;
}

/* ── CSS VARIABLES ─────────────────────────────────────────── */
/* Celestial palette: deep indigo night sky + muted gold, replacing
   the earlier temple-red/ivory scheme. Two text sets (on-dark /
   on-light) keep body copy at WCAG AA (4.5:1) on both panel types;
   --gold is reserved for large/decorative use, --gold-deep for any
   accent text that sits on a light panel and must stay readable. */
:root {
  --ink-deep:       #0B0C1C;
  --ink:            #12142A;
  --ink-mid:        #1B1E3C;
  --ink-light:      #262A52;

  --gold:           #C9A24B;
  --gold-light:     #E3C783;
  --gold-deep:      #8A6A22;
  --gold-pale:      rgba(201, 162, 75, 0.14);

  --ivory:          #FAF7F0;
  --warm-white:     #F4EFE3;
  --cream:          #ECE4D0;

  --text:           #1C1B2E;
  --text-mid:       #423F5C;
  --text-muted:     #726F8C;

  --text-on-dark:        #F5F2E8;
  --text-on-dark-mid:    rgba(245, 242, 232, 0.82);
  --text-on-dark-muted:  rgba(245, 242, 232, 0.62);
  --text-on-dark-faint:  rgba(245, 242, 232, 0.45);
  --text-on-dark-dim:    rgba(245, 242, 232, 0.30);
  --text-on-dark-ghost:  rgba(245, 242, 232, 0.22);

  --border:         rgba(28, 27, 46, 0.12);
  --border-mid:     rgba(28, 27, 46, 0.24);
  --border-dark:    rgba(245, 242, 232, 0.14);
  --border-dark-mid: rgba(245, 242, 232, 0.26);

  --error:          #E88A93;

  /* Type scale for small uppercase Cinzel "label" text — every component
     that plays this role (section labels, badges, form labels, nav, CTAs)
     should pull from one of these three sizes rather than picking its own. */
  --label-xs:       0.65rem;
  --label-sm:       0.7rem;
  --label-md:       0.78rem;
}

/* ── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Gentle scroll-snap between panels — "proximity", not "mandatory",
   so it never fights a keyboard user or traps someone mid-scroll
   while reading or filling in the form. */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background-color: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── SKIP LINK (accessibility) ──────────────────────────────── */
/* Fixed px offset, not percentage — percentage top on an absolutely
   positioned element needs an explicit-height containing block, which
   body doesn't have, so it was left partially visible instead of hidden. */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 999;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1.2rem;
  font-family: 'Cinzel', serif;
  font-size: var(--label-md);
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ── FOCUS STYLES (WCAG AA keyboard navigation) ──────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── BACKGROUND CANVAS ──────────────────────────────────────── */
/* Scoped to the hero panel only (sized to its parent, not the
   viewport) — a starfield behind the opening panel, not a
   full-page layer running invisibly behind opaque sections. */
#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
/* Scoped to #mainNav specifically — a bare `nav` element selector
   here would also match the <nav class="footer-nav"> in the footer
   and pin it to position:fixed/top:0, stacking it on top of the
   logo. */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(18, 20, 42, 0);
  transition: background 0.4s, box-shadow 0.4s;
}

#mainNav.scrolled {
  background: rgba(18, 20, 42, 0.94);
  box-shadow: 0 1px 0 var(--border-dark);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem; /* 0.75rem × 1.25 */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* ── PANELS (base) ───────────────────────────────────────────── */
/* Every top-level section is a "panel" — full-height, alternating
   dark-ink / light-ivory backgrounds, snapping gently into view as
   you scroll. This is the structural pattern adapted from HTML5 UP's
   "Ethereal" template (html5up.net, CC BY 3.0 — credited in the footer). */
.panel {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 5%;
  scroll-snap-align: start;
}

.panel--dark {
  background: var(--ink);
  color: var(--text-on-dark-mid);
}

.panel--light {
  background: var(--ivory);
  color: var(--text-mid);
}

.panel--dark .section-title { color: var(--text-on-dark); }
.panel--light .section-title { color: var(--text); }

.panel--dark .section-label { color: var(--gold); }
.panel--dark .divider-diamond { color: var(--gold); background: var(--gold); }
.panel--light .section-label { color: var(--gold-deep); }
.panel--light .divider-diamond { color: var(--gold-deep); background: var(--gold-deep); }

.panel--dark .divider-line { background: var(--border-dark); }
.panel--light .divider-line { background: var(--border); }

/* ── HERO (banner panel) ─────────────────────────────────────── */
.hero {
  text-align: center;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 15%, var(--ink-light) 0%, var(--ink) 60%);
}

.hero-mandala {
  position: absolute;
  width: 680px;
  height: 680px;
  opacity: 0.85;
  animation: rotateSlow 90s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-arch {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50% 50% 0 0;
  border: 1px solid var(--border-dark);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero h1 span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto 2.8rem;
  font-style: italic;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
/* .btn-primary (the hero <a> CTAs) and .form-submit (the contact form's
   <button>) are the same primary-action role and must look and behave
   identically — the tag-specific rules below only handle what genuinely
   differs (link vs. button semantics, disabled state). */
.btn-primary,
.form-submit {
  font-family: 'Cinzel', serif;
  font-size: var(--label-md);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 1.05rem 2.2rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary {
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover,
.form-submit:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ── SECTION SHARED STYLES ───────────────────────────────────── */
.section-label {
  font-family: 'Cinzel', serif;
  font-size: var(--label-sm);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  display: block;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1.1rem;
  font-style: italic;
  max-width: 520px;
  margin: 0 auto;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.divider-line {
  flex: 1;
  height: 1px;
}

.divider-diamond {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── TRUST BAR (static credibility strip between hero and about) ── */
.trust-bar {
  position: relative;
  z-index: 1;
  background: var(--ink-mid);
  padding: 1.3rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Cinzel', serif;
  font-size: var(--label-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-mid);
}

.trust-icon {
  color: var(--gold);
}

/* ── ABOUT (spotlight panel — alternating image + text) ──────── */
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-frame {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

.about-corner {
  position: absolute;
  width: 52px;
  height: 52px;
  border-color: var(--gold-deep);
  border-style: solid;
  opacity: 0.5;
}

.about-corner.tl { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.about-corner.br { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
}

.about-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.about-byline__photo {
  flex-shrink: 0;
  width: 120px;
  height: 185px;
  border: 3px solid var(--gold-deep);
  border-radius: 8px;
  object-fit: cover;
}

.about-signature {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-mid);
  margin-top: 0;
}

/* ── SERVICES (dark color panel — intro + card grid) ─────────── */
.services-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.services-intro .divider {
  justify-content: center;
}

.services-intro .divider-line {
  max-width: 60px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  background: var(--ink);
  padding: 2.4rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.service-card .divider-diamond {
  color: var(--gold);
  background: var(--gold);
}

.service-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-on-dark);
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* ── REVIEWS RIBBON (continuous scrolling strip of client quotes) ──
   Two identical .reviews-set groups sit side by side in a flex track
   twice the viewport's content width; animating translateX(-50%)
   scrolls exactly one set's width, so the loop point is invisible.
   The second set is aria-hidden so screen readers hear each review
   once, not twice. */
.reviews-ribbon {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--ink-mid);
  padding: 2.6rem 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.reviews-heading {
  color: var(--gold);
  text-align: center;
  padding: 0 6%;
}

.reviews-track {
  display: flex;
  width: max-content;
  animation: ribbonScroll 48s linear infinite;
}

/* Pause on hover/keyboard-focus so the text can actually be read —
   the only "stop" mechanism available without adding a dedicated
   control, and paired with the reduced-motion override below. */
.reviews-ribbon:hover .reviews-track,
.reviews-ribbon:focus-within .reviews-track {
  animation-play-state: paused;
}

.reviews-set {
  display: flex;
  flex-shrink: 0;
  gap: 1.6rem;
  padding-right: 1.6rem;
}

.review-card {
  flex: 0 0 auto;
  width: min(320px, 78vw);
  padding: 1.5rem 1.7rem;
  background: var(--ink-light);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
}

.review-quote {
  font-size: 0.96rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-on-dark-mid);
  margin-bottom: 1rem;
}

.review-author {
  font-family: 'Cinzel', serif;
  font-size: var(--label-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    overflow-x: auto;
    max-width: 100%;
  }

  .reviews-set[aria-hidden="true"] {
    display: none;
  }
}

/* ── THE INVITATION (contact panel) ──────────────────────────── */
.contact-inner {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header .divider {
  justify-content: center;
}

.contact-header .divider-line {
  max-width: 60px;
}

.contact-header .section-title {
  line-height: 1.3;
  margin-bottom: 1rem;
}

.contact-notice {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-on-dark-muted);
}

.label-optional {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ── CONTACT FORM ────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: 'Cinzel', serif;
  font-size: var(--label-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.form-group input,
.form-group textarea {
  background: var(--text-on-dark);
  border: 1px solid var(--border-dark);
  color: var(--text);
  padding: 0.85rem 1.05rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  border: none;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  display: none;
  padding: 1.2rem;
  border: 1px solid var(--border-dark-mid);
  background: var(--ink-light);
  font-family: 'Cinzel', serif;
  font-size: var(--label-md);
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-align: center;
  border-radius: 2px;
}

/* Honeypot — invisible to users, not to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Inline field error messages */
.form-field-error {
  display: none;
  font-family: 'Cinzel', serif;
  font-size: var(--label-xs);
  letter-spacing: 0.2em;
  color: var(--error);
  margin-top: 0.2rem;
}

.form-group.error .form-field-error {
  display: block;
}

.form-group.error input {
  border-color: var(--error);
}

/* Consent checkbox row */
.form-group--consent .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--text-on-dark-mid);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.5;
}

.form-group--consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-group--consent a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Form submission error message */
.form-error {
  display: none;
  padding: 1.2rem;
  border: 1px solid var(--error);
  background: var(--ink-light);
  font-family: 'Cinzel', serif;
  font-size: var(--label-md);
  color: var(--error);
  border-radius: 2px;
}

.form-error a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: var(--ink-deep);
  padding: 2rem 5%;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  color: var(--gold-light);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Cinzel', serif;
  font-size: var(--label-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-on-dark-dim);
}

.footer-credit {
  font-size: 0.72rem;
  color: var(--text-on-dark-ghost);
}

.footer-credit a {
  color: inherit;
}

.footer-inner + .footer-inner {
  justify-content: flex-end;
  margin-top: 0.8rem;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rotateSlow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── HAMBURGER (hidden on desktop) ───────────────────────────── */
.nav-hamburger {
  display: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner           { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo { aspect-ratio: 4 / 3; max-width: 400px; margin: 0 auto; }
  .about-photo img { object-position: 50% 30%; }
  .about-byline__photo { width: 70px; height: 108px; }

  .nav-links { display: none; }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
  }

  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 20, 42, 0.98);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 100;
  }

  .nav-links.open a { font-size: 1.2rem; color: var(--text-on-dark); }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner + .footer-inner { align-items: flex-end; }
  .service-grid { grid-template-columns: 1fr; }
  .panel { padding: 5.5rem 6% 4rem; }
  .trust-bar { flex-direction: column; gap: 1.4rem; }
}
