/* ============================================================
   SYGNIFIC — Global Stylesheet
   Import order: variables.css → style.css
   ============================================================ */

@import url('variables.css');

/* ── FONT FACES ───────────────────────────────────────────── */

@font-face {
  font-family: 'ITC Avant Garde Gothic Std';
  src: url('../assets/fonts/ITCAvantGardeStd-XLt.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Std';
  src: url('../assets/fonts/ITCAvantGardeStd-Bk.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Std';
  src: url('../assets/fonts/ITCAvantGardeStd-BkObl.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Std';
  src: url('../assets/fonts/ITCAvantGardeStd-Demi.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Std';
  src: url('../assets/fonts/ITCAvantGardeStd-DemiObl.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ── RESET & BASE ─────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height, 120px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-book);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

/* ── FOCUS STATES (Accessibility) ────────────────────────── */

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

/* ── CONTAINER ────────────────────────────────────────────── */

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

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-navy);
  font-weight: var(--font-weight-demi);
}

h1 { font-size: clamp(var(--text-5xl), 7vw, var(--text-7xl)); }
h2 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); }
h3 { font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl)); }
h4 { font-size: clamp(var(--text-2xl), 2.5vw, var(--text-4xl)); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

/* Heading variants */
.heading--light  { color: var(--color-ivory); }
.heading--accent { color: var(--color-gold); }
.heading--italic { font-style: italic; }

p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  max-width: 70ch;
}

p.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-light);
}

/* Eyebrow label (e.g. "SOLUTIONS — WHAT WE DO") */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-book);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

/* Rule-decorated divider label */
.divider-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.divider-label::before,
.divider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-ivory-dark);
}

/* Dark-surface paragraph */
.text--light { color: rgba(247, 245, 241, 0.75); }
.text--muted  { color: var(--color-text-muted); }

/* ── BUTTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-4) var(--space-8);
  border: 1px solid transparent;
  transition:
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

/* Primary: gold fill */
.btn--primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: 0 4px 20px rgba(176, 141, 87, 0.35);
}

/* Secondary: outline navy */
.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--secondary:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

/* Ghost: subtle on dark backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--color-ivory);
  border-color: rgba(247, 245, 241, 0.35);
}

.btn--ghost:hover {
  border-color: var(--color-ivory);
  background: rgba(247, 245, 241, 0.08);
}

/* Ghost dark: for light backgrounds */
.btn--ghost-dark {
  background: transparent;
  color: var(--color-navy);
  border-color: rgba(11, 27, 43, 0.3);
}

.btn--ghost-dark:hover {
  border-color: var(--color-navy);
  background: rgba(11, 27, 43, 0.05);
}

/* Size modifier */
.btn--sm {
  font-size: 0.625rem;
  padding: var(--space-3) var(--space-6);
}

.btn--lg {
  font-size: var(--text-sm);
  padding: var(--space-5) var(--space-10);
}

/* ── HEADER ───────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition:
    background var(--transition-slow),
    backdrop-filter var(--transition-slow),
    border-color var(--transition-slow),
    box-shadow var(--transition-slow);
  border-bottom: 1px solid transparent;
}

/* Default: transparent over hero */
.site-header--transparent {
  background: transparent;
}

/* Scrolled on dark/transparent header: dark frosted glass */
.site-header--transparent.site-header--scrolled {
  background: rgba(11, 27, 43, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(176, 141, 87, 0.18);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.25);
}

/* Light page header (no hero image) */
.site-header--light {
  background: var(--color-ivory);
  border-bottom-color: var(--color-ivory-dark);
}

/* Scrolled on light header: ivory frosted glass */
.site-header--light.site-header--scrolled {
  background: rgba(247, 245, 241, 0.80);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(176, 141, 87, 0.2);
  box-shadow: 0 2px 24px rgba(11, 27, 43, 0.07);
}

.site-header--light .nav-link,
.site-header--light .logo {
  color: var(--color-navy);
}

.site-header--light .nav-link:hover {
  color: var(--color-gold);
}

.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-ivory);
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--transition-base);
}

.logo:hover {
  color: var(--color-gold);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.75);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--color-gold);
  transition: right var(--transition-base);
}

.nav-link:hover {
  color: var(--color-ivory);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  right: 0;
}

/* Active page: bold underline, stays visible */
.nav-link[aria-current="page"] {
  color: var(--color-ivory);
  font-weight: 600;
}

/* Active on light header: navy bold */
.site-header--light .nav-link[aria-current="page"] {
  color: var(--color-navy);
  font-weight: 600;
}

/* Header CTA */
.header-cta {
  flex-shrink: 0;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: var(--z-overlay);
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-navy);
  transform-origin: center;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base),
    background var(--transition-base);
}

/* When nav is open: float button above the overlay and show ivory X */
.hamburger[aria-expanded="true"] {
  position: fixed;
  top: calc((var(--header-height, 88px) - 40px) / 2);
  right: var(--container-padding, 20px);
  z-index: calc(var(--z-overlay) + 50);
}

.hamburger[aria-expanded="true"] .hamburger-line {
  background: var(--color-ivory);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--color-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.mobile-nav[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav .nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 300;
  letter-spacing: var(--tracking-normal);
  text-transform: none;
  color: var(--color-ivory);
  padding-bottom: 4px;
}

.mobile-nav .nav-link::after {
  background: var(--color-gold);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(247, 245, 241, 0.2);
  border-radius: 50%;
  color: var(--color-ivory);
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.mobile-nav-close:hover {
  border-color: var(--color-gold);
  background: rgba(176, 141, 87, 0.1);
}

.mobile-nav-footer {
  position: absolute;
  bottom: var(--space-10);
  left: 0;
  right: 0;
  text-align: center;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.3);
}

/* ── FOOTER ───────────────────────────────────────────────── */

.site-footer {
  background: var(--color-navy);
  color: var(--color-ivory);
  padding-top: var(--space-20);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(176, 141, 87, 0.12);
}

.footer-brand .logo {
  font-size: var(--text-3xl);
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: rgba(247, 245, 241, 0.6);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(247, 245, 241, 0.45);
  margin-bottom: var(--space-4);
  max-width: 340px;
}

.footer-subtag {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.4);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(247, 245, 241, 0.6);
  transition: color var(--transition-base);
}

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

.footer-address {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(247, 245, 241, 0.5);
  margin-bottom: var(--space-4);
}

.footer-email {
  font-size: var(--text-sm);
  color: rgba(247, 245, 241, 0.6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--transition-base);
  margin-bottom: var(--space-4);
}

.footer-email:hover {
  color: var(--color-gold);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.45);
  transition: color var(--transition-base);
  text-decoration: none;
  margin-top: var(--space-3);
}

.footer-linkedin:hover {
  color: var(--color-gold);
}

.footer-linkedin svg {
  width: 16px;
  height: 16px;
}

.footer-linkedin:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(247, 245, 241, 0.25);
}

.footer-legal-inline {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-inline a {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(247, 245, 241, 0.25);
  transition: color var(--transition-base);
}

.footer-legal-inline a:hover {
  color: var(--color-gold);
}

.footer-credit {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(247, 245, 241, 0.25);
  margin-left: auto;
}

.footer-credit a {
  color: rgba(247, 245, 241, 0.4);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* ── SECTIONS (shared layout patterns) ───────────────────── */

.section {
  padding-block: var(--space-24);
}

.section--dark {
  background: var(--color-navy);
  color: var(--color-ivory);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-ivory);
}

.section--dark p {
  color: rgba(247, 245, 241, 0.7);
}

.section--navy-light {
  background: var(--color-navy-light);
}

.section--ivory-dark {
  background: var(--color-ivory-dark);
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header--centered {
  text-align: center;
}

.section-header--centered p {
  margin-inline: auto;
}

/* ── GOLD RULE ACCENT ─────────────────────────────────────── */

.gold-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin-block: var(--space-6);
}

.gold-rule--center {
  margin-inline: auto;
}

/* ── HERO (base — full page definition in each page) ──────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 27, 43, 0.88) 0%,
    rgba(11, 27, 43, 0.65) 60%,
    rgba(11, 27, 43, 0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ── IMAGE PLACEHOLDER ────────────────────────────────────── */

.img-placeholder {
  background: var(--color-navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 245, 241, 0.2);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

/* ── CARD ─────────────────────────────────────────────────── */

.card {
  background: var(--color-ivory);
  border: 1px solid var(--color-ivory-dark);
  padding: var(--space-10);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--color-gold-dim);
  box-shadow: var(--shadow-md);
}

.card--dark {
  background: var(--color-navy-light);
  border-color: rgba(176, 141, 87, 0.12);
}

.card--dark:hover {
  border-color: var(--color-gold-dim);
}

/* ── SCROLL FADE-IN ANIMATION ─────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

.fade-in-group.is-visible > *:nth-child(1)    { opacity: 1; transform: translateY(0); transition-delay:   0ms; }
.fade-in-group.is-visible > *:nth-child(2)    { opacity: 1; transform: translateY(0); transition-delay:  80ms; }
.fade-in-group.is-visible > *:nth-child(3)    { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
.fade-in-group.is-visible > *:nth-child(4)    { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.fade-in-group.is-visible > *:nth-child(5)    { opacity: 1; transform: translateY(0); transition-delay: 320ms; }
.fade-in-group.is-visible > *:nth-child(6)    { opacity: 1; transform: translateY(0); transition-delay: 400ms; }
.fade-in-group.is-visible > *:nth-child(7)    { opacity: 1; transform: translateY(0); transition-delay: 480ms; }
.fade-in-group.is-visible > *:nth-child(8)    { opacity: 1; transform: translateY(0); transition-delay: 560ms; }
.fade-in-group.is-visible > *:nth-child(9)    { opacity: 1; transform: translateY(0); transition-delay: 640ms; }
.fade-in-group.is-visible > *:nth-child(n+10) { opacity: 1; transform: translateY(0); transition-delay: 720ms; }

/* ── STAT BLOCK ───────────────────────────────────────────── */

.stat-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.5);
}

/* ── LOGO PAIR ────────────────────────────────────────────── */

.logo-pair {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-shrink: 0;
}

.logo-pair > a {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  text-decoration: none;
}

.logo-img-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 100px;
  width: auto;
  position: relative;
  z-index: 1;
}

/* Shimmer sweep — gold light reflection, once on load */
.logo-img-wrap::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(201, 168, 120, 0.55) 48%,
    rgba(255, 245, 210, 0.7) 52%,
    rgba(201, 168, 120, 0.55) 56%,
    transparent 75%
  );
  transform: translateX(-200%) skewX(-15deg);
  animation: logo-shimmer 0.8s ease-out 0.6s 1 forwards;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

.logo-img-wrap:nth-child(2)::after {
  animation-delay: 0.9s;
}

@keyframes logo-shimmer {
  0%   { transform: translateX(-200%) skewX(-15deg); }
  100% { transform: translateX(300%) skewX(-15deg); }
}

/* Logo filter variants */
.logo-img--invert {
  filter: brightness(0) invert(1);
}

/* Footer logo size */
.footer-brand .logo-img {
  height: 80px;
}

/* Divider between logos */
.logo-pair-sep {
  width: 1px;
  height: 28px;
  background: rgba(176, 141, 87, 0.3);
  flex-shrink: 0;
}

.logo-pair-sep--invert {
  background: rgba(247, 245, 241, 0.2);
}

/* ── UTILS ────────────────────────────────────────────────── */

.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;
}

.text-gold { color: var(--color-gold); }
.text-ivory { color: var(--color-ivory); }
.text-navy { color: var(--color-navy); }
.text-italic { font-style: italic; }
.font-heading { font-family: var(--font-heading); }

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root {
    --container-padding: var(--space-6);
    --header-height: 104px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-5);
    --header-height: 88px;
  }

  .logo-img { height: 72px; }

  .site-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .section {
    padding-block: var(--space-16);
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: var(--space-4);
  }

  .logo-img { height: 64px; }
  .logo-pair-sep { height: 24px; }

  .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .footer-grid { gap: var(--space-8); }
  .footer-address { font-size: var(--text-xs); }
}

/* ── BACK TO TOP ──────────────────────────────────────────── */

.back-to-top {
  display: none;
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: var(--z-sticky);
  width: 36px;
  height: 36px;
  background: var(--color-navy);
  border: 1px solid rgba(176, 141, 87, 0.35);
  color: var(--color-gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

@media (max-width: 768px) {
  .back-to-top { display: flex; }
}

/* ── HERO LINE REVEAL (shared across all pages) ──────────── */

@keyframes hero-line-up {
  from { transform: translateY(108%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.07em;
}

.hero-ln-inner {
  display: block;
  animation: hero-line-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-ln:nth-child(2) .hero-ln-inner { animation-delay: 0.22s; }
.hero-ln:nth-child(3) .hero-ln-inner { animation-delay: 0.38s; }

@keyframes hero-sub-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub-anim {
  opacity: 0;
  animation: hero-sub-in 0.65s ease 0.55s both;
}

/* ── REDUCED MOTION ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .fade-in-group > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-ln-inner,
  .hero-sub-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

