:root {
  --green: #134f86;
  --green-soft: #e2eef8;
  --wood: #986a38;
  --paper: #fbfaf6;
  --sand: #eee8dc;
  --ink: #172130;
  --text: #485263;
  --muted: #6d7480;
  --line: #d8d0c1;
  --container: min(1240px, 94vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  line-height: 1.58;
  background:
    linear-gradient(90deg, rgba(152,106,56,.055) 0 1px, transparent 1px 90px),
    radial-gradient(circle at top left, rgba(152,106,56,.18), transparent 34rem),
    linear-gradient(180deg, #f7f1e6 0%, var(--paper) 28%, #f0eadf 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.08; }
h1 { font-size: clamp(2.05rem, 4.35vw, 4rem); letter-spacing: -0.045em; max-width: 12ch; margin-bottom: 1rem; }
h2 { font-size: clamp(1.65rem, 3.15vw, 2.75rem); letter-spacing: -0.035em; margin-bottom: .8rem; }
h3 { font-size: 1.1rem; margin-bottom: .35rem; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
  padding: .58rem max(1rem, 3vw);
  background: rgba(19,79,134,.96);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 28px rgba(28,33,27,.16);
  backdrop-filter: blur(16px);
}
.topbar-brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.topbar-brand img { width: 52px; background: rgba(255,255,255,.92); padding: .2rem; }
.topbar-brand-label strong { display: block; color: #fff; font-size: .98rem; letter-spacing: -.015em; }
.topbar-brand-label small { display: block; color: rgba(255,255,255,.68); font-size: .78rem; }
.topbar-nav { display: flex; align-items: center; justify-content: flex-end; gap: .08rem; }
.topbar-nav a { color: rgba(255,255,255,.84); text-decoration: none; padding: .48rem .5rem; font-weight: 750; font-size: .88rem; border: 1px solid transparent; }
.topbar-nav a:hover { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.nav-cta { background: #fff; color: var(--green) !important; border-radius: 3px; border-color: #fff !important; padding-inline: .78rem !important; margin-left: .28rem; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 4px; }
.menu-toggle span { width: 23px; height: 2px; background: #fff; display: block; }

.wood-hero {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(2.3rem, 5.2vw, 4.5rem) 0 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1.28fr);
  gap: clamp(1.4rem, 4.5vw, 3.4rem);
  align-items: end;
  position: relative;
}
.wood-hero::before {
  content: "";
  position: absolute;
  inset: clamp(1.2rem, 3vw, 2.2rem) auto auto -2.8rem;
  width: clamp(120px, 16vw, 210px);
  height: clamp(120px, 16vw, 210px);
  border-left: 12px solid rgba(152,106,56,.22);
  border-top: 12px solid rgba(152,106,56,.22);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  color: var(--wood);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .85rem;
}
.lead { font-size: clamp(1.06rem, 1.8vw, 1.22rem); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 800; border: 1px solid var(--green); }
.btn-primary { background: var(--green); color: #fff; }
.btn-secondary { color: var(--green); background: #fff; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: min(52vw, 500px); min-height: 320px; object-fit: cover; border: 1px solid var(--line); box-shadow: 16px 16px 0 rgba(40,55,43,.08); }
.hero-photo figcaption { color: var(--muted); font-size: .88rem; margin-top: .55rem; }

.craft-facts { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: .7fr .5fr 1.8fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.46); }
.craft-facts div { padding: 1rem 1.1rem; border-right: 1px solid var(--line); }
.craft-facts div:last-child { border-right: 0; }
.craft-facts span { display: block; color: var(--muted); font-size: .82rem; margin-bottom: .15rem; }
.craft-facts strong { display: block; color: var(--ink); }

.section { width: var(--container); margin: 0 auto; padding: clamp(2.7rem, 5vw, 4.6rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 1.6rem; }
.section-head.compact { margin-bottom: 1.2rem; }
.work-stack { display: grid; gap: clamp(1.8rem, 3.2vw, 2.7rem); }
.work-stack .section-head { background: var(--green); padding: clamp(1.4rem, 3vw, 2.3rem); max-width: none; }
.work-stack .section-head h2, .work-stack .section-head .eyebrow { color: #fff; }
.work-stack .section-head p:not(.eyebrow) { color: rgba(255,255,255,.84); max-width: 82ch; margin-bottom: 0; font-size: 1.05rem; }
.work-item { display: grid; grid-template-columns: minmax(380px, .95fr) minmax(0, 1.05fr); gap: 0; border: 1px solid var(--line); background: rgba(255,255,255,.84); }
.work-item.reverse { grid-template-columns: minmax(380px, .95fr) minmax(0, 1.05fr); }
.work-item.reverse img { order: 0; }
.work-item img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.work-item div { padding: clamp(1.25rem, 3vw, 2rem); display: grid; align-content: center; }
.service-kicker { color: var(--wood); font-weight: 800; display: block; margin-bottom: .65rem; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.work-item h3 { font-size: clamp(1.45rem, 2.6vw, 2.25rem); max-width: 17ch; }
.work-item p { max-width: 62ch; }
.work-item ul { margin: .25rem 0 0; padding-left: 1.1rem; color: var(--ink); font-weight: 650; }
.work-item li + li { margin-top: .28rem; }
.workshop-note { width: 100%; padding-inline: max(3vw, calc((100vw - 1240px) / 2)); background: linear-gradient(135deg, var(--sand), #f8f4eb); display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.workshop-copy { max-width: 430px; }
.workshop-copy p:not(.eyebrow) { font-size: 1.08rem; }
.workshop-panel { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(260px, 1.05fr); gap: .85rem; align-items: stretch; }
.workshop-panel figure { position: relative; margin: 0; min-height: 360px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.workshop-panel img { width: 100%; height: 100%; object-fit: cover; }
.workshop-panel figcaption { position: absolute; left: .8rem; bottom: .8rem; background: rgba(251,250,246,.94); color: var(--ink); font-size: .8rem; font-weight: 800; padding: .34rem .52rem; }
.operation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.operation-grid article { min-height: 152px; background: var(--green); color: rgba(255,255,255,.82); padding: 1rem; display: grid; align-content: space-between; border: 1px solid rgba(255,255,255,.1); }
.operation-grid article:nth-child(2), .operation-grid article:nth-child(3) { background: #fff; color: var(--text); border-color: var(--line); }
.operation-grid strong, .operation-grid span { display: block; }
.operation-grid strong { color: inherit; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.operation-grid span { font-weight: 800; color: inherit; line-height: 1.25; }
.reference-board { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: .75rem; align-items: stretch; }
.reference-board figure { margin: 0; position: relative; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 22px rgba(40,55,43,.08); }
.reference-board img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.reference-board .large { grid-row: span 2; }
.reference-board .large img { min-height: 470px; }
.reference-board .wide { grid-column: span 2; }
.reference-board figcaption { position: absolute; left: .65rem; bottom: .65rem; background: rgba(251,250,246,.92); color: var(--ink); font-size: .8rem; font-weight: 800; padding: .25rem .45rem; }
.team-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.team-list article { background: rgba(255,255,255,.78); border: 1px solid var(--line); }
.team-list img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.team-list div { padding: .85rem; }
.team-list h3, .team-list p { margin-bottom: 0; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; padding-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.contact-card { background: var(--green); color: #fff; padding: clamp(1.4rem, 3vw, 2rem); }
.contact-card h2, .contact-card .eyebrow, .contact-card a { color: #fff; }
.map-wrap { min-height: 330px; border: 1px solid var(--line); background: #d9d0c2; position: relative; overflow: hidden; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.82) contrast(.98); }
.map-fallback { position: absolute; left: 1rem; bottom: 1rem; width: min(360px, calc(100% - 2rem)); background: rgba(251,250,246,.96); border: 1px solid var(--line); padding: clamp(.9rem, 2vw, 1.25rem); display: grid; align-content: center; box-shadow: 12px 12px 0 rgba(40,55,43,.08); }
.map-fallback strong, .map-fallback span, .map-fallback a { display: block; }
.map-fallback strong { color: var(--ink); margin-bottom: .2rem; }
.map-fallback span { color: var(--text); font-size: .92rem; margin-bottom: .5rem; }
.map-fallback a { color: var(--green); font-weight: 800; font-size: .9rem; }
.site-footer { margin-top: 1rem; padding: clamp(1.8rem, 4vw, 3rem) max(1rem, 3vw) 1.2rem; border-top: 1px solid var(--line); background: var(--green); color: rgba(255,255,255,.82); font-size: .92rem; }
.footer-main { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr; gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.footer-brand { display: flex; align-items: flex-start; gap: .85rem; }
.footer-brand img { width: 58px; background: rgba(255,255,255,.9); padding: .28rem; }
.footer-brand strong, .footer-column h2 { color: #fff; display: block; font-size: 1rem; margin: 0 0 .45rem; }
.footer-brand p, .footer-column p { margin-bottom: .5rem; }
.site-footer a { color: #fff; font-weight: 750; }
.site-footer nav { display: grid; gap: .35rem; }
.footer-bottom { width: var(--container); margin: 1.4rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.68); }

.legal-hero {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.2rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1rem, 4vw, 2.6rem);
  align-items: stretch;
}
.legal-hero h1 { max-width: none; }
.legal-return-card, .legal-side-note, .legal-article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
}
.legal-return-card {
  padding: 1.2rem;
  display: grid;
  gap: .75rem;
  align-content: start;
  box-shadow: 12px 12px 0 rgba(40,55,43,.08);
}
.legal-return-card strong, .legal-return-card span, .text-link { display: block; }
.legal-return-card strong { color: var(--ink); }
.text-link { color: var(--green); font-weight: 800; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
}
.legal-article { padding: clamp(1.2rem, 3.5vw, 2.1rem); }
.legal-article h2 { font-size: clamp(1.18rem, 2vw, 1.45rem); margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal-article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-contact-strip { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.1rem 0 1.4rem; }
.legal-contact-strip a { background: var(--green-soft); color: var(--green); text-decoration: none; font-weight: 800; padding: .45rem .65rem; }
.legal-side-note { padding: 1rem; position: sticky; top: 92px; }
.legal-side-note h2 { font-size: 1.35rem; }

@media (max-width: 980px) {
  .wood-hero, .workshop-note, .workshop-panel, .contact, .legal-hero, .legal-layout { grid-template-columns: 1fr; }
  .hero-photo img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .reference-board { grid-template-columns: 1fr 1fr; }
  .reference-board .large, .reference-board .wide { grid-column: auto; grid-row: auto; }
  .reference-board .large img { min-height: 230px; }
  .team-list { grid-template-columns: 1fr; }
  .legal-side-note { position: static; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; padding: .7rem 1rem 1rem; background: var(--green); border-bottom: 1px solid rgba(255,255,255,.14); }
  .topbar-nav.open { display: flex; }
  h1 { max-width: 100%; }
  .craft-facts { grid-template-columns: 1fr; }
  .craft-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .work-item, .work-item.reverse { grid-template-columns: 1fr; }
  .work-item.reverse img { order: 0; }
  .operation-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar-brand-label small { display: none; }
  .wood-hero { padding-top: 2rem; }
  .wood-hero::before { display: none; }
  .reference-board { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}
