@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/libre-baskerville-400.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/libre-baskerville-700.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

:root {
  --indigo: #1b2e4b;
  --madder: #a33b45;
  --cotton: #e7eef3;
  --sheet: #f7fafb;
  --thread: #5d6b7c;
  --line: rgba(27, 46, 75, 0.22);
  --font-display: "Libre Baskerville", "Palatino Linotype", Palatino, serif;
  --font-body: Outfit, "Trebuchet MS", sans-serif;
  --radius: 1px;
  --rail: 72px;
  --measure: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--indigo);
  background-color: var(--cotton);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(27, 46, 75, 0.2) 0 1px,
    transparent 1px 13px
  );
  background-repeat: no-repeat;
  background-size: var(--rail) 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--madder);
}

:focus-visible {
  outline: 2px solid var(--madder);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--indigo);
  color: var(--sheet);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(var(--measure), calc(100% - 2rem));
  margin-left: max(1.25rem, calc(var(--rail) + 1.5rem));
  margin-right: auto;
}

.site-header {
  padding: 1.25rem 0 0.5rem;
}

.header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--indigo);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-place {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--thread);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--sheet);
  color: var(--indigo);
  font: inherit;
  padding: 0.45rem 0.7rem;
}

.sample-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sample-nav a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--indigo);
  border-top: 4px dashed var(--madder);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  background: transparent;
  font-size: 0.92rem;
}

.sample-nav a[aria-current="page"] {
  background: var(--indigo);
  color: var(--cotton);
}

.sample-nav a.nav-cta {
  background: var(--madder);
  color: var(--sheet);
  border-top-style: solid;
}

.sample-nav a.nav-cta:hover,
.sample-nav a[aria-current="page"]:hover {
  color: var(--sheet);
}

.drape-hero {
  padding: 1.5rem 0 3rem;
}

.drape-band {
  position: relative;
  height: 220px;
  background: var(--indigo);
  border-radius: var(--radius);
  overflow: hidden;
}

.drape-band svg {
  width: 100%;
  height: 100%;
}

.pleat {
  transform-origin: center top;
  animation: pleat-in 780ms ease both;
}

.pleat:nth-child(2) { animation-delay: 60ms; }
.pleat:nth-child(3) { animation-delay: 120ms; }
.pleat:nth-child(4) { animation-delay: 180ms; }
.pleat:nth-child(5) { animation-delay: 240ms; }
.pleat:nth-child(6) { animation-delay: 300ms; }
.pleat:nth-child(7) { animation-delay: 360ms; }

@keyframes pleat-in {
  from { transform: scaleY(0.2); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

.hem-tape {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0;
  padding: 0.35rem 0.6rem 0.15rem;
  border-bottom: 6px solid var(--indigo);
  background-image: repeating-linear-gradient(
    90deg,
    var(--indigo) 0 1px,
    transparent 1px 28px
  );
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-copy {
  max-width: 40rem;
  padding-top: 1.6rem;
}

.kicker,
.section-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--madder);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.lead,
.section-intro {
  margin-top: 0;
  max-width: 42rem;
}

.btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--madder);
  color: var(--sheet);
  text-decoration: none;
  font-weight: 500;
}

.btn:hover {
  color: var(--sheet);
  background: #8d3039;
}

.band {
  padding: 2.5rem 0;
}

.band + .band {
  border-top: 1px solid var(--line);
}

.swatch-grid,
.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.swatch,
.step {
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--sheet);
  padding: 1rem 1rem 1.1rem;
  border-top: 7px solid var(--madder);
}

.swatch p,
.step p,
.note p {
  margin-bottom: 0;
}

.swatch a {
  font-family: var(--font-display);
  text-decoration: none;
}

.step-row {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

.step {
  border-top-color: var(--indigo);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  color: var(--madder);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.faq-list details {
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--sheet);
  padding: 0.7rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.contact-strip {
  margin: 1rem 0 3rem;
  padding: 1.2rem;
  background: var(--indigo);
  color: var(--cotton);
  border-radius: var(--radius);
}

.contact-strip .btn {
  background: var(--madder);
}

.sheet {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.5rem 0 3.5rem;
}

.sheet-rail {
  border-left: 1px solid var(--indigo);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 22px,
    var(--indigo) 22px 23px
  );
  min-height: 100%;
}

.sheet-body {
  max-width: 46rem;
}

.sheet-body > * + * {
  margin-top: 1.6rem;
}

.prose p,
.point-list,
.fact-table {
  margin: 0.4rem 0 0;
}

.point-list {
  padding-left: 1.1rem;
}

.point-list li + li,
.plain-list li + li {
  margin-top: 0.45rem;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
}

.fact-table th,
.fact-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.fact-table th {
  width: 38%;
  font-weight: 600;
}

.inquiry-form {
  display: grid;
  gap: 0.8rem;
  max-width: 36rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
  background: var(--sheet);
  color: var(--indigo);
  font: inherit;
  padding: 0.55rem 0.65rem;
}

.inquiry-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note,
.address-block {
  color: var(--thread);
}

.site-map {
  padding-left: 1.1rem;
}

.site-map a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  margin-left: var(--rail);
  padding: 1.4rem 1.5rem 2rem;
  border-top: 8px solid var(--indigo);
  background: var(--sheet);
}

.swatch-legend {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.swatch-legend span {
  width: 2.2rem;
  height: 0.7rem;
  border: 1px solid var(--indigo);
  border-radius: var(--radius);
}

.swatch-legend .chip-indigo { background: var(--indigo); }
.swatch-legend .chip-madder { background: var(--madder); }
.swatch-legend .chip-cotton { background: var(--cotton); }

.footer-name {
  font-family: var(--font-display);
  margin: 0;
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.8rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .swatch-grid,
  .step-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background-image: none;
    border-left: 8px solid var(--indigo);
  }

  .wrap,
  .site-footer {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer {
    width: min(var(--measure), calc(100% - 2rem));
  }

  .header-bar {
    align-items: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .sample-nav {
    display: none;
    padding-top: 0.8rem;
  }

  .site-header.is-open .sample-nav {
    display: flex;
    flex-direction: column;
  }

  .drape-band {
    height: 140px;
  }

  .swatch-grid,
  .step-row,
  .sheet {
    grid-template-columns: 1fr;
  }

  .sheet-rail {
    height: 28px;
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--indigo);
    background-image: repeating-linear-gradient(
      90deg,
      transparent 0 16px,
      var(--indigo) 16px 17px
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pleat { animation: none; }
}
