:root {
  --paper: #f3efe8;
  --paper-deep: #e8e2d8;
  --ink: #1c1a17;
  --muted: #6d675f;
  --line: rgba(28, 26, 23, 0.14);
  --line-strong: rgba(28, 26, 23, 0.38);
  --petal: #f3c6d4;
  --lilac: #ddd3f2;
  --sky: #c5dff6;
  --mint: #c9ead9;
  --butter: #f7efc2;
  --peach: #f8d3c2;
  --ink-soft: #3f3834;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.statement p,
.facts strong,
.steps__index {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-family: "Instrument Sans", Manrope, sans-serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 8.2cqi, 2.55rem);
  line-height: 1.28;
  letter-spacing: -0.022em;
  max-width: 14em;
}

h1 em {
  font-style: italic;
  font-weight: 500;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header);
  padding: 0 var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--serif);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav__inquiry {
  display: none;
}

.header__cta {
  justify-self: end;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1rem;
}

.nav-toggle {
  display: none;
  justify-self: end;
  background: none;
  border: 0;
  padding: 0.4rem 0;
}

.hero {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - var(--header));
  padding: clamp(1rem, 2vw, 1.5rem) var(--pad) 0;
}

.hero__copy {
  transform: translateY(-7vh);
  container-type: inline-size;
}

.lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid var(--ink);
  background: transparent;
  text-decoration: none;
}

.btn--fill {
  background: var(--ink);
  color: var(--paper);
}

.btn--fill:hover {
  background: #2c2925;
}

.btn--line:hover {
  background: rgba(28, 26, 23, 0.04);
}

.hero__figure {
  margin: 0;
}

.hero__figure img {
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
  object-position: center 28%;
}

.hero__figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  padding: 0 var(--pad);
}

.facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts li {
  padding: 1.35rem 1.25rem 1.35rem 0;
}

.facts li + li {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line);
}

.facts strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.facts span {
  color: var(--muted);
  font-size: 0.92rem;
}

.collection,
.station,
.partners,
.materials,
.wholesale,
.inquiry,
.statement {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.section-head__note {
  max-width: 18rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  padding-bottom: 0.35rem;
}

.tone + .tone {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.tone h3 {
  margin: 0 0 0.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem 0.75rem;
}

.mat h4 {
  margin: 0.55rem 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mat__swatch {
  aspect-ratio: 5 / 4;
  background: var(--swatch, var(--petal));
}

.bench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  height: min(760px, calc(100svh - 7.5rem));
  min-height: 560px;
  border: 1px solid var(--line);
  background: #ebe6de;
}

.bench__canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  height: 100%;
  padding: 3.5rem 2rem 4.5rem;
  background-image: radial-gradient(rgba(28, 26, 23, 0.16) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: center;
}

.bench__hint,
.bench__status {
  position: absolute;
  left: 1rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.bench__hint {
  top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.42rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(60, 40, 50, 0.06);
}

.bench__grip {
  width: 0.7rem;
  height: 0.85rem;
  flex: none;
  background-image: radial-gradient(currentColor 1.2px, transparent 1.3px);
  background-size: 0.35rem 0.28rem;
  background-position: center;
}

.bench__status {
  right: 1rem;
  bottom: 0.85rem;
  left: 1rem;
}

.bench__tools {
  display: flex;
  flex-direction: column;
  background: #f7f4ef;
  border-left: 1px solid var(--line);
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}

.bench__tools-title {
  margin: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tool {
  padding: 0.72rem 1rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.tool h3 {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool__field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.tool__field:last-child {
  margin-bottom: 0;
}

.tool__field span {
  font-size: 0.72rem;
  color: var(--muted);
}

.tool__field select,
.tool__field input {
  width: 100%;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  outline: none;
}

.tool__size span {
  display: flex;
  justify-content: space-between;
}

.tool__size em {
  font-style: normal;
  color: var(--ink);
}

.tool__field input[type="range"] {
  appearance: none;
  height: 2px;
  margin: 0.7rem 0 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  cursor: pointer;
}

.tool__field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.tool__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 8px) 55%, calc(100% - 3px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.tool--end {
  margin-top: auto;
  border-bottom: 0;
}

.tool--end .btn {
  width: 100%;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.seg button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0 0.4rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.78rem;
}

.seg button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ico {
  width: 1.15rem;
  height: 0.7rem;
  border: 1.5px solid currentColor;
  flex: none;
}

.ico--round {
  border-radius: 999px;
}

.ico--square {
  height: 0.85rem;
  border-radius: 2px;
}

.ico--wide {
  width: 1.15rem;
  height: 0.55rem;
  border-radius: 2px;
}

.ico--tall {
  width: 0.55rem;
  height: 1rem;
  border-radius: 2px;
}

.mat-board {
  position: relative;
  width: min(78%, 560px);
  max-height: 78%;
  aspect-ratio: var(--ratio, 2.69);
  border-radius: var(--corner, 999px);
  background: var(--mat, var(--petal));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 var(--lift, 18px) 36px rgba(60, 40, 50, 0.1);
  touch-action: none;
  cursor: default;
  overflow: hidden;
  transition: border-radius 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.mat-board.is-portrait {
  width: auto;
  height: min(72%, 460px);
}

.mat-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  max-width: 78%;
  color: var(--ink-soft);
  line-height: 1;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.mat-mark__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(clamp(1.7rem, 3.4vw, 3rem) * var(--scale, 1));
  letter-spacing: 0.01em;
}

.mat-mark.is-script .mat-mark__name {
  font-family: "Great Vibes", cursive;
  font-style: normal;
  letter-spacing: 0.02em;
  font-size: calc(clamp(2.2rem, 4.2vw, 3.6rem) * var(--scale, 1));
}

.mat-mark.is-editorial .mat-mark__name {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.mat-mark.is-spaced .mat-mark__name {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: calc(clamp(0.85rem, 1.6vw, 1.15rem) * var(--scale, 1));
}

.mat-mark:active,
.mat-mark.is-dragging {
  cursor: grabbing;
}

.tool__note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.tone-pick + .tone-pick {
  margin-top: 0.75rem;
}

.tone-pick p {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.choice__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.swatch-btn {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(63, 56, 52, 0.12);
}

.swatch-btn[aria-pressed="true"] {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.choice__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.type-btn {
  min-height: 2.6rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.type-btn[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.type-btn--serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

.type-btn--script {
  font-family: "Great Vibes", cursive;
  font-size: 1.55rem;
  line-height: 1;
}

.type-btn--editorial {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.type-btn--spaced {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mat__meta {
  padding: 1rem 0.15rem 0;
}

.mat__meta h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.mat__meta p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.statement {
  padding-top: clamp(4rem, 8vw, 6.5rem);
}

.statement p {
  max-width: 16em;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.08;
}

.partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.partners__grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 70%;
}

.partners__grid figure:last-child img {
  object-position: center 82%;
}

.partners__grid figcaption {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.85rem;
}

.partners__grid strong {
  font-weight: 500;
}

.partners__grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.studio-band {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.studio-band .kicker {
  margin: 0;
}

.studio-band p:last-child {
  max-width: 36rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.materials {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.materials__lead {
  margin-top: 1.25rem;
  max-width: 24rem;
  color: var(--muted);
  line-height: 1.6;
}

.spec {
  margin: 0;
}

.spec div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.spec div:last-child {
  border-bottom: 1px solid var(--line);
}

.spec dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.spec dd {
  margin: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.steps li {
  padding-top: 1.4rem;
  padding-right: 1.5rem;
}

.steps__index {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  color: var(--muted);
}

.steps h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.steps p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.55;
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.inquiry__copy p:not(.kicker) {
  margin-top: 1rem;
  max-width: 26rem;
  color: var(--muted);
  line-height: 1.6;
}

.inquiry__mail {
  margin-top: 1.5rem;
}

.inquiry__mail a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1rem;
  color: var(--ink);
}

.form,
.form__success {
  display: grid;
  gap: 1.35rem;
}

.form .btn {
  justify-self: start;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input[type="date"] {
  color-scheme: light;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.form__error {
  margin: 0;
  color: #8a3d32;
  font-size: 0.92rem;
}

.form__success {
  padding-top: 0.5rem;
}

.form__success h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.form__success p:last-child {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem var(--pad) 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer .logo {
  color: var(--ink);
  font-size: 1.4rem;
}

@media (max-width: 980px) {
  .mats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__copy {
    transform: none;
  }

  .bench,
  .materials,
  .inquiry,
  .hero {
    grid-template-columns: 1fr;
  }

  .bench {
    height: auto;
    min-height: 0;
  }

  .bench__canvas {
    height: 520px;
  }

  .bench__tools {
    border-left: 0;
    border-top: 1px solid var(--line);
    overflow: visible;
  }

  .hero {
    min-height: 0;
  }

  .hero__figure img {
    height: min(62vh, 560px);
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem var(--pad) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav__inquiry {
    display: block;
  }

  .facts ul,
  .steps,
  .form__row,
  .studio-band,
  .partners__grid {
    grid-template-columns: 1fr;
  }

  .bench {
    height: auto;
    min-height: 0;
  }

  .bench__canvas {
    height: 460px;
    min-height: 460px;
    padding-bottom: 3.5rem;
  }

  .bench__tools {
    overflow: visible;
  }

  .mat-board.is-portrait {
    height: min(64%, 320px);
  }

  .facts li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .steps li {
    padding-right: 0;
    border-top: 1px solid var(--line);
  }

  .steps {
    border-top: 0;
    gap: 0;
  }

  .footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .mats {
    grid-template-columns: 1fr 1fr;
  }

  .mat__swatch {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
