/* ==========================================================================
   CCRW Construction Management
   Black / White / Gold design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root{
  --black:#080808;
  --ink:#0E0E0F;
  --panel:#131315;
  --panel-2:#1A1A1D;
  --bone:#F5F2EC;
  --white:#FFFFFF;
  --muted:#9C978D;
  --muted-2:#6E6A63;

  --gold:#C9A227;
  --gold-lt:#E9CE77;
  --gold-pale:#F3E4B4;
  --gold-dk:#8A6C13;

  --line:rgba(201,162,39,.20);
  --line-soft:rgba(255,255,255,.09);

  --grad-gold:linear-gradient(120deg,#8A6C13 0%,#C9A227 28%,#F3E4B4 52%,#C9A227 74%,#8A6C13 100%);
  --grad-text:linear-gradient(105deg,#B8901C 0%,#DFBE55 22%,#F0DFA6 42%,#D8B843 62%,#C9A227 82%,#A9861B 100%);
  --grad-text-hero:linear-gradient(105deg,#D9B845 0%,#F0DFA6 30%,#F7EDC9 50%,#E9CE77 72%,#D2AE38 100%);

  /* Display face. Guild B Text is the brand reference but is a paid CSTM
     Fonts licence; swap the first name here once a webfont licence exists. */
  --serif:"Spectral",Georgia,"Times New Roman",serif;
  --sans:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --caps-track:.055em;

  --wrap:1200px;
  --gut:clamp(20px,5vw,48px);
  --sec:clamp(72px,10vw,140px);

  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
}
body{
  margin:0;
  background:var(--black);
  color:var(--bone);
  font-family:var(--sans);
  font-size:16.5px;
  line-height:1.72;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
h1,h2,h3,h4{
  margin:0;font-family:var(--serif);font-weight:600;
  text-transform:uppercase;letter-spacing:var(--caps-track);
  line-height:1.14;
}
h1{line-height:1.06}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}
::selection{background:var(--gold);color:#000}

/* ---------- Layout ---------- */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.wrap-wide{max-width:1440px}
.section{padding-block:var(--sec);position:relative}
.section--tight{padding-block:clamp(56px,7vw,96px)}
.section--panel{background:var(--ink);border-block:1px solid var(--line-soft)}

.grid{display:grid;gap:clamp(24px,4vw,56px)}
@media(min-width:900px){
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .split{grid-template-columns:1.05fr .95fr;align-items:center}
  .split-wide{grid-template-columns:1fr 1.25fr;align-items:center}
}
@media(min-width:600px) and (max-width:899px){
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
}

/* ---------- Type helpers ---------- */
.eyebrow{
  display:flex;align-items:center;gap:.75rem;
  font-family:var(--sans);font-size:.68rem;font-weight:600;
  letter-spacing:.28em;text-transform:uppercase;
  color:var(--gold);margin:0 0 1.25rem;
}
.eyebrow::before{
  content:"";width:34px;height:1px;flex:none;
  background:var(--grad-gold);
}
.eyebrow--center{justify-content:center}
.eyebrow--center::after{content:"";width:34px;height:1px;flex:none;background:var(--grad-gold)}

.h-xl{font-size:clamp(2.3rem,6.2vw,4.4rem)}
.h-lg{font-size:clamp(1.75rem,3.9vw,2.75rem)}
.h-md{font-size:clamp(1.4rem,2.7vw,2rem)}
.h-sm{font-size:clamp(1.05rem,1.7vw,1.25rem)}

.lede{font-size:clamp(1.05rem,1.7vw,1.22rem);color:#CFC9BE;line-height:1.75;max-width:60ch}
.dim{color:var(--muted)}
.gold{color:var(--gold)}
.center{text-align:center}
.center .lede{margin-inline:auto}
.measure{max-width:62ch}
.gold-text{
  background:var(--grad-text);
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
}
.pillar b,.step__n,.card__num,.stat b,.crumbs,.eyebrow{
  font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1,"tnum" 1;
}
.rule{height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent);border:0;margin:0}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:1rem 1.9rem;border-radius:2px;border:1px solid transparent;
  font-family:var(--sans);font-size:.76rem;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;
  cursor:pointer;transition:all .35s var(--ease);position:relative;overflow:hidden;
}
.btn svg{width:14px;height:14px;flex:none;transition:transform .35s var(--ease)}
.btn:hover svg{transform:translateX(4px)}

.btn-gold{background:var(--grad-gold);background-size:200% 100%;color:#0A0A0A;background-position:0% 50%}
.btn-gold:hover{background-position:100% 50%;box-shadow:0 10px 34px -12px rgba(201,162,39,.75)}

.btn-ghost{border-color:rgba(255,255,255,.24);color:var(--bone)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold);background:rgba(201,162,39,.06)}

.btn-dark{background:#0A0A0A;color:var(--gold);border-color:rgba(201,162,39,.4)}
.btn-dark:hover{background:var(--gold);color:#0A0A0A;border-color:var(--gold)}

.btn-block{width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.2rem}
.btn-row--center{justify-content:center}

.txtlink{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.74rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold);padding-bottom:.35rem;
  border-bottom:1px solid rgba(201,162,39,.3);transition:.3s var(--ease);
}
.txtlink svg{width:13px;height:13px;flex:none;transition:transform .3s var(--ease)}
.txtlink:hover{border-color:var(--gold);gap:.85rem}
.txtlink:hover svg{transform:translateX(3px)}

/* ---------- Header ---------- */
.hdr{
  position:fixed;inset:0 0 auto;z-index:120;
  transition:background .4s var(--ease),border-color .4s,backdrop-filter .4s,padding .4s;
  border-bottom:1px solid transparent;
  padding-block:1.1rem;
}
.hdr.is-stuck{
  background:rgba(8,8,8,.9);backdrop-filter:blur(16px);
  border-bottom-color:var(--line-soft);padding-block:.7rem;
}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:clamp(30px,4.4vw,42px);width:auto;transition:height .4s var(--ease)}
.hdr.is-stuck .brand img{height:clamp(26px,3.6vw,34px)}

.nav{display:none;align-items:center;gap:2.1rem}
@media(min-width:1000px){.nav{display:flex}}
.nav a{
  font-size:.72rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;
  color:#D8D3C9;position:relative;padding-block:.4rem;transition:color .3s;
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:1px;width:0;
  background:var(--grad-gold);transition:width .35s var(--ease);
}
.nav a:hover,.nav a[aria-current="page"]{color:var(--gold)}
.nav a:hover::after,.nav a[aria-current="page"]::after{width:100%}

.hdr__cta{display:none}
@media(min-width:1000px){.hdr__cta{display:inline-flex;padding:.8rem 1.5rem;font-size:.7rem}}

.burger{
  display:inline-flex;flex-direction:column;justify-content:center;gap:6px;
  width:46px;height:46px;padding:0 11px;background:none;border:1px solid var(--line-soft);
  border-radius:2px;cursor:pointer;transition:border-color .3s;
}
@media(min-width:1000px){.burger{display:none}}
.burger:hover{border-color:var(--gold)}
.burger span{display:block;height:1.5px;background:var(--bone);transition:transform .35s var(--ease),opacity .2s}
.burger span:nth-child(2){width:70%;margin-left:auto;background:var(--gold)}
body.menu-open .burger span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}

/* Mobile drawer */
.drawer{
  position:fixed;inset:0;z-index:110;background:var(--black);
  display:flex;flex-direction:column;justify-content:center;
  padding:6rem var(--gut) 3rem;
  opacity:0;visibility:hidden;transform:translateY(-12px);
  transition:opacity .4s var(--ease),transform .4s var(--ease),visibility .4s;
}
body.menu-open .drawer{opacity:1;visibility:visible;transform:none}
body.menu-open{overflow:hidden}
.drawer a.drawer__link{
  font-family:var(--serif);font-size:clamp(2rem,9vw,3rem);font-weight:600;
  padding-block:.5rem;border-bottom:1px solid var(--line-soft);
  display:flex;align-items:baseline;gap:1rem;transition:color .3s,padding-left .3s;
}
.drawer a.drawer__link:hover{color:var(--gold);padding-left:.6rem}
.drawer a.drawer__link i{
  font-style:normal;font-family:var(--sans);font-size:.6rem;
  letter-spacing:.2em;color:var(--gold);opacity:.6;
}
.drawer__foot{margin-top:2.5rem;display:grid;gap:1rem}
.drawer__foot .btn{width:100%}
.drawer__meta{font-size:.8rem;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}

/* ---------- Decorative backgrounds ---------- */
.blueprint::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:
    linear-gradient(rgba(201,162,39,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(201,162,39,.055) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 90% 70% at 50% 40%,#000 20%,transparent 78%);
  mask-image:radial-gradient(ellipse 90% 70% at 50% 40%,#000 20%,transparent 78%);
}
.glow::after{
  content:"";position:absolute;pointer-events:none;
  width:min(900px,110vw);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(201,162,39,.16),transparent 62%);
  top:-30%;left:50%;transform:translateX(-50%);filter:blur(20px);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:100svh;display:flex;align-items:center;
  padding-block:clamp(118px,15vh,160px) clamp(72px,11vh,104px);
  overflow:hidden;isolation:isolate;
}
.hero__bg{position:absolute;inset:0;z-index:-3;background:
  radial-gradient(ellipse 70% 60% at 78% 18%,rgba(201,162,39,.15),transparent 60%),
  radial-gradient(ellipse 90% 80% at 12% 90%,rgba(201,162,39,.07),transparent 62%),
  var(--black);
}

/* ---------- Hero video ---------- */
.hero__media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--black)}
.hero__media video,
.hero__media img.hero__poster{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.hero__media video{opacity:0;transition:opacity 1.2s var(--ease)}
.hero__media video.is-playing{opacity:1}
/* Scrim. Solved against every frame of the graded footage so the headline
   keeps >=7:1 and the gold line >=4.5:1, while the lower right of the frame
   stays almost clear (22%) and the footage actually reads. */
.hero__scrim{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(6,6,6,.92) 0%,rgba(6,6,6,.86) 55%,rgba(6,6,6,.52) 76%,
      rgba(6,6,6,.24) 92%,rgba(6,6,6,.22) 100%),
    linear-gradient(180deg,
      rgba(6,6,6,.80) 0%,rgba(6,6,6,.46) 30%,rgba(6,6,6,.30) 66%,rgba(6,6,6,.72) 100%),
    radial-gradient(ellipse 58% 52% at 84% 30%,rgba(201,162,39,.20),transparent 64%);
}
@media(max-width:760px){
  .hero__scrim{
    background:
      linear-gradient(180deg,rgba(6,6,6,.86) 0%,rgba(6,6,6,.66) 28%,rgba(6,6,6,.74) 64%,rgba(6,6,6,.94) 100%),
      radial-gradient(ellipse 90% 40% at 70% 18%,rgba(201,162,39,.16),transparent 65%);
  }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:100svh;display:flex;align-items:center;
  padding-block:clamp(118px,15vh,160px) clamp(72px,11vh,104px);
  overflow:hidden;isolation:isolate;
}
.hero__bg{position:absolute;inset:0;z-index:-3;background:
  radial-gradient(ellipse 70% 60% at 78% 18%,rgba(201,162,39,.15),transparent 60%),
  radial-gradient(ellipse 90% 80% at 12% 90%,rgba(201,162,39,.07),transparent 62%),
  var(--black);
}

/* ---------- Hero video ---------- */
.hero__media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:var(--black)}
.hero__media video,
.hero__media img.hero__poster{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.hero__media video{opacity:0;transition:opacity 1.2s var(--ease)}
.hero__media video.is-playing{opacity:1}
/* Scrim: keeps the headline legible over any frame of the footage. */
.hero__scrim{
  position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(6,6,6,.94) 0%,rgba(6,6,6,.82) 42%,rgba(6,6,6,.42) 72%,rgba(6,6,6,.6) 100%),
    linear-gradient(180deg,rgba(6,6,6,.86) 0%,rgba(6,6,6,.28) 34%,rgba(6,6,6,.5) 72%,rgba(6,6,6,.9) 100%),
    radial-gradient(ellipse 60% 55% at 82% 24%,rgba(201,162,39,.16),transparent 62%);
}
@media(max-width:760px){
  .hero__scrim{
    background:
      linear-gradient(180deg,rgba(6,6,6,.9) 0%,rgba(6,6,6,.72) 30%,rgba(6,6,6,.8) 66%,rgba(6,6,6,.95) 100%),
      radial-gradient(ellipse 90% 40% at 70% 18%,rgba(201,162,39,.15),transparent 65%);
  }
}
.hero__in{position:relative;z-index:2;max-width:960px}
.hero h1{font-size:clamp(2.05rem,5.6vw,4.15rem);line-height:1.1;margin-bottom:1.5rem}
.hero h1 .gold-text{background:var(--grad-text-hero);-webkit-background-clip:text;background-clip:text}
.hero h1,.hero__lede{text-shadow:0 2px 26px rgba(0,0,0,.55)}
.hero h1 em{font-style:normal;display:block}
.hero__underline{
  display:block;width:clamp(180px,32vw,330px);height:10px;margin-top:.5rem;
}
.hero__lede{max-width:62ch;font-size:clamp(1.05rem,1.75vw,1.28rem);color:#D2CCC1}
.hero__pillars{
  margin-top:clamp(2rem,4.5vh,3.4rem);
  display:grid;gap:1px;background:var(--line-soft);
  border:1px solid var(--line-soft);
}
@media(min-width:760px){.hero__pillars{grid-template-columns:repeat(4,1fr)}}
.pillar{background:var(--black);padding:1.5rem 1.4rem;transition:background .4s}
.pillar:hover{background:var(--panel)}
.pillar b{
  display:block;font-family:var(--serif);font-size:1.35rem;font-weight:600;
  letter-spacing:.06em;color:var(--gold);margin-bottom:.4rem;line-height:1;
}
.pillar span{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);line-height:1.5;display:block}

.scrollcue{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);z-index:3;
  display:none;flex-direction:column;align-items:center;gap:.6rem;
  font-size:.6rem;letter-spacing:.28em;text-transform:uppercase;color:var(--muted-2);
}
@media(min-width:1000px){.scrollcue{display:flex}}
.scrollcue i{display:block;width:1px;height:46px;background:linear-gradient(var(--gold),transparent);animation:cue 2.4s var(--ease) infinite}
@keyframes cue{0%{transform:scaleY(0);transform-origin:top}45%{transform:scaleY(1);transform-origin:top}55%{transform:scaleY(1);transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* ---------- Page hero (inner pages) ---------- */
.phero{
  position:relative;padding-block:clamp(150px,22vh,230px) clamp(50px,7vw,80px);
  overflow:hidden;border-bottom:1px solid var(--line-soft);
}
.phero__bg{position:absolute;inset:0;z-index:-1;background:
  radial-gradient(ellipse 80% 100% at 80% 0%,rgba(201,162,39,.14),transparent 58%),
  var(--black);
}
.phero h1{font-size:clamp(1.9rem,4.6vw,3.2rem);max-width:22ch}
.phero .lede{margin-top:1.5rem}
.crumbs{
  display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-bottom:1.4rem;
  font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-2);
}
.crumbs a:hover{color:var(--gold)}
.crumbs span{color:var(--gold)}

/* ---------- Cards ---------- */
.card{
  position:relative;background:var(--panel);border:1px solid var(--line-soft);
  padding:clamp(1.7rem,3vw,2.3rem);overflow:hidden;
  transition:border-color .4s var(--ease),transform .4s var(--ease),background .4s;
}
.card::before{
  content:"";position:absolute;inset:0 auto auto 0;height:2px;width:0;
  background:var(--grad-gold);transition:width .5s var(--ease);
}
.card:hover{border-color:var(--line);transform:translateY(-4px);background:var(--panel-2)}
.card:hover::before{width:100%}
.card h3{font-size:1.02rem;letter-spacing:.07em;margin-bottom:.75rem}
.card p{font-size:.94rem;color:var(--muted);line-height:1.72;margin:0}
.card__ico{
  width:46px;height:46px;margin-bottom:1.3rem;color:var(--gold);
  display:grid;place-items:center;
}
.card__ico svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.1;fill:none;
  stroke-linecap:round;stroke-linejoin:round}
.card__num{
  position:absolute;top:1rem;right:1.3rem;font-family:var(--serif);
  font-size:3.6rem;line-height:1;color:rgba(201,162,39,.12);font-weight:600;
  transition:color .4s;
}
.card:hover .card__num{color:rgba(201,162,39,.28)}

a.card{display:block}
.card__more{
  margin-top:1.2rem;font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold);opacity:0;transform:translateY(6px);transition:.4s var(--ease);
}
a.card:hover .card__more{opacity:1;transform:none}

/* ---------- Service list (full page) ---------- */
.svc{
  display:grid;gap:1px;background:var(--line-soft);border:1px solid var(--line-soft);
}
@media(min-width:760px){.svc{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1180px){.svc{grid-template-columns:repeat(3,1fr)}}
.svc__item{
  background:var(--black);padding:clamp(1.8rem,3vw,2.4rem);
  transition:background .4s var(--ease);position:relative;
}
.svc__item:hover{background:var(--panel)}
.svc__item h3{
  font-size:1rem;letter-spacing:.07em;line-height:1.3;
  margin-bottom:.85rem;display:flex;align-items:flex-start;gap:.8rem;
}
.svc__item h3 .k{
  font-family:var(--sans);font-size:.62rem;font-weight:600;letter-spacing:.14em;
  color:var(--gold);opacity:.55;padding-top:.62rem;flex:none;
}
.svc__item p{font-size:.93rem;color:var(--muted);line-height:1.75;margin:0}
.svc__item .card__ico{width:34px;height:34px;margin-bottom:1.1rem}

/* ---------- Process ---------- */
.steps{counter-reset:s;display:grid;gap:1px;background:var(--line-soft);border:1px solid var(--line-soft)}
@media(min-width:820px){.steps{grid-template-columns:repeat(5,1fr)}}
.step{background:var(--ink);padding:clamp(1.7rem,2.6vw,2.1rem);position:relative;transition:background .4s}
.step:hover{background:var(--panel-2)}
.step__n{
  font-family:var(--serif);font-size:.95rem;letter-spacing:.2em;color:var(--gold);
  display:block;margin-bottom:1.6rem;
}
.step h3{font-size:.95rem;letter-spacing:.07em;margin-bottom:.7rem}
.step p{font-size:.9rem;color:var(--muted);line-height:1.72;margin:0}

/* ---------- Frames / media placeholders ---------- */
.frame{
  position:relative;aspect-ratio:4/3;overflow:hidden;
  border:1px solid var(--line);background:
    linear-gradient(135deg,#141414,#0B0B0B 55%,#171412);
  display:grid;place-items:center;
}
.frame--tall{aspect-ratio:3/4}
.frame--wide{aspect-ratio:16/10}
.frame img{width:100%;height:100%;object-fit:cover;position:relative;z-index:2}
.frame__grid{
  position:absolute;inset:0;opacity:.65;
  background-image:
    linear-gradient(rgba(201,162,39,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(201,162,39,.07) 1px,transparent 1px);
  background-size:34px 34px;
}
.frame__mark{
  position:relative;z-index:1;text-align:center;padding:1.5rem;
}
.frame__mark svg{width:46px;height:46px;margin:0 auto .9rem;stroke:var(--gold);
  stroke-width:1;fill:none;opacity:.55}
.frame__mark span{
  display:block;font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;
  color:var(--muted-2);
}
.frame__tag{
  position:absolute;left:0;bottom:0;z-index:3;
  background:rgba(8,8,8,.82);backdrop-filter:blur(8px);
  border-top:1px solid var(--line);border-right:1px solid var(--line);
  padding:.75rem 1.2rem;
  font-size:.64rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);
}
.frame__accent{
  position:absolute;inset:auto auto 0 0;width:100%;height:2px;z-index:3;
  background:var(--grad-gold);transform:scaleX(0);transform-origin:left;
  transition:transform .6s var(--ease);
}
.frame:hover .frame__accent{transform:scaleX(1)}

.gallery{display:grid;gap:clamp(14px,2vw,22px)}
@media(min-width:700px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1080px){
  /* Fixed row height + explicit spans keeps every band flush, so no
     half-empty rows appear regardless of each photo's own aspect ratio. */
  .gallery{grid-template-columns:repeat(6,1fr);grid-auto-rows:clamp(180px,15.5vw,240px)}
  .gallery > *{min-height:0}
  .gallery .frame{aspect-ratio:auto;height:100%}
  .g-lg{grid-column:span 4;grid-row:span 2}
  .g-md{grid-column:span 3}
  .g-sm{grid-column:span 2}
  .g-tall{grid-column:span 2;grid-row:span 2}
}

/* ---------- Feature list ---------- */
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:.95rem}
.ticks li{display:flex;gap:.9rem;align-items:flex-start;font-size:.98rem;color:#CFC9BE}
.ticks li svg{
  width:17px;height:17px;flex:none;margin-top:.42rem;
  stroke:var(--gold);stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;
}
.ticks li b{color:var(--white);font-weight:600}

/* ---------- Quote band ---------- */
.quote{
  position:relative;text-align:center;padding-block:clamp(70px,10vw,120px);
  background:var(--ink);border-block:1px solid var(--line-soft);overflow:hidden;
}
.quote blockquote{
  margin:0;font-family:var(--serif);font-weight:300;font-style:italic;
  text-transform:none;letter-spacing:0;
  font-size:clamp(1.35rem,3vw,2.2rem);line-height:1.35;max-width:24ch;
  margin-inline:auto;
}
.quote cite{
  display:block;margin-top:1.8rem;font-family:var(--sans);font-style:normal;
  font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);
}

/* ---------- Stats ---------- */
.stats{display:grid;gap:1px;background:var(--line-soft);border:1px solid var(--line-soft)}
@media(min-width:640px){.stats{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{background:var(--black);padding:clamp(1.7rem,3vw,2.2rem);text-align:center}
.stat b{display:block;font-family:var(--serif);font-size:clamp(2.2rem,4vw,3rem);
  font-weight:600;line-height:1;margin-bottom:.55rem}
.stat span{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}

/* ---------- Accordion (FAQ) ---------- */
.acc{border-top:1px solid var(--line-soft)}
.acc__item{border-bottom:1px solid var(--line-soft)}
.acc__q{
  width:100%;background:none;border:0;cursor:pointer;text-align:left;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:1.55rem 0;font-family:var(--serif);font-size:clamp(.92rem,1.4vw,1.05rem);
  text-transform:uppercase;letter-spacing:.07em;line-height:1.35;
  font-weight:600;color:var(--bone);transition:color .3s;
}
.acc__q:hover{color:var(--gold)}
.acc__q i{
  flex:none;width:22px;height:22px;position:relative;transition:transform .4s var(--ease);
}
.acc__q i::before,.acc__q i::after{
  content:"";position:absolute;background:var(--gold);
  left:50%;top:50%;transform:translate(-50%,-50%);
}
.acc__q i::before{width:14px;height:1.5px}
.acc__q i::after{width:1.5px;height:14px;transition:opacity .3s}
.acc__item.is-open .acc__q i{transform:rotate(180deg)}
.acc__item.is-open .acc__q i::after{opacity:0}
.acc__item.is-open .acc__q{color:var(--gold)}
.acc__a{max-height:0;overflow:hidden;transition:max-height .5s var(--ease)}
.acc__a > div{padding:0 0 1.7rem;max-width:80ch;color:var(--muted);font-size:.98rem}

/* ---------- Forms ---------- */
.form{display:grid;gap:1.15rem}
.form__row{display:grid;gap:1.15rem}
@media(min-width:620px){.form__row{grid-template-columns:1fr 1fr}}
.field{display:grid;gap:.5rem}
.field label{
  font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);
}
.field label .req{color:var(--gold)}
.field input,.field select,.field textarea{
  width:100%;background:var(--panel);border:1px solid var(--line-soft);
  border-radius:2px;padding:.95rem 1.05rem;color:var(--bone);
  font-family:var(--sans);font-size:.97rem;transition:border-color .3s,background .3s;
  appearance:none;
}
.field textarea{min-height:150px;resize:vertical;line-height:1.65}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;background-size:16px;
  padding-right:2.6rem;cursor:pointer;
}
.field select option{background:var(--panel);color:var(--bone)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--gold);background:var(--panel-2);
  box-shadow:0 0 0 3px rgba(201,162,39,.1);
}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-2)}
.form__note{font-size:.78rem;color:var(--muted-2);line-height:1.6}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.alert{
  padding:1rem 1.2rem;border:1px solid var(--line);background:rgba(201,162,39,.07);
  font-size:.92rem;color:var(--gold-pale);border-radius:2px;
}
.alert--bad{border-color:rgba(220,90,70,.4);background:rgba(220,90,70,.08);color:#F0BDB2}

/* ---------- Contact info ---------- */
.cinfo{display:grid;gap:1px;background:var(--line-soft);border:1px solid var(--line-soft)}
.cinfo__item{background:var(--panel);padding:1.6rem;display:flex;gap:1.15rem;align-items:flex-start}
.cinfo__item svg{width:22px;height:22px;flex:none;margin-top:.25rem;stroke:var(--gold);
  stroke-width:1.3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cinfo__item h4{margin:0 0 .3rem;font-family:var(--sans);font-size:.64rem;
  letter-spacing:.2em;text-transform:uppercase;color:var(--muted);font-weight:600}
.cinfo__item p,.cinfo__item a{margin:0;font-size:1.02rem;color:var(--bone)}
.cinfo__item a:hover{color:var(--gold)}

/* ---------- CTA band ---------- */
.cta{
  position:relative;overflow:hidden;text-align:center;
  padding-block:clamp(80px,11vw,140px);
  background:
    radial-gradient(ellipse 70% 120% at 50% 100%,rgba(201,162,39,.16),transparent 62%),
    var(--black);
  border-top:1px solid var(--line-soft);
}
.cta h2{max-width:20ch;margin-inline:auto}
.cta .lede{margin-top:1.3rem}

/* ---------- Footer ---------- */
.ftr{background:var(--ink);border-top:1px solid var(--line-soft);padding-block:clamp(56px,7vw,84px) 0}
.ftr__top{display:grid;gap:clamp(32px,5vw,56px)}
@media(min-width:900px){.ftr__top{grid-template-columns:1.5fr 1fr 1fr 1.2fr}}
.ftr img.ftr__logo{height:44px;width:auto;margin-bottom:1.4rem}
.ftr h4{
  font-family:var(--sans);font-size:.66rem;font-weight:600;letter-spacing:.22em;
  text-transform:uppercase;color:var(--gold);margin:0 0 1.2rem;
}
.ftr p{font-size:.92rem;color:var(--muted);line-height:1.75;max-width:38ch}
.ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.ftr ul a{font-size:.92rem;color:var(--muted);transition:color .3s,padding-left .3s}
.ftr ul a:hover{color:var(--gold);padding-left:.3rem}
.ftr__bot{
  margin-top:clamp(40px,5vw,60px);border-top:1px solid var(--line-soft);
  padding-block:1.6rem;display:flex;flex-wrap:wrap;gap:1rem;
  align-items:center;justify-content:space-between;
  font-size:.78rem;color:var(--muted-2);
}
.ftr__bot a:hover{color:var(--gold)}
.ftr__bot nav{display:flex;gap:1.4rem;flex-wrap:wrap}

/* ---------- Reveal on scroll ---------- */
/* Scoped to .js so the page is fully visible when scripts are off or fail. */
.js [data-rv]{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js [data-rv].in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js [data-rv]{opacity:1;transform:none}}

/* ---------- Utilities ---------- */
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.mb-2{margin-bottom:2rem}
.skip{
  position:absolute;left:-9999px;top:0;z-index:200;background:var(--gold);color:#000;
  padding:.8rem 1.2rem;font-size:.8rem;font-weight:600;
}
.skip:focus{left:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* ==========================================================================
   Section treatments - photo grounds, gold grounds, separators
   Stills are frames of CCRW's own header footage, so the imagery is real
   even before project photography exists.
   ========================================================================== */

.section--photo{
  position:relative;isolation:isolate;
  background-color:var(--black);
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  border-block:1px solid var(--line-soft);
}
/* Overlay lives on a pseudo so the photo can be swapped per section without
   restating the gradient stack. */
/* Overlay strengths were solved against these five stills so body copy keeps
   >=4.5:1 and headings >=7:1 at the lightest overlay that still passes. */
.section--photo::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(6,6,6,.88) 0%,rgba(6,6,6,.76) 46%,rgba(6,6,6,.32) 78%,rgba(6,6,6,.40) 100%),
    linear-gradient(180deg,rgba(6,6,6,.82) 0%,rgba(6,6,6,.30) 26%,rgba(6,6,6,.34) 70%,rgba(6,6,6,.86) 100%);
}
.section--photo > *{position:relative;z-index:1}
/* A grid that lost its (empty) photo cell collapses to one column. */
@media(min-width:900px){
  .grid.is-soloed{grid-template-columns:minmax(0,68ch)}
}
.section--photo .dim,
.section--photo .card p,
.section--photo .step p{color:#BBB6AC}
.section--photo .lede{color:#E4DFD5}
.section--photo h1,.section--photo h2,.section--photo h3{text-shadow:0 2px 20px rgba(0,0,0,.5)}
/* Cards on a photo ground need their own body or they read as floating text. */
.section--photo .card,
.section--photo .steps,
.section--photo .svc{backdrop-filter:blur(3px)}
.section--photo .card{background:rgba(14,14,16,.78)}
.section--photo .card:hover{background:rgba(24,24,28,.86)}
.section--photo .step{background:rgba(12,12,14,.80)}
.section--photo .step:hover{background:rgba(24,24,28,.88)}
/* Right-weighted variant: content sits right, so protect that side instead. */
.section--photo.is-right::after{
  background:
    linear-gradient(270deg,rgba(6,6,6,.88) 0%,rgba(6,6,6,.76) 46%,rgba(6,6,6,.32) 78%,rgba(6,6,6,.40) 100%),
    linear-gradient(180deg,rgba(6,6,6,.82) 0%,rgba(6,6,6,.30) 26%,rgba(6,6,6,.34) 70%,rgba(6,6,6,.86) 100%);
}
/* Centred variant for full-width text such as the pull quote. */
.section--photo.is-center::after{
  background:
    radial-gradient(ellipse 74% 88% at 50% 50%,rgba(6,6,6,.84),rgba(6,6,6,.62) 52%,rgba(6,6,6,.80) 100%),
    linear-gradient(180deg,rgba(6,6,6,.84) 0%,rgba(6,6,6,.30) 30%,rgba(6,6,6,.30) 70%,rgba(6,6,6,.86) 100%);
}
.bg-framing  {background-image:url("../img/sections/sec-framing.jpg")}
.bg-blueprint{background-image:url("../img/sections/sec-blueprint.jpg")}
.bg-saw      {background-image:url("../img/sections/sec-saw.jpg")}
.bg-sparks   {background-image:url("../img/sections/sec-sparks.jpg")}
.bg-frame2   {background-image:url("../img/sections/sec-frame2.jpg")}
@media(max-width:900px){
  .bg-framing  {background-image:url("../img/sections/sec-framing-sm.jpg")}
  .bg-blueprint{background-image:url("../img/sections/sec-blueprint-sm.jpg")}
  .bg-saw      {background-image:url("../img/sections/sec-saw-sm.jpg")}
  .bg-sparks   {background-image:url("../img/sections/sec-sparks-sm.jpg")}
  .bg-frame2   {background-image:url("../img/sections/sec-frame2-sm.jpg")}
}
/* Fixed attachment reads as a slow parallax on desktop; never on touch,
   where it causes repaint jank and iOS ignores it anyway. */
@media(min-width:1000px) and (hover:hover){
  .section--photo{background-attachment:fixed}
}
@media (prefers-reduced-motion:reduce){
  .section--photo{background-attachment:scroll}
}

/* ---------- Gold ground ---------- */
.section--gold{
  position:relative;isolation:isolate;color:#0B0A07;
  background:
    radial-gradient(ellipse 70% 120% at 18% 0%,rgba(255,255,255,.42),transparent 58%),
    linear-gradient(118deg,#8A6C13 0%,#C9A227 26%,#F0DFA6 52%,#C9A227 76%,#8A6C13 100%);
  border-block:1px solid rgba(0,0,0,.35);
}
.section--gold h1,.section--gold h2,.section--gold h3{color:#0B0A07}
.section--gold .lede,.section--gold p{color:#241D07}
.section--gold .eyebrow{color:#3A2E0A}
.section--gold .eyebrow::before,.section--gold .eyebrow--center::after{background:#5A480F}
.section--gold .gold-text{background:none;-webkit-text-fill-color:#0B0A07;color:#0B0A07}
.section--gold .btn-gold{
  background:#0B0A07;color:var(--gold-pale);border-color:#0B0A07;
}
.section--gold .btn-gold:hover{background:#000;box-shadow:0 10px 30px -12px rgba(0,0,0,.7)}
.section--gold .btn-ghost{border-color:rgba(0,0,0,.42);color:#0B0A07}
.section--gold .btn-ghost:hover{background:rgba(0,0,0,.08);border-color:#0B0A07;color:#0B0A07}
/* Fine tooth texture so the gold reads as a material, not a flat fill. */
.section--gold .stats{background:rgba(0,0,0,.28);border-color:rgba(0,0,0,.3)}
.section--gold .stat{background:rgba(255,252,242,.9);display:flex;flex-direction:column;justify-content:center}
.section--gold .stat b{font-size:clamp(1.5rem,2.4vw,2.05rem)}
.section--gold .stat span{color:#5A4A16}
.section--gold .stat b.gold-text{background:none;-webkit-text-fill-color:#141007;color:#141007}
.section--gold::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.5;
  background-image:linear-gradient(90deg,rgba(0,0,0,.05) 1px,transparent 1px);
  background-size:7px 100%;
}

/* ---------- Separators ---------- */
.sep{position:relative;height:0}
.sep-gold{
  height:1px;border:0;margin:0;
  background:linear-gradient(90deg,transparent,rgba(201,162,39,.55),transparent);
}
/* Angled cut between two sections. */
.section--cut-top{clip-path:polygon(0 3.2vw,100% 0,100% 100%,0 100%);margin-top:-3.2vw;padding-top:calc(var(--sec) + 3.2vw)}
.section--cut-bot{clip-path:polygon(0 0,100% 0,100% calc(100% - 3.2vw),0 100%);padding-bottom:calc(var(--sec) + 3.2vw)}
@media(max-width:760px){
  .section--cut-top{clip-path:polygon(0 5vw,100% 0,100% 100%,0 100%);margin-top:-5vw;padding-top:calc(var(--sec) + 5vw)}
  .section--cut-bot{clip-path:polygon(0 0,100% 0,100% calc(100% - 5vw),0 100%);padding-bottom:calc(var(--sec) + 5vw)}
}
/* Gold hairline that follows the angled cut. */
.section--cut-top::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3.4vw;z-index:2;pointer-events:none;
  background:linear-gradient(to top right,transparent calc(50% - .6px),rgba(201,162,39,.5) 50%,transparent calc(50% + .6px));
}
/* Soft gold bloom that can sit on any dark section. */
.glow-gold{position:relative;isolation:isolate}
.glow-gold::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 60% 70% at 84% 12%,rgba(201,162,39,.16),transparent 62%);
}
