/* ===========================================================
   Home Plate Legacy Project — shared stylesheet
   Great Falls Little League
   =========================================================== */

:root{
  --field:#1F3D2E;
  --field-dark:#142A1F;
  --brick:#8B3A2B;
  --brick-dark:#6B2C20;
  --chalk:#F3EEE1;
  --dirt:#C9A66B;
  --ink:#232420;
  --paper:#FAF7F0;
  --line:#e5e0d3;
  --muted:#5b5d54;       /* WCAG AA: 6.25:1 on --paper */
  --muted-2:#4a4c46;      /* WCAG AA: 8.13:1 on --paper */
  --danger:#a02c1f;
}

*{box-sizing:border-box; margin:0; padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Source Sans 3', -apple-system, Segoe UI, sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:'Roboto Slab', Georgia, serif;
  font-weight:700;
  letter-spacing:-0.01em;
}

.stat-num{
  font-family:'IBM Plex Mono', 'Courier New', monospace;
  font-weight:600;
}

a{color:inherit; text-decoration:none;}

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

button{font-family:inherit; cursor:pointer;}

.wrap{max-width:1100px; margin:0 auto; padding:0 24px;}

/* Home plate pentagon — the site's recurring signature mark */
.plate{
  clip-path: polygon(0% 0%, 100% 0%, 100% 58%, 50% 100%, 0% 58%);
}

/* ---------- Logo ---------- */

.nav-logo{
  width:30px; height:30px; border-radius:50%; object-fit:cover; flex-shrink:0;
}
.foot-logo{
  width:26px; height:26px; border-radius:50%; object-fit:cover; flex-shrink:0;
}
.hero-logo-card{
  background:var(--chalk);
  max-width:190px; margin:0 auto;
  padding:16px 18px 12px;
  border-radius:8px;
  box-shadow:0 14px 34px -16px rgba(0,0,0,0.4);
}
.hero-logo-card img{width:100%; height:auto; display:block;}
.confirm-logo{width:220px; margin:0 auto 28px;}
.confirm-logo img{width:100%; height:auto;}

/* ---------- Scroll reveal (respects reduced motion) ---------- */

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
}

.visually-hidden{
  position:absolute !important;
  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;
  top:-100px;
  left:12px;
  background:var(--chalk);
  color:var(--field-dark);
  padding:12px 20px;
  border-radius:0 0 4px 4px;
  font-weight:600;
  font-size:14px;
  z-index:1000;
  transition:top 0.15s ease;
}
.skip-link:focus{top:0;}

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

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
}

/* ---------- Top navigation ---------- */

.topbar{
  background:var(--field);
  color:var(--chalk);
  padding:18px 0;
  position:relative;
}
.topbar .wrap{display:flex; align-items:center; gap:12px;}
.site-mark{display:flex; align-items:center; gap:10px;}
.site-mark .plate{width:16px; height:16px; background:var(--chalk); flex-shrink:0;}
.site-mark span{font-family:'Roboto Slab',serif; font-weight:600; font-size:14px;}

.nav-links{display:flex; gap:28px; margin-left:auto;}
.nav-links a{font-size:14px; font-weight:500; opacity:0.85;}
.nav-links a:hover, .nav-links a:focus-visible{opacity:1;}
.nav-cta-mobile{display:none;}

.nav-cta{
  background:var(--brick); color:var(--chalk); padding:10px 18px;
  border-radius:3px; font-size:13.5px; font-weight:600; white-space:nowrap;
}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(243,238,225,0.4);
  color:var(--chalk);
  border-radius:3px;
  padding:8px 10px;
  font-size:14px;
  margin-left:auto;
}

@media (max-width:760px){
  .nav-links{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    background:var(--field-dark);
    flex-direction:column;
    padding:16px 24px;
    gap:16px;
    z-index:50;
  }
  .nav-links.open{display:flex;}
  .nav-toggle{display:inline-block;}
  .nav-cta{display:none;}
  .nav-links.open .nav-cta-mobile{
    display:inline-block; background:var(--brick); padding:10px 16px; border-radius:3px; text-align:center;
  }
}

/* ---------- Page header (non-hero pages) ---------- */

.page-head{padding:56px 0 8px; text-align:center;}
.tag{
  display:inline-flex; align-items:center; gap:8px; font-size:12.5px;
  text-transform:uppercase; letter-spacing:0.1em; color:var(--brick); font-weight:600; margin-bottom:14px;
}
.tag .plate{width:8px; height:8px; background:var(--brick);}
.page-head h1{font-size:30px; color:var(--field); margin-bottom:10px;}
.page-head p{color:var(--muted); max-width:480px; margin:0 auto;}

/* ---------- Buttons ---------- */

.btn-primary{
  display:inline-block;
  background:var(--brick); color:var(--chalk); padding:15px 30px;
  font-weight:600; font-size:15px; border-radius:3px; border:none;
  transition:background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover{background:var(--brick-dark); transform:translateY(-1px);}
.btn-ghost{
  display:inline-block;
  border:1px solid rgba(243,238,225,0.35); color:var(--chalk);
  padding:15px 30px; font-weight:600; font-size:15px; border-radius:3px;
  background:transparent;
  transition:background 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover{background:rgba(243,238,225,0.08); border-color:rgba(243,238,225,0.6);}
.btn-outline{
  display:inline-block;
  border:1.5px solid var(--field); color:var(--field); background:transparent;
  padding:10px 20px; border-radius:3px; font-size:13.5px; font-weight:600;
  transition:background 0.15s ease, color 0.15s ease;
}
.btn-outline:hover{background:var(--field); color:var(--chalk);}

/* ===========================================================
   HOMEPAGE
   =========================================================== */

.hero{
  background:linear-gradient(180deg, var(--field) 0%, var(--field-dark) 100%);
  color:var(--chalk);
  padding:82px 0 56px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:repeating-linear-gradient(90deg, rgba(243,238,225,0.035) 0px, rgba(243,238,225,0.035) 1px, transparent 1px, transparent 64px);
  pointer-events:none;
}
.hero-inner{position:relative; z-index:2; text-align:center;}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:14.5px; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--dirt); font-weight:600; margin-bottom:24px;
}
.eyebrow .plate{width:8px; height:8px; background:var(--dirt);}
.hero-plate-mark{
  width:34px; height:auto; display:block; margin:0 auto 18px;
}
.hero-plate-mark polygon{
  fill:none; stroke:var(--dirt); stroke-width:2; opacity:0.55;
}
.hero h1{font-size:52px; line-height:1.12; max-width:760px; margin:0 auto 22px;}
.hero h1 em{font-style:normal; color:var(--dirt);}
.hero p.sub{max-width:520px; margin:0 auto 40px; font-size:17px; color:rgba(243,238,225,0.85);}
.hero-ctas{display:flex; gap:16px; justify-content:center; margin-bottom:64px; flex-wrap:wrap;}

.plate-hero{
  width:180px; height:180px; margin:0 auto;
  background:var(--chalk);
  display:flex; align-items:center; justify-content:center;
}
.plate-hero .stitch{
  width:150px; height:150px;
  border:2px dashed rgba(35,36,32,0.25);
  clip-path: polygon(0% 0%, 100% 0%, 100% 58%, 50% 100%, 0% 58%);
  display:flex; align-items:flex-start; justify-content:center; padding-top:28px;
}
.plate-hero .stitch span{
  font-family:'Roboto Slab',serif; font-weight:700; color:var(--field);
  font-size:13px; letter-spacing:0.06em; text-align:center; line-height:1.4;
}
.hero-render{
  max-width:1040px; margin:48px auto 0; border-radius:10px; overflow:hidden;
  border:1px solid rgba(243,238,225,0.15);
  box-shadow:0 34px 70px -26px rgba(0,0,0,0.55);
  aspect-ratio:3/2;
}
.hero-render img{
  width:100%; height:100%; object-fit:cover; object-position:50% 50%; display:block;
}
@media(max-width:760px){
  .hero-render{aspect-ratio:3/2; margin-top:28px; border-radius:8px;}
}
.hero-render figcaption{
  font-size:12px; color:rgba(243,238,225,0.6); padding:10px 4px 0; text-align:center;
}

.stats{background:var(--brick); color:var(--chalk); padding:36px 0;}
.stats .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;}
.stats .num{font-size:30px;}
.stats .label{font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; opacity:0.9; margin-top:4px;}

.mission{padding:100px 0; background:var(--paper);}
.mission .grid{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
.mission h2{font-size:34px; margin-bottom:20px; color:var(--field);}
.mission p{color:var(--muted-2); font-size:16px; max-width:480px;}
.mission-card{background:var(--field); color:var(--chalk); padding:40px; border-radius:6px;}
.mission-card .line{
  display:flex; gap:14px; padding:14px 0; border-bottom:1px solid rgba(243,238,225,0.12); font-size:15px;
  color:#ffffff;
}
.mission-card .line:last-child{border-bottom:none;}
.mission-card .plate{width:14px; height:14px; background:var(--dirt); flex-shrink:0; margin-top:3px;}

.wall{background:var(--field-dark); padding:100px 0; color:var(--chalk);}
.wall .head{text-align:center; max-width:560px; margin:0 auto 40px;}
.wall h2{font-size:34px; margin-bottom:18px; line-height:1.2;}

.plaza-wrap{max-width:1120px;}

.showcase-grid{display:grid; grid-template-columns:1fr 1.08fr; gap:64px; align-items:center;}
.showcase-copy .tag{margin-bottom:18px;}
.showcase-lead{font-size:17px; line-height:1.85; color:rgba(243,238,225,0.8); margin-bottom:6px;}
.showcase-lead-strong{
  font-family:'Roboto Slab',serif; font-weight:600; font-size:18px; color:var(--dirt) !important;
  margin-top:16px; margin-bottom:22px;
}
.showcase-rotating{
  display:flex; align-items:center; gap:8px; font-size:12.5px; color:rgba(243,238,225,0.6);
  text-transform:uppercase; letter-spacing:0.06em; margin-bottom:22px;
}
.showcase-rotating .dot{width:6px; height:6px; border-radius:50%; background:var(--dirt); flex-shrink:0;}
.showcase-rotating #showcaseCategory{color:var(--dirt); font-weight:600; transition:opacity 0.4s ease;}

/* ---------- The brick showcase "stage" ---------- */

.showcase-visual{display:flex; flex-direction:column; align-items:center;}
.showcase-stage{
  position:relative; width:100%; aspect-ratio:4/3.1; border-radius:16px; overflow:hidden;
  background:radial-gradient(ellipse 70% 65% at 50% 38%, #3d2e20 0%, #1c2a20 55%, var(--field-dark) 100%);
  display:flex; align-items:center; justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(243,238,225,0.06);
}
.showcase-bokeh{
  position:absolute; border-radius:50%; filter:blur(18px); opacity:0.35; pointer-events:none;
  background:radial-gradient(circle, var(--dirt) 0%, transparent 70%);
}
.showcase-bokeh.b1{width:90px; height:90px; top:12%; left:10%;}
.showcase-bokeh.b2{width:60px; height:60px; top:65%; right:12%; opacity:0.28;}
.showcase-bokeh.b3{width:44px; height:44px; top:20%; right:22%; opacity:0.22;}

.showcase-brick{
  position:relative;
  width:min(78%, 460px);
  aspect-ratio:17/11;
  border-radius:3px;
  background:
    linear-gradient(155deg, #a85f4f 0%, var(--brick) 42%, var(--brick-dark) 100%);
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,0.14),
    inset 0 -10px 22px rgba(0,0,0,0.4),
    inset 4px 0 10px rgba(0,0,0,0.12),
    0 30px 50px -20px rgba(0,0,0,0.6);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  padding:0 8%;
}
.showcase-brick::before{
  content:"";
  position:absolute; inset:0; border-radius:3px; opacity:0.5; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.showcase-icon{
  width:30px; height:30px; margin-bottom:2px; color:#e9d2c6;
  filter:drop-shadow(0 1.5px 0 rgba(255,255,255,0.16)) drop-shadow(0 -1px 1px rgba(0,0,0,0.5));
  transition:opacity 0.7s ease;
}
.showcase-icon svg{width:100%; height:100%; display:block;}
.showcase-icon:empty{display:none;}
.showcase-line{
  font-family:'Roboto Slab',serif; font-weight:700; letter-spacing:0.05em; text-align:center;
  font-size:clamp(15px, 2.6vw, 22px); color:#e9d2c6;
  text-shadow:
    0 1.5px 0 rgba(255,255,255,0.16),
    0 -1px 1px rgba(0,0,0,0.55),
    0 2px 3px rgba(0,0,0,0.35);
  transition:opacity 0.7s ease;
}
.showcase-ground{
  position:absolute; bottom:9%; left:50%; transform:translateX(-50%);
  width:min(70%, 420px); height:22px; border-radius:50%;
  background:radial-gradient(ellipse, rgba(0,0,0,0.4) 0%, transparent 72%);
}
.showcase-caption{font-size:12px; color:rgba(243,238,225,0.55); font-style:italic; margin-top:16px; text-align:center;}

@media(max-width:900px){
  .showcase-grid{grid-template-columns:1fr; gap:40px;}
  .showcase-copy{text-align:center;}
  .showcase-rotating{justify-content:center;}
}
@media(max-width:640px){
  .showcase-stage{aspect-ratio:4/3.6;}
  .showcase-brick{width:88%;}
}

.progress{padding:100px 0; background:var(--paper);}
.progress .grid{display:grid; grid-template-columns:0.9fr 1.4fr; gap:64px; align-items:center;}
.progress h2{font-size:34px; color:var(--field); margin-bottom:16px;}
.progress p{color:var(--muted-2); font-size:16px; max-width:440px; margin-bottom:28px;}
.therm-track{background:var(--line); border-radius:3px; height:14px; overflow:hidden; margin-bottom:10px;}
.therm-fill{background:var(--brick); height:100%; border-radius:3px;}
.therm-labels{display:flex; justify-content:space-between; font-size:13px; color:var(--muted);}
.therm-labels .stat-num{color:var(--brick); font-size:14px;}
.phase-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.phase-card{background:#fff; border:1px solid var(--line); border-radius:6px; padding:22px 18px; transition:transform 0.15s ease, box-shadow 0.15s ease;}
.phase-card:hover{transform:translateY(-3px); box-shadow:0 12px 24px -14px rgba(21,40,72,0.25);}
.phase-card .plate{width:16px; height:16px; background:var(--field); margin-bottom:14px;}
.phase-card h3{font-size:15px; color:var(--field); margin-bottom:6px;}
.phase-card p{font-size:13px; color:var(--muted);}
.phase-card .status{
  display:inline-block; margin-top:12px; font-size:11px; text-transform:uppercase;
  letter-spacing:0.06em; font-weight:600; color:var(--brick);
}
.phase-card .status.future{color:var(--muted);}

.final-cta{background:var(--brick); color:var(--chalk); text-align:center; padding:90px 0;}
.final-cta h2{font-size:34px; max-width:600px; margin:0 auto 16px;}
.final-cta p{opacity:0.9; margin-bottom:32px;}
.final-cta .btn-primary{background:var(--chalk); color:var(--brick-dark);}
.final-cta .btn-primary:hover{background:#e6dfcf;}

/* ===========================================================
   RESERVE A BRICK
   =========================================================== */

.layout{display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; padding:48px 0 100px; align-items:start;}

.step-label{display:flex; align-items:center; gap:10px; margin-bottom:16px;}
.step-label .num{
  width:22px; height:22px; border-radius:50%; background:var(--field); color:var(--chalk);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600;
  font-family:'IBM Plex Mono',monospace; flex-shrink:0;
}
.step-label h2{font-size:15px; color:var(--field); font-family:'Roboto Slab',serif;}

.size-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px;}
.size-card{
  background:#fff; border:1.5px solid var(--line); border-radius:3px; padding:18px 14px;
  cursor:pointer; text-align:center; transition:border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  display:block;
}
.size-card:hover, .size-card:focus-visible{border-color:var(--dirt); transform:translateY(-3px); box-shadow:0 14px 26px -16px rgba(21,40,72,0.3);}
.size-card.active{border-color:var(--brick); background:#fdf3f0;}
.size-card .dim{font-family:'Roboto Slab',serif; font-weight:600; font-size:15px; color:var(--field); margin-bottom:4px;}
.size-card .lines{font-size:12px; color:var(--muted); margin-bottom:10px;}
.size-card .price{font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:18px; color:var(--brick);}

.preview-disclaimer{
  font-size:12.5px; color:var(--muted); background:#fff; border:1px solid var(--line);
  border-radius:3px; padding:12px 14px; margin-bottom:40px;
}

.line-inputs{display:flex; flex-direction:column; gap:12px; margin-bottom:40px;}
.line-input-row label{display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted); margin-bottom:6px;}
.line-input-row label .count{font-family:'IBM Plex Mono',monospace;}
.line-input-row input{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:3px;
  font-size:15px; font-family:'Source Sans 3',sans-serif; text-transform:uppercase; background:#fff; color:var(--ink);
}
.line-input-row input:focus-visible{outline:3px solid var(--dirt); outline-offset:1px; border-color:var(--brick);}
.line-input-row.over input{border-color:var(--danger); background:#fdf0ee;}
.line-input-row.over .count{color:var(--danger);}

.summary{
  background:#fff; border:1px solid var(--line); border-radius:3px; padding:24px;
  display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; gap:16px; flex-wrap:wrap;
}
.summary .label{font-size:13px; color:var(--muted);}
.summary .amount{font-family:'IBM Plex Mono',monospace; font-size:26px; font-weight:600; color:var(--field);}

.continue-btn{
  display:block; width:100%; background:var(--brick); color:var(--chalk);
  padding:16px; text-align:center; font-weight:600; font-size:15px; border-radius:3px;
  border:none; font-family:'Source Sans 3',sans-serif;
}
.continue-btn:hover{background:var(--brick-dark);}
.fine-print{font-size:12px; color:var(--muted); text-align:center; margin-top:12px;}

.preview-panel{
  position:sticky; top:24px; border-radius:6px; padding:44px 34px; color:var(--chalk);
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(201,166,107,0.06) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(243,238,225,0.02) 0px, rgba(243,238,225,0.02) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(90deg, rgba(243,238,225,0.02) 0px, rgba(243,238,225,0.02) 1px, transparent 1px, transparent 34px),
    var(--field-dark);
}
.preview-panel .tag-label{
  font-size:11.5px; text-transform:uppercase; letter-spacing:0.1em; color:var(--dirt);
  font-weight:600; margin-bottom:22px; text-align:center; display:block;
}
.brick-preview-wrap{padding:10px 0 30px; position:relative;}
.preview-ground{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  width:88%; height:64%; border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(201,166,107,0.10) 0%, rgba(201,166,107,0.04) 45%, transparent 72%);
  pointer-events:none; z-index:0;
}
.preview-ground::before{
  content:"";
  position:absolute; inset:0;
  background-image:repeating-linear-gradient(90deg, rgba(243,238,225,0.05) 0px, rgba(243,238,225,0.05) 1px, transparent 1px, transparent 34px);
  border-radius:inherit;
  mask-image:radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.brick-preview{position:relative; z-index:1;
  background:linear-gradient(155deg, #9f5d51 0%, var(--brick) 45%, var(--brick-dark) 100%);
  border-radius:3px; padding:52px 30px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; min-height:200px;
  width:230px; max-width:100%; margin:0 auto;
  transition:width 0.3s ease, min-height 0.3s ease, padding 0.3s ease, background 0.3s ease;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.12),
    inset 0 -6px 14px rgba(0,0,0,0.35),
    0 22px 40px -18px rgba(0,0,0,0.55);
  background-image:
    linear-gradient(155deg, #9f5d51 0%, var(--brick) 45%, var(--brick-dark) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 5px);
}

/* Sizes AND materials scale with the legacy level being drafted — each
   tier is a genuinely different class of object, not just a bigger
   version of the same brick. */
.brick-preview.size-4x8{width:140px; min-height:70px; padding:10px 14px; gap:3px;}

/* Legacy Stone — warm cast limestone, not brick. Lighter material means
   the engraving reads as carved-in (dark, recessed) rather than the
   brick's light-on-dark. */
.brick-preview.size-8x8{
  width:190px; min-height:190px; padding:26px;
  background-image:
    linear-gradient(155deg, #cbc0a8 0%, #a99a7c 45%, #7c6f56 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.04) 0px, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 6px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.35),
    inset 0 -8px 16px rgba(0,0,0,0.22),
    0 26px 46px -18px rgba(0,0,0,0.5);
}
.brick-preview.size-8x8 .l{
  color:#332d20;
  text-shadow:0 1px 0 rgba(255,255,255,0.4), 0 -1px 1px rgba(0,0,0,0.3);
}
.brick-preview.size-8x8 .pv-icon{filter:brightness(0.4) saturate(0.8);}

/* Founder's Capstone — deep forest-green polished stone (drawn from the
   site's own brand green, not an unrelated dark gray) with brass/gold
   lettering. Deliberately the most monumental treatment: heavier bevel,
   deeper shadow, metallic text instead of flat color. */
.brick-preview.size-11x17{
  width:300px; min-height:195px; padding:28px 36px;
  background-image:
    linear-gradient(155deg, #2f5342 0%, #17301f 45%, #0c1a12 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 7px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.14),
    inset 0 -10px 22px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(224,184,103,0.18),
    0 34px 60px -20px rgba(0,0,0,0.6);
}
.brick-preview.size-11x17 .l{
  color:#e0b667;
  text-shadow:0 1px 0 rgba(255,255,255,0.2), 0 -1px 1px rgba(0,0,0,0.55), 0 0 20px rgba(224,182,103,0.3);
}
.brick-preview.size-11x17 .pv-icon{filter:sepia(1) saturate(2.4) brightness(1.25) hue-rotate(-8deg);}

.brick-preview::after{
  content:"";
  position:absolute; left:6%; right:6%; bottom:-18px; height:20px;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 72%);
  transition:opacity 0.3s ease;
}
.brick-preview.size-11x17::after{
  bottom:-22px; height:26px;
  background:radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 74%);
}
.brick-preview .l{
  font-family:'Roboto Slab',serif; font-weight:700; letter-spacing:0.05em;
  color:#f5e6de; text-align:center; font-size:21px; min-height:26px; line-height:1.3;
  text-shadow:0 2px 1px rgba(0,0,0,0.45), 0 -1px 0 rgba(255,255,255,0.08);
  transition:color 0.3s ease;
}
.brick-preview .l:empty::before{content:"—"; color:rgba(243,238,225,0.3);}
.material-label{
  text-align:center; font-family:'Roboto Slab',serif; font-style:italic; font-size:12px;
  color:var(--dirt); margin-top:10px; letter-spacing:0.02em; min-height:16px;
}
.preview-meta{display:flex; justify-content:space-between; margin-top:18px; font-size:12.5px; color:rgba(243,238,225,0.75);}
.preview-note{
  margin-top:24px; font-size:13px; color:rgba(243,238,225,0.75);
  border-top:1px solid rgba(243,238,225,0.15); padding-top:18px;
}

/* ===========================================================
   FIND YOUR BRICK
   =========================================================== */

.search-bar{max-width:560px; margin:32px auto 8px;}
.search-bar label{display:block; font-size:13px; color:var(--muted); margin-bottom:6px; text-align:center;}
.search-bar input{
  width:100%; padding:16px 20px; border:1.5px solid var(--line); border-radius:4px;
  font-size:16px; font-family:'Source Sans 3',sans-serif; background:#fff; color:var(--ink);
}
.search-bar input:focus-visible{outline:3px solid var(--dirt); outline-offset:1px; border-color:var(--brick);}
.search-hint{text-align:center; font-size:13px; color:var(--muted); margin-bottom:32px;}

.filters{display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:36px;}
.filter-chip{
  padding:8px 16px; border:1.5px solid var(--line); border-radius:20px; font-size:13px;
  font-weight:500; color:var(--muted); background:#fff;
}
.filter-chip[aria-pressed="true"]{background:var(--field); border-color:var(--field); color:var(--chalk);}

.results-meta{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px;}
.results-meta .count{font-size:13.5px; color:var(--muted);}
.results-meta .count .stat-num{color:var(--brick);}

.results-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:60px;}
.brick-card{
  background:var(--field); border-radius:4px; padding:20px 16px 16px;
  display:flex; flex-direction:column; gap:10px;
  box-shadow:inset 0 0 0 1px rgba(243,238,225,0.06);
  transition:transform 0.15s ease;
}
.brick-card:hover{transform:translateY(-3px);}
.brick-card .brick-face{
  background:var(--brick); border-radius:2px; padding:16px 12px; text-align:center;
  display:flex; flex-direction:column; gap:3px; min-height:76px; justify-content:center;
}
.brick-card .brick-face .l{font-family:'Roboto Slab',serif; font-weight:600; color:var(--chalk); font-size:13px; letter-spacing:0.02em;}
.brick-card .meta{display:flex; justify-content:space-between; font-size:11.5px; color:rgba(243,238,225,0.75);}
.brick-card .meta .loc{color:var(--dirt); font-weight:500;}

.empty-state{text-align:center; padding:60px 20px; color:var(--muted); display:none;}
.empty-state.show{display:block;}
.empty-state .plate{width:28px; height:28px; background:var(--line); margin:0 auto 16px;}
.empty-state h3{color:var(--field); font-size:17px; margin-bottom:8px;}

.cta-strip{background:var(--brick); color:var(--chalk); text-align:center; padding:56px 0; border-radius:6px; margin-bottom:60px;}
.cta-strip h2{font-size:24px; margin-bottom:10px;}
.cta-strip p{opacity:0.9; margin-bottom:22px; font-size:15px;}

/* ===========================================================
   GIVING TIERS
   =========================================================== */

.tier-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:40px 0 20px;}
.tier-card{background:#fff; border:1.5px solid var(--line); border-radius:6px; padding:28px 26px; display:flex; flex-direction:column; transition:transform 0.15s ease, box-shadow 0.15s ease;}
.tier-card:hover{transform:translateY(-3px); box-shadow:0 16px 30px -18px rgba(21,40,72,0.3);}
.tier-card.featured{border-color:var(--brick); background:#fdf3f0;}
.tier-icon{width:38px; height:38px; background:var(--field); border-radius:3px; margin-bottom:18px; display:flex; align-items:center; justify-content:center;}
.tier-icon .plate{width:16px; height:16px; background:var(--dirt);}
.tier-card h3{font-size:18px; color:var(--field); margin-bottom:6px;}
.tier-card .price{font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:15px; color:var(--brick); margin-bottom:14px;}
.tier-card p{font-size:14px; color:var(--muted); margin-bottom:20px; flex:1;}
.tier-card.featured .btn-outline{background:var(--brick); border-color:var(--brick); color:var(--chalk);}

.legacy-band{
  background:var(--field-dark); color:var(--chalk); border-radius:6px; padding:48px 40px;
  margin:40px 0 40px; display:flex; align-items:center; gap:40px;
}
.legacy-band .plate{width:44px; height:44px; background:var(--dirt); flex-shrink:0;}
.legacy-band h2{font-size:22px; margin-bottom:8px;}
.legacy-band p{color:rgba(243,238,225,0.8); font-size:14.5px; max-width:480px;}
.legacy-band .price{font-family:'IBM Plex Mono',monospace; color:var(--dirt); font-size:14px; margin-top:10px; font-weight:600;}
.legacy-band-cta{margin-left:auto; flex-shrink:0;}
.legacy-band-cta a{background:var(--chalk); color:var(--field-dark); padding:14px 26px; border-radius:3px; font-weight:600; font-size:14px; display:inline-block; white-space:nowrap;}

.compare-note{background:#fff; border:1px solid var(--line); border-radius:6px; padding:24px 28px; margin-bottom:60px;}
.compare-note .tag-label{font-size:12px; text-transform:uppercase; letter-spacing:0.08em; color:var(--brick); font-weight:600; margin-bottom:8px; display:block;}
.compare-note p{font-size:14.5px; color:var(--muted-2);}

/* ===========================================================
   CONFIRMATION PAGE
   =========================================================== */

.confirm{padding:80px 0 100px; text-align:center;}
.confirm-mark{
  width:64px; height:64px; margin:0 auto 28px; background:var(--field);
  display:flex; align-items:center; justify-content:center;
}
.confirm-mark .plate{width:28px; height:28px; background:var(--dirt);}
.confirm h1{font-size:30px; color:var(--field); margin-bottom:14px; max-width:620px; margin-left:auto; margin-right:auto;}
.confirm > .wrap > p{color:var(--muted-2); max-width:520px; margin:0 auto 48px; font-size:16px;}
.confirm-steps{
  max-width:560px; margin:0 auto 48px; text-align:left; display:flex; flex-direction:column; gap:0;
}
.confirm-step{display:flex; gap:16px; padding:20px 0; border-bottom:1px solid var(--line);}
.confirm-step:last-child{border-bottom:none;}
.confirm-step .num{
  width:26px; height:26px; border-radius:50%; background:var(--field); color:var(--chalk);
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600;
  font-family:'IBM Plex Mono',monospace; flex-shrink:0;
}
.confirm-step h3{font-size:15px; color:var(--field); margin-bottom:4px;}
.confirm-step p{font-size:14px; color:var(--muted);}
.confirm-support{font-size:13.5px; color:var(--muted);}
.confirm-ceremony{
  background:var(--field); color:var(--chalk); border-radius:8px;
  padding:36px 32px; max-width:560px; margin:0 auto 32px; text-align:center;
}
.confirm-ceremony h2{font-size:19px; margin-bottom:10px;}
.confirm-ceremony p{font-size:14.5px; color:rgba(247,243,233,0.85);}
.confirm-thanks{
  font-family:'Roboto Slab',serif; font-size:17px; color:var(--field);
  max-width:480px; margin:0 auto 40px;
}
.confirm em{font-style:italic; color:var(--brick);}

/* ===========================================================
   FOOTER
   =========================================================== */

footer.site-footer{background:var(--field-dark); color:rgba(243,238,225,0.75); padding:48px 0; margin-top:0;}
footer.site-footer .wrap{display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px;}
footer.site-footer .foot-mark{display:flex; align-items:center; gap:10px; margin-bottom:10px;}
footer.site-footer .foot-mark .plate{width:14px; height:14px; background:var(--dirt);}
footer.site-footer .foot-mark span{font-family:'Roboto Slab',serif; font-weight:600; color:var(--chalk); font-size:14px;}
footer.site-footer p{font-size:13px; max-width:340px; line-height:1.7;}
footer.site-footer .foot-links{display:flex; gap:10px; flex-direction:column; font-size:13.5px;}
footer.site-footer .foot-links a:hover{color:var(--chalk);}
footer.site-footer .foot-bottom{
  max-width:1100px; margin:32px auto 0; padding:20px 24px 0; border-top:1px solid rgba(243,238,225,0.12);
  font-size:12px; color:rgba(243,238,225,0.5);
}

/* ===========================================================
   EXPLORE THE VISION — story panels + lightbox
   =========================================================== */

.vision-section{padding:132px 0 112px; background:var(--paper);}
.vision-section .head{text-align:center; max-width:620px; margin:0 auto 96px;}
.vision-section .head h2{font-size:34px; color:var(--field); margin-bottom:16px;}
.vision-section .head p{font-size:16.5px; color:var(--muted-2);}

.vision-panel{
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:64px; align-items:center;
  margin-bottom:128px;
}
.vision-panel:last-child{margin-bottom:80px;}
.vision-panel.reverse{grid-template-columns:0.85fr 1.15fr;}
.vision-panel.reverse .vision-image{order:2;}
.vision-panel.reverse .vision-text{order:1;}

.vision-image{
  position:relative; margin:0; border-radius:6px; overflow:hidden; cursor:zoom-in;
  box-shadow:0 30px 56px -28px rgba(21,40,72,0.32);
  border:1px solid rgba(21,40,72,0.08);
  transition:box-shadow 0.3s ease, transform 0.3s ease;
}
.vision-image:hover{transform:translateY(-3px); box-shadow:0 38px 64px -26px rgba(21,40,72,0.4);}
.vision-image img{width:100%; aspect-ratio:3/2; object-fit:cover; display:block;}
.vision-caption{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  padding:14px 18px; border-top:1px solid var(--line); background:#fff;
}
.vision-caption .vc-title{
  font-family:'Roboto Slab',serif; font-size:12.5px; font-style:italic; color:var(--field);
  letter-spacing:0.01em;
}
.vision-caption .vc-hint{font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em; white-space:nowrap;}
@media (prefers-reduced-motion: reduce){
  .vision-image{transition:none;}
  .vision-image:hover{transform:none;}
}

.vision-text .tag{margin-bottom:18px;}
.vision-text h3{font-size:27px; color:var(--field); margin-bottom:16px; line-height:1.25;}
.vision-text p{font-size:16px; color:var(--muted-2); line-height:1.75;}

.vision-more{text-align:center; margin-top:0;}
.vision-more a{font-size:14px; font-weight:600; color:var(--brick); border-bottom:1px solid rgba(139,58,43,0.35);}
.vision-more a:hover{border-color:var(--brick);}

/* ---------- Lightbox ---------- */

.lightbox-overlay{
  position:fixed; inset:0; background:rgba(10,14,8,0.94); z-index:2000;
  display:flex; align-items:center; justify-content:center; padding:40px;
  opacity:0; pointer-events:none; transition:opacity 0.25s ease;
}
.lightbox-overlay.open{opacity:1; pointer-events:auto;}
.lightbox-overlay img{
  max-width:100%; max-height:88vh; border-radius:6px; box-shadow:0 50px 90px rgba(0,0,0,0.55);
}
.lightbox-caption{color:rgba(243,238,225,0.75); font-size:13px; text-align:center; margin-top:16px; max-width:600px;}
.lightbox-close{
  position:absolute; top:22px; right:26px; background:transparent; border:1.5px solid rgba(255,255,255,0.4);
  color:#fff; width:40px; height:40px; border-radius:50%; font-size:18px; cursor:pointer; line-height:1;
}
.lightbox-close:hover{background:rgba(255,255,255,0.1);}

@media(max-width:900px){
  .vision-panel, .vision-panel.reverse{grid-template-columns:1fr; gap:32px;}
  .vision-panel .vision-image{order:1 !important;}
  .vision-panel .vision-text{order:2 !important;}
  .vision-section{padding:88px 0 64px;}
  .vision-panel{margin-bottom:72px;}
}

/* ===========================================================
   RECENTLY RESERVED (homepage)
   =========================================================== */

.recent-section{padding:100px 0; background:var(--paper);}
.recent-section .head{text-align:center; max-width:560px; margin:0 auto 56px;}
.recent-section .head h2{font-size:34px; color:var(--field); margin-bottom:14px;}
.recent-section .head p{color:var(--muted-2); font-size:16px;}

.recent-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:14px;}
.recent-grid .brick-card{cursor:default;}
.recent-grid .brick-card .meta .cat{
  text-transform:capitalize; color:rgba(243,238,225,0.55); font-size:11px;
}

.recent-empty{
  grid-column:1 / -1; text-align:center; background:#fff; border:1.5px dashed var(--line);
  border-radius:8px; padding:56px 24px;
}
.recent-empty h3{font-family:'Roboto Slab',serif; font-size:19px; color:var(--field); margin-bottom:10px;}
.recent-empty p{color:var(--muted); font-size:14.5px; max-width:420px; margin:0 auto 20px;}

@media(max-width:900px){
  .recent-grid{grid-template-columns:repeat(2, 1fr);}
}
@media(max-width:480px){
  .recent-grid{grid-template-columns:1fr;}
}

/* ===========================================================
   RESPONSIVE (site-wide)
   =========================================================== */

@media(max-width:900px){
  .preview-panel{position:static;}
  .mission .grid, .progress .grid{grid-template-columns:1fr; gap:40px;}
  .tier-grid{grid-template-columns:1fr;}
}

@media(max-width:760px){
  .hero{padding:130px 0 70px;}
  .hero h1{font-size:34px;}
  .page-head h1{font-size:25px;}
  .hero-logo-card{max-width:150px; padding:12px 14px 10px;}
  .confirm-logo{width:170px;}
  .confirm h1{font-size:24px;}
  .confirm-ceremony{padding:28px 22px;}
  .stats .wrap{grid-template-columns:repeat(2,1fr);}
  .brick-grid{grid-template-columns:repeat(2,1fr);}
  .phase-cards{grid-template-columns:1fr;}
  .size-grid{grid-template-columns:1fr;}
  .results-grid{grid-template-columns:1fr 1fr;}
  .legacy-band{flex-direction:column; text-align:center;}
  .legacy-band-cta{margin-left:0;}
  footer.site-footer .wrap{flex-direction:column;}
}

@media(max-width:480px){
  .results-grid{grid-template-columns:1fr;}
  .hero h1{font-size:28px;}
}
