/* Master-Cuts — shared site styles */
:root {
  --ink: #1F1B18;
  --ink-2: #28221F;
  --ink-line: #3E3632;
  --cream: #F6F1E8;
  --paper: #EEE6D8;
  --card: #FFFDF8;
  --text: #251F1B;
  --muted: #5F554D;
  --line: #E3D8C6;
  --line-2: #D5C7B2;
  --maple: #E9D6B4;
  --accent: #6F1D4B;
  --on-dark: #F6F1E8;
  --on-dark-2: #CFC5B7;
  --on-dark-muted: #BDB2A4;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad-x: clamp(20px, 5vw, 48px);
  --sec-y: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { opacity: .85; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--maple); }
.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; }

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.container.wide { max-width: 1280px; }
.dark { background: var(--ink); color: var(--on-dark); }
.section { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
.paper { background: var(--paper); }

.stripe {
  height: 14px;
  background: repeating-linear-gradient(90deg,
    #E9D6B4 0 96px, #6F1D4B 96px 150px, #E9D6B4 150px 168px, #6F1D4B 168px 176px,
    #E9D6B4 176px 290px, #6F1D4B 290px 298px, #E9D6B4 298px 316px, #6F1D4B 316px 372px,
    #E9D6B4 372px 420px);
}
.stripe.thin { height: 10px; }

/* Type */
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.dark .eyebrow { color: var(--maple); }
.display { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 6.4vw, 86px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; text-wrap: balance; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }
.lede { margin: 0; font-size: 18px; color: var(--muted); text-wrap: pretty; }
.dark .lede { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-dark-muted); }
p { margin: 0; }

/* Wordmark */
.wordmark { text-decoration: none; color: inherit; display: inline-flex; flex-direction: column; align-items: center; font-family: var(--serif); font-weight: 700; line-height: .92; letter-spacing: .08em; }
.wordmark .w1 { font-size: 26px; }
.wordmark .w2 { display: flex; align-items: center; gap: 7px; font-size: 23px; }
.wordmark .w2::before, .wordmark .w2::after { content: ""; width: 14px; height: 2px; background: currentColor; }
.wordmark.lg .w1 { font-size: 44px; }
.wordmark.lg .w2 { font-size: 38px; gap: 10px; }
.wordmark.lg .w2::before, .wordmark.lg .w2::after { width: 24px; height: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: 2px; border: 1px solid transparent; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: 15px; }
.btn-light { background: var(--maple); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: #6B6058; font-weight: 500; }
.btn-accent { background: var(--accent); color: var(--cream); }
.btn-xl { min-height: 68px; padding: 20px 40px; font-size: 19px; letter-spacing: .01em; box-shadow: 0 14px 28px -14px rgba(111,29,75,.6); }
.btn-xl:hover { opacity: 1; filter: brightness(1.12); }

/* Builder call-to-action under the boards */
.build-cta { margin-top: 64px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.build-cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: clamp(36px, 5vw, 56px) clamp(20px, 5vw, 56px); }
.build-cta-inner .lede { max-width: 640px; }
@media (max-width: 560px) { .build-cta .btn-xl { width: 100%; padding: 18px 20px; font-size: 17px; } }

.link-accent { font-weight: 600; color: var(--accent); text-underline-offset: 5px; }

/* Header */
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 22px; padding-bottom: 22px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.site-nav a:not(.btn) { text-decoration: none; color: #DCD2C4; min-height: 44px; display: inline-flex; align-items: center; }

/* Layout helpers */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.end { align-items: end; gap: 24px 88px; }
.split.start { align-items: start; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 48px; }
.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-28 { gap: 28px; }
.mb-56 { margin-bottom: 56px; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(72px, 8vw, 112px); }
.hero .lede { max-width: 520px; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 3px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hero figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .04em; color: var(--on-dark-muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(20px, 2.5vw, 32px); }
@media (max-width: 700px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.product { display: flex; flex-direction: column; gap: 18px; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.product .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.product .price { font-size: 15px; font-weight: 600; white-space: nowrap; }

/* Woods */
.woods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 32px 24px; }
.wood { display: flex; flex-direction: column; gap: 14px; }
.wood .swatch { height: 120px; border-radius: 2px; }
.wood h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; }
.wood p { font-size: 15px; color: var(--on-dark-muted); }

/* Maker: family photos as prints */
.maker-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.print { margin: 0; background: #fff; padding: 10px 10px 14px; border-radius: 2px; box-shadow: 0 18px 32px -20px rgba(40,25,15,.5), 0 1px 2px rgba(40,25,15,.08); }
.print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.print.wide { grid-column: 1 / -1; }
.print.wide img { aspect-ratio: 16 / 11; object-position: 50% 45%; }
.print figcaption { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.print figcaption strong { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.15; color: var(--text); }
.print figcaption span { font-size: 13px; color: var(--muted); }
.maker-text { padding-top: 8px; }
.maker-text .lede strong { color: var(--text); font-weight: 600; }

/* Process */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 40px 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #C9BBA6; padding-top: 24px; }
.steps .num { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; color: var(--accent); }
.steps h3 { margin: 0; font-size: 18px; font-weight: 600; }
.steps p { font-size: 16px; color: var(--muted); }

/* Lists & forms */
.spec-list { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink-line); }
.spec-list li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.spec-list li span:last-child { color: var(--on-dark-muted); text-align: right; }

.form-card { display: flex; flex-direction: column; gap: 20px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 4px; padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.field-wrap { display: flex; flex-direction: column; gap: 8px; }
.field-wrap label { font-size: 14px; font-weight: 600; color: #DCD2C4; }
.field { font-size: 16px; color: var(--on-dark); background: var(--ink); border: 1px solid #5A514A; border-radius: 2px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field::placeholder { color: #A99E91; }
textarea.field { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--on-dark-muted); }
.form-done { padding: 20px; background: var(--ink-2); border: 1px solid #5A514A; border-radius: 3px; }
.form-done strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 6px; }

/* Care */
.care-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.care { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 32px; }
.care h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; }
.care p { font-size: 16px; color: var(--muted); }

/* Footer */
.site-footer .container { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h2 { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--maple); }
.footer-col a, .footer-col span { text-decoration: none; color: #DCD2C4; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--ink-line); font-size: 13px; color: #A99E91; }
