/* Deck Builder Tampa — site styles
   Palette: pine #1F2A24 · gulf #2F6F73 · sand #C9A46A · board #8C8A84 · oat #EEF0EA · white #FFFFFF
   Type: Archivo (variable width) for everything. Headlines run expanded, body runs normal width. */

:root{
  --pine:#1F2A24; --pine-2:#2C3A32; --gulf:#2F6F73; --gulf-dark:#24585B;
  --sand:#C9A46A; --sand-light:#E6D3AE; --board:#8C8A84; --oat:#EEF0EA; --white:#FFFFFF;
  --text:#1F2A24; --muted:#56605A;
  --measure:68ch;
  --radius-s:3px; --radius-m:8px;
  --step--1:0.875rem; --step-0:1.0625rem; --step-1:1.3rem; --step-2:1.7rem; --step-3:2.3rem; --step-4:clamp(2.4rem,5.6vw,4.4rem);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:var(--step-0);line-height:1.6;color:var(--text);background:var(--white)}
img{max-width:100%;height:auto;display:block}
a{color:var(--gulf-dark);text-underline-offset:2px}
a:hover{color:var(--pine)}
:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:var(--pine);color:var(--white);padding:.6rem 1rem;z-index:10}
.skip:focus{left:1rem}

h1,h2,h3{font-stretch:118%;line-height:1.12;letter-spacing:-.01em;color:var(--pine);margin:0 0 .5em}
h1{font-size:var(--step-4);font-weight:800}
h2{font-size:var(--step-3);font-weight:750;margin-top:1.6em}
h3{font-size:var(--step-1);font-weight:700;margin-top:1.4em}
p,ul,ol,table{margin:0 0 1.1em}
li{margin-bottom:.35em}

.wrap{width:min(1160px,100% - 2.5rem);margin-inline:auto}
.prose{max-width:var(--measure)}

/* Header */
.site-header{background:var(--pine);color:var(--white)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.logo{color:var(--white);text-decoration:none;font-weight:800;font-stretch:125%;font-size:1.2rem;letter-spacing:.01em;display:flex;align-items:center;gap:.6rem}
.logo-mark{display:inline-grid;grid-template-rows:repeat(3,4px);gap:3px;width:26px}
.logo-mark i{display:block;background:var(--sand);border-radius:1px}
.logo:hover{color:var(--sand-light)}
.nav{display:flex;gap:1.3rem;align-items:center}
.nav a{color:var(--white);text-decoration:none;font-size:.97rem}
.nav a:hover{color:var(--sand-light)}
.nav .call{background:var(--sand);color:var(--pine);font-weight:700;padding:.5rem .9rem;border-radius:var(--radius-s)}
.nav .call:hover{background:var(--sand-light);color:var(--pine)}
.menu-toggle{display:none}
@media (max-width:860px){
  .nav{display:none;position:absolute;left:0;right:0;top:68px;background:var(--pine);flex-direction:column;align-items:flex-start;padding:1rem 1.25rem 1.4rem;z-index:5}
  .nav.open{display:flex}
  .menu-toggle{display:inline-block;background:none;border:1px solid var(--board);color:var(--white);padding:.45rem .8rem;border-radius:var(--radius-s);font:inherit}
  .site-header{position:relative}
}

/* Hero: the deck seen from above. Boards run left-right with real-looking gaps; a darker picture-frame border wraps it. */
.hero{background:var(--pine);color:var(--white);padding:0 0 3.2rem}
.hero-deck{
  border:14px solid #8E6F44;border-top:0;
  background:
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(31,42,36,.32) 46px 50px),
    linear-gradient(90deg,#C9A46A 0%,#C19A5F 30%,#CDAA72 55%,#BE985D 80%,#C8A36A 100%);
  padding:3.2rem clamp(1.2rem,4vw,3.4rem) 3.4rem;
  border-radius:0 0 var(--radius-m) var(--radius-m);
}
.hero-deck h1{color:var(--pine);max-width:15ch;margin-bottom:.35em}
.hero-deck .lede{color:var(--pine);font-size:var(--step-1);max-width:40ch;font-weight:500;line-height:1.45;margin-bottom:1.4rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-facts{display:flex;flex-wrap:wrap;gap:.4rem 2rem;margin:2rem 0 0;padding:0;list-style:none;color:var(--oat);font-size:.97rem}
.hero-facts li{margin:0}
.page-hero{background:var(--pine);color:var(--white);padding:2.6rem 0 2.4rem;border-bottom:8px solid var(--sand)}
.page-hero h1{color:var(--white);font-size:clamp(2.1rem,4.4vw,3.4rem);max-width:22ch}
.page-hero .lede{color:var(--oat);font-size:var(--step-1);max-width:52ch;margin-bottom:1.2rem}
.crumbs{font-size:var(--step--1);color:var(--sand-light);margin-bottom:1rem}
.crumbs a{color:var(--sand-light)}

/* Buttons */
.btn{display:inline-block;font-weight:700;text-decoration:none;padding:.85rem 1.3rem;border-radius:var(--radius-s);border:2px solid transparent;font-size:1rem;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--gulf);color:var(--white)}
.btn-primary:hover{background:var(--gulf-dark);color:var(--white)}
.btn-ghost{border-color:var(--pine);color:var(--pine);background:transparent}
.btn-ghost:hover{background:var(--pine);color:var(--white)}
.page-hero .btn-ghost{border-color:var(--sand);color:var(--sand-light)}
.page-hero .btn-ghost:hover{background:var(--sand);color:var(--pine)}

/* Content */
main section{padding:3rem 0}
.band-oat{background:var(--oat)}
.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:3rem;align-items:start}
@media (max-width:900px){.two-col{grid-template-columns:1fr}}
.aside-card{background:var(--oat);border-left:6px solid var(--gulf);padding:1.4rem 1.5rem;border-radius:0 var(--radius-m) var(--radius-m) 0;position:sticky;top:1rem}
.aside-card h2{font-size:var(--step-1);margin-top:0}
.aside-card p:last-child{margin-bottom:0}
.services{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:0;border-top:1px solid #D5D9D2;margin-top:1.5rem}
.services a{display:block;padding:1.1rem 1rem 1.1rem 0;border-bottom:1px solid #D5D9D2;text-decoration:none;color:var(--pine)}
.services a strong{display:block;font-size:var(--step-1);font-stretch:112%}
.services a span{color:var(--muted);font-size:.95rem}
.services a:hover strong{color:var(--gulf-dark)}
.steps{counter-reset:s;list-style:none;padding:0;max-width:var(--measure)}
.steps li{counter-increment:s;padding-left:3rem;position:relative;margin-bottom:1.1rem}
.steps li::before{content:counter(s);position:absolute;left:0;top:-.1rem;width:2.1rem;height:2.1rem;border-radius:50%;background:var(--pine);color:var(--sand);font-weight:800;display:grid;place-items:center}
table{border-collapse:collapse;width:100%;max-width:820px;font-size:.98rem}
th,td{text-align:left;padding:.65rem .8rem;border-bottom:1px solid #D5D9D2;vertical-align:top}
th{background:var(--oat);font-weight:700}
.table-scroll{overflow-x:auto}
.note{font-size:.95rem;color:var(--muted)}
figure{margin:1.6rem 0}
figure img{border-radius:var(--radius-m)}
figcaption{font-size:.92rem;color:var(--muted);margin-top:.4rem}
.area-list{columns:2;max-width:560px;padding-left:1.1rem}
details{border-bottom:1px solid #D5D9D2;padding:.9rem 0;max-width:var(--measure)}
details summary{font-weight:700;cursor:pointer;font-size:1.06rem;color:var(--pine)}
details[open] summary{margin-bottom:.5rem}

/* Brand rail: the materials we install. */
.brands{background:var(--oat);padding:2.4rem 0;border-top:1px solid #D5D9D2}
.brands h2{font-size:var(--step-1);margin:0 0 1.2rem}
.brand-row{display:flex;flex-wrap:wrap;align-items:center;gap:1.4rem 3rem;list-style:none;margin:0;padding:0}
.brand-row li{margin:0}
.brand-row a{display:flex;align-items:center;min-height:48px;text-decoration:none;color:var(--pine)}
.brand-row img{height:40px;width:auto;filter:grayscale(1);opacity:.85}
.brand-row a:hover img{filter:none;opacity:1}
.brand-word{font-weight:800;font-stretch:125%;font-size:1.35rem;letter-spacing:.01em;color:#4A544D}
.brand-row a:hover .brand-word{color:var(--gulf-dark)}
.brand-note{font-size:var(--step--1);color:var(--muted);margin:1.2rem 0 0;max-width:80ch}

/* CTA band */
.cta-band{background:var(--gulf);color:var(--white);padding:2.6rem 0}
.cta-band .wrap{display:flex;flex-wrap:wrap;gap:1.2rem 2rem;align-items:center;justify-content:space-between}
.cta-band h2{color:var(--white);margin:0;font-size:var(--step-2)}
.cta-band p{margin:.3rem 0 0;color:#DCEBEA}
.cta-band .btn{background:var(--white);color:var(--pine)}
.cta-band .btn:hover{background:var(--sand-light)}

/* Form */
.quote-form{display:grid;gap:1rem;max-width:560px}
.quote-form label{font-weight:600;display:block;margin-bottom:.25rem}
.quote-form input,.quote-form select,.quote-form textarea{width:100%;padding:.75rem .8rem;border:1px solid var(--board);border-radius:var(--radius-s);font:inherit;background:var(--white)}
.quote-form textarea{min-height:130px}
.quote-form .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:560px){.quote-form .row{grid-template-columns:1fr}}
.hp{position:absolute;left:-9999px}

/* Footer */
.site-footer{background:var(--pine);color:var(--oat);padding:2.8rem 0 1.6rem;font-size:.95rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:2rem}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
.site-footer h2{color:var(--sand);font-size:1rem;font-stretch:112%;margin:0 0 .7rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer a{color:var(--oat);text-decoration:none}
.site-footer a:hover{color:var(--sand-light);text-decoration:underline}
.legal{border-top:1px solid var(--pine-2);margin-top:2rem;padding-top:1.2rem;font-size:.85rem;color:#AEB6B0}
.legal p{margin:0 0 .4rem}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* full-width sections keep text left-aligned with the page grid */
.wrap.prose{max-width:none}
.wrap.prose > *{max-width:var(--measure)}
.wrap.prose > .table-scroll,.wrap.prose > table{max-width:820px}
.form-status{margin:0;color:#9B2C1F;font-weight:600}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.gallery figure{margin:0}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-m)!important}
/* Homepage hero with the cedar covered deck photo */
.hero-photo{position:relative;overflow:hidden;background:var(--pine);border:0;min-height:520px;display:flex;flex-direction:column;justify-content:flex-end}
.hero-photo .hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%}
.hero-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,42,36,.88) 0%,rgba(31,42,36,.6) 45%,rgba(31,42,36,.05) 80%)}
.hero-photo > :not(.hero-img){position:relative;z-index:1}
.hero-photo h1,.hero-photo .lede{color:var(--white)}
.hero-photo .btn-ghost{border-color:var(--white);color:var(--white)}
.hero-photo .btn-ghost:hover{background:var(--white);color:var(--pine)}
@media (max-width:700px){.hero-photo{min-height:560px}.hero-photo::before{background:linear-gradient(0deg,rgba(31,42,36,.92) 0%,rgba(31,42,36,.7) 55%,rgba(31,42,36,.2) 100%)}}
.hero-photo .hero-img{z-index:0}
.hero-photo::before{z-index:1}
.hero-photo > :not(.hero-img){z-index:2}
.hero-photo h1,.hero-photo .lede{text-shadow:0 1px 12px rgba(0,0,0,.35)}

/* ---- Less template, more job-site ---- */
.work{padding:0 0 2.6rem;background:var(--pine)}
.mosaic{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:240px 240px;gap:6px}
.mosaic figure{margin:0;overflow:hidden}
.mosaic figure:first-child{grid-row:span 2}
.mosaic img{width:100%;height:100%;object-fit:cover;border-radius:0}
@media (max-width:760px){.mosaic{grid-template-columns:1fr 1fr;grid-template-rows:auto}.mosaic figure:first-child{grid-column:span 2;grid-row:auto}.mosaic img{aspect-ratio:4/3;height:auto}}
figure img{border-radius:0}
.services a strong{font-stretch:100%}
.steps li::before{border-radius:0;background:var(--sand);color:var(--pine)}
.page-hero{border-bottom:0}
details summary{font-weight:600}
main section{padding:2.4rem 0}
main section.work{padding:0 0 2.4rem}
.mosaic{grid-template-columns:2fr 1fr;grid-template-rows:repeat(3,170px)}
.mosaic figure:first-child{grid-row:span 3}
@media (max-width:760px){.mosaic{grid-template-columns:repeat(3,1fr);grid-template-rows:auto}.mosaic figure:first-child{grid-column:span 3;grid-row:auto}.mosaic img{aspect-ratio:1/1}.mosaic figure:first-child img{aspect-ratio:4/3}}
.page-hero{position:relative;overflow:hidden}
.page-hero .wrap{position:relative;z-index:1}
.page-hero-img{position:absolute;top:0;right:0;width:42%;height:100%;object-fit:cover;opacity:.9}
.page-hero::after{content:"";position:absolute;top:0;bottom:0;right:0;width:42%;background:linear-gradient(90deg,var(--pine) 0%,rgba(31,42,36,0) 45%)}
.page-hero h1,.page-hero .lede{max-width:min(22ch,55%)}
.page-hero .lede{max-width:min(52ch,55%)}
@media (max-width:860px){.page-hero-img,.page-hero::after{display:none}.page-hero h1,.page-hero .lede{max-width:none}}
picture{display:contents}
.site-footer p a,.legal a{text-decoration:underline}
