/* Clearmode Studio — portfolio site.
   Shares the palette and fonts of the Saltbush demo (oxblood + chrome grey, Barlow).

   COMPOSITION RULES (keep the page consistent)
   - One container width (--wrap) and one text measure (--measure) everywhere.
   - One page colour (--bg) for the whole page. Sections are told apart by a hairline, generous space and a short accent bar on the eyebrow
     label, never by alternating background stripes. Depth comes from local surfaces (--paper): the showcase, the price card, the included list, the FAQ, the contact card.
   - Every section starts the same way: small eyebrow label, then one H2. Nothing else competes with it.
   - "Paper" (--paper) is only for things read closely: price card, included list, contact card, FAQ.
   - --action means "press here" and nothing else. --mark is the same hue, tuned for small marks on dark.
   - No JavaScript, no external requests. FAQ uses <details>. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #E7E8EA; --paper: #F6F6F7; --ink: #25272C; --steel: #4A4F58; --rule: #BDC1C7; --line-strong: #6F747C;
  --action: #7A1F2B; --on-action: #FFFFFF; --action-hover: #8F2634; --mark: #7A1F2B;
  --inv: #25272C; --on-inv: #F6F6F7; --good: #1F6B3A;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 18px; --fs-small: 16px; --fs-xs: 14px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --gutter: 20px; --section-y: 56px; --wrap: 1120px; --measure: 38rem;
  --edge: var(--ink); --radius: 3px; --border: 2px solid var(--edge); --tap: 48px; --head-h: 64px;
}
@media (min-width: 900px) { :root { --section-y: 96px; --gutter: 32px; --head-h: 72px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1C20; --paper: #25272C; --ink: #ECECEE; --steel: #AAAEB6; --rule: #3F4249; --line-strong: #8A8E96;
    --edge: #6E737C; --action: #B84A5C; --action-hover: #C24F62; --mark: #E27A8D; --inv: #101114; --on-inv: #ECECEE; --good: #6FCF97;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + var(--s4)); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--font-body); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--font-display); font-weight: 700; line-height: 1; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--s2); z-index: 60; background: var(--paper); color: var(--ink); border: var(--border); padding: var(--s2) var(--s4); border-radius: var(--radius); }
.skip:focus { left: var(--s2); }
.fine { font-size: var(--fs-xs); color: var(--steel); margin: var(--s3) 0 0; max-width: var(--measure); }
.eyebrow { font: 600 var(--fs-xs)/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--steel); margin: 0 0 var(--s3); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 24px; border: 2px solid var(--action); border-radius: var(--radius); font: 600 var(--fs-body)/1 var(--font-body); text-decoration: none; background: var(--action); color: var(--on-action); cursor: pointer; }
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--paper); }
.btn.small { min-height: 44px; padding: 0 var(--s4); font-size: var(--fs-small); white-space: nowrap; }
.btn .narrow { display: inline; } .btn .wide { display: none; }
@media (min-width: 480px) { .btn .narrow { display: none; } .btn .wide { display: inline; } }

/* header: sticky, so the request button is always one tap away */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 2px solid var(--edge); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--head-h); }
.logo { display: flex; align-items: center; min-height: 44px; gap: 10px; font: 700 26px/1 var(--font-display); letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.logo i { width: 18px; height: 18px; background: var(--mark); border-radius: 2px; box-shadow: 6px 6px 0 -1px var(--ink); margin-right: 6px; }
nav.links { display: none; gap: 28px; font-weight: 600; font-size: var(--fs-small); }
nav.links a { text-decoration: none; padding: var(--s3) 0; border-bottom: 2px solid transparent; }
nav.links a:hover { border-bottom-color: var(--ink); }
@media (min-width: 860px) { nav.links { display: flex; } }

/* sections: one rhythm for all */
section.block { padding: var(--section-y) 0; border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: var(--s6); }
.sec-head .eyebrow { display: flex; align-items: center; gap: var(--s3); }
.sec-head .eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--mark); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 52px); max-width: 22ch; }
.sec-head .sub { margin: var(--s3) 0 0; color: var(--steel); max-width: var(--measure); }
@media (min-width: 900px) { .sec-head { margin-bottom: var(--s7); } }

/* 1. hero */
.hero { padding: var(--s6) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 68px); max-width: 18ch; }
.lead { font-size: 21px; line-height: 1.45; max-width: 30em; margin: var(--s5) 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero .fine { margin-top: var(--s4); }
.sheet { background: var(--paper); border: var(--border); border-radius: var(--radius); }
.price-sheet { padding: var(--s5); }
.price-sheet .label { font: 600 var(--fs-xs)/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--steel); }
.price-sheet .amount { font: 700 clamp(72px, 10vw, 104px)/.9 var(--font-display); margin: var(--s3) 0 var(--s1); }
.price-sheet .amount sup { font-size: .38em; vertical-align: top; position: relative; top: .18em; margin-right: 4px; }
.price-sheet .once { margin: 0 0 var(--s3); color: var(--steel); font-size: var(--fs-small); }
.price-sheet ul { border-top: 2px dashed var(--line-strong); padding-top: var(--s2); }
.price-sheet li, .checks li { padding: 7px 0 7px 28px; position: relative; font-size: var(--fs-small); }
.price-sheet li::before, .checks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 6px; border-left: 3px solid var(--mark); border-bottom: 3px solid var(--mark); transform: rotate(-45deg); }
.facts { margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 2px dashed var(--line-strong); display: grid; gap: var(--s2); font-size: var(--fs-small); }
.facts div { display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); }
.facts dt { font: 600 var(--fs-xs)/1.7 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--steel); }
.facts dd { margin: 0; font-weight: 600; }
@media (min-width: 900px) { .hero { padding: var(--s7) 0 var(--s8); } .hero-grid { grid-template-columns: 1.3fr 1fr; gap: var(--s8); } }

/* 2. example: one composition, desktop shot with the phone overlapping its corner */
.example { display: grid; gap: var(--s6); align-items: center; padding: var(--s4); }
@media (min-width: 600px) { .example { padding: var(--s5); } }
.tag { display: inline-block; max-width: 100%; text-align: center; text-wrap: balance; background: var(--inv); color: var(--on-inv); font: 600 var(--fs-xs)/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; padding: 8px 10px; border-radius: 2px; margin-bottom: var(--s4); }
.ex-copy p { max-width: var(--measure); }
.ticks { margin: var(--s4) 0 var(--s5); }
.ticks li { padding: 5px 0 5px 24px; position: relative; font-weight: 600; font-size: var(--fs-small); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 3px; background: var(--mark); }
.stage { margin: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 4%; flex-wrap: wrap; }
.stage picture:first-of-type { flex: 0 0 62%; }
.stage picture:nth-of-type(2) { flex: 0 0 34%; }
.stage img { display: block; width: 100%; height: auto; border: var(--border); background: var(--paper); box-shadow: 0 18px 36px -18px rgba(0,0,0,.4); }
.stage .desk { border-radius: var(--radius); }
.stage .phone { border-radius: 14px; }
.stage figcaption { flex: 0 0 100%; margin-top: var(--s4); font-size: var(--fs-xs); color: var(--steel); }
@media (min-width: 560px) { .stage picture:first-of-type { flex-basis: 73%; } .stage picture:nth-of-type(2) { flex-basis: 22%; } }
@media (min-width: 900px) { .example { grid-template-columns: 4fr 7fr; gap: var(--s7); padding: var(--s7); } }

/* 3. package: included is the main box, not-included is quiet text beside it */
.pkg { display: grid; gap: var(--s6); }
.pkg h3 { font-size: 30px; margin-bottom: var(--s3); }
.pkg-in { padding: var(--s5); }
.checks li { border-bottom: 1px solid var(--rule); }
.checks li:last-child { border-bottom: 0; }
.checks strong { font-weight: 600; }
.dashes li { padding: 6px 0 6px 22px; position: relative; font-size: var(--fs-small); color: var(--steel); }
.dashes li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 3px; background: var(--line-strong); }
@media (min-width: 900px) { .pkg { grid-template-columns: 1.3fr 1fr; gap: var(--s7); align-items: start; } .pkg-in { padding: var(--s6); } }

/* 4. process: four equal steps */
.steps { display: grid; gap: var(--s5); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: var(--s3) 0 0 56px; border-top: 3px solid var(--edge); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: var(--s3); font: 700 44px/1 var(--font-display); color: var(--mark); }
.steps h3 { font-size: 26px; margin-bottom: var(--s2); }
.steps p { margin: 0; color: var(--steel); font-size: var(--fs-small); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s6); } .steps li { padding: var(--s5) 0 0; } .steps li::before { position: static; display: block; margin-bottom: var(--s3); } }

/* 5. about */
.about { display: grid; gap: var(--s5); }
.about p { max-width: var(--measure); }
.about p:last-child { margin-bottom: 0; }
.facts-list { display: grid; gap: var(--s4); border-left: 4px solid var(--mark); padding-left: var(--s4); font-size: var(--fs-small); color: var(--steel); align-content: start; }
.facts-list strong { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; gap: var(--s8); } }

/* 6. faq */
.faq { max-width: 52rem; background: var(--paper); border: var(--border); border-radius: var(--radius); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: var(--s4) 56px var(--s4) var(--s5); font: 600 19px/1.35 var(--font-body); position: relative; min-height: var(--tap); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: var(--s5); top: 50%; transform: translateY(-50%); font: 600 28px/1 var(--font-body); color: var(--mark); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 var(--s5) var(--s5); max-width: 46em; color: var(--steel); }
.faq .a p { margin: 0 0 var(--s3); }
.faq .a p:last-child { margin: 0; }
.faq .a strong { color: var(--ink); font-weight: 600; }

/* 7. contact */
.contact { display: grid; gap: var(--s6); }
.mail-box { padding: var(--s5); }
.mail-box .addr { font: 700 clamp(26px, 5vw, 38px)/1.1 var(--font-display); word-break: break-all; margin: 0 0 var(--s4); }
.include h3 { font-size: 28px; margin-bottom: var(--s3); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; } }

/* footer */
footer.site { background: var(--inv); color: var(--on-inv); padding: var(--s7) 0 var(--s6); font-size: var(--fs-small); }
footer.site .cols { display: grid; gap: var(--s5); }
footer.site h2 { font-size: 26px; margin-bottom: var(--s2); }
footer.site p { margin: 0 0 var(--s2); }
footer.site a { color: var(--on-inv); }
footer.site .legal { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line-strong); font-size: var(--fs-xs); color: #C8CBD1; }
@media (min-width: 800px) { footer.site .cols { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s7); } }

/* legal pages and 404 */
.doc { padding: var(--s7) 0 var(--section-y); }
.doc > * { max-width: 48rem; }
.doc h1 { font-size: clamp(44px, 8vw, 72px); margin-bottom: var(--s4); }
.doc h2 { font-size: 32px; margin: var(--s7) 0 var(--s3); }
.doc h3 { font-size: 24px; margin: var(--s5) 0 var(--s2); }
.doc li { padding: 4px 0 4px 20px; position: relative; }
.doc li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 3px; background: var(--mark); }
.doc table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin: var(--s4) 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: var(--s3) var(--s3) var(--s3) 0; border-top: 1px solid var(--line-strong); }
.doc .updated { color: var(--steel); font-size: var(--fs-small); }
.doc .box { background: var(--paper); border: var(--border); border-radius: var(--radius); padding: var(--s4) var(--s5); margin: var(--s5) 0; }
.back { margin-top: var(--s6); }

@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color .15s; } }
@media print { .top nav, .cta-row, .skip { display: none; } .top { position: static; } body { background: #fff; color: #000; } }
