/* ==========================================================================
   Aura Creations — styles
   Concept demo by StackShooter

   0. Fonts
   1. Tokens
   2. Base
   3. Layout helpers & type
   4. Buttons & links
   5. Announcement & header
   6. Mobile menu
   7. Hero
   8. Story
   9. Collections
   10. Catalogue
   11. Editorial
   12. Instagram
   13. Visit
   14. Final CTA & footer
   15. Floating WhatsApp
   16. Dialogs & forms
   17. Motion (reveals, reduced motion)
   ========================================================================== */

/* 0. Self-hosted fonts (SIL Open Font License — see assets/fonts) --------- */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/bodoni-moda-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/bodoni-moda-latin-opsz-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/jost-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/jost-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/pinyon-script-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Palette — the logo's ivory, gold and leaf-green, plus the wine of the
     brand's own launch artwork. */
  --ivory: #F8F5F0;
  --cream: #F1E9DF;
  --cream-deep: #E6DACB;
  --blush: #D9B7B0;
  --blush-soft: #F0E1DB;
  --gold: #B79A68;
  --gold-ink: #86693D;      /* gold dark enough for small text on ivory */
  --sage: #7C8160;
  --espresso: #30231F;
  --charcoal: #24211F;
  --wine: #4A1E28;
  --wine-deep: #3A1820;
  --white: #FFFFFF;

  --ink: var(--espresso);
  --ink-soft: #5E4E47;
  --line: rgba(48, 35, 31, 0.14);
  --error: #9A2F2F;

  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Didot LT STD', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', Avenir, 'Segoe UI', system-ui, -apple-system, sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', 'Segoe Script', 'Apple Chancery', cursive;

  --maxw: 1320px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --section-y: clamp(72px, 11vw, 152px);
  --header-h: 88px;
  --radius-s: 2px;
  --radius-m: 6px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  --scrollbar-comp: 0px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain over the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.is-locked { overflow: hidden; }
html.is-locked body { padding-right: var(--scrollbar-comp); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

::selection { background: var(--blush); color: var(--espresso); }

/* Luxury Preloader --------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s var(--ease), visibility 0.75s var(--ease);
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}
.preloader-logo-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}
.preloader-ring {
  position: absolute;
  inset: -6px;
  border: 1.5px dashed var(--gold);
  border-radius: 50%;
  animation: preloader-spin 10s linear infinite;
}
.preloader-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(48, 35, 31, 0.12);
  animation: preloader-pulse 2s ease-in-out infinite alternate;
}
.preloader-brand {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
}
.preloader-signature {
  font-family: var(--script);
  font-size: 1.85rem;
  color: var(--gold-ink);
  line-height: 1.1;
  margin-top: 2px;
}
.preloader-bar {
  margin-top: 20px;
  width: 120px;
  height: 2px;
  background: var(--cream-deep);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-ink), transparent);
  animation: preloader-shimmer 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes preloader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes preloader-pulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  100% { transform: scale(1.03); opacity: 1; }
}
@keyframes preloader-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Images + graceful fallback when a photo fails to load */
.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream);
}
.img-missing {
  position: relative;
  background:
    radial-gradient(120% 80% at 30% 20%, var(--blush-soft), transparent 60%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.img-missing > img { opacity: 0; }
.img-missing::after {
  content: attr(data-fallback-label);
  position: absolute;
  inset: auto 14px 14px 14px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink-soft);
}

/* 3. Layout helpers & type ------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.display-1,
.display-2,
.display-3,
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  letter-spacing: -0.015em;
  color: var(--espresso);
}
.display-1 { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1.02; }
.display-2 { font-size: clamp(2.05rem, 4.3vw, 3.7rem); line-height: 1.06; }
.display-3 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); line-height: 1.12; }

.body-lg {
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 36em;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 34em;
}

.fine-print {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.signature {
  font-family: var(--script);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--gold-ink);
}

/* 4. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 42px; padding: 0 1.1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-dark { background: var(--espresso); color: var(--ivory); }
.btn-dark:hover { background: var(--wine); }

.btn-quiet { background: transparent; color: var(--espresso); border-color: rgba(48, 35, 31, 0.35); }
.btn-quiet:hover { border-color: var(--espresso); background: rgba(48, 35, 31, 0.04); }

.btn-light { background: var(--ivory); color: var(--espresso); }
.btn-light:hover { background: var(--white); }

.btn-outline-light { background: transparent; color: var(--ivory); border-color: rgba(248, 245, 240, 0.45); }
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(248, 245, 240, 0.06); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  text-decoration: none;
}
.text-link--underline {
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.text-link--underline:hover { background-size: 40% 1px; }
.text-link .icon { transition: transform 0.35s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

.icon-link,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--espresso);
  transition: background-color 0.3s var(--ease);
}
.icon-link:hover,
.icon-button:hover { background: rgba(48, 35, 31, 0.07); }
.icon-link .icon,
.icon-button .icon { width: 22px; height: 22px; }

/* 5. Announcement & header ------------------------------------------------- */
.announcement {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  padding: 8px var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 240, 0.96);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(248, 245, 240, 0.88); backdrop-filter: blur(10px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.45s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 64px; }

.brand { display: block; flex: none; border-radius: 50%; }
.brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(48, 35, 31, 0.08);
  transition: width 0.45s var(--ease), height 0.45s var(--ease);
}
.site-header.is-scrolled .brand img { width: 58px; height: 58px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 450;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta .label-short { display: none; }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 74px; }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; gap: 4px; }
  .header-actions .icon-link { display: none; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--espresso);
  }
  .menu-toggle .icon { width: 26px; height: 26px; }
  .brand img { width: 62px; height: 62px; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .site-header.is-scrolled .brand img { width: 48px; height: 48px; }
}
@media (max-width: 479px) {
  .header-cta .label-long { display: none; }
  .header-cta .label-short { display: inline; }
  .header-cta { padding: 0 0.9rem; }
}

/* 6. Mobile menu ----------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--ivory);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; }

.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
.mobile-menu-logo { width: 48px; height: 48px; }

.mobile-menu-links { margin-top: clamp(32px, 9vh, 80px); }
.mobile-menu-links li { border-bottom: 1px solid var(--line); }
.mobile-menu-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  line-height: 1.15;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(4) a { transition-delay: 0.15s; }

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.mobile-menu-place { font-size: 0.875rem; color: var(--ink-soft); }

/* 7. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 112px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(calc(100svh - var(--header-h) - 120px), 820px);
}

.hero-copy { position: relative; z-index: 2; }

.hero-signature {
  font-family: var(--script);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1;
  color: var(--gold-ink);
  margin-bottom: clamp(12px, 1.6vw, 22px);
}

.hero-title {
  font-size: clamp(3.1rem, 6.3vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2) { padding-left: clamp(24px, 6vw, 96px); }

.hero-lede {
  margin-top: clamp(22px, 2.6vw, 36px);
  max-width: 27em;
  font-size: clamp(1.0625rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(28px, 3vw, 40px);
}

.hero-visual {
  position: relative;
  height: clamp(460px, 72vh, 760px);
  perspective: 1200px;
}

.arch {
  position: absolute;
  overflow: hidden;
  border-radius: 1000px 1000px 0 0;
  background: var(--cream);
}

.hero-arch-main {
  right: 6%;
  top: 0;
  width: 64%;
  height: 100%;
}
.hero-arch-main .media-img { transform: scale(1.06); transform-origin: 50% 40%; }

.hero-arch-line {
  position: absolute;
  right: calc(6% - 18px);
  top: -18px;
  width: 64%;
  height: 100%;
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 1000px 1000px 0 0;
  opacity: 0.75;
}

.hero-arch-inset {
  left: 0;
  bottom: -2%;
  width: 34%;
  aspect-ratio: 3 / 4.2;
  box-shadow: 0 0 0 8px var(--ivory);
  z-index: 2;
}

.sprig {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: clamp(56px, 6vw, 96px);
  color: var(--sage);
  z-index: 3;
  transform-origin: 50% 100%;
}
.sprig > g { transform-origin: 50% 100%; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 56px;
  transform: translateX(-50%);
}
.scroll-cue-line {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--espresso);
  transform: translateY(-100%);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

@media (max-width: 899px) {
  .hero { padding-top: 8px; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 36px;
  }
  .hero-visual {
    order: -1;
    height: clamp(340px, 98vw, 500px);
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  .hero-arch-main { right: 4%; width: 74%; }
  .hero-arch-line { right: calc(4% - 12px); top: -12px; width: 74%; }
  .hero-arch-inset { width: 36%; bottom: -3%; box-shadow: 0 0 0 6px var(--ivory); }
  .sprig { right: 0; bottom: 2%; width: 48px; }
  .hero-title { font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .hero-title .line:nth-child(2) { padding-left: 0.9em; }
  .scroll-cue { display: none; }
}
@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; }
}

/* 8. Story ----------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.story-figure { position: relative; padding: 0 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.story-figure::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72%;
  height: 70%;
  background: var(--blush-soft);
}
.frame { position: relative; overflow: hidden; background: var(--cream); }
.frame-tall { aspect-ratio: 4 / 5; }

.story-copy { display: grid; gap: clamp(20px, 2.4vw, 30px); justify-items: start; }

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 14px 40px;
  margin-top: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.values li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.values .icon { width: 24px; height: 24px; color: var(--gold-ink); }

@media (max-width: 899px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-figure { max-width: 460px; }
}
@media (max-width: 400px) {
  .values { grid-template-columns: 1fr; }
}

/* 9. Collections ----------------------------------------------------------- */
.collections { background: var(--cream); }

.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }

.collection-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 28px);
}

.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--ivory);
  text-decoration: none;
  background: var(--cream-deep);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.collection-card--arch { grid-column: 1; grid-row: 1 / span 2; min-height: 560px; border-radius: 1000px 1000px 0 0; }
.collection-card--wide { grid-column: 2 / span 2; grid-row: 1; aspect-ratio: 16 / 9.5; }
.collection-card--offset { grid-column: 3; grid-row: 2; aspect-ratio: 4 / 5; }

/* The space beside the offset card holds a curated boutique highlight card */
.collection-note {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--ivory);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-m);
  color: var(--espresso);
  box-shadow: 0 4px 20px rgba(48, 35, 31, 0.04);
}
.highlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 500;
}
.highlight-eyebrow .icon { width: 15px; height: 15px; }
.highlight-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.15;
  color: var(--espresso);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  font-weight: 500;
}
.highlight-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.highlight-features {
  display: grid;
  gap: 8px;
  padding: 10px 0;
  border-block: 1px solid var(--line);
}
.highlight-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--espresso);
  font-weight: 450;
}
.highlight-features .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-ink);
  flex-shrink: 0;
}
.highlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.highlight-foot .signature {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  color: var(--gold-ink);
  line-height: 1;
}

.collection-media { position: absolute; inset: 0; }
.collection-media .media-img { transition: transform 1.1s var(--ease-out); }
.collection-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 33, 31, 0) 40%, rgba(36, 33, 31, 0.62) 100%);
  transition: opacity 0.6s var(--ease);
}

.collection-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: clamp(18px, 2.4vw, 32px);
}
.collection-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 24;
  line-height: 1.05;
  text-shadow: 0 1px 14px rgba(36, 33, 31, 0.28);
  transition: transform 0.6s var(--ease-out);
}
.collection-blurb {
  font-size: 0.95rem;
  color: rgba(248, 245, 240, 0.85);
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease);
}
.collection-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .collection-blurb,
  .collection-explore { opacity: 0; transform: translateY(12px); }
  .collection-title { transform: translateY(18px); }
  .collection-card:hover .collection-media .media-img,
  .collection-card:focus-visible .collection-media .media-img { transform: scale(1.06); }
  .collection-card:hover .collection-title,
  .collection-card:focus-visible .collection-title { transform: none; }
  .collection-card:hover .collection-blurb,
  .collection-card:hover .collection-explore,
  .collection-card:focus-visible .collection-blurb,
  .collection-card:focus-visible .collection-explore { opacity: 1; transform: none; }
  .collection-card:hover .collection-explore,
  .collection-card:focus-visible .collection-explore { transition-delay: 0.06s; }
}

@media (max-width: 899px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 20px;
  }
  .collection-card--arch {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 4.6;
    max-height: 580px;
  }
  .collection-card--wide {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }
  .collection-card--offset {
    grid-column: 2;
    grid-row: auto;
    aspect-ratio: 3 / 4;
    margin-top: 24px;
  }
  .collection-card--wide .collection-title,
  .collection-card--offset .collection-title { font-size: 1.45rem; }
  .collection-card--wide .collection-blurb,
  .collection-card--offset .collection-blurb { display: none; }

  .collection-note {
    grid-column: 1 / -1;
    grid-row: auto;
    order: 3;
    margin-top: 16px;
    padding: clamp(20px, 4vw, 28px);
    box-shadow: 0 4px 16px rgba(48, 35, 31, 0.05);
  }
  .collection-note .signature { display: block; font-size: 1.4rem; }
}

@media (max-width: 599px) {
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .collection-card--wide,
  .collection-card--offset {
    grid-column: 1;
    aspect-ratio: 4 / 3.4;
    margin-top: 0;
  }
  .collection-card--wide .collection-blurb,
  .collection-card--offset .collection-blurb { display: block; }
  .collection-note {
    margin-top: 10px;
    padding: 20px 16px;
  }
  .highlight-title { font-size: 1.3rem; }
  .highlight-features { padding: 8px 0; gap: 8px; }
  .highlight-features li { font-size: 0.8125rem; }
  .highlight-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .highlight-foot .btn { width: 100%; justify-content: center; }
}

/* 10. Catalogue ------------------------------------------------------------ */
.catalogue-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.sample-note {
  margin-top: 12px;
  max-width: 40em;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.filters {
  display: flex;
  gap: 4px 26px;
  flex-wrap: wrap;
}
.filter {
  position: relative;
  padding: 10px 0;
  border: 0;
  background: none;
  font-size: 0.95rem;
  font-weight: 450;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.filter::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--espresso);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.filter:hover { color: var(--espresso); }
.filter[aria-pressed='true'] { color: var(--espresso); }
.filter[aria-pressed='true']::after { transform: scaleX(1); }

.result-count {
  margin-bottom: clamp(24px, 3vw, 40px);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px);
}
@media (max-width: 1099px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } }

.product-empty-nojs { grid-column: 1 / -1; color: var(--ink-soft); }
.js .product-empty-nojs { display: none; }

.product-card {
  display: flex;
  flex-direction: column;
  animation: card-in 0.6s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--cream);
}
.product-media .media-img {
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease-out), opacity 0.6s var(--ease);
}
.product-media .media-img--alt { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-media .media-img { transform: scale(1.045); }
  .product-card:hover .product-media.has-alt .media-img--alt { opacity: 1; }
}

.tag-new {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--radius-s);
  background: var(--ivory);
  color: var(--espresso);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.product-info { display: grid; gap: 4px; padding-top: 14px; }
.product-category { font-size: 0.8125rem; color: var(--gold-ink); letter-spacing: 0.02em; }
.product-name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.2;
}
.product-price { font-size: 0.95rem; font-weight: 500; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 8px;
}
.product-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(48, 35, 31, 0.3);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.3s var(--ease);
}
.product-action:hover { text-decoration-color: currentColor; }
.product-action .icon { width: 16px; height: 16px; }

.product-empty {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 48px 0;
  color: var(--ink-soft);
}

/* 11. Editorial ------------------------------------------------------------ */
.edit { background: var(--cream); overflow: hidden; }

.edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.edit-main { position: relative; }
.frame-wide { aspect-ratio: 5 / 4.4; }
.frame-wide .media-img { transform: scale(1.12); }

.edit-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.edit-caption::before { content: ''; width: 48px; height: 1px; background: var(--gold); }

.edit-grid { align-items: stretch; }
.edit-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 24px);
  padding-top: clamp(0px, 3vw, 48px);
}

.edit-features {
  display: grid;
  gap: 16px;
  width: 100%;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.edit-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.edit-feature-num {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-ink);
  font-weight: 500;
  line-height: 1.3;
  flex-shrink: 0;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
}
.edit-feature-heading {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.01em;
  margin-bottom: 3px;
}
.edit-feature-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.frame-detail {
  width: 56%;
  align-self: flex-end;
  margin-top: auto;
  aspect-ratio: 4 / 5;
  border-radius: 1000px 1000px 0 0;
}

@media (max-width: 899px) {
  .edit-grid { grid-template-columns: 1fr; gap: 32px; }
  .edit-main { margin-inline: calc(var(--gutter) * -1); }
  .edit-caption { padding-inline: var(--gutter); }
  .edit-copy { padding-top: 0; gap: 20px; }
  .edit-features { gap: 14px; padding-block: 14px; }
  .edit-feature-item { gap: 12px; }
  .edit-actions { width: 100%; }
  .edit-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 140px; }
  .frame-detail {
    width: 68%;
    max-width: 300px;
    align-self: center;
    margin-top: 16px;
  }
}
@media (max-width: 480px) {
  .edit-actions { flex-direction: column; }
  .edit-actions .btn { width: 100%; }
  .frame-detail { width: 80%; }
}

/* 12. Instagram ------------------------------------------------------------ */
.insta-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.insta-head > div { display: grid; gap: 14px; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}
.insta-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.insta-tile a { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
.insta-tile .media-img { transition: transform 1s var(--ease-out); }
.insta-tile a:hover .media-img,
.insta-tile a:focus-visible .media-img { transform: scale(1.05); }

.insta-tile--type a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  transition: background-color 0.5s var(--ease);
}
.insta-tile--blush a { background: var(--blush-soft); color: var(--espresso); }
.insta-tile--blush a:hover { background: #EAD5CE; }
.insta-tile--wine a { background: var(--wine); color: var(--cream); }
.insta-tile--wine a:hover { background: var(--wine-deep); }

.tile-script {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.05;
  color: var(--gold-ink);
}
.tile-serif {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  line-height: 1.05;
}
.tile-handle {
  margin-top: clamp(10px, 1.6vw, 20px);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.insta .fine-print { margin-top: 18px; }

@media (max-width: 759px) {
  .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 13. Visit & Contact ------------------------------------------------------ */
.visit { background: var(--blush-soft); overflow: hidden; }

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.visit-info-col {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.visit-place {
  display: grid;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--espresso);
}
.visit-place-line:last-child {
  padding-left: 0.7em;
  font-style: italic;
  color: var(--gold-ink);
}

.visit-card {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(28px, 3.6vw, 40px);
  background: var(--ivory);
  border-radius: var(--radius-m);
  box-shadow: 0 4px 20px rgba(48, 35, 31, 0.05);
}

.visit-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.6;
}
.visit-address .icon { margin-top: 3px; color: var(--gold-ink); flex-shrink: 0; }

.visit-timings {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
  font-size: 0.9375rem;
  color: var(--espresso);
  padding: 12px 14px;
  background: var(--cream);
  border-radius: var(--radius-s);
  width: 100%;
}
.visit-timings .icon { margin-top: 2px; color: var(--gold-ink); flex-shrink: 0; }

.visit-phone { font-weight: 500; }
.visit-phone a { text-underline-offset: 4px; }

.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Contact Form Box */
.visit-contact-col {
  display: flex;
  flex-direction: column;
}
.contact-box {
  background: var(--ivory);
  padding: clamp(28px, 3.6vw, 40px);
  border-radius: var(--radius-m);
  box-shadow: 0 4px 20px rgba(48, 35, 31, 0.05);
  border: 1px solid var(--cream-deep);
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
  margin-bottom: 6px;
}
.contact-badge .icon { width: 14px; height: 14px; }
.contact-box-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  color: var(--espresso);
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  font-weight: 500;
  line-height: 1.2;
}
.contact-box-sub {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.boutique-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.form-row-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .form-row-duo { grid-template-columns: 1fr; }
}
.field-item {
  display: grid;
  gap: 6px;
}
.field-item label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--espresso);
}
.field-item .required { color: var(--error); }
.field-item input,
.field-item select,
.field-item textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(48, 35, 31, 0.22);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--espresso);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-item textarea { resize: vertical; min-height: 80px; }
.field-item input:focus,
.field-item select:focus,
.field-item textarea:focus {
  outline: none;
  border-color: var(--espresso);
  box-shadow: 0 0 0 3px rgba(183, 154, 104, 0.25);
}
.form-hint {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 2px;
}

/* Embedded Map Section */
.visit-map-section {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--ivory);
  border-radius: var(--radius-m);
  border: 1px solid var(--cream-deep);
  box-shadow: 0 4px 20px rgba(48, 35, 31, 0.05);
  overflow: hidden;
}
.visit-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: clamp(16px, 2.2vw, 24px) clamp(20px, 2.8vw, 32px);
  border-bottom: 1px solid var(--line);
}
.map-heading-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-heading-group .icon {
  width: 22px;
  height: 22px;
  color: var(--gold-ink);
  flex-shrink: 0;
}
.map-heading {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--espresso);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
  line-height: 1.25;
}
.map-sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.visit-map-embed {
  width: 100%;
  line-height: 0;
}
.visit-map-embed iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

@media (max-width: 899px) {
  .visit-grid { grid-template-columns: 1fr; gap: 32px; }
  .visit-place { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .visit-card,
  .contact-box { padding: clamp(20px, 4.5vw, 32px); }
  .visit-map-section { margin-top: 36px; }
  .visit-map-header {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .visit-map-header .btn { width: 100%; justify-content: center; }
  .visit-map-embed iframe { height: 350px; }
}
@media (max-width: 520px) {
  .form-row-duo { grid-template-columns: 1fr; gap: 12px; }
  .boutique-form .btn { width: 100%; justify-content: center; }
  .visit-actions { flex-direction: column; width: 100%; }
  .visit-actions .btn { width: 100%; justify-content: center; }
  .visit-map-embed iframe { height: 280px; }
  .visit-timings { font-size: 0.875rem; }
}

/* 14. Final CTA & footer --------------------------------------------------- */
.final-cta {
  padding-block: clamp(88px, 13vw, 176px) clamp(96px, 13vw, 180px);
  background: linear-gradient(180deg, var(--wine) 0%, var(--wine) 62%, var(--charcoal) 100%);
  color: var(--cream);
  text-align: center;
}
.final-inner { display: grid; justify-items: center; gap: clamp(20px, 2.6vw, 30px); }
.final-logo { width: 72px; height: 72px; margin-bottom: 8px; }
.final-cta .display-1 { color: var(--ivory); max-width: 12em; }
.final-cta .body-lg { color: rgba(241, 233, 223, 0.82); margin-inline: auto; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.site-footer {
  background: var(--charcoal);
  color: rgba(241, 233, 223, 0.8);
  font-size: 0.95rem;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 44px);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 48px;
}
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-logo-wrap {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--ivory);
  padding: 4px;
  box-shadow: 0 0 0 2px var(--gold), 0 8px 24px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
}
.footer-brand img {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: block;
}
.footer-signature {
  font-size: 1.85rem;
  color: var(--gold);
  line-height: 1;
}

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 11;
}
.footer-nav ul,
.footer-contact { display: grid; gap: 10px; }
.footer-boutique { display: grid; gap: 12px; }

.footer-address {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(241, 233, 223, 0.85);
}
.footer-address .icon { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

.footer-timings {
  display: grid;
  gap: 3px;
  font-size: 0.85rem;
  color: rgba(241, 233, 223, 0.75);
  padding-top: 8px;
  border-top: 1px solid rgba(241, 233, 223, 0.1);
}
.timings-title { font-weight: 600; color: var(--ivory); }
.timings-sub { color: var(--gold); font-size: 0.8rem; }

.footer-contact-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.footer-cta-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer a { text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--ivory); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(241, 233, 223, 0.12);
  font-size: 0.8125rem;
  color: rgba(241, 233, 223, 0.6);
}
.concept-notice { max-width: 46em; }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo-wrap { width: 104px; height: 104px; }
  .footer-brand img { width: 96px; height: 96px; }
  .footer-base { flex-direction: column; gap: 12px; }
  .footer-cta-btn { width: 100%; justify-content: center; }
}

/* 15. Floating WhatsApp ---------------------------------------------------- */
.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: 0 0 0 1px rgba(183, 154, 104, 0.55), 0 10px 26px rgba(36, 33, 31, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s linear 0.5s, background-color 0.3s var(--ease);
}
.fab .icon { width: 26px; height: 26px; }
@media (max-width: 759px) {
  .fab { width: 52px; height: 52px; }
  .fab .icon { width: 24px; height: 24px; }
}
.fab:hover { background: var(--wine); }
.fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
html:not(.js) .fab { display: none; }

/* 16. Dialogs & forms ------------------------------------------------------ */
.dialog {
  width: min(1040px, calc(100vw - 48px));
  max-width: none;
  max-height: min(880px, calc(100dvh - 48px));
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--ink);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.dialog.is-open { opacity: 1; transform: none; }
.dialog::backdrop {
  background: rgba(36, 33, 31, 0);
  transition: background-color 0.35s var(--ease);
}
.dialog.is-open::backdrop { background: rgba(36, 33, 31, 0.55); }

.dialog-panel {
  position: relative;
  display: grid;
  max-height: inherit;
  height: 100%;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(248, 245, 240, 0.92);
}
.dialog-close:hover { background: var(--ivory); }

/* Product dialog */
.dialog--product .dialog-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pd-media { position: relative; background: var(--cream); min-height: 0; }
.pd-media .media-img { position: absolute; inset: 0; }
.pd-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(28px, 4vw, 52px);
  overflow-y: auto;
  max-height: min(880px, calc(100dvh - 48px));
  overscroll-behavior: contain;
}
.pd-category { font-size: 0.875rem; color: var(--gold-ink); padding-right: 44px; }
.pd-title { padding-right: 32px; }
.pd-price { font-size: 1.15rem; font-weight: 500; }
.pd-sample {
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.pd-description { color: var(--ink-soft); }

/* Enquiry dialog */
.dialog--enquiry { width: min(600px, calc(100vw - 48px)); }
.eq-body {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 48px);
  overflow-y: auto;
  max-height: min(880px, calc(100dvh - 48px));
  overscroll-behavior: contain;
}
.eq-body .display-3 { padding-right: 40px; }
.eq-desc { color: var(--ink-soft); margin-bottom: 8px; }

/* Forms */
.form { display: grid; gap: 18px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label,
.size-field legend { font-size: 0.9rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(48, 35, 31, 0.24);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 1rem; /* 16px keeps iOS from zooming */
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--espresso);
  box-shadow: 0 0 0 3px rgba(183, 154, 104, 0.3);
}
.field [aria-invalid='true'] { border-color: var(--error); }

.field-hint { font-size: 0.8125rem; color: var(--ink-soft); }
.field-error,
.form-error { font-size: 0.875rem; color: var(--error); }
.form-error { padding: 10px 14px; background: #F6E6E3; }

.size-field { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-option { position: relative; }
.size-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-option span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(48, 35, 31, 0.24);
  border-radius: var(--radius-s);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.size-option input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.size-option input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.privacy-note { font-size: 0.8125rem; color: var(--ink-soft); }

/* Mobile: dialogs become bottom sheets */
@media (max-width: 759px) {
  .dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: auto 0 0;
    border-radius: 14px 14px 0 0;
    transform: translateY(40px);
  }
  .dialog--enquiry { width: 100%; }
  .dialog-panel { position: static; }
  .dialog--product .dialog-panel { grid-template-columns: 1fr; height: auto; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - 24px); }
  .pd-media { width: 100%; height: min(52dvh, 108vw); min-height: 0; flex: none; }
  .pd-body { max-height: none; overflow: visible; padding: 22px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
  .eq-body { max-height: calc(100dvh - 24px); padding: 26px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
  .form-actions .btn { flex: 1 1 auto; }
}

/* 17. Motion --------------------------------------------------------------- */

/* Hero page-load sequence (pure CSS so content never depends on JS) */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes arch-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1.06); } }
@keyframes line-draw { from { opacity: 0; transform: translate(-10px, 10px); } to { opacity: 0.75; transform: none; } }
@keyframes sway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }

.js .hero-title .line > span { animation: rise 1.1s var(--ease-out) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
.js .hero-signature { animation: fade-up 1s var(--ease-out) 0.1s both; }
.js .hero-lede { animation: fade-up 1s var(--ease-out) 0.5s both; }
.js .hero-actions { animation: fade-up 1s var(--ease-out) 0.62s both; }
.js .hero-arch-main { animation: arch-open 1.5s var(--ease-out) 0.05s both; }
.js .hero-arch-main .media-img { animation: settle 2.4s var(--ease-out) 0.05s both; }
.js .hero-arch-inset { animation: fade-up 1.1s var(--ease-out) 0.9s both; }
.js .hero-arch-line { animation: line-draw 1.4s var(--ease-out) 0.7s both; }
.js .sprig > g { animation: sway 7s ease-in-out infinite; }

/* Depth layers are moved by js/interactions.js through these variables */
[data-depth] { translate: var(--dx, 0px) var(--dy, 0px); transition: translate 0.9s var(--ease-out); }
[data-parallax] .media-img { translate: 0 var(--py, 0px); }

/* Scroll reveals: only hidden once JS confirms the observer is running */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease-out);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  [data-depth], [data-parallax] .media-img { translate: none; }
  .scroll-cue-line::after { animation: none; transform: none; }
}
