/* ==========================================================================
   Shutters Pro Designs - Design System
   Fraunces (display, variable, optical sizing) + Switzer (body/UI)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Roman-Variable.woff2") format("woff2-variations"),
       url("../fonts/Fraunces-Roman-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic-Variable.woff2") format("woff2-variations"),
       url("../fonts/Fraunces-Italic-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------- Tokens ---------------------------------- */
:root {
  /* Brand palette - white / tan / near-black, pulled from the real site's
     actual color ramp (#baad82 tan, rgb(21,21,21) ink, rgb(249,243,229) cream)
     rather than an invented navy/brick substitute. Token names are kept from
     the original build (--navy, --brick, etc.) so every component/page that
     already references them re-themes automatically; only the values moved. */
  --ink: #1b1b1b;
  --ink-soft: #45402e;
  --navy: #353022;
  --navy-deep: #1b1b1b;
  --navy-tint: #f3ecd9;
  /* Darker/richer tan than the site's raw #baad82 swatch - that value is too
     light for white button text or for eyebrow/text use on cream (fails
     contrast). This is used for text, buttons, and borders; --sand/--brick-tint
     below carry the lighter true-swatch tan for background fills only. */
  --brick: #645d42;
  --brick-deep: #4c4733;
  --brick-tint: #efe9da;
  --brass: #9b906c;
  --brass-light: #d7c897;
  --cream: #f9f3e5;
  --cream-deep: #f0e6cf;
  --sand: #e7dcc0;
  --tan-swatch: #baad82;
  --taupe: #645d42;
  --line: #ddd0b0;
  --line-soft: #ece3cc;
  --white: #ffffff;

  --ink-rgb: 27, 27, 27;
  --navy-rgb: 53, 48, 34;
  --brick-rgb: 100, 93, 66;
  --cream-rgb: 249, 243, 229;

  /* Gradients - new depth/texture layer requested on top of the flat palette.
     --gradient-accent stays light (paired with dark --ink text = always safe
     contrast); --gradient-accent-deep matches --brick/--brick-deep exactly so
     the white hover-state text on .btn-primary stays WCAG-safe (6–9:1). */
  --gradient-dark: linear-gradient(165deg, #353022 0%, #1b1b1b 100%);
  --gradient-accent: linear-gradient(135deg, #d7c897 0%, #baad82 55%, #8f8460 100%);
  --gradient-accent-deep: linear-gradient(135deg, #645d42 0%, #4c4733 100%);
  --gradient-warm: linear-gradient(160deg, #f9f3e5 0%, #e7dcc0 100%);
  --gradient-scrim: linear-gradient(180deg, rgba(27,27,27,0.05) 0%, rgba(20,18,12,0.78) 100%);

  /* Type */
  --font-display: "Fraunces", ui-serif, "Iowan Old Style", Georgia, serif;
  --font-body: "Switzer", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --text-xs: clamp(0.74rem, 0.71rem + 0.12vw, 0.82rem);
  --text-sm: clamp(0.86rem, 0.83rem + 0.14vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --text-lg: clamp(1.14rem, 1.06rem + 0.34vw, 1.32rem);
  --text-xl: clamp(1.36rem, 1.2rem + 0.7vw, 1.75rem);
  --text-2xl: clamp(1.7rem, 1.42rem + 1.2vw, 2.35rem);
  --text-3xl: clamp(2.2rem, 1.7rem + 2vw, 3.2rem);
  --text-4xl: clamp(2.7rem, 1.85rem + 3.5vw, 4.6rem);
  --text-5xl: clamp(3.2rem, 1.95rem + 5.2vw, 6.2rem);
  --text-6xl: clamp(3.6rem, 1.6rem + 8.4vw, 9rem);

  /* Layout */
  --container-max: 1340px;
  --container-narrow: 900px;
  --container-pad: clamp(1.25rem, 1rem + 2.2vw, 3.25rem);
  --space-section: clamp(4.5rem, 3.4rem + 4.4vw, 8.5rem);
  --space-section-sm: clamp(2.75rem, 2.2rem + 2.2vw, 4.75rem);

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(var(--ink-rgb), 0.06);
  --shadow-md: 0 14px 36px rgba(var(--ink-rgb), 0.10);
  --shadow-lg: 0 30px 70px rgba(var(--ink-rgb), 0.16);
  --shadow-navy: 0 22px 54px rgba(27, 27, 27, 0.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur-med: 460ms;
  --dur-slow: 800ms;

  --header-h: 92px;
  --promo-h: 44px;
}

/* ---------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }

/* Show a focus ring for keyboard users only */
:focus { outline: none; }
:focus-visible {
  outline: 2.5px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--brick); color: var(--white); }

/* Custom cursor: hide native cursor only when our custom one is active (desktop, fine pointer) */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }
}

/* ---------------------------------- Typography ---------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brick);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--brass-light); }

.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 460;
  color: var(--navy-deep);
}
.display-1 { font-size: var(--text-6xl); line-height: 0.96; letter-spacing: -0.015em; }
.display-2 { font-size: var(--text-5xl); line-height: 0.98; letter-spacing: -0.01em; }
.display-3 { font-size: var(--text-4xl); line-height: 1.02; letter-spacing: -0.01em; }
h2.section-title { font-size: var(--text-3xl); font-family: var(--font-display); font-weight: 480; color: var(--navy-deep); line-height: 1.08; }
h3.card-title { font-size: var(--text-xl); font-family: var(--font-display); font-weight: 500; color: var(--navy-deep); }

.display-1 em, .display-2 em, .display-3 em, h2.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brick);
}
.on-dark.display-1, .on-dark.display-2, .on-dark.display-3, h2.section-title.on-dark { color: var(--white); }
.on-dark.display-1 em, .on-dark.display-2 em, .on-dark.display-3 em, h2.section-title.on-dark em { color: var(--brass-light); }

.lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 46ch;
}
.on-dark .lede, .lede.on-dark { color: rgba(255,255,255,0.86); }

p { color: var(--ink-soft); }
.text-taupe { color: var(--taupe); }
.text-navy { color: var(--navy); }
.text-brick { color: var(--brick); }

/* ---------------------------------- Layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-section); }
.section-sm { padding-block: var(--space-section-sm); }
.section-top-sm { padding-top: var(--space-section-sm); }
.section-bottom-sm { padding-bottom: var(--space-section-sm); }
.bg-navy { background: var(--gradient-dark); color: var(--white); }
.bg-sand { background: var(--sand); }
.bg-cream-deep { background: var(--cream-deep); }
.bg-white { background: var(--white); }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3.25rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  /* Safety net for ad-hoc inline grid-template-columns (process steps, FAQ teaser,
     compare cards, etc.) that don't otherwise have a mobile column collapse. */
  .grid:not(.footer-grid):not(.g-2):not(.g-3):not(.g-4) { grid-template-columns: 1fr !important; }
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  width: 100%;
}
.on-dark.divider, .divider.on-dark { background: rgba(255,255,255,0.16); }

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  padding: 1.05em 1.9em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-accent);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(var(--brick-rgb), 0.32);
}
.btn-primary:hover { background: var(--gradient-accent-deep); color: var(--white); box-shadow: 0 14px 34px rgba(var(--brick-rgb), 0.4); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 26px rgba(27, 27, 27,0.3); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy-deep); background: rgba(23,55,94,0.04); }
.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline.on-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-ghost {
  padding: 0.4em 0;
  border-radius: 0;
  color: var(--navy-deep);
  font-weight: 600;
}
.btn-ghost .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn-ghost:hover .arrow { transform: translateX(5px); }
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transition: right var(--dur-med) var(--ease-out);
}
.btn-ghost:hover::after { right: 0; }
.btn-ghost.on-dark { color: var(--white); }

.btn-sm { padding: 0.8em 1.5em; font-size: var(--text-xs); }
.btn-block { width: 100%; }

/* magnetic wrapper target */
[data-magnetic] { display: inline-block; }

/* ---------------------------------- Promo Bar ---------------------------------- */
.promo-bar {
  background: var(--navy-deep);
  color: var(--white);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  text-align: center;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
  overflow: hidden;
}
.promo-bar__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
  animation: promo-scroll 26s linear infinite;
  padding-inline: 1rem;
}
.promo-bar__track span { display: inline-flex; align-items: center; gap: 0.6rem; }
.promo-bar__track strong { color: var(--brass-light); font-weight: 700; letter-spacing: 0.04em; }
.promo-bar__track .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); }
@keyframes promo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.promo-bar a { text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .promo-bar__track { animation: none; justify-content: center; width: 100%; }
}

/* ---------------------------------- Header / Nav ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  width: 100%;
  transition: background-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  transition: padding var(--dur-med) var(--ease-out);
}
.site-header.is-transparent { background: transparent; }
.site-header.is-solid {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line-soft);
}
.site-header.is-solid .site-header__inner { padding-block: 0.85rem; }
.site-header.is-solid .brand-mark, .site-header.is-solid .main-nav a, .site-header.is-solid .header-tel { color: var(--navy-deep); }

/* The header is sticky and in-flow, so it sits above the hero on the cream page
   background, never over the hero image. Keep header text dark in every state:
   white here rendered at ~1.1:1 against the cream and was unreadable on load. */
.site-header.on-dark-hero.is-transparent .brand-mark,
.site-header.on-dark-hero.is-transparent .main-nav a,
.site-header.on-dark-hero.is-transparent .header-tel { color: var(--navy-deep); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  white-space: nowrap;
}
.brand-mark svg { flex-shrink: 0; }
.brand-mark__icon {
  /* White chip so the logo reads clearly on any surface: max contrast against
     dark headers/footer, a thin border keeps it defined on light surfaces too. */
  flex-shrink: 0;
  width: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 5px 8px;
  box-shadow: 0 3px 10px rgba(var(--ink-rgb), 0.22);
}
.brand-mark__icon--header { height: 40px; }
.brand-mark__icon--footer { height: 38px; }
.site-header.is-solid .brand-mark__icon { box-shadow: 0 2px 6px rgba(var(--ink-rgb), 0.1); }
.brand-mark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  margin-top: 1px;
}

.main-nav { display: flex; align-items: center; gap: clamp(1.1rem, 1vw, 1.9rem); }
.main-nav a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy-deep);
  padding-block: 0.3rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 1.5px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--brick); }
.main-nav .nav-cta { display: none; }
/* Home is redundant on desktop (the logo links home) but essential in the
   mobile panel, where the logo is behind the overlay. */
.main-nav .nav-home { display: none; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-deep);
  /* A phone number must never break across lines */
  white-space: nowrap;
}
.main-nav a { white-space: nowrap; }

/* Reclaim header width in stages before anything wraps or collides */
@media (max-width: 1300px) {
  .site-header__inner { gap: 1rem; }
  .header-actions { gap: 0.75rem; }
  .main-nav { gap: 1.25rem; }
  .project-toggle__label { display: none; }
  .project-toggle { padding: 0.55em 0.85em; }
  .brand-mark { font-size: 1.1rem; }
  .brand-mark small { display: none; }
}
@media (max-width: 1120px) {
  /* Logo mark alone still identifies the brand; the wordmark is the first
     thing worth dropping to keep the nav and phone number on one line. */
  .brand-mark span { display: none; }
  .header-tel span { display: none; }
  .header-tel { padding: 0.4rem; }
}
.header-tel svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 70;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: currentColor; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav-toggle { color: var(--navy-deep); }
.site-header.on-dark-hero.is-transparent .nav-toggle { color: var(--navy-deep); }
/* The open mobile panel is always dark, so the close (X) must go white. This
   needs to outrank .site-header.on-dark-hero.is-transparent .nav-toggle (0,4,0)
   or the X renders near-black on the near-black overlay and disappears. */
html.nav-open .site-header .nav-toggle,
html.nav-open .site-header.on-dark-hero.is-transparent .nav-toggle,
html.nav-open .site-header.is-solid .nav-toggle { color: var(--white); }

/* Generic scroll lock (mobile nav panel + lightbox both use this; kept independent of .main-nav visibility) */
html.nav-open, html.scroll-lock { overflow: hidden; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 6rem clamp(1.5rem,6vw,3rem);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur-med) var(--ease-in-out), opacity var(--dur-med) var(--ease-out);
  }
  .main-nav a { color: var(--white) !important; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 460; }
  .main-nav a::after { display: none; }
  html.nav-open .main-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-toggle { display: flex; }
  html.nav-open .nav-toggle { color: var(--white); }
  html.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  html.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions .hide-mobile { display: none; }
  .main-nav .nav-cta { display: inline-flex; margin-top: 1rem; }
  .main-nav .nav-home { display: block; }
}

/* ---------------------------------- Cards ---------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat strong {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 480;
  color: var(--navy-deep);
  line-height: 1;
}
.stat span { font-size: var(--text-sm); color: var(--taupe); }
.on-dark .stat strong { color: var(--white); }
.on-dark .stat span { color: rgba(255,255,255,0.6); }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--gradient-dark); color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--white); }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.site-footer .brand-mark { color: var(--white); }
.site-footer .brand-mark small { color: var(--brass-light); }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: var(--text-sm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.5rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.social-row { display: flex; gap: 0.75rem; }
.social-row a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.social-row a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

/* ---------------------------------- Forms ---------------------------------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.field label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--taupe); }
.field input, .field textarea, .field select {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9em 1.05em;
  font-size: var(--text-base);
  color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 4px rgba(var(--brick-rgb), 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--text-xs); color: var(--taupe); margin-top: 0.75rem; }

/* ---------------------------------- Accordion (FAQ) ---------------------------------- */
.accordion-group + .accordion-group { margin-top: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.accordion-group__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1rem;
  display: block;
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.4rem;
  min-height: 52px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy-deep);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), border-color var(--dur-fast);
}
.accordion-item .plus::before, .accordion-item .plus::after {
  content: "";
  position: absolute;
  background: var(--navy-deep);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.accordion-item .plus::before { width: 11px; height: 1.5px; }
.accordion-item .plus::after { width: 1.5px; height: 11px; }
.accordion-item[open] .plus { background: var(--brick); border-color: var(--brick); }
.accordion-item[open] .plus::before, .accordion-item[open] .plus::after { background: var(--white); }
.accordion-item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.accordion-item .a-body {
  padding-bottom: 1.5rem;
  padding-right: 3rem;
  color: var(--ink-soft);
  max-width: 62ch;
}
.accordion-item .a-body p + p { margin-top: 0.9em; }

/* animate open/close height smoothly via JS toggling max-height - CSS fallback below */
.accordion-item summary { transition: color var(--dur-fast); }
.accordion-item summary:hover { color: var(--brick); }

/* ---------------------------------- Gallery ---------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 1.6rem + 1.4vw, 3rem);
}
.gallery-filters button {
  padding: 0.7em 1.4em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  transition: all var(--dur-fast) var(--ease-out);
}
.gallery-filters button:hover { border-color: var(--navy-deep); color: var(--navy-deep); }
.gallery-filters button.is-active { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

/* Uniform, symmetrical grid - every tile is the same size and ratio so the
   grid always reads as a clean rectangle, regardless of item count. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 0.7rem; } }

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.gallery-grid--feature .g-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 700px) {
  .gallery-grid--feature .g-item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; }
}

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.g-item:hover img { transform: scale(1.07); }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27, 27, 27,0.55), transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.g-item:hover::after { opacity: 1; }
.g-item .g-cap {
  position: absolute; left: 1.1rem; bottom: 1rem; right: 1rem;
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur-fast) var(--ease-out);
}
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,15,17,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out);
  padding: 5vh 4vw;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute;
  color: var(--white);
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background var(--dur-fast);
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(255,255,255,0.12); }
.lightbox .lb-close { top: 2rem; right: 2rem; }
.lightbox .lb-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.7); font-size: var(--text-sm); }
@media (max-width: 700px) {
  .lightbox .lb-prev, .lightbox .lb-next { width: 38px; height: 38px; }
  .lightbox .lb-prev { left: 0.5rem; }
  .lightbox .lb-next { right: 0.5rem; }
  .lightbox .lb-close { top: 1rem; right: 1rem; }
}

/* ---------------------------------- Reveal on scroll ---------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------- Custom cursor ---------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--brick);
  transition: opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(var(--brick-rgb), 0.55);
  transition: opacity var(--dur-fast) var(--ease-out), border-color var(--dur-fast), background-color var(--dur-fast);
}
/* Scale (not width/height) so growth is transform-only; JS appends the matching
   scale() to the same element's per-frame position transform - see main.js tick(). */
.cursor-ring.is-hover { background: rgba(var(--brick-rgb), 0.08); border-color: rgba(var(--brick-rgb), 0.8); }
/* Shape morph (circle -> beam), not a resize, so this one legitimately needs width/height. */
.cursor-ring.is-text { width: 4px; height: 46px; border-radius: 3px; background: var(--brick); border: none; transition: opacity var(--dur-fast) var(--ease-out); }
html.cursor-hidden .cursor-dot, html.cursor-hidden .cursor-ring { opacity: 0; }

/* ---------------------------------- Loader ---------------------------------- */
#loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
#loader .loader-word {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 2vw, 2.4rem);
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  z-index: 2;
  opacity: 0;
  animation: loader-fade 1.3s var(--ease-out) forwards;
}
#loader .loader-word em { color: var(--brick); font-style: italic; }
@keyframes loader-fade {
  0% { opacity: 0; transform: translateY(10px); }
  18% { opacity: 1; transform: translateY(0); }
  82% { opacity: 1; }
  100% { opacity: 0; }
}
.shutter-louvers {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
}
.shutter-louvers .louver {
  flex: 1;
  background: var(--navy-deep);
  transform-origin: center;
  transform: scaleY(1);
}
html.loaded #loader { pointer-events: none; }
html.loaded #loader .louver { animation: louver-open 550ms var(--ease-in-out) forwards; }
html.loaded #loader { animation: loader-out 100ms linear 850ms forwards; }
@keyframes louver-open {
  to { transform: scaleY(0); }
}
@keyframes loader-out {
  to { visibility: hidden; }
}
body.is-loading { overflow: hidden; height: 100vh; }

/* ---------------------------------- Misc utilities ---------------------------------- */
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--navy-deep); color: var(--white);
  padding: 0.85rem 1.4rem; border-radius: var(--radius-sm);
  z-index: 1000; transition: top var(--dur-fast) var(--ease-out);
  font-size: var(--text-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

[data-flip-word] { position: relative; display: inline-block; }

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee-scroll 34s linear infinite;
  padding-block: 1.1rem;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee__track span::after { content: "\2726"; font-style: normal; color: var(--brass); font-size: 0.7em; margin-left: 3rem; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.tag {
  display: inline-flex; align-items: center;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--brick-tint);
  color: var(--brick-deep);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ratio-4-3 { aspect-ratio: 4 / 3; overflow: hidden; }
.ratio-1-1 { aspect-ratio: 1 / 1; overflow: hidden; }
.ratio-16-10 { aspect-ratio: 16 / 10; overflow: hidden; }
.ratio-4-3 img, .ratio-1-1 img, .ratio-16-10 img { width: 100%; height: 100%; object-fit: cover; }

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  display: grid; place-items: center;
  z-index: 40;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur-fast), transform var(--dur-fast), visibility var(--dur-fast);
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.sticky-mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none;
  background: rgba(250,246,238,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.7rem clamp(1rem,4vw,1.5rem);
  gap: 0.7rem;
}
@media (max-width: 720px) { .sticky-mobile-cta { display: flex; } body { padding-bottom: 72px; } }
.sticky-mobile-cta .btn { flex: 1; padding: 0.85em 1em; font-size: var(--text-xs); }
