/* chr0me.au — compiled from the Liquid Chrome design project.
   Every value here is carried over from the source design. Where the design
   had two generations of a shared block (header padding, shader framing) the
   later, responsive one is used across all pages. */

:root {
  --ink: #0a0a0a;
  --body: #3c3c3c;
  --muted: #6e6e6e;
  --muted-2: #8f8f8f;
  --muted-3: #a4a4a4;
  --faint: #9b9b9b;
  --fainter: #b4b4b4;
  --rule: #e7e7e7;
  --hairline: #e2e2e2;
  --field-border: #dcdcdc;
  --dark: #07090c;
  --dark-mat: #0a0d12;
  --gutter: clamp(16px, 5vw, 64px);
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- base ---------- */

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body {
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: #6b6b6b;
}

::selection {
  background: var(--ink);
  color: #fff;
}

img,
video {
  max-width: 100%;
}

@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- chrome layer ---------- */

#chrome-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: clamp(14px, 2.4vw, 22px) var(--gutter);
  background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 62%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(3px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: block;
  height: clamp(20px, 5.6vw, 26px);
  width: auto;
}

.brand-name {
  font-size: clamp(15px, 4.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 40px);
  row-gap: 4px;
  min-height: 44px;
  font-size: clamp(11.5px, 3.2vw, 13px);
  letter-spacing: 0.06em;
}

.nav-bag {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: var(--ink);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 40px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.footer-brand img {
  display: block;
  height: 22px;
  width: auto;
}

.footer-brand span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}

/* ---------- buttons ---------- */

.btn {
  border-radius: 2px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-solid {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  padding: 15px 32px;
  font-weight: 600;
}

.btn-solid:hover {
  background: #ffffff;
  color: var(--ink);
}

.btn-ghost {
  border: 1px solid #d8d8d8;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(6px);
  color: #2b2b2b;
  padding: 15px 30px;
  font-weight: 500;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-lg {
  padding: 18px 40px;
}

.btn-outline {
  border: 1px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.btn-outline:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ---------- shared section furniture ---------- */

.section {
  padding: 0 var(--gutter) clamp(90px, 14vh, 160px);
}

.section--tight {
  padding-bottom: clamp(80px, 12vh, 150px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.section-link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- home: hero ---------- */

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--gutter) 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding-top: 80px;
}

.hero-inner > .eyebrow { animation: fadeUp .9s ease both; }

.hero-title {
  margin: 0;
  font-size: clamp(52px, 11vw, 176px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
  animation: fadeUp 1s .06s ease both;
}

.hero-sub {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
  animation: fadeUp 1s .14s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  animation: fadeUp 1s .22s ease both;
}

.scroll-hint {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- home: video band ---------- */

.video-band {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.video-band video {
  display: block;
  width: 100%;
  height: clamp(420px, 82svh, 900px);
  object-fit: cover;
}

.video-band-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 12, .45) 0%, rgba(7, 9, 12, 0) 34%, rgba(7, 9, 12, 0) 62%, rgba(7, 9, 12, .6) 100%);
}

.video-band-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 4vw, 56px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.video-band-foot p {
  margin: 0;
  max-width: 24ch;
  color: #ffffff;
  font-size: clamp(24px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
  text-wrap: balance;
}

/* two-line chrome headline over the video band */

/* the slab carries the line, so the parent font-size IS the slab size */
.video-band-foot p.chrome-line {
  max-width: none;
  font-size: clamp(38px, 8.2vw, 148px);
  line-height: 0.86;
  text-shadow: none;
  text-wrap: nowrap;
}

.chrome-slab {
  display: inline-block;
  margin-top: 0.06em;
  padding: 0.08em 0.2em 0.14em;
  background: #000000;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.chrome-text {
  display: block;
  font-size: 0.32em;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8), 0 4px 18px rgba(0, 0, 0, .65);
}

@media (max-width: 700px) {
  .video-band-foot p.chrome-line {
    font-size: clamp(34px, 9.2vw, 46px);
  }

  .chrome-text {
    font-size: 0.42em;
  }
}

/* ---------- home: fitted tiles ---------- */

.work {
  display: grid;
  gap: 20px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(200px, 29%), 1fr));
  gap: 20px;
}

.tile-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f4f4f4;
}

/* ---------- home: model viewer ---------- */

.model-slot {
  min-height: 60vh;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
}

.model-slot model-viewer {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  --poster-color: transparent;
  --progress-bar-color: var(--ink);
  --progress-mask: transparent;
}

/* CC BY 4.0 requires the title, author and licence to travel with the model */
.model-credit {
  position: absolute;
  right: clamp(12px, 2vw, 20px);
  bottom: clamp(10px, 1.6vw, 16px);
  z-index: 2;
  max-width: min(46ch, 70%);
  margin: 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.5;
  color: var(--faint);
}

.model-credit a {
  color: var(--muted);
}

.model-caption {
  position: absolute;
  left: clamp(12px, 2vw, 20px);
  bottom: clamp(10px, 1.6vw, 16px);
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  pointer-events: none;
  user-select: none;
}

.model-fallback {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
}

/* ---------- split text block ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 48px);
}

.split-title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}

.split-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 60ch;
}

.split-body p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.split-body p.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--body);
}

/* ---------- home: products ---------- */

.store {
  display: grid;
  gap: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(150px, 19%), 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}

.product {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product:hover {
  opacity: .92;
}

.product-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  background-color: #fbfbfb;
  background-image: repeating-linear-gradient(135deg, #f1f1f1 0 8px, #fbfbfb 8px 16px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-shot-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
}

.product-no {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fainter);
}

.product-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-price {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.product-spec {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

/* ---------- home: marquee ---------- */

.marquee {
  padding: clamp(40px, 6vh, 80px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marq 34s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex: 0 0 auto;
  font-size: clamp(30px, 5vw, 64px);
  letter-spacing: -0.04em;
  font-weight: 600;
  white-space: nowrap;
  color: #d4d7d9;
}

.marquee-group .on {
  color: var(--ink);
}

/* ---------- closing CTA ---------- */

.cta {
  min-height: 84svh;
  display: grid;
  place-items: center;
  padding: clamp(90px, 14vh, 180px) var(--gutter);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.cta-title {
  margin: 0;
  font-size: clamp(40px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.cta-sub {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- about ---------- */

.about-hero {
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding: clamp(120px, 18vh, 220px) var(--gutter) clamp(60px, 8vh, 100px);
}

.about-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.about-title {
  margin: 0;
  font-size: clamp(44px, 9vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}

.about-intro {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.band {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

.band > img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.band--tall > img {
  height: clamp(260px, 46vh, 520px);
  opacity: .92;
}

.band--short > img {
  height: clamp(240px, 42vh, 460px);
}

.band-centre {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
}

.band-centre p {
  margin: 0;
  max-width: 26ch;
  text-align: center;
  color: #ffffff;
  font-size: clamp(22px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
  text-wrap: balance;
}

.band-corner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: clamp(24px, 4vw, 56px);
}

.band-corner p {
  margin: 0;
  max-width: 22ch;
  color: #ffffff;
  font-size: clamp(18px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
}

.story {
  padding: clamp(70px, 11vh, 130px) var(--gutter) clamp(60px, 9vh, 110px);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 48px);
}

.story-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.story-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.story-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--dark-mat);
  margin-top: 6px;
}

.story-img--wide {
  aspect-ratio: 16 / 11;
  margin-top: 4px;
}

/* C1's studio shot is natively 9:16, so matching that ratio shows it whole,
   badge included, with no crop */
.story-img--tall {
  aspect-ratio: 9 / 16;
  background: #f2f2f2;
}

/* Full-width variant: title, then the model, then the copy beneath.
   The copy runs in two columns so it spans the section without the line
   length blowing out to 150-odd characters. */
.story--feature {
  display: grid;
  gap: clamp(26px, 3.2vw, 44px);
}

.feature-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 48px);
}

.feature-body {
  columns: 2;
  column-gap: clamp(32px, 5vw, 80px);
}

.feature-body p {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
  break-inside: avoid;
}

.feature-body p:last-child {
  margin-bottom: 0;
}

.feature-body p.lead {
  color: var(--body);
}

@media (max-width: 900px) {
  .feature-body {
    columns: 1;
  }
}

.story-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 62ch;
}

.story-body p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.story-body p.lead {
  color: var(--body);
}

.story-body a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* two classes so it outranks `.story-body p` above */
.story-body .story-jp {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.story-body .story-jp span {
  color: var(--muted);
}

.about-cta {
  min-height: 60svh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 12vh, 160px) var(--gutter);
}

.about-cta .cta-inner {
  gap: 24px;
}

.about-cta h2 {
  margin: 0;
  font-size: clamp(34px, 6.5vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.about-cta p {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- legal pages ---------- */

.legal {
  padding: clamp(120px, 17vh, 200px) var(--gutter) clamp(70px, 10vh, 130px);
}

.legal-card {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  /* minmax(0,…) so the column can shrink below its content's min-content and
     the card is never pushed wider than the viewport */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 52px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: clamp(20px, 3vw, 44px);
}

.legal-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-title {
  margin: 0;
  font-size: clamp(36px, 6.5vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}

.legal-intro {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.legal-updated {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.clause {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(20px, 3vw, 56px);
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 2.4vw, 32px);
}

.clause-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clause-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.clause-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

.clause-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 68ch;
}

.clause-body p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

.clause-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--body);
}

.clause-list li {
  text-wrap: pretty;
}

/* ---------- checkout ---------- */

.checkout {
  padding: clamp(120px, 17vh, 200px) var(--gutter) clamp(70px, 10vh, 130px);
}

.checkout-card {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: clamp(20px, 3vw, 40px);
}

.checkout-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.checkout-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 3vw, 44px);
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3vw, 44px);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0;
}

.step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.step-title {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.field-stack {
  display: grid;
  gap: 12px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
}

.field-row--narrow {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
}

.field-row--pair {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
}

.field {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 15px 16px;
  border: 1px solid var(--field-border);
  border-radius: 2px;
  background: rgba(255, 255, 255, .85);
  outline: none;
  min-width: 0;
}

.field:focus {
  border-color: var(--ink);
}

.field--mono {
  font-family: var(--mono);
}

.field--card {
  letter-spacing: 0.06em;
}

.ship-options {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 4px;
}

.ship-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, .9);
  cursor: pointer;
}

.ship-option > span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.ship-option input {
  accent-color: var(--ink);
}

.ship-price {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
  padding: clamp(22px, 2.4vw, 34px);
}

.summary-title {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.summary-items {
  display: grid;
  gap: 18px;
}

.summary-item {
  display: flex;
  gap: 16px;
  align-items: start;
}

.summary-thumb {
  flex: 0 0 76px;
  width: 76px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline);
  background-color: #fbfbfb;
  background-image: repeating-linear-gradient(135deg, #f1f1f1 0 8px, #fbfbfb 8px 16px);
}

.summary-item-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 auto;
}

.summary-item-name {
  font-size: 15px;
  font-weight: 600;
}

.summary-item-meta {
  font-size: 12px;
  color: var(--muted-2);
}

.summary-item-price {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.product-add {
  width: 100%;
  margin-top: 2px;
}

.product-add.is-added {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-step {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--field-border);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.qty-step:hover {
  border-color: var(--ink);
}

.qty-value {
  min-width: 1.4ch;
  text-align: center;
  font-size: 12px;
  color: var(--body);
}

.qty-remove {
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.qty-remove:hover {
  color: var(--ink);
}

.summary-empty {
  margin: 0;
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
}

.summary-empty a {
  color: var(--ink);
}

/* ---------- contact ---------- */

.contact-intro {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3vw, 44px);
}

.field--area {
  min-height: 170px;
  padding-top: 14px;
  font-family: inherit;
  line-height: 1.55;
  resize: vertical;
}

.field-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
}

.contact-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.contact-status.is-pending {
  color: var(--muted);
}

.contact-status.is-ok {
  color: var(--ink);
}

.contact-status.is-error {
  color: #b3261e;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 12px;
  font-size: 13px;
  color: var(--body);
}

.contact-row-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.contact-aside .summary-note {
  border-top: 0;
  padding-top: 0;
}

/* mount points for Stripe Elements — Stripe renders inside an iframe, so the
   only styling that lands here is spacing; the fields themselves are themed
   through the Appearance API in js/checkout-stripe.js */
.stripe-slot {
  min-height: 44px;
}

.express {
  margin-bottom: 4px;
}

.express:not(:empty) {
  margin-bottom: 26px;
}

[data-stripe-checkout].is-loading .stripe-slot {
  opacity: .5;
}

.pay-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.pay-error {
  margin: 10px 0 0;
  font-size: 12px;
  color: #b3261e;
}

[data-place-order][disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.promo {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}

.promo .field {
  flex: 1 1 auto;
  padding: 13px 14px;
}

.totals {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.total-row span:last-child {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.grand-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.grand-total-label {
  font-size: 15px;
  font-weight: 600;
}

.grand-total-value {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* the design's Place order button is slightly narrower than .btn-lg */
.summary .btn-solid {
  padding: 18px 32px;
}

.summary-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
  text-wrap: pretty;
}

/* Below the checkout grid's own 340px track floor there is no room for two
   columns, and the floor's min(100%, 340px) cannot resolve its percentage from
   inside the card, so state the single column explicitly. */
@media (max-width: 380px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- accessibility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-inner > .eyebrow,
  .hero-title,
  .hero-sub,
  .hero-actions {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
