/* Novem Woodcraft — site styles */
:root {
  --green: #24402F;
  --green-dark: #1B3024;
  --brown: #3B2618;
  --brown-mid: #6B4A2F;
  --brown-deep: #2A1B11;
  --cream: #F3EBDD;
  --paper: #FAF6EE;
  --sand: #EFE5D3;
  --tan: #D9C7A7;
  --ink: #2B1D13;
  --body: #4A3A2D;
  --muted: #5C4A3B;
  --line: #A8957C;
  --gold: #E8C48E;
  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--brown); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
p { margin: 0 0 16px; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--green); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brown-mid); }
.eyebrow-light { color: var(--tan); }

h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; color: var(--green); margin-bottom: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 4px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s, color .15s; }
.btn-cream { background: var(--cream); color: var(--green); }
.btn-cream:hover { background: #fff; color: var(--green); }
.btn-outline-light { border-color: var(--tan); color: var(--cream); font-weight: 500; }
.btn-outline-light:hover { background: rgba(243,235,221,.12); color: var(--cream); }
.btn-outline { border-color: var(--green); color: var(--green); min-height: 46px; }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-brown { background: var(--brown); color: var(--cream); }
.btn-brown:hover { background: var(--brown-deep); color: var(--cream); }
.btn-green { background: var(--green); color: var(--cream); border: 0; padding: 0 32px; }
.btn-green:hover { background: var(--green-dark); }
.btn-green[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; display: inline-block; padding: 10px 0; }

/* Header */
.site-header { background: var(--green); color: var(--cream); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.site-nav a { color: var(--cream); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(243,235,221,.5); border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(243,235,221,.4); color: var(--cream); width: 44px; height: 44px; border-radius: 6px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 40px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--green); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-top: 1px solid rgba(243,235,221,.15); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(243,235,221,.12); }
  .site-nav .nav-pill { justify-content: center; margin-top: 12px; border-bottom: 1px solid rgba(243,235,221,.5); }
}

/* Hero */
.hero { background: var(--green); color: var(--cream); }
.hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 420px; min-width: 0; }
.hero-media { flex: 1 1 460px; min-width: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.12; letter-spacing: .01em; margin-bottom: 20px; color: var(--cream); }
.lead { max-width: 520px; font-size: 18px; color: #E6DCCB; margin-bottom: 32px; }

/* Category strip */
.category-strip { background: var(--brown); }
.category-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; padding-top: 14px; padding-bottom: 14px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.category-inner a { color: var(--cream); text-decoration: none; padding: 10px 0; }
.category-inner a:hover { color: var(--gold); }

/* Products */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-note { margin: 0; color: var(--muted); max-width: 360px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.product { display: flex; flex-direction: column; gap: 12px; }
.product-media { position: relative; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: #EADFCB; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--brown); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.product h3 { font-size: 19px; line-height: 1.25; color: var(--ink); }
.product p { margin: 0; font-size: 15px; color: var(--muted); }
.product .btn { margin-top: auto; }

/* Featured custom piece (full-width card at the top of the grid) */
.product-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 28px; background: var(--sand); border-radius: var(--radius); }
.product-feature .product-media img { aspect-ratio: 4 / 3; }
.feature-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; overflow: hidden; line-height: 0; }
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: .75; transition: opacity .15s; }
.thumb:hover img, .thumb[aria-pressed="true"] img { opacity: 1; }
.thumb[aria-pressed="true"] { border-color: var(--green); }
.thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.feature-text { display: flex; flex-direction: column; gap: 12px; }
.feature-text .eyebrow { margin: 0; }
.feature-text h3 { font-size: 24px; }
.feature-text .btn { margin-top: 8px; align-self: flex-start; }
.tag-sold { background: var(--brown); color: var(--cream); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 820px) {
  .product-feature { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
  .feature-text .btn { align-self: stretch; }
}

/* Features */
.features { background: var(--sand); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.feature { display: flex; flex-direction: column; gap: 10px; color: var(--green); }
.feature h3 { font-size: 21px; color: var(--green); }
.feature p { margin: 0; color: var(--body); }

/* Split sections */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-reverse { flex-wrap: wrap-reverse; }
.split-media { flex: 1 1 460px; min-width: 0; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-copy { flex: 1 1 420px; min-width: 0; color: var(--body); }
.split-copy .btn { margin-top: 12px; }
.care-list { margin: 0 0 20px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Markets */
.markets { background: var(--green); color: var(--cream); padding: 80px 0; }
.markets h2 { color: var(--cream); margin-bottom: 36px; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.market { padding: 24px; border: 1px solid rgba(243,235,221,.3); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; color: #E6DCCB; }
.market-date { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tan); }
.market-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--cream); }
.market-time { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; font-size: 17px; color: var(--gold); }
.market-empty { color: #E6DCCB; }
.market-empty a { color: var(--gold); }

/* FAQ */
.faq h2 { margin-bottom: 32px; }
.faq-list { max-width: 860px; border-top: 1px solid #DCCFB9; }
.faq-list details { border-bottom: 1px solid #DCCFB9; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 24px; color: var(--brown-mid); }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { margin: 0 0 20px; color: var(--body); max-width: 760px; }

/* Contact */
.contact { background: var(--sand); }
.contact-inner { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.contact-copy { flex: 1 1 340px; min-width: 0; color: var(--body); }
.contact-copy p { max-width: 420px; }
.contact-form { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding: 32px; background: var(--paper); border-radius: var(--radius); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form .req, .contact-form .opt { font-weight: 400; color: var(--brown-mid); }
.contact-form input, .contact-form select, .contact-form textarea { min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); width: 100%; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); outline: 2px solid rgba(36,64,47,.25); outline-offset: 0; }
.contact-form [aria-invalid="true"] { border-color: #A23B2A; }
.full { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #A23B2A; }

/* Follow band */
.follow { background: var(--brown); color: var(--cream); border-top: 6px solid var(--brown-mid); border-bottom: 6px solid var(--brown-mid); }
.follow-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.follow h2 { color: var(--cream); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .02em; margin-bottom: 6px; }
.follow p { margin: 0; color: #E6DCCB; }
.follow p a { color: var(--gold); font-weight: 600; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid rgba(243,235,221,.25); border-radius: 10px; background: rgba(0,0,0,.18); color: var(--cream); }
.social:hover { background: rgba(0,0,0,.32); color: var(--gold); }

/* Footer */
.site-footer { background: var(--brown-deep); color: #E6DCCB; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 64px; padding-bottom: 32px; }
.footer-brand { flex: 1 1 280px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.footer-col { flex: 0 1 200px; display: flex; flex-direction: column; gap: 6px; }
.footer-col h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin-bottom: 6px; }
.footer-col a { color: #E6DCCB; text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-base { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(230,220,203,.2); font-size: 14px; color: #BFAF97; }

@media (max-width: 600px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero-inner { padding-top: 36px; padding-bottom: 56px; gap: 32px; }
  .contact-inner { padding-top: 64px; padding-bottom: 64px; }
  .contact-form { padding: 20px; }
  .markets { padding: 64px 0; }
}
