/* =============================================
   IRCH — STYLESHEET
   Heartless font / gothic blackletter aesthetic
   Dark, raw, brutal luxury
   ============================================= */


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:     #030303;
  --off-black: #080808;
  --dark:      #101010;
  --mid:       #181818;
  --border:    #222222;
  --border-hi: #333333;
  --muted:     #484848;
  --silver:    #7a7a7a;
  --light:     #b0b0b0;
  --white:     #f0eee9;
  --cream:     #e8e4dc;

  /* Accent — white/grey only */
  --red:       #f0eee9;
  --red-hi:    #ffffff;
  --red-dark:  #666666;
  --red-glow:  rgba(240, 238, 233, 0.15);
  --red-dim:   rgba(240, 238, 233, 0.06);

  /* Chrome / silver tones */
  --chrome:    #9a9a9a;
  --chrome-hi: #c8c8c8;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:    'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

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

/* =============================================
   NAV
   ============================================= */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(3, 3, 3, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-left, .nav-right {
  display: flex;
  gap: 40px;
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--silver);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.25s;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-logo {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.1em;
  color: var(--white);
  flex: 0;
  white-space: nowrap;
  transition: color 0.2s, text-shadow 0.2s;
  line-height: 1;
}

.nav-logo:hover {
  color: var(--red-hi);
  text-shadow: 0 0 24px var(--red-glow);
}

/* =============================================
   HERO
   ============================================= */

#hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Grain texture */
.noise {
  position: absolute;
  inset: -50%;
  width: 200%; height: 200%;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grainShift 6s steps(1) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 2%);  }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -1%); }
  50%  { transform: translate(-3%, 1%); }
  60%  { transform: translate(1%, -4%); }
  70%  { transform: translate(-4%, 3%); }
  80%  { transform: translate(2%, -2%); }
  90%  { transform: translate(-2%, 2%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-ornament {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 240px);
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 0.85;
  color: var(--white);
  text-transform: none;
  text-shadow:
    0 0 80px rgba(240, 238, 233, 0.08),
    0 2px 0 rgba(0,0,0,0.8);
  animation: titleFlicker 8s ease-in-out infinite;
}

@keyframes titleFlicker {
  0%, 92%, 100% { text-shadow: 0 0 80px rgba(184,28,28,0.12), 0 2px 0 rgba(0,0,0,0.8); }
  94%           { text-shadow: 0 0 40px rgba(184,28,28,0.06), 0 2px 0 rgba(0,0,0,0.8); }
  96%           { text-shadow: 0 0 80px rgba(184,28,28,0.12), 0 2px 0 rgba(0,0,0,0.8); }
  98%           { text-shadow: 0 0 20px rgba(184,28,28,0.04), 0 2px 0 rgba(0,0,0,0.8); }
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 320px;
}

.hero-divider span:not(.hero-cross) {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.hero-cross {
  color: var(--red);
  font-size: 14px;
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--silver);
  line-height: 1.9;
  text-transform: uppercase;
}

.hero-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
}

.btn-primary {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--red);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  margin-top: 8px;
  font-family: var(--font-sans);
}

.btn-primary:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 32px var(--red-glow);
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
  z-index: 1;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.8; transform: translateX(-50%) translateY(4px); }
}

/* =============================================
   MARQUEE
   ============================================= */

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--red-dark);
  border-bottom: 1px solid var(--red-dark);
  background: var(--off-black);
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  opacity: 0.85;
}

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

/* =============================================
   SECTION COMMON
   ============================================= */

section {
  padding: 120px 48px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-ornament {
  font-size: 18px;
  color: var(--red);
  margin-bottom: 20px;
  opacity: 0.9;
}

.section-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 28px;
}

.header-rule {
  width: 80px;
  height: 1px;
  background: var(--red);
  margin: 0 auto;
  position: relative;
}

.header-rule::before, .header-rule::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px; height: 4px;
  border: 1px solid var(--red);
  transform: translateY(-50%) rotate(45deg);
}

.header-rule::before { left: -8px; }
.header-rule::after  { right: -8px; }

/* =============================================
   SHOP / PRODUCTS
   ============================================= */

#shop {
  background: var(--off-black);
  border-top: 1px solid var(--border);
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--off-black);
}

.product-card {
  background: var(--off-black);
  cursor: pointer;
  width: calc(33.333% - 1px);
  min-width: 280px;
  flex: 0 1 calc(33.333% - 1px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark);
}

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

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #141414 0%, #0a0a0a 50%, #111 100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-placeholder {
  transform: scale(1.04);
}

.product-cross {
  font-size: 52px;
  color: var(--border-hi);
  opacity: 0.5;
  transition: color 0.3s, opacity 0.3s;
}

.product-card:hover .product-cross {
  color: var(--red-dark);
  opacity: 0.7;
}

/* Corner bracket decorations */
.product-corner {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-corner { opacity: 1; }

.product-corner.tl { top: 12px;  left: 12px;  border-top: 1px solid var(--red); border-left: 1px solid var(--red); }
.product-corner.tr { top: 12px;  right: 12px; border-top: 1px solid var(--red); border-right: 1px solid var(--red); }
.product-corner.bl { bottom: 12px; left: 12px;  border-bottom: 1px solid var(--red); border-left: 1px solid var(--red); }
.product-corner.br { bottom: 12px; right: 12px; border-bottom: 1px solid var(--red); border-right: 1px solid var(--red); }

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-overlay { opacity: 1; }

.btn-overlay {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--red);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-overlay:hover {
  background: var(--red);
  color: var(--white);
}

.product-badge {
  position: absolute;
  top: 0; left: 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--border-hi);
  text-transform: uppercase;
}

.product-info {
  padding: 20px 4px 32px;
}

.product-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.product-detail {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.product-price {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
}

.shop-note {
  text-align: center;
  margin-top: 64px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.9;
}

/* =============================================
   ABOUT
   ============================================= */

#about {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-ornament { margin-bottom: 8px; }
.about-text .section-label { margin-bottom: 20px; }

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 32px;
}

.text-divider {
  width: 48px;
  height: 1px;
  background: var(--red);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--silver);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--dark);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* Red corner accents */
.about-img-placeholder::before,
.about-img-placeholder::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
}

.about-img-placeholder::before {
  top: 0; left: 0;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}

.about-img-placeholder::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--red);
  border-right: 2px solid var(--red);
}

.about-cross-large {
  font-size: 96px;
  color: var(--border-hi);
  opacity: 0.25;
  line-height: 1;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--border-hi);
  letter-spacing: 0.1em;
  opacity: 0.4;
  line-height: 1;
}

/* =============================================
   PROCESS
   ============================================= */

#process {
  background: var(--off-black);
  border-top: 1px solid var(--border);
}

.process-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.process-step {
  padding: 48px 32px;
  background: var(--off-black);
  transition: background 0.3s;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step:hover { background: #0d0d0d; }
.process-step:hover::after { transform: scaleX(1); }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--border-hi);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.process-step:hover .step-num { color: var(--red); }

.step-divider {
  font-size: 12px;
  color: var(--red-dark);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.process-step:hover .step-divider { color: var(--red); }

.process-step h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.process-step p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =============================================
   STATEMENT
   ============================================= */

#statement {
  background: var(--black);
  padding: 160px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.statement-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(140px, 26vw, 380px);
  font-weight: normal;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 28, 28, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.statement-inner { position: relative; z-index: 1; }

.statement-ornament {
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--red);
  margin-bottom: 36px;
  opacity: 0.8;
}

.statement-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: normal;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--white);
  max-width: 860px;
  margin: 0 auto 32px;
  text-shadow: 0 0 60px rgba(184,28,28,0.08);
}

.statement-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 240px;
  margin: 0 auto 24px;
}

.statement-rule span:not(.s-cross) {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.s-cross { color: var(--red); font-size: 12px; }

.statement-attr {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
}

/* =============================================
   CONTACT
   ============================================= */

#contact {
  background: var(--off-black);
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--silver);
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 64px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.2s;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.contact-link:hover {
  color: var(--red-hi);
  border-color: var(--red);
}

.contact-cross {
  font-size: 10px;
  color: var(--red-dark);
  transition: color 0.2s;
}

.contact-link:hover .contact-cross { color: var(--red-hi); }

.contact-form-wrap { text-align: left; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--dark);
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  outline: none;
  transition: background 0.2s;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #141414;
}

.contact-form textarea {
  text-transform: none;
  letter-spacing: 0.04em;
}

.contact-form .btn-primary {
  width: 100%;
  font-size: 10px;
  padding: 18px;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: 0.22em;
}

.form-success {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--red-hi);
  padding: 24px;
  border: 1px solid var(--red-dark);
  margin-top: 2px;
  background: var(--dark);
  text-transform: uppercase;
}

/* =============================================
   FOOTER
   ============================================= */

#footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 48px 40px;
  text-align: center;
}

.footer-ornament-row {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: 40px;
}

.footer-top {
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.footer-tagline {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* =============================================
   SIZING
   ============================================= */

#sizing {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.sizing-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.sizing-hint {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
}

/* diagram layout */
.sizing-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.sizing-labels-left,
.sizing-labels-right {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 180px;
}

.sizing-labels-left { align-items: flex-end; padding-top: 20px; }
.sizing-labels-right { align-items: flex-start; padding-top: 160px; }

.sz-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.25s;
}

.sz-label:hover { opacity: 1; }

.sizing-labels-left .sz-label { flex-direction: row-reverse; }

.sz-label-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sizing-labels-left .sz-label-text { align-items: flex-end; }
.sizing-labels-right .sz-label-text { align-items: flex-start; }

.sz-name {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
}

.sz-val {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--silver);
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.sz-label:hover .sz-val { color: var(--white); }

.sz-line {
  height: 1px;
  width: 40px;
  background: var(--border-hi);
  transition: background 0.25s, width 0.25s;
  flex-shrink: 0;
}

.sz-label:hover .sz-line {
  background: var(--white);
  width: 52px;
}

.sz-label { position: relative; }

.sz-control {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--off-black);
  border: 1px solid var(--border-hi);
  padding: 10px 14px;
  width: 140px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
}

.sz-control.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sz-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background: var(--border-hi);
  outline: none;
  cursor: pointer;
  display: block;
}

.sz-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.sz-slider::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
}

/* pants SVG */
.pants-svg {
  width: 220px;
  height: auto;
  flex-shrink: 0;
}

/* measurement overlays — hidden by default */
.meas-waist,
.meas-hip,
.meas-rise,
.meas-inseam {
  opacity: 0;
  transition: opacity 0.25s;
}

/* show via JS-toggled class on diagram */
.sizing-diagram.show-waist   .meas-waist   { opacity: 1; }
.sizing-diagram.show-hip     .meas-hip     { opacity: 1; }
.sizing-diagram.show-rise    .meas-rise    { opacity: 1; }
.sizing-diagram.show-inseam  .meas-inseam  { opacity: 1; }

.sizing-slider-wrap {
  margin-top: 56px;
}

.sizing-display {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  min-height: 72px;
}

.sz-display-waist {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
  width: 140px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sz-display-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--border);
  padding-left: 32px;
}

.sz-display-size {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
}

.sz-display-fit {
  font-size: 12px;
  font-weight: 300;
  color: var(--silver);
  letter-spacing: 0.08em;
}

.sz-display-inseam {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.slider-track-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider-end-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  flex-shrink: 0;
}

.waist-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1px;
  background: var(--border-hi);
  outline: none;
  cursor: pointer;
}

.waist-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  border: none;
  transition: transform 0.15s;
}

.waist-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }
.waist-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  border: none;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px 0;
}

.slider-ticks span {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s;
}

.slider-ticks span.active {
  color: var(--white);
  font-weight: 600;
}

.sizing-note {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin-top: 28px;
  text-align: center;
}

@media (max-width: 768px) {
  .sizing-diagram { flex-direction: column; gap: 32px; }
  .sizing-labels-left,
  .sizing-labels-right { flex-direction: row; width: auto; padding: 0; gap: 24px; }
  .sizing-labels-left .sz-label { flex-direction: row; }
  .sizing-labels-left .sz-label-text { align-items: flex-start; }
  .pants-svg { width: 160px; }
}

/* =============================================
   BY HAND
   ============================================= */

.by-hand-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.by-hand-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: normal;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.by-hand-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
  line-height: 2;
}

/* =============================================
   T&C LINK
   ============================================= */

.tc-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tc-link:hover { color: var(--white); }

/* =============================================
   MODALS
   ============================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: var(--off-black);
  border: 1px solid var(--border-hi);
  display: flex;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover { color: var(--white); }

.modal-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-main-img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center;
  min-height: 0;
}

.modal-thumbs {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--dark);
  overflow-x: auto;
}

.modal-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.modal-thumb:hover,
.modal-thumb.active { opacity: 1; border-color: var(--white); }

.modal-right {
  width: 280px;
  flex-shrink: 0;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.modal-badge {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.modal-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--white);
}

.modal-detail {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--silver);
}

.modal-price {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
}

.modal-buy {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
}

/* T&C modal */
.modal-box--tc {
  flex-direction: column;
  max-width: 600px;
  padding: 48px;
  overflow-y: auto;
}

.tc-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.tc-body p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--silver);
}

.tc-body strong {
  color: var(--white);
  font-weight: 500;
}

.tc-footer {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .modal-overlay { padding: 0; align-items: flex-end; }

  .modal-box {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    overflow-y: auto;
  }

  .modal-left {
    flex-shrink: 0;
    height: 52vw;
    min-height: 220px;
    max-height: 300px;
  }

  .modal-main-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .modal-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 24px 20px 32px;
    overflow-y: visible;
    gap: 12px;
  }

  .modal-buy { margin-top: 8px; }

  .modal-box--tc { padding: 32px 20px; }
}

/* =============================================
   LIGHTBOX
   ============================================= */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 20px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}

.lb-arrow:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.lb-close:hover { color: var(--white); }

.modal-main-img { cursor: zoom-in; }

@media (max-width: 768px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-arrow { width: 40px; height: 40px; font-size: 16px; }
}

/* =============================================
   SUCCESS BANNER
   ============================================= */

.success-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bannerIn 0.4s ease;
}

@keyframes bannerIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* =============================================
   SCROLLBAR
   ============================================= */

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .product-grid .product-card { width: calc(50% - 1px); flex: 0 1 calc(50% - 1px); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner  { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 420px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  #navbar { padding: 0 24px; }
  .nav-left, .nav-right { display: none; }

  section { padding: 80px 24px; }

  .product-grid .product-card { width: 100%; flex: 0 1 100%; max-width: 400px; }
  .process-grid { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
