:root {
  --ink: #0b0d10;
  --ink-soft: #1b2027;
  --muted: #69717c;
  --line: rgba(15, 19, 24, 0.12);
  --paper: #f5f5f3;
  --white: #ffffff;
  --silver: #d8dce1;
  --blue: #111b2b;
  --champagne: #c7ad7a;
  --glass: rgba(255, 255, 255, 0.68);
  --dark-glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 34px 90px rgba(12, 15, 18, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::selection {
  background: #0b0d10;
  color: #fff;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  width: min(1180px, calc(100% - 28px));
  min-height: 62px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(250, 250, 248, 0.76);
  box-shadow: 0 20px 60px rgba(11, 13, 16, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 204px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0b0d10;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: #2e343b;
  font-size: 13px;
  white-space: nowrap;
}

.main-nav a {
  opacity: 0.82;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.language-select {
  position: relative;
  min-width: 96px;
}

.language-select select {
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(11, 13, 16, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #1f252c;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.language-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #303740;
  border-bottom: 1.5px solid #303740;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
}

.section {
  position: relative;
  padding: clamp(36px, 4.4vw, 66px) clamp(20px, 5vw, 76px);
  scroll-margin-top: 110px;
  overflow: hidden;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(18px, 2.8vw, 34px);
}

.section-heading.compact {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 740;
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.14;
}

p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: 1px 10px auto;
  height: 36%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

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

.button:hover::after {
  opacity: 1;
}

.button.primary {
  background: #0b0d10;
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 13, 16, 0.22);
}

.button.glass,
.button.ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: clamp(112px, 14vw, 166px) clamp(20px, 5vw, 76px) clamp(18px, 4vw, 46px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(4, 6, 9, 0.92), rgba(7, 11, 17, 0.68) 48%, rgba(7, 11, 17, 0.2)),
    url("./assets/nylon-spandex-fabric.jpg") center / cover;
  overflow: hidden;
}

.fabric-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.74;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(216, 220, 225, 0.23), transparent 0 20%, transparent 42%),
    linear-gradient(180deg, transparent 62%, rgba(5, 6, 8, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  animation: heroIn 900ms var(--ease) both;
}

.hero-content p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-strip {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: 16px;
  left: clamp(20px, 5vw, 76px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.craft-list span,
.credential-card span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.craft {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(460px, 1.24fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: start;
  padding-top: clamp(34px, 3.8vw, 56px);
  padding-bottom: clamp(34px, 3.8vw, 56px);
  background:
    radial-gradient(circle at 12% 8%, rgba(133, 161, 149, 0.18), transparent 0 28%, transparent 56%),
    linear-gradient(180deg, #eef3f0 0%, #f8faf8 100%);
}

.craft-media {
  align-self: start;
  min-height: 0;
  height: clamp(385px, 36vw, 560px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.craft-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.craft-copy {
  display: flex;
  flex-direction: column;
}

.craft-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.craft-list article {
  padding: 14px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.craft-list p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 15px;
}

.finished-products {
  padding-top: clamp(26px, 3vw, 42px);
  padding-bottom: clamp(34px, 4vw, 58px);
  color: #0b0d10;
  background:
    radial-gradient(circle at 22% 4%, rgba(199, 173, 122, 0.16), transparent 0 24%, transparent 52%),
    linear-gradient(180deg, #f3f4f2 0%, #e7ebee 100%);
}

.finished-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(420px, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  margin-bottom: clamp(14px, 2.2vw, 24px);
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 60px rgba(26, 32, 38, 0.08);
}

.finished-heading h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-bottom: 0;
  font-size: clamp(28px, 3.6vw, 48px);
  text-shadow: none;
}

.finished-heading .eyebrow,
.finished-heading p:not(.eyebrow) {
  grid-column: 1;
}

.finished-heading p:not(.eyebrow) {
  color: #5f6872;
  font-size: clamp(15px, 1.2vw, 18px);
}

.finished-dock-stage {
  display: grid;
  gap: clamp(14px, 2.4vw, 24px);
}

.finished-focus {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 44vw, 620px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.7), transparent 0 32%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42));
  box-shadow: 0 28px 100px rgba(31, 39, 48, 0.16);
  cursor: zoom-in;
}

.finished-focus:focus-visible {
  outline: 2px solid rgba(22, 103, 255, 0.85);
  outline-offset: 4px;
}

.finished-focus img {
  width: 100%;
  height: 100%;
  max-height: clamp(340px, 42vw, 590px);
  display: block;
  object-fit: contain;
  background: #f2f3f4;
  transition: opacity 260ms var(--ease), transform 650ms var(--ease);
}

.finished-focus.is-changing img {
  opacity: 0;
  transform: scale(0.985);
}

.finished-dock {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.finished-dock::before,
.finished-dock::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(15vw, 160px);
  pointer-events: none;
}

.finished-dock::before {
  left: 0;
  background: linear-gradient(90deg, #e7ebee, transparent);
}

.finished-dock::after {
  right: 0;
  background: linear-gradient(270deg, #e7ebee, transparent);
}

.dock-row {
  --dock-speed: 46s;
  overflow: visible;
}

.dock-row[data-direction="right"] {
  --dock-speed: 52s;
}

.dock-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: dock-scroll var(--dock-speed) linear infinite;
  will-change: transform;
}

.dock-row[data-direction="right"] .dock-track {
  animation-direction: reverse;
}

.dock-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 2773 / 1512;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), filter 220ms var(--ease);
}

.dock-item:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
  outline: none;
}

.dock-item.is-pinned {
  border-color: var(--champagne);
  box-shadow: 0 22px 70px rgba(199, 173, 122, 0.22);
}

.dock-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #f2f3f4;
  pointer-events: none;
}

@keyframes dock-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--scroll-distance, 50%)));
  }
}

.studio {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  color: #fff;
  background:
    radial-gradient(circle at 74% 18%, rgba(199, 173, 122, 0.16), transparent 0 24%, transparent 48%),
    linear-gradient(180deg, #1b2024 0%, #101418 100%);
}

.studio-copy {
  max-width: 820px;
}

.studio-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.menu-preview {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.option-group[hidden] {
  display: none;
}

.option-group legend {
  width: 100%;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 760;
}

.option-choice,
.swatch {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.option-choice:hover,
.swatch:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.36);
}

.option-choice.is-active {
  border-color: rgba(255, 255, 255, 0.68);
  background: #fff;
  color: #0b0d10;
}

.size-group {
  max-height: 240px;
  overflow: auto;
}

.config-input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  outline: none;
}

.config-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.config-submit {
  justify-self: stretch;
  width: min(100%, 430px);
  min-height: 56px;
  margin-top: 8px;
}

.button.primary.config-submit {
  border-color: rgba(255, 255, 255, 0.72);
  background: #fff;
  color: #0b0d10;
  box-shadow: 0 20px 52px rgba(255, 255, 255, 0.12);
}

.button.primary.config-submit:hover {
  box-shadow: 0 24px 64px rgba(255, 255, 255, 0.18);
}

.configurator {
  position: sticky;
  top: 134px;
  margin-top: 238px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  color: #0b0d10;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.selection-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 14px;
  color: var(--muted);
  font-size: 13px;
}

.selection-summary strong {
  color: #0b0d10;
  text-align: right;
}

.viewer {
  position: relative;
  display: grid;
  min-height: 280px;
  border: 1px solid rgba(11, 13, 16, 0.08);
  border-radius: 20px;
  background: #f2f3f5;
  overflow: hidden;
}

.preview-zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.preview-zoom-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
}

.viewer-empty {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--muted);
}

.viewer-empty[hidden],
.preview-zoom-trigger[hidden],
#product-preview-image[hidden] {
  display: none;
}

.preview-disclaimer {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.color-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.swatch {
  position: relative;
  min-height: 48px;
  border-color: rgba(11, 13, 16, 0.1);
  background: #fff;
  color: #0b0d10;
}

.swatch::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 8px;
  border: 1px solid rgba(11, 13, 16, 0.18);
  border-radius: 50%;
  background: var(--swatch);
  vertical-align: -4px;
}

.swatch.is-active {
  border-color: #0b0d10;
  box-shadow: 0 0 0 2px rgba(11, 13, 16, 0.08);
}

.credentials {
  background:
    radial-gradient(circle at 82% 0%, rgba(199, 173, 122, 0.2), transparent 0 26%, transparent 52%),
    linear-gradient(180deg, #ebe4d8 0%, #f6f2ea 100%);
}

.credentials-heading {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(420px, 0.85fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  max-width: 1320px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.credentials-heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(28px, 3.1vw, 44px);
}

.credentials-heading p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 2px;
  color: var(--muted);
}

.credential-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.18fr) repeat(2, minmax(240px, 0.74fr));
  gap: 14px;
  align-items: stretch;
}

.credential-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 460px;
  padding: 0;
  border: 1px solid rgba(11, 13, 16, 0.1);
  border-radius: 30px;
  background: #fff;
  color: #0b0d10;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 20px 70px rgba(11, 13, 16, 0.08);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.credential-card.large {
  min-height: 560px;
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 90px rgba(11, 13, 16, 0.14);
}

.credential-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(180deg, #ffffff, #f4f5f6);
  transition: transform 620ms var(--ease);
}

.credential-card:hover img {
  transform: scale(1.018);
}

.credential-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 12, 0.82));
}

.credential-card span,
.credential-card strong {
  position: relative;
  z-index: 1;
  margin-inline: 24px;
  color: #fff;
}

.credential-card span {
  margin-bottom: 8px;
}

.credential-card strong {
  margin-bottom: 20px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.12;
}

.qc-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.qc-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(11, 13, 16, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(11, 13, 16, 0.06);
}

.qc-panel.highlight {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 248, 0.94));
}

.qc-panel span {
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.qc-panel h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.qc-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #2a3139;
}

.qc-panel li {
  padding-left: 2px;
}

.qc-panel p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1fr);
  gap: clamp(24px, 4.5vw, 58px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(20, 24, 26, 0.94), rgba(30, 38, 45, 0.78)),
    url("./assets/garment-factory.jpg") center / cover;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.inquiry-form label,
.modal-form label {
  display: grid;
  gap: 7px;
}

.inquiry-form span,
.modal-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.inquiry-form input,
.inquiry-form textarea,
.modal-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.inquiry-form .wide,
.inquiry-form button,
.inquiry-form .form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.form-status.is-success {
  color: #79e3a4;
}

.form-status.is-error {
  color: #ffb4a8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.62);
  background: #080a0d;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
}

.modal.is-open {
  display: grid;
}

.modal-panel,
.preview-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #11161d;
  color: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.34);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: 18px;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.modal-summary pre {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  white-space: pre-wrap;
  word-break: break-word;
  font: 13px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button.whatsapp {
  background: #1f8f54;
  color: #fff;
}

.preview-modal-panel {
  width: min(1100px, 96vw);
  padding: 14px;
  background: rgba(245, 245, 243, 0.96);
}

.preview-modal-panel img {
  display: block;
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  background: #f2f3f5;
}

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

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

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    top: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(116px, 156px);
    gap: 12px;
    width: calc(100% - 20px);
    min-height: 54px;
    padding: 8px 12px;
    border-radius: 22px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    display: none;
  }

  .language-select {
    min-width: 0;
  }

  .language-select select {
    min-height: 34px;
    padding-right: 30px;
    padding-left: 12px;
    font-size: 12px;
  }

  .hero-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-self: start;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }

  .hero-strip span {
    min-height: 44px;
    padding: 0 10px;
    text-align: center;
  }

  .finished-heading,
  .credential-grid,
  .credentials-heading,
  .qc-summary {
    grid-template-columns: 1fr;
  }

  .credentials-heading h2 {
    font-size: clamp(28px, 5vw, 42px);
  }

  .finished-heading h2,
  .finished-heading .eyebrow,
  .finished-heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .craft,
  .studio,
  .contact {
    grid-template-columns: 1fr;
  }

  .craft-media {
    height: clamp(280px, 46vw, 380px);
  }

  .finished-focus {
    min-height: 0;
    height: auto;
  }

  .finished-focus img {
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .configurator {
    position: relative;
    top: auto;
    margin-top: 24px;
    order: -1;
  }

  .credential-card,
  .credential-card.large {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 38px 16px;
  }

  .site-header {
    width: calc(100% - 16px);
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 8px;
    min-height: 50px;
    padding: 7px 9px;
    border-radius: 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand small {
    display: none;
  }

  .language-select select {
    min-height: 32px;
    padding: 0 26px 0 10px;
    font-size: 11px;
  }

  .section {
    scroll-margin-top: 74px;
  }

  .hero {
    min-height: auto;
    padding: 82px 16px 20px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-strip,
  .craft-list,
  .credential-grid,
  .inquiry-form,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border-radius: 16px;
  }

  .hero-strip span {
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
    text-align: center;
  }

  .finished-heading {
    padding: 18px;
  }

  .finished-focus {
    min-height: 0;
    height: auto;
    border-radius: 24px;
  }

  .finished-focus img {
    height: auto;
    max-height: none;
    object-fit: cover;
  }

  .finished-dock {
    padding: 14px;
    border-radius: 24px;
  }

  .dock-track {
    gap: 12px;
  }

  .dock-item {
    width: 210px;
    border-radius: 18px;
  }

  .craft-media {
    height: 290px;
    min-height: 0;
  }

  .credential-card,
  .credential-card.large {
    min-height: 360px;
  }

  .qc-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .qc-panel h3 {
    font-size: 20px;
  }

  .option-choice,
  .swatch {
    min-height: 44px;
  }

  .color-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .viewer,
  .preview-zoom-trigger img,
  .viewer-empty {
    min-height: 230px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
