/* Nashville Expert Drywall, site stylesheet (design-lead, 2026-11-22).
   Starting design: the layout and band system of an approved earlier site (MEMORY 2026-11-22, "Wave 2 starting designs"),
   re-skinned. Every rule is scoped to body.calm. The kit copies the homepage's <head> to every page it builds, so this
   file is the site stylesheet; each other page type adds css/inner.css and its own css/<type>.css.

   Look (Dan, 2026-11-22, "Wave 2 colors"): option 3's type with option 2's colors. Black and Scarlet: the dark bands are
   a scarlet ramp lit from one corner and falling to near-black; the copy-heavy bands are white and a pale rose mist.
   Headings Albert Sans (700, 900 for the h1), body IBM Plex Sans. Sharp corners, hairline ghost borders, no shadows.

   Every color is a token in the block below. The button color is ONE line (--cta, its hover and its ink): every CTA
   button is a hot or warm color (Dan, 2026-11-22, standing rule). The rgba() ramps use the -rgb tokens.

   Soft changes between bands:
   1. a dark band above a light one lifts toward a mid ramp color (--edge) in its bottom padding;
   2. a light band under a dark one starts in a haze and clears to its ground;
   3. a light band above a dark one tints toward mist at its foot, and the dark band below is lit along its top.

   Sizes: --t1 40 to 64px, --t2 30 to 44px, --t3 20px, --t4 17px body, 15px for card blurbs and footer.
   Normal case everywhere (no tracked uppercase, no eyebrows). */

body.calm{
  /* scarlet ramp, near-black to bright (option 2, Black and Scarlet) */
  --black:#070304; --ramp-950:#211416; --ramp-900:#231618; --ramp-850:#3b0f15; --ramp-deep:#661825; --ramp-picked:#5d282d;
  --ramp-700:#881b26; --ramp-650:#95252e; --ramp-600:#b42a37; --ramp-400:#de717d; --ramp-300:#e58a92; --edge:#de717d;
  /* the same ramp as r,g,b for the rgba() washes */
  --black-rgb:7,3,4; --ramp-950-rgb:33,20,22; --ramp-850-rgb:59,15,21; --ramp-deep-rgb:102,24,37; --ramp-700-rgb:136,27,38;
  --ramp-300-rgb:229,138,146; --edge-rgb:222,113,125; --pale-rgb:239,225,227; --accent-on-dark-rgb:255,176,182;
  /* light grounds */
  --white:#ffffff; --pale:#efe1e3; --mist:#f8f2f3; --haze:#efe1e3; --foot:#f2e7e9;
  /* text */
  --ink:#1c1012; --head:#3b0f15; --muted:#5a4649; --link:#a3202d; --line:#e6d7da;
  --on-dark:#ffffff; --on-dark-2:#f3e6e8; --line-dark:rgba(var(--ramp-300-rgb),.26);
  --accent-on-dark:#ffb0b6; --foot-text:#d9c2c6; --fine-text:#c3a8ad;
  /* CTA buttons: one line to swap (warm, Dan 2026-11-22) */
  --cta:#ff8a94; --cta-hover:#ff717d; --cta-ink:#1a0407;
  --t1:clamp(2.5rem,1.7rem + 3.2vw,4rem); --t2:clamp(1.875rem,1.45rem + 1.6vw,2.75rem); --t3:1.25rem; --t4:1.0625rem; --t5:.9375rem;
  --display:"Albert Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --pad:104px;
  margin:0; background:var(--white); color:var(--ink);
  font-family:var(--font); font-size:var(--t4); line-height:1.75; font-weight:400;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
body.calm *,body.calm *::before,body.calm *::after{box-sizing:border-box}
body.calm.menu-open{overflow:hidden}
body.calm .hidden{display:none!important}
body.calm img{max-width:100%;height:auto;display:block}
body.calm figure{margin:0}
body.calm h1,body.calm h2,body.calm h3{margin:0;color:var(--head);text-transform:none}
body.calm h1,body.calm h2,body.calm h3{font-family:var(--display);font-weight:700;letter-spacing:-0.005em}
body.calm h1{font-weight:900}
body.calm h1{font-size:var(--t1);line-height:1.08}
body.calm h2{font-size:var(--t2);line-height:1.14;margin-bottom:22px}
body.calm h3{font-size:var(--t3);line-height:1.35;margin-bottom:8px}
body.calm p{margin:0 0 20px}
body.calm p:last-child{margin-bottom:0}
body.calm ul,body.calm ol{margin:0;padding:0;list-style:none}
body.calm strong,body.calm b{font-weight:700}
body.calm a{color:var(--link);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.calm a:hover{color:var(--head);text-decoration-thickness:2px}
body.calm a:focus-visible,body.calm button:focus-visible,body.calm summary:focus-visible{outline:2px solid var(--ramp-600);outline-offset:3px}
body.calm .lead{font-size:var(--t3);line-height:1.6;color:var(--muted);max-width:760px}
body.calm .wrap{max-width:1200px;margin:0 auto;padding:0 24px}
body.calm .wrap.narrow{max-width:860px}
body.calm .head{margin-bottom:52px}
body.calm .head>p{max-width:780px}
body.calm .head.center>p{margin-left:auto;margin-right:auto}
body.calm .head.center{margin-left:auto;margin-right:auto;text-align:center}
body.calm main [id]{scroll-margin-top:96px}
body.calm .skip{position:absolute;left:-9999px;top:0}
body.calm .skip:focus{left:16px;top:12px;z-index:10000;background:var(--white);color:var(--black);padding:12px 16px}
body.calm .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* buttons: the --cta tokens on every ground */
body.calm .btn{display:inline-block;background:var(--cta);color:var(--cta-ink);border:1px solid var(--cta);font-family:var(--font);font-weight:700;font-size:var(--t4);line-height:1;padding:18px 30px;border-radius:0;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
body.calm .btn:hover{background:var(--cta-hover);border-color:var(--cta-hover);color:var(--cta-ink)}
body.calm .light .btn{background:var(--cta);border-color:var(--cta);color:var(--cta-ink)}
body.calm .light .btn:hover{background:var(--cta-hover);border-color:var(--cta-hover);color:var(--cta-ink)}

/* ---------- grounds ---------- */
body.calm .band{padding:var(--pad) 0;position:relative}
/* light: a ground, a haze on top when a dark band sits above, a mist foot when a dark band follows */
body.calm .band.light{--g:var(--white);color:var(--ink);background:linear-gradient(180deg,var(--top,var(--g)) 0,var(--g) 220px,var(--g) calc(100% - 200px),var(--bot,var(--g)) 100%)}
body.calm .band.white{--g:var(--white)}
body.calm .band.mist,body.calm .band.sand{--g:var(--mist)}
body.calm .band.white:not(.light){background:var(--white)}
body.calm .band.sand:not(.light),body.calm .band.mist:not(.light){background:var(--mist)}
body.calm .band.after-dark,body.calm .band.after-deep{--top:var(--haze)}
body.calm .band.before-dark{--bot:var(--foot)}
body.calm .band.light + .band.light{border-top:1px solid var(--line)}
/* dark: deep lit from one top corner, falling to near-black */
body.calm .band.deep-band,body.calm .band.dark{color:var(--on-dark);background:
  radial-gradient(1000px 560px at 50% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .band.deep-band.lit-right{background:
  radial-gradient(1000px 560px at 90% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .band.deep-band.lit-left{background:
  linear-gradient(180deg,rgba(var(--edge-rgb),0) calc(100% - 110px),var(--edge) 100%),
  radial-gradient(1000px 560px at 6% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
/* deep (process): lit from the upper left (Dan's markup, 2026-11-14), then lifts before the mist */
body.calm .band.deep{color:var(--on-dark);background:
  linear-gradient(180deg,rgba(var(--edge-rgb),0) calc(100% - 110px),var(--edge) 100%),
  radial-gradient(1000px 560px at 0% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .deep-band h2,body.calm .deep-band h3,body.calm .dark h2,body.calm .dark h3,body.calm .deep h2,body.calm .deep h3,
body.calm .hero h1,body.calm .cta-bar h2{color:var(--on-dark)}
body.calm .deep-band p,body.calm .deep-band .lead,body.calm .dark p,body.calm .dark .lead,body.calm .deep p,body.calm .deep .lead,body.calm .hero .lead{color:var(--on-dark-2)}
body.calm .deep-band a:not(.btn),body.calm .dark a:not(.btn),body.calm .deep a:not(.btn){color:var(--on-dark);text-decoration-color:var(--ramp-300)}

/* ---------- header: black, ghost rule, normal-case nav ---------- */
body.calm .site-header{position:sticky;top:0;z-index:100;background:var(--black);border-bottom:1px solid var(--line-dark)}
body.calm .site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:76px}
body.calm .logo{display:inline-flex;align-items:center;gap:12px;color:var(--on-dark);text-decoration:none;font-family:var(--display);font-weight:700;font-size:1.25rem;line-height:1.15}
body.calm .logo:hover{color:var(--on-dark);text-decoration:none}
body.calm .logo img{width:286px;height:auto;max-width:100%;flex:none;display:block}
body.calm .nav{display:none;align-items:center;gap:30px}
body.calm .nav a{color:var(--on-dark-2);text-decoration:none;font-weight:600;font-size:var(--t5)}
body.calm .nav a:hover{color:var(--ramp-300);text-decoration:none}
body.calm .dd{position:relative}
body.calm .dd>a{display:inline-flex;align-items:center;gap:6px;padding:26px 0}
body.calm .dd>a svg{width:14px;height:14px}
body.calm .dd-menu{display:none;position:absolute;left:-20px;top:100%;min-width:260px;background:var(--ramp-950);border:1px solid var(--line-dark);padding:8px 0}
body.calm .dd:hover .dd-menu,body.calm .dd:focus-within .dd-menu{display:block}
body.calm .dd-menu a{display:block;padding:9px 20px;font-weight:400}
body.calm .header-cta{display:none}
body.calm .menu-btn{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;background:none;border:1px solid var(--line-dark);color:var(--on-dark);cursor:pointer}
body.calm .menu-btn svg{width:24px;height:24px}
@media(min-width:1080px){
  body.calm .nav{display:flex}
  body.calm .header-cta{display:block}
  body.calm .header-cta .btn{padding:14px 22px;font-size:var(--t5)}
  body.calm .menu-btn{display:none}
}
@media(max-width:480px){
  body.calm .site-header .logo{font-size:1.125rem;min-width:0}
}
body.calm .mobile-menu{position:fixed;left:0;right:0;top:77px;bottom:0;z-index:9999;background:var(--black);color:var(--on-dark);overflow-y:auto;padding:12px 24px 40px}
body.calm .mobile-menu a{color:var(--on-dark);text-decoration:none}
body.calm .mm-row{display:flex;align-items:center;border-bottom:1px solid var(--line-dark)}
body.calm .mm-row>a,body.calm .mm-link{flex:1;display:block;padding:16px 0;font-weight:600;font-size:var(--t4)}
body.calm .mm-link{border-bottom:1px solid var(--line-dark)}
body.calm .mobile-submenu-toggle{width:48px;height:48px;background:none;border:0;color:var(--on-dark);cursor:pointer}
body.calm .mobile-submenu-toggle svg{width:18px;height:18px;transition:transform .2s}
body.calm .mobile-submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
body.calm .mm-sub{padding:4px 0 14px 14px}
body.calm .mm-sub a{display:block;padding:8px 0;color:var(--on-dark-2)}
body.calm .mobile-menu .btn{display:block;text-align:center;margin-top:28px;color:var(--cta-ink)}
body.calm .mobile-menu .btn:hover{color:var(--cta-ink)}

/* H1 sizes rank with the page (Dan, 2026-11-14): homepage largest (--t1, 64px max), service next (57.6px max),
   every other page type at or below that: town 48px, About 52.8px, guide 56px, Contact 57.6px. */
/* ---------- 1 hero: near-black, lit from the upper left by the h1 (Dan's markup, 2026-11-14) ---------- */
body.calm .hero{color:var(--on-dark);padding:88px 0 var(--pad);background:
  linear-gradient(180deg,rgba(var(--edge-rgb),0) calc(100% - 120px),var(--edge) 100%),
  radial-gradient(1100px 700px at 0% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:52px;align-items:center}
body.calm .hero h1{margin-bottom:28px;max-width:13em}
/* H1 two tones (Dan, 2026-11-14): white for the keyword, light accent for the rest */
body.calm .hero h1 .h1-rest{color:var(--accent-on-dark)}
body.calm .hero .lead{margin-bottom:38px;max-width:34em}
body.calm .hero-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
@media(min-width:960px){
  body.calm .hero{padding:112px 0 120px}
  body.calm .hero-grid{grid-template-columns:1.05fr 1fr;gap:64px;align-items:start}
  /* photo top lines up with the top of the H1's capitals (Dan, 2026-11-14) */
  body.calm .hero-photo{margin-top:calc(var(--t1) * .188)}
}

/* ---------- 2 opening + the form beside it ---------- */
body.calm .opening{display:grid;grid-template-columns:minmax(0,1fr);gap:56px;align-items:start}
body.calm .opening-text{max-width:720px}
body.calm .opening .photo{margin:36px 0 0}
body.calm .opening .photo img{width:100%}
body.calm .sorts{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;margin:32px 0;padding:28px;background:var(--white);border:1px solid var(--line);border-top:2px solid var(--ramp-600)}
body.calm .sorts h3{margin-bottom:12px}
body.calm .sorts li{position:relative;padding-left:22px;margin-bottom:8px}
body.calm .sorts li::before{content:"";position:absolute;left:0;top:.7em;width:7px;height:7px;background:var(--ramp-600)}
body.calm .sorts>div+div li::before{background:var(--head)}
@media(min-width:640px){body.calm .sorts{grid-template-columns:1fr 1fr;gap:36px}}
body.calm .form h2{font-size:var(--t3);line-height:1.35;margin-bottom:14px}
body.calm .form>p{color:var(--muted);margin-bottom:20px}
body.calm .form iframe{display:block;width:100%;max-width:100%}
@media(min-width:1024px){
  body.calm .opening{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:72px}
  body.calm .opening .form{position:sticky;top:100px}
}

/* ---------- 3 services: photo cards on deep, no boxes ---------- */
body.calm .cards{display:grid;grid-template-columns:minmax(0,1fr);gap:44px 28px}
body.calm .card{display:block;text-decoration:none;color:var(--on-dark)}
body.calm .card img{width:100%;aspect-ratio:3/2;object-fit:cover;margin-bottom:18px}
body.calm .card h3{margin-bottom:6px}
body.calm .card p{font-size:var(--t5);line-height:1.65}
body.calm .card:hover h3{text-decoration:underline;text-decoration-color:var(--ramp-300);text-underline-offset:4px}
@media(min-width:620px){body.calm .cards{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){body.calm .cards{grid-template-columns:repeat(4,1fr)}}

/* ---------- 4 process: three steps on the deep band, a ghost rule over each ---------- */
body.calm .steps{display:grid;grid-template-columns:minmax(0,1fr);gap:36px}
body.calm .steps li{border-top:1px solid rgba(var(--ramp-300-rgb),.45);padding-top:24px}
/* 01 02 03 over each step (Dan, 2026-11-14: "This kind of 01, 02, 03 thing really helps when skimming copy-heavy pages") */
body.calm .steps{counter-reset:step}
body.calm .steps li{counter-increment:step}
body.calm .steps li::before{content:counter(step,decimal-leading-zero);display:block;font-family:var(--display);font-weight:400;font-style:italic;font-size:clamp(3.5rem,6vw,5.5rem);line-height:1;letter-spacing:-0.01em;color:var(--accent-on-dark);margin:0 0 20px}
@media(min-width:860px){body.calm .steps{grid-template-columns:repeat(3,1fr);gap:40px}}

/* ---------- 5 prices: one clean list beside a photo, then what can raise or lower it ---------- */
body.calm .prices{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;align-items:center}
body.calm .price-list{border-top:1px solid var(--head)}
body.calm .price-list li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 24px;padding:22px 0;border-bottom:1px solid var(--line)}
body.calm .price-list span{color:var(--ink)}
body.calm .price-list b{font-family:var(--display);font-size:1.375rem;font-weight:700;color:var(--head);white-space:nowrap}
body.calm .prices .basis{margin:20px 0 0;color:var(--muted)}
body.calm .prices .photo img{width:100%}
body.calm .factors-panel{margin-top:48px;padding:32px;background:var(--white);border:1px solid var(--line)}
body.calm .factors-panel h3{margin-bottom:16px}
body.calm .factors{display:grid;grid-template-columns:minmax(0,1fr);gap:12px 40px}
body.calm .factors li{position:relative;padding-left:22px}
body.calm .factors li::before{content:"";position:absolute;left:0;top:.7em;width:7px;height:7px;background:var(--ramp-600)}
@media(min-width:860px){
  body.calm .prices{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:64px}
  body.calm .factors{grid-template-columns:1fr 1fr}
}

/* ---------- 6 local conditions: notes beside one photo ---------- */
body.calm .local{display:grid;grid-template-columns:minmax(0,1fr);gap:48px;align-items:start}
body.calm .note{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}
body.calm .local-text h2{margin-bottom:8px}
body.calm .local-photo img{width:100%}
@media(min-width:960px){
  body.calm .local{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:72px}
  body.calm .local-photo{position:sticky;top:110px}
}

/* ---------- 7 service areas: quiet town links, one photo ---------- */
body.calm .areas{display:grid;grid-template-columns:minmax(0,1fr);gap:48px;align-items:start}
body.calm .areas .lead{margin-bottom:36px}
body.calm .towns{border-top:1px solid var(--line-dark)}
body.calm .towns a,body.calm .towns .home-town{display:block;padding:16px 0;border-bottom:1px solid var(--line-dark);text-decoration:none;color:var(--on-dark-2)}
body.calm .towns b{display:block;color:var(--on-dark);font-size:var(--t3);font-weight:700;line-height:1.3;margin-bottom:2px}
body.calm .towns span{display:block;font-size:var(--t5);line-height:1.6;color:var(--on-dark-2)}
body.calm .towns a:hover b{text-decoration:underline;text-decoration-color:var(--ramp-300);text-underline-offset:4px}
body.calm .areas-photo img{width:100%}
@media(min-width:960px){
  body.calm .areas{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:72px}
  body.calm .areas-photo{position:sticky;top:110px}
}

/* ---------- 8 guides: a text-only numbered list ---------- */
body.calm .guide-q{counter-reset:g;display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--head)}
body.calm .guide-q li{counter-increment:g;border-bottom:1px solid var(--line)}
body.calm .guide-q a{display:flex;gap:18px;align-items:center;padding:18px 0;text-decoration:none;color:var(--head)}
body.calm .guide-q a::before{content:counter(g) ".";flex:none;min-width:1.4em;font-family:var(--display);font-size:1.25rem;font-weight:700;color:var(--ramp-700)}
body.calm .guide-q img{flex:none;width:112px;aspect-ratio:4/3;object-fit:cover;align-self:center}
body.calm .guide-q .gt{min-width:0}
body.calm .guide-q h3{margin:0;color:var(--head)}
body.calm .guide-q p{margin:4px 0 0;color:var(--muted);font-size:var(--t5)}
body.calm .guide-q a:hover h3{text-decoration:underline;text-underline-offset:4px}
@media(min-width:860px){body.calm .guide-q{grid-template-columns:1fr 1fr;column-gap:56px}}

/* ---------- 9 faq: one open at a time ---------- */
body.calm .faq{border-top:1px solid var(--head)}
body.calm .faq details{border-bottom:1px solid var(--line)}
body.calm .faq summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;cursor:pointer;list-style:none}
body.calm .faq summary::-webkit-details-marker{display:none}
body.calm .faq summary h3{margin:0}
body.calm .faq summary::after{content:"+";flex:none;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);color:var(--head);font-size:1.375rem;line-height:1;font-weight:400}
body.calm .faq details[open] summary::after{content:"\2212"}
body.calm .faq details>p{padding:0 56px 24px 0}

/* ---------- 10 stinger: its own deep, lit behind the button, a pale rule against the black footer ---------- */
body.calm .cta-bar{color:var(--on-dark);padding:72px 0;border-bottom:2px solid var(--ramp-300);background:
  radial-gradient(900px 420px at 100% 100%,var(--ramp-600) 0%,var(--ramp-650) 25%,var(--ramp-700) 50%,var(--ramp-deep) 80%,var(--ramp-picked) 100%) var(--ramp-picked)}
body.calm .stinger-grid{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px 48px}
body.calm .stinger-text{max-width:760px}
body.calm .cta-bar h2{margin:0 0 10px}
body.calm .cta-bar h2:last-child{margin-bottom:0}
body.calm .cta-bar p{color:var(--on-dark)}

/* ---------- footer: black ---------- */
body.calm .site-footer{background:var(--black);color:var(--foot-text);padding:80px 0 0;font-size:var(--t5);line-height:1.7}
body.calm .foot-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;padding-bottom:56px}
body.calm .site-footer .logo{margin-bottom:18px}
body.calm .foot-brand p{max-width:30em}
body.calm .site-footer h2{font-family:var(--font);color:var(--on-dark);font-size:var(--t4);font-weight:700;letter-spacing:0;margin:0 0 14px}
body.calm .site-footer li{margin-bottom:8px}
body.calm .site-footer a:not(.logo){color:var(--foot-text);text-decoration:none}
body.calm .site-footer a:not(.logo):hover{color:var(--on-dark);text-decoration:underline;text-decoration-color:var(--ramp-300)}
body.calm .fine{border-top:1px solid var(--line-dark);padding:22px 0 28px;color:var(--fine-text);font-size:.875rem}
@media(min-width:720px){body.calm .foot-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){body.calm .foot-grid{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px}}

/* ---------- scroll-to-top ---------- */
body.calm .to-top{position:fixed;right:18px;bottom:18px;z-index:90;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--head);color:var(--on-dark);border:1px solid rgba(var(--ramp-300-rgb),.5);cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s,background .15s}
body.calm .to-top:hover{background:var(--ramp-600)}
body.calm .to-top.is-visible{opacity:1;pointer-events:auto}
body.calm .to-top svg{width:22px;height:22px}

/* ---------- small screens ---------- */
@media(max-width:720px){
  body.calm{--pad:68px}
  body.calm .guide-q a{gap:14px}
  body.calm .guide-q img{width:88px}
  body.calm .wrap{padding:0 20px}
  body.calm .hero{padding:60px 0 76px}
  body.calm .head{margin-bottom:36px}
  body.calm .sorts,body.calm .factors-panel{padding:22px}
  body.calm .faq details>p{padding-right:0}
  body.calm .cta-bar .btn{width:100%;text-align:center}
}
/* services heading on one line at desktop (Dan, 2026-11-14) */
body.calm #services .head{max-width:none}
/* credentials row: Dan's own, from LocusPilot (2026-11-14). Hero and stinger. */
body.calm .trust{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;font-size:var(--t5);font-weight:600;color:var(--on-dark)}
body.calm .trust li{display:flex;align-items:center;gap:8px}
body.calm .trust li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent-on-dark);flex:none}
body.calm .cta-bar .trust{margin-top:14px}

/* The inner page types (service, town, guide, About, Contact, 404, legal) have their own stylesheets, linked after this
   one by the inner builders (nx-lib.js): css/inner.css plus css/<type>.css (design-lead, 2026-11-25). */

/* Headings run the full width of their section (Dan, 2026-11-15: "double lines for no reason"). A heading wraps only where its
   column ends (an article column, a column beside the form), never at a cap narrower than the room it has. */

/* logo image sizes (for when the logo file arrives) */
body.calm .site-footer .logo img{width:320px}
@media(max-width:480px){body.calm .site-header .logo img{width:214px}}
/* Copyright line 14px; the rest of the footer stays 15px (Dan, 2026-11-15). */
/* Home in the header (Dan, 2026-11-15): menu words never break; tighter spacing on narrow laptops. */
body.calm .nav a{white-space:nowrap}
body.calm .header-cta .btn{white-space:nowrap}
@media(min-width:1080px) and (max-width:1279px){body.calm .nav{gap:22px} body.calm .site-header .logo img{width:240px}}

/* ---------- wordmark: the brand name in plain type in the logo spot, until Dan's logo arrives (2026-11-22) ---------- */
body.calm .logo.wordmark{font-family:var(--display);font-weight:800;font-size:22px;line-height:1;letter-spacing:-.01em;color:var(--on-dark);white-space:nowrap;text-decoration:none}
body.calm .logo.wordmark:hover{color:var(--accent-on-dark)}
body.calm .foot-brand .logo.wordmark{display:inline-block;font-size:26px;color:var(--on-dark)}
@media(max-width:420px){body.calm .site-header .logo.wordmark{font-size:18px}}
/* photo placeholders: gray scaffolding until a frame is placed, never mistaken for a photo */
body.calm img[data-placeholder]{background:#bdbdbd;object-fit:cover}

/* ---------- layout rules carried in on 2026-11-22 (REWRITE-STANDARD 7 and 13, Dan's rules; check-layout.js) ---------- */
/* headings and the line under them use the room their section has; nothing is capped narrower than its column */
body.calm .head .lead,body.calm .head>p{max-width:none}
/* no short last lines: the CSS half (the &nbsp; half is the kit's apply-no-widows pass, run by build-home.js) */
body.calm main :is(h1,h2,h3),body.calm footer :is(h2,h3){text-wrap:balance}
body.calm main :is(p,li,dd,dt,figcaption,blockquote,td,th),body.calm footer p{text-wrap:pretty}
body.calm .nw{white-space:nowrap}
/* the homepage photo shows on a phone's first screen (Dan: "When the homepage loads it needs to be impressive"):
   below the two-column width the photo sits above the headline */
@media(max-width:959px){body.calm.home .hero{padding-top:40px}body.calm.home .hero-photo{order:-1}body.calm.home .hero-grid{gap:36px}}
/* an odd card left alone on the two-column grid spans the row, photo beside its words, so it never sits by itself */
@media(min-width:620px) and (max-width:1023px){
  body.calm .cards>.card:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 28px;align-items:start}
  body.calm .cards>.card:last-child:nth-child(odd) img{grid-row:1/span 2;margin-bottom:0}
}
/* three price factors sit in one row on a wide screen, so none is left alone on a row */
@media(min-width:860px){body.calm .factors:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* this site's H1 is longer than the starting design's, so the display sizes step down to keep it to five or six lines
   (more than six and no browser balances it) and every heading's last line carries at least three words */
body.calm{--t1:clamp(2.25rem,1.55rem + 2.4vw,3.375rem)}
@media(max-width:480px){body.calm{--t2:1.625rem}body.calm h3{font-size:1.1875rem}}
/* the H1 takes its whole column (no 13em cap; Dan 2026-11-15, headings use the room they have), and on a wide screen the
   text column is a little wider than the photo's */
body.calm .hero h1{max-width:none}
@media(min-width:960px){body.calm .hero-grid{grid-template-columns:1.25fr 1fr}}

/* ---------- 2026-11-25: the homepage brought up to today's rules (design-lead; RULEBOOK 1, "The words on the page") ---------- */
body.calm{--cta-rgb:255,138,148}
/* body copy one size, 18 px (Dan): the body step and the card, town and guide lines that sat at 15 px; the footer stays small */
body.calm{--t4:1.125rem}
body.calm :is(.card p,.towns span,.guide-q p){font-size:var(--t4);line-height:1.6}
/* headings break in the browser (js/nx-lines.js); no balance, which broke lines early (Dan 2026-11-23) */
body.calm :is(main,footer,.hero,.svc-hero,.town-hero-text,.mag-head) :is(h1,h2,h3){text-wrap:wrap}
/* an FAQ question runs across its whole row (Dan 2026-11-25: "put these on ONE line!!!") */
body.calm .faq summary h3{flex:1;min-width:0}
/* the three price factors: one wide row each, never three narrow columns of body text (about 420 px or wider, Dan 2026-11-24) */
@media(min-width:860px){body.calm .factors,body.calm .factors:has(>li:nth-child(3):last-child){grid-template-columns:minmax(0,1fr);gap:14px}}

/* dark areas carry a visible gradient (Dan 2026-11-25: "pump those grads so we can SEE them"): each keeps its scarlet light
   from one corner (the lighter tone of the ground) and now also glows in the button's coral from the opposite corner */
body.calm .hero{background:
  linear-gradient(180deg,rgba(var(--edge-rgb),0) calc(100% - 120px),var(--edge) 100%),
  radial-gradient(900px 640px at 100% 100%,rgba(var(--cta-rgb),.36) 0%,rgba(var(--cta-rgb),.12) 45%,rgba(var(--cta-rgb),0) 75%),
  radial-gradient(1100px 700px at 0% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .band.deep-band.lit-right{background:
  radial-gradient(900px 620px at 0% 100%,rgba(var(--cta-rgb),.34) 0%,rgba(var(--cta-rgb),.11) 45%,rgba(var(--cta-rgb),0) 75%),
  radial-gradient(1000px 560px at 90% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .band.deep{background:
  linear-gradient(180deg,rgba(var(--edge-rgb),0) calc(100% - 110px),var(--edge) 100%),
  radial-gradient(900px 560px at 100% 100%,rgba(var(--cta-rgb),.34) 0%,rgba(var(--cta-rgb),.11) 45%,rgba(var(--cta-rgb),0) 75%),
  radial-gradient(1000px 560px at 0% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .band.deep-band.lit-left{background:
  linear-gradient(180deg,rgba(var(--edge-rgb),0) calc(100% - 110px),var(--edge) 100%),
  radial-gradient(900px 620px at 100% 100%,rgba(var(--cta-rgb),.34) 0%,rgba(var(--cta-rgb),.11) 45%,rgba(var(--cta-rgb),0) 75%),
  radial-gradient(1000px 560px at 6% 0%,var(--ramp-600) 0%,var(--ramp-650) 14%,var(--ramp-700) 26%,var(--ramp-deep) 40%,var(--ramp-850) 54%,var(--ramp-950) 76%,var(--black) 100%) var(--black)}
body.calm .cta-bar{background:
  radial-gradient(700px 380px at 0% 0%,rgba(var(--cta-rgb),.40) 0%,rgba(var(--cta-rgb),.12) 50%,rgba(var(--cta-rgb),0) 80%),
  radial-gradient(900px 420px at 100% 100%,var(--ramp-600) 0%,var(--ramp-650) 25%,var(--ramp-700) 50%,var(--ramp-deep) 80%,var(--ramp-picked) 100%) var(--ramp-picked)}
/* the footer, fainter: scarlet from the top right under the closing bar's pale rule, coral from the lower left */
body.calm .site-footer{background:
  radial-gradient(1100px 560px at 100% 0%,rgba(var(--ramp-700-rgb),.55) 0%,rgba(var(--ramp-700-rgb),.18) 45%,rgba(var(--ramp-700-rgb),0) 75%),
  radial-gradient(800px 480px at 0% 100%,rgba(var(--cta-rgb),.16) 0%,rgba(var(--cta-rgb),0) 75%) var(--black)}

/* the page you're on, marked in the button coral (Dan 2026-11-24: "some positive indicator"): a thick underline on the menu
   item or its parent, a bar and a tint in the dropdowns and the phone menu (classes from lp-kit/nav-current.js) */
body.calm .nav a:is(.is-current,.is-current-parent){color:var(--on-dark);font-weight:700;text-decoration:underline;text-decoration-color:var(--cta);text-decoration-thickness:4px;text-underline-offset:9px}
body.calm .nav .dd-menu a.is-current{color:var(--on-dark);font-weight:700;text-decoration:none;box-shadow:inset 4px 0 0 var(--cta);background:rgba(var(--cta-rgb),.14)}
body.calm .mobile-menu a:is(.is-current,.is-current-parent){box-shadow:inset 4px 0 0 var(--cta);background:rgba(var(--cta-rgb),.12);padding-left:14px}
/* a price row keeps its figure at the right: a long label wraps rather than pushing the price onto a line of its own */
body.calm .price-list li{flex-wrap:nowrap}
body.calm .price-list span{flex:1 1 auto;min-width:0}
@media(max-width:480px){body.calm .price-list li{flex-wrap:wrap}}

/* Footer link lists set tight (Dan, 2026-11-25, on Raleigh: "Close the leading up... What does it serve??"). 4 px between
   lines on desktop; phones keep a little more so a thumb lands on one link. */
body.calm .site-footer li{margin-bottom:4px;line-height:1.45}
@media (max-width:899px){body.calm .site-footer li{margin-bottom:10px}}

/* Footer columns (Dan, 2026-11-25, on Raleigh: "You are crowding the company blurb. Close up the other three columns and
   make room."): each link column is as wide as its longest link; the blurb takes the rest. */
@media(min-width:1024px){body.calm .foot-grid{grid-template-columns:minmax(0,1fr) repeat(3,max-content);column-gap:64px}}

/* ---------- 2026-11-26 (Dan): orange CTAs, H1 key in orange, desktop hero photo to the edge, the strip under the hero ---------- */
/* every CTA in the estimate form's own orange (its Submit button, #ff7b1a); the glows follow the button color (RULEBOOK 1) */
body.calm{--cta:#ff7b1a;--cta-hover:#ff8f3d;--cta-ink:#1a0407;--cta-rgb:255,123,26}
body.calm .hero h1 .h1-key{color:var(--cta)}
body.calm .hero h1 .h1-rest{color:var(--on-dark)}
/* desktop only (the phone hero stays as it was): the photo fills the right half to the edge, top to bottom, and the dark
   ground fades into it from the left, like the screenshot Dan sent */
@media(min-width:960px){
  body.calm .hero{position:relative;overflow:hidden;padding:120px 0 128px}
  body.calm .hero-grid{grid-template-columns:minmax(0,1fr);position:static}
  body.calm .hero-text{position:relative;z-index:2;max-width:52%}
  body.calm .hero-photo{position:absolute;top:0;right:0;bottom:0;width:48%;margin:0;z-index:1}
  /* mirrored as in Dan's mock, so he faces the words and his work sits on the open right edge; the photo itself fades in
     from the left (a mask, so the hero's own gradient shows through and there is no seam) */
  body.calm .hero-photo img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:0% 35%;transform:scaleX(-1);
    -webkit-mask-image:linear-gradient(90deg,#000 62%,rgba(0,0,0,.55) 82%,transparent 100%);mask-image:linear-gradient(90deg,#000 62%,rgba(0,0,0,.55) 82%,transparent 100%)}
}
/* the strip under the hero (Cincinnati Expert Siding's crawl, in this site's colors) */
body.calm .crawl{background:var(--black);color:#fff;padding:16px 0;overflow:hidden;white-space:nowrap;border-top:1px solid rgba(var(--cta-rgb),.35);border-bottom:1px solid rgba(var(--cta-rgb),.35)}
body.calm .crawl ul{display:flex;gap:64px;width:max-content;margin:0;padding:0;list-style:none;animation:nx-crawl 40s linear infinite}
body.calm .crawl li{display:flex;align-items:center;gap:12px;font-family:var(--display,inherit);font-weight:700;font-size:1rem;text-transform:uppercase;letter-spacing:.12em}
body.calm .crawl .dot{width:8px;height:8px;background:var(--cta);display:inline-block}
@keyframes nx-crawl{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){body.calm .crawl ul{animation:none}}

/* ---------- 2026-11-30 (design-lead; RULEBOOK 1, Dan 2026-11-29/30): sticky header, back-to-top to the bottom, the FAQ's
   own look, one closing bar ---------- */
/* the header sticks to the top on every page (position:sticky above, .site-header); a jump to #estimate or #faq lands
   below it (main [id] scroll-margin-top:96px above, so it lands about 20 px under the 77 px bar); the phone menu is fixed
   under the bar and scrolls on its own */
/* back to top: kept to the very bottom (the inline script in the footer); the footer's last line keeps a clear strip under
   it, so the button (18 px up, 48 px tall) never sits over the copyright line or a link */
body.calm .fine{padding-bottom:88px}
body.calm.menu-open .to-top{opacity:0;pointer-events:none}
/* the FAQ, set apart (Dan 2026-11-29: "people look for those"; never one more colored box). Its own look, used by nothing
   else on any page: a fine scarlet pinstripe ground, each question a white card with a maroon rule and a hard scarlet
   offset edge, and a round scarlet toggle (every other mark on the site is square). Wherever an FAQ appears: the homepage
   band, service and town bands (section.nx-faq), and as a panel inside a guide's or Contact's column (div.nx-faq). */
body.calm .nx-faq{background:repeating-linear-gradient(135deg,rgba(var(--ramp-700-rgb),.085) 0 1px,transparent 1px 12px),var(--white)}
body.calm .band.nx-faq.before-dark{background:linear-gradient(180deg,rgba(var(--pale-rgb),0) calc(100% - 200px),var(--foot) 100%),repeating-linear-gradient(135deg,rgba(var(--ramp-700-rgb),.085) 0 1px,transparent 1px 12px),var(--white)}
body.calm div.nx-faq{padding:48px 40px 44px;border-top:0}
body.calm .nx-faq .faq{border-top:0;display:grid;gap:18px;padding:0 6px 6px 0}
body.calm .nx-faq .faq details{background:var(--white);border:2px solid var(--head);box-shadow:6px 6px 0 var(--ramp-600);transition:box-shadow .15s}
body.calm .nx-faq .faq details[open]{box-shadow:6px 6px 0 var(--head)}
body.calm .nx-faq .faq summary{padding:20px 22px 20px 26px}
body.calm .nx-faq .faq summary:hover h3{color:var(--ramp-600)}
body.calm .nx-faq .faq summary::after{width:38px;height:38px;border:0;border-radius:50%;background:var(--ramp-600);color:var(--on-dark);font-size:1.5rem;font-weight:700}
body.calm .nx-faq .faq details[open] summary::after{background:var(--head)}
body.calm .nx-faq .faq details>p,body.calm .nx-faq .faq details>div{padding:0 26px}
body.calm .nx-faq .faq details>p{margin:0 0 16px}
body.calm .nx-faq .faq details>p:last-child,body.calm .nx-faq .faq details>div{padding-bottom:24px}
body.calm .nx-faq .faq details>p:last-child{margin-bottom:0}
@media(max-width:720px){
  body.calm div.nx-faq{margin-left:-20px;margin-right:-20px;padding:36px 20px 32px}
  body.calm .nx-faq .faq{gap:14px;padding:0 4px 4px 0}
  body.calm .nx-faq .faq details{box-shadow:4px 4px 0 var(--ramp-600)}
  body.calm .nx-faq .faq details[open]{box-shadow:4px 4px 0 var(--head)}
  body.calm .nx-faq .faq summary{padding:16px 14px 16px 16px;gap:14px}
  body.calm .nx-faq .faq summary::after{width:32px;height:32px;font-size:1.25rem}
  body.calm .nx-faq .faq details>p,body.calm .nx-faq .faq details>div{padding-left:16px;padding-right:16px}
}
/* the one closing bar (Dan 2026-11-30): section.cta-bar > .wrap.stinger-grid, words left, button right, the same on every
   page; on a phone the button runs the full width (above) */
/* its words take all the room beside the button (Dan 2026-11-20, "use the space"; no 760 px cap), the button beside them
   down to a 1024 px screen, under them on a phone */
body.calm .stinger-text{max-width:none;flex:1 1 520px;min-width:0}
body.calm .cta-bar .stinger-grid>.btn{flex:none}
/* where a dark band sits right above the bar (service pages' sibling services, About's principles), the two meet on the
   site's pale scarlet seam, as every two dark bands do (inner.css .nx-dark + .nx-dark) */
body.calm :is(.nx-dark,.deep-band,.dark,.deep) + .cta-bar{border-top:3px solid var(--ramp-300)}
/* the FAQ panel's heading clears the first question card */
body.calm div.nx-faq h2{margin:0 0 28px}
