/* ══════════════════════════════════════════════════════════════
   BREAKPOINTS (mobile-first, min-width)
   XS  default   < 576px    single column, hamburger nav
   SM  576px     576–767px  2-col gallery, slight padding increase
   MD  768px     768–991px  full nav, hero image, multi-col grids
   LG  992px     992–1199px 4-col pricing, larger text
   XL  1200px    1200–1399px fixed-width container centred
   XXL 1400px    1400px+    wider container, generous spacing
══════════════════════════════════════════════════════════════ */

/* ── RESPONSIVE TOKENS ── */
:root {
  /* Container horizontal padding */
  --px: 20px;
  /* Container max-width (none = full-fluid below XL) */
  --mw: none;
  /* Section vertical rhythm */
  --py-section: 56px;
  --py-section-lg: 72px;

  /* Design tokens */
  --bg-warm:      #f1e8d9;
  --bg-light:     #f7f2e8;
  --bg-dark:      #550a37;
  --text-dark:    #2b2118;
  --text-med:     #594d43;
  --text-rust:    #b35832;
  --label-dk:     #e9a679;
  --price-name:   #ffc28e;
  --on-dark:      #f7f2e8;
  --muted-dk:     rgba(247,242,232,.65);
  --green:        #006e29;
  --pink:         #d10059;
  --btn-dk:       #453e3b;
  --dot-blue:     #457c98;
  --dot-orange:   #b35832;
  --dot-green:    #53834e;
  --serif:        'Spectral', Georgia, serif;
  --mono:         'Spline Sans Mono', monospace;
  --sans:         'Hanken Grotesk', system-ui, sans-serif;
}

/* SM */
@media (min-width: 576px) {
  :root { --px: 24px; --py-section: 64px; --py-section-lg: 88px; }
}
/* MD */
@media (min-width: 768px) {
  :root { --px: 32px; --py-section: 80px; --py-section-lg: 112px; }
}
/* LG */
@media (min-width: 992px) {
  :root { --px: 44px; --py-section: 96px; --py-section-lg: 128px; }
}
/* XL — container goes fixed-width */
@media (min-width: 1200px) {
  :root { --px: 60px; --mw: 1200px; --py-section: 104px; --py-section-lg: 144px; }
}
/* XXL */
@media (min-width: 1400px) {
  :root { --px: 80px; --mw: 1400px; --py-section: 120px; --py-section-lg: 160px; }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* ── CONTAINER ──
   Every section's inner wrapper. Handles horizontal centering
   and padding at every breakpoint via CSS custom properties.
── */
.container {
  width: 100%;
  max-width: var(--mw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ── SHARED TYPOGRAPHY ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-label.on-dark { color: var(--label-dk); }

.section-heading {
  font-family: var(--serif);
  font-weight: 500;
  /* XS: 32px → scales to 64px at XXL */
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.4px;
  color: var(--text-dark);
}
.section-heading.on-dark { color: var(--on-dark); }
.section-heading em { font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .18s, background .18s;
  white-space: nowrap;
}
.btn-pink  { background: var(--pink); color: #fff; }
.btn-pink:hover  { background: #b8004f; }
.btn-dark  { background: var(--btn-dk); color: var(--on-dark); }
.btn-dark:hover  { opacity: .85; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(43,33,24,.35);
  color: var(--text-dark);
}
.btn-ghost:hover { background: rgba(43,33,24,.07); }

/* ── LOGO DOTS ── */
.logo-dots { width: 17px; height: 17px; position: relative; flex-shrink: 0; }
.logo-dots span { position: absolute; width: 7px; height: 7px; border-radius: 3.5px; }
.logo-dots span:nth-child(1) { top: 0;    left: 0;   background: var(--dot-blue); }
.logo-dots span:nth-child(2) { top: 0;    right: 0;  background: var(--dot-orange); }
.logo-dots span:nth-child(3) { bottom: 0; left: 5px; background: var(--dot-green); }

/* ── NAVBAR ── */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 12px 0;
  transition: padding-top .25s ease;
}
.navbar {
  /* Navbar uses its own max-width independent of content container */
  max-width: 1280px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  gap: 8px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-dark);
}
.nav-logo-img {
  display: block;
  width: 34px;
  height: 36px;
  background-image: url('assets/logo2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Desktop nav — hidden on XS/SM, shown on MD+ */
.nav-links {
  display: none;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-med);
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2px; right: 2px;
  height: 1px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: none; /* hidden below MD */
  background: var(--btn-dk);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 14px;
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  transition: opacity .18s;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-cta:hover { opacity: .82; }

/* Hamburger — shown on XS/SM, hidden on MD+ */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: rgba(247,242,232,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity .28s ease, visibility .28s;
}
.mobile-nav.open { visibility: visible; opacity: 1; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.mobile-nav-links a {
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 28px;
  display: block;
  transition: color .18s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--text-rust); }
.mobile-nav-cta { margin-top: 8px; }

/* ── HERO ── */
.hero {
  background: var(--bg-light);
  /* XS: top pad = nav height (80px) + breathing room matching padding-bottom */
  padding-top: 136px;
  padding-bottom: 56px;
}
/* Hero container becomes a CSS grid that stacks on XS/SM */
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 68px;
  justify-content: center;
}
.hero-text { display: flex; flex-direction: column; gap: 20px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hero-label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--text-rust);
  display: block;
  flex-shrink: 0;
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 500;
  /* XS: 34px → scales up to 72px at XXL */
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.4px;
  color: var(--text-dark);
}
.hero-h1 .green  { font-style: italic; color: var(--green); }
.hero-h1 .italic { font-style: italic; }

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 1.7vw, 22px);
  line-height: 1.6;
  color: var(--text-med);
}
.hero-sub u {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.sketch-u {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M0,4 C30,1.5 70,6.5 100,4.5 C130,2 165,7 200,4' stroke='%23006e29' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 5px;
  padding-bottom: 5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-actions .btn {
  width: 100%;
}

/* Hero image — hidden on XS/SM, shown on MD+ */
.hero-right {
  display: none;
  width: 100%;
  aspect-ratio: 640 / 613;
  border-radius: 10px;
  overflow: hidden;
  background: #f1e8db;
}
.hero-right img,
.img-ph {
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(43,33,24,.35);
  background: #c9b89e;
}

/* ── ABOUT ── */
.about { background: var(--bg-warm); }

/* Each sub-section of About acts as its own padded row */
.about-model,
.about-phases,
.about-gallery {
  padding-top: var(--py-section);
  padding-bottom: var(--py-section);
}
.about-phases,
.about-gallery { border-top: 1px solid rgba(43,33,24,.1); }
.about-gallery { padding-bottom: var(--py-section-lg); }

.about-model-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.about-model-desc {
  font-family: var(--sans);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-med);
  max-width: 840px;
}

/* Trinity grid — 1 col mobile, 3 col MD+ */
.trinity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.trinity-card { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.trinity-img {
  width: 100%;
  max-width: 305px;
  max-height: 305px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #b8a48a;
  margin: 0 auto 8px;
}
.trinity-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trinity-img .img-ph { background: #b8a48a; height: 100%; }
.trinity-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-dark);
}
.trinity-desc {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-med);
}

/* Phases head */
.phases-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

/* Phase tabs — 2×2 pill grid on XS/SM, 4-col underline on MD+ */
.phase-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.phase-tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  cursor: pointer;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(43,33,24,.15);
  border-radius: 8px;
  text-align: left;
  opacity: .55;
  transition: opacity .2s, background .2s, border-color .2s;
  position: relative;
}
.phase-tab.active {
  opacity: 1;
  background: rgba(255,255,255,.85);
  border-color: var(--text-rust);
}
.phase-tab:hover:not(.active) { opacity: .8; }
/* Underline indicator — hidden on XS/SM pill layout */
.phase-tab::after { display: none; }

.phase-tab-period {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
}
.phase-tab-name {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-dark);
}

/* Phase panel */
.phase-panel { display: none; }
.phase-panel.active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: rgba(255,255,255,.55);
  border-radius: 8px;
  padding: 24px 20px;
  margin-top: 24px;
  animation: fadeUp .25s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.phase-left { display: flex; flex-direction: column; gap: 12px; }
.phase-period {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
}
.phase-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 46px);
  line-height: 1.1;
  color: var(--text-dark);
}
.phase-status {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--green);
}
.phase-desc {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-med);
}
.phase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phase-bullets li {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-med);
  display: flex;
  align-items: center;
  gap: 10px;
}
.phase-bullets li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-rust);
  flex-shrink: 0;
}

/* Gallery head */
.gallery-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.gallery-desc {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-med);
  max-width: 840px;
}

/* Gallery grid — 1 col XS, 2 col SM+, 3 col MD+ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 32px;
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  background: #b8a48a;
}
.gallery-item { height: clamp(250px, 25vw, 300px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.gallery-item .img-ph { background: #a89070; height: 100%; }
.gallery-cta { display: flex; justify-content: center; }

/* Last gallery photo is a wide group shot — on mobile let it set its own
   height from its natural aspect ratio so it fills edge-to-edge with no
   cropping and no letterbox gaps (desktop keeps the fixed grid-row height). */
@media (max-width: 767px) {
  .gallery-item:last-child { height: auto; }
  .gallery-item:last-child img { height: auto; object-fit: initial; }
}

/* All remaining CTA buttons fill the width of their container on mobile
   (hero and pricing-note buttons are handled separately above/below;
   .btn-back is a plain text link, not a filled button, so it's excluded) */
@media (max-width: 767px) {
  .mobile-nav-cta .btn,
  .gallery-cta .btn,
  .visa-cta .btn,
  .cta-actions .btn {
    width: 100%;
  }
}

/* ── CONTRIBUTION ── */
.contribution {
  background: var(--bg-dark);
  padding-top: var(--py-section-lg);
  padding-bottom: var(--py-section-lg);
}
.contribution-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 72px);
}
.contrib-head { display: flex; flex-direction: column; gap: 20px; }

.usage-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 24px);
  color: var(--on-dark);
  margin-bottom: 16px;
}

/* Usage cards — 1 col XS/SM, 3 col MD+ */
.usage-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.usage-card {
  background: rgba(255,255,255,.16);
  border-radius: 6px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.usage-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--label-dk);
}
.usage-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 24px);
  color: var(--on-dark);
  line-height: 1.25;
}
.usage-desc {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-dk);
}

.contrib-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22) 50%, transparent);
  border-radius: 999px;
}

/* Pricing — 1 col XS/SM, 2 col MD, 4 col LG+ */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color .2s;
}
.pricing-card:hover { border-color: rgba(255,255,255,.3); }
.pricing-card.featured {
  border-color: rgba(209,0,89,.8);
  border-radius: 0 0 8px 8px;
}
.pricing-card.featured:hover { border-color: rgba(209,0,89,1); }

.pricing-badge {
  /* In-flow (not absolutely positioned above the card) so it sits flush
     against the card's top edge with no gap, bleeding through the card's
     own padding/border via negative margins. */
  margin: calc(-1 * clamp(20px, 2.5vw, 32px)) calc(-1 * clamp(20px, 2.5vw, 32px)) 0;
  background: var(--pink);
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  text-align: center;
  padding: 7px 12px;
  border-radius: 0;
}
.pricing-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--price-name);
}
.pricing-divider {
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.3), transparent);
  border-radius: 999px;
}
.pricing-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: rgba(247,242,232,.5);
  letter-spacing: 0.3px;
}
.pricing-price {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  color: var(--on-dark);
  line-height: 1;
  margin-top: 2px;
}
.pricing-desc {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted-dk);
}
.pricing-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--on-dark);
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, border-color .18s;
  margin-top: auto;
}
.pricing-btn:hover { background: rgba(255,255,255,.14); }
.pricing-card.featured .pricing-btn { background: var(--pink); border-color: var(--pink); }
.pricing-card.featured .pricing-btn:hover { background: #b8004f; border-color: #b8004f; }

/* Pricing note — stacked on XS/SM, row on MD+ */
.pricing-note {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-note-text {
  font-family: var(--sans);
  font-size: 16px;
  color: rgba(247,242,232,.7);
  line-height: 1.45;
}
.btn-outline-light {
  align-self: stretch;
  display: flex;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(247,242,232,.4);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, border-color .18s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(247,242,232,.7); }

/* ── VOLUNTEER ── */
.volunteer {
  background: var(--bg-light);
  padding-top: var(--py-section-lg);
  padding-bottom: var(--py-section-lg);
}
.volunteer-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
}
.vol-head { display: flex; flex-direction: column; gap: 16px; }
.vol-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 20px);
  color: var(--text-med);
}

.accord-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--text-dark);
  margin-bottom: 4px;
}
.accordion { border-top: 1px solid rgba(43,33,24,.12); }
.acc-item  { border-bottom: 1px solid rgba(43,33,24,.12); }
.acc-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: 12px;
  text-align: left;
}
.acc-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
  min-width: 24px;
}
.acc-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--text-dark);
  flex: 1;
  transition: color .18s;
}
.acc-trigger:hover .acc-title { color: var(--text-rust); }
.acc-icon {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--text-med);
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}
.acc-body {
  display: none;
  padding: 0 0 22px 0;
  font-family: var(--sans);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-med);
  animation: fadeUp .2s ease;
}
.acc-item.open .acc-body { display: block; }

/* Visa box */
.visa-box {
  background: #f1e8db;
  border-radius: 8px;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px);
}
.visa-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--text-dark);
  margin-bottom: 24px;
}
/* Visa rows — stacked on XS/SM, 3-col grid on MD+ */
.visa-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(43,33,24,.1);
}
.visa-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-dark);
}
.visa-dur {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
}
.visa-note {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-med);
  line-height: 1.5;
}
.visa-cta { display: flex; justify-content: center; margin-top: 28px; }

/* ── CTA ── */
.cta-section { display: none; }
.cta-section {
  background: var(--bg-light);
  border-top: 1px solid rgba(43,33,24,.08);
  padding-top: var(--py-section-lg);
  padding-bottom: var(--py-section-lg);
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
}
.cta-h {
  font-family: var(--serif);
  font-weight: 500;
  /* XS: 44px → scales to 116px at XXL */
  font-size: clamp(44px, 8.5vw, 116px);
  line-height: 0.97;
  letter-spacing: -1.5px;
  color: var(--text-dark);
}
.cta-desc {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--text-med);
  max-width: 560px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-back {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .18s;
}
.btn-back:hover { opacity: .5; }

/* ── CONTACT ── */
.contact-section {
  background: var(--bg-warm);
  padding-top: var(--py-section-lg);
  padding-bottom: var(--py-section-lg);
}
.contact-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: var(--text-dark);
}
.contact-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  color: var(--text-med);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-field label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
}
.contact-field input,
.contact-field textarea {
  background: var(--bg-light);
  border: 1px solid #ebdecd;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text-dark);
  width: 100%;
  transition: border-color .18s;
  appearance: none;
}
.contact-field input { height: 40px; }
.contact-field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.contact-field input:focus,
.contact-field textarea:focus { outline: none; border-color: var(--text-rust); }
.contact-submit { width: 100%; }

@media (min-width: 768px) {
  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(48px, 8vw, 120px);
  }
  .contact-left { flex: 1; }
  .contact-form  { flex: 1; }
  .contact-row { flex-direction: row; gap: 24px; }
  .contact-row .contact-field { flex: 1; }
}

/* ── FOOTER ── */
footer {
  background: var(--bg-warm);
  padding-top: 36px;
  padding-bottom: 36px;
}
/* Footer inner — column on XS/SM, row on MD+ */
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-dark);
}
.footer-logo-img {
  display: block;
  width: 34px;
  height: 36px;
  background-image: url('assets/logo2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.footer-copy { font-family: var(--sans); font-size: 14px; color: var(--text-med); }

.footer-contact-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-rust);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-email {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
}
.footer-email:hover { text-decoration: underline; }

.footer-social { display: flex; gap: 10px; align-items: center; }
.social-icon {
  width: 36px; height: 36px;
  border: 1.5px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  transition: opacity .18s;
}
.social-icon:hover { opacity: .5; }
.social-icon svg { width: 16px; height: 16px; }


/* ══════════════════════════════════════════════════════════════
   BREAKPOINT OVERRIDES — mobile-first (min-width)
══════════════════════════════════════════════════════════════ */

/* ── SM: 576px ─────────────────────────── */
@media (min-width: 576px) {
  /* Gallery 2-col */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing 2-col */
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }

  /* Pricing note row */
  .pricing-note { flex-direction: row; align-items: center; gap: 16px; }
  .btn-outline-light { align-self: auto; }
}

/* ── MD: 768px ─────────────────────────── */
@media (min-width: 768px) {
  /* Nav: hide hamburger, show desktop links */
  .nav-hamburger { display: none; }
  .nav-links     { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-cta       { display: flex; }
  .navbar        { height: 68px; padding: 0 24px; }

  /* Hero: 2-col, show image */
  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 3vw, 52px);
    align-items: stretch;
  }
  .hero-left { padding-top: 36px; }
  .hero-right { display: block; }
  .hero-actions { justify-content: flex-start; width: auto; }
  .hero-actions .btn { width: auto; }

  /* About model: extra bottom margin */
  .about-model-head { margin-bottom: clamp(44px, 5vw, 72px); }

  /* Trinity: 3-col */
  .trinity-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 56px);
  }

  /* Phase tabs: 4-col underline style */
  .phase-tabs {
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(43,33,24,.12);
    gap: 0;
    margin-bottom: 4px;
  }
  .phase-tab {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 12px 16px 0;
    opacity: .38;
  }
  .phase-tab.active {
    background: none;
    border-color: transparent;
    opacity: 1;
  }
  .phase-tab::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 12px;
    height: 2px;
    background: var(--text-rust);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
  }
  .phase-tab.active::after { transform: scaleX(1); }
  .phase-tab:hover:not(.active) { opacity: .65; background: none; }
  .phase-tab-period { font-size: 14px; }
  .phase-tab-name   { font-size: 18px; }

  /* Phase panel: 2-col */
  .phase-panel.active {
    grid-template-columns: 1fr 220px;
    gap: 44px;
    padding: clamp(28px, 3vw, 48px);
    margin-top: 24px;
    align-items: center;
  }

  /* Gallery: 3-col with wide spanning items */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: clamp(180px, 22vw, 300px) clamp(260px, 33vw, 440px) clamp(260px, 33vw, 440px);
  }
  /* Override mobile nth-child heights (specificity 0-2-0 beats 0-1-0) */
  .gallery-item:nth-child(n) { height: 100%; }
  .gallery-wide { grid-column: span 2; }

  /* Usage cards: 3-col */
  .usage-cards { grid-template-columns: repeat(3, 1fr); }

  /* Visa rows: 3-col grid */
  .visa-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 16px;
    padding: 18px 0;
    flex-direction: unset;
  }
  .visa-name { font-size: 18px; }

  /* Accordion body indent */
  .acc-body { padding-left: 36px; }

  /* Footer: row */
  .footer-inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .footer-contact { margin-left: auto; }
  .footer-social  { margin-left: 36px; }
}

/* ── LG: 992px ─────────────────────────── */
@media (min-width: 992px) {
  /* Hero top padding */
  .hero { padding-top: 148px; }

  /* Pricing: 4-col */
  .pricing-cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ── XL: 1200px — fixed-width container ── */
@media (min-width: 1200px) {
  .nav-wrap { padding-top: 28px; }

  /* Phase panel wider right column */
  .phase-panel.active { grid-template-columns: 1fr 260px; }
}

/* ── XXL: 1400px — wider, more generous ── */
@media (min-width: 1400px) {
  .navbar { max-width: 1400px; }
}

/* ── Contact form feedback ── */
.contact-feedback {
  margin-top: 12px;
  font-size: 0.875rem;
  min-height: 1.25em;
}
.contact-feedback--ok  { color: #3a7d44; }
.contact-feedback--err { color: #c0392b; }
