/* =========================================================================
   Gosport Lodge No. 903 — main.css
   v2 — UGLE-aligned. Modern, photography-led, navy + brick red.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette pulled from UGLE's site CSS */
  --navy:        #13325E;        /* primary navy */
  --navy-deep:   #0D2548;        /* header / deepest sections */
  --navy-92:     rgba(13, 37, 72, 0.92);
  --red:         #AF1600;        /* signature accent */
  --red-bright:  #BE0606;        /* hover */
  --tint:        #F3F8FD;        /* light blue tint section bg */
  --ink:         #2F2F2F;        /* body text on light */
  --stone:       #6B7B8C;        /* secondary text on light */
  --white:       #FFFFFF;
  --line-light:  #DCE4EC;        /* hairline on light bg */
  --line-dark:   rgba(255,255,255,0.18); /* hairline on navy */

  --font: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max:         1200px;
  --pad-y:       6.5rem;
  --pad-y-sm:    3.5rem;
  --radius:      0;            /* sharp, modern */
  --radius-card: 14px;          /* the rounded-corner card pattern UGLE uses */

  --duration:    220ms;
  --ease:        cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Self-hosted Raleway (variable) ----------
   Drop Raleway-VariableFont.woff2 into /assets/fonts/.
   Falls back to the system sans stack until then. */
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-VariableFont_wght.woff2') format('woff2-variations'),
       url('../fonts/Raleway-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-Italic-VariableFont_wght.woff2') format('woff2-variations'),
       url('../fonts/Raleway-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--red-bright); text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0 0 0.6em;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem);   font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); }

p { margin: 0 0 1.2em; max-width: 70ch; }
.lead { font-size: 1.18rem; color: var(--ink); line-height: 1.6; }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.9rem;
}

.value-label {
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.6rem;
}

.flourish {
  display: inline-block; height: 6px; width: 36px; margin-top: 0.2rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 6' fill='none' stroke='%23AF1600' stroke-width='1.4' stroke-linecap='round'><path d='M2 4 Q 9 0, 18 3 T 34 2'/></svg>") no-repeat center / contain;
}

/* ---------- Layout primitives ---------- */
.container       { max-width: var(--max); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-narrow{ max-width: 820px;       margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

section { padding-top: var(--pad-y-sm); padding-bottom: var(--pad-y-sm); }
@media (min-width: 768px) { section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); } }

.section-tint   { background: var(--tint); }
.section-navy   { background: var(--navy);      color: var(--white); position: relative; overflow: hidden; }
.section-navy-deep { background: var(--navy-deep); color: var(--white); }
.section-navy h1, .section-navy h2, .section-navy h3,
.section-navy-deep h1, .section-navy-deep h2, .section-navy-deep h3 { color: var(--white); }
.section-navy p, .section-navy-deep p { color: rgba(255,255,255,0.88); }
.section-navy a, .section-navy-deep a { color: #FFB7AC; }
.section-navy a:hover, .section-navy-deep a:hover { color: var(--white); }

/* Decorative filigree watermark for navy sections (the UGLE pattern) */
.section-navy::before {
  content: ''; position: absolute; right: -80px; bottom: -40px;
  width: 540px; height: 480px; pointer-events: none; opacity: 0.08;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffffff' stroke-width='0.6'><path d='M100 20 C 60 60, 60 80, 100 100 C 140 80, 140 60, 100 20 Z'/><path d='M100 100 C 60 120, 60 140, 100 180 C 140 140, 140 120, 100 100 Z'/><path d='M20 100 C 60 60, 80 60, 100 100 C 80 140, 60 140, 20 100 Z'/><path d='M100 100 C 120 60, 140 60, 180 100 C 140 140, 120 140, 100 100 Z'/><circle cx='100' cy='100' r='4'/><circle cx='100' cy='100' r='28'/><circle cx='100' cy='100' r='52'/></svg>") no-repeat center / contain;
}
.section-navy > * { position: relative; z-index: 1; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; background: var(--navy); color: var(--white); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  color: var(--white);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--white);
}
.brand:hover { color: var(--white); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; }
.brand-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
}
.brand-name span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="false"] .icon-close { display: none; }

.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.6rem; align-items: center;
}
.nav-list a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.5rem 0;
  position: relative;
}
.nav-list a:hover { color: var(--white); }
.nav-list a[aria-current="page"] { color: var(--white); font-weight: 700; }
.nav-list a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' fill='none' stroke='%23AF1600' stroke-width='1.4' stroke-linecap='round'><path d='M2 4 Q 15 0, 30 3 T 58 2'/></svg>") no-repeat center / contain;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-deep);
    padding: 0.5rem 1.5rem 1rem;
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark); width: 100%; color: rgba(255,255,255,0.85); }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a[aria-current="page"]::after { display: none; }
}
@media (min-width: 921px) {
  .nav-toggle { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  padding: 1rem 1.7rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-bright); border-color: var(--red-bright); color: var(--white); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-on-navy { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-on-navy:hover { background: var(--red); color: var(--white); border-color: var(--red); text-decoration: none; }

/* "Read more →" link — UGLE's signature pattern */
.read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--red); font-weight: 700; font-size: 0.98rem;
  text-decoration: none;
}
.read-more::after {
  content: '›';
  display: inline-block; font-size: 1.4em; line-height: 0.6; transform: translateY(-1px);
  transition: transform var(--duration) var(--ease);
}
.read-more:hover { color: var(--red-bright); text-decoration: none; }
.read-more:hover::after { transform: translate(3px, -1px); }
.section-navy .read-more, .section-navy-deep .read-more { color: #FFB7AC; }
.section-navy .read-more:hover, .section-navy-deep .read-more:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,37,72,0.92) 0%, rgba(13,37,72,0.75) 45%, rgba(13,37,72,0.25) 75%, rgba(13,37,72,0) 100%),
    linear-gradient(180deg, rgba(13,37,72,0.4) 0%, rgba(13,37,72,0.6) 100%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}
.hero-title {
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.hero-title .strong {
  font-weight: 900;
  display: inline-block;
  position: relative;
}
.hero-title .strong::after {
  content: ''; position: absolute; left: 0; right: -4px; bottom: -10px;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8' fill='none' stroke='%23AF1600' stroke-width='1.6' stroke-linecap='round'><path d='M2 5 Q 18 0, 40 4 T 78 3'/></svg>") no-repeat left center / contain;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  font-weight: 400;
  max-width: 52ch;
  margin: 1.6rem 0 2.2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Hero reveal animation */
.reveal { opacity: 0; transform: translateY(14px); }
.is-revealed .reveal { opacity: 1; transform: translateY(0); transition: opacity 720ms var(--ease), transform 720ms var(--ease); }
.is-revealed .reveal.r-1 { transition-delay: 0ms; }
.is-revealed .reveal.r-2 { transition-delay: 120ms; }
.is-revealed .reveal.r-3 { transition-delay: 240ms; }
.is-revealed .reveal.r-4 { transition-delay: 360ms; }

/* ---------- Page header (non-home) ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.07; z-index: -1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffffff' stroke-width='0.6'><path d='M100 20 C 60 60, 60 80, 100 100 C 140 80, 140 60, 100 20 Z'/><path d='M100 100 C 60 120, 60 140, 100 180 C 140 140, 140 120, 100 100 Z'/><path d='M20 100 C 60 60, 80 60, 100 100 C 80 140, 60 140, 20 100 Z'/><path d='M100 100 C 120 60, 140 60, 180 100 C 140 140, 120 140, 100 100 Z'/><circle cx='100' cy='100' r='4'/><circle cx='100' cy='100' r='28'/></svg>") right -40px center / 380px no-repeat;
}
.page-header h1 { color: var(--white); margin-bottom: 0.6rem; font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); }
.page-header h1 strong { font-weight: 900; }
.page-header p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.page-header .container-narrow { max-width: 980px; }
.page-header .eyebrow { color: #FFB7AC; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.stat {
  padding: 1.6rem 1rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-weight: 900; font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  color: var(--red); line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink);
}
.section-navy .stat-num { color: #FFB7AC; }
.section-navy .stat-label { color: rgba(255,255,255,0.85); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards.cards-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards.cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .cards.cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px){ .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  padding: 1.9rem;
  display: flex; flex-direction: column;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.card:hover { transform: translateY(-2px); border-color: var(--navy); box-shadow: 0 8px 24px rgba(13, 37, 72, 0.08); }
.card h3 { margin-bottom: 0.5rem; color: var(--navy); }
.card p { color: var(--ink); margin-bottom: 1.2rem; }
.card .read-more { margin-top: auto; align-self: flex-start; }

.card-photo {
  background: var(--navy);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--white);
}
.card-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-photo .body { padding: 1.6rem 1.8rem 1.8rem; }
.card-photo h3 { color: var(--white); margin-bottom: 0.5rem; }
.card-photo p { color: rgba(255,255,255,0.85); margin-bottom: 1rem; }

/* "Did you know?" callout */
.didyouknow {
  background: var(--tint);
  border-radius: var(--radius-card);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.didyouknow header {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.6rem;
}
.didyouknow header h3 { color: var(--white); margin: 0; font-weight: 900; font-size: 1.4rem; }
.didyouknow .body { padding: 1.4rem 1.6rem 1.6rem; }
.didyouknow .body h4 { color: var(--navy); text-transform: none; letter-spacing: 0; font-size: 1.15rem; margin-bottom: 0.5rem; font-weight: 800; }
.didyouknow .body p { margin: 0; color: var(--ink); }

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 920px) {
  .two-col { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; }
  .two-col.flip > :first-child { order: 2; }
}
.two-col figure { margin: 0; }
.two-col figure img {
  border-radius: var(--radius-card);
  width: 100%;
}
.two-col figcaption {
  font-size: 0.86rem; color: var(--stone); margin-top: 0.6rem; font-style: italic;
}

/* ---------- Photo block (full-width photo with overlay) ---------- */
.photo-block {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 380px;
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.photo-block::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
}
.photo-block img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.photo-block::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,37,72,0) 35%, rgba(13,37,72,0.9) 100%);
}
.photo-block .body {
  padding: 2rem;
  color: var(--white);
}
.photo-block h3 { color: var(--white); margin: 0 0 0.4rem; }
.photo-block p { color: rgba(255,255,255,0.92); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); padding: 1.3rem 0; }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-weight: 300; font-size: 1.8rem; line-height: 0.7;
  color: var(--red);
  transition: transform var(--duration) var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details > p { margin: 0.9rem 0 0; }

/* ---------- Forms ---------- */
.form {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  max-width: 680px;
}
.form-row { margin-bottom: 1.3rem; }
.form-row label {
  display: block;
  font-weight: 700; font-size: 0.93rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
}
.form-row .req { color: var(--red); margin-left: 0.15rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-light);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  transition: border-color var(--duration) var(--ease);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--red);
  outline: none;
}
.form-row.checkbox { display: flex; gap: 0.7rem; align-items: flex-start; }
.form-row.checkbox input { margin-top: 0.3rem; transform: scale(1.15); accent-color: var(--red); }
.form-row.checkbox label { font-weight: 400; font-size: 0.95rem; color: var(--ink); }
.form-honeypot { position: absolute; left: -9999px; }
.form .btn { margin-top: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem 0 2rem;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffffff' stroke-width='0.6'><circle cx='100' cy='100' r='4'/><circle cx='100' cy='100' r='28'/><circle cx='100' cy='100' r='52'/><circle cx='100' cy='100' r='76'/></svg>") right -40px center / 380px no-repeat;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem;
  position: relative;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; color: var(--white); margin-bottom: 1rem; }
.footer-brand svg { width: 44px; height: 44px; }
.footer-brand span { font-weight: 800; font-size: 1.05rem; color: var(--white); letter-spacing: 0.02em; }
.footer-grid h4 { color: #FFB7AC; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
  position: relative;
}

/* ---------- Map embed ---------- */
.map-embed { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line-light); border-radius: var(--radius-card); margin: 1.5rem 0; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-card); border: 1px solid var(--line-light);
}
.gallery figcaption { font-size: 0.85rem; color: var(--stone); margin-top: 0.4rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-light);
}
.steps li::before {
  content: counter(step);
  font-weight: 900; font-size: 1.5rem; line-height: 1;
  color: var(--white); background: var(--red);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.steps li h3 { margin: 0 0 0.3rem; color: var(--navy); }
.steps li p { margin: 0; color: var(--ink); }
.steps li:last-child { border-bottom: 0; }

/* ---------- Back-to-top sticky button ---------- */
.back-to-top {
  position: fixed; right: 0; bottom: 24px;
  background: var(--red); color: var(--white);
  padding: 0.7rem 1.1rem;
  font-weight: 700; font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  z-index: 40;
  border-top-left-radius: 4px; border-bottom-left-radius: 4px;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
  opacity: 0; pointer-events: none;
  transform: translateX(20px);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateX(0); }
.back-to-top:hover { background: var(--red-bright); color: var(--white); text-decoration: none; }
.back-to-top svg { width: 14px; height: 14px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
