/* Fonts are hosted on this site (SIL Open Font License), so no request goes to Google */
@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/bitter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/bitter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/bitter-latin-400-italic.woff2") format("woff2"); }

:root {
  --cream: #f6f0e4;
  --cream-deep: #ece3d0;
  --paper: #fff9ec;
  --walnut: #3b2f20;
  --walnut-deep: #271f15;
  --walnut-soft: #5a4a36;
  --oak: #b9843f;
  --oak-dark: #86591f;
  --oak-light: #d9a85f;
  --ink: #2a2218;
  --radius: 12px;
  --shadow: 0 14px 34px rgba(59, 47, 32, .22);
  --display: "Alfa Slab One", Georgia, serif;
  --body: "Bitter", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--walnut); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; color: var(--walnut); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h1 em { font-style: normal; color: var(--oak-dark); display: block; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--oak-dark);
  margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.contact .eyebrow, .case .eyebrow { color: var(--oak-light); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--walnut);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--walnut);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--oak-dark); border-color: var(--oak-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(59,47,32,.25); }
:is(.btn, .nav a, .nav-toggle, .thumb, .feature-media, .about-photos button, .feature-photos button, .case-photo button, .card-link, .lightbox button, input, select, textarea):focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--walnut); }
.btn-ghost:hover { background: var(--walnut); color: var(--cream); border-color: var(--walnut); }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; }
.btn-light { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.btn-light:hover { background: #fff; color: var(--walnut); border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 240, 228, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-family: var(--display); color: var(--walnut); line-height: 1.05; font-size: 1.2rem; }
.brand img { width: 56px; height: 56px; border-radius: 50%; mix-blend-mode: multiply; transition: width .3s, height .3s; }
.site-header { transition: box-shadow .3s, background .3s; }
.site-header .bar { transition: padding .3s; }
.site-header.scrolled { box-shadow: 0 8px 26px rgba(59,47,32,.14); }
.site-header.scrolled .bar { padding-block: .3rem; }
.site-header.scrolled .brand img { width: 42px; height: 42px; }
.brand small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oak-dark); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--oak); transition: right .25s; }
.nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 2px solid var(--walnut); color: var(--walnut); font-weight: 600; padding: .4rem .9rem; border-radius: 999px; cursor: pointer; }

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle 560px at 85% 30%, rgba(185,132,63,.16), transparent 100%),
    var(--cream);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.lead { font-size: 1.2rem; color: var(--walnut-soft); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-note { margin: 1.1rem 0 0; font-size: .95rem; color: var(--walnut-soft); font-style: italic; }
.hero-visual { position: relative; padding: 0 0 2rem 2rem; }
.hero-photo {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  object-position: 40% 60%;
  border-radius: 200px 14px 14px 14px;
  box-shadow: var(--shadow);
}
.badge {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  --bd: clamp(130px, 17vw, 190px); box-sizing: border-box; width: var(--bd); height: var(--bd); min-width: var(--bd); min-height: var(--bd);
  transition: transform .5s ease;
  animation: bob 6s ease-in-out infinite;
}
.badge:hover { transform: scale(1.05); }
.badge-ring { position: absolute; top: calc(var(--bd) * -.2); left: calc(var(--bd) * -.2); width: calc(var(--bd) * 1.4); height: calc(var(--bd) * 1.4); animation: ring-spin 38s linear infinite; filter: drop-shadow(0 10px 22px rgba(59,47,32,.32)); overflow: visible; }
.badge-ring text { font-family: var(--body); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; fill: var(--walnut); }
.badge-logo { position: relative; box-sizing: border-box; width: var(--bd); height: var(--bd); background: var(--cream); border-radius: 50%; box-shadow: 0 0 0 3px rgba(185,132,63,.35); }
.badge-logo img { position: absolute; top: 7%; left: 7%; width: 86%; height: 86%; max-width: none; border-radius: 50%; object-fit: contain; mix-blend-mode: multiply; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Promise strip */
.strip { background: var(--walnut); color: var(--cream); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-block: 1.6rem; }
.strip-item { display: flex; align-items: center; gap: .9rem; }
.strip-item svg { flex: none; width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--oak); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.strip-item strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.05rem; line-height: 1.2; }
.strip-item span { display: block; font-size: .88rem; color: #d9ccb4; }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 40rem; margin-bottom: 2.8rem; }
.section-head p:last-child { color: var(--walnut-soft); margin-bottom: 0; }

/* Category tags on product photos */
.thumb::after { position: absolute; top: .75rem; left: .75rem; padding: .2rem .75rem; border-radius: 999px; background: rgba(246,240,228,.93); color: var(--walnut); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.card[data-cat="furniture"] .thumb::after { content: "Furniture"; }
.card[data-cat="wall"] .thumb::after { content: "Wall & storage"; }
.card[data-cat="boards"] .thumb::after { content: "Boards & gifts"; }
.card[data-cat="garden"] .thumb::after { content: "Garden"; }

/* Call-to-action card closes the grid */
.card.card-cta { background: var(--walnut); color: var(--cream); border-color: var(--walnut); justify-content: center; }
.card-cta .card-body { flex: 0 1 auto; padding: 2rem 1.8rem; align-items: flex-start; }
.card-cta .card-body h3 { color: var(--cream); font-size: 1.5rem; }
.card-cta .card-body p { color: #e6dbc4; font-size: 1rem; }
.card-cta .btn { margin-top: .6rem; }
.card.card-cta:hover { box-shadow: 0 16px 32px rgba(59,47,32,.35); }

/* Product filters */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: -1rem 0 2rem; }
.chip { font-weight: 600; font-size: .95rem; padding: .5rem 1.15rem; border-radius: 999px; border: 2px solid var(--walnut); background: transparent; color: var(--walnut); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--cream-deep); }
.chip.active { background: var(--walnut); color: var(--cream); }
.chip:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
.card[hidden] { display: none; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 0 var(--cream-deep);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(59,47,32,.16); }
.thumb, .feature-media, .about-photos button, .feature-photos button { display: block; width: 100%; padding: 0; border: 0; background: var(--cream-deep); cursor: zoom-in; overflow: hidden; position: relative; }
.thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--walnut-soft); font-size: .98rem; }
.card-link {
  min-height: 44px; display: inline-flex; align-items: center;
  margin-top: auto; align-self: flex-start;
  font-weight: 600; text-decoration: none; color: var(--oak-dark);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color .2s, gap .2s;
  display: inline-flex; gap: .4rem;
}
.card-link::after { content: "\2192"; transition: transform .2s; }
.card-link:hover { border-color: var(--oak-dark); }
.card-link:hover::after { transform: translateX(4px); }

/* Feature bands */
.feature { background: var(--cream-deep); padding-block: clamp(3.5rem, 8vw, 6rem); }
.feature-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3.5rem; align-items: center; }
.feature-flip .feature-grid { grid-template-columns: 1.05fr .95fr; }
.feature-media { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.feature-media:hover img { transform: scale(1.04); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.ticks li { padding-left: 1.8rem; position: relative; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .4rem; border-left: 3px solid var(--oak-dark); border-bottom: 3px solid var(--oak-dark); transform: rotate(-45deg); }

.feature-photos { display: grid; gap: 1rem; }
.feature-photos button { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.feature-photos button:hover img { transform: scale(1.04); }
.feature-photos button:last-child { width: 72%; justify-self: end; margin-top: -3.2rem; border: 6px solid var(--cream-deep); }

/* Placeholder text: clearly an example, but still readable */
.field input::placeholder, .field textarea::placeholder { color: #7a6a55; opacity: 1; }

/* Board designer */
.designer { overflow-x: hidden; background: var(--paper); border-block: 1px solid var(--cream-deep); padding-block: clamp(3.5rem, 8vw, 6rem); }
.designer-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.designer-copy > p { color: var(--walnut-soft); max-width: 32em; }
.designer-controls { margin-top: 1.4rem; }
.designer-controls .field input { background: #fff; }
.opt { border: 0; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-width: 0; }
.opt-label { flex: 0 0 100%; font-weight: 600; font-size: .9rem; color: var(--walnut); margin-bottom: .1rem; }
.opt-label b { font-weight: 600; color: var(--oak-dark); }
.opt label { cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label span { display: inline-flex; align-items: center; padding: .45rem 1rem; border: 2px solid var(--walnut); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--walnut); transition: background .2s, color .2s; }
.opt label:hover span { background: var(--cream-deep); }
.opt input:checked + span { background: var(--walnut); color: var(--cream); }
.opt input:focus-visible + span { outline: 3px solid var(--oak); outline-offset: 3px; }
.sw { display: inline-block; width: .95rem; height: .95rem; border-radius: 50%; background: var(--c); margin-right: .5rem; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.designer-controls .btn { margin-top: .4rem; }
.designer-stage { background: radial-gradient(circle at 50% 35%, #fffdf6 0%, var(--cream-deep) 100%); border: 1px solid var(--cream-deep); border-radius: 22px; padding: clamp(1rem, 3vw, 2.4rem); box-shadow: inset 0 0 0 8px rgba(255,255,255,.35); }
#board-svg { width: 100%; height: auto; display: block; overflow: visible; }
#board-text text { font-size: 60px; }
.countdown { display: inline-block; background: var(--walnut); color: var(--cream); font-weight: 600; font-size: .88rem; padding: .35rem 1rem; border-radius: 999px; margin: 0 0 1rem; }
.countdown[hidden] { display: none; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.steps li { position: relative; }
.num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--walnut); color: var(--cream);
  font-family: var(--display); font-size: 1.25rem; margin-bottom: 1rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--cream);
}
.steps li:not(:last-child)::before { display: none; }
.steps p { color: var(--walnut-soft); }
.step-img { position: relative; margin-bottom: 2.2rem; }
.step-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 8px 20px rgba(59,47,32,.18); }
.step-img .num { position: absolute; left: .9rem; bottom: -1.45rem; margin: 0; }

/* About */
.about { border-top: 1px solid var(--cream-deep); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.about-photos { display: grid; gap: 1rem; }
.about-photos button { border-radius: var(--radius); box-shadow: 0 10px 24px rgba(59,47,32,.2); }
.about-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-photos button:last-child { width: 78%; justify-self: end; margin-top: -3rem; border: 6px solid var(--cream); }
blockquote {
  margin: 1.8rem 0 0; padding: 1.6rem 2rem;
  background: var(--walnut); color: var(--cream);
  border-radius: var(--radius);
  border-left: 6px solid var(--oak);
  font-family: var(--display); font-size: 1.35rem; line-height: 1.3;
}
blockquote p { margin: 0; }

/* Subtle wood grain for the dark sections */
:root { --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520'><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.008 0.18' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.7 1.35'/></filter><rect width='100%' height='100%' filter='url(%23g)' opacity='0.5'/></svg>"); }

/* Case study */
.case { position: relative; background: var(--grain), var(--walnut); color: var(--cream); padding-block: clamp(3.5rem, 8vw, 6rem); }
.case::before {
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px;
  background: conic-gradient(from -45deg at bottom, #0000, var(--walnut) 1deg 90deg, #0000 91deg) 50% / 36px 100%;
}
.case h2 { color: var(--cream); }
.case-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.case-photo { margin: 0; max-width: 440px; justify-self: center; }
.case-photo button { display: block; width: 100%; padding: 0; border: 6px solid var(--cream); border-radius: 170px 16px 16px 16px; background: var(--cream); cursor: zoom-in; overflow: hidden; box-shadow: 0 22px 44px rgba(0,0,0,.45); transition: transform .4s ease; }
.case-photo button:hover { transform: scale(1.02); }
.case-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.case-photo figcaption { margin-top: 1rem; font-size: .9rem; color: #d9ccb4; font-style: italic; text-align: center; }
.case-grid > div > p { color: #e6dbc4; max-width: 34em; }
.chips { list-style: none; padding: 0; margin: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { border: 1.5px solid var(--oak); color: var(--cream); border-radius: 999px; padding: .35rem 1rem; font-weight: 600; font-size: .95rem; }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(246,240,228,.6); }
.btn-outline-light:hover { background: var(--cream); color: var(--walnut); border-color: var(--cream); }

/* Statement piece (bull's head): text left, wide photo right */
.statement .case-grid { grid-template-columns: 1.1fr .9fr; }
.statement .case-photo { max-width: 560px; width: 100%; }
.statement .case-photo img { aspect-ratio: 3 / 2; object-position: 50% 40%; }
.statement .ticks li { color: #e6dbc4; }
.statement .ticks li::before { border-color: var(--oak-light); }

/* Contact (saw-tooth top edge echoes the logo) */
.contact { position: relative; background: var(--grain), var(--walnut); color: var(--cream); padding-block: clamp(4rem, 8vw, 6.5rem); margin-top: 18px; }
.contact::before {
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px;
  background: conic-gradient(from -45deg at bottom, #0000, var(--walnut) 1deg 90deg, #0000 91deg) 50% / 36px 100%;
}
.contact h2 { color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-intro > p { color: #d9ccb4; max-width: 30em; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: grid; grid-template-columns: 6rem 1fr; gap: .5rem; padding-top: .9rem; border-top: 1px solid rgba(246,240,228,.2); }
.contact-list span { color: var(--oak-light); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; padding-top: .2rem; }
.contact-list a { display: inline-block; padding: .55rem 0; text-decoration-color: var(--oak); text-underline-offset: 3px; }

.enquiry { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--walnut); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #d6c8aa; border-radius: 8px; padding: .7rem .85rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--oak-dark); outline: none; box-shadow: 0 0 0 3px rgba(185,132,63,.3); }
.field .invalid { border-color: #b3382c; }
.enquiry .btn { background: var(--walnut); color: var(--cream); border-color: var(--walnut); }
.enquiry .btn:hover { background: var(--oak-dark); border-color: var(--oak-dark); color: #fff; }
.form-note { margin: .9rem 0 0; font-size: .88rem; color: var(--walnut-soft); }

/* 404 page */
.lost { min-height: 100vh; display: grid; align-content: center; justify-items: center; text-align: center; gap: .4rem; padding: 2rem 1rem; max-width: 40rem; margin: 0 auto; }
.lost-badge { position: relative; box-sizing: border-box; width: 150px; height: 150px; background: var(--cream); border-radius: 50%; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.lost-badge img { position: absolute; top: 7%; left: 7%; width: 86%; height: 86%; max-width: none; border-radius: 50%; object-fit: contain; mix-blend-mode: multiply; }
.lost .lead { margin-inline: auto; }
.lost .btn { margin-top: .8rem; }

/* Footer */
.site-footer { background: var(--walnut-deep); color: #bfb299; font-size: .9rem; padding-block: 1.4rem; }
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem 1.5rem; }
.foot p { margin: 0; }
.credit { text-align: right; }
.insta { display: inline-flex; align-items: center; gap: .55rem; color: #e6dbc4; text-decoration: none; font-weight: 600; padding: .45rem 1rem; border: 1.5px solid rgba(230,219,196,.3); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.insta:hover { background: var(--oak); border-color: var(--oak); color: var(--walnut-deep); }
.insta .ico { margin: 0; width: 1.3rem; height: 1.3rem; }
.insta { min-height: 44px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(20, 15, 9, .92); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 1rem; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox figcaption { font-size: .95rem; color: #e6dbc4; text-align: center; max-width: 40rem; }
.lightbox button { background: rgba(246,240,228,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; transition: background .2s; }
.lightbox button:hover { background: rgba(246,240,228,.28); }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; font-size: 1.8rem; line-height: 1; }
.lb-nav { width: 3rem; height: 3rem; font-size: 2rem; line-height: 1; padding-bottom: .2rem; }

/* Floating quote button (phones only) */
.float-cta { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp input { font-size: 16px; }
.field input, .field select, .field textarea { scroll-margin-top: 6.5rem; }
.field-error { color: #a3271c; font-size: .88rem; font-weight: 600; margin: .35rem 0 0; }
.field-error[hidden] { display: none; }
.field input[aria-invalid="true"] { border-color: #b3382c; box-shadow: 0 0 0 3px rgba(179,56,44,.18); }
.thanks { text-align: center; padding: 1.5rem .5rem; }
.thanks h3 { margin-bottom: .5rem; }
.thanks p { color: var(--walnut-soft); margin: 0; }
.nav a[aria-current="true"]:not(.btn)::after { right: 0; }
.nav a[aria-current="true"]:not(.btn) { color: var(--oak-dark); }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(3n+2), .js .steps .reveal:nth-child(2) { transition-delay: .1s; }
.js .cards .reveal:nth-child(3n), .js .steps .reveal:nth-child(3) { transition-delay: .2s; }
.js .steps .reveal:nth-child(4) { transition-delay: .3s; }

/* Icons */
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; margin-right: .45rem; }

/* Loading screen (first visit only): a saw blade spins in, then the screen lifts away on a saw-tooth edge */
.loader { display: none; }
.first-visit .loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center;
  background: radial-gradient(circle at 50% 38%, #54432d 0%, #3b2f20 45%, #271f15 100%); color: var(--cream);
  animation: loader-failsafe .01s 4.5s forwards;
}
.first-visit .loader::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px;
  background: conic-gradient(from 135deg at top, #0000, #271f15 1deg 90deg, #0000 91deg) 50% / 36px 100%;
}
.loader-badge { --d: min(44vw, 210px); position: relative; box-sizing: border-box; width: var(--d); height: var(--d); min-width: var(--d); min-height: var(--d); flex: none; align-self: center; justify-self: center; border-radius: 50%; background: var(--cream); margin-bottom: .6rem;
  box-shadow: 0 0 0 10px rgba(246,240,228,.07), 0 24px 60px rgba(0,0,0,.55); animation: saw-in 1.5s cubic-bezier(.12,.75,.2,1) both; }
.loader-badge img { position: absolute; top: 6%; left: 6%; width: 88%; height: 88%; max-width: none; border-radius: 50%; object-fit: contain; mix-blend-mode: multiply; }
.loader-name { font-family: var(--display); font-size: clamp(1.25rem, 4.5vw, 1.7rem); opacity: 0; animation: loader-up .7s .45s ease forwards; }
.loader-sub { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--oak-light); opacity: 0; animation: loader-up .7s .7s ease forwards; }
.loader-bar { width: min(58vw, 230px); height: 3px; margin-top: .6rem; border-radius: 3px; overflow: hidden; background: rgba(246,240,228,.16); }
.loader-bar::before { content: ""; display: block; height: 100%; background: var(--oak-light); transform-origin: left; animation: loader-fill 1.5s ease-out forwards; }
.loader-done { transform: translateY(-108%); transition: transform .85s cubic-bezier(.75,0,.2,1); }
html.is-loading { overflow: hidden; }
@keyframes saw-in { from { transform: rotate(-900deg) scale(.4); opacity: 0; } 55% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes loader-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes loader-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
/* hero animations wait for the loading screen so visitors see them play */
.first-visit .hero-copy > * { animation-delay: 1.35s; }
.first-visit .hero-copy > :nth-child(2) { animation-delay: 1.45s; }
.first-visit .hero-copy > :nth-child(3) { animation-delay: 1.55s; }
.first-visit .hero-copy > :nth-child(4) { animation-delay: 1.65s; }
.first-visit .hero-copy > :nth-child(5) { animation-delay: 1.75s; }
.first-visit .hero-photo { animation-delay: 1.5s; }

/* Hero motion and decoration */
.hero-visual::before {
  content: ""; position: absolute; z-index: 0;
  inset: 1.4rem -.9rem .6rem 2.9rem;
  border: 2px solid var(--oak); border-radius: 210px 16px 16px 16px;
}
.hero-photo { position: relative; z-index: 1; translate: 0 calc(var(--py, 0) * 1px); will-change: translate; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }
.hero-photo { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }

/* Ticker */
.ticker { background: var(--oak); color: var(--walnut-deep); overflow: hidden; white-space: nowrap; border-block: 2px solid var(--walnut); }
.ticker-track { display: inline-flex; padding-block: .75rem; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; padding-left: 1.6rem; }
.ticker span::after { content: "\25C6"; margin-left: 1.6rem; font-size: .6em; vertical-align: .15em; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Instagram strip */
.insta-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--cream-deep); }
.insta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.insta-head h2 { margin: 0; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .7rem; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--cream-deep); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insta-grid a::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: rgba(39,31,21,.55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='.6' fill='white'/></svg>") center / 38px no-repeat;
}
.insta-grid a.is-video::before { content: ""; position: absolute; z-index: 1; top: .6rem; right: .6rem; width: 0; height: 0; border-left: .8rem solid #fff; border-top: .5rem solid transparent; border-bottom: .5rem solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.08); }
.insta-grid a:hover::after, .insta-grid a:focus-visible::after { opacity: 1; }

/* Tablet and mobile */
@media (max-width: 420px) {
  .strip-grid { gap: .9rem .8rem; }
  .strip-item { gap: .6rem; }
  .strip-item svg { width: 1.8rem; height: 1.8rem; }
  .strip-item strong { font-size: .95rem; }
  .strip-item span { font-size: .82rem; }
}
@media (max-width: 340px) {
  .strip-grid { grid-template-columns: 1fr; }
}
/* The menu collapses to a "Menu" button below 980px so the longer link list never squashes */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-deep); padding: .5rem 1rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem .2rem; border-bottom: 1px solid var(--cream-deep); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: .8rem; text-align: center; }
  .site-header .wrap { position: relative; }
  .brand { font-size: 1.05rem; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 1.4rem; gap: 1.2rem; }
  .steps li:not(:last-child)::before { display: none; }
}
@media (max-width: 820px) {
  .float-cta {
    display: block; position: fixed; z-index: 45; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
    background: var(--walnut); color: var(--cream); text-decoration: none; font-weight: 600;
    padding: .6rem 1.1rem; font-size: .9rem; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(150%); pointer-events: none; transition: opacity .3s, transform .3s;
  }
  .float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .credit { text-align: center; }
  .hero-visual::before { inset: 1.2rem -.4rem .5rem 2rem; }
  .badge { left: 1.5rem; bottom: .4rem; --bd: 112px; }
  .hero-grid, .feature-grid, .feature-flip .feature-grid, .about-grid, .contact-grid, .case-grid, .statement .case-grid, .designer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .designer-stage { order: -1; padding: 1rem; }
  .hero-visual { padding: 0 0 1.5rem 1rem; }
  .hero-photo { border-radius: 120px 12px 12px 12px; }
  .case-photo button { border-radius: 120px 14px 14px 14px; }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-nav { position: absolute; bottom: 1rem; }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
}

/* ---- Modern polish ---- */
html { accent-color: var(--walnut); color-scheme: light; scrollbar-color: var(--oak) var(--cream-deep); scrollbar-width: thin; }
::selection { background: var(--oak-light); color: var(--walnut-deep); }
input, textarea, select { caret-color: var(--oak-dark); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* reading progress line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--oak-dark), var(--oak-light)); transform-origin: left; transform: scaleX(var(--p, 0)); will-change: transform; }

/* photos fade in as they load (failsafe shows them after 5s whatever happens) */
.js img[loading="lazy"] { opacity: 0; transition: opacity .7s ease, transform .6s ease; animation: img-failsafe .01s 5s forwards; }
.js img[loading="lazy"].is-loaded { opacity: 1; }
@keyframes img-failsafe { to { opacity: 1; } }

/* headline slides in word by word */
.split { animation: none !important; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .18em; margin-bottom: -.18em; }
.split .w > span { display: inline-block; animation: word-up .85s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i) * 85ms + .1s); }
.first-visit .split .w > span { animation-delay: calc(var(--i) * 85ms + 1.45s); }
@keyframes word-up { from { transform: translateY(108%); } }

/* tactile press feedback */
.btn:active, .chip:active, .d-tabs button:active, .opt label:active span { transform: scale(.96); transition-duration: .08s; }
.btn:active { box-shadow: none; }

/* product cards: soft glow follows the cursor, filter re-animates the cards */
.card { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .card::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(185,132,63,.2), transparent 65%); }
  .card:hover::after { opacity: 1; }
}
.card.pop { animation: pop .45s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---- Phones: shorter page ---- */
.swipe-hint { display: none; }
@media (max-width: 820px) {
  /* products become a swipeable row instead of 15 stacked cards */
  .swipe-hint { display: flex; align-items: center; gap: .5rem; margin: -.4rem 0 .9rem; font-size: .85rem; font-weight: 600; color: var(--oak-dark); letter-spacing: .04em; }
  .swipe-hint::after { content: "\2192"; animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 50% { transform: translateX(6px); } }
  #makes .cards { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1rem; padding: .4rem 1rem 1.4rem; scroll-padding-inline: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
  #makes .cards::-webkit-scrollbar { display: none; }
  #makes .card { flex: 0 0 min(74vw, 310px); scroll-snap-align: start; }
  .js #makes .cards .reveal { opacity: 1; transform: none; transition: none; }
  .card-body { padding: 1rem 1.1rem 1.2rem; }
  .card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; margin-bottom: .8rem; }
  .card.card-cta .card-body p { display: block; -webkit-line-clamp: unset; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: -.2rem -1rem 1.4rem; padding: .2rem 1rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  /* tighter vertical rhythm */
  .section { padding-block: 2.6rem; }
  .feature, .case, .insta-band, .designer { padding-block: 2.6rem; }
  .contact { padding-block: 3rem; }
  .section-head { margin-bottom: 1.5rem; }
  .hero { padding-block: 1.6rem 3.2rem; }
  h2 { margin-bottom: .45em; }
  .feature-grid, .about-grid, .case-grid, .contact-grid, .statement .case-grid { gap: 1.6rem; }
  .feature-photos button:last-child { margin-top: -2.2rem; }
  .case-photo img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
  .statement .case-photo img { aspect-ratio: 3 / 2; }
  .ticks { margin-bottom: 1.2rem; }
  .insta-head { margin-bottom: 1.2rem; }

  /* paired photos sit side by side */
  .feature-photos, .about-photos { grid-template-columns: 1fr 1fr; gap: .6rem; align-items: stretch; }
  .feature-photos button:last-child, .about-photos button:last-child { width: 100%; margin-top: 0; border: 0; justify-self: stretch; }
  .feature-photos img, .about-photos img { height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .contact-list li:last-child { display: none; }

  /* how it works: two across */
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  .steps h3 { font-size: 1.05rem; }
  .steps p { font-size: .9rem; }
  .num { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
  .step-img { margin-bottom: 2rem; }
  .step-img .num { left: .6rem; bottom: -1.25rem; }
}
@media (max-width: 340px) { .steps { grid-template-columns: 1fr; } }

/* Phones: the whole designer is compact enough to see on one screen, so nothing needs to stick */
@media (max-width: 820px) {
  .designer-copy { display: contents; }
  .designer-grid { gap: .8rem; }
  .designer-grid .eyebrow { order: 1; margin: 0; }
  .designer-copy h2 { order: 2; margin: 0; }
  .designer-copy > p { display: none; }
  .designer-stage { order: 3; padding: .4rem; border-radius: 16px; box-shadow: inset 0 0 0 5px rgba(255,255,255,.35); }
  #board-svg { max-height: 180px; margin-inline: auto; }
  .designer-controls { order: 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .7rem; margin-top: 0; }
  .designer-controls .field { min-width: 0; }
  .designer-controls .field input { min-width: 0; width: 100%; }
  .designer-controls .opt, .designer-controls .btn, .designer-controls .form-note { grid-column: 1 / -1; }
  .designer-controls .field label { font-size: .85rem; margin-bottom: .3rem; }
  .designer-controls .field { margin-bottom: .9rem; }
  .designer-controls .field input { min-height: 48px; padding: .6rem .8rem; font-size: 1rem; }
  .opt { flex-wrap: wrap; gap: .6rem; margin-bottom: 1.1rem; align-items: center; }
  .opt-label { flex: 0 0 100%; margin: 0 0 .1rem; font-size: .88rem; min-width: 0; }
  .opt label span { min-height: 46px; padding: .5rem 1.15rem; font-size: .95rem; white-space: nowrap; }
  .timber label span { width: 46px; min-height: 46px; padding: 0; font-size: 0; justify-content: center; }
  .timber .sw { margin: 0; width: 1.6rem; height: 1.6rem; }
  .designer-controls .btn { padding: .9rem 1.4rem; min-height: 52px; margin-top: .2rem; }
  .designer-controls .form-note { font-size: .78rem; margin-top: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
