/* =========================================================
   Calypso — Main Stylesheet
   ========================================================= */

:root {
  --indigo:     #18345A;
  --dusty-blue: #657D9B;
  --sky-wash:   #BEC8D6;
  --warm-ivory: #E9DBCB;
  --soft-gold:  #BC9554;
  --bg:         #F0ECE8;
  --white:      #FFFFFF;
  --ink:        #18345A; /* body copy now uses indigo instead of black */

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1220px;
  --text-width: 680px;
  --gap: clamp(1.2rem, 3vw, 2.5rem);

  --radius-sm: 3px;
  --radius-md: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--indigo);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 5.4vw, 4.25rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.55rem, 2.4vw, 1.9rem); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 1.8vw, 1.4rem); font-weight: 600; }

p { font-size: 1.09rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 0.9rem;
}

/* Gold line + dot divider — a signature Calypso detail */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 1.3rem 0 2rem;
}
.gold-divider span:not(.dot) {
  width: 34px;
  height: 1px;
  background: var(--soft-gold);
}
.gold-divider .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--soft-gold);
  flex-shrink: 0;
}
.center .gold-divider { justify-content: center; }

.center { text-align: center; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 4vw, 2.8rem);
  position: relative;
  z-index: 1;
}

.text-measure { max-width: var(--text-width); }

.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  border-radius: var(--radius-sm);
}
.btn:hover {
  background: var(--indigo);
  color: var(--white);
  transform: scale(1.045);
  box-shadow: 0 10px 22px rgba(24,52,90,0.16);
}
.btn:active { transform: scale(1.01); }

.btn-solid {
  background: var(--indigo);
  color: var(--white);
}
.btn-solid:hover { background: #0f2340; }

.btn-gold {
  border-color: var(--soft-gold);
  color: var(--soft-gold);
}
.btn-gold:hover { background: var(--soft-gold); color: var(--white); box-shadow: 0 10px 22px rgba(188,149,84,0.22); }

.btn-small { padding: 0.6rem 1.4rem; font-size: 0.72rem; }

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 236, 232, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(24, 52, 90, 0.07);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem clamp(1.4rem, 5vw, 3.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 92px;
}

.brand-mark img { height: 48px; width: auto; }

.main-nav {
  display: flex;
  gap: clamp(1.8rem, 3.4vw, 2.9rem);
}

.main-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--soft-gold);
}

/* ---------------- Editorial text-link (buttons that read as fashion CTAs) ---------------- */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
  transition: gap 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}
.text-link .arrow { transition: transform 0.4s ease; }
.text-link:hover { gap: 16px; }
.text-link-gold { color: var(--soft-gold); }
.text-link-ivory { color: var(--warm-ivory); }
.text-link-ivory:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--indigo);
}

/* ---------------- Hero ---------------- */

.hero {
  text-align: center;
}
.hero-image img {
  width: 100%;
  height: auto;
}
.hero-copy {
  max-width: var(--text-width);
  margin: 0 auto;
  padding: 3rem clamp(1.4rem, 4vw, 2.8rem) 4.5rem;
}
.hero-copy p {
  font-size: 1.15rem;
  color: var(--dusty-blue);
  margin-bottom: 2.2rem;
}

/* ---------------- Hero Carousel ---------------- */

.hero-carousel {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 clamp(1.4rem, 4vw, 2.8rem);
}
.hero-carousel .carousel-eyebrow {
  text-align: center;
  margin-bottom: 1.6rem;
}
.carousel {
  position: relative;
}
.carousel-track-wrap {
  position: relative;
  padding-top: 56.25%;
  background: var(--sky-wash);
}
@media (max-width: 1024px) {
  .carousel-track-wrap {
    overflow: hidden;
  }
}
.carousel-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(24, 52, 90, 0.55);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.carousel-arrow:hover { background: var(--indigo); transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--soft-gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button.active {
  background: var(--soft-gold);
  transform: scale(1.15);
}

/* ---------------- Sections ---------------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--warm-ivory); }
.section-indigo {
  background: var(--indigo);
  color: var(--sky-wash);
}
.section-indigo h2, .section-indigo h3 { color: var(--white); }

/* ---------------- Category grid (home) — editorial mosaic, not uniform cards ---------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.6rem;
}
.category-grid .category-card:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}
@media (max-width: 720px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-grid .category-card:first-child { aspect-ratio: 4 / 5; }
}

.category-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(24,52,90,0.07);
}
.category-card.has-photo {
  border: none;
  background: var(--indigo);
}
.category-card .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity 0.4s ease;
}
.category-card.has-photo .bg-photo {
  opacity: 0.4;
}
.category-card:hover .bg-photo {
  transform: scale(1);
}
.category-card.has-photo:hover .bg-photo {
  opacity: 0.5;
}
.category-card .category-text {
  position: relative;
  z-index: 2;
  padding: 2.4rem;
}
.category-card:not(.has-photo) .category-text { padding: 1rem; }
.category-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.6rem;
}
.category-card.has-photo h3 { color: var(--white); }

/* ---------------- DNA grid (about page) — stays simple, centered tiles ---------------- */

.dna-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.7rem;
  margin-top: 2.4rem;
}
.dna-grid .dna-item {
  flex: 0 1 calc(33.333% - 1.14rem);
  min-width: 240px;
}
@media (max-width: 900px) {
  .dna-grid .dna-item { flex: 0 1 calc(50% - 0.85rem); }
}
@media (max-width: 560px) {
  .dna-grid .dna-item { flex: 0 1 100%; }
}

/* ---------------- DNA story bands (about page — 1c) ---------------- */

.dna-story-intro {
  max-width: var(--text-width);
  margin: 0 auto;
  color: var(--dusty-blue);
}

.dna-story-bands {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
}

.dna-story-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(24, 52, 90, 0.08);
}
.dna-story-band:last-child { border-bottom: 1px solid rgba(24, 52, 90, 0.08); }

.dna-story-media {
  position: relative;
  z-index: 1;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: var(--sky-wash);
}
.dna-story-media--tall { min-height: 520px; }
.dna-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dna-story-band--reverse .dna-story-copy {
  align-items: flex-end;
  text-align: right;
}

.dna-story-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 3.4vw, 2.9rem);
  padding: clamp(2.6rem, 5vw, 4.6rem) clamp(1.8rem, 5vw, 5rem);
}

.dna-story-num {
  display: block;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--soft-gold);
  margin-bottom: 0.65rem;
}

.dna-story-copy .dna-item h4 { margin-bottom: 0.85rem; }
.dna-story-copy .dna-item p { margin: 0; max-width: 42ch; }

@media (max-width: 860px) {
  .dna-story-band { grid-template-columns: 1fr; }
  /* image always sits above its copy when stacked */
  .dna-story-band--reverse .dna-story-media { grid-row: 1; }
  .dna-story-media,
  .dna-story-media--tall { min-height: 320px; }
  /* Right-alignment only makes sense next to the watermark in the
     two-column desktop layout — once stacked, match the other bands. */
  .dna-story-band--reverse .dna-story-copy {
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------------- Pull quote ---------------- */

.pull-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  color: var(--indigo);
  line-height: 1.5;
}

/* ---------------- Filters (shop) ---------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 2.2rem 0 3.2rem;
}
.filter-bar a {
  padding: 0.55rem 1.2rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--dusty-blue);
  color: var(--dusty-blue);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.filter-bar a:hover,
.filter-bar a.active {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

/* ---------------- Item grid / cards ---------------- */

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem 1.5rem;
}

.item-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(24,52,90,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.item-card:hover { box-shadow: 0 18px 34px rgba(24,52,90,0.10); }

.item-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sky-wash);
}
.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.item-card:hover .item-thumb img { transform: scale(1.035); }

.item-thumb .no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dusty-blue);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
}

.status-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 0.75rem;
  background: var(--indigo);
  color: var(--white);
}
.status-badge.sold { background: var(--soft-gold); }

.item-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 52, 90, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.item-card:hover .item-hover-overlay { opacity: 1; }
.item-hover-overlay span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  padding: 0.65rem 1.5rem;
}

.item-info {
  padding: 1.2rem 1.3rem 1.5rem;
}
.item-info .item-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--soft-gold);
  display: block;
  margin-bottom: 0.35rem;
}
.item-info h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }

/* Colourway swatches on item cards */
.swatch-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(24,52,90,0.15);
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
}
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch-more {
  font-size: 0.72rem;
  color: var(--dusty-blue);
  margin-left: 0.15rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--dusty-blue);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

/* ---------------- Item detail page ---------------- */

.item-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .item-detail { grid-template-columns: 1fr; }
}

.gallery-main {
  aspect-ratio: 3/4;
  background: var(--sky-wash);
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.gallery-thumbs img {
  width: 70px;
  height: 92px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: 0.7;
  transition: all 0.2s ease;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--indigo);
}

.detail-cat {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--soft-gold);
}
.detail-status {
  display: inline-block;
  margin: 0.7rem 0 1.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  background: var(--indigo);
  color: var(--white);
}
.detail-status.sold { background: var(--soft-gold); }

.detail-desc { color: var(--ink); margin-bottom: 1rem; }
.detail-fabric {
  font-size: 0.92rem;
  color: var(--dusty-blue);
  margin-bottom: 1.6rem;
}
.detail-fabric strong { color: var(--indigo); }

/* Colourway picker on item detail */
.colorway-picker { margin: 1.6rem 0 1.8rem; }
.colorway-picker .picker-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.7rem;
}
.colorway-picker .picker-label .current-color {
  color: var(--dusty-blue);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}
.colorway-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.colorway-option {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 2px;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.colorway-option img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.colorway-option:hover { transform: scale(1.06); }
.colorway-option.active { border-color: var(--soft-gold); }
.colorway-option.is-sold::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgba(240,236,232,0.55);
}

/* ---------------- Forms ---------------- */

.inquiry-box {
  background: var(--white);
  border: 1px solid rgba(24,52,90,0.08);
  padding: 2rem;
}
.inquiry-box h4 {
  margin-bottom: 0.3rem;
}
.inquiry-box .subtext {
  font-size: 0.92rem;
  color: var(--dusty-blue);
  margin-bottom: 1.4rem;
}

.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.45rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--sans);
  font-size: 1rem;
  border: 1px solid var(--sky-wash);
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--dusty-blue);
}
.form-row textarea { resize: vertical; min-height: 90px; }

.form-msg {
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.3rem;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
}
.form-msg.success { background: #e6efe6; color: #2b5f2b; border-left: 3px solid #2b5f2b; }
.form-msg.error   { background: #f6e6e6; color: #7a2b2b; border-left: 3px solid #7a2b2b; }

/* ---------------- About page ---------------- */

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .about-block { grid-template-columns: 1fr; }
}
.about-block.reverse .about-copy { order: 2; }
.about-block.reverse .about-media {
  order: 1;
}
@media (min-width: 861px) {
  .about-block.reverse .about-media {
    padding-left: clamp(2.2rem, 5vw, 4.5rem);
  }
}
@media (max-width: 860px) {
  .about-block.reverse .about-copy,
  .about-block.reverse .about-media { order: initial; }
}
.about-media img {
  width: 100%;
}
@media (min-width: 861px) {
  .about-block.reverse .about-media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}
.about-block.reverse .about-media picture {
  display: block;
  width: 100%;
}
@media (min-width: 861px) {
  .about-block.reverse {
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    grid-template-columns: 1fr minmax(320px, 530px);
  }
}
.dna-item h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--indigo);
  border-bottom: 1px solid var(--soft-gold);
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-bottom: 0.7rem;
}
.dna-item p { font-size: 0.98rem; color: var(--ink); }

.seal-badge {
  width: 100%;
  max-width: 450px;
  margin: 2.4rem auto 0;
  padding: 1.2rem;
  background: var(--warm-ivory);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 34px rgba(0,0,0,0.20);
}

.woman-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}
.woman-list li {
  padding: 0.65rem 0;
  border-bottom: 1.5px solid rgba(101, 125, 155, 0.45);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: var(--serif);
  font-style: italic;
}

/* ---------------- Contact page ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 0.35rem;
}
.contact-info .info-row { margin-bottom: 1.7rem; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--indigo);
  color: var(--sky-wash);
  padding: clamp(3.2rem, 7vw, 5rem) 0 0;
  overflow: hidden;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 4vw, 2.8rem);
  text-align: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 150px; margin: 0 auto 1rem; }
.footer-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-ivory);
  margin-bottom: 2.4rem;
}
.footer-cols {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  font-family: var(--sans);
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  color: var(--sky-wash);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.3rem clamp(1.4rem, 4vw, 2.8rem);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--dusty-blue);
}
.footer-admin { color: var(--dusty-blue); }
.footer-admin:hover { color: var(--white); }

/* ---------------- Editorial homepage sections ---------------- */

.statement-block {
  max-width: 760px;
  margin: 0 auto;
}
.statement-block h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
}

.section-photo {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--indigo);
}
.section-photo .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-photo .section-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 52, 90, 0.55);
}
.section-photo .section-photo-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem;
}
.section-photo .section-photo-content h2 { color: var(--white); }
.section-photo.no-photo { background: var(--indigo); }

/* ---------------- Reveal-on-scroll ---------------- */

.reveal {
  transition: opacity 0.9s ease, transform 0.9s ease;
}
/* Only hide-then-reveal once JS has confirmed it's running (see header.php) —
   this way, if JavaScript fails to load for any reason, content marked
   .reveal is simply visible immediately instead of staying stuck at 0% opacity. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Responsive nav ---------------- */

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem clamp(1.4rem, 4vw, 2.8rem) 1.6rem;
    display: none;
    border-bottom: 1px solid rgba(24,52,90,0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.65rem 0; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
}

/* ---------------- Page header (interior pages) ---------------- */

.page-header {
  text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 1.2rem;
}
@media (max-width: 600px) {
  .page-header .eyebrow {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
}
.page-header p.lead {
  max-width: var(--text-width);
  margin: 0 auto;
  color: var(--dusty-blue);
  font-size: 1.1rem;
}

.shop-decor {
  position: relative;
}
.shop-decor .page-header,
.shop-decor > section.section {
  position: relative;
  z-index: 1;
}
.corner-accent {
  position: absolute;
  width: clamp(110px, 22vw, 240px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.corner-accent.corner-tl { top: 0; left: 0; }
.corner-accent.corner-br { bottom: 0; right: 0; }
.corner-accent.corner-tr { top: 0; right: 0; }
.corner-accent.corner-bl { bottom: 0; left: 0; }
.corner-accent.flip-x { transform: scaleX(-1); }

/* ---------------- Honeypot Field ---------------- */

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
