/* =====================================================================
   NICHE CONSTRUCTION — palette + type system
   Matches the NICHE Brand Guideline v2.0 exactly: navy/near-white/copper/
   slate, Sora + Inter (shared with Glow by Niche), hard edges, no
   shadows/blur/gradients on cards or the mark.
   ===================================================================== */
:root{
  /* --- surfaces (navy, per guideline tokens.json) --- */
  --bg: #0f2647;       /* navy */
  --bg-alt: #0b1d38;
  --panel: #0f2647;    /* flat navy panel — no translucency */
  --line: rgba(15,38,71,.4);        /* hairline, lifted for use on dark */
  --line-soft: rgba(255,255,255,.14);

  /* --- ink --- */
  --text: #eef4fb;          /* near-white */
  --text-dim: #93a9c2;      /* text-muted, lifted for dark ground */
  --ivory: #eef4fb;
  --ink: #0f2647;           /* primary — display type on near-white */

  /* --- copper + slate --- */
  --copper: #d98b4f;
  --copper-soft: #e6a874;
  --amber: #d98b4f;
  --steel: #6b7c93;         /* slate */
  --focus: #d98b4f;
  --on-accent: #0f2647;     /* text on copper fills — never white */

  --radius: 0px;            /* hard-edged: cards, photos, dividers, emblem */
  --radius-sm: 2px;         /* buttons, tags */
  --radius-tile: 20%;       /* app icon / favicon tiles */
  --radius-full: 50%;       /* circular badges */
  --wrap: 1160px;

  /* --- two typefaces (guideline: Sora display, Inter body/UI) --- */
  --ff-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --ff-mono: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ff-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero: clamp(2.3rem, 5vw, 4rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-lede: clamp(1.02rem, 1.25vw, 1.15rem);
  --fs-body: 1.02rem;
  --fs-small: .93rem;
  --fs-micro: .82rem;
  --fs-eyebrow: .78rem;

  --tr-hero: -.01em;
  --tr-h2: -.005em;
  --tr-h3: .02em;
  --tr-label: .12em;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--ff-body); line-height:1.55; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
p{ margin:0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--copper); outline-offset:3px; border-radius:4px;
}

@media (prefers-reduced-transparency: reduce){
  .site-header, .mobile-bar{ backdrop-filter:none !important; -webkit-backdrop-filter:none !important; background:var(--bg-alt) !important; }
}

/* ---------- typography ---------- */
h1,h2,h3,h4{ font-family:var(--ff-display); font-weight:800; margin:0; line-height:1.16; }
h1{ font-size:var(--fs-hero); letter-spacing:var(--tr-hero); line-height:1.08; }
h2{ font-size:var(--fs-h2); letter-spacing:var(--tr-h2); }
h3{ font-size:var(--fs-h3); font-weight:800; }
h4{ font-size:var(--fs-small); font-weight:800; }

.section-title::after{ content:""; display:block; width:44px; height:2px; background:var(--copper); opacity:.7; margin:16px 0 0; }
.center.section-title::after{ margin-left:auto; margin-right:auto; }

.eyebrow{ font-family:var(--ff-mono); text-transform:uppercase; letter-spacing:var(--tr-label); font-size:var(--fs-eyebrow); color:var(--copper); margin:0 0 12px; }
.eyebrow::before{ content:"// "; color:var(--steel); }
.eyebrow.center{ text-align:center; }
.center{ text-align:center; }

.tag, .btn, .nav a, .card-link, .faq-list summary, .footer-inner .legal, .quick-contact a, .mobile-bar a, .trust-item span{
  font-family:var(--ff-mono); text-transform:uppercase; letter-spacing:var(--tr-label);
}
p{ font-family:var(--ff-body); }
.section-sub{ color:var(--text-dim); line-height:1.65; font-size:var(--fs-lede); }

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

/* ---------- header ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:var(--bg); border-bottom:1px solid var(--line); }
.header-inner{ display:flex; align-items:center; gap:24px; height:76px; }
.logo{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.logo .mark{ height:33px; width:31.7px; flex-shrink:0; color:var(--copper); }
.logo .mark path{ fill:currentColor; }
.logo-text{ font-family:var(--ff-display); font-weight:800; font-size:1.1rem; letter-spacing:.01em; line-height:1; }
.logo-text span{ display:block; font-family:var(--ff-mono); font-size:.5em; letter-spacing:.28em; color:var(--copper); margin-top:4px; }
.nav{ display:flex; gap:24px; align-items:center; }
.nav a{ color:var(--text-dim); font-size:var(--fs-micro); transition:color .2s ease; }
.nav a:hover{ color:var(--text); }
.nav .sister-link{ color:var(--steel); border:1px solid var(--line); border-radius:var(--radius-sm); padding:6px 12px; font-size:.7rem; }
.nav .sister-link:hover{ color:var(--copper-soft); border-color:var(--copper); }
.header-phone{ display:flex; align-items:center; gap:8px; color:var(--text-dim); font-size:var(--fs-micro); font-family:var(--ff-mono); white-space:nowrap; }
.header-phone svg{ width:16px; height:16px; }
.header-phone:hover{ color:var(--copper-soft); }
.header-cta{ white-space:nowrap; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:22px; height:2px; background:var(--text); display:block; }
body.nav-open .nav{ display:flex; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:56px; padding:0 28px;
  border-radius:var(--radius-sm);
  font-family:var(--ff-body);
  font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  border:1.5px solid transparent; cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.btn::after{ content:"→"; margin-left:10px; font-weight:400; }
.btn-primary{ background:var(--ivory); color:var(--ink); border-color:var(--ivory); }
.btn-primary:hover{ background:var(--copper); border-color:var(--copper); color:var(--on-accent); }
.btn-outline{ background:transparent; border-color:var(--line); color:var(--text); }
.btn-outline:hover{ border-color:var(--copper); color:var(--copper-soft); }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; padding:64px 0 84px; }
.hero .bg{
  position:absolute; inset:0;
  background-color:var(--bg);
  background-image:
    linear-gradient(100deg, rgba(15,38,71,.95) 38%, rgba(15,38,71,.5)), url('images/kitchen-remodel-real.jpg');
  background-size:cover, cover;
  background-position:center, center;
}
.hero-inner{ position:relative; max-width:640px; }
.hero h1{ margin:0 0 20px; text-transform:uppercase; }
.hero h1 em{ font-style:normal; color:var(--copper); }
.hero-sub{ color:var(--text-dim); font-size:var(--fs-lede); max-width:520px; margin:0 0 30px; line-height:1.65; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:26px; }
.pillars{ font-family:var(--ff-body); font-size:.74rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--copper-soft); margin:22px 0 0; }
.pillars span{ color:var(--text-dim); margin:0 8px; font-weight:400; }
.quick-contact{ display:flex; flex-wrap:wrap; gap:18px; }
.quick-contact a{ display:flex; align-items:center; gap:7px; color:var(--text-dim); font-size:.72rem; }
.quick-contact a svg{ width:16px; height:16px; }
.quick-contact a:hover{ color:var(--copper-soft); }

/* ---------- trust strip ---------- */
.trust-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg-alt); }
.trust-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:24px; padding:26px 24px; }
.trust-item{ display:flex; flex-direction:column; gap:2px; }
.trust-item strong{ font-family:var(--ff-display); font-size:1.5rem; font-weight:800; color:var(--copper-soft); }
.trust-item span{ color:var(--text-dim); font-size:.68rem; }

/* ---------- founder ---------- */
.founder{ padding:90px 0; }
.founder-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.founder-photos{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.founder-photos img{ border-radius:var(--radius); object-fit:cover; width:100%; height:100%; border:1px solid var(--line-soft); }
.founder-photos .ph-round{ grid-column:1/2; border-radius:var(--radius); aspect-ratio:1/1; }
.founder-photos .ph-tall{ grid-column:2/3; grid-row:1/3; aspect-ratio:2/3; }
.founder-photos .ph-wide{ grid-column:1/2; aspect-ratio:1/1; }
.founder-copy p{ color:var(--text-dim); margin:0 0 16px; line-height:1.7; }
.value-row{ display:flex; flex-wrap:wrap; gap:26px; margin:30px 0; padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.value-item{ flex:1 1 160px; }
.value-item h4{ color:var(--copper-soft); margin-bottom:6px; text-transform:uppercase; letter-spacing:var(--tr-h3); font-size:.9rem; }
.value-item p{ color:var(--text-dim); font-size:var(--fs-small); line-height:1.6; }

/* ---------- services ---------- */
.services{ padding:90px 0; background:var(--bg-alt); }
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; margin-top:48px; }
.service-card{
  position:relative; background:var(--bg);
  border:1px solid var(--line-soft); border-radius:var(--radius);
  padding:28px 24px; display:flex; flex-direction:column; gap:12px;
  transition:border-color .2s ease;
}
.service-card:hover{ border-color:var(--copper); }
.service-card.featured{ border-color:var(--copper); }
.service-card .price-badge{ position:absolute; top:-11px; left:24px; font-family:var(--ff-body); font-size:.64rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; background:var(--copper); color:var(--on-accent); padding:5px 11px; border-radius:var(--radius-sm); }
.service-card h3{ font-size:1rem; text-transform:uppercase; }
.service-card p{ color:var(--text-dim); font-size:var(--fs-small); line-height:1.6; flex:1; }
.service-card .tag{ font-size:.62rem; color:var(--steel); letter-spacing:.14em; }
.service-card .card-link{ font-size:.74rem; color:var(--copper-soft); }
.service-card .card-link:hover{ color:var(--copper); }

/* cross-sell plate (lighting) */
.crosssell-note{
  margin-top:18px; display:flex; align-items:center; gap:24px; flex-wrap:wrap;
  background:var(--bg);
  border:1px solid var(--line-soft); border-radius:var(--radius); padding:20px 26px;
}
.crosssell-tag{ flex-shrink:0; font-family:var(--ff-body); font-size:.64rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--on-accent); background:var(--steel); padding:6px 12px; border-radius:var(--radius-sm); }
.crosssell-copy{ flex:1 1 260px; }
.crosssell-note strong{ display:block; font-family:var(--ff-display); text-transform:uppercase; font-size:.92rem; color:var(--text); margin-bottom:4px; }
.crosssell-note span{ color:var(--text-dim); font-size:.84rem; line-height:1.5; }
.crosssell-note a{ color:var(--copper-soft); font-weight:700; }
.crosssell-note a:hover{ color:var(--copper); }
@media (max-width:640px){ .crosssell-note{ flex-direction:column; align-items:flex-start; } }

/* ---------- gallery ---------- */
.gallery{ padding:90px 0; }
.gallery-group{ margin-bottom:56px; }
.gallery-group:last-child{ margin-bottom:0; }
.gallery-group h3{ margin-bottom:20px; font-size:var(--fs-h3); text-transform:uppercase; }
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
.gallery-grid img{ border-radius:var(--radius); aspect-ratio:4/3; object-fit:cover; width:100%; border:1px solid var(--line-soft); }
.gallery-note{ color:var(--text-dim); font-size:var(--fs-small); line-height:1.7; max-width:640px; margin-top:18px; }

/* ---------- CTA banner ---------- */
.cta-banner{ padding:70px 0; text-align:center; background:linear-gradient(135deg, var(--panel), var(--bg-alt)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.cta-banner h2{ margin-bottom:14px; text-transform:uppercase; }
.cta-banner p{ color:var(--text-dim); max-width:520px; margin:0 auto 28px; line-height:1.65; }

/* ---------- FAQ ---------- */
.faq{ padding:90px 0; }
.faq-list{ max-width:760px; margin:44px auto 0; display:flex; flex-direction:column; gap:2px; }
.faq-list details{ border-bottom:1px solid var(--line-soft); padding:20px 0; }
.faq-list summary{ cursor:pointer; font-size:var(--fs-small); color:var(--text); list-style:none; display:flex; justify-content:space-between; gap:16px; text-transform:none; letter-spacing:normal; font-family:var(--ff-body); font-weight:600; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:"+"; font-family:var(--ff-mono); font-size:1.2rem; color:var(--copper); flex-shrink:0; }
.faq-list details[open] summary::after{ content:"\2212"; }
.faq-list p{ color:var(--text-dim); margin-top:14px; line-height:1.7; font-size:var(--fs-small); }

/* ---------- footer ---------- */
.site-footer{ padding:52px 0 90px; border-top:1px solid var(--line); background:var(--bg-alt); }
.footer-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; }
.footer-inner p{ color:var(--text-dim); font-size:var(--fs-small); margin:10px 0 0; }
.footer-inner .sister{ margin-top:14px; line-height:1.5; }
.footer-inner .sister a{ color:var(--copper-soft); font-weight:700; }
.footer-inner .sister a:hover{ color:var(--copper); }
.footer-inner .legal{ font-size:.72rem; color:var(--text-dim); margin-top:14px; opacity:.8; }
.footer-contact{ display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.footer-phone{ font-family:var(--ff-display); font-size:1.2rem; font-weight:800; color:var(--copper-soft); }
.footer-contact a:not(.footer-phone):hover{ color:var(--copper-soft); }
.socials{ display:flex; gap:14px; }
.socials svg{ width:20px; height:20px; color:var(--text-dim); }
.socials a:hover svg{ color:var(--copper-soft); }
.sign-off{ width:100%; margin-top:18px; font-family:var(--ff-display); font-weight:700; font-size:1.05rem; color:var(--copper-soft); text-transform:uppercase; }
.copy{ width:100%; border-top:1px solid var(--line-soft); margin-top:30px; padding-top:22px; font-size:.72rem; color:var(--text-dim); font-family:var(--ff-mono); }

/* ---------- mobile action bar ---------- */
.mobile-bar{ position:fixed; bottom:0; left:0; right:0; z-index:50; display:none; grid-template-columns:1fr 1fr 1fr 1.4fr; background:var(--bg); border-top:1px solid var(--line); }
.mobile-bar a{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 4px; color:var(--text-dim); font-size:.6rem; font-family:var(--ff-mono); text-transform:uppercase; }
.mobile-bar a svg{ width:18px; height:18px; }
.mobile-bar-cta{ background:var(--copper); color:var(--ink) !important; justify-content:center; font-weight:700; }

/* ---------- reveal ---------- */
.service-card, .value-item{ opacity:0; transform:translateY(18px); transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.service-card.in-view, .value-item.in-view{ opacity:1; transform:translateY(0); }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .founder-grid{ grid-template-columns:1fr; }
  .nav{ display:none; }
  body.nav-open .nav{ display:flex; position:absolute; top:76px; left:0; right:0; background:var(--bg-alt); flex-direction:column; padding:16px 24px; border-bottom:1px solid var(--line); gap:14px; z-index:60; }
  .header-phone{ display:none; }
  .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width:760px){
  .mobile-bar{ display:grid; }
  .site-footer{ padding-bottom:110px; }
}
