/* Woodworking Projects Blueprint - static pages (home, catalog, plan pages, legal).
   Minimal: white paper, black ink, one safety-orange accent, hairlines, no shadows. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(/assets/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }

/* Layout: one 1080px column, left-aligned, content-first; grids only for plan cards. */
:root {
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --ink: #17191b;
  --ink-2: #4a4f55;
  --line: #e4e2dd;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --ok: #1f6f43;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
/* Light only: the drawings, wood colors and print output are designed on white. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); overflow-x: hidden; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 65ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }

/* header / footer */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { font-family: var(--display); font-size: 1.3rem; text-decoration: none; letter-spacing: .01em; line-height: 1.05; white-space: nowrap; }
.logo b { color: var(--accent); }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: .98rem; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a[aria-current="page"] { color: var(--accent); }
.beta { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin-left: 8px; height: 1.5em; padding: 0 .55em; border: 1px solid currentColor; border-radius: 4px; font: 700 .5em/1 var(--body); letter-spacing: .12em; text-indent: .12em; text-transform: uppercase; color: var(--ink-2); position: relative; top: -1px; }
/* Beta: next to the logo on wide screens; on phones it moves to the menu row, so it can never be pushed off screen. */
.beta-nav { display: none; }
/* Phones: logo on its own line, menu on a second line, so nothing is ever cut off. */
@media (max-width: 600px) {
  .site-head .wrap { flex-wrap: wrap; gap: 0 10px; min-height: 0; padding-block: 12px 2px; }
  .logo { font-size: min(1.3rem, 5.4vw); }
  .nav { width: 100%; gap: 0 20px; font-size: .95rem; flex-wrap: wrap; }
  .nav a { padding: 8px 0; }
  .beta-logo { display: none; }
  .beta-nav { display: inline-flex; margin: 0 0 0 auto; align-self: center; font-size: .72rem; height: 1.6em; }
}
.site-foot { border-top: 1px solid var(--line); margin-top: 72px; padding-block: 32px 48px; font-size: .9rem; color: var(--ink-2); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.crumbs { font-size: .88rem; color: var(--ink-2); padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 6px;
  font: 700 1rem var(--body); text-decoration: none; color: var(--ink); background: transparent; cursor: pointer; }
.btn:hover { color: var(--ink); background: var(--paper-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

/* hero */
.hero { display: grid; gap: 28px; padding-block: 36px 12px; grid-template-columns: minmax(0, 1fr); }
.hero .lede { font-size: 1.15rem; color: var(--ink-2); }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding-top: 56px; } }
.media { aspect-ratio: 4 / 3; background: var(--paper-2); border-radius: 6px; overflow: hidden; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .tag { position: absolute; }
.figure { position: relative; margin: 0; }
.figure figcaption { font-size: .82rem; color: var(--ink-2); margin-top: 8px; }
.slot { width: 100%; height: 100%; display: grid; place-content: center; gap: 4px; text-align: center; padding: 20px; border: 1px dashed var(--accent); color: var(--ink-2); font-size: .9rem; }
.slot b { color: var(--ink); font-size: 1rem; }
.slot code { font-family: var(--mono); font-size: .78rem; overflow-wrap: anywhere; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 8px 0 0; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* plan cards */
.grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.card .media { position: relative; }
.card h3 { margin: 0; font-size: 1.45rem; }
.card .label { margin-bottom: -4px; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card .meta { font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card.soon { opacity: .62; }
.card.soon .media { display: grid; place-content: center; font-family: var(--display); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.badge-ai { left: auto; right: 10px; top: auto; bottom: 10px; background: rgba(0,0,0,.66); color: #fff; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filters button { font: 600 .92rem var(--body); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 40px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* category list */
.cats { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.cats li { border-bottom: 1px solid var(--line); }
.cats a, .cats span { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; font-weight: 600; }
.cats small { color: var(--ink-2); font-weight: 400; font-variant-numeric: tabular-nums; }
.cats span { color: var(--ink-2); }

/* plan page content */
.cols { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .cols { grid-template-columns: minmax(0, 1fr) 300px; } .aside { position: sticky; top: 24px; align-self: start; } }
.aside { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .97rem; }
th, td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }
.list .qty { min-width: 2.5em; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.list small { color: var(--ink-2); flex-basis: 100%; }
.step { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.step h3 { display: flex; gap: 12px; align-items: baseline; }
.step h3 span { color: var(--accent); font-variant-numeric: tabular-nums; }
.step ol { padding-left: 1.3em; max-width: 65ch; }
.step li { margin-bottom: .45em; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; margin: 12px 0; max-width: 65ch; color: var(--ink-2); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 72ch; }
details summary { font-weight: 700; cursor: pointer; }
details summary h3 { display: inline; font: 700 1.05rem/1.4 var(--body); margin: 0; }
details p { margin: 10px 0 0; color: var(--ink-2); }
.capture { border: 1px solid var(--ink); border-radius: 6px; padding: 22px; margin-top: 40px; display: grid; gap: 10px; }
.capture form { display: flex; flex-wrap: wrap; gap: 10px; }
.capture input { flex: 1 1 220px; min-height: 50px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; font: inherit; background: var(--paper); color: var(--ink); }
.offer { background: var(--paper-2); border-radius: 6px; padding: 16px; }
.offer b { display: block; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; }

/* home */
.hero-home h1 { font-size: clamp(2.5rem, 9vw, 4.2rem); }
.proofline { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--ink-2); }
.proofline li::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.continue { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-block: 14px;
  border: 1px solid var(--ink); border-radius: 6px; padding-inline: 16px; max-width: calc(1080px - 40px); }
.continue div { display: flex; flex-direction: column; gap: 2px; }
.rooms { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.room { display: flex; flex-direction: column; gap: 4px; min-height: 84px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
a.room:hover { border-color: var(--ink); color: var(--ink); }
.room b { font-family: var(--display); font-size: 1.2rem; }
.room small { color: var(--ink-2); }
.room.off { color: var(--ink-2); background: var(--paper-2); border-color: transparent; }
.feature-plan { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-top: 40px; padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-media { display: block; }
/* Title always above the image on phones; on wide screens the image sits left, title and details right. */
.feature-plan { grid-template-areas: "head" "fig" "rest"; }
.fp-head { grid-area: head; } .fp-fig { grid-area: fig; } .fp-rest { grid-area: rest; }
.fp-head h2 { margin-top: 0; }
@media (min-width: 860px) { .feature-plan { grid-template-columns: 1.1fr 1fr; grid-template-areas: "fig head" "fig rest"; grid-template-rows: 1fr 1fr; column-gap: 44px; row-gap: 0; } .fp-head { align-self: end; } .fp-rest { align-self: start; } }
.how { padding-left: 1.3em; max-width: 68ch; }
.how li { margin-bottom: .7em; }

/* share */
.share { display: grid; gap: 10px; margin-top: 6px; }
.share-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) and (max-width: 959px) { .share-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.share-links a, .share-links button { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px;
  font: 600 .95rem var(--body); color: var(--ink); background: var(--paper); text-decoration: none; cursor: pointer; min-width: 0; }
.share-links a:hover, .share-links button:hover { border-color: var(--ink); color: var(--ink); }
.share-links span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sico { display: inline-flex; flex: 0 0 auto; }
.sico svg { width: 20px; height: 20px; display: block; }

/* plan page: thumb-zone action bar on phones */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px;
  padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .sticky-cta { display: none; } }
@media (max-width: 959px) { body:has(.sticky-cta) { padding-bottom: 84px; } }

.share-links .share-copy { grid-column: 1 / -1; justify-content: center; }

/* follow links */
.follow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 0 0 14px; }
.follow a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.follow a:hover { border-color: var(--ink); color: var(--ink); }
.follow-big { margin: 6px 0 0; }
.follow-big a { min-height: 50px; padding: 0 18px; font-size: 1rem; }

/* plan page header: on phones the picture comes right after the title; on desktop it sits beside the text */
.plan-hero { gap: 18px; }
@media (min-width: 900px) {
  .plan-hero { grid-template-columns: 1fr 1.1fr; grid-template-areas: "head fig" "rest fig"; column-gap: 48px; row-gap: 0; align-items: start; }
  .ph-head { grid-area: head; align-self: end; }
  .ph-fig { grid-area: fig; }
  .ph-rest { grid-area: rest; }
}

/* plan card button: the visible 'click here' */
.card-cta { margin-top: auto; align-self: stretch; gap: 6px; min-height: 48px; }
.card-cta svg { width: 22px; height: 22px; }
a.card:hover .card-cta { filter: brightness(1.07); }
a.card:hover { color: inherit; }
a.card:hover h3 { color: var(--accent); }
.card.soon .card-cta { background: transparent; color: var(--ink); border-color: var(--line); }
