/* Bespoke Design Lab — fine woodworking studio
   Aesthetic: Playfair Display (italic) · Inter · JetBrains Mono
   Warm cream + charcoal, sharp corners, generous whitespace */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

:root {
  --cream:    oklch(0.985 0.004 85);   /* page background */
  --linen:    oklch(0.955 0.006 80);   /* alt section background */
  --charcoal: oklch(0.21 0.008 60);    /* primary text / dark sections */
  --muted:    oklch(0.55 0.015 60);    /* secondary text */
  --line:     oklch(0.21 0.008 60 / 0.14); /* hairline borders */
  --maxw:     1280px;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.625;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2.5rem; }

/* mono micro-label used for eyebrows, nav, buttons */
.eyebrow {
  font-family: var(--mono);
  font-size: .6875rem;            /* 11px */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.lead { font-size: 1.0625rem; color: var(--muted); max-width: 56ch; font-weight: 400; line-height: 1.65; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.985 0.004 85 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand {
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.6rem; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: .6875rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--charcoal); }

/* ---------- Hero ---------- */
.hero { padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(4rem, 8vw, 6rem); }
.hero .eyebrow { margin-bottom: 1.8rem; }
.hero h1 { max-width: 18ch; margin-bottom: 2rem; }
.hero .lead { margin-bottom: 2.6rem; }

/* ---------- Buttons (mono, sharp, bordered) ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono); font-size: .6875rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: .95rem 1.9rem; border: 1px solid var(--charcoal);
  background: transparent; color: var(--charcoal); border-radius: 0;
}
.btn:hover { background: var(--charcoal); color: var(--cream); }
.btn.ghost { border-color: var(--charcoal); }

/* underlined mono text link */
.link {
  font-family: var(--mono); font-size: .6875rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal); padding-bottom: .25rem;
}
.link:hover { color: var(--muted); border-color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.linen { background: var(--linen); }
.section-head { max-width: 56ch; margin-bottom: 3.5rem; }
.section-head .eyebrow { display: block; margin-bottom: 1.1rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 2.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { border-top: 1px solid var(--charcoal); padding-top: 1.5rem; }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .num {
  font-family: var(--mono); font-size: .6875rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 1rem;
}

/* ---------- Work tiles ---------- */
.work-tile {
  aspect-ratio: 4 / 3;
  background: var(--linen);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  border: 1px solid var(--line);
}
.work-tile .swatch { position: absolute; inset: 0; transition: transform .5s ease; }
.work-tile:hover .swatch { transform: scale(1.04); }
.work-tile .meta {
  position: relative; z-index: 2; padding: 1.7rem;
  background: linear-gradient(to top, oklch(0.21 0.008 60 / 0.82), transparent);
  width: 100%; color: var(--cream);
}
.work-tile .meta h3 { color: var(--cream); font-size: 1.4rem; }
.work-tile .meta span {
  font-family: var(--mono); font-size: .625rem; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: .85; display: block; margin-bottom: .4rem;
}

/* wood-grain swatches (placeholders for photos) */
.sw-oak    { background: linear-gradient(135deg,#d9b890,#b78a5e); }
.sw-walnut { background: linear-gradient(135deg,#6b4a32,#3f2a1c); }
.sw-ash    { background: linear-gradient(135deg,#e6ddcd,#cbbfa6); }
.sw-cherry { background: linear-gradient(135deg,#b06a44,#7e3f25); }
.sw-maple  { background: linear-gradient(135deg,#ecdcc0,#d4b487); }
.sw-elm    { background: linear-gradient(135deg,#a98c63,#7a5d3a); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split .panel { aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.split p + p { margin-top: 1.1rem; }
.split p { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat .figure { font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--charcoal); }
.stat .label {
  font-family: var(--mono); font-size: .625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-top: .4rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.field { margin-bottom: 1.6rem; }
.field label {
  display: block; font-family: var(--mono); font-size: .625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .55rem;
}
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; font-family: var(--sans); font-size: 1rem;
  background: var(--cream); border: 1px solid var(--line); color: var(--charcoal); border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); }
.detail-row { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.detail-row .k {
  font-family: var(--mono); font-size: .625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .4rem;
}
.detail-row .v { font-size: 1.05rem; }
.detail-row a:hover { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); margin-bottom: 1.5rem; }
.cta-band .lead { color: oklch(0.985 0.004 85 / 0.7); margin: 0 auto 2.6rem; }
.cta-band .eyebrow { color: oklch(0.985 0.004 85 / 0.6); }
.cta-band .btn { border-color: var(--cream); color: var(--cream); }
.cta-band .btn:hover { background: var(--cream); color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--linen); border-top: 1px solid var(--line); padding: 3.5rem 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono); font-size: .625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.footer-links a:hover { color: var(--charcoal); }
.copyright {
  font-family: var(--mono); font-size: .625rem; letter-spacing: 0.12em;
  color: var(--muted); margin-top: 2.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .grid-3, .grid-2, .stats, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 2rem; }
  .split .panel { aspect-ratio: 16 / 10; }
  .wrap { padding: 0 1.5rem; }
}
