/* ========================================
   MAISON K — Brand Stylesheet
   Honoring Kim's identity: grey + white, Goudy Old Style + Century Gothic.
   Simple, clean, classic.
   ======================================== */

/* Sorts Mill Goudy = the canonical free Goudy Old Style for web.
   Jost = a geometric sans-serif close to Century Gothic for users without it locally. */
@import url('https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy:ital@0;1&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ---- Custom Properties ---- */
:root {
  /* Brand palette: pure grey on white, no warm accents */
  --white: #FFFFFF;
  --off-white: #F8F8F7;   /* very subtle section variation */
  --silver: #E5E5E5;      /* light borders & separators */
  --grey-soft: #B5B5B5;   /* muted text */
  --grey: #8B8B8B;        /* the brand grey (matches the butterfly on her collateral) */
  --grey-deep: #5E5E5E;   /* darker grey for accents */
  --ink: #2F2F2F;         /* near-black for primary text */
  --ink-soft: #4E4E4E;
  --ink-muted: #8B8B8B;

  /* Backwards-compatible aliases so prior class names still resolve cleanly */
  --cream: var(--white);
  --cream-warm: var(--off-white);
  --sand: var(--silver);
  --sand-light: var(--silver);
  /* Terracotta is intentionally retired — these now resolve to grey for any
     stray rule we haven't manually rewritten. */
  --terracotta: var(--grey);
  --terracotta-light: var(--silver);
  --terracotta-deep: var(--grey-deep);
  --gold: var(--grey);
  --gold-light: var(--silver);
  --olive: var(--grey);
  --sea: var(--grey);

  --font-display: 'Sorts Mill Goudy', 'Goudy Old Style', 'Goudy', Garamond, Georgia, serif;
  --font-body: 'Century Gothic', 'CenturyGothic', 'Apple Gothic', 'Jost', 'Futura', 'Trebuchet MS', sans-serif;

  --section-pad: clamp(64px, 10vw, 140px);
  --section-pad-sm: clamp(40px, 6vw, 80px);
  --content-width: 1200px;
  --content-narrow: 800px;
  --content-wide: 1400px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-height: 72px;
}


/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--white); /* matches splash + body: clean white per brand */
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  /* Century Gothic is wider than Cormorant Garamond was — scale down ~1px */
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--white);
  overflow-x: hidden;
  /* Note: no opacity:0 here — opacity on the body would inherit to the inline
     splash element. The splash itself sits at z-index 10000 and covers the
     page until JS dismisses it. */
}

/* .loaded class retained for any future hooks but no longer drives the
   page reveal — the splash fade-out reveals what's beneath it. */
body.loaded {
  opacity: 1;
}

/* Subtle linen texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 3.5vw, 48px); }
h3 { font-size: clamp(24px, 2vw, 32px); }
h4 { font-size: clamp(20px, 1.5vw, 24px); }

::selection {
  background: var(--sand);
  color: var(--ink);
}

/* Focus-visible states for accessibility */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.nav__link:focus-visible,
.nav__icon:focus-visible,
.nav__hamburger:focus-visible {
  outline-offset: 4px;
}

.shop-category:focus-visible,
.journal-filter:focus-visible {
  outline-offset: 0;
}

.newsletter__input:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--terracotta);
}


/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--wide {
  max-width: var(--content-wide);
}

.text-center { text-align: center; }
.text-muted { color: var(--ink-muted); }
.text-gold { color: var(--terracotta); }

.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;
}

/* Gold separator */
.separator {
  width: 48px;
  height: 1px;
  background: var(--terracotta);
  border: none;
  margin: 32px auto;
}

.separator--left {
  margin-left: 0;
}


/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-fade {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.reveal-fade.revealed {
  opacity: 1;
}


/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--sand);
}

.nav--light .nav__logo,
.nav--light .nav__link,
.nav--light .nav__icon {
  color: var(--white);
}

.nav--light.nav--scrolled .nav__logo,
.nav--light.nav--scrolled .nav__link,
.nav--light.nav--scrolled .nav__icon {
  color: var(--ink);
}

/* Subtle dark gradient behind the nav when over a hero photo,
   so the white logo + links always have contrast. Fades out when scrolled. */
.nav--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
  z-index: 0;
}

.nav--light.nav--scrolled::before {
  opacity: 0;
}

.nav__inner {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1; /* sits above the .nav--light::before gradient */
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav__logo:hover {
  opacity: 0.75;
}

/* Just the butterfly logo — Kim removed the wordmark.
   Larger so the butterfly + MAISON K read clearly (Kim: was too small). */
.nav__logo-icon {
  height: 64px;
  width: auto;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

/* Legacy wordmark + depuis selectors retained for any stray HTML;
   hidden so they don't render even if a page still has them. */
.nav__logo-text,
.nav__logo-depuis {
  display: none;
}

.nav--light .nav__logo-icon {
  filter: brightness(0) invert(1);
}

.nav--light.nav--scrolled .nav__logo-icon {
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.4s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__icon {
  color: var(--ink);
  transition: color 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__icon:hover {
  color: var(--terracotta);
}

.nav__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.nav__icon[aria-label="Search"] {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 6px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

.nav--light .nav__hamburger span {
  background: var(--white);
}

.nav--light.nav--scrolled .nav__hamburger span {
  background: var(--ink);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

.nav__hamburger--open span {
  background: var(--ink) !important;
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay__links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav-overlay__link {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s ease;
}

.nav-overlay.active .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__link:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__link:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.active .nav-overlay__link:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__link:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.active .nav-overlay__link:nth-child(5) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__link:nth-child(6) { transition-delay: 0.35s; }

.nav-overlay__link:hover {
  color: var(--terracotta);
}


/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 48px) clamp(60px, 8vh, 120px);
  overflow: hidden;
}

.hero--short {
  height: 70vh;
  min-height: 450px;
  max-height: 800px;
}

.hero--shorter {
  height: 50vh;
  min-height: 350px;
  max-height: 600px;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image--parallax img {
  height: 120%;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(58, 51, 48, 0.45) 0%,
    rgba(58, 51, 48, 0.12) 35%,
    rgba(47, 47, 47, 0.04) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  letter-spacing: 0.12em;
  opacity: 0.9;
  text-transform: uppercase;
}

.hero__title--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero__subtitle--montecito {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  margin-top: 0;
}

/* Hero placeholder gradient for prototype */
.hero__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Warm, sun-drenched Mediterranean gradients */
.hero__placeholder--home {
  background:
    linear-gradient(160deg, #e0cdb0 0%, #d4b89a 25%, #c4a080 50%, #b8946c 100%);
}

.hero__placeholder--about {
  background:
    linear-gradient(160deg, #ddd0b8 0%, #d0b898 30%, #c4a484 60%, #b09070 100%);
}

.hero__placeholder--travel {
  background:
    linear-gradient(160deg, #c8d4d8 0%, #b0c4cc 25%, #c4a888 60%, #b09470 100%);
}

.hero__placeholder--press {
  background:
    linear-gradient(160deg, #e0d4c0 0%, #d4c0a4 40%, #c4ac8c 100%);
}

.hero__placeholder--journal {
  background:
    linear-gradient(160deg, #dcd0b8 0%, #d0bc9c 40%, #c4a884 100%);
}

.hero__placeholder--visit {
  background:
    linear-gradient(160deg, #d8ccb0 0%, #c8b898 40%, #b8a480 100%);
}

.hero__placeholder--paris {
  background:
    linear-gradient(160deg, #d0c4b0 0%, #c4b49c 30%, #b8a088 70%, #a89078 100%);
}

.hero__placeholder--nyc {
  background:
    linear-gradient(160deg, #c8c0b4 0%, #b8b0a4 30%, #a89888 70%, #988878 100%);
}

.hero__placeholder--sb {
  background:
    linear-gradient(160deg, #d0c8b0 0%, #b8d0d8 30%, #a0c0cc 60%, #90b0b8 100%);
}

.hero__placeholder--shop {
  background:
    linear-gradient(160deg, #dcd0b8 0%, #d4bc9c 30%, #c8a880 60%, #bc9468 100%);
}


/* ================================================
   LOOKBOOK / PRIVATE LABEL SECTION
   ================================================ */
.lookbook {
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.lookbook__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  min-height: 560px;
}

.lookbook__image {
  position: relative;
  overflow: hidden;
  background: var(--sand-light);
}

.lookbook__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.lookbook__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 72px);
  background: var(--cream-warm);
}

.lookbook__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.lookbook__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}

.lookbook__subtitle {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.lookbook__body {
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 460px;
}

.lookbook__body p + p {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .lookbook__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lookbook__image {
    aspect-ratio: 4 / 3;
    position: relative;
  }

  .lookbook__image img {
    position: absolute;
  }
}


/* ================================================
   ONE-OF-A-KIND / DISCOVERIES SECTION
   ================================================ */
.discoveries {
  padding: var(--section-pad) 0;
}

.discoveries__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}

.discoveries__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand-light);
}

.discoveries__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.discoveries__item:hover img {
  transform: scale(1.04);
}

.discoveries__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 51, 48, 0.5) 0%, transparent 50%);
  z-index: 1;
}

.discoveries__item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(16px, 2vw, 28px);
  z-index: 2;
  color: var(--white);
}

.discoveries__item-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  font-style: italic;
}

.discoveries__item-origin {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .discoveries__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* ================================================
   COMING SOON CARD (Travel)
   ================================================ */
.city-card--coming-soon {
  pointer-events: none;
}

.city-card--coming-soon .city-card__image img {
  filter: grayscale(0.4);
  opacity: 0.7;
}

.city-card--coming-soon .city-card__cta {
  font-style: italic;
  opacity: 0.6;
}

.city-cards--coming-soon {
  opacity: 0.6;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollHintFloat 2.5s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

@keyframes scrollHintFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


/* ================================================
   SECTIONS
   ================================================ */
.section {
  padding: var(--section-pad) 0;
}

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

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

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 24px;
}

.section__subtitle {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.3vw, 22px);
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section__subtitle--centered {
  margin-left: auto;
  margin-right: auto;
}


/* ================================================
   INTRO BLOCK
   ================================================ */
.intro {
  padding: var(--section-pad) 0;
  text-align: center;
}

.intro__headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.3;
}

.intro__body {
  font-size: clamp(18px, 1.3vw, 21px);
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
}

.intro__body em {
  font-style: italic;
  color: var(--ink);
}


/* ================================================
   LOCATION CARD
   ================================================ */
.location {
  padding: var(--section-pad-sm) 0;
}

.location__card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: clamp(40px, 5vw, 72px);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.location__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.location__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 28px;
}

.location__detail {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 6px;
  line-height: 1.7;
}

.location__detail a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--sand);
  transition: border-color 0.3s ease;
}

.location__detail a:hover {
  border-bottom-color: var(--terracotta);
}


/* ================================================
   EDITORIAL GRID (2-3 column cards)
   ================================================ */
.edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

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

.edit-card {
  text-decoration: none;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.edit-card:hover {
  transform: translateY(-4px);
}

.edit-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: clamp(16px, 1.5vw, 24px);
  background: var(--sand-light);
}

.edit-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.edit-card:hover .edit-card__image img {
  transform: scale(1.03);
}

.edit-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.edit-card__desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.7;
}


/* ================================================
   NEWSLETTER
   ================================================ */
.newsletter {
  background: var(--cream-warm);
  padding: var(--section-pad) 0;
  text-align: center;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.newsletter__subtitle {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-muted);
  margin-bottom: 36px;
}

.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--sand);
  border-right: none;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter__input::placeholder {
  color: var(--ink-muted);
}

.newsletter__input:focus {
  border-color: var(--terracotta);
}

.newsletter__button {
  padding: 14px 28px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter__button:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
}


/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--ink);
  color: var(--sand);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
}

.footer__text a {
  color: var(--sand);
  border-bottom: 1px solid rgba(156, 149, 137, 0.3);
  transition: border-color 0.3s ease;
}

.footer__text a:hover {
  border-bottom-color: var(--terracotta);
}

.footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-link {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: var(--cream);
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.footer__social-link {
  color: var(--ink-muted);
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: var(--terracotta);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__bottom {
  border-top: 1px solid rgba(156, 149, 137, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 13px;
  font-weight: 300;
  color: rgba(156, 149, 137, 0.85);
}

.footer__credit {
  font-size: 12px;
  font-weight: 300;
  color: rgba(156, 149, 137, 0.7);
}


/* ================================================
   ABOUT PAGE
   ================================================ */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.story-block--reverse {
  direction: rtl;
}

.story-block--reverse > * {
  direction: ltr;
}

.story-block__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand-light);
}

.story-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-block__text {
  max-width: 520px;
}

.story-block__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.story-block__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.25;
}

.story-block__body {
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.9;
}

.story-block__body p + p {
  margin-top: 20px;
}


/* ================================================
   TRAVEL PAGES
   ================================================ */
.city-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.city-card {
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand-light);
}

.city-card__image {
  position: absolute;
  inset: 0;
}

.city-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.city-card:hover .city-card__image img {
  transform: scale(1.05);
}

.city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.6) 0%, rgba(28,25,23,0.1) 60%, transparent 100%);
  z-index: 1;
}

.city-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(24px, 3vw, 40px);
  z-index: 2;
  color: var(--white);
}

.city-card__name {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.city-card__cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.city-card:hover .city-card__cta {
  opacity: 1;
}

/* City guide sections */
.guide-section {
  padding: var(--section-pad-sm) 0;
  border-bottom: 1px solid var(--sand);
}

.guide-section:last-child {
  border-bottom: none;
}

.guide-section__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 32px;
}

.guide-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 48px;
}

.guide-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--sand-light);
}

.guide-item__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

.guide-item__desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-muted);
  margin-top: 2px;
}


/* ================================================
   PRESS PAGE
   ================================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.press-item {
  text-decoration: none;
  display: block;
}

.press-item__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand-light);
  margin-bottom: 16px;
  position: relative;
}

.press-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.press-item:hover .press-item__image img {
  transform: scale(1.03);
}

/* Press placeholder styling */
.press-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream-warm);
  border: 1px solid var(--sand);
  padding: 24px;
  text-align: center;
}

.press-placeholder__pub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}

.press-placeholder__year {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  margin-top: 8px;
}

.press-item__pub {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}

.press-item__year {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted);
  margin-top: 2px;
}

.press-item__desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-muted);
  margin-top: 6px;
  line-height: 1.6;
}


/* ================================================
   JOURNAL / BLOG
   ================================================ */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px);
}

.journal-card {
  text-decoration: none;
  display: block;
}

.journal-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-light);
  margin-bottom: clamp(16px, 1.5vw, 24px);
}

.journal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.journal-card:hover .journal-card__image img {
  transform: scale(1.03);
}

.journal-card__tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.journal-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.journal-card__excerpt {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.journal-card__date {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted);
}

.journal-card--hidden {
  display: none;
}

/* Journal tags/filter */
.journal-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--section-pad-sm);
}

.journal-filter {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--sand);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.journal-filter:hover,
.journal-filter--active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}


/* ================================================
   VISIT / CONTACT
   ================================================ */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.visit-info__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 32px;
}

.visit-info__block {
  margin-bottom: 32px;
}

.visit-info__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.visit-info__text {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
}

.visit-info__text a {
  border-bottom: 1px solid var(--sand);
  transition: border-color 0.3s ease;
}

.visit-info__text a:hover {
  border-bottom-color: var(--terracotta);
}

.visit-map {
  aspect-ratio: 1 / 1;
  background: var(--sand-light);
  border: 1px solid var(--sand);
  overflow: hidden;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(0.3) contrast(1.1);
}

/* Contact form */
.contact-form {
  margin-top: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--terracotta);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  padding: 14px 36px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.form-submit:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
}

.form-success {
  padding: 16px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--olive);
  letter-spacing: 0.05em;
}


/* ================================================
   BUTTON
   ================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

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

.btn--gold {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.btn--gold:hover {
  background: var(--terracotta);
  color: var(--white);
}

.btn--filled {
  background: var(--ink);
  color: var(--cream);
}

.btn--filled:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
}


/* ================================================
   PAGE HEADER (for non-hero pages)
   ================================================ */
.page-header {
  padding: calc(var(--nav-height) + 48px) 0 48px;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-header__subtitle {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ================================================
   INSTAGRAM SECTION
   ================================================ */
.instagram {
  padding: var(--section-pad) 0;
  text-align: center;
  background: var(--cream-warm);
}

.instagram__header {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.instagram__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.instagram__handle {
  font-size: 15px;
  font-weight: 400;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-bottom: 36px;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.instagram__handle:hover {
  border-bottom-color: var(--terracotta);
}

.instagram__cta {
  display: inline-block;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 14px 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

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

.instagram__icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.instagram__item {
  aspect-ratio: 1;
  background: var(--sand-light);
  overflow: hidden;
}

.instagram__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), opacity 0.5s ease;
}

.instagram__item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}


/* ================================================
   SHOP / PRODUCT GRID
   ================================================ */
.shop-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--section-pad-sm);
}

.shop-category {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--sand);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.shop-category:hover,
.shop-category--active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.product-card {
  text-decoration: none;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand-light);
  margin-bottom: 14px;
  border-radius: 2px;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 1px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-card__category {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--terracotta-deep);
}

.product-card__action {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta-light);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.product-card:hover .product-card__action {
  border-bottom-color: var(--terracotta-deep);
}

.product-card--hidden {
  display: none;
}

.journal-card--hidden {
  display: none;
}

/* Product placeholder */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-muted);
  background: linear-gradient(145deg, var(--cream-warm) 0%, var(--sand-light) 100%);
}

/* Image error fallback */
.img-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--cream-warm) 0%, var(--sand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Featured product (larger card) */
.product-grid--featured {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.product-grid--featured .product-card__image {
  aspect-ratio: 4 / 5;
}

.product-grid--featured .product-card__name {
  font-size: clamp(18px, 1.5vw, 24px);
}


/* ================================================
   FOCUS-VISIBLE STATES
   ================================================ */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.nav__link:focus-visible,
.nav__hamburger:focus-visible,
.nav-overlay__link:focus-visible {
  outline-offset: 4px;
}

.shop-category:focus-visible,
.journal-filter:focus-visible {
  outline-offset: -2px;
}

.newsletter__input:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--terracotta);
}


/* ================================================
   FORM SUCCESS MESSAGE
   ================================================ */
.form-success {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--olive);
  text-align: center;
  padding: 20px;
}


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .city-cards .city-card:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }

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

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

  .guide-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav__logo-icon {
    height: 40px;
  }

  .nav--light:not(.nav--scrolled) .nav__logo-icon {
    opacity: 0;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__icons {
    display: none;
  }

  .hero {
    min-height: 500px;
  }

  .hero__title {
    font-size: clamp(36px, 8vw, 52px);
  }

  .story-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-block--reverse {
    direction: ltr;
  }

  .story-block__image {
    aspect-ratio: 4 / 3;
  }

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

  .product-grid--featured {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .edit-card__image {
    aspect-ratio: 3 / 2;
  }

  .city-cards {
    grid-template-columns: 1fr;
  }

  .city-cards .city-card:last-child {
    grid-column: auto;
    aspect-ratio: 3 / 4;
  }

  .press-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .visit-map {
    aspect-ratio: 4 / 3;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter__form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter__input {
    border-right: 1px solid var(--sand);
  }

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

  .guide-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 420px;
  }

  .location__card {
    padding: 32px 24px;
  }

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


/* ================================================
   SPLASH INTRO — restructured to Kim's brand
   - Pure white background, grey type, no terracotta accent
   - Logo (which already contains butterfly + MAISON K) sized larger
   - MONTECITO below in Century Gothic, then Depuis 2002 italic
   - No separate "MAISON K" wordmark (it was redundant with the logo)
   ================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.9s var(--ease-in-out);
}

.splash--leaving {
  opacity: 0;
  pointer-events: none;
}

.mk-splash-skip .splash {
  display: none;
}

.splash__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.splash__logo {
  height: clamp(160px, 22vw, 260px);
  width: auto;
  opacity: 0;
  transform: scale(0.92);
  animation: splashLogoIn 1.0s var(--ease-out) 0.1s forwards;
}

/* MONTECITO — Century Gothic, tracked out, grey.
   Tucked right under the MAISON K baked into the logo (Kim: was floating too low). */
.splash__city {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 400;
  color: var(--grey-deep);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin: clamp(2px, 0.6vw, 8px) 0 0;
  padding-left: 0.42em; /* visually balance the right-edge tracking */
  opacity: 0;
  transform: translateY(10px);
  animation: splashTextIn 0.8s var(--ease-out) 0.55s forwards;
}

/* Depuis 2002 — italic, same block, smaller */
.splash__year {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  font-style: italic;
  color: var(--grey);
  letter-spacing: 0.04em;
  margin-top: clamp(8px, 1vw, 14px);
  opacity: 0;
  transform: translateY(10px);
  animation: splashTextIn 0.8s var(--ease-out) 0.85s forwards;
}

@keyframes splashLogoIn {
  0%   { opacity: 0; transform: scale(0.92); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes splashTextIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .splash { transition: opacity 0.2s ease; }
  .splash__logo,
  .splash__city,
  .splash__year {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* ================================================
   HOVER MICROINTERACTIONS — Simple. Clean. Classic.
   Kim's brand language: no flourishes. Background fills, underline grows,
   color shifts. The pen-circle has been retired.
   ================================================ */

/* Hide the pen-circle SVGs that the legacy JS might still inject —
   they're stripped from the brand. */
.circle-svg { display: none !important; }

/* --- Buttons: classic background fill on hover --- */
.btn {
  position: relative;
  transition: background-color 0.35s var(--ease-out),
              color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn--filled:hover {
  background: var(--grey-deep);
  border-color: var(--grey-deep);
  color: var(--white);
}

.newsletter__button,
.form-submit {
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.newsletter__button:hover,
.form-submit:hover {
  background: var(--grey-deep);
  border-color: var(--grey-deep);
  color: var(--white);
}

.instagram__cta {
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.instagram__cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* shop-category and journal-filter — clean fill on hover/active */
.shop-category,
.journal-filter {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.shop-category:hover:not(.shop-category--active),
.journal-filter:hover:not(.journal-filter--active) {
  background: var(--off-white);
  color: var(--ink);
  border-color: var(--grey-soft);
}

.shop-category--active,
.journal-filter--active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* --- Edit cards & journal cards: title gets a draw-under underline on hover --- */
.edit-card__title,
.journal-card__title {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--terracotta), var(--terracotta));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s var(--ease-out);
  padding-bottom: 4px;
}

.edit-card:hover .edit-card__title,
.journal-card:hover .journal-card__title {
  background-size: 100% 1px;
}

/* --- Discoveries items: refined zoom + subtle vignette darken on hover --- */
.discoveries__item {
  cursor: pointer;
}

.discoveries__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 51, 48, 0) 0%, rgba(58, 51, 48, 0) 100%);
  transition: background 0.5s var(--ease-out);
  z-index: 1;
  pointer-events: none;
}

.discoveries__item:hover::after {
  background: linear-gradient(to top, rgba(58, 51, 48, 0.15) 0%, rgba(58, 51, 48, 0.05) 100%);
}

.discoveries__item:hover img {
  transform: scale(1.06);
}

/* --- City cards: CTA gets an arrow that slides in --- */
.city-card__cta {
  position: relative;
  padding-right: 28px;
  transition: padding-right 0.4s var(--ease-out), opacity 0.3s ease;
}

.city-card__cta::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%) scaleX(0.5);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

.city-card:hover .city-card__cta {
  padding-right: 36px;
}

.city-card:hover .city-card__cta::after {
  transform: translateY(-50%) scaleX(1);
}

/* --- Product cards: badge gets subtle lift, action underline grows --- */
.product-card__action {
  position: relative;
  background-image: linear-gradient(var(--terracotta-deep), var(--terracotta-deep));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  border-bottom: none !important;
  padding-bottom: 4px;
  padding-right: 16px;
  transition: padding-right 0.4s var(--ease-out);
}

.product-card__action::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.product-card:hover .product-card__action {
  padding-right: 22px;
}

.product-card:hover .product-card__action::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --- Footer links: gold underline grows on hover --- */
.footer__nav-link {
  position: relative;
  display: inline-block;
}

.footer__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.4s var(--ease-out);
}

.footer__nav-link:hover::after {
  width: 100%;
}

.footer__nav-link:hover {
  color: var(--cream);
}

/* --- Instagram items: subtle scale + reveal of "view" label --- */
.instagram__item {
  position: relative;
}

.instagram__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 51, 48, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}

.instagram__item:hover::after {
  opacity: 1;
}

/* ================================================
   VIDEO HERO (homepage)
   ================================================ */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero__video-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Stronger overlay for video hero so the title reads */
.hero--video .hero__overlay {
  background: linear-gradient(
    to top,
    rgba(58, 51, 48, 0.55) 0%,
    rgba(58, 51, 48, 0.25) 35%,
    rgba(58, 51, 48, 0.15) 100%
  );
}


/* ================================================
   PICTURE / IMG RESPONSIVE PATTERN
   ================================================ */
picture {
  display: block;
  width: 100%;
  height: 100%;
}

picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ================================================
   "CARRIED HOME" LORE SECTION
   Alternating editorial vignettes: market shot + product shot + 2-3 sentence story
   ================================================ */
.lore {
  padding: var(--section-pad) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.lore__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 88px);
}

.lore__intro-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.lore__intro-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
}

.lore__intro-body {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
  font-style: italic;
}

/* Vignette: 12-column grid with image and text occupying overlapping/offset cells */
.lore__vignette {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 160px);
}

.lore__vignette:last-child {
  margin-bottom: 0;
}

.lore__vignette-media {
  grid-column: 1 / span 7;
  position: relative;
}

.lore__vignette-media-primary {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-light);
}

.lore__vignette-media-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.lore__vignette:hover .lore__vignette-media-primary img {
  transform: scale(1.03);
}

/* Inset secondary image — "the finished thing" overlaying corner of "where it came from" */
.lore__vignette-media-inset {
  position: absolute;
  width: 42%;
  aspect-ratio: 3 / 4;
  bottom: -8%;
  right: -8%;
  overflow: hidden;
  background: var(--cream);
  border: 6px solid var(--cream);
  box-shadow: 0 24px 60px -16px rgba(58, 51, 48, 0.25);
  z-index: 2;
}

.lore__vignette-media-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lore__vignette-text {
  grid-column: 9 / span 4;
  padding-left: clamp(0px, 2vw, 24px);
}

.lore__vignette-origin {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lore__vignette-origin::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}

.lore__vignette-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.25;
}

.lore__vignette-body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.85;
}

.lore__vignette-body p + p {
  margin-top: 14px;
}

/* Reverse: media right, text left, with the inset image on the opposite corner */
.lore__vignette--reverse .lore__vignette-media {
  grid-column: 6 / span 7;
}

.lore__vignette--reverse .lore__vignette-media-inset {
  right: auto;
  left: -8%;
}

.lore__vignette--reverse .lore__vignette-text {
  grid-column: 1 / span 4;
  padding-left: 0;
  padding-right: clamp(0px, 2vw, 24px);
  grid-row: 1;
}

/* "Triangle even" — one vignette in three uses a triangular clip-path for the inset */
.lore__vignette--triangle .lore__vignette-media-inset {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: transparent;
  border: none;
  box-shadow: none;
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .lore__vignette,
  .lore__vignette--reverse {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 40px);
  }

  .lore__vignette-media,
  .lore__vignette--reverse .lore__vignette-media {
    grid-column: 1 / -1;
  }

  .lore__vignette-text,
  .lore__vignette--reverse .lore__vignette-text {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    grid-row: auto;
  }

  .lore__vignette-media-inset {
    width: 38%;
    bottom: -6%;
    right: -4%;
  }

  .lore__vignette--reverse .lore__vignette-media-inset {
    left: -4%;
    right: auto;
  }
}

/* On small phones, keep inset inside the frame so it doesn't horizontally clip */
@media (max-width: 480px) {
  .lore__vignette-media-inset {
    width: 40%;
    bottom: 4%;
    right: 4%;
  }
  .lore__vignette--reverse .lore__vignette-media-inset {
    left: 4%;
    right: auto;
  }
}


/* ================================================
   "WHERE THE PIECES COME FROM" — World Map section on About
   ================================================ */
.world {
  padding: var(--section-pad) 0;
  background: var(--cream-warm);
}

.world__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 72px);
}

.world__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.world__subtitle {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 300;
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.7;
}

.world__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.world__card {
  display: block;
  position: relative;
  text-decoration: none;
  cursor: default;
}

.world__card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand-light);
  margin-bottom: 16px;
  position: relative;
}

.world__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.world__card:hover .world__card-image img {
  transform: scale(1.05);
}

.world__card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 51, 48, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.world__card:hover .world__card-image::after {
  opacity: 1;
}

.world__card-city {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 4px;
}

.world__card-detail {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .world__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .world__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}


/* ================================================
   INLINE GUIDE VIGNETTE (city guide section images)
   ================================================ */
.guide-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.guide-section__title-block {
  grid-column: 1;
}

.guide-list {
  grid-column: 1;
}

.guide-section__media {
  grid-column: 2;
  grid-row: 1 / span 2;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand-light);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.guide-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.guide-section:hover .guide-section__media img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .guide-section {
    grid-template-columns: 1fr;
  }

  .guide-section__media {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
    position: static;
    margin-bottom: 24px;
  }
}


/* ================================================
   "FROM THE WORLD" — horizontal scroll strip on shop
   ================================================ */
.world-strip {
  padding: var(--section-pad-sm) 0;
  background: var(--cream-warm);
}

.world-strip__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}

.world-strip__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  color: var(--ink);
}

.world-strip__caption {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-muted);
  max-width: 360px;
}

.world-strip__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}

.world-strip__track::-webkit-scrollbar {
  height: 6px;
}

.world-strip__track::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 3px;
}

.world-strip__item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.world-strip__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand-light);
  margin-bottom: 12px;
}

.world-strip__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.world-strip__item:hover .world-strip__image img {
  transform: scale(1.04);
}

.world-strip__city {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.world-strip__name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  color: var(--ink);
  font-style: italic;
}



/* ================================================
   REDUCED MOTION RESPECT
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    scroll-behavior: auto !important;
  }

  .hero__image--parallax img {
    transform: none !important;
  }

  .hero__scroll-hint {
    animation: none;
  }

  /* Don't make .reveal elements briefly flash from offset state — show them final */
  .reveal,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Circle hover: skip the draw animation, show final state on hover */
  .circle-svg__path {
    transition: none !important;
  }
}
