/* Darling Heirlooms — Site */

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

:root {
  --chartreuse: #d7d85d;
  --blush: #fdd2c8;
  --coral: #f18b89;
  --midnight: #0b143f;
  --lagoon: #48afaf;
  --ice: #baf7f7;
  --mint: #a6d69c;
  --cream: #faf8f0;
  --ink: #0b143f;
  --ink-soft: #2a3358;
  --white: #ffffff;

  --stripe-coral: 3px;
  --stripe-blush: 14px;
  --stripe-midnight: 7px;

  --content-max: 1150px;
  --services-gap: 66px;
  --radius: 12px;
  --hero-shadow: 3px 3px 3px rgba(0, 0, 0, 0.16);

  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-print: "Segoe Print", "Patrick Hand", "Bradley Hand", "Comic Sans MS", cursive;
  --field-placeholder: #9a94a0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* Prevents layout shift when the home loader locks/unlocks scroll */
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

ul {
  list-style: none;
}

/* ——— Home loading splash (home only) ——— */
body.is-home-loading {
  overflow: hidden;
}

.home-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* BG snaps on immediately — same bamboo tile as services */
  background-color: #fffdf8;
  background-image: url("img/hero/bg-texture.svg");
  background-repeat: repeat;
  background-size: 88px 87px;
  opacity: 1;
  visibility: visible;
}

/* Crest + background fade out together */
.home-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Soft wash at top & bottom so the pattern eases out at the edges */
.home-loader__fade {
  position: absolute;
  left: 0;
  right: 0;
  height: min(28vh, 220px);
  pointer-events: none;
  z-index: 1;
}

.home-loader__fade--top {
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 253, 248, 0.92) 0%,
    rgba(255, 253, 248, 0.45) 45%,
    rgba(255, 253, 248, 0) 100%
  );
}

.home-loader__fade--bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(255, 253, 248, 0.92) 0%,
    rgba(255, 253, 248, 0.45) 45%,
    rgba(255, 253, 248, 0) 100%
  );
}

/* Larger crest from @2x — fade in, hold; fade-out is with the whole overlay */
.home-loader__crest {
  position: relative;
  z-index: 2;
  /* Full @2x width (580px) on desktop; shrinks on narrower viewports */
  width: min(580px, 92vw);
  height: auto;
  opacity: 0;
  /* Opacity-only; avoid transform so nothing “nudges” during fade */
  animation: home-loader-crest-in 0.5s ease forwards;
  backface-visibility: hidden;
}

@keyframes home-loader-crest-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .home-loader__crest {
    animation: none;
    opacity: 1;
  }

  .home-loader.is-done {
    transition-duration: 0.2s;
  }
}

/* ——— Header ——— */
.site-header {
  background: var(--chartreuse);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.75rem 1.5rem 1.35rem;
  gap: 1rem;
}

.site-header__logo img {
  width: min(240px, 72vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.85;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--midnight);
}

.header-stripes {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
}

.header-stripes__coral { height: var(--stripe-coral); background: var(--coral); }
.header-stripes__blush { height: var(--stripe-blush); background: var(--blush); }
.header-stripes__midnight { height: var(--stripe-midnight); background: var(--midnight); }

/* ——— Home services / heroes ——— */
.services {
  background-color: var(--cream);
  background-image: url("img/hero/bg-texture.svg");
  background-repeat: repeat;
  background-size: 88px 87px;
  padding: 3rem 1.25rem 3.25rem;
}

@media (min-width: 900px) {
  .services {
    padding: 3.5rem 2rem 3.75rem;
  }
}

.services__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 800px) {
  .services__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 4vw, var(--services-gap));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  color: inherit;
  transition: transform 0.2s ease;
}

a.service-card:hover .service-card__media,
a.service-card:focus-visible .service-card__media {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.18);
}

a.service-card:focus-visible {
  outline: 2px solid var(--midnight);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.service-card__media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--hero-shadow);
  line-height: 0;
}

.service-card__media img {
  width: 100%;
  height: auto;
}

.service-card__body {
  position: relative;
  z-index: 0;
  margin-top: -14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem 1.05rem;
}

.service-card__text {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink-soft);
  text-align: left;
}

/* ——— About (home) ——— */
.about {
  background: var(--blush);
  padding: 1.5rem 1.25rem 1.65rem;
}

@media (min-width: 800px) {
  .about {
    padding: 1.75rem 2rem 1.9rem;
  }
}

.about__card {
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(11, 20, 63, 0.06);
  padding: 1.5rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about__card {
    grid-template-columns: 1fr auto;
    gap: 2rem 2.5rem;
    padding: 1.75rem 2rem 1.75rem 2.25rem;
  }
}

.about__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  color: var(--midnight);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.about__copy p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-soft);
}

.about__copy p + p {
  margin-top: 1rem;
}

.about__closing em {
  font-style: italic;
  font-weight: 500;
  color: var(--midnight);
}

.about__mark {
  justify-self: center;
}

.about__mark img {
  width: clamp(10.5rem, 22vw, 14.5rem);
  height: auto;
  border-radius: 8px;
}

/* ——— Stripes ——— */
.section-stripes {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.section-stripes__ice { height: 4px; background: var(--ice); }
.section-stripes__lagoon { height: 12px; background: var(--lagoon); }

/* ——— Social ——— */
.social {
  background: var(--white);
  text-align: center;
  padding: 3.75rem 1.25rem 4rem;
}

.social__title {
  font-family: var(--font-print);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  color: var(--coral);
  line-height: 1.25;
  margin-bottom: 1.65rem;
}

.social__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.65rem;
  flex-wrap: wrap;
}

.social__link {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social__link:hover,
.social__link:focus-visible {
  transform: translateY(-3px);
  opacity: 0.9;
}

.social__link:focus-visible {
  outline: 2px solid var(--midnight);
  outline-offset: 4px;
  border-radius: 50%;
}

.social__link img {
  width: clamp(2.85rem, 7vw, 3.35rem);
  height: auto;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--midnight);
  color: var(--white);
  padding: 2.25rem 1.5rem 2rem;
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 0.9fr 1.2fr;
    text-align: left;
    align-items: start;
    gap: 2rem;
  }

  .site-footer__col--brand {
    padding-right: 0.5rem;
  }
}

.site-footer__heading {
  font-family: var(--font-serif);
  font-size: 0.9rem; /* +20% from 0.75 */
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo img {
  width: 7.8rem; /* +20% from 6.5rem */
  height: auto;
  opacity: 0.95;
}

.site-footer__tagline {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.14rem; /* +20% from 0.95 */
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  max-width: 16rem;
}

.site-footer__col--brand .site-footer__copy {
  margin-top: 0.85rem;
  max-width: 16rem;
  text-align: inherit;
}

@media (max-width: 639px) {
  .site-footer__tagline,
  .site-footer__col--brand .site-footer__copy {
    margin-left: auto;
    margin-right: auto;
  }
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
}

@media (min-width: 640px) {
  .site-footer__nav {
    align-items: flex-start;
  }
}

.site-footer__nav a {
  font-size: 1.02rem; /* +20% from 0.85 */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--white);
}

.site-footer__address {
  font-style: normal;
  font-size: 1.14rem; /* +20% from 0.95 */
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__note {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.02rem; /* +20% from 0.85 */
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__contact {
  margin-top: 0.85rem;
  font-size: 1.14rem; /* +20% from 0.95 */
  line-height: 1.65;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.site-footer__copy {
  font-family: var(--font-serif);
  font-size: 0.86rem; /* +20% from 0.72 */
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__copy a {
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-footer__copy a:hover,
.site-footer__copy a:focus-visible {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* ——— Inner pages: page intro ——— */
.page-intro {
  background-color: var(--cream);
  background-image: url("img/hero/bg-texture.svg");
  background-repeat: repeat;
  background-size: 88px 87px;
  padding: 2.75rem 1.25rem 2.5rem;
  text-align: center;
}

.page-intro__inner {
  max-width: 40rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--hero-shadow);
  padding: 1.75rem 1.5rem 1.85rem;
}

.page-intro__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.page-intro__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--midnight);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-intro__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.page-section {
  padding: 2.5rem 1.25rem 3rem;
}

.page-section--blush {
  background: var(--blush);
}

.page-section--cream {
  background: var(--cream);
}

.page-section--white {
  background: var(--white);
}

.page-section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-section__heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--midnight);
  margin-bottom: 0.65rem;
  text-align: center;
}

.page-section__sub {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ——— Product / rental grid ——— */
.item-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .item-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .item-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.item-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--hero-shadow);
  display: flex;
  flex-direction: column;
}

.item-card__media {
  aspect-ratio: 4 / 3;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.75rem;
}

.item-card__media--gradient {
  padding: 0;
  background:
    linear-gradient(145deg, var(--blush) 0%, var(--cream) 55%, #f0ecd8 100%);
}

.item-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-card__placeholder {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--midnight);
  opacity: 0.45;
  text-align: center;
  padding: 1rem;
}

/* Coming soon overlay (e.g. uniforms grid) */
.coming-soon-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.coming-soon-wrap .page-section__heading,
.coming-soon-wrap .item-grid {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.coming-soon-wrap .item-grid {
  transform: scale(1.01);
}

/*
 * Mobile: only the first product card so the centered badge sits on it
 * (with 3+ cards, vertical centering landed on card 2, below the fold).
 */
@media (max-width: 559px) {
  .coming-soon-wrap .item-grid .item-card:nth-child(n + 2) {
    display: none;
  }

  .coming-soon-wrap .page-section__heading {
    margin-bottom: 0.75rem;
  }
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 248, 0.28);
  pointer-events: none;
  padding: 1.25rem;
}

/* White plaque + simple midnight double border (crest-inspired, simpler) */
.coming-soon-overlay__text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 8vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--midnight);
  text-align: center;
  margin: 0;
  padding: 0.85rem 1.5rem 1rem;
  background: var(--white);
  border: 3px double var(--midnight);
  box-shadow:
    0 0 0 4px var(--white),
    0 0 0 6px var(--midnight),
    0 8px 28px rgba(11, 20, 63, 0.1);
  max-width: min(100%, 22rem);
}

.item-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.item-card__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--midnight);
  line-height: 1.2;
}

.item-card__desc {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-soft);
  flex: 1;
}

.item-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(11, 20, 63, 0.08);
  font-size: 0.95rem;
  color: var(--ink);
}

.item-card__meta strong {
  font-weight: 600;
  color: var(--midnight);
}

/* ——— Info panel (booking / wholesale notes) ——— */
.info-panel {
  max-width: var(--content-max);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(11, 20, 63, 0.06);
  padding: 1.75rem 1.5rem;
}

@media (min-width: 800px) {
  .info-panel {
    padding: 2rem 2.25rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.info-panel h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.65rem;
}

.info-panel p,
.info-panel li {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.info-panel p + p {
  margin-top: 0.75rem;
}

.info-panel ul {
  margin-top: 0.75rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.info-panel li + li {
  margin-top: 0.4rem;
}

.info-panel__aside {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(11, 20, 63, 0.06);
}

.info-panel__aside h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}

.info-panel__aside p {
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  margin-top: 1.15rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--midnight);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #16204f;
  transform: translateY(-1px);
}

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

.btn--coral {
  background: var(--coral);
}

.btn--coral:hover,
.btn--coral:focus-visible {
  background: #e07a78;
}

/* ——— Monogram showcase ——— */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.showcase__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 800px) {
  .showcase__item {
    grid-template-columns: 1.35fr 1fr;
    gap: 2.25rem;
  }

  .showcase__item--flip {
    grid-template-columns: 1fr 1.35fr;
  }

  .showcase__item--flip .showcase__media {
    order: 2;
  }

  .showcase__item--flip .showcase__copy {
    order: 1;
  }
}

.showcase__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--hero-shadow);
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(145deg, var(--blush) 0%, var(--cream) 55%, #f0ecd8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.showcase__copy h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.55rem;
}

.showcase__copy p {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.showcase__tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

a.showcase__media {
  display: block;
  color: inherit;
}

.showcase__copy .btn {
  margin-top: 1.1rem;
}

/* ——— Product page (monogram customize) ——— */
.product-page {
  padding: 2rem 1.25rem 3.5rem;
  background: var(--cream);
}

.product-page__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.product-page__crumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.product-page__crumb a {
  color: var(--lagoon);
  border-bottom: 1px solid transparent;
}

.product-page__crumb a:hover {
  border-bottom-color: var(--lagoon);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--hero-shadow);
  overflow: hidden;
  padding: 1.25rem;
}

@media (min-width: 860px) {
  .product-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 2.25rem;
    padding: 1.75rem;
    align-items: start;
  }
}

.product-layout__media {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--blush) 0%, var(--cream) 55%, #f0ecd8 100%);
}

.product-layout__media img,
.product-gallery__stage img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-gallery {
  position: relative;
}

.product-gallery__stage {
  position: relative;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--midnight);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(11, 20, 63, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__nav:hover {
  background: var(--white);
}

.product-gallery__nav:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 2px;
}

.product-gallery__nav--prev {
  left: 0.65rem;
}

.product-gallery__nav--next {
  right: 0.65rem;
}

.product-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0 0.15rem;
}

.product-gallery__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(11, 20, 63, 0.22);
  cursor: pointer;
}

.product-gallery__dot.is-active {
  background: var(--coral);
}

.product-gallery__dot:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 2px;
}

.product-layout__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--midnight);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.product-layout__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.75rem;
}

.product-layout__price-note {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 0.25rem;
}

.product-layout__tax {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.product-form .form-field {
  margin-bottom: 1.15rem;
}

.form-field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.55rem;
}

.swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  margin: 0;
}

.swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.swatch__chip {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid rgba(11, 20, 63, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.swatch--light .swatch__chip {
  border-color: rgba(11, 20, 63, 0.28);
}

.swatch input:focus-visible + .swatch__chip {
  outline: 2px solid var(--lagoon);
  outline-offset: 2px;
}

.swatch input:checked + .swatch__chip {
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--midnight);
}

.swatch__name {
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
  color: var(--ink-soft);
}

.product-form__submit {
  width: 100%;
  margin-top: 0.35rem;
  text-align: center;
}

.product-form__note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

input[data-transform="letters-upper"] {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Exact screenshot styling (swatches size.png) */
.color-multi {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.swatch-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
  gap: 0.85rem 0.75rem;
}

.swatch--wide {
  align-items: stretch;
  gap: 0.55rem;
}

.swatch--wide .swatch__chip {
  width: 100%;
  height: 2.75rem;
  border-radius: 10px;
}

.swatch--designer .swatch__chip {
  background:
    repeating-linear-gradient(
      -45deg,
      #f3ead8,
      #f3ead8 4px,
      #efe6d5 4px,
      #efe6d5 8px
    ) !important;
}

/* Shared name styles: Navy, Black, Designer's choice, etc. */
.swatch--wide .swatch__name,
.swatch--designer-row .swatch__name {
  font-size: 0.8rem;
  line-height: 1.25;
  padding: 0 0.15rem 0.1rem;
  color: var(--ink-soft);
}

.swatch--wide .swatch__name {
  margin-top: 0.1rem;
}

/* Keep chip + text on one row (beats .form-field label { display:block }) */
.form-field label.swatch--designer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(11, 20, 63, 0.12);
  border-radius: 10px;
  background: var(--cream);
  box-sizing: border-box;
}

.swatch--designer-row .swatch__chip {
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2rem;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Same class as color names; only extra is space beside the chip */
.swatch--designer-row .swatch__name {
  text-align: left;
  white-space: nowrap;
  margin: 0;
  padding-left: 0.55rem;
}

.swatch--designer-row input:checked + .swatch__chip {
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--midnight);
}

.swatch--designer-row:has(input:checked) {
  border-color: var(--midnight);
}

.product-layout__lead {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.product-layout__price-from {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-right: 0.15rem;
}

.form-field label.form-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.4;
  color: var(--midnight);
}

.form-field label.form-check input[type="checkbox"] {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--coral);
  border-radius: 3px;
  cursor: pointer;
}

/* ——— Monograms product grid ——— */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--hero-shadow);
  overflow: hidden;
  min-width: 0;
}

.product-card__media {
  display: block;
  background: linear-gradient(145deg, var(--blush) 0%, var(--cream) 55%, #f0ecd8 100%);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-card__media:hover img {
  transform: scale(1.03);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.35rem;
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.product-card__title a {
  color: var(--midnight);
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--coral);
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--midnight);
  margin: 0 0 0.55rem;
}

.product-card__blurb {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}

.product-card__btn {
  align-self: flex-start;
  text-align: center;
}

/* ——— Contact form ——— */
.contact-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  min-width: 0;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-aside {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 18px rgba(11, 20, 63, 0.06);
}

.contact-aside h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.65rem;
}

.contact-aside p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact-aside p + p {
  margin-top: 0.75rem;
}

.contact-aside__meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 20, 63, 0.08);
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-aside__meta a {
  color: var(--lagoon);
  border-bottom: 1px solid transparent;
}

.contact-aside__meta a:hover {
  border-bottom-color: var(--lagoon);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 4px 18px rgba(11, 20, 63, 0.06);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

@media (min-width: 600px) {
  .contact-form {
    padding: 1.85rem 1.75rem 2rem;
  }
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}

.contact-form > p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  min-width: 0;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.form-field {
  min-width: 0;
  max-width: 100%;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(11, 20, 63, 0.12);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Shared light gray for empty / default field text */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--field-placeholder, #9a94a0);
  opacity: 1;
}

/* “Select one…” empty state */
.form-field select:required:invalid {
  color: var(--field-placeholder, #9a94a0);
}

.form-field select:valid {
  color: var(--ink);
}

.form-field select option {
  color: var(--ink);
}

.form-field select option[value=""] {
  color: var(--field-placeholder, #9a94a0);
}

/*
 * Date field wrapper — mobile browsers often force a huge min-width on
 * input[type=date] and hide empty-state text. We clip the control and
 * paint our own MM/DD/YYYY placeholder when empty.
 */
.date-field {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(11, 20, 63, 0.12);
}

.date-field:focus-within {
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(72, 175, 175, 0.2);
}

/* Higher specificity so base .form-field input styles don’t re-expand the control */
.form-field .date-field__input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0 !important;
  box-sizing: border-box;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px; /* 16px avoids iOS zoom + helps layout */
  line-height: 1.4;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  position: relative;
  z-index: 1;
  box-shadow: none;
  /* Contain WebKit’s intrinsic date control width */
  -webkit-appearance: none;
  appearance: none;
}

.form-field .date-field__input:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

/* Collapse native empty glyphs so our placeholder shows cleanly */
.date-field.is-empty .form-field .date-field__input,
.form-field .date-field.is-empty .date-field__input {
  color: transparent;
}

.form-field .date-field.is-empty .date-field__input::-webkit-datetime-edit,
.form-field .date-field.is-empty .date-field__input::-webkit-datetime-edit-text,
.form-field .date-field.is-empty .date-field__input::-webkit-datetime-edit-month-field,
.form-field .date-field.is-empty .date-field__input::-webkit-datetime-edit-day-field,
.form-field .date-field.is-empty .date-field__input::-webkit-datetime-edit-year-field {
  color: transparent;
}

.date-field__placeholder {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--field-placeholder, #9a94a0);
  pointer-events: none;
  white-space: nowrap;
}

.date-field:not(.is-empty) .date-field__placeholder {
  display: none;
}

/* Hide native calendar icon; full-field hit area still opens the picker */
.form-field .date-field__input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lagoon);
  box-shadow: 0 0 0 3px rgba(72, 175, 175, 0.2);
}

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

.form-field .hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Honeypot — hide from humans, leave available for bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.form-status--info {
  background: rgba(72, 175, 175, 0.12);
  color: var(--ink);
  border: 1px solid rgba(72, 175, 175, 0.35);
}

.form-status--success {
  background: rgba(166, 214, 156, 0.25);
  color: var(--midnight);
  border: 1px solid rgba(166, 214, 156, 0.55);
}

.form-status--error {
  background: rgba(241, 139, 137, 0.15);
  color: #7a2e2c;
  border: 1px solid rgba(241, 139, 137, 0.45);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ——— 404 error page ——— */
.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 4rem;
  background-color: var(--cream);
  background-image: url("img/hero/bg-texture.svg");
  background-repeat: repeat;
  background-size: 88px 87px;
  text-align: center;
}

.error-page__inner {
  max-width: 32rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--hero-shadow);
  padding: 2.25rem 1.75rem 2.35rem;
}

.error-page__code {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(3.5rem, 12vw, 5rem);
  line-height: 1;
  color: var(--coral);
  opacity: 0.85;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.error-page__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  color: var(--midnight);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.error-page__lead,
.error-page__note {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.error-page__note {
  margin-top: 0.75rem;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--ink);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.65rem;
}

.error-page__actions .btn {
  margin-top: 0;
}

.btn--ghost {
  background: transparent;
  color: var(--midnight);
  border: 1px solid rgba(11, 20, 63, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--cream);
  transform: translateY(-1px);
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.35rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11, 20, 63, 0.08);
}

.error-page__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}

.error-page__links a:hover,
.error-page__links a:focus-visible {
  color: var(--midnight);
  border-bottom-color: var(--coral);
}

/* ——— Lookbook slideshow (monograms; uniforms later) ——— */
.lookbook {
  max-width: 720px;
  margin: 0 auto;
}

.lookbook__viewport {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--hero-shadow);
  overflow: hidden;
  outline: none;
}

.lookbook__viewport:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.lookbook__photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: calc(100% - 2.5rem);
  max-height: calc(100% - 2.5rem);
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lookbook__photo.is-active {
  opacity: 1;
  visibility: visible;
}

.lookbook__caption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  color: var(--midnight);
  line-height: 1.2;
}

.lookbook__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 0.75rem;
}

.lookbook__nav {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(11, 20, 63, 0.16);
  background: var(--white);
  color: var(--midnight);
  cursor: pointer;
}

.lookbook__nav:hover,
.lookbook__nav:focus-visible {
  background: var(--midnight);
  color: var(--white);
  border-color: var(--midnight);
}

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

.lookbook__count {
  min-width: 5.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lookbook__cta {
  text-align: center;
}

/* Uniforms: blush into punch (the swatch still named --coral in CSS). */
.lookbook--soon .lookbook__viewport {
  aspect-ratio: 16 / 9;
  background: var(--blush);
}

.lookbook__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--blush) 0%, var(--coral) 100%);
}

.lookbook--soon .coming-soon-overlay {
  border-radius: var(--radius);
  background: transparent;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .social__link,
  .service-card,
  .btn,
  .lookbook__photo {
    transition: none;
  }
}
