/* CWN Painting & Epoxy — site.css
   Design plan (seed 6574 · quiet-luxury · variance 3 / motion 3 / density 5):
   Cinematic Center hero · Newsreader display + Geist body · fade-up reveals.
   Palette = pixel extraction of their logo card: gallery paper ground, graphite
   ink, skyline mint deepened to AA teal, skyline sand as the warm secondary. */

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/font/newsreader-500-latin.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/font/newsreader-600-latin.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/font/geist-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/font/geist-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/font/geist-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --paper: #F6F6F3;
  --paper-deep: #EDEEE8;
  --card: #FFFFFF;
  --ink: #15181C;
  --ink-2: #4A5058;
  --teal: #2E6B62;
  --teal-deep: #1E4A43;
  --teal-wash: #E4ECE8;
  --sand: #B99C7C;
  --sand-deep: #7A6248;
  --sand-wash: #F0E9DC;
  --line: #D9DAD2;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--teal); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-family: var(--sans); font-weight: 600; line-height: 1.3; }
p { max-width: 68ch; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--deep { background: var(--paper-deep); }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

/* Kicker: concrete (category · place), never a meta-label */
.kicker {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.nav-links { display: none; gap: 26px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--ink); }
.head-call { display: none; }

/* ---------- Hero (Cinematic Center) ---------- */
.hero {
  position: relative; min-height: clamp(560px, 88svh, 860px);
  display: grid; place-items: center; text-align: center;
  background: var(--ink); isolation: isolate; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 34%, rgba(10,14,18,0.60) 0%, rgba(10,14,18,0.77) 58%, rgba(10,14,18,0.90) 100%);
}
.hero__inner { padding: clamp(7rem, 16vh, 11rem) var(--pad) clamp(6rem, 14vh, 9rem); }
.hero .kicker { color: #CBD8D2; }
.hero h1 { color: #FCFCFA; margin: 18px auto 20px; max-width: 13ch; }
.hero__sub { color: #E4E7E2; font-size: clamp(1.02rem, 2.2vw, 1.2rem); max-width: 54ch; margin: 0 auto 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.hero__alt { display: block; margin-top: 18px; color: #B9C2BC; font-size: 0.92rem; }
.hero__alt a { color: #D9E2DC; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border-radius: 6px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none !important;
}
.btn--primary { background: var(--teal); color: #FFFFFF; }
.btn--primary:hover { background: var(--teal-deep); }
.btn--light { background: #FCFCFA; color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 42%, transparent); }
.btn--ghost:hover { border-color: currentColor; }

/* ---------- Proof band ---------- */
.proof { background: var(--ink); color: #ECEEE9; }
.proof__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: #2A2E34;
}
.proof__cell { background: var(--ink); padding: 26px 18px; text-align: center; }
.proof__num { font-family: var(--serif); font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 600; color: #FCFCFA; }
.proof__num em { font-style: normal; color: var(--sand); }
.proof__label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #A9B2AB; margin-top: 6px; }
.proof__note { text-align: center; color: #9BA49D; font-size: 0.8rem; padding: 14px 16px 22px; }
.proof__note a { color: #CBD8D2; }

/* ---------- Service cards (density 5) ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none !important; color: inherit;
}
.svc:hover { border-color: var(--teal); }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__img--chip { display: grid; place-items: center; background: radial-gradient(140% 120% at 20% 0%, var(--teal-wash), var(--paper-deep)); }
.svc__body { padding: 20px 22px 24px; }
.svc__body h3 { margin-bottom: 8px; }
.svc__body p { font-size: 0.95rem; color: var(--ink-2); }
.svc__more { margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--teal-deep); }

/* ---------- Finish chips (the signature) ---------- */
.finishes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 38px; }
.finish {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card);
}
.finish__swatch { height: 120px; position: relative; }
.finish__name { padding: 14px 16px 4px; font-weight: 600; font-size: 0.98rem; }
.finish__desc { padding: 0 16px 16px; font-size: 0.85rem; color: var(--ink-2); }
.sw-solid   { background: linear-gradient(135deg, #3C4046 0%, #23262B 55%, #17191D 100%); }
.sw-solid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.10) 50%, transparent 58%); }
.sw-flake   { background: #2E3237; }
.sw-flake::before {
  content: ''; position: absolute; inset: 0; opacity: 0.9;
  background-image:
    radial-gradient(circle at 18% 30%, #E8E4DA 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 67% 18%, #CFC9BB 0 1.2px, transparent 2px),
    radial-gradient(circle at 42% 62%, #9AA2A6 0 1.8px, transparent 2.6px),
    radial-gradient(circle at 82% 74%, #E2DDD2 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 28% 84%, #B7BDC0 0 1.2px, transparent 2px),
    radial-gradient(circle at 90% 40%, #DA D5C9 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 8% 70%, #E5E0D4 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 55% 8%, #C4C9CC 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 74% 52%, #8F979B 0 1.2px, transparent 2px);
  background-size: 90px 90px;
}
.sw-quartz  { background: linear-gradient(135deg, #565C60 0%, #3A3F44 60%, #2C3034 100%); }
.sw-quartz::before {
  content: ''; position: absolute; inset: 0; opacity: 0.85;
  background-image:
    radial-gradient(circle at 22% 26%, #E9ECEC 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 58% 54%, #D6DBDA 0 1px, transparent 1.7px),
    radial-gradient(circle at 78% 22%, #F0F2F1 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 38% 78%, #DFE3E2 0 1px, transparent 1.7px);
  background-size: 34px 34px;
}
.sw-metallic{ background:
  radial-gradient(90% 130% at 30% 20%, rgba(214,196,168,0.55), transparent 55%),
  radial-gradient(110% 120% at 78% 80%, rgba(122,140,138,0.5), transparent 60%),
  linear-gradient(120deg, #4A4238 0%, #6B5F4E 45%, #3E4342 100%);
}
.finish-note { font-size: 0.8rem; color: var(--ink-2); margin-top: 16px; }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 42px; }
.gal__item {
  position: relative; border-radius: 10px; overflow: hidden; background: var(--paper-deep);
  border: 1px solid var(--line);
}
.gal__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gal__item--tall img { aspect-ratio: 3 / 4; }
.gal__num {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  background: rgba(21, 24, 28, 0.72); color: #FCFCFA;
  padding: 4px 9px; border-radius: 4px;
}

/* ---------- Reviews ---------- */
.revs { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
.rev {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px;
}
.rev__stars { color: var(--sand-deep); letter-spacing: 3px; font-size: 0.95rem; }
.rev__text { font-family: var(--serif); font-size: 1.06rem; line-height: 1.5; color: var(--ink); }
.rev__meta { font-size: 0.82rem; color: var(--ink-2); margin-top: auto; }
.rev__meta strong { color: var(--ink); font-weight: 600; }

/* ---------- Quote / CTA bands ---------- */
.quote-band {
  background:
    radial-gradient(130% 120% at 85% 0%, var(--sand-wash), transparent 55%),
    var(--paper-deep);
}
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.35rem, 3.4vw, 2.1rem); line-height: 1.35; font-weight: 500; max-width: 30ch; text-wrap: balance; }
.cta-band { background:
    radial-gradient(120% 140% at 15% 0%, rgba(185,156,124,0.16), transparent 52%),
    var(--teal-deep);
  color: #EFF3F0; text-align: center;
}
.cta-band h2 { color: #FCFCFA; }
.cta-band p { color: #C9D6D0; margin: 16px auto 30px; max-width: 52ch; }
.cta-band .btn--primary { background: #FCFCFA; color: var(--teal-deep); }
.cta-band .btn--primary:hover { background: #FFFFFF; }
.cta-band__alt { margin-top: 16px; color: #A9BFB7; font-size: 0.92rem; }
.cta-band__alt a { color: #D9E5DF; }

/* ---------- About / area ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.area-chip {
  border: 1px solid var(--line); background: var(--card);
  padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; color: var(--ink-2);
}
.fact-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.fact-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 0.97rem; }
.fact-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-2px); }
.fact-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #B9C0BA; padding: 56px 0 120px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.site-foot .brand { color: #FCFCFA; }
.site-foot .foot-h { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8E9791; margin-bottom: 12px; font-weight: 600; }
.site-foot a { color: #D9E0DA; }
.foot-list { list-style: none; display: grid; gap: 8px; font-size: 0.92rem; }
.foot-note { border-top: 1px solid #2A2E34; margin-top: 40px; padding-top: 22px; font-size: 0.8rem; color: #7E8781; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Mobile action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar__text {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; color: #FCFCFA; font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px solid #2A2E34;
}
.actionbar__text svg { width: 16px; height: 16px; }
.actionbar__row { display: flex; }
.actionbar__row a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; color: #E4E7E2; font-weight: 600; font-size: 0.92rem;
}
.actionbar__row a + a { border-left: 1px solid #2A2E34; }
.actionbar__row .call { color: #FFFFFF; background: var(--teal); }
.actionbar__row svg { width: 15px; height: 15px; }

.star { width: 0.72em; height: 0.72em; display: inline-block; vertical-align: baseline; }
.proof__num .star { color: var(--sand); width: 0.6em; height: 0.6em; }
.rev__stars .star { color: var(--sand-deep); margin-right: 2px; }

/* ---------- Reveal (motion 3: fade-up, 550ms, stagger 70ms, fire once) ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 550ms ease, transform 550ms ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Grain (palette doctrine: depth on every field) ---------- */
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.045;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 404 ---------- */
.p404 { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 80px var(--pad); }
.p404 h1 { font-size: clamp(3rem, 9vw, 5.5rem); }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .nav-links { display: flex; }
  .head-call { display: inline-flex; }
  .actionbar { display: none; }
  .site-foot { padding-bottom: 56px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal__item--wide { grid-column: span 2; }
  .revs { grid-template-columns: repeat(3, 1fr); }
  .revs--two { grid-template-columns: repeat(2, 1fr); }
  .finishes { grid-template-columns: repeat(4, 1fr); }
  .proof__grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .revs { grid-template-columns: repeat(2, 1fr); }
  .finishes { grid-template-columns: repeat(2, 1fr); }
}

.site-foot .brand span small { color: #A9B2AB; }
.proof__note a { text-decoration: underline; text-underline-offset: 3px; }
