:root {
  --bg: #0c0d0c;
  --bg-soft: #111210;
  --surface: #181916;
  --text: #eee9dd;
  --muted: #aaa69e;
  --gold: #c6a15b;
  --gold-soft: #9c7b3e;
  --line: rgba(198, 161, 91, 0.42);
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --section-space: clamp(6rem, 11vw, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:disabled { cursor: wait; opacity: .68; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.04; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.2rem, 6.8vw, 7.2rem); }
h2 { font-size: clamp(2.6rem, 5vw, 5.5rem); }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.4rem); }
p { color: var(--muted); }
::selection { color: #111; background: var(--gold); }

.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;
}
.skip-link {
  position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem;
  color: #111; background: var(--gold); transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 6.6rem;
  display: grid; grid-template-columns: minmax(12rem, 1fr) auto minmax(9rem, 1fr);
  align-items: center; gap: 2rem; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, height .35s;
}
.site-header.scrolled {
  height: 5.25rem; background: rgba(12, 13, 12, .9); border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { color: var(--gold); font-size: 1.45rem; font-weight: 500; letter-spacing: .28em; }
.primary-nav { display: flex; gap: clamp(1.25rem, 2.8vw, 3rem); }
.primary-nav a, .site-footer nav a { position: relative; color: #ddd8cd; font-size: .94rem; }
.primary-nav a::after, .site-footer nav a::after {
  content: ""; position: absolute; inset: auto 0 -.5rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after,
.site-footer nav a:hover::after, .site-footer nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.language-switcher { justify-self: end; display: flex; align-items: center; gap: .42rem; color: #73716d; }
.language-switcher button { border: 0; padding: .3rem .1rem; background: transparent; cursor: pointer; font-size: .82rem; letter-spacing: .08em; }
.language-switcher button.active { color: var(--gold); }
.menu-toggle { display: none; }

.section-dark { position: relative; padding-inline: var(--gutter); overflow: hidden; }
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 6rem; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(5,6,5,.92) 0%, rgba(5,6,5,.55) 35%, rgba(5,6,5,.03) 66%),
    linear-gradient(0deg, rgba(5,6,5,.42), transparent 35%);
}
.hero-content { position: relative; z-index: 2; width: min(50rem, 58vw); padding-top: 2rem; }
.hero h1 { margin-bottom: 1.8rem; font-size: clamp(3.2rem, 6vw, 6.7rem); }
.hero p { max-width: 40rem; font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.8rem; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: 3.8rem; padding: .9rem 1.35rem; border: 1px solid var(--gold);
  background: transparent; cursor: pointer; font-weight: 400; transition: color .25s, background .25s, transform .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #13130f; background: var(--gold); }
.button-primary:hover { background: #d2ad67; }
.button-ghost { color: var(--gold); }
.arrow { position: relative; width: 1.25rem; height: .75rem; flex: 0 0 auto; }
.arrow::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.arrow::after { content: ""; position: absolute; top: calc(50% - 3px); right: 0; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 2.25rem; width: 2rem; height: 3rem; border: 1px solid rgba(238,233,221,.35); border-radius: 2rem; }
.scroll-cue span { position: absolute; top: .65rem; left: calc(50% - 1px); width: 2px; height: .55rem; background: var(--gold); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(1rem); opacity: 0; } }

.materials, .collections, .craft, .provenance, .bespoke { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(18rem, .75fr); gap: 5vw; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading h2 { max-width: 60rem; margin-bottom: 0; }
.section-heading p { max-width: 31rem; margin: 0; font-size: 1.08rem; }
.materials-layout { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 50rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.material { display: flex; flex-direction: column; min-width: 0; }
.material + .material { border-left: 1px solid var(--line); }
.material-image { overflow: hidden; background: var(--surface); }
.material-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.material:hover .material-image img { transform: scale(1.025); }
.material-burl .material-image { height: 38rem; }
.slab-image img { object-position: 50% 42%; }
.material-cocobolo .material-image { height: 31rem; order: 2; }
.material-copy { padding: 2rem clamp(1.5rem, 3vw, 3rem) 2.5rem; }
.material-copy p { max-width: 31rem; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--gold); padding-bottom: .45rem; border-bottom: 1px solid var(--gold-soft); }

.collections { background: #0f100f; }
.collection-feature { position: relative; display: grid; grid-template-columns: 1.45fr .55fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; padding: 4rem 0; border-top: 1px solid var(--line); }
.collection-feature img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.collection-feature.reverse { grid-template-columns: .55fr 1.45fr; }
.collection-feature.reverse img { grid-column: 2; }
.collection-feature.reverse .collection-copy { grid-column: 1; grid-row: 1; }
.collection-index { position: absolute; top: 4.5rem; right: 0; color: var(--gold); font-size: .82rem; letter-spacing: .18em; }
.collection-feature.reverse .collection-index { right: auto; left: 0; }
.collection-copy { padding-bottom: 1rem; }
.collection-copy p { margin-bottom: 2rem; }
.maker-feature { border-bottom: 1px solid var(--line); }

.craft { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(20rem, .65fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; background: #0b0c0b; }
.craft-story { min-width: 0; }
.craft-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-bottom: 3rem; }
.craft-intro h2 { max-width: 32rem; margin-bottom: 0; }
.craft-intro p { max-width: 28rem; margin-bottom: .5rem; font-size: 1.08rem; }
.craft-media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #090a09; }
.craft-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.craft-media:hover img { transform: scale(1.018); }
.process { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 4.5rem 1fr; gap: .9rem 1.4rem; padding: 2.8rem 0; border-bottom: 1px solid var(--line); }
.process-step > span { color: var(--gold); font-size: 2.2rem; line-height: 1; font-weight: 200; }
.process-step h3, .process-step p { margin: 0; }
.process-step p { grid-column: 2; }

.provenance { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; min-height: 52rem; background: #11120f; }
.provenance-media { align-self: stretch; margin-left: calc(var(--gutter) * -1); }
.provenance-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.provenance-copy { max-width: 38rem; }
.provenance-copy p { font-size: 1.08rem; }
.provenance-note { margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem !important; }

.bespoke { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 12rem); background: #0a0b0a; }
.bespoke-lead { align-self: start; }
.bespoke-lead h2 { max-width: 35rem; }
.bespoke-lead > p { max-width: 34rem; }
.language-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 3rem; align-content: start; }
.honeypot {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
.inquiry-form label { display: grid; gap: .7rem; color: var(--muted); }
.inquiry-form label span { font-size: .84rem; letter-spacing: .04em; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; color: var(--text); border: 0; border-bottom: 1px solid var(--gold-soft);
  border-radius: 0; padding: .6rem 0 1rem; background: transparent; outline: none;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.inquiry-form select { color-scheme: dark; }
.inquiry-form textarea { resize: vertical; }
.form-details { grid-column: 1 / -1; }
.inquiry-form .button { width: fit-content; min-width: 13rem; }
.form-status { align-self: center; margin: 0; color: var(--gold); }
.form-status[data-state="error"] { color: #df9b84; }

.site-footer { display: grid; grid-template-columns: 1.15fr .75fr 1.6fr auto; gap: 2rem; align-items: start; padding: 4rem var(--gutter) 2rem; border-top: 1px solid var(--line); background: #080908; }
.footer-brand { display: inline-block; margin-bottom: .6rem; }
.footer-email { display: inline-block; margin-top: .45rem; color: var(--gold); }
.site-footer p { margin-bottom: 0; font-size: .84rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }
.footer-language { color: var(--gold); font-size: .82rem; letter-spacing: .08em; white-space: nowrap; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); }

.error-page {
  min-height: 100svh; display: grid; grid-template-rows: auto 1fr;
  padding: 2rem var(--gutter) 4rem; background:
    radial-gradient(circle at 75% 30%, rgba(198,161,91,.12), transparent 32%), var(--bg);
}
.error-page > div { align-self: center; max-width: 50rem; }
.error-page h1 { margin-bottom: 1.5rem; }
.error-page .button { margin-top: 2rem; }
.error-code { margin-bottom: 1.2rem; color: var(--gold); font-size: .9rem; letter-spacing: .3em; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: grid; gap: .4rem; width: 2.5rem; padding: .7rem .4rem; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 1px; background: var(--text); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 7rem var(--gutter) 3rem; background: rgba(8,9,8,.98); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .primary-nav.open { opacity: 1; visibility: visible; }
  .primary-nav a { font-size: clamp(2rem, 7vw, 4rem); font-weight: 300; }
  .section-heading, .craft, .bespoke { grid-template-columns: 1fr; }
  .materials-layout { grid-template-columns: 1fr; }
  .material + .material { border-left: 0; border-top: 1px solid var(--line); }
  .craft-intro { position: static; }
  .provenance { grid-template-columns: 1fr; padding-left: 0; }
  .provenance-copy { padding: 0 var(--gutter); }
  .provenance-media { margin-left: 0; min-height: 36rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 5rem; gap: .75rem; }
  .site-header.scrolled { height: 4.6rem; }
  .brand { font-size: 1.05rem; }
  .language-switcher { gap: .25rem; }
  .language-switcher button { font-size: .72rem; }
  .hero { min-height: 46rem; align-items: flex-end; padding-bottom: 5rem; }
  .hero-media {
    inset: 0 0 auto;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }
  .hero-shade { background: linear-gradient(0deg, rgba(5,6,5,.97) 0%, rgba(5,6,5,.7) 55%, rgba(5,6,5,.1) 100%); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.9rem); }
  .hero p { font-size: .98rem; }
  .actions { display: grid; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section-heading { gap: 1.5rem; }
  .materials-layout { min-height: 0; }
  .material-burl .material-image, .material-cocobolo .material-image { height: 25rem; }
  .collection-feature, .collection-feature.reverse { display: flex; flex-direction: column; gap: 1.5rem; padding: 3rem 0; align-items: stretch; }
  .collection-feature.reverse img, .collection-feature.reverse .collection-copy { grid-column: auto; grid-row: auto; }
  .collection-index { position: static; order: -1; }
  .collection-feature.reverse .collection-index { order: -1; }
  .collection-feature img,
  .maker-feature img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .craft { grid-template-columns: 1fr; gap: 3rem; }
  .craft-intro { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; }
  .craft-media { aspect-ratio: auto; }
  .craft-media img {
    height: auto;
    object-fit: contain;
  }
  .process-step { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .process-step p { grid-column: 2; }
  .provenance { min-height: 0; padding-bottom: 6rem; }
  .provenance-media { min-height: 30rem; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-details { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { margin-block: 1rem; }
}

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