/* =========================================================
   Crazy Curbs — modern rebuild
   Palette: warm concrete + landscape green + amber energy
   ========================================================= */

:root {
  --paper:   #f3efe7;
  --paper-2: #ece7db;
  --card:    #ffffff;
  --ink:     #15181b;
  --ink-2:   #565c63;
  --ink-3:   #8b9098;

  --green:   #1f7a46;
  --green-d: #114f2c;
  --lime:    #8ec63f;
  --amber:   #f2a01d;
  --amber-d: #cf850b;

  --line:    rgba(21, 24, 27, .10);
  --line-2:  rgba(21, 24, 27, .06);

  --shadow-sm: 0 1px 2px rgba(17,20,23,.06), 0 2px 8px rgba(17,20,23,.05);
  --shadow-md: 0 6px 22px rgba(17,20,23,.10), 0 2px 6px rgba(17,20,23,.06);
  --shadow-lg: 0 24px 60px rgba(17,20,23,.18);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1160px;
  --gap:  clamp(1rem, 2.4vw, 1.6rem);

  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--sans);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  color: var(--green);
  margin: 0 0 .9rem;
}
.eyebrow.amber { color: var(--amber-d); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }

.accent { color: var(--green); }
.hl { background: linear-gradient(180deg, transparent 62%, rgba(142,198,63,.55) 62%); padding: 0 .05em; }

/* ------------------------------------------------- Buttons */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  padding: .82rem 1.4rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--green); --bd: var(--green); }
.btn-primary:hover { --bg: var(--green-d); }
.btn-amber { --bg: var(--amber); --bd: var(--amber); --fg: #251900; }
.btn-amber:hover { --bg: var(--amber-d); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--ink); --bg: transparent; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243,239,231,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.4rem; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; }
.brand .mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand b { color: var(--green); }
.brand .curb { color: var(--amber-d); }

.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav a.navlink {
  font-family: var(--display); font-weight: 500; font-size: .95rem;
  color: var(--ink-2); padding: .5rem .7rem; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav a.navlink:hover { color: var(--ink); background: rgba(21,24,27,.05); }
.header-cta { display: flex; align-items: center; gap: .6rem; margin-left: .4rem; }
.phone-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-weight: 600; color: var(--ink); }
.phone-link svg { width: 1.05em; height: 1.05em; color: var(--green); }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------- Hero */
.hero { position: relative; padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(2.6rem, 5vw, 4rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(142,198,63,.20), transparent 55%),
    radial-gradient(90% 80% at -5% 8%, rgba(31,122,70,.12), transparent 55%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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)' opacity='0.045'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }

.hero-badges { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--display); font-weight: 600; font-size: .8rem;
  padding: .4rem .8rem; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(142,198,63,.25); }

.hero h1 { margin-bottom: 1rem; }
.hero h1 .swoop { color: var(--green); }
.hero .lead { max-width: 34ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem .9rem; color: var(--ink-2); font-size: .92rem; }
.hero-trust b { color: var(--ink); font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 1.05em; height: 1.05em; color: var(--green); flex: 0 0 auto; }

/* hero collage of small stamp photos */
.hero-collage { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.hero-collage figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-2); aspect-ratio: 4 / 3; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage figure:nth-child(1) { transform: translateY(-6px); }
.hero-collage figure:nth-child(4) { transform: translateY(6px); }
.hero-sticker {
  position: absolute; left: -14px; bottom: -14px; z-index: 3;
  background: var(--amber); color: #251900; font-family: var(--display); font-weight: 700;
  padding: .7rem .95rem; border-radius: 14px; line-height: 1.05; font-size: .92rem;
  box-shadow: var(--shadow-md); transform: rotate(-4deg); border: 2px solid #fff;
}
.hero-sticker small { display: block; font-weight: 500; font-size: .72rem; opacity: .8; }

/* ------------------------------------------------- Marquee stat bar */
.statbar { background: var(--ink); color: #fff; }
.statbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: clamp(1.4rem, 3vw, 2.1rem); }
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1; }
.stat .num .u { color: var(--lime); }
.stat .lbl { margin-top: .35rem; font-size: .82rem; color: #b9c0c6; letter-spacing: .02em; }
.statbar .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ------------------------------------------------- Section scaffolding */
.section { padding: clamp(3rem, 7vw, 5.6rem) 0; }
.section.alt { background: var(--paper-2); }
.section.ink { background: var(--ink); color: #e9edf0; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.section.ink .section-head p { color: #aeb6bd; }

/* ------------------------------------------------- Value cards */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.value {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.value .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(31,122,70,.10); color: var(--green); margin-bottom: 1rem; }
.value .ic svg { width: 26px; height: 26px; }
.value h3 { margin-bottom: .4rem; font-size: 1.16rem; }
.value p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ------------------------------------------------- Shapes */
.shapes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.shape {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shape:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shape .thumb { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: .7rem; }
.shape .thumb img { width: 100%; height: 100%; object-fit: contain; }
.shape h3 { margin-bottom: .15rem; }
.shape .spec { font-family: var(--display); font-weight: 600; color: var(--green); font-size: .92rem; margin-bottom: .5rem; }
.shape p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.shape .tag { display: inline-block; margin-top: .55rem; font-size: .72rem; font-weight: 600; font-family: var(--display); color: var(--amber-d); background: rgba(242,160,29,.12); padding: .2rem .55rem; border-radius: 999px; }

/* ------------------------------------------------- Colors & stamps */
.colors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.stamp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stamp { border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stamp .ph { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.stamp .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stamp:hover .ph img { transform: scale(1.06); }
.stamp .cap { padding: .7rem .9rem; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.stamp .cap small { display: block; font-family: var(--sans); font-weight: 400; color: var(--ink-3); font-size: .78rem; }

.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.chart-card img { border-radius: var(--r); margin-inline: auto; }
.chart-card .note { font-size: .82rem; color: var(--ink-3); margin: .9rem 0 0; }

.design-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.design-strip figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--paper-2); }
.design-strip .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.design-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.design-strip figure:hover img { transform: scale(1.05); }
.design-strip figcaption { padding: .6rem .8rem; font-family: var(--display); font-weight: 600; font-size: .82rem; background: var(--card); }

/* ------------------------------------------------- Compare (formed vs machined) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }
.compare .col { border-radius: var(--r-lg); padding: 1.6rem 1.5rem; }
.compare .formed { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.compare .machined { background: linear-gradient(180deg, rgba(142,198,63,.16), rgba(31,122,70,.08)); border: 1px solid rgba(142,198,63,.4); position: relative; }
.compare h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: 1.1rem; }
.compare .who { font-size: .74rem; font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.compare .formed .who { background: rgba(255,255,255,.12); color: #cdd3d8; }
.compare .machined .who { background: var(--lime); color: #14311a; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.compare li { display: flex; gap: .6rem; font-size: .96rem; color: #d7dce0; }
.compare .machined li { color: #eaf3e2; }
.compare li svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; margin-top: .18em; }
.compare .formed li svg { color: #8b939a; }
.compare .machined li svg { color: var(--lime); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(1.8rem, 4vw, 2.8rem); counter-reset: step; }
.step { position: relative; padding: 1.4rem; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); }
.step .n { font-family: var(--display); font-weight: 700; font-size: 1.05rem; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--green); color: #fff; margin-bottom: .8rem; }
.step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { margin: 0; color: #aeb6bd; font-size: .93rem; }

/* ------------------------------------------------- Gallery (masonry columns) */
.masonry { columns: 4 220px; column-gap: 1rem; }
.masonry figure { margin: 0 0 1rem; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; }
.masonry img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figure figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .8rem .6rem; color: #fff; font-size: .82rem; font-family: var(--display); font-weight: 600;
  background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.masonry figure:hover figcaption { opacity: 1; transform: none; }
.gallery-more { text-align: center; margin-top: 2.2rem; }

/* ------------------------------------------------- Prep tips */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.tip .n { font-family: var(--display); font-weight: 700; color: var(--amber-d); font-size: .9rem; letter-spacing: .1em; margin-bottom: .5rem; }
.tip h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.tip p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* ------------------------------------------------- Carpentry band */
.band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.band .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.band .thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }

/* ------------------------------------------------- Service area */
.area-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.area-col h3 { font-size: 1.05rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.area-col h3 svg { width: 1.05em; height: 1.05em; color: var(--green); }
.area-col ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; }
.area-col li { font-size: .86rem; color: var(--ink-2); padding: .1rem 0; }

/* ------------------------------------------------- Contact */
.contact-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
.contact-info .lead { margin-bottom: 1.6rem; }
.contact-lines { display: grid; gap: .8rem; margin-top: 1.4rem; }
.cline { display: flex; align-items: center; gap: .9rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.cline:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cline .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(31,122,70,.10); color: var(--green); flex: 0 0 auto; }
.cline .ic svg { width: 20px; height: 20px; }
.cline .k { font-size: .76rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.cline .v { font-family: var(--display); font-weight: 600; }

.quote-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-md); }
.quote-form h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.quote-form .sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .84rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  padding: .72rem .9rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,122,70,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { font-size: .78rem; color: var(--ink-3); margin: .9rem 0 0; text-align: center; }

/* ------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: #c3cace; padding: clamp(2.6rem, 5vw, 4rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,.10); }
.site-footer .brand { color: #fff; font-size: 1.3rem; margin-bottom: .8rem; }
.site-footer p { color: #9aa2a8; font-size: .92rem; max-width: 40ch; }
.footer-col h4 { font-family: var(--display); color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: .9rem; }
.footer-col a { display: block; color: #a9b0b6; font-size: .92rem; padding: .22rem 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: .84rem; color: #7f878d; }
.footer-bottom a { color: #a9b0b6; }

/* ------------------------------------------------- Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 4vmin; background: rgba(12,14,16,.9); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); image-rendering: auto; }
.lightbox .lb-cap { position: absolute; bottom: 3vmin; left: 0; right: 0; text-align: center; color: #eee; font-family: var(--display); font-size: .95rem; }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .15s ease; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 3vmin; right: 3vmin; font-size: 1.4rem; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lightbox .lb-prev { left: 3vmin; }
.lightbox .lb-next { right: 3vmin; }

/* ------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------- Responsive */
@media (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .area-cols { grid-template-columns: repeat(2, 1fr); }
  .design-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header-cta .phone-link { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem clamp(1.1rem,4vw,2.2rem) 1.4rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; box-shadow: var(--shadow-md);
  }
  body.nav-open .nav { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav a.navlink { padding: .7rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 460px; }
  .statbar .container { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0; }
  .statbar .stat:nth-child(3) { border-left: 0; }
  .shapes, .colors-grid, .compare, .steps, .tips, .band, .contact-wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .values, .tips, .area-cols, .design-strip { grid-template-columns: 1fr; }
  .shape { grid-template-columns: 92px 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-sticker { left: 0; }
  .masonry { columns: 2 140px; }
}
