*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: #ebe6df;
  color: #1f1c18;
  line-height: 1.65;
  min-height: 100vh;
  padding-left: 118px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:root {
  --bg: #ebe6df;
  --cloth: #f5f1ea;
  --ink: #1f1c18;
  --muted: #6a635a;
  --thread: #8b3a3a;
  --navy: #1e2a3a;
  --line: #d4cdc2;
  --sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ——— ANGLED FABRIC TABS left — large overlapping swatches ——— */
.swatch-nav {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
}
.swatch-nav a {
  width: 108px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px 14px 14px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.12);
  border-left: none;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  transition: transform 0.12s, filter 0.12s;
  text-align: center;
  line-height: 1.15;
}
.swatch-nav a:nth-child(1) { background: #c8b8a0; transform: rotate(-2deg); }
.swatch-nav a:nth-child(2) { background: #a8b0b8; transform: rotate(1.5deg); }
.swatch-nav a:nth-child(3) { background: #b8a898; transform: rotate(-1deg); }
.swatch-nav a:nth-child(4) { background: #9a8a78; color: #f5f1ea; transform: rotate(2deg); }
.swatch-nav a:nth-child(5) { background: #6a5a4a; color: #f5f1ea; transform: rotate(-1.5deg); }
.swatch-nav a:hover {
  filter: brightness(1.08);
  z-index: 5;
}
.swatch-nav a.on {
  outline: 3px solid var(--thread);
  outline-offset: 1px;
  z-index: 6;
  filter: brightness(1.05);
}

.atelier {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 90;
  text-align: right;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.atelier strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1rem;
  color: var(--thread);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 2px;
}

/* ——— CLOTH: centered invitation on texture ——— */
.cloth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    linear-gradient(135deg, rgba(235,230,223,0.92) 0%, rgba(235,230,223,0.85) 100%),
    url('https://images.unsplash.com/photo-1620799140408-edc6dcb6d633?w=1400&q=70') center/cover;
}
.invite {
  max-width: 440px;
  background: var(--cloth);
  border: 1px solid var(--line);
  padding: 40px 32px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.06);
  text-align: center;
}
.invite .k {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 12px;
}
.invite h1 {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 14px;
}
.invite p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ——— CUT: measuring tape steps ——— */
.cut {
  max-width: 520px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.cut .k {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 8px;
}
.cut h1 {
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 28px;
}
.mark-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  margin-bottom: 4px;
  align-items: start;
}
.mark-row .inch {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--thread);
  border-top: 2px solid var(--ink);
  padding-top: 8px;
  text-align: center;
}
.mark-row .note {
  border-top: 1px solid var(--line);
  padding: 10px 0 18px;
}
.mark-row h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.mark-row p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ——— FIT: uneven two columns ——— */
.fit {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.fit .k {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 8px;
}
.fit h1 {
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 24px;
}
.fit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}
.fit-grid article {
  background: var(--cloth);
  border: 1px solid var(--line);
  padding: 22px 18px;
}
.fit-grid h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--thread);
}
.fit-grid p {
  font-size: 0.95rem;
  color: var(--muted);
}
.fit .photo {
  margin-top: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.fit .photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.88);
}

/* ——— LINE: silhouette list ——— */
.line {
  max-width: 480px;
  margin: 0 auto;
  padding: 80px 24px 56px;
}
.line .k {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 8px;
}
.line h1 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 22px;
}
.sil {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.sil:last-child { border-bottom: none; }
.sil h2 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sil p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ——— DESK: blotter contact ——— */
.desk-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 48px;
  background: #2a2622;
}
.blotter {
  width: 100%;
  max-width: 400px;
  background: #3d3630;
  border: 1px solid #4a433c;
  padding: 8px;
}
.blotter .pad {
  background: #f5f0e6;
  color: #1f1c18;
  padding: 28px 22px;
  border: 1px solid #d4cbb8;
}
.blotter .k {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 8px;
}
.blotter h1 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.blotter .addr {
  font-size: 0.92rem;
  color: #6a635a;
  line-height: 1.7;
  margin-bottom: 16px;
}
.blotter .addr a {
  color: var(--thread);
  font-family: var(--sans);
  font-weight: 600;
}
.blotter label {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a635a;
  margin-bottom: 4px;
}
.blotter input,
.blotter textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d4cbb8;
  background: #ebe6df;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1f1c18;
  margin-bottom: 12px;
}
.blotter input:focus,
.blotter textarea:focus {
  outline: none;
  border-color: var(--thread);
}
.blotter textarea { min-height: 80px; resize: vertical; }
.blotter button {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #f5f1ea;
  border: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.blotter button:hover { filter: brightness(1.1); }

.ft {
  text-align: center;
  padding: 12px 24px 40px;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--muted);
}
.ft strong { color: var(--ink); }

@media (max-width: 700px) {
  body { padding-left: 0; padding-bottom: 90px; }
  .swatch-nav {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    gap: 4px;
    padding: 8px;
    background: #2a2622;
    justify-content: center;
  }
  .swatch-nav a {
    width: auto;
    flex: 1;
    min-height: 56px;
    border-radius: 6px;
    border: none;
    font-size: 0.68rem;
    transform: none !important;
    box-shadow: none;
    padding: 10px 4px;
  }
  .fit-grid { grid-template-columns: 1fr; }
}
