:root {
  --paper: #f6f1e8;
  --paper-2: #ede4d5;
  --card: #fbf8f2;
  --ink: #241c16;
  --ink-2: #5d4f43;
  --ink-3: #8a7b6d;
  --cedar: #9b4e22;
  --cedar-dark: #7b3c18;
  --line: rgba(36, 28, 22, 0.14);
  --shadow: 0 1px 2px rgba(36, 28, 22, 0.06), 0 8px 24px rgba(36, 28, 22, 0.08);
  --radius: 4px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cedar);
}
.muted { color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.5em;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--cedar); border-color: var(--cedar); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.link { color: var(--cedar); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.link:hover { color: var(--cedar-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.brand span { font: 500 1.15rem/1.1 var(--serif); }
.brand small { display: block; font: 500 0.68rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { min-height: 42px; color: var(--paper); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer;
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--cedar); color: #fff; font: 700 0.7rem/18px var(--sans); text-align: center;
}
.cart-count:empty { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; border-bottom: 1px solid var(--ink); }
  .brand small { display: none; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { max-width: 18ch; margin-top: 12px; }
.section-head p { max-width: 46ch; }
.band { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: #cbbcab; }
.dark .eyebrow { color: #e3a36f; }

/* Hero */
.hero { position: relative; padding: 0; min-height: min(88vh, 820px); display: flex; align-items: end; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,0.15) 0%, rgba(20,14,10,0.35) 45%, rgba(20,14,10,0.82) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 120px; width: 100%; }
.hero .eyebrow { color: #f0c08f; }
.hero h1 { max-width: 14ch; margin: 18px 0 20px; }
.hero p { max-width: 50ch; font-size: 1.15rem; color: #f2e9dc; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.service .num { font: 500 0.85rem/1 var(--serif); color: var(--cedar); }
.service h3 { margin: 14px 0 10px; }
.service p { color: var(--ink-2); font-size: 0.97rem; }

/* Work gallery */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.work figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work figure:hover img { transform: scale(1.03); }
.work figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font: 600 0.82rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.work .w-a { grid-column: span 7; aspect-ratio: 16 / 10; }
.work .w-b { grid-column: span 5; aspect-ratio: auto; }
.work .w-c { grid-column: span 5; aspect-ratio: 4 / 3; }
.work .w-d { grid-column: span 7; aspect-ratio: auto; }
@media (max-width: 760px) {
  .work .w-a, .work .w-b, .work .w-c, .work .w-d { grid-column: span 12; aspect-ratio: 4 / 3; }
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split h2 { margin: 14px 0 20px; }
.split p + p { margin-top: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 48px; counter-reset: step; }
.step { border-top: 1px solid rgba(246,241,232,0.25); padding-top: 20px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 2rem/1 var(--serif); color: #e3a36f; display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.areas span { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; background: var(--card); }

/* Product grid */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.product-card { display: flex; flex-direction: column; text-decoration: none; }
.product-card .ph { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.product-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; }
.product-card .ph img.hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .ph img.hover { opacity: 1; }
.product-card .ribbon { position: absolute; top: 12px; left: 12px; padding: 5px 10px; background: var(--paper); font: 600 0.72rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; }
.product-card h3 { font-size: 1.12rem; margin: 16px 0 6px; }
.price { font-weight: 600; }
.price s { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.stock { color: var(--ink-3); font-size: 0.88rem; }
.product-card .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qa { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 8px 12px; font: 600 0.82rem/1 var(--sans); cursor: pointer; color: var(--ink); }
.qa:hover { border-color: var(--ink); }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); font: 500 0.9rem var(--serif); }

/* Post cards */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card .ph { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.post-card:hover .ph img { transform: scale(1.03); }
.post-card .meta { margin-top: 18px; font-size: 0.85rem; color: var(--ink-3); }
.post-card h3 { margin: 8px 0 10px; font-size: 1.3rem; }
.post-card:hover h3 { color: var(--cedar-dark); }
.post-card p { color: var(--ink-2); font-size: 0.96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-lead { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; text-decoration: none; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.post-lead .ph { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.post-lead .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-lead h2 { margin: 12px 0 16px; }
.post-lead:hover h2 { color: var(--cedar-dark); }
@media (max-width: 860px) { .post-lead { grid-template-columns: 1fr; gap: 24px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 0.88rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Page heads */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 14px 0 16px; max-width: 18ch; }
.page-head p { max-width: 56ch; color: var(--ink-2); font-size: 1.08rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0 32px; border-top: 1px solid var(--line); }
select { min-height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font: 500 0.92rem var(--sans); color: var(--ink); }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); padding: 40px 0 96px; align-items: start; }
.gallery-main { aspect-ratio: 1; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--paper-2); }
.thumbs button[aria-current="true"] { border: 2px solid var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 100px; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 14px; }
.pdp-info .price { font-size: 1.35rem; }
.desc { margin-top: 24px; color: var(--ink-2); }
.desc p + p, .desc ul { margin-top: 12px; }
.opt { margin-top: 24px; }
.opt-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.opt .chips button[disabled] { opacity: 0.4; text-decoration: line-through; }
.opt input[type="text"] { width: 100%; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty span { min-width: 36px; text-align: center; font-weight: 600; }
.buy { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.buy .btn { flex: 1; min-width: 200px; }
.note { margin-top: 12px; font-size: 0.9rem; color: var(--ink-2); }
.err { color: #a12a1b; font-size: 0.9rem; margin-top: 10px; }
details.info { border-top: 1px solid var(--line); padding: 16px 0; }
details.info:last-of-type { border-bottom: 1px solid var(--line); }
details.info summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.info summary::after { content: "+"; font-size: 1.2rem; }
details.info[open] summary::after { content: "–"; }
details.info .body { margin-top: 12px; color: var(--ink-2); font-size: 0.95rem; }
.crumbs { padding-top: 28px; font-size: 0.88rem; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp-info { position: static; } }

/* Article */
.article-head { max-width: 820px; margin: 0 auto; padding: 56px var(--gutter) 32px; text-align: center; }
.article-head h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 18px 0; }
.article-head .meta { color: var(--ink-3); font-size: 0.92rem; }
.article-cover { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 700px; margin: 0 auto; padding: 48px var(--gutter) 24px; font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.9rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; height: auto; }
.prose a { color: var(--cedar); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--cedar); font-family: var(--serif); font-size: 1.25rem; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.article-foot { max-width: 700px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.callout { background: var(--paper-2); padding: 32px; border-radius: var(--radius); margin-top: 32px; }
.callout h3 { margin-bottom: 10px; }
.callout .btn { margin-top: 20px; }

/* Form */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 88px); padding-bottom: 104px; align-items: start; }
.contact-info dl { margin: 32px 0 0; }
.contact-info dt { font: 600 0.74rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 24px; }
.contact-info dd { margin: 8px 0 0; font-size: 1.1rem; }
.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; grid-column: span 2; }
.field.half { grid-column: span 1; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; }
.field .req { color: var(--cedar); }
.field .help { font-size: 0.85rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(36,28,22,0.25); border-radius: var(--radius);
  background: #fff; font: 400 1rem var(--sans); color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(155,78,34,0.18); }
[aria-invalid="true"] { border-color: #a12a1b !important; }
.field .ferr { color: #a12a1b; font-size: 0.85rem; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--cedar); }
.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; }
.thanks { text-align: center; padding: 32px 0; }
.thanks h2 { margin-bottom: 14px; }
.thanks p + p { margin-top: 10px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field.half { grid-column: span 2; } }

/* CTA */
.cta { position: relative; overflow: hidden; color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(24,17,12,0.72); }
.cta .wrap { position: relative; z-index: 1; text-align: center; }
.cta h2 { max-width: 20ch; margin: 16px auto 18px; }
.cta p { max-width: 52ch; margin: 0 auto; color: #f2e9dc; }
.cta .btn { margin-top: 32px; }
.cta .eyebrow { color: #f0c08f; }

/* Footer */
.site-footer { background: var(--ink); color: #d9ccbc; padding: 72px 0 40px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font: 600 0.74rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #a3927f; margin: 0 0 18px; }
.site-footer a { text-decoration: none; color: #f2e9dc; }
.site-footer a:hover { color: #f0c08f; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer .fbrand { font: 500 1.5rem/1.2 var(--serif); color: #f6f1e8; margin-bottom: 14px; }
.site-footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(246,241,232,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #a3927f; font-size: 0.85rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,14,10,0.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -8px 0 32px rgba(20,14,10,0.18); }
.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 1.5rem; }
.drawer .x { width: 44px; height: 44px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.drawer .lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img, .line .noimg { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.line h3 { font: 600 0.98rem/1.3 var(--sans); }
.line .desc-lines { font-size: 0.82rem; color: var(--ink-3); margin-top: 4px; }
.line .qty { margin-top: 10px; }
.line .qty button { width: 34px; height: 34px; }
.line .rm { border: 0; background: none; color: var(--ink-3); font-size: 0.82rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 8px; }
.line .lp { text-align: right; font-weight: 600; }
.line .lp s { display: block; color: var(--ink-3); font-weight: 400; font-size: 0.85rem; }
.line .warn { color: #a12a1b; font-size: 0.82rem; margin-top: 4px; }
.drawer footer { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--card); }
.totals div { display: flex; justify-content: space-between; font-size: 0.95rem; margin-top: 6px; }
.totals .grand { font-weight: 700; font-size: 1.1rem; margin-top: 12px; }
.drawer footer .btn { width: 100%; margin-top: 18px; }
.drawer .empty { text-align: center; padding: 64px 0; color: var(--ink-2); }
.drawer .empty .btn { margin-top: 20px; }
.coupon { display: flex; gap: 8px; margin-top: 4px; margin-bottom: 14px; }
.coupon input { min-height: 40px; padding: 8px 12px; flex: 1; }
.coupon button { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }

/* Skeleton / states */
.sk { background: linear-gradient(90deg, var(--paper-2), #f3ece0, var(--paper-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
.state { padding: 64px 0; text-align: center; color: var(--ink-2); }
.state h2 { margin-bottom: 12px; color: var(--ink); }
.state .btn { margin-top: 24px; }
.more { display: flex; justify-content: center; margin-top: 56px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
/* Cookie consent */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 72px; z-index: 70; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 20px 24px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(20,14,10,0.22); }
.cookie-bar p { flex: 1 1 320px; font-size: 0.95rem; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 0 1.2em; }
.cookie-modal-bg { position: fixed; inset: 0; z-index: 71; background: rgba(20,14,10,0.5); }
.cookie-modal { position: fixed; z-index: 72; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 60px rgba(20,14,10,0.3); }
.cookie-modal:focus { outline: none; }
.cookie-modal h2 { font-size: 1.6rem; margin-bottom: 8px; }
.cookie-cat { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cookie-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-cat h3 { font: 600 1rem/1.3 var(--sans); }
.cookie-cat p { margin-top: 6px; font-size: 0.9rem; color: var(--ink-2); }
.cookie-on { font-size: 0.82rem; color: var(--ink-3); white-space: nowrap; }
.cookie-modal .cookie-actions { justify-content: flex-end; margin-top: 20px; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span[aria-hidden] { position: absolute; inset: 0; border-radius: 13px; background: #cbbfb1; transition: background 0.2s; pointer-events: none; }
.switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked + span { background: var(--cedar); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--cedar); outline-offset: 2px; }
.cookie-revisit { position: fixed; left: 16px; bottom: 16px; z-index: 25; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font: 500 0.8rem/1 var(--sans); cursor: pointer; box-shadow: var(--shadow); }
.cookie-revisit:hover { color: var(--ink); border-color: var(--ink); }
.legal button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }
.cookie-revisit { bottom: 20px; }

/* Brand layer: North Shore Carpentry colors (navy, orange, aqua, light blue, gray) and Georgia */
:root {
  --paper: #ffffff;
  --paper-2: #f4f2f2;
  --sky: #ddeef8;
  --card: #ffffff;
  --ink: #000000;
  --ink-2: #3f4652;
  --ink-3: #5f6672;
  --navy: #275792;
  --navy-dark: #1d4475;
  --orange: #ed5d35;
  --orange-dark: #d6491f;
  --aqua: #6dcde6;
  --cedar: var(--navy);
  --cedar-dark: var(--navy-dark);
  --line: rgba(39, 87, 146, 0.16);
  --serif: "Georgia Pro", Georgia, "Times New Roman", serif;
  --sans: "Georgia Pro", Georgia, "Times New Roman", serif;
}
h1, h2, h3 { color: var(--navy); font-weight: 400; letter-spacing: 0; }
.hero h1, .cta h2, .dark h2, .dark h3 { color: #fff; }
.site-header { background: rgba(255, 255, 255, 0.96); }
.btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--accent, .nav .btn.btn--accent { background: var(--orange); border-color: var(--orange); color: #000; }
.btn--accent:hover, .nav .btn.btn--accent:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #000; }
.cart-count { background: var(--orange); color: #000; }
.service .num { color: var(--orange); font-size: 1rem; }
.band--blue { background: var(--sky); }
.dark { background: var(--navy); color: #fff; }
.dark .muted { color: #e3eef8; }
.dark .eyebrow { color: var(--aqua); }
.step { border-top-color: rgba(255, 255, 255, 0.3); }
.step::before { color: var(--aqua); }
.hero::after { background: linear-gradient(180deg, rgba(12, 28, 50, 0.15) 0%, rgba(12, 28, 50, 0.4) 45%, rgba(12, 28, 50, 0.85) 100%); }
.hero .eyebrow, .cta .eyebrow { color: var(--aqua); }
.hero p, .cta p { color: #eef5fb; }
.cta::after { background: rgba(20, 45, 80, 0.8); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.prose blockquote { border-left-color: var(--orange); }
input:focus, textarea:focus, select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(39, 87, 146, 0.2); }
.sk { background: linear-gradient(90deg, #f4f2f2, #fbfbfb, #f4f2f2); background-size: 200% 100%; }
.site-footer { background: var(--navy); color: #e3eef8; }
.site-footer h4 { color: var(--sky); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--aqua); }
.site-footer .fbrand { color: #fff; }
.site-footer .legal { color: #cfe0f0; border-top-color: rgba(255, 255, 255, 0.2); }
.site-footer .ftag { font-style: italic; color: var(--aqua); margin-bottom: 10px; }
.wrap.page-head, .wrap.state { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Home hero, matching the current northshorecarp.com hero */
.hero--classic { min-height: min(92vh, 860px); align-items: flex-start; text-align: center; }
.hero--classic::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 75%); }
.hero--classic .wrap { display: flex; flex-direction: column; align-items: center; padding-top: clamp(56px, 9vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero--classic h1 { color: #fff; text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1; letter-spacing: 0.01em; max-width: none; margin: 0; }
.hero--classic .hero-sub { margin-top: 18px; color: #fff; text-transform: uppercase; font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.45; letter-spacing: 0.02em; max-width: none; }
.hero-box { margin-top: clamp(40px, 7vw, 72px); width: 100%; max-width: 820px; padding: clamp(24px, 4vw, 40px) clamp(20px, 5vw, 56px); background: rgba(255, 255, 255, 0.85); box-shadow: 0 5px 4px rgba(0, 0, 0, 0.6); }
.hero--classic .hero-box p { color: var(--navy); font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.4; max-width: none; }
/* Home hero, modern: full-screen photo, text lower left on a soft navy shade */
.hero--modern { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); align-items: flex-end; text-align: left; overflow: hidden; }
.hero--modern .hero-img { object-position: 60% 35%; transform-origin: 65% 30%; animation: nsc-hero-zoom 22s ease-out forwards; }
@keyframes nsc-hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero--modern::after { background: linear-gradient(0deg, rgba(16, 38, 70, 0.92) 0%, rgba(16, 38, 70, 0.62) 32%, rgba(16, 38, 70, 0.12) 62%, rgba(16, 38, 70, 0) 82%), linear-gradient(90deg, rgba(16, 38, 70, 0.7) 0%, rgba(16, 38, 70, 0.4) 40%, rgba(16, 38, 70, 0) 68%); }
.hero--modern .wrap { padding-top: 160px; padding-bottom: clamp(44px, 7vw, 88px); }
.hero--modern .eyebrow { color: var(--aqua); letter-spacing: 0.28em; font-size: 0.8rem; }
.hero--modern h1 { color: #fff; font-size: clamp(2.8rem, 7.5vw, 6rem); line-height: 1.02; margin: 18px 0 20px; max-width: 12ch; }
.hero--modern .hero-lede { max-width: 46ch; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, 0.9); }
.hero--modern .actions { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 32px; }
.hero--modern .btn { border-radius: 999px; min-height: 52px; padding: 0 1.9em; }
.hero-link { color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.5); padding-bottom: 2px; }
.hero-link:hover { color: var(--aqua); border-bottom-color: var(--aqua); }
.hero--modern .hero-local { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.22); max-width: none; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 560px) { .hero--modern h1 { max-width: none; } .hero--modern .actions .btn { width: 100%; } }
/* Buttons: brand navy and light blue, square with rounded corners (no orange or black) */
.btn, .qa, .coupon button { border-radius: 8px; }
.btn--accent, .nav .btn.btn--accent { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--accent:hover, .nav .btn.btn--accent:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.hero--modern .btn { border-radius: 8px; }
.hero .btn--accent, .cta .btn--accent, .dark .btn--accent, .btn--light { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.hero .btn--accent:hover, .cta .btn--accent:hover, .dark .btn--accent:hover, .btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); }
/* Top navigation, matching the current northshorecarp.com header */
.site-header .wrap { min-height: 104px; }
.brand--logo img { height: 84px; width: auto; }
.nav--classic { gap: clamp(18px, 2.6vw, 40px); }
.nav--classic a { position: relative; padding: 10px 0; color: var(--navy); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.nav--classic a::before { content: ""; position: absolute; left: -10px; right: -10px; top: -8px; height: 4px; background: var(--navy); opacity: 0; transition: opacity 0.2s; }
.nav--classic a:hover { color: var(--navy-dark); }
.nav--classic a:hover::before, .nav--classic a[aria-current="page"]::before { opacity: 1; }
.nav--classic a[aria-current="page"] { color: #5b82b4; }
section[id] { scroll-margin-top: 110px; }
.hero--modern { min-height: calc(100vh - 104px); min-height: calc(100svh - 104px); }
@media (max-width: 860px) {
  .site-header .wrap { min-height: 80px; }
  .brand--logo img { height: 62px; }
  .nav--classic a { padding: 14px 0; }
  .nav--classic a::before { display: none; }
  .hero--modern { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); }
}
/* Hero: text centered vertically, height capped so large screens don't leave empty space above it */
.hero--modern { align-items: center; min-height: min(calc(100vh - 104px), 760px); min-height: min(calc(100svh - 104px), 760px); }
.hero--modern .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero--modern::after { background: linear-gradient(0deg, rgba(16, 38, 70, 0.85) 0%, rgba(16, 38, 70, 0.55) 45%, rgba(16, 38, 70, 0.2) 75%, rgba(16, 38, 70, 0.05) 100%), linear-gradient(90deg, rgba(16, 38, 70, 0.7) 0%, rgba(16, 38, 70, 0.4) 40%, rgba(16, 38, 70, 0) 68%); }
@media (max-width: 860px) {
  .hero--modern { min-height: min(calc(100vh - 80px), 680px); min-height: min(calc(100svh - 80px), 680px); }
}
/* What we make: four services in a row, plus the shop's small goods as a full-width strip */
.services { grid-template-columns: repeat(4, 1fr); }
.goods { display: grid; grid-template-columns: 1fr 1.1fr; margin-top: 40px; background: var(--sky); border-radius: 8px; overflow: hidden; }
.goods img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.goods-body { align-self: center; padding: clamp(28px, 4vw, 56px); }
.goods .num { font: 400 1rem/1 var(--serif); color: var(--orange); }
.goods h3 { margin: 12px 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.goods p { max-width: 44ch; color: var(--ink-2); }
.goods .btn { margin-top: 24px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .goods { grid-template-columns: 1fr; } .goods img { min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service { padding-right: 14px; }

/* Portfolio hub and category pages */
.wrap.narrow { max-width: 820px; }
.pf-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: min(62vh, 560px); padding: 0; color: #fff; }
.pf-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 38, 70, 0.9) 0%, rgba(16, 38, 70, 0.55) 45%, rgba(16, 38, 70, 0.15) 100%); }
.pf-hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.pf-hero .eyebrow { color: var(--aqua); letter-spacing: 0.24em; }
.pf-hero h1 { color: #fff; margin: 14px 0 16px; font-size: clamp(2.3rem, 5.5vw, 4rem); max-width: 18ch; }
.pf-hero p { max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.cat-card { grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.cat-card:nth-child(4) { grid-column: 2 / span 2; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.cat-body h2 { font-size: 1.45rem; margin-bottom: 8px; }
.cat-body p { color: var(--ink-2); font-size: 0.97rem; flex: 1; }
.cat-link { margin-top: 16px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.cat-card:hover .cat-link { color: var(--navy-dark); }
.pf-about h2, .pf-area h2, .pf-faq h2 { margin-bottom: 16px; }
.pf-about p { font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); }
.pf-faq { padding-top: clamp(48px, 7vw, 88px); }
details.faq { border-top: 1px solid var(--line); padding: 18px 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.12rem; color: var(--navy); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--navy); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 12px; color: var(--ink-2); max-width: 64ch; }
.pf-quote-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pf-quote h2 { margin: 14px 0 14px; }
.pf-contact { margin-top: 20px; line-height: 1.9; }
.pf-contact a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.pf-head { padding-top: clamp(24px, 4vw, 40px); }
.pf-head h1 { max-width: 22ch; }
.pf-head p { max-width: 68ch; }
.pf-projects { padding-top: 8px; }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.project-imgs { display: grid; gap: 12px; }
.project--wide { grid-column: 1 / -1; }
.project--wide .project-imgs { grid-template-columns: 1fr 1fr; }
.project-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.project h3 { margin: 18px 0 8px; font-size: 1.4rem; }
.project p { color: var(--ink-2); max-width: 62ch; }
.project .credit { margin-top: 6px; font-size: 0.85rem; color: var(--ink-3); font-style: italic; }
.projects > .project:not(.project--wide):last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
.pf-related h2 { margin-bottom: 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rel-card { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink-2); background: #fff; }
.rel-card img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.rel-card strong { color: var(--navy); font-weight: 400; font-size: 1.2rem; }
.rel-card:hover { box-shadow: var(--shadow); }
.pf-back { margin-top: 28px; }
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card, .cat-card:nth-child(4) { grid-column: auto; }
  .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
}
@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; }
  .project--wide .project-imgs { grid-template-columns: 1fr; }
  .projects > .project:not(.project--wide):last-child:nth-child(odd) { width: 100%; }
  .pf-quote-grid, .rel-grid { grid-template-columns: 1fr; }
  .rel-card { grid-template-columns: 110px 1fr; }
  .rel-card img { width: 110px; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card:last-child:nth-child(odd) { width: 100%; }
}
/* What we make: paragraph stacked under the headline, both wider */
#services .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
#services .section-head h2 { max-width: 30ch; }
#services .section-head p { max-width: 68ch; font-size: 1.08rem; }

/* Orange accents: lines, icons, and marks (never buttons or body text) */
.nav--classic a::before { background: var(--orange); }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--orange); }
.link { border-bottom: 2px solid var(--orange); padding-bottom: 1px; }
.link:hover { color: var(--navy-dark); border-bottom-color: var(--orange-dark); }
.hero-link { border-bottom: 2px solid var(--orange); }
.hero-link:hover { color: #fff; border-bottom-color: var(--aqua); }
.cat-link span, .hero-link span { color: var(--orange); }
.cat-card { border-bottom: 3px solid transparent; }
.cat-card:hover { border-bottom-color: var(--orange); }
.rel-card:hover { border-color: var(--orange); }
details.faq summary::after { color: var(--orange); }
.crumbs span[aria-hidden] { color: var(--orange); }
.site-footer { border-top: 0; }
#about .split img { aspect-ratio: 1 / 1; }

/* White top navigation bar */
.site-header { background: #fff; backdrop-filter: none; }
/* How it works: white label, five steps in one row */
.dark .eyebrow { color: #fff; }
.steps--five { grid-template-columns: repeat(5, 1fr); gap: 28px; }
@media (max-width: 1000px) { .steps--five { grid-template-columns: 1fr; gap: 0; } .steps--five .step { padding-bottom: 24px; } }

/* FAQ page and links to it */
.faq-page { padding-top: 0; }
.faq-group { margin-top: 48px; }
.faq-group:first-child { margin-top: 0; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
details.faq ul { margin: 10px 0 0; padding-left: 1.3em; color: var(--ink-2); }
details.faq li + li { margin-top: 4px; }
.link--light { color: #fff; }
.link--light:hover { color: var(--sky); }
/* Footer tagline in white */
.site-footer .ftag { color: #fff; }

/* Footer social icons and legal links */
.site-footer .social { display: flex; gap: 12px; margin-top: 20px; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transition: background .2s, color .2s; }
.site-footer .social a:hover { background: var(--sky); color: var(--navy); }
.site-footer .social svg { width: 20px; height: 20px; }
.site-footer .legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.site-footer .legal-links a, .site-footer .legal-links button { color: #fff; text-decoration: underline; text-underline-offset: 3px; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.site-footer .legal-links a:hover, .site-footer .legal-links button:hover { color: var(--aqua); }
/* Policy pages */
.legal-page { padding-top: 0; }
.legal-doc h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 44px 0 12px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); line-height: 1.7; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 1.3em; }
.legal-doc li + li { margin-top: 4px; }
.legal-doc .legal-updated { margin-top: 40px; font-size: .9rem; color: var(--ink-3); }
/* Contact: form sits beside the headline */
.contact--top { padding-top: clamp(56px, 8vw, 104px); }
.contact--top .page-head { padding: 0; }
.contact--top .page-head p + p { margin-top: 16px; }
.contact--top .contact-info dl { margin-top: 8px; }
.contact--top .form-card { margin-top: 26px; }
@media (max-width: 860px) { .contact--top .form-card { margin-top: 0; } }
/* Portfolio: white hero eyebrow, photo beside the craft section */
.pf-hero .eyebrow { color: #fff; }
.pf-about .split img { aspect-ratio: 4 / 3; }
/* Portfolio: copy under paired photos runs the full width */
.project--wide p { max-width: none; }

/* Portfolio: tall photos keep their full height */
.project--tall .project-imgs img { aspect-ratio: 4 / 5; }

/* Portfolio: featured project spans the full row */
.project--feature { grid-column: 1 / -1; }
.project--feature .project-imgs img { aspect-ratio: 16 / 9; }
.project--feature p { max-width: none; }
.projects:has(> .project--feature:first-child) > .project:not(.project--wide):last-child:nth-child(even) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
@media (max-width: 760px) { .projects:has(> .project--feature:first-child) > .project:last-child { width: 100%; } }