/* Plinth concept: shared by the homepage (plinth.html) and the mats page (mats.html). */
@font-face {
  font-family: 'Lost in South';
  src: url('../assets/fonts/lost-in-south.ttf') format('truetype');
  font-display: swap;
}
:root {
  --stage: #2b0509;
  --stage-lift: #3b0b11;
  --oxblood: #7c3d3c;
  --blush: #d1a595;
  --plaster: #f1ded4;
  --plaster-ink: #3a1416;
  --muted: rgba(241, 222, 212, 0.68);
  --line: rgba(241, 222, 212, 0.2);
  --sans: 'Host Grotesk', system-ui, sans-serif;
  --brush: 'Lost in South', 'Host Grotesk', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--stage);
  color: var(--plaster);
  font: 300 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 26px;
  background: var(--plaster);
  color: var(--plaster-ink);
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: var(--blush); }
.text-link { font-weight: 400; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Header */
.top {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
}
.wordmark { font: 400 34px/1 var(--brush); color: var(--blush); text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; gap: 30px; list-style: none; padding: 0; font-size: 15px; font-weight: 400; }
.nav a, .bag { text-decoration: none; }
.nav a:hover, .bag:hover { text-decoration: underline; text-underline-offset: 5px; }
.bag { font-size: 15px; font-weight: 400; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43, 5, 9, .55) 0%, rgba(43, 5, 9, 0) 55%),
              linear-gradient(0deg, rgba(43, 5, 9, .7) 0%, rgba(43, 5, 9, 0) 40%);
}
.hero-copy {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(40px, 9vh, 96px);
  max-width: 620px;
}
.hero h1 {
  font-weight: 300; font-size: clamp(44px, 6.6vw, 104px); line-height: .98; letter-spacing: -.035em;
}
.hero p { margin-top: 22px; max-width: 30em; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.video-toggle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 9vh, 96px);
  background: none; border: 1px solid var(--line); color: var(--muted);
  font: 400 13px/1 var(--sans); padding: 9px 14px; cursor: pointer;
}
.video-toggle:hover { color: var(--plaster); border-color: var(--muted); }
.hero--mats video { object-position: 100% 50%; }
.hero--mats .hero-copy p { max-width: 21em; }

/* Collection: a gallery wall, each piece hung at its own height */
.collection { padding: clamp(96px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 160px); }
.collection-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-bottom: clamp(56px, 8vw, 120px); }
.collection-intro h2 {
  grid-column: 1 / span 6;
  font-weight: 300; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.03em;
}
.collection-intro p { grid-column: 8 / span 4; align-self: end; color: var(--muted); max-width: 30em; }
.wall { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(56px, 7vw, 110px) 24px; align-items: start; }
.piece img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.piece--set { grid-column: 1 / span 7; }
.piece--mat { grid-column: 9 / span 4; margin-top: 34%; }
.piece--racks { grid-column: 2 / span 4; }
.piece--case { grid-column: 7 / span 6; margin-top: -18%; }
.piece--dice { grid-column: 4 / span 4; }
.cap { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.cap h3 { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.cap .price { font-weight: 400; font-size: 18px; font-variant-numeric: tabular-nums; }
.cap p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; max-width: 34em; }
.cap .add {
  grid-column: 1 / -1; justify-self: start; margin-top: 10px;
  background: none; border: 0; padding: 0; color: var(--plaster); cursor: pointer;
  font: 400 15px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.cap .add:hover { color: var(--blush); }

/* Story: plaster room, face cropped by the edge */
.story { background: var(--plaster); color: var(--plaster-ink); display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.story img { width: 100%; height: 100%; max-height: 980px; object-fit: cover; object-position: 0 30%; }
.story-copy { padding: clamp(56px, 8vw, 128px) var(--gutter); max-width: 640px; }
.story h2 { font-weight: 300; font-size: clamp(36px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; }
.story p { margin-top: 22px; max-width: 30em; color: rgba(58, 20, 22, .78); }
.story .bird { margin-top: 36px; font: 400 26px/1 var(--brush); color: var(--oxblood); }
.story .btn { background: var(--plaster-ink); color: var(--plaster); }
.story .btn:hover { background: var(--oxblood); }

/* In use: two photographs side by side, matched height */
.in-use { padding: clamp(96px, 12vw, 180px) var(--gutter); }
.in-use h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -.03em; max-width: 14em; }
.in-use-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.in-use-grid figure { margin: 0; }
.in-use-grid img { width: 100%; height: clamp(360px, 46vw, 760px); object-fit: cover; }
.in-use-grid figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Club */
.club { position: relative; min-height: min(92vh, 880px); display: flex; align-items: flex-end; }
.club > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.club-panel { position: relative; background: var(--stage); padding: clamp(32px, 4vw, 56px) var(--gutter); max-width: 640px; }
.club h2 { font-weight: 300; font-size: clamp(36px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; }
.club p { margin: 18px 0 28px; color: var(--muted); max-width: 32em; }
.club strong { color: var(--plaster); font-weight: 500; }

/* Join */
.join { padding: clamp(96px, 12vw, 180px) var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; }
.join h2 { grid-column: 1 / span 6; font-weight: 300; font-size: clamp(36px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; }
.join form { grid-column: 8 / span 5; align-self: end; display: grid; grid-template-columns: 1fr auto; gap: 10px 0; }
.join .lede { grid-column: 1 / -1; color: var(--muted); margin-bottom: 14px; }
.join label { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.join input {
  min-width: 0; padding: 15px 0; background: none; border: 0; border-bottom: 1px solid var(--muted);
  color: var(--plaster); font: 300 18px/1 var(--sans);
}
.join input::placeholder { color: rgba(241, 222, 212, .4); }
.join input:focus-visible { outline: none; border-bottom-color: var(--blush); }
.join [data-join-msg] { grid-column: 1 / -1; min-height: 1.5em; font-size: 15px; color: var(--blush); }

/* Footer: the wordmark as the last object on the stage */
footer { padding: 0 var(--gutter) 28px; overflow: hidden; }
.footer-mark { font: 400 clamp(96px, 27vw, 440px)/.8 var(--brush); color: var(--oxblood); margin: 0 0 .12em -.02em; white-space: nowrap; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--plaster); }

/* Review switcher (not part of the design) */
.review { position: fixed; z-index: 10; right: 12px; bottom: 12px; display: flex; gap: 2px; font: 500 12px/1 system-ui, sans-serif; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.review a { padding: 9px 11px; background: #fff; color: #222; text-decoration: none; }
.review a[aria-current] { background: #222; color: #fff; }

@media (max-width: 900px) {
  .nav { display: none; }
  .collection-intro, .wall, .join { grid-template-columns: 1fr; }
  .collection-intro h2, .collection-intro p, .join h2, .join form { grid-column: 1; }
  .collection-intro p { margin-top: 18px; }
  .wall > .piece { grid-column: 1; margin-top: 0; }
  .wall > .piece:nth-child(even) { width: 82%; justify-self: end; }
  .story { grid-template-columns: 1fr; }
  .story img { height: 72vh; }
  .in-use-grid { grid-template-columns: 1fr; }
  .in-use-grid img { height: auto; aspect-ratio: 4 / 5; }
  .in-use-grid figure + figure img { aspect-ratio: 3 / 2; }
  .club { min-height: 0; flex-direction: column; align-items: stretch; }
  .club > img { position: static; height: 64vh; }
  .club-panel { max-width: none; }
}
@media (max-width: 600px) {
  .hero video { object-position: 80% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(43, 5, 9, .92) 0%, rgba(43, 5, 9, .2) 60%, rgba(43, 5, 9, .35) 100%); }
  .video-toggle { top: 76px; bottom: auto; }
  .wordmark { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Mats strip (homepage): one row of prints you can scroll through */
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.mats { padding: clamp(96px, 14vw, 200px) 0 clamp(48px, 6vw, 96px); }
.mats .collection-intro { padding: 0 var(--gutter); margin-bottom: clamp(40px, 5vw, 72px); }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 340px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  list-style: none; padding: 0 var(--gutter) 24px; scrollbar-color: var(--oxblood) transparent;
}
.strip li { scroll-snap-align: start; }
.strip a { display: block; text-decoration: none; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip .meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 15px; }
.strip .meta span:first-child { font-weight: 500; }
.strip .meta span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.strip a:hover .meta span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.mats-more { padding: 16px var(--gutter) 0; }

/* Mats page: filterable catalog */
.catalog { padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(80px, 10vw, 140px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.filters button {
  background: none; border: 1px solid var(--line); color: var(--muted); cursor: pointer;
  font: 400 15px/1 var(--sans); padding: 11px 16px;
}
.filters button:hover { color: var(--plaster); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--plaster); border-color: var(--plaster); color: var(--plaster-ink); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 5vw, 80px) 24px; }
.grid .mat[hidden] { display: none; }
.grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.grid-count { margin-top: 40px; color: var(--muted); font-size: 15px; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: center; padding: clamp(96px, 12vw, 180px) var(--gutter); }
.specs img { grid-column: 1 / span 6; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.specs-copy { grid-column: 8 / span 5; }
.specs h2 { font-weight: 300; font-size: clamp(36px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; }
.specs dl { display: grid; grid-template-columns: minmax(6em, auto) 1fr; margin-top: 36px; border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.specs dt { color: var(--muted); padding-right: 24px; }

@media (max-width: 900px) {
  .strip { grid-auto-columns: 62vw; }
  .grid { grid-template-columns: 1fr 1fr; gap: 40px 12px; }
  .grid .cap h3 { font-size: 16px; }
  .grid .cap .price { font-size: 15px; }
  .grid .cap p { font-size: 13px; }
  .specs { grid-template-columns: 1fr; }
  .specs img, .specs-copy { grid-column: 1; }
}
