/* ==========================================================================
   Westpro Landscaping Ltd. — Premium Design System
   Palette: deep forest green + champagne gold (logo-matched)
   Type: Fraunces (display serif) + Inter Tight (body sans)
   ========================================================================== */

/* Self-hosted Google Fonts — eliminates render-blocking external requests */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-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: "Fraunces";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces-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;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/inter-tight-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: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-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;
}

:root {
  /* Color tokens */
  --bg: #0b110c;
  --bg-elevated: #101810;
  --surface: #161f16;
  --surface-border: rgba(201, 169, 98, 0.16);
  --green-deep: #1c3a26;
  --green-mid: #2e5b3c;
  --gold: #c9a962;
  --gold-bright: #e3c98a;
  --gold-dim: rgba(201, 169, 98, 0.55);
  --text: #f2efe4;
  --text-muted: #b3bcae;
  --text-faint: #7e8a79;
  --scrim: linear-gradient(180deg, rgba(8, 13, 9, 0.55) 0%, rgba(8, 13, 9, 0.35) 45%, rgba(11, 17, 12, 0.92) 100%);

  /* Type scale */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter Tight", -apple-system, "Segoe UI", sans-serif;

  /* Spacing rhythm (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --container: 1200px;
  --radius: 10px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--gold-bright);
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-2);
  z-index: 200;
  background: var(--gold);
  color: #0b110c;
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #0b110c;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 17, 12, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.12);
  transition: background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(11, 17, 12, 0.92);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.header-page-title {
  margin: 0;
  padding-left: var(--space-2);
  border-left: 1px solid rgba(201, 169, 98, 0.35);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

@media (max-width: 560px) {
  .header-page-title {
    font-size: 18px;
  }
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* ==========================================================================
   Hero
   ========================================================================== */

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: hero-zoom 14s ease-out forwards;
}

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

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Edge fade on all four borders + soft scrim for legibility */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--bg), transparent 24%),
    linear-gradient(to top, var(--bg), transparent 26%),
    linear-gradient(to right, rgba(11, 17, 12, 0.92), transparent 20%),
    linear-gradient(to left, rgba(11, 17, 12, 0.92), transparent 20%),
    rgba(8, 13, 9, 0.32);
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 140px var(--space-3) var(--space-12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold-dim);
}

/* Centered hero eyebrow gets a balancing line on both sides */
.hero .eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold-dim);
}

.hero h1 {
  font-family: "Marcellus", var(--font-display);
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.015em;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.hero-tagline {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 0 auto var(--space-6);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  min-height: 36dvh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.page-hero .hero-bg {
  animation: hero-zoom 10s ease-out forwards;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim);
}

.page-hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--space-3) var(--space-4);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.page-hero .eyebrow {
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 34px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: var(--gold);
  color: #10150e;
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #10150e;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(242, 239, 228, 0.4);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ==========================================================================
   Sections
   ========================================================================== */

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

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.section-head.is-left {
  margin-left: 0;
  text-align: left;
}


/* About Us — original three-circle layout, premium finish */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-4);
}

.about-card {
  text-align: center;
}

.about-circle {
  width: min(240px, 70%);
  aspect-ratio: 1;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  overflow: hidden;
  background: #f7f4ea;
  border: 1px solid rgba(201, 169, 98, 0.4);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-circle.is-logo {
  background: #fff;
}

.about-circle.is-logo img {
  object-fit: contain;
  padding: 12%;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-1);
}

.about-card p {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 340px;
  margin: 0 auto;
}

/* Immersive quote band */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--space-16) 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .band {
    background-attachment: scroll;
  }
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 13, 9, 0.78);
}

.band-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-3);
}

.band blockquote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 var(--space-4);
  color: var(--text);
}

.band blockquote em {
  color: var(--gold-bright);
}

/* ==========================================================================
   Gallery / Carousel
   ========================================================================== */

/* Full-bleed gallery — the slideshow IS the page; the fixed translucent
   header floats over the image so all four edges are borderless */
.gallery-full {
  position: relative;
  height: 100dvh;
  padding: 0;
}

.gallery-full .carousel {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
}

.gallery-full .carousel-frame {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.gallery-full .carousel-frame::after {
  display: none;
}

/* Broken-grid thumbnail cluster — ragged bottom-right, sizes vary,
   the active photo reads largest */
.gallery-full .carousel-thumbs {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-4);
  z-index: 5;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 0;
}

.gallery-full .carousel-thumb {
  aspect-ratio: auto;
  width: 76px;
  height: 52px;
  border-radius: 6px;
  transform: translateY(var(--ty, 0px));
}

.gallery-full .carousel-thumb:nth-child(odd) {
  --ty: -14px;
}

.gallery-full .carousel-thumb:nth-child(3n) {
  width: 62px;
  height: 44px;
}

.gallery-full .carousel-thumb:hover {
  transform: translateY(calc(var(--ty, 0px) - 4px));
}

.gallery-full .carousel-thumb.is-active {
  width: 94px;
  height: 64px;
}


.carousel {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.carousel-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

/* Offset gold frame for a gallery-plaque feel */
.carousel-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}

.carousel-slide picture,
.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide.is-active {
  opacity: 1;
  z-index: 2;
}

/* Cross-dissolve: outgoing slide holds fully visible beneath while the
   incoming one breathes in over it — no dark dip, no hard edge */
.carousel-slide.is-leaving {
  opacity: 1;
  z-index: 1;
  transition: none;
}

.carousel-slide.is-active.dissolve-in {
  transition: none;
  animation: dissolve-in 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes dissolve-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.carousel-slide.is-active img {
  animation: slide-kenburns 6.5s ease-out forwards;
}

@keyframes slide-kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.5);
  background: rgba(11, 17, 12, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 0.15s ease;
}

.carousel-arrow:hover {
  background: rgba(201, 169, 98, 0.18);
  border-color: var(--gold);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

.carousel-arrow.prev { left: var(--space-3); }
.carousel-arrow.next { right: var(--space-3); }

.carousel-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 6;
  height: 3px;
  width: 100%;
  background: rgba(201, 169, 98, 0.15);
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
}

.carousel-progress-bar.is-running {
  animation: progress-fill var(--carousel-interval, 6.5s) linear forwards;
}

@keyframes progress-fill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Thumbnail filmstrip */
.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.carousel-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-thumb:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

.carousel-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

/* Right column flexes so the map grows to sit flush with the form's bottom */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: var(--space-6);
}

.contact-form-card h2,
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 var(--space-3);
}

.form-field {
  margin-bottom: var(--space-3);
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-field .req {
  color: var(--gold);
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--transition);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-note {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: var(--space-2);
}

/* Form status containers — hidden until contact.js fills them */
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: var(--space-3);
}

.form-status:not(:empty) {
  display: block;
}

.form-success:not(:empty) {
  background: rgba(46, 91, 60, 0.35);
  border: 1px solid var(--green-mid);
  color: var(--text);
}

.form-error:not(:empty) {
  background: rgba(150, 60, 45, 0.22);
  border: 1px solid rgba(224, 143, 122, 0.5);
  color: #e8b3a3;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(224, 143, 122, 0.7);
}

.contact-info p {
  color: var(--text-muted);
}

.info-block {
  border-left: 2px solid var(--gold-dim);
  padding-left: var(--space-3);
  margin: var(--space-3) 0;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 0 0 6px;
}

.info-block p {
  margin: 4px 0;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Contact page: form sits tight beneath the short hero.
   Compound selector so the responsive .section rules can't override it */
.section.contact-section {
  padding-top: var(--space-6);
}

.map-wrap {
  flex: 1;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-3);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--surface-border);
  background: var(--bg-elevated);
  padding: var(--space-8) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-brand .brand-name {
  font-size: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 340px;
}

.site-footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 var(--space-2);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 98, 0.1);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-faint);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.footer-legal a {
  color: var(--text-faint);
}

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

/* ==========================================================================
   Legal pages (Privacy Policy, Cookie Policy)
   ========================================================================== */

.legal-section {
  padding: calc(76px + var(--space-8)) 0 var(--space-12);
}

.legal-article {
  max-width: 760px;
  margin: 0 auto;
}

.legal-article .eyebrow {
  margin-bottom: var(--space-1);
}

.legal-article h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-1);
}

.legal-updated {
  color: var(--text-faint);
  font-size: 14px;
  margin: 0 0 var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--surface-border);
}

.legal-article h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: var(--space-6) 0 var(--space-2);
  color: var(--gold-bright);
}

.legal-article h3 {
  font-size: 17px;
  font-weight: 600;
  margin: var(--space-4) 0 var(--space-1);
}

.legal-article p,
.legal-article li {
  color: var(--text-muted);
}

.legal-article ul {
  padding-left: 22px;
  margin: var(--space-2) 0;
}

.legal-article li {
  margin-bottom: var(--space-1);
}

.legal-article li::marker {
  color: var(--gold-dim);
}

.legal-contact-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
}

.legal-contact-card p {
  margin: 0 0 4px;
}

.form-privacy-note {
  margin: var(--space-2) 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
}

/* ==========================================================================
   Page entrance — one orchestrated moment on load, nothing on scroll
   ========================================================================== */

.hero-inner > *,
.page-hero-inner > * {
  animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-inner > :nth-child(2),
.page-hero-inner > :nth-child(2) {
  animation-delay: 0.12s;
}

.hero-inner > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero-inner > :nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .section {
    padding: var(--space-12) 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

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

  .carousel-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-full .carousel-thumbs {
    left: var(--space-2);
    right: var(--space-2);
    bottom: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .gallery-full .carousel-thumb {
    width: 46px;
    height: 34px;
  }

  .gallery-full .carousel-thumb:nth-child(odd) {
    --ty: -8px;
  }

  .gallery-full .carousel-thumb:nth-child(3n) {
    width: 40px;
    height: 30px;
  }

  .gallery-full .carousel-thumb.is-active {
    width: 58px;
    height: 42px;
  }


  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .carousel-arrow.prev { left: var(--space-2); }
  .carousel-arrow.next { right: var(--space-2); }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 17, 12, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    padding: var(--space-2) var(--space-3) var(--space-4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-size: 15px;
  }

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

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

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

/* Portrait phones: show the whole photo letterboxed against the dark
   ground instead of cropping landscape shots to a sliver */
@media (max-width: 700px) and (orientation: portrait) {
  .gallery-full .carousel-slide img {
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .carousel-frame {
    aspect-ratio: 4 / 3;
  }

  .carousel-caption {
    padding: var(--space-6) var(--space-3) var(--space-3);
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .page-hero .hero-bg,
  .carousel-slide.is-active img {
    animation: none;
  }

  .hero-inner > *,
  .page-hero-inner > * {
    animation: none;
  }

  .carousel-slide {
    transition-duration: 0.01ms;
  }

  .carousel-slide.is-active.dissolve-in {
    animation: none;
  }

  .carousel-progress {
    display: none;
  }
}
