/* ====================================================
   THEARKAS — styles.css
   Premium editorial fashion website
   Mobile-first, CSS variables, clamp() typography
==================================================== */

/* ====================================================
   1. CSS VARIABLES
==================================================== */
:root {
  /* Brand colours */
  --clr-bg:         #EBEAE6;
  --clr-text:       #111111;
  --clr-white:      #FFFFFF;
  --clr-sage:       #B8C0B7;
  --clr-terracotta: #C8A898;
  --clr-beige:      #D9D0C0;
  --clr-muted:      #6B6B6B;
  --clr-border:     rgba(17,17,17,0.12);

  /* Typography */
  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  6rem;
  --sp-2xl: 9rem;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur: 0.45s;
}

/* ====================================================
   2. RESET & BASE
==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-sans);
  font-weight: 400;          /* 300 → 400 */
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ====================================================
   3. TYPOGRAPHY UTILITIES
==================================================== */
.label {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: clamp(0.625rem, 1.2vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--sp-sm);
}

em { font-style: italic; }

/* ====================================================
   4. BUTTONS
==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-sans);
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  font-weight: 500;          /* 400 → 500 */
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-text);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--clr-text);
  color: var(--clr-white);
  padding: 0.875rem 2rem;
}
.btn--primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17,17,17,0.18);
}

.btn--secondary {
  background: transparent;
  color: var(--clr-text);
  padding: 0.875rem 2rem;
  border: 1.5px solid var(--clr-text);
}
.btn--secondary:hover {
  background: var(--clr-text);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--clr-border);
}
.btn--outline:hover {
  background: var(--clr-text);
  color: var(--clr-white);
  border-color: var(--clr-text);
}

.btn--text {
  background: transparent;
  color: var(--clr-text);
  padding: 0;
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 2px;
  letter-spacing: 0.04em;
}
.btn--text:hover {
  border-color: var(--clr-text);
}

.btn__icon { flex-shrink: 0; }

/* ====================================================
   5. ANIMATIONS
==================================================== */
@media (prefers-reduced-motion: no-preference) {

  .fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .img-reveal {
    overflow: hidden;
  }
  .img-reveal img {
    transform: scale(1.06);
    transition: transform 0.9s var(--ease);
  }
  .img-reveal.is-visible img {
    transform: scale(1);
  }
  .img-reveal--delay { transition-delay: 0.15s; }

  .design__media img {
    transition: transform 0.55s var(--ease);
  }
  .design:hover .design__media img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .img-reveal { opacity: 1; transform: none; }
  .img-reveal img { transform: none; }
}

/* ====================================================
   6. NAVIGATION
==================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(235,234,230,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--clr-border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--clr-text);
}
.nav__logo:hover { opacity: 0.7; }

.nav__links {
  display: none;
  gap: var(--sp-md);
  align-items: center;
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;          /* 400 → 500 */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color 0.2s;
}
.nav__link:hover, .nav__link--cta { color: var(--clr-text); }
.nav__link--cta {
  border-bottom: 1px solid var(--clr-text);
  padding-bottom: 1px;
}

/* Mobile menu toggle */
.nav__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-tap-highlight-color: transparent;
}
.nav__menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-text);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  transform-origin: center;
}
@media (min-width: 768px) { .nav__menu-toggle { display: none; } }

/* Mobile menu open state */
.nav__menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  background: rgba(235,234,230,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.nav__mobile.is-open { max-height: 260px; }

.nav__mobile ul {
  padding: var(--sp-sm) var(--gutter) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.nav__mobile-link {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;          /* 400 → 500 */
  color: var(--clr-text);
}

/* Collection page back link */
.nav__back {
  font-size: 0.8125rem;
  font-weight: 500;          /* 400 → 500 */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color 0.2s;
}
.nav__back:hover { color: var(--clr-text); }

/* ====================================================
   7. SECTION WRAPPERS
==================================================== */
section {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}

/* ====================================================
   8. HERO
==================================================== */
.hero {
  min-height: 100svh;
  padding-top: calc(68px + var(--sp-lg));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Decorative abstract shapes */
.hero__shape {
  position: absolute;
  border-radius: 50% 60% 40% 70% / 50% 40% 60% 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.hero__shape--sage {
  width: clamp(220px, 35vw, 480px);
  height: clamp(220px, 35vw, 480px);
  background: var(--clr-sage);
  top: 8%;
  right: -8%;
  border-radius: 62% 38% 55% 45% / 48% 62% 38% 52%;
}
.hero__shape--terracotta {
  width: clamp(100px, 15vw, 200px);
  height: clamp(100px, 15vw, 200px);
  background: var(--clr-terracotta);
  bottom: 12%;
  left: 4%;
  border-radius: 40% 60% 70% 30% / 60% 40% 60% 40%;
  opacity: 0.25;
}

.hero__layout {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    min-height: 80vh;
    align-items: center;
  }
}

.hero__text { order: 2; }
@media (min-width: 900px) { .hero__text { order: 1; } }

.hero__heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 400;          /* 300 → 400 */
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-md);
  color: var(--clr-text);
}
.hero__heading em {
  color: var(--clr-text);
  font-style: italic;
  font-weight: 400;          /* 300 → 400 */
}

.hero__sub {
  font-size: clamp(0.9rem, 1.6vw, 1.0625rem);
  color: var(--clr-muted);
  max-width: 34ch;
  margin-bottom: var(--sp-md);
  line-height: 1.65;
  font-weight: 400;          /* 300 (body) → explicit 400 */
}

.br-desktop { display: none; }
@media (min-width: 768px) { .br-desktop { display: block; } }

.hero__btn { margin-top: var(--sp-xs); }

/* Images */
.hero__images {
  order: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero__images {
    order: 2;
    grid-template-columns: 3fr 2fr;
    gap: var(--sp-sm);
    align-items: end;
  }
}

.hero__img-main {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.hero__img-main img { width: 100%; height: 100%; object-fit: cover; }

.hero__img-accent {
  display: none;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
  margin-bottom: var(--sp-md);
}
@media (min-width: 900px) { .hero__img-accent { display: block; } }
.hero__img-accent img { width: 100%; height: 100%; object-fit: cover; }

/* Scroll line indicator */
.hero__scroll {
  display: none;
  position: absolute;
  bottom: var(--sp-md);
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 900px) { .hero__scroll { display: block; } }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--clr-muted));
  margin: 0 auto;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; opacity: 0.4; }
}

/* ====================================================
   9. ABOUT
==================================================== */
.about {
  overflow: hidden;
}

.about__shape {
  position: absolute;
  top: 10%;
  right: -5%;
  width: clamp(150px, 20vw, 280px);
  height: clamp(150px, 20vw, 280px);
  background: var(--clr-beige);
  border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.about__layout {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
@media (min-width: 900px) {
  .about__layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 7rem);
  }
}

.about__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 640px;
}
.about__image img { width: 100%; height: 100%; object-fit: cover; }

.about__image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--clr-sage);
  pointer-events: none;
  z-index: -1;
}

.about__text { display: flex; flex-direction: column; gap: var(--sp-sm); }

.about__heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;          /* 300 → 400 */
  line-height: 1.1;
  margin-bottom: var(--sp-xs);
}
.about__heading em { font-style: italic; }

.about__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--clr-muted);
  font-size: clamp(0.9rem, 1.4vw, 1.0625rem);
  font-weight: 400;          /* 300 (body) → explicit 400 */
  max-width: 42ch;
  margin-bottom: var(--sp-sm);
}

/* ====================================================
   10. THANK YOU
==================================================== */
.thankyou {
  background: var(--clr-text);
  color: var(--clr-white);
  text-align: center;
  overflow: hidden;
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}

.thankyou__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.thankyou__shape--a {
  width: clamp(200px, 30vw, 420px);
  height: clamp(200px, 30vw, 420px);
  background: rgba(184, 192, 183, 0.07);
  top: -8%;
  left: -6%;
  border-radius: 40% 60% 55% 45% / 50% 50% 50% 50%;
}
.thankyou__shape--b {
  width: clamp(120px, 18vw, 250px);
  height: clamp(120px, 18vw, 250px);
  background: rgba(200, 168, 152, 0.08);
  bottom: 5%;
  right: 5%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.thankyou__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.thankyou__label { color: rgba(255,255,255,0.45); }

.thankyou__heading {
  font-family: var(--ff-serif);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 400;          /* 300 → 400 */
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em;
  flex-wrap: wrap;
}

.thankyou__script {
  font-style: italic;
  font-weight: 400;          /* 300 → 400 */
  color: var(--clr-terracotta);
}

.thankyou__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  font-weight: 400;          /* 300 (body) → explicit 400 */
  line-height: 1.75;
  max-width: 50ch;
  margin: 0 auto var(--sp-md);
}

.thankyou__sign {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-style: italic;
  font-weight: 400;          /* 300 → 400 */
  color: var(--clr-sage);
  margin-top: var(--sp-sm);
}

/* ====================================================
   11. WHERE TO BUY
==================================================== */
.buy { background: var(--clr-bg); }

.buy__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-sm);
}
@media (min-width: 768px) {
  .buy__inner { max-width: 640px; }
}

.buy__heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;          /* 300 → 400 */
  line-height: 1.08;
}
.buy__heading em { font-style: italic; }

.buy__sub {
  color: var(--clr-muted);
  max-width: 40ch;
  margin-bottom: var(--sp-xs);
}

.buy__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  width: 100%;
  margin-top: var(--sp-sm);
}
@media (min-width: 480px) {
  .buy__buttons {
    flex-direction: row;
    width: auto;
  }
}

.buy__btn {
  justify-content: center;
  min-width: 180px;
}

.buy__collection-link {
  margin-top: var(--sp-md);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--clr-muted);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.buy__collection-link:hover {
  color: var(--clr-text);
  border-color: var(--clr-text);
}

/* ====================================================
   12. FOOTER
==================================================== */
.footer {
  padding: var(--sp-lg) var(--gutter);
  border-top: 1px solid var(--clr-border);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
  }
}

.footer__logo {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.footer__tagline {
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

.footer__links {
  display: flex;
  gap: var(--sp-md);
}

.footer__link {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--clr-text); }

.footer__copy {
  font-size: 0.75rem;
  color: var(--clr-muted);
}
@media (min-width: 768px) {
  .footer__copy { text-align: right; }
}

/* ====================================================
   13. COLLECTION PAGE — HEADER
==================================================== */
.collection-page .nav { background: rgba(235,234,230,0.96); }

.col-header {
  padding-top: calc(68px + var(--sp-lg));
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: var(--sp-lg);
}

.col-header__heading {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;          /* 300 → 400 */
  line-height: 1.05;
  margin-bottom: var(--sp-xs);
}
.col-header__heading em { font-style: italic; }

.col-header__sub {
  color: var(--clr-muted);
  font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
  font-weight: 400;          /* body → explicit 400 */
  max-width: 36ch;
}

/* ====================================================
   14. COLLECTION PAGE — DESIGNS
   Uniform responsive grid:
   Mobile  → 1 column
   Tablet  → 2 columns  (last item centred)
   Desktop → 3-col row 1, 2-col row 2 centred
==================================================== */

/* ---- Grid wrapper ---- */
.designs {
  /* Use a centred wrapper so the grid itself can be centred */
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Inner grid ---- */
.designs__grid {
  display: grid;
  grid-template-columns: 1fr;               /* Mobile: 1 column */
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* Tablet: 2 columns */
@media (min-width: 600px) {
  .designs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Centre the lone 5th item on its row */
  .designs__grid .design:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - clamp(0.75rem, 2vw, 1.25rem));
    margin-inline: auto;
  }
}

/* Desktop: 3 columns row 1, 2 columns row 2 centred */
@media (min-width: 960px) {
  .designs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Row 2: designs 4 & 5 — centre a 2-item row inside a 3-col grid.
     We place them in columns 1-2 starting from col 1, then shift right
     by half a column using a subgrid trick via auto margins on the row. */
  .designs__grid .design:nth-child(4) {
    grid-column: 1 / 2;
    /* The pair (4+5) will sit in cols 1-2; shift the pair to centre:
       wrap them in a pseudo-row by pushing col 4 to col-start 1 */
  }
  /* Centering a 2-of-3 row: put items 4 and 5 in columns 1 and 2,
     then the grid row only has 2 items so it stays left by default.
     We use a negative grid trick: items 4 & 5 occupy columns 1–3
     as a group with justify-content centre via a nested flex wrapper. */

  /* Simpler robust approach: give items 4 & 5 explicit column placement
     so they sit centred (cols 1-2 with a left offset of 0.5 col unit). */
  .designs__grid .design:nth-child(4) { grid-column: 1 / 2; }
  .designs__grid .design:nth-child(5) { grid-column: 2 / 3; }

  /* Wrap items 4 & 5 visually centred by spanning a helper row.
     CSS-only approach: use a pseudo-element row or subgrid.
     Most reliable: override the grid on the last two items so they
     together occupy one centred "2-of-3" row. */

  /* Override grid to 6 implicit columns for fine centering control */
  .designs__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  /* Row 1: 3 items each spanning 2 of 6 columns */
  .designs__grid .design:nth-child(1) { grid-column: 1 / 3; }
  .designs__grid .design:nth-child(2) { grid-column: 3 / 5; }
  .designs__grid .design:nth-child(3) { grid-column: 5 / 7; }
  /* Row 2: 2 items centred — col 2-4 and col 4-6 → offset by 1 unit */
  .designs__grid .design:nth-child(4) { grid-column: 2 / 4; }
  .designs__grid .design:nth-child(5) { grid-column: 4 / 6; }

  /* Reset the last-child override from tablet */
  .designs__grid .design:last-child:nth-child(odd) {
    grid-column: unset;
    max-width: unset;
    margin-inline: unset;
  }
}

/* ---- Individual card ---- */
.design {
  position: relative;
  /* No width/height overrides — the grid column defines the width */
}

/* ---- Image container — uniform aspect ratio on all cards ---- */
.design__media {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;   /* Portrait product ratio, identical on every card */
}

.design__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Fill the container; swap to contain for flat graphics */
  display: block;
  transition: transform 0.55s var(--ease);
}

.design:hover .design__media img {
  transform: scale(1.04);
}

/* ---- Card info row ---- */
.design__info {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  padding-top: 0.75rem;
}

.design__number {
  font-size: 0.6875rem;
  font-weight: 400;       /* kept light — metadata */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-muted);
  flex-shrink: 0;
}

.design__name {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;       /* stepped up from 300 */
  letter-spacing: 0.01em;
}

/* ====================================================
   15. COLLECTION PAGE — CTA
==================================================== */
.col-cta {
  text-align: center;
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
  border-top: 1px solid var(--clr-border);
  margin-top: var(--sp-xl);
}

.col-cta__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}

.col-cta__heading {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;          /* 300 → 400 */
  font-style: italic;
}

.col-cta__sub {
  color: var(--clr-muted);
  margin-bottom: var(--sp-sm);
}

.col-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  width: 100%;
}
@media (min-width: 480px) {
  .col-cta__buttons {
    flex-direction: row;
    width: auto;
    justify-content: center;
  }
}

/* ====================================================
   16. UTILITY — HIDE / SHOW
==================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
