:root {
  --bg: #F8F5F0;
  --fg: #16213E;
  --accent: #A0522D;
  --accent-light: #C4713A;
  --stone: #6B5B4F;
  --muted: #9E8E82;
  --surface: #EDE8E0;
  --border: #D4C9BC;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  border-bottom: 1px solid var(--border);
}

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

.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1.5px solid var(--accent);
  padding: 7px 18px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Hero ── */
.hero {
  padding: 80px 60px 100px;
  overflow: hidden;
}

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

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 540px;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 40px rgba(22, 33, 62, 0.15), 0 2px 8px rgba(22, 33, 62, 0.08);
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pocket diagram */
.pocket-diagram {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.pocket-body {
  width: 100%;
  aspect-ratio: 3/2.5;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.fabric-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(160,82,45,0.04) 8px, rgba(160,82,45,0.04) 9px),
    repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(160,82,45,0.04) 8px, rgba(160,82,45,0.04) 9px);
}

.pocket-opening {
  position: absolute;
  top: 12%;
  left: 10%;
  right: 10%;
  height: 22%;
  background: rgba(160,82,45,0.12);
  border-top: 2.5px solid var(--accent);
  border-radius: 2px 2px 0 0;
}

.pocket-stitching-top {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 10px);
}

.pocket-flap {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 100%;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
}

.flap-fold {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
}

.flap-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-light);
}

.pocket-walls {
  position: absolute;
  top: 34%;
  left: 10%;
  right: 10%;
  bottom: 8%;
  border-left: 1.5px solid rgba(160,82,45,0.4);
  border-right: 1.5px solid rgba(160,82,45,0.4);
  border-bottom: 1.5px solid rgba(160,82,45,0.4);
  border-radius: 0 0 3px 3px;
}

.wall-left, .wall-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
}

.wall-left { left: 0; border-right: 1px dashed rgba(160,82,45,0.2); }
.wall-right { right: 0; }

.pocket-bottom {
  position: absolute;
  bottom: 8%;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, rgba(160,82,45,0.3) 0, rgba(160,82,45,0.3) 5px, transparent 5px, transparent 9px);
}

.seam-lines {
  position: absolute;
  top: 12%;
  bottom: 8%;
  left: 10%;
  right: 10%;
}

.seam-left {
  position: absolute;
  left: 0;
  top: 30%;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 11px);
  opacity: 0.35;
}

.seam-right {
  position: absolute;
  right: 0;
  top: 30%;
  bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 11px);
  opacity: 0.35;
}

.corner-reinforcement {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.25;
}

.corner-reinforcement.tl { top: 11%; left: 9%; }
.corner-reinforcement.tr { top: 11%; right: 9%; }
.corner-reinforcement.bl { bottom: 7%; left: 9%; }
.corner-reinforcement.br { bottom: 7%; right: 9%; }

.thread-detail {
  position: absolute;
  bottom: 18%;
  right: 12%;
  width: 50px;
  opacity: 0.6;
}

.measurement {
  position: absolute;
  right: -48px;
  top: 30%;
  bottom: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.measure-line {
  width: 1px;
  flex: 1;
  background: repeating-linear-gradient(to bottom, var(--accent) 0, var(--accent) 4px, transparent 4px, transparent 8px);
  opacity: 0.5;
  min-height: 60px;
}

.measure-label {
  font-size: 0.6875rem;
  color: var(--accent);
  writing-mode: vertical-rl;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero content */
.hero-overline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--stone);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Sections shared ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 60px;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  max-width: 620px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  color: var(--stone);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ── Pockets section ── */
.pockets-section {
  background: var(--fg);
  color: var(--bg);
}

.pockets-section .section-label { color: var(--accent-light); }
.pockets-section .section-title { color: var(--bg); }
.pockets-section .section-sub { color: rgba(248,245,240,0.65); }

.pocket-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.pocket-card {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: rgba(255,255,255,0.03);
}

.pocket-card:hover {
  border-color: var(--accent-light);
  background: rgba(255,255,255,0.07);
}

.pocket-card-diagram {
  width: 100%;
  margin-bottom: 20px;
}

.pocket-card-diagram svg {
  width: 100%;
  height: auto;
}

.pocket-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 10px;
}

.pocket-card-desc {
  font-size: 0.875rem;
  color: rgba(248,245,240,0.6);
  line-height: 1.6;
}

.pocket-types-note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.pocket-types-note p {
  font-size: 0.9375rem;
  color: rgba(248,245,240,0.5);
  font-style: italic;
}

/* ── Showcase gallery ── */
.showcase-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 80px;
}

.showcase-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--bg);
  line-height: 1.25;
  max-width: 620px;
  margin-bottom: 12px;
}

.showcase-sub {
  font-size: 1rem;
  color: rgba(248,245,240,0.65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.showcase-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.showcase-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.03);
}

.showcase-card-body {
  padding: 20px 22px 24px;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  font-weight: 600;
  background: rgba(160,82,45,0.12);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.showcase-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 8px;
  line-height: 1.3;
}

.showcase-specs {
  font-size: 0.8125rem;
  color: rgba(248,245,240,0.6);
  line-height: 1.55;
  margin-bottom: 10px;
}

.showcase-use {
  font-size: 0.75rem;
  color: rgba(248,245,240,0.4);
  font-style: italic;
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .showcase-heading { font-size: 1.5rem; }
  .showcase-label { margin-top: 48px; }
  .showcase-heading { margin-bottom: 8px; }
  .showcase-sub { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card { margin-bottom: 24px; }
  .showcase-sub { max-width: 100%; }
}

/* ── Why section ── */
.why-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.why-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}

.why-desc {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.65;
}

/* ── Process section ── */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 32px;
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  padding-top: 4px;
  text-align: right;
}

.step-content {
  padding-bottom: 48px;
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}

.process-step:last-child .step-content { border-left-color: transparent; padding-bottom: 0; }

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.65;
}

.process-cta {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.cta-sub {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Closing ── */
.closing-section {
  background: var(--fg);
  color: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.closing-statement {
  max-width: 760px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  color: var(--bg);
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.closing-body {
  font-size: 1.0625rem;
  color: rgba(248,245,240,0.65);
  line-height: 1.75;
  max-width: 560px;
}

.closing-divider {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 32px 0;
}

/* ── Configurator ── */
.configurator-page {
  min-height: calc(100vh - 200px);
  background: var(--bg);
}

.config-form {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.config-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.config-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.style-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.style-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
}

.style-card:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.style-option input:checked + .style-card {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(160,82,45,0.12);
}

.style-icon {
  width: 48px;
  height: 32px;
  color: var(--stone);
}

.style-option input:checked + .style-card .style-icon {
  color: var(--accent);
}

.style-icon svg {
  width: 100%;
  height: 100%;
}

.style-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.style-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}

.config-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.config-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.required {
  color: var(--accent);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.config-input,
.config-select,
.config-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--fg);
  transition: border-color 0.15s;
  appearance: none;
}

/* placement select needs padding-right for custom arrow via background */
#placement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5B4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

.config-input:focus,
.config-select:focus,
.config-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.config-textarea {
  resize: vertical;
  min-height: 96px;
}

.input-suffix {
  position: absolute;
  right: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
  pointer-events: none;
}

.config-input:not([type="email"]) ~ .input-suffix,
.input-group .config-input:not([type="email"]) {
  padding-right: 36px;
}

.field-error {
  font-size: 0.8125rem;
  color: #c0392b;
  display: none;
}

.field-error.visible {
  display: block;
}

.field-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 24px;
  background: var(--fg);
  border-radius: 4px;
}

.price-label {
  font-size: 0.875rem;
  color: rgba(248,245,240,0.6);
}

.price-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
}

.price-unit {
  font-size: 0.75rem;
  color: rgba(248,245,240,0.4);
}

.config-actions {
  display: flex;
  justify-content: flex-start;
}

.quote-submit {
  padding: 14px 36px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.quote-submit:hover:not(:disabled) {
  background: var(--accent-light);
}

.quote-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.config-success,
.config-error {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 4px;
}

.config-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.config-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.config-success.visible,
.config-error.visible {
  display: flex;
}

.config-success svg { color: #155724; flex-shrink: 0; margin-top: 2px; }
.config-error svg { color: #721c24; flex-shrink: 0; margin-top: 2px; }

.config-success strong,
.config-error strong {
  display: block;
  margin-bottom: 2px;
}

.config-success p,
.config-error p {
  font-size: 0.875rem;
  margin: 0;
}

/* CTA button reuse */
.cta-button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-button:hover {
  background: var(--accent-light);
}

/* ── Contact Form ── */
.contact-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-sub { margin-bottom: 32px; }

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--stone);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--fg);
  transition: border-color 0.15s;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5B4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.contact-submit {
  align-self: flex-start;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-submit:hover:not(:disabled) { background: var(--accent-light); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-alert {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 4px;
}

.contact-alert[hidden] { display: none; }
.contact-alert:not([hidden]) { display: flex; }

.contact-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.contact-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-alert svg { flex-shrink: 0; margin-top: 2px; }
.contact-alert strong { display: block; margin-bottom: 2px; }
.contact-alert p { font-size: 0.875rem; margin: 0; }

/* ── Footer ── */
.footer {
  background: var(--fg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bg);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(248,245,240,0.4);
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(248,245,240,0.25);
  margin-left: auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 20px 28px; }
  .nav-cta { display: none; }
  .hero { padding: 60px 28px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pocket-diagram { max-width: 240px; }
  .hero-content { text-align: left; }
  .hero-headline { font-size: 2rem; }
  .section-inner { padding: 72px 28px; }
  .pocket-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-steps { max-width: 100%; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 12px; }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 480px) {
  .pocket-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.25rem; }
  .measurement { display: none; }
}