:root {
  --ink: #16130f;
  --ink-soft: #3c342c;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --white: #fbf8f3;
  --rust: #b8432a;
  --rust-deep: #8d301c;
  --line: rgba(22, 19, 15, 0.12);
  --muted: #6f655b;
  --max: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-weight: 360;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust);
}

h1, h2, h3, .foot-mark {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: #f6f1e8;
}

.is-home .topbar {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(14, 11, 8, 0.72), rgba(14, 11, 8, 0));
}

.topbar-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.brand img {
  height: 52px;
  width: auto;
}

.nav-panel {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.nav-panel a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.72);
}

.nav-panel a.is-on,
.nav-panel a:hover { color: #fff; }

.bag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(246, 241, 232, 0.35);
  border-radius: 999px;
  padding: 7px 12px 7px 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bag b {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 6px 8px;
  background: #f6f1e8;
}

/* Hero */
.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #f8f3ea;
  background: #1a140f center / cover no-repeat;
  isolation: isolate;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 9, 7, 0.88) 0%, rgba(12, 9, 7, 0.72) 46%, rgba(12, 9, 7, 0.55) 100%);
  z-index: 0;
}

.stage-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 36px;
}

.stage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.stage-collage {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 12px;
}

.stage-collage img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stage-collage img:first-child {
  grid-row: 1 / 3;
  height: 100%;
  aspect-ratio: auto;
  object-position: center 40%;
  border-radius: 140px 16px 16px 16px;
}

.stage-collage img.shot-elastic { object-position: center 42%; }
.stage-collage img.shot-lace { object-position: center; }

.stage-note {
  grid-column: 1 / -1;
  background: rgba(248, 243, 234, 0.96);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stage-note strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.stage-note span {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}

.stage .kicker { display: block; margin: 0 0 22px; }

.stage h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 4.6vw, 68px);
  line-height: 1.05;
  font-weight: 500;
}

.stage .lede {
  max-width: 460px;
  margin: 0 0 28px;
  font-size: 17px;
  color: rgba(248, 243, 234, 0.86);
}

.stage-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.stage-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.stage-facts div {
  padding: 18px 0 6px;
}

.stage-facts b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.stage-facts span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(248, 243, 234, 0.75);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  background: var(--rust);
  color: #fff;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn:hover { background: var(--rust-deep); }

.btn-line {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.btn-line:hover { background: rgba(255, 255, 255, 0.08); }

.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #2a241e; }
.btn-block { width: 100%; }

/* Story */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0;
}

.story h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
}

.story p { color: var(--ink-soft); margin: 0 0 14px; }

.story-photo {
  position: relative;
  min-height: 460px;
}

.story-photo img {
  width: 78%;
  height: 420px;
  object-fit: cover;
  margin-left: auto;
  border-radius: 180px 180px 24px 24px;
}

.story-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 220px;
  background: var(--ink);
  color: #f6f1e8;
  padding: 18px 18px 16px;
  font-size: 14px;
}

/* Bands */
.band { padding: 28px 0 80px; }

.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.band-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
}

.band-head p { margin: 8px 0 0; color: var(--muted); max-width: 420px; }

.text-link {
  color: var(--rust);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

/* Catalogue lanes */
.lanes { display: grid; gap: 18px; }

.lane {
  display: grid;
  grid-template-columns: 180px 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  padding: 14px 22px 14px 14px;
  border-radius: 18px;
}

.lane img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.lane em {
  font-family: var(--serif);
  font-style: normal;
  font-size: 42px;
  color: var(--rust);
}

.lane h3 { margin: 0 0 6px; font-size: 28px; }
.lane p { margin: 0; color: var(--muted); }

/* Lookbook */
.look {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.feature {
  position: relative;
  min-height: 560px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background: #222;
}

.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(12, 9, 7, 0.88), transparent);
}

.feature-copy h3 {
  margin: 4px 0 8px;
  font-size: 40px;
}

.feature-copy p { margin: 0 0 16px; color: rgba(255,255,255,0.85); max-width: 420px; }

.feature .qty button,
.feature .qty input { color: #fff; }

.feature .qty { border-color: rgba(255,255,255,0.35); max-width: 160px; }

.side-stack { display: grid; gap: 14px; }

.mini {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
}

.mini img {
  width: 108px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}

.mini h3 { margin: 0 0 4px; font-size: 20px; }
.mini p { margin: 0; color: var(--muted); font-size: 13px; }
.mini .btn { padding: 10px 14px; }

/* Process */
.ink-band {
  background: var(--ink);
  color: #f6f1e8;
  padding: 84px 0;
}

.ink-band h2 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 52px); }
.ink-band .intro { margin: 0 0 36px; color: rgba(246, 241, 232, 0.7); max-width: 460px; }

.path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.path li {
  border-top: 1px solid rgba(246, 241, 232, 0.2);
  padding-top: 16px;
}

.path em {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-size: 28px;
  color: #e7b2a4;
  margin-bottom: 10px;
}

.path strong { display: block; font-size: 18px; margin-bottom: 8px; }
.path span { display: block; color: rgba(246, 241, 232, 0.68); font-size: 14px; }

/* Quote */
.quote {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 520px;
}

.quote-copy {
  background: #2a211b;
  color: #f6f1e8;
  padding: 72px 48px;
}

.quote-copy h2 { margin: 0 0 12px; font-size: 46px; }
.quote-copy p { color: rgba(246, 241, 232, 0.75); }
.quote-copy address {
  font-style: normal;
  margin: 22px 0;
  line-height: 1.6;
}

.quote-form {
  background: var(--white);
  padding: 56px 48px;
}

.quote-form h3 { margin: 0 0 18px; font-size: 32px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}

.field textarea { min-height: 90px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--rust); }

.form-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.alert-ok { background: #e7f3ea; color: #14603a; }
.alert-err { background: #fde8e4; color: #8d301c; }

/* Mast */
.mast {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: #f8f3ea;
  background: #1a140f center / cover no-repeat;
}

.mast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 7, 0.82), rgba(12, 9, 7, 0.35));
}

.mast .wrap { position: relative; z-index: 1; padding: 36px 0 42px; }

.mast h1 {
  margin: 0 0 10px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  max-width: 14ch;
}

.mast p { margin: 0; max-width: 520px; color: rgba(248, 243, 234, 0.82); }

.sheet { padding: 56px 0 80px; }

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(22, 19, 15, 0.16);
  border-radius: 18px;
  overflow: hidden;
}

.tile-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}

.tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}
.tile-body form { margin-top: auto; }
.sku {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile h3 { margin: 4px 0 8px; font-size: 26px; }
.tile .desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  height: 4.35em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
  max-width: 150px;
}

.qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.qty input {
  width: 48px;
  border: 0;
  text-align: center;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
}

.feature form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.feature .qty { margin: 0; }
.feature .btn { width: auto; }

/* Catalogue page rows */
.cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  background: var(--white);
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;
}

.cat-row:nth-child(even) .cat-row-copy { order: -1; }

.cat-row img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

.cat-row-copy { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.cat-row-copy h2 { margin: 0 0 10px; font-size: 36px; }
.cat-row-copy p { margin: 0 0 16px; color: var(--muted); }

/* Timeline */
.time { display: grid; gap: 0; max-width: 760px; }
.time article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.time span {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--rust);
}
.time h2 { margin: 0 0 6px; font-size: 26px; }
.time p { margin: 0; color: var(--muted); }

.note-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.paper-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
}

.paper-card h3 { margin: 0 0 8px; font-size: 28px; }
.paper-card p { color: var(--muted); }

/* Company */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.prose h2 { margin: 28px 0 10px; font-size: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }

.addr {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 16px;
  padding: 16px 18px;
  line-height: 1.6;
}

/* Inquiry */
.list {
  display: grid;
  gap: 12px;
}

.line {
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
}

.line img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.line h3 { margin: 0; font-size: 22px; }
.line .sku { margin-top: 2px; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.list-tools {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.danger {
  border: 0;
  background: none;
  color: var(--rust);
  cursor: pointer;
  font: inherit;
}

.summary {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 20px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.summary h3 { margin: 0 0 16px; font-size: 28px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}
.summary p { color: rgba(246, 241, 232, 0.7); font-size: 14px; }

.inquiry-layout,
.submit-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: start;
}

.back {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(248, 243, 234, 0.8);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty {
  background: var(--white);
  border-radius: 20px;
  padding: 64px 24px;
  text-align: center;
}
.empty h2 { margin: 0 0 8px; font-size: 36px; }
.empty p { color: var(--muted); }

.side-lines { display: grid; gap: 12px; margin-bottom: 12px; }
.side-line {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
}
.side-line img { width: 52px; height: 42px; object-fit: cover; border-radius: 8px; }
.side-line strong { display: block; font-size: 14px; }
.side-line span { color: var(--muted); font-size: 12px; }

/* Footer */
.foot {
  background: #100e0c;
  color: #d9d0c4;
  padding: 48px 0 20px;
}

.foot-mark {
  margin: 0;
  font-size: clamp(64px, 12vw, 140px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 241, 232, 0.35);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 18px;
}

.foot-top p { margin: 0; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.6fr;
  gap: 32px;
  padding: 28px 0;
}

.foot h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e7b2a4;
}

.foot p { margin: 0 0 8px; }
.foot a:hover { color: #fff; }
.foot-note { margin-top: 16px !important; color: #a89d90; font-size: 14px; }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
  font-size: 13px;
  color: #8d8276;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 14, 12, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal-card {
  width: min(440px, 100%);
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}
.modal-card h2 { margin: 0 0 8px; font-size: 36px; }
.modal-card p { color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.shop-end {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 18px;
  padding: 22px 24px;
}
.shop-end h2 { margin: 0 0 6px; font-size: 28px; }
.shop-end p { margin: 0; color: rgba(246,241,232,0.7); }

@media (max-width: 980px) {
  .story,
  .look,
  .quote,
  .split,
  .note-grid,
  .inquiry-layout,
  .submit-layout,
  .foot-top,
  .foot-grid,
  .cat-row,
  .lane,
  .stage-grid { grid-template-columns: 1fr; }
  .stage-collage { grid-template-columns: 1fr 1fr; }
  .stage-collage img { aspect-ratio: 1 / 1; height: auto; }
  .stage-collage img:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; height: auto; border-radius: 16px; }
  .stage-note { grid-column: 1 / -1; }
  .cat-row:nth-child(even) .cat-row-copy { order: 0; }
  .lane { grid-template-columns: 120px 1fr; }
  .lane em { display: none; }
  .tiles,
  .path,
  .stage-facts { grid-template-columns: 1fr 1fr; }
  .story-photo { min-height: 0; }
  .story-photo img { width: 100%; height: 320px; margin: 0; }
  .story-photo figcaption { position: relative; bottom: auto; width: auto; margin-top: -28px; }
  .feature { min-height: 460px; }
  .quote-copy, .quote-form { padding: 36px 24px; }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav-toggle { display: block; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    background: #1c1814;
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 14px;
  }
  body.nav-open .nav-panel { display: flex; }
  .topbar-row { position: relative; }
  .bag span { display: none; }
  .stage h1 { font-size: 46px; }
  .stage-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .tiles,
  .path,
  .pair,
  .mini { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px 1fr; }
  .line .qty, .line .icon-btn { grid-column: 2; }
  .foot-base, .shop-end, .list-tools { flex-direction: column; align-items: flex-start; }
  .brand img { height: 40px; }
  .stage { min-height: 88vh; }
}
