/*
Theme Name: Seone Shoemakers Seongsu Craft
Theme URI: https://seone.example
Author: Eazydoc
Description: Seongsu street-inspired online store concept for Seone Shoemakers with half-century craft proof, fit guidance, shoe care, and channel inventory readiness.
Version: 0.3.0
Text Domain: seone-commerce
*/

:root {
  --paper: #f6f6f1;
  --surface: #ffffff;
  --ink: #111111;
  --dark: #101311;
  --on-dark: #f7f6ef;
  --muted: #686b64;
  --line: rgba(17, 17, 17, 0.14);
  --accent: #1f5f55;
  --accent-warm: #a9442e;
  --soft: #dce8e1;
  --shadow: 0 30px 90px rgba(17, 17, 17, 0.12);
  --header-h: 72px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Helvetica Neue", Arial, "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.026) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(246, 246, 241, 0.78);
  backdrop-filter: blur(18px) saturate(1.04);
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  width: fit-content;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
}

.brand-mark span {
  font-size: 22px;
  line-height: 1;
}

.brand-mark small {
  color: rgba(17, 17, 17, 0.56);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(17, 17, 17, 0.66);
  font-size: 12px;
  text-transform: uppercase;
}

.main-nav a,
.header-action {
  transition: color 180ms ease;
}

.main-nav a:hover,
.header-action:hover {
  color: var(--accent);
}

.header-action {
  justify-self: end;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
}

.brand-mark,
.site-header .main-nav a {
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-h) + 28px) clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 56%, rgba(246, 246, 241, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(8, 10, 10, 0.84) 0%, rgba(8, 10, 10, 0.68) 42%, rgba(8, 10, 10, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 10, 10, 0.08) 0%, rgba(8, 10, 10, 0.62) 100%);
}

.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-motion img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-motion img {
  object-fit: cover;
  filter: brightness(0.86) saturate(0.82) contrast(1.04);
  transform: scale(1.03);
}

.hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: calmHeroFrame 34s ease-in-out infinite;
}

.hero-frame:nth-child(1) {
  opacity: 1;
  animation-delay: -1.36s;
}

.hero-frame:nth-child(2) {
  animation-delay: 5.44s;
}

.hero-frame:nth-child(3) {
  animation-delay: 12.24s;
}

.hero-frame:nth-child(4) {
  animation-delay: 19.04s;
}

.hero-frame:nth-child(5) {
  animation-delay: 25.84s;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker,
.product-type {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(58px, 10vw, 148px);
  font-weight: 600;
  line-height: 0.96;
  word-break: keep-all;
}

.hero-line {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: rgba(247, 246, 239, 0.82);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.58;
  word-break: keep-all;
}

.hero-proof {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px 18px;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 246, 239, 0.24);
}

.hero-proof span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-proof strong {
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--on-dark);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost {
  border-color: var(--line);
}

.hero .button.primary {
  border-color: var(--on-dark);
  background: var(--on-dark);
  color: var(--ink);
}

.hero .button.ghost {
  border-color: rgba(247, 246, 239, 0.34);
  color: var(--on-dark);
}

.button:hover,
.detail-actions button:hover {
  transform: translateY(-2px);
}

.hero-meta {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  left: clamp(20px, 5vw, 72px);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(247, 246, 239, 0.22);
  padding-top: 18px;
  color: rgba(247, 246, 239, 0.72);
  font-size: 11px;
  text-transform: uppercase;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(220, 232, 225, 0.5);
}

.band-dark {
  border-top: 1px solid rgba(247, 242, 234, 0.16);
  border-bottom: 1px solid rgba(247, 242, 234, 0.16);
  background: var(--dark);
  color: var(--on-dark);
}

.intro,
.buying-criteria,
.maestro,
.fit-process,
.collection,
.product-detail,
.craft,
.care,
.sync,
.closing {
  padding: clamp(72px, 10vw, 136px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.intro h2,
.maestro-copy h2,
.section-head h2,
.craft-copy h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 82px);
  font-weight: 400;
  line-height: 1.04;
  word-break: keep-all;
}

.intro p:last-child,
.maestro-copy p,
.section-head p,
.craft-copy p,
.closing p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.maestro {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.55fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}

.maestro .section-kicker,
.band-dark .section-kicker {
  color: #9bd0c6;
}

.maestro-copy h2 {
  font-size: clamp(72px, 13vw, 180px);
  line-height: 0.9;
}

.maestro-copy p {
  width: min(620px, 100%);
  color: rgba(247, 242, 234, 0.74);
  font-size: clamp(17px, 2vw, 22px);
}

.credential-panel {
  position: relative;
  justify-self: end;
  width: min(470px, 100%);
  margin: 0;
  border: 1px solid rgba(247, 242, 234, 0.24);
  background: rgba(247, 242, 234, 0.08);
  overflow: hidden;
}

.credential-panel img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.08);
}

.credential-panel figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-top: 1px solid rgba(247, 242, 234, 0.18);
  color: rgba(247, 246, 239, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.credential-panel span,
.credential-panel strong,
.maestro-seal span,
.maestro-seal em {
  color: #9bd0c6;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.credential-panel strong {
  color: var(--on-dark);
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  white-space: nowrap;
}

.maestro-seal strong {
  display: block;
  margin: 12px 0;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.proof-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(18px, 4vw, 48px);
  border: 1px solid rgba(247, 242, 234, 0.18);
  background: rgba(247, 242, 234, 0.18);
}

.proof-grid div {
  min-height: 180px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--dark);
}

.proof-grid span {
  display: block;
  margin-bottom: 18px;
  color: #9bd0c6;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-grid strong {
  display: block;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
}

.proof-grid p {
  margin: 14px 0 0;
  color: rgba(247, 242, 234, 0.68);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.criteria-grid div {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
}

.criteria-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.criteria-grid strong {
  display: block;
  width: min(360px, 100%);
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  word-break: keep-all;
}

.criteria-grid p {
  width: min(380px, 100%);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(34px, 7vw, 82px);
}

.section-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-tile {
  position: relative;
  display: grid;
  min-width: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 0;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.product-tile:hover,
.product-tile.is-active {
  background: #eef4f0;
}

.product-tile.is-active {
  outline: 2px solid rgba(31, 95, 85, 0.28);
  outline-offset: -2px;
}

.product-tile.is-active::after {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  content: "선택됨";
  padding: 6px 8px;
  background: rgba(31, 95, 85, 0.94);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.product-tile:hover img {
  transform: translateY(-8px) scale(1.02);
}

.product-image-wrap {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  mix-blend-mode: multiply;
  transition: transform 240ms ease;
}

.product-tile strong {
  margin-top: 10px;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.08;
}

.tile-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tile-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.tile-bottom em,
.tile-bottom i {
  font-style: normal;
  line-height: 1;
}

.tile-bottom em {
  color: var(--ink);
  font-size: 13px;
}

.tile-bottom i {
  padding: 7px 9px;
  border: 1px solid rgba(31, 95, 85, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.detail-media {
  display: grid;
  place-items: center;
  min-height: 560px;
  background: linear-gradient(180deg, #ffffff, #dce8e1);
  overflow: hidden;
}

.detail-media img {
  width: min(760px, 100%);
  mix-blend-mode: multiply;
  transition: opacity 180ms ease, transform 240ms ease;
}

.detail-copy h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 92px);
  font-weight: 400;
  line-height: 0.98;
}

.detail-subtitle,
.detail-fit,
.detail-price {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.detail-fit {
  color: #38413b;
}

.detail-price {
  color: var(--ink);
  font-size: 22px;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  word-break: keep-all;
}

.size-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.size-row button {
  min-height: 42px;
  border: 0;
  background: var(--paper);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.size-row button:hover {
  background: var(--ink);
  color: var(--paper);
}

.size-row button[data-stock="low"] {
  background: #f5eadb;
}

.size-row button[data-stock="consult"] {
  background: #e9f1ef;
}

.size-row button[data-stock="soldout"] {
  color: rgba(17, 17, 17, 0.32);
  text-decoration: line-through;
}

.stock-summary,
.detail-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}

.stock-summary {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(31, 95, 85, 0.24);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
}

.craft {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 7vw, 96px);
}

.craft-points {
  display: grid;
  gap: 1px;
  align-self: end;
  background: var(--line);
  border: 1px solid var(--line);
}

.craft-points div {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(252, 251, 250, 0.68);
}

.craft-points span,
.process-steps span,
.sync-flow span,
.service-rows span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.craft-points strong,
.process-steps strong,
.sync-flow strong,
.service-rows strong {
  display: block;
  font-family: Georgia, "Noto Serif KR", "Nanum Myeongjo", Batang, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
}

.craft-points p,
.process-steps p,
.sync-flow p,
.service-rows em {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.7;
  word-break: keep-all;
}

.fit-process {
  border-top: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-steps div {
  min-height: 240px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.service-rows {
  border-top: 1px solid var(--line);
}

.service-rows a {
  display: grid;
  grid-template-columns: 0.4fr 1fr 1fr;
  gap: clamp(18px, 4vw, 50px);
  align-items: center;
  padding: clamp(24px, 4vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding-left 180ms ease;
}

.service-rows a:hover {
  color: var(--accent);
  padding-left: 14px;
}

.sync-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.sync-flow div {
  min-height: 220px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
}

.closing {
  min-height: 78svh;
  display: grid;
  align-content: center;
  justify-items: start;
  border-top: 1px solid var(--line);
}

.closing p {
  width: min(720px, 100%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes calmHeroFrame {
  0% {
    opacity: 0;
    transform: scale(1.03);
  }
  4%,
  18% {
    opacity: 0.86;
  }
  24%,
  100% {
    opacity: 0;
    transform: scale(1.055);
  }
}

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

  .main-nav {
    display: none;
  }

  .intro,
.buying-criteria,
  .maestro,
  .fit-process,
  .section-head,
  .product-detail,
  .craft {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .proof-grid,
  .criteria-grid,
  .process-steps,
  .sync-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maestro-seal,
  .credential-panel {
    justify-self: start;
  }

  .detail-media {
    min-height: 420px;
  }

  .service-rows a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding-inline: 16px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .brand-mark span {
    font-size: 19px;
  }

  .header-action {
    font-size: 12px;
  }

  .hero {
    min-height: 100svh;
    align-content: center;
    padding: calc(var(--header-h) + 18px) 16px 104px;
    padding-inline: 16px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(8, 10, 10, 0.78) 0%, rgba(8, 10, 10, 0.48) 56%, rgba(8, 10, 10, 0.16) 100%),
      linear-gradient(180deg, rgba(8, 10, 10, 0.22) 0%, rgba(8, 10, 10, 0.72) 100%);
  }

  .hero-copy {
    width: min(350px, 100%);
  }

  .eyebrow,
  .section-kicker,
  .product-type {
    margin-bottom: 14px;
  }

  .hero h1 {
    max-width: 7.2em;
    font-size: clamp(48px, 18vw, 74px);
    line-height: 1.02;
  }

  .hero-line {
    width: min(330px, 100%);
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(330px, 100%);
    margin-top: 18px;
    padding-top: 14px;
  }

  .hero-proof strong {
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions,
  .detail-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button,
  .detail-actions .button,
  .detail-actions button {
    flex: 1 1 140px;
    min-height: 44px;
    padding-inline: 18px;
  }

  .hero-meta {
    left: 16px;
    right: 16px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding-top: 12px;
    font-size: 10px;
    line-height: 1.35;
  }

  .hero-meta[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .intro,
.buying-criteria,
  .maestro,
  .fit-process,
  .collection,
  .product-detail,
  .craft,
  .care,
  .sync,
  .closing {
    padding-inline: 16px;
  }

  .product-grid,
  .proof-grid,
  .criteria-grid,
  .process-steps,
  .sync-flow {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 0;
    background: transparent;
  }

  .product-tile {
    padding: 10px;
    border: 1px solid var(--line);
    align-content: start;
  }

  .product-tile.is-active::after {
    top: 8px;
    right: 8px;
  }

  .product-image-wrap {
    aspect-ratio: 1 / 0.92;
    background: #e7eee9;
  }

  .product-image-wrap img {
    width: 112%;
  }

  .product-tile strong {
    min-height: 42px;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.13;
  }

  .tile-meta {
    min-height: 32px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .tile-bottom {
    display: grid;
    justify-content: start;
    gap: 6px;
    margin-top: 10px;
  }

  .tile-bottom em {
    font-size: 12px;
  }

  .tile-bottom i {
    justify-self: start;
    padding: 6px 7px;
    font-size: 10px;
  }

  .maestro-copy h2 {
    font-size: clamp(58px, 23vw, 92px);
  }

  .product-detail {
    gap: 28px;
    align-items: start;
  }

  .detail-media {
    min-height: 0;
    aspect-ratio: 1 / 1.03;
  }

  .detail-media img {
    width: 118%;
  }

  .detail-copy h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1;
  }

  .detail-subtitle,
  .detail-fit,
  .detail-price {
    margin-top: 10px;
    font-size: 14px;
  }

  .detail-price {
    font-size: 20px;
  }

  .spec-list {
    margin-top: 22px;
  }

  .spec-list div {
    padding: 10px 0;
  }

  .size-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
  }

  .stock-summary,
  .detail-note {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-actions {
    position: sticky;
    bottom: 12px;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    margin: 22px -4px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 246, 239, 0.92);
    backdrop-filter: blur(14px);
  }

  .detail-actions .button,
  .detail-actions button {
    width: 100%;
    padding-inline: 12px;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 16px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(44px, 17vw, 64px);
  }

  .hero-actions .button,
  .detail-actions .button,
  .detail-actions button {
    flex-basis: 100%;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .hero-frame {
    animation: none !important;
    opacity: 0;
  }

  .hero-frame:first-child {
    opacity: 0.86;
  }
}
