/* =========================================================================
   Rochester Maple Bats — Design System
   Premium wood-bat company + personal local service.
   Vanilla CSS, no build step. Mobile-first.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --ink: #15120f;            /* near-black, warm */
  --ink-soft: #241f19;       /* charcoal for cards on dark */
  --ink-line: #3a332a;       /* hairlines on dark */
  --cream: #faf6ee;          /* page background */
  --cream-deep: #f1e8d8;     /* alt section background */
  --paper: #fffdf9;          /* card background on cream */
  --maple: #b9814a;          /* mid wood tone */
  --maple-dark: #7c5430;     /* deep wood tone */
  --gold: #bb8a34;           /* brass/gold accent */
  --gold-bright: #dcab4c;    /* gold hover */
  --stitch: #8c3230;         /* muted stitch red, used sparingly */
  --text: #221d17;           /* body text on cream */
  --text-soft: #55493a;      /* secondary text on cream */
  --text-invert: #f4ecdc;    /* text on dark */
  --text-invert-soft: #c9bda6;
  --white: #ffffff;
  --line: #e3d8c2;           /* hairline on cream */

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

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(21, 18, 15, 0.08);
  --shadow: 0 8px 24px -8px rgba(21, 18, 15, 0.25);
  --shadow-lg: 0 24px 48px -16px rgba(21, 18, 15, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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 {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font: inherit; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  border-radius: var(--radius-sm); font-weight: 700; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: rgba(244, 236, 220, 0.4); color: var(--text-invert); }
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }
.btn-outline-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--text-invert); transform: translateY(-2px); }
.btn-phone svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display); color: var(--text-invert);
  font-size: 1.05rem; line-height: 1.15; font-weight: 600; letter-spacing: 0.01em;
}

.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 16px; color: var(--text-invert-soft);
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.03em; text-transform: uppercase;
  border-radius: 999px; transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--text-invert); background: rgba(244,236,220,0.06); }
.main-nav a[aria-current="page"] { color: var(--gold-bright); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--gold-bright);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.phone-pill {
  display: flex; align-items: center; gap: 8px; color: var(--text-invert);
  font-weight: 700; font-size: 0.95rem; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--ink-line); transition: border-color var(--dur), color var(--dur);
}
.phone-pill:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.phone-pill svg { width: 16px; height: 16px; flex: none; }

.paypal-viewcart-form { margin: 0; line-height: 0; max-width: 130px; }
.paypal-viewcart-form input[type="image"] {
  height: 30px; width: auto; max-width: 130px; object-fit: contain; border-radius: 999px; filter: saturate(1.05);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.paypal-viewcart-form input[type="image"]:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm); cursor: pointer; flex: none;
}
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--text-invert); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 400px) {
  .header-inner { padding: 10px 14px; gap: 10px; }
  .header-actions { gap: 8px; }
  .paypal-viewcart-form,
  .paypal-viewcart-form input[type="image"] { max-width: 92px; }
  .phone-pill { padding: 8px 10px; }
  .nav-toggle { width: 38px; height: 38px; }
}

@media (max-width: 900px) {
  .brand-name { display: none; }
  .main-nav {
    position: fixed; inset: 68px 0 0 0; background: var(--ink); padding: 16px 24px 32px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.1rem; padding: 14px 12px; }
  .header-actions .phone-pill span.phone-text { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--text-invert); overflow: hidden;
  background: var(--ink);
  min-height: 78vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,18,15,0.55) 0%, rgba(21,18,15,0.72) 55%, rgba(21,18,15,0.96) 100%);
}
.hero-watermark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: 46%; max-width: 620px; opacity: 0.06; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 100px 24px 72px; max-width: var(--container); margin: 0 auto; width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-bright); display: inline-block; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--text-invert); max-width: 16ch; margin-bottom: 0.3em;
}
.hero-lede { font-size: 1.15rem; max-width: 52ch; color: var(--text-invert-soft); margin-bottom: 2em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 3rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; border-top: 1px solid var(--ink-line); padding-top: 28px; max-width: 640px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); }
.hero-stat span { font-size: 0.85rem; color: var(--text-invert-soft); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--cream-deep); }
.section-dark { background: var(--ink); color: var(--text-invert); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--maple-dark); margin-bottom: 14px;
}
.section-dark .section-eyebrow { color: var(--gold-bright); }
.section-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; display: inline-block; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-lede { color: var(--text-soft); font-size: 1.05rem; }
.section-dark .section-lede { color: var(--text-invert-soft); }

/* stitch divider */
.stitch-divider {
  height: 18px; width: 100%; max-width: 220px; margin: 0 auto;
  background-image: repeating-linear-gradient(90deg, var(--stitch) 0 10px, transparent 10px 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  opacity: 0.55;
}
.stitch-divider::before,
.stitch-divider { position: relative; }

/* ---------- Monthly specials (home) ---------- */
.special-highlight {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.special-highlight .media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream-deep); }
.special-highlight .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.special-highlight:hover .media img { transform: scale(1.05); }
.special-highlight .badge {
  position: absolute; top: 16px; left: 16px; background: var(--stitch); color: var(--text-invert);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.special-highlight .info { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.special-highlight h3 { font-size: 1.6rem; }
.special-highlight .price { font-family: var(--font-display); font-size: 1.9rem; color: var(--maple-dark); }
.special-highlight .avail-note { font-size: 0.9rem; color: var(--text-soft); font-style: italic; }
.purchase-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--line); }
.purchase-row .paypal-form { line-height: 0; max-width: 100%; }
.purchase-row .paypal-form input[type="image"] { max-width: 180px; width: auto; height: auto; object-fit: contain; transition: transform var(--dur) var(--ease); border-radius: var(--radius-sm); }
.purchase-row .paypal-form input[type="image"]:hover { transform: translateY(-2px); }
.need-help { font-size: 0.85rem; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }
.need-help a { color: var(--maple-dark); font-weight: 700; }
.need-help a:hover { color: var(--stitch); }

@media (max-width: 760px) {
  .special-highlight { grid-template-columns: 1fr; }
  .special-highlight .media { aspect-ratio: 16/10; }
}

/* ---------- Bat Rack (memorable interactive element) ---------- */
.bat-rack { position: relative; }
.rack { position: relative; padding-top: 30px; }
.rack-rail {
  position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px;
  background: linear-gradient(180deg, var(--maple), var(--maple-dark));
  box-shadow: var(--shadow-sm);
}
.rack-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 28px;
  padding-top: 26px;
}
.rack-item { perspective: 800px; }
.rack-item a {
  display: block; position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 18px 16px 20px; text-align: center; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transform: rotate(var(--tilt-x, 0deg));
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.rack-item a::before {
  content: ""; position: absolute; left: 50%; top: -14px; width: 10px; height: 10px; margin-left: -5px;
  background: var(--maple-dark); border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.rack-item a:hover, .rack-item a:focus-visible { box-shadow: var(--shadow-lg); }
.rack-item img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.rack-item-label strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); }
.rack-item-label em { display: block; font-style: normal; font-size: 0.85rem; color: var(--text-soft); margin-top: 2px; }

/* ---------- Service / trust section ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.trust-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--cream-deep); color: var(--maple-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.trust-card .icon svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.trust-card p { color: var(--text-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Personal service / call-to-action band ---------- */
.cta-band {
  background: var(--ink); color: var(--text-invert); border-radius: var(--radius-lg);
  padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(185,129,74,0.08) 0 2px, transparent 2px 26px);
}
.cta-band-content { position: relative; z-index: 1; }
.cta-band h2 { color: var(--text-invert); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta-band p { color: var(--text-invert-soft); }
.cta-band-phone { position: relative; z-index: 1; text-align: center; }
.cta-band-phone a.phone-big {
  display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--gold-bright);
  margin-bottom: 10px; letter-spacing: 0.01em;
}
.cta-band-phone .hours-note { color: var(--text-invert-soft); font-size: 0.85rem; }

@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; padding: 32px; text-align: center; }
}

/* ---------- Product pages ---------- */
.page-hero {
  background: var(--ink); color: var(--text-invert); padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(120deg, rgba(185,129,74,0.08) 0 2px, transparent 2px 30px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.82rem; color: var(--text-invert-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-invert-soft); }
.breadcrumb a:hover { color: var(--gold-bright); }
.page-hero h1 { color: var(--text-invert); font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 10px; }
.page-hero .lede { color: var(--text-invert-soft); max-width: 64ch; font-size: 1.05rem; }
.notice-list { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.notice-list li { color: var(--text-invert-soft); font-size: 0.95rem; padding-left: 20px; position: relative; }
.notice-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-bright); }
.notice-list a { color: var(--gold-bright); font-weight: 600; }
.notice-list a:hover { text-decoration: underline; }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px;
}
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream-deep); cursor: zoom-in; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-media:hover img { transform: scale(1.06); }
.product-media .zoom-hint {
  position: absolute; right: 12px; bottom: 12px; background: rgba(21,18,15,0.72); color: var(--text-invert);
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.product-media:hover .zoom-hint { opacity: 1; }
.product-media .zoom-hint svg { width: 16px; height: 16px; }
.product-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-body h3 { font-size: 1.3rem; margin-bottom: 0; }
.product-size { color: var(--text-soft); font-size: 0.92rem; }
.product-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--maple-dark); }
.product-purchase { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.purchase-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }
.paypal-form { line-height: 0; max-width: 100%; }
.paypal-form select {
  font: inherit; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--cream); margin-bottom: 10px; line-height: 1.4; width: 100%; max-width: 260px;
}
.paypal-form table { border-collapse: collapse; margin-bottom: 10px; max-width: 100%; }
.paypal-form input[type="image"] { max-width: 180px; width: auto; height: auto; object-fit: contain; transition: transform var(--dur) var(--ease); border-radius: var(--radius-sm); }
.paypal-form input[type="image"]:hover { transform: translateY(-2px); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(15, 13, 10, 0.92); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 32px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(90vw, 900px); max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-caption { color: var(--text-invert-soft); text-align: center; margin-top: 14px; font-size: 0.9rem; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(244,236,220,0.1); border: 1px solid var(--ink-line); color: var(--text-invert);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-close:hover { background: rgba(244,236,220,0.2); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 26px; }
.about-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.about-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-card .body { padding: 20px 22px 24px; }
.about-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.about-card p { color: var(--text-soft); font-size: 0.94rem; margin: 0; }

.advantages { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.advantages h3.block-title { font-size: 1.3rem; margin-bottom: 18px; }
.advantage-list { display: flex; flex-direction: column; gap: 20px; }
.advantage-list li { border-left: 3px solid var(--maple); padding-left: 18px; }
.advantage-list a.adv-title { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; font-size: 1.02rem; }
.advantage-list p { color: var(--text-soft); font-size: 0.94rem; margin: 0; }
.statement-card {
  background: var(--cream-deep); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line);
}
.statement-card p { color: var(--text); font-size: 1.02rem; }
.statement-card img { border-radius: var(--radius); margin-top: 18px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (max-width: 860px) {
  .advantages { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-form-wrap { background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; padding: 6px; }
.contact-form-wrap iframe { width: 100%; border: none; display: block; }
.contact-info h2 { font-size: 1.5rem; }
.contact-detail-list { display: flex; flex-direction: column; gap: 18px; margin: 26px 0; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail .icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--cream-deep); color: var(--maple-dark);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-detail .icon svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: 0.98rem; color: var(--ink); }
.contact-detail a, .contact-detail span.value { color: var(--text-soft); }
.contact-detail a:hover { color: var(--maple-dark); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-invert-soft); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: var(--font-display); color: var(--text-invert); font-size: 1.05rem; }
.footer-col h4 {
  color: var(--text-invert); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px; font-family: var(--font-body); font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-phone { color: var(--gold-bright); font-weight: 700; font-size: 1.05rem; display: inline-block; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ink-line); display: flex;
  align-items: center; justify-content: center; transition: border-color var(--dur), color var(--dur);
}
.footer-social a:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--ink-line); padding-top: 22px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 0.85rem;
}
.footer-bottom a.credit { color: var(--text-invert-soft); font-weight: 600; }
.footer-bottom a.credit:hover { color: var(--gold-bright); }
.credit-script { font-family: "Dancing Script", cursive; color: var(--stitch); font-size: 1.15rem; margin-left: 4px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal-on-scroll ----------
   Visible by default so content never depends on JS to be seen
   (no-JS, blocked script, or slow script = fully visible page).
   Only once main.js confirms it's running (adds .js-reveal to <html>)
   do these elements arm themselves to animate in on scroll. */
[data-reveal] { opacity: 1; transform: none; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.center-text { text-align: center; }
.mt-0 { margin-top: 0; }
