/* Laid Aside — unisex Christian apparel. Muted blue, tan, cream. */
:root {
  --blue: #3d5a73;
  --blue-dark: #2c4358;
  --blue-deep: #1f3140;
  --tan: #c4a882;
  --tan-dark: #9a7f5a;
  --cream: #f4efe6;
  --cream-2: #e8e0d2;
  --paper: #fbf8f3;
  --ink: #243038;
  --ink-soft: #4a5560;
  --line: #d9d0c3;
  --white: #fffdf9;
  --danger: #8a3a32;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --space: 1.25rem;
  --wide: 70rem;
  --narrow: 40rem;
  --radius: 0.85rem;
  --header-h: 4.25rem;
  --shadow: 0 1px 2px rgb(36 48 56 / 0.06), 0 8px 24px rgb(36 48 56 / 0.06);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--blue-deep);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  border-radius: 0 0 0.4rem 0.4rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--cream);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(251 248 243 / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.wordmark:hover {
  color: var(--blue-dark);
}

.wordmark-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--tan);
}

@media (max-width: 839px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
}

/* Notice */
.site-notice {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-align: center;
  padding: 0.55rem 1rem;
}

.site-notice strong {
  color: var(--ink);
  font-weight: 500;
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 50% -10%, rgb(196 168 130 / 0.18), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0 3.25rem;
  text-align: center;
}

.hero .motif {
  width: min(100%, 36rem);
  margin: 0 auto 0.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  margin: 0 auto 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--blue-deep);
}

.lede,
.prose p,
.intro {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue-dark);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--cream);
}

.btn-ghost {
  border-color: var(--blue);
  color: var(--blue-dark);
  background: transparent;
}

.btn-ghost:hover {
  background: rgb(61 90 115 / 0.08);
  color: var(--blue-dark);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  background: var(--cream-2);
  color: var(--ink-soft);
  border-color: var(--line);
}

.btn-coming {
  cursor: not-allowed;
  background: var(--cream-2);
  color: var(--ink-soft);
  border-color: var(--line);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-header {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.section-header.centered,
.centered {
  text-align: center;
  margin-inline: auto;
}

.section h2,
.page-hero h1,
.product-copy h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.section-header p,
.caption,
.muted {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0 2.2rem;
}

.page-hero .wrap {
  width: min(100% - 2rem, var(--narrow));
}

.page-hero .wrap.wide,
.section .wrap.wide {
  width: min(100% - 2rem, var(--wide));
}

/* Quote band */
.quote-band {
  background: var(--blue);
  color: var(--cream);
  padding: 3rem 0;
}

.quote-band blockquote {
  margin: 0 auto;
  width: min(100% - 2rem, 42rem);
  text-align: center;
}

.quote-band p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.3;
  color: var(--cream);
}

.quote-band cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan);
}

/* Values */
.values {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .values {
    grid-template-columns: repeat(5, 1fr);
  }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Collection teasers */
.teaser-grid,
.product-grid,
.card-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .teaser-grid,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.teaser,
.plain-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

a.teaser:hover,
a.product-card:hover {
  border-color: var(--tan);
}

.teaser h3,
.plain-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--blue-deep);
}

.teaser p,
.plain-card p {
  margin: 0;
  color: var(--ink-soft);
  flex: 1;
}

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.product-card .media {
  background: var(--cream-2);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 1.15rem;
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.meta {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.price {
  margin-top: auto;
  padding-top: 0.45rem;
  font-weight: 500;
  color: var(--ink);
}

.price .tag,
.badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan-dark);
}

.badge-soon {
  align-self: flex-start;
  margin: 0.35rem 0 0;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--cream);
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue-dark);
  color: var(--cream);
}

/* Product page */
.product-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding: 2rem 0 3rem;
}

@media (min-width: 860px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.product-media {
  background: var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-card .media.photo {
  aspect-ratio: auto;
  background: #ece8e1;
  overflow: hidden;
}

.product-card .media.photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-media.photo {
  background: #ece8e1;
}

.product-media.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.swatch[data-color="Black"],
.swatch.black {
  background: #1a1a1a;
}


.product-copy .eyebrow {
  text-align: left;
}

.product-copy .price {
  font-size: 1.25rem;
  margin: 0.6rem 0 1rem;
}

.option-group {
  margin: 1.1rem 0;
}

.option-group h2 {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.swatches,
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.swatch {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  padding: 0;
}

.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--blue);
}

.swatch[data-color="Cream"],
.swatch.cream {
  background: #f3ede1;
}

.swatch[data-color="Dusk Blue"],
.swatch.dusk {
  background: #3d5a73;
}

.swatch[data-color="Sand"],
.swatch.sand {
  background: #c4a882;
}

.size-btn {
  appearance: none;
  min-width: 2.8rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.4rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.size-btn[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue-dark);
  color: var(--cream);
}

.buy-row {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.buy-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Forms */
form.stack,
.stack {
  display: grid;
  gap: 0.85rem;
}

label,
.field-label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-hint {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.form-status.error {
  color: var(--danger);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
  max-width: var(--narrow);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue-deep);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--tan-dark);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.6rem 0 0.2rem;
  color: var(--ink-soft);
}

/* Prose */
.prose {
  width: min(100% - 2rem, var(--narrow));
  margin-inline: auto;
  padding: 2.25rem 0 3rem;
}

.prose h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--blue-deep);
}

.prose ul {
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.prose .draft-flag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan-dark);
}

/* Split / bands */
.band-cream {
  background: var(--cream);
}

.band-tan {
  background: rgb(196 168 130 / 0.22);
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: var(--cream);
  padding: 2.5rem 0 2rem;
  margin-top: 0;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--tan);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--tan);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.site-footer p {
  margin: 0;
  color: rgb(244 239 230 / 0.82);
  font-size: 0.95rem;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(244 239 230 / 0.15);
  font-size: 0.85rem;
  color: rgb(244 239 230 / 0.65);
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.empty-state,
.noscript {
  padding: 1rem;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
}

.swatch[data-color="Washed Sage"],
.swatch.washed-sage,
.swatch[data-color="Sage"],
.swatch.sage {
  background: #7a806f;
}

.swatch[data-color="Washed Black"],
.swatch.washed-black {
  background: #2a2b2d;
}

.swatch[data-color="Wine / Burgundy"],
.swatch.wine-burgundy {
  background: #66383e;
}

.swatch[data-color="Washed Navy"],
.swatch.washed-navy {
  background: #2c374b;
}


/* Welcome signup prompt */
body.signup-lock {
  overflow: hidden;
}

.signup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgb(31 49 64 / 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.signup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.signup-overlay[hidden] {
  display: none;
}

.signup-dialog {
  position: relative;
  width: min(100%, 26.5rem);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.85rem 1.6rem 1.5rem;
}

.signup-dialog h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue-deep);
}

.signup-dialog .eyebrow {
  margin-bottom: 0.35rem;
}

.signup-dialog #signup-copy {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.signup-form {
  display: grid;
  gap: 0.85rem;
}

.signup-form .btn-primary {
  width: 100%;
}

.signup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.signup-close:hover {
  background: var(--cream);
  color: var(--ink);
}

.signup-skip {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue-dark);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  justify-self: center;
}

.signup-skip:hover {
  color: var(--blue);
}

.signup-fineprint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.signup-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .signup-overlay {
    transition: none;
  }
}
