:root {
  --ivory: #f4f5f6;
  --bone: #e8ebee;
  --sand: #d9dee3;
  --line: #cdd3d9;
  --ink: #15181c;
  --ink-2: #2e343a;
  --muted: #5d666f;
  --red: #ed1c24;        /* exact Grout Geek logo red */
  --bronze: #c0141c;     /* accent for small text on light backgrounds (AA contrast) */
  --bronze-2: #ed1c24;   /* accent marks, lines, and text on dark backgrounds */
  --night: #0f1215;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(36px, 4.4vw, 62px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block;
  font: 600 12px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 640px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory);
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); }
.btn--line-light { background: transparent; color: var(--ivory); border-color: rgba(244,245,246,.6); }
.btn--line-light:hover { background: var(--ivory); color: var(--ink); }
.link-arrow { font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--bronze-2); padding-bottom: 6px; }
.link-arrow:hover { color: var(--bronze); }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--ivory); }
.hdr--solid, .hdr.is-scrolled { background: rgba(244,245,246,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 600 20px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; }
.brand__tag { font: 500 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; opacity: .75; margin-top: 8px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font: 500 13px/1 var(--sans); letter-spacing: .06em; text-decoration: none; opacity: .92; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--bronze-2); }
.hdr.is-scrolled .nav a:hover, .hdr--solid .nav a:hover { color: var(--bronze); }
.hdr__cta { display: flex; align-items: center; gap: 22px; }
.hdr__phone { font: 600 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.hdr .btn { padding: 14px 22px; white-space: nowrap; }
@media (max-width: 1320px) { .hdr__phone { display: none; } }
.hdr:not(.is-scrolled):not(.hdr--solid) .btn { background: transparent; border-color: rgba(244,245,246,.7); color: var(--ivory); }
.hdr:not(.is-scrolled):not(.hdr--solid) .btn:hover { background: var(--ivory); color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; }

@media (max-width: 1080px) {
  .nav, .hdr__phone { display: none; }
  .menu-btn { display: block; }
  .hdr.menu-open { background: var(--ivory); color: var(--ink); }
  .hdr.menu-open .nav {
    display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--ivory); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line);
  }
  .hdr.menu-open .nav a { padding: 16px 0; font-size: 16px; width: 100%; border-bottom: 1px solid var(--bone); }
}
@media (max-width: 560px) {
  .hdr .btn { display: none; }
  .brand__name { font-size: 17px; letter-spacing: .26em; }
}

/* Hero */
.hero { position: relative; min-height: min(94vh, 980px); display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,19,.5) 0%, rgba(13,16,19,0) 26%, rgba(13,16,19,.2) 52%, rgba(13,16,19,.8) 100%), linear-gradient(90deg, rgba(13,16,19,.45) 0%, rgba(13,16,19,0) 62%); }
.hero__in { position: relative; z-index: 1; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 140px; }
.hero .eyebrow, .band .eyebrow { color: var(--ivory); text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero .eyebrow::before, .band .eyebrow::before { background: var(--red); height: 2px; }
.hero h1 { max-width: 900px; margin-bottom: 26px; }
.hero__sub { max-width: 600px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(244,245,246,.9); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--short { min-height: min(72vh, 760px); }

/* Trust bar */
.trust { background: var(--night); color: rgba(244,245,246,.86); }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 26px 20px; text-align: center; font: 500 12.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-left: 1px solid rgba(244,245,246,.1); }
.trust__item:first-child { border-left: 0; }
.trust__item strong { display: block; font: 500 26px/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--bronze-2); margin-bottom: 6px; }
@media (max-width: 760px) { .trust__in { grid-template-columns: 1fr 1fr; } .trust__item:nth-child(3) { border-left: 0; } .trust__item { border-top: 1px solid rgba(244,245,246,.1); } }

/* Sections */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec--bone { background: var(--bone); }
.sec--night { background: var(--night); color: var(--ivory); }
.sec--night .lede, .sec--night .muted { color: rgba(244,245,246,.72); }
.sec__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec__head h2 { margin: 0; }
.sec__head p { margin: 0; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; gap: 20px; } }

/* Statement */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.statement__q { font: 500 clamp(32px, 3.6vw, 52px)/1.12 var(--serif); margin: 0 0 30px; }
.statement__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.statement__imgs figure:first-child { transform: translateY(-40px); }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } .statement__imgs figure:first-child { transform: none; } }
figure { margin: 0; }
.ph { position: relative; overflow: hidden; background: var(--sand); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ph--tall { aspect-ratio: 3/4; }
.ph--wide { aspect-ratio: 16/10; }
.ph--sq { aspect-ratio: 1/1; }
figcaption { font: 500 12px/1.5 var(--sans); letter-spacing: .08em; color: var(--muted); margin-top: 12px; }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.svc { text-decoration: none; display: block; }
.svc .ph { aspect-ratio: 4/5; margin-bottom: 24px; }
.svc:hover .ph img { transform: scale(1.045); }
.svc__n { font: 600 11px/1 var(--sans); letter-spacing: .22em; color: var(--bronze); display: block; margin-bottom: 12px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc .ph { aspect-ratio: 4/3; } }
.also { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; }
.also strong { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-right: 8px; }
.also span { color: var(--muted); font-size: 15px; }

/* Work strip */
.work-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.work-strip figure:first-child { grid-row: span 2; }
.work-strip .ph { height: 100%; min-height: 240px; }
.work-strip figure:first-child .ph { min-height: 520px; }
@media (max-width: 760px) { .work-strip { grid-template-columns: 1fr 1fr; } .work-strip figure:first-child { grid-column: span 2; grid-row: auto; } .work-strip figure:first-child .ph { min-height: 300px; } .work-strip .ph { min-height: 170px; } }
.real-note { display: flex; gap: 12px; align-items: center; margin-top: 26px; font-size: 14px; color: var(--muted); }
.real-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-2); flex: none; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(244,245,246,.16); }
.step { padding: 40px 30px 10px 0; border-right: 1px solid rgba(244,245,246,.1); padding-left: 30px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step__n { font: 500 54px/1 var(--serif); color: var(--bronze-2); display: block; margin-bottom: 22px; }
.step h3 { font-size: 26px; }
.step p { color: rgba(244,245,246,.7); font-size: 15.5px; }
.sec:not(.sec--night) .steps { border-top-color: var(--line); }
.sec:not(.sec--night) .step { border-right-color: var(--line); }
.sec:not(.sec--night) .step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step { padding: 34px 20px 0 0 !important; border-right: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 14px; height: 1px; background: var(--bronze); }
.sec--night .ticks li { border-bottom-color: rgba(244,245,246,.12); }

/* Reviews */
.review { max-width: 900px; margin: 0 auto; text-align: center; }
.review blockquote { font: 500 clamp(28px, 3.2vw, 44px)/1.25 var(--serif); margin: 0 0 30px; }
.review blockquote::before { content: "\201C"; display: block; font-size: 90px; line-height: .6; color: var(--bronze-2); margin-bottom: 18px; }
.review cite { font: 600 12px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.review__more { margin-top: 44px; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.area { position: relative; display: block; text-decoration: none; color: var(--ivory); overflow: hidden; }
.area .ph { aspect-ratio: 4/3; }
.area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,19,0) 30%, rgba(13,16,19,.55) 62%, rgba(13,16,19,.88)); }
.area__t small { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.area__t { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 1; }
.area__t small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); margin-bottom: 10px; }
.area__t span { font: 500 32px/1 var(--serif); }
.area:hover .ph img { transform: scale(1.05); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.more-areas { margin-top: 30px; color: var(--muted); font-size: 15px; }

/* Band */
.band { position: relative; color: var(--ivory); overflow: hidden; }
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,16,19,.86) 0%, rgba(13,16,19,.55) 55%, rgba(13,16,19,.2) 100%); }
.band__in { position: relative; z-index: 1; padding: clamp(90px, 12vw, 160px) 0; max-width: 620px; }
.band .eyebrow { color: var(--bronze-2); }
.band p { color: rgba(244,245,246,.85); }

/* CTA / form */
.cta { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }
.contact-lines { margin-top: 34px; display: grid; gap: 18px; }
.contact-lines a { text-decoration: none; }
.contact-lines small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 6px; }
.contact-lines span { font: 500 28px/1.1 var(--serif); }
.form { background: var(--ivory); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); }
.sec--bone .form { background: var(--ivory); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0 12px; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; border: 1px solid var(--line); padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); }
.field input[type="file"] { border: 1px dashed var(--line); padding: 16px; font-size: 14px; }
.field__hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form .btn { width: 100%; margin-top: 8px; }
.form__fine { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Page intro (for inner pages without big hero) */
.intro { padding: 170px 0 70px; }
.intro h1 { max-width: 980px; }

/* City page */
.surfaces { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; }
.surfaces li { padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 21px/1.3 var(--serif); }
@media (max-width: 600px) { .surfaces { grid-template-columns: 1fr; } }
.highlight { font: 500 clamp(26px, 2.6vw, 36px)/1.25 var(--serif); border-left: 2px solid var(--bronze-2); padding-left: 28px; margin: 40px 0; }

/* Service detail */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding: clamp(50px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-row__media { order: 0; } }

/* Gallery */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin-bottom: 22px; }
.gallery .ph { background: var(--sand); }

/* Footer */
.ftr { background: var(--night); color: rgba(244,245,246,.72); padding: 90px 0 36px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(244,245,246,.1); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr .brand { color: var(--ivory); margin-bottom: 22px; }
.ftr h4 { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); margin: 6px 0 20px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 10px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--ivory); }
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13px; color: rgba(244,245,246,.5); }

/* Reveal on scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero__img img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
  .callbar a { padding: 17px 10px; text-align: center; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
  .callbar a:first-child { background: var(--ivory); color: var(--ink); border-top: 1px solid var(--line); }
  .callbar a:last-child { background: var(--ink); color: var(--ivory); }
  body { padding-bottom: 52px; }
}

.city-lede { font: 500 clamp(26px, 2.5vw, 36px)/1.25 var(--serif); margin: 0; }

@media (max-width: 560px) { .eyebrow { font-size: 10.5px; letter-spacing: .16em; } .eyebrow::before { width: 18px; margin-right: 8px; } }

/* Estimate form: steps, progress, photos, states */
.form__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.form__title { font: 500 28px/1.1 var(--serif); margin: 0; }
.form__steplabel { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form__progress { height: 2px; background: var(--line); margin-bottom: 30px; }
.form__progress span { display: block; height: 100%; width: 50%; background: var(--bronze); transition: width .4s ease; }
.form:not(.is-stepped) .form__progress, .form:not(.is-stepped) .form__steplabel, .form:not(.is-stepped) [data-next], .form:not(.is-stepped) [data-back] { display: none; }
.form__nav { display: flex; gap: 12px; margin-top: 8px; }
.form__nav .btn { margin-top: 0; }
.form__nav .btn--ghost { flex: 0 0 auto; width: auto; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 10px; padding: 14px 14px; border: 1px solid var(--line); cursor: pointer; font: 500 14.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; transition: border-color .2s, background .2s; }
.choices input { accent-color: var(--bronze); width: auto; margin: 0; }
.choices label:has(input:checked) { border-color: var(--bronze); background: #fbefee; }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .choices label { border-color: #a3402b; }
.photo-drop { display: block; border: 1px dashed var(--bronze-2); padding: 22px; text-align: center; cursor: pointer; background: rgba(237,28,36,.03); }
.photo-drop strong { display: block; font: 500 20px/1.2 var(--serif); margin-bottom: 4px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.photo-drop span { font-size: 13px; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.photo-previews figure { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews button { position: absolute; inset: auto 4px 4px 4px; font: 600 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: rgba(13,16,19,.8); color: #fff; border: 0; padding: 6px; cursor: pointer; }
.photo-count { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form__status { font-size: 14.5px; margin-top: 14px; }
.form__status.is-error { color: #8a3322; background: #f6e7e2; padding: 12px 14px; }
.form__status a { font-weight: 600; }
.form__assure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.form__assure li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze-2); margin-right: 8px; vertical-align: middle; }
button[disabled] { opacity: .6; cursor: wait; }

/* v2 components */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font: 500 12px/1.4 var(--sans); letter-spacing: .06em; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.hero .crumbs { color: rgba(244,245,246,.85); }
.intro .crumbs { color: var(--muted); }
.hero--short h1 { font-size: clamp(40px, 5.2vw, 76px); }
.split--top { align-items: start; }
.prose { max-width: 860px; }
.prose-block { margin-bottom: 46px; }
.prose-block h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 18px; }
.prose-block p { font-size: 17.5px; color: var(--ink-2); }
.steps--compact .step h3 { font-size: 22px; }
.steps--compact { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .steps--compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps--compact { grid-template-columns: 1fr; } }

.guar { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guar__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(60px, 8vw, 100px) var(--gutter); }
.guar__in h2 { font-size: clamp(30px, 3.4vw, 46px); }
.guar__in .lede { margin: 0; }
.guar__seal { width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--bronze-2); display: grid; place-items: center; text-align: center; position: relative; }
.guar__seal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px dashed var(--bronze-2); }
.guar__seal span { font: 500 24px/1.05 var(--serif); color: var(--bronze); }
@media (max-width: 640px) { .guar__in { grid-template-columns: 1fr; } .guar__seal { width: 110px; height: 110px; } .guar__seal span { font-size: 19px; } }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs details:first-child { border-top: 1px solid var(--line); }
.faqs summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 500 22px/1.3 var(--serif); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 28px/1 var(--sans); color: var(--bronze); transition: transform .25s; }
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs details > div { padding: 0 0 22px; color: var(--ink-2); }
.faqs details > div p { margin: 0; }
.faq-group { margin-bottom: 70px; }
.faq-group h2 { font-size: clamp(28px, 2.8vw, 38px); }
.faq-group > p { margin-top: 18px; }

.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .links-grid { grid-template-columns: 1fr; } }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 12px 0; text-decoration: none; }
.link-list a:hover { color: var(--bronze); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); padding: 8px 14px; font-size: 14px; background: var(--ivory); }
.also a { color: var(--ink-2); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line); }
.also a:hover { color: var(--bronze); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { text-decoration: none; display: block; }
.guide-card .ph { margin-bottom: 18px; }
.guide-card h3 { margin-bottom: 8px; }
.guide-card p { color: var(--muted); font-size: 15px; }
.guide-card:hover .ph img { transform: scale(1.04); }

.article { display: grid; grid-template-columns: 280px 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.article__body { max-width: 760px; }
.toc { position: sticky; top: 110px; }
.toc ol { padding-left: 18px; margin: 0 0 30px; }
.toc li { margin-bottom: 10px; font-size: 14.5px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--bronze); }
.toc__cta { border-top: 1px solid var(--line); padding-top: 22px; }
.toc__cta p { font: 500 20px/1.2 var(--serif); }
.toc__cta .btn { width: 100%; padding: 15px 16px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .toc { position: static; } }

.contact-lines__sm { font-size: 20px !important; }
.ftr__guar { color: var(--bronze-2); font-size: 14px; }
.ftr__social { margin-top: 18px; font-size: 14px; }
.form legend { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; padding: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
@media (max-width: 760px) { .callbar { grid-template-columns: 1fr 1fr 1.3fr; } .callbar a:nth-child(2) { background: var(--bone); color: var(--ink); border-top: 1px solid var(--line); border-left: 1px solid var(--line); } }

/* contrast fixes */
.nav a[aria-current="page"] { color: inherit !important; opacity: 1; text-decoration: underline; text-decoration-color: var(--bronze-2); text-decoration-thickness: 1px; text-underline-offset: 7px; }
.hero--short::after { background: linear-gradient(180deg, rgba(13,16,19,.55) 0%, rgba(13,16,19,.25) 35%, rgba(13,16,19,.45) 65%, rgba(13,16,19,.82) 100%), linear-gradient(90deg, rgba(13,16,19,.62) 0%, rgba(13,16,19,.25) 55%, rgba(13,16,19,0) 80%); }
.hero h1, .hero__sub { text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.toc.rv { opacity: 1; transform: none; }
.form__steplabel { white-space: nowrap; }
@media (max-width: 480px) { .form { padding: 24px 18px; } .form__title { font-size: 24px; } }

/* Brand lockup (real Grout Geek logo) */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand__icon img { height: 46px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; gap: 7px; }
.brand__word img { height: 19px; width: auto; display: block; }
.brand .brand__tag { margin-top: 0; font-size: 9.5px; }
.brand .on-light { display: none !important; }
.hdr.is-scrolled .brand .on-dark, .hdr--solid .brand .on-dark, .hdr.menu-open .brand .on-dark { display: none !important; }
.hdr.is-scrolled .brand .on-light, .hdr--solid .brand .on-light, .hdr.menu-open .brand .on-light { display: block !important; }
.brand--footer { margin-bottom: 22px; }
@media (max-width: 560px) { .brand__icon img { height: 38px; } .brand__word img { height: 16px; } .brand .brand__tag { font-size: 8.5px; letter-spacing: .2em; } }

/* Geek personality layer */
.geek-tip { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 22px 24px; margin: 8px 0 46px; }
.geek-tip img { width: 54px; height: auto; }
.geek-tip strong { display: block; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }
.geek-tip p { margin: 0; font-size: 16.5px; color: var(--ink-2); }
.guar__seal { border-color: var(--red); }
.guar__seal::before { border-color: rgba(237,28,36,.45); }
.guar__seal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.guar__seal img { width: 52px; height: auto; position: relative; }
.guar__seal span { font-size: 17px; color: var(--ink); position: relative; }
@media (max-width: 640px) { .guar__seal img { width: 40px; } .guar__seal span { font-size: 14px; } }
.ftr__motto { font: 500 22px/1.2 var(--serif); color: var(--ivory); margin: 0 0 14px; }
.ask-geek { display: inline-flex; align-items: center; gap: 10px; }
.ask-geek img { width: 26px; height: auto; }
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
::selection { background: rgba(237,28,36,.18); }
.ftr__guar { color: rgba(244,245,246,.85) !important; border-left: 2px solid var(--red); padding-left: 12px; }
