:root {
  color-scheme: dark;
  --ink: #0d0b09;
  --charcoal: #15120f;
  --charcoal-soft: #201a16;
  --leather: #6f3f26;
  --leather-dark: #3c2419;
  --copper: #c87335;
  --copper-bright: #e6974e;
  --bone: #f2eadc;
  --parchment: #d9cab8;
  --muted: #ac9c8a;
  --oxblood: #6e2228;
  --brass: #b79558;
  --line: rgba(242, 234, 220, 0.15);
  --line-strong: rgba(242, 234, 220, 0.3);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1180px, calc(100vw - 48px));
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--bone);
  background:
    radial-gradient(circle at 20% -10%, rgba(200, 115, 53, 0.16), transparent 31rem),
    linear-gradient(180deg, #0d0b09, #15110e 45%, #0d0b09);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

.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;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--copper-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  padding: 10px 15px;
  color: var(--ink);
  background: var(--bone);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(242, 234, 220, 0.12);
  background: linear-gradient(180deg, rgba(13, 11, 9, 0.86), rgba(13, 11, 9, 0.2));
}

.site-header.is-solid {
  position: sticky;
  background: rgba(13, 11, 9, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--page);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-family: var(--display);
  font-size: 0.92rem;
  line-height: 1.05;
}

.wordmark-mark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--copper);
  border-radius: 50% 46% 52% 44%;
  box-shadow: inset 0 0 0 4px rgba(200, 115, 53, 0.12);
  transform: rotate(-18deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  position: relative;
  padding: 9px 0;
  color: var(--parchment);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--bone);
  background: rgba(13, 11, 9, 0.7);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 19px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

.home-hero {
  position: relative;
  min-height: min(880px, 94svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.home-hero picture,
.home-hero-media,
.page-hero picture,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-media,
.page-hero-media {
  object-fit: cover;
}

.home-hero-media {
  object-position: 50% 52%;
  transform: scale(1.015);
  animation: hero-settle 1800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 11, 9, 0.94) 0%, rgba(13, 11, 9, 0.58) 48%, rgba(13, 11, 9, 0.16) 76%),
    linear-gradient(180deg, rgba(13, 11, 9, 0.42), transparent 30%, rgba(13, 11, 9, 0.78));
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--charcoal));
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: var(--page);
  margin: 0 auto;
  padding: 180px 0 110px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--copper-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.35rem, 8vw, 7.8rem);
}

h2 {
  font-size: clamp(2.45rem, 5.4vw, 5.3rem);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.06;
}

.hero-support {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--parchment);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--bone);
  background: rgba(13, 11, 9, 0.48);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
}

.button-primary {
  color: var(--ink);
  border-color: var(--copper);
  background: var(--copper-bright);
}

.button-primary:hover {
  background: var(--bone);
}

.button-quiet {
  background: transparent;
}

.section {
  position: relative;
  padding: 112px 0;
  overflow: clip;
}

.section-inner {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.material-intro {
  background:
    radial-gradient(circle at 78% 12%, rgba(110, 34, 40, 0.16), transparent 30rem),
    var(--charcoal);
}

.material-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.material-copy h2 {
  max-width: 9ch;
}

.material-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--parchment);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.material-notes {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.material-notes li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.material-notes span {
  color: var(--copper-bright);
  font-family: var(--display);
}

.material-frame {
  position: relative;
  min-height: 610px;
}

.material-frame::before {
  content: "";
  position: absolute;
  inset: 5% -5% -5% 14%;
  border: 1px dashed rgba(200, 115, 53, 0.48);
  border-radius: 42% 14% 28% 18%;
  transform: rotate(2deg);
}

.material-frame picture,
.material-frame img {
  width: 100%;
  height: 100%;
}

.material-frame picture {
  position: absolute;
  inset: 0;
}

.material-frame img {
  object-fit: cover;
  border-radius: 3px 42px 3px 42px;
  box-shadow: var(--shadow);
}

.shop-section {
  background:
    linear-gradient(180deg, rgba(111, 63, 38, 0.18), transparent 42%),
    #18130f;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product-feature {
  display: grid;
  grid-template-rows: minmax(520px, 64svh) auto;
  background: #201711;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #100d0b;
}

.product-media picture,
.product-media img {
  width: 100%;
  height: 100%;
}

.product-media picture {
  position: absolute;
  inset: 0;
}

.product-media img {
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-feature:hover .product-media img {
  transform: scale(1.025);
}

.product-feature:first-child .product-media img { object-position: center 44%; }

.product-body {
  padding: clamp(26px, 4vw, 44px);
}

.product-meta,
.piece-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--copper-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(200, 115, 53, 0.12);
}

.state-sold {
  color: var(--muted);
}

.price {
  color: var(--parchment);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-body h3 {
  max-width: 12ch;
}

.product-body p {
  color: var(--muted);
}

.product-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--bone);
  font-weight: 800;
  text-decoration-color: var(--copper);
}

.product-link::after,
.text-link::after {
  content: "→";
  color: var(--copper-bright);
  transition: transform 160ms ease;
}

.product-link:hover::after,
.text-link:hover::after {
  transform: translateX(4px);
}

.custom-section {
  background:
    radial-gradient(circle at 4% 80%, rgba(183, 149, 88, 0.12), transparent 32rem),
    var(--ink);
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.custom-collage {
  min-height: 680px;
  position: relative;
}

.custom-collage figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.custom-collage figure:first-child {
  inset: 0 21% 24% 0;
  z-index: 1;
}

.custom-collage figure:last-child {
  inset: 35% 0 0 38%;
  z-index: 2;
  border: 9px solid var(--charcoal);
}

.custom-collage picture,
.custom-collage img {
  width: 100%;
  height: 100%;
}

.custom-collage img {
  object-fit: cover;
}

.custom-copy h2 {
  max-width: 8ch;
}

.custom-copy > p {
  max-width: 580px;
  color: var(--parchment);
  font-size: 1.12rem;
}

.custom-steps {
  display: grid;
  margin: 34px 0;
  border-top: 1px solid var(--line);
}

.custom-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.custom-step span {
  color: var(--copper-bright);
  font-family: var(--display);
}

.workbench-section {
  background:
    radial-gradient(circle at 70% 20%, rgba(200, 115, 53, 0.11), transparent 38rem),
    #17120f;
}

.process-intro {
  max-width: 920px;
  margin-bottom: 70px;
}

.process-intro h2 {
  max-width: 11ch;
}

.process-intro > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.process-list {
  position: relative;
  display: grid;
  gap: 90px;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  border-left: 2px dashed rgba(200, 115, 53, 0.5);
  transform-origin: top;
}

.process-list.is-visible::before {
  animation: stitch-draw 1200ms ease both;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(60px, 10vw, 130px);
  align-items: center;
}

.process-step:nth-child(even) .process-step-media {
  order: 2;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 14px;
  height: 14px;
  border: 3px solid var(--charcoal);
  border-radius: 50%;
  background: var(--copper-bright);
  transform: translate(-45%, -50%);
}

.process-step-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.process-step:nth-child(odd) .process-step-media {
  border-radius: 3px 54px 3px 3px;
}

.process-step:nth-child(even) .process-step-media {
  border-radius: 54px 3px 3px 3px;
}

.process-step-media picture,
.process-step-media img {
  width: 100%;
  height: 100%;
}

.process-step-media picture {
  position: absolute;
  inset: 0;
}

.process-step-media img {
  object-fit: cover;
}

.process-step-copy {
  max-width: 470px;
}

.process-number {
  display: block;
  margin-bottom: 16px;
  color: var(--copper-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.process-verb {
  margin: 0 0 10px;
  color: var(--brass);
  font-family: var(--display);
  font-size: 1.16rem;
  font-style: italic;
}

.process-step-copy p:last-child {
  color: var(--muted);
}

.tools-section {
  padding: 88px 0;
  background: var(--bone);
  color: var(--ink);
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.tools-media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #cfc2b2;
}

.tools-media picture,
.tools-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tools-media img {
  object-fit: cover;
  object-position: center 34%;
}

.tools-copy .eyebrow,
.tools-copy .text-link {
  color: var(--oxblood);
}

.tools-copy p:not(.eyebrow) {
  max-width: 600px;
  color: #56483c;
  font-size: 1.08rem;
}

.past-section {
  background:
    linear-gradient(180deg, rgba(110, 34, 40, 0.12), transparent 45%),
    #15110e;
}

.past-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.past-piece {
  margin: 0;
}

.past-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0e0c0a;
}

.past-media picture,
.past-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.past-media img {
  object-fit: cover;
  transition: filter 220ms ease, transform 400ms ease;
}

.past-piece:hover img {
  filter: saturate(1.08);
  transform: scale(1.02);
}

.past-piece figcaption {
  padding: 22px 4px 0;
}

.past-piece h3 {
  margin-top: 10px;
  font-size: 2rem;
}

.past-piece p {
  color: var(--muted);
}

.about-band {
  background:
    linear-gradient(110deg, rgba(111, 63, 38, 0.3), transparent 62%),
    #211711;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: start;
}

.about-grid h2 {
  max-width: 8ch;
}

.about-copy {
  max-width: 650px;
  color: var(--parchment);
  font-size: 1.13rem;
}

.about-copy p:first-child {
  margin-top: 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.35;
}

.contact-band {
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(200, 115, 53, 0.22), transparent 34rem),
    var(--ink);
}

.contact-band h2 {
  max-width: 12ch;
  margin: 0 auto;
}

.contact-band p {
  max-width: 600px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-band .button-row {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0b0908;
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 52px 0 38px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.footer-statement {
  max-width: 430px;
  color: var(--parchment);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.35;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  max-width: 520px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-credit-row {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #a99c8d;
  text-decoration: none;
}

.footer-credit-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-credit-lockup {
  display: block;
  width: 184px;
  border-radius: 6px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.footer-credit-lockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.footer-credit:hover .footer-credit-lockup,
.footer-credit:focus-visible .footer-credit-lockup {
  box-shadow: 0 0 0 1px rgba(47, 140, 255, 0.55);
  transform: translateY(-1px);
}

.footer-credit:focus-visible {
  outline: 2px solid #2f8cff;
  outline-offset: 5px;
  border-radius: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #958778;
  font-size: 0.74rem;
}

.page-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero-media {
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--ink));
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  width: var(--page);
  margin: 0 auto;
  padding: 160px 0 78px;
}

.page-hero h1 {
  font-size: clamp(3.7rem, 8vw, 7.4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  color: var(--parchment);
  font-size: 1.14rem;
}

.shop-listing {
  display: grid;
  gap: 60px;
}

.shop-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
}

.shop-row:nth-child(even) .shop-row-media {
  order: 2;
}

.shop-row-media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #100d0b;
}

.shop-row-media picture,
.shop-row-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shop-row-media img {
  object-fit: cover;
}

.shop-row-copy h2 {
  max-width: 9ch;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.shop-row-copy p {
  color: var(--muted);
}

.piece-hero {
  padding: 150px 0 80px;
  background: #15110e;
}

.piece-hero-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.piece-hero-media {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: var(--ink);
}

.piece-hero-media picture,
.piece-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.piece-hero-media img {
  object-fit: cover;
}

.piece-copy h1 {
  font-size: clamp(3.4rem, 6vw, 6.4rem);
}

.piece-copy > p {
  color: var(--parchment);
  font-size: 1.08rem;
}

.piece-facts {
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.piece-fact {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.piece-fact dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.piece-fact dd {
  margin: 0;
  color: var(--bone);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-button {
  position: relative;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--bone);
  background: #100d0b;
  cursor: zoom-in;
}

.gallery-button picture,
.gallery-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-button img {
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-button:hover img {
  transform: scale(1.02);
}

.gallery-button span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 11px;
  background: rgba(13, 11, 9, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.custom-project {
  margin: 0;
}

.custom-project:nth-child(even) {
  margin-top: 100px;
}

.custom-project-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #100d0b;
}

.custom-project-media picture,
.custom-project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.custom-project-media img {
  object-fit: cover;
}

.custom-project figcaption {
  padding: 24px 0 0;
}

.custom-project p {
  max-width: 520px;
  color: var(--muted);
}

.simple-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.simple-step {
  min-height: 210px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.simple-step:last-child {
  border-right: 0;
}

.simple-step span {
  color: var(--copper-bright);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.simple-step h3 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.simple-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 9ch;
}

.contact-copy > p {
  color: var(--parchment);
  font-size: 1.08rem;
}

.contact-options {
  display: grid;
  gap: 16px;
}

.contact-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-option:first-child {
  border-top: 1px solid var(--line);
}

.contact-option strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
}

.contact-option span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-option::after {
  content: "↗";
  color: var(--copper-bright);
  font-size: 1.4rem;
}

.request-brief {
  padding: 32px;
  border: 1px solid var(--line-strong);
  background: rgba(111, 63, 38, 0.15);
}

.request-brief[hidden] {
  display: none;
}

.request-brief strong {
  color: var(--copper-bright);
}

.brief-template {
  padding: 22px;
  border-left: 2px dashed var(--copper);
  color: var(--parchment);
  background: rgba(13, 11, 9, 0.46);
  font-family: var(--display);
  font-size: 1.05rem;
}

.image-viewer {
  width: min(94vw, 1080px);
  max-height: 92svh;
  padding: 0;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  background: #0b0908;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.image-viewer::backdrop {
  background: rgba(5, 4, 3, 0.9);
  backdrop-filter: blur(6px);
}

.image-viewer figure {
  margin: 0;
}

.image-viewer img {
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
}

.image-viewer figcaption {
  padding: 12px 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.image-viewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--bone);
  background: rgba(13, 11, 9, 0.84);
  cursor: pointer;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  animation: reveal-settle 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-settle {
  from { opacity: 0.7; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes stitch-draw {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes reveal-settle {
  from { opacity: 0.72; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root {
    --page: min(100% - 36px, 740px);
  }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 18px 22px;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(13, 11, 9, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .primary-nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .home-hero {
    min-height: 760px;
  }

  .home-hero::before,
  .page-hero::before {
    background:
      linear-gradient(180deg, rgba(13, 11, 9, 0.48) 0%, rgba(13, 11, 9, 0.26) 24%, rgba(13, 11, 9, 0.9) 72%),
      linear-gradient(90deg, rgba(13, 11, 9, 0.42), transparent);
  }

  .home-hero-media {
    object-position: 64% 52%;
  }

  .hero-inner {
    padding: 150px 0 78px;
  }

  h1 {
    font-size: clamp(3.55rem, 14vw, 6.4rem);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading,
  .material-grid,
  .custom-grid,
  .tools-grid,
  .about-grid,
  .contact-layout,
  .piece-hero-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 40px;
  }

  .material-frame {
    min-height: 560px;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-feature {
    grid-template-rows: minmax(520px, 72svh) auto;
  }

  .custom-collage {
    min-height: 620px;
  }

  .custom-copy {
    padding-top: 10px;
  }

  .process-list::before {
    left: 21px;
  }

  .process-step,
  .shop-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 56px;
  }

  .process-step:nth-child(even) .process-step-media,
  .shop-row:nth-child(even) .shop-row-media {
    order: 0;
  }

  .process-step::before {
    left: 21px;
    top: 40px;
  }

  .process-step-media {
    min-height: 480px;
  }

  .past-grid {
    grid-template-columns: 1fr 1fr;
  }

  .past-piece:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
  }

  .footer-top {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .page-hero {
    min-height: 560px;
  }

  .shop-row {
    padding-left: 0;
  }

  .shop-row-media {
    min-height: 620px;
  }

  .piece-hero {
    padding-top: 110px;
  }

  .piece-hero-media {
    min-height: 640px;
  }

  .simple-steps {
    grid-template-columns: 1fr 1fr;
  }

  .simple-step {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .wordmark {
    font-size: 0.78rem;
    letter-spacing: 0.13em;
  }

  .home-hero {
    min-height: 700px;
  }

  .home-hero-media {
    object-position: 67% 50%;
  }

  .hero-inner {
    padding: 125px 0 58px;
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(3.25rem, 16vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .hero-support {
    font-size: 1rem;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .material-frame {
    min-height: 430px;
  }

  .material-frame::before {
    inset: 4% -2% -4% 8%;
  }

  .product-feature {
    grid-template-rows: minmax(430px, 62svh) auto;
  }

  .custom-collage {
    min-height: 500px;
  }

  .custom-collage figure:first-child {
    inset: 0 14% 22% 0;
  }

  .custom-collage figure:last-child {
    inset: 42% 0 0 34%;
    border-width: 6px;
  }

  .process-list {
    gap: 64px;
  }

  .process-step {
    padding-left: 42px;
  }

  .process-list::before,
  .process-step::before {
    left: 12px;
  }

  .process-step-media {
    min-height: 390px;
  }

  .tools-media {
    min-height: 430px;
  }

  .past-grid {
    grid-template-columns: 1fr;
  }

  .past-piece:last-child {
    grid-column: auto;
    max-width: none;
  }

  .past-media {
    aspect-ratio: 4 / 4.5;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .footer-credit {
    flex-direction: column;
    gap: 9px;
  }

  .footer-credit-lockup {
    width: 168px;
  }

  .page-hero {
    min-height: 510px;
  }

  .page-hero-inner {
    padding: 128px 0 54px;
  }

  .page-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  .shop-row-media,
  .piece-hero-media {
    min-height: 510px;
  }

  .gallery-grid,
  .custom-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-button {
    min-height: 440px;
  }

  .custom-project:nth-child(even) {
    margin-top: 0;
  }

  .simple-steps {
    grid-template-columns: 1fr;
  }

  .simple-step {
    min-height: 0;
    border-right: 0;
  }

  .simple-step h3 {
    margin-top: 16px;
  }

  .piece-fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
