/* ============================================================
   Chez Nour — main.css
   Self-hosted fonts (no Google Fonts CDN), single stylesheet.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/cormorant-garamond-300-latin-ext.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: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/cormorant-garamond-300-latin.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: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/cormorant-garamond-400-latin-ext.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: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/cormorant-garamond-400-latin.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: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-500-latin-ext.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: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-500-latin.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: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/cormorant-garamond-600-latin-ext.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: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/cormorant-garamond-600-latin.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: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/inter-300-latin-ext.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: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/inter-300-latin.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: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-latin-ext.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: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-latin.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: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-500-latin-ext.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: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-500-latin.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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin-ext.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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin.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; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #f7f1ea;
  --bg-soft: #efe6d7;
  --nav-height: 76px;
  --panel: rgba(255, 251, 245, 0.78);
  --ink: #201d19;
  --ink-soft: rgba(32, 29, 25, 0.78);
  --ink-faint: rgba(32, 29, 25, 0.62);
  --line: rgba(103, 84, 55, 0.16);
  --gold: #b59356;
  --gold-strong: #7a5f33;
  --pink: #e8c4ce;
  --pink-strong: #d99cae;
  --shadow-soft: 0 20px 60px rgba(42, 32, 17, 0.08);
  --shadow-deep: 0 26px 80px rgba(26, 20, 11, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  --max-width: 1200px;
  --nav-height: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0;
  background: rgba(247, 241, 234, 0.78);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--nav-height);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand img { height: 44px; width: auto; border-radius: 50%; }
.lang-switch {
  display: flex;
  gap: 0.4rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  position: relative;
  transition: color .2s ease;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-current { color: var(--gold-strong); }
.lang-switch a.is-current::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--nav-height));
  min-height: 520px;
  background-color: var(--bg);
  background-image: url('../../bg.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 0;
}
@media (orientation: landscape) and (min-width: 720px) {
  .hero { background-size: cover; }
}
.hero__cta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: rgba(247, 241, 234, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(32,29,25,0.08);
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.96);
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0 96px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__eyebrow {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-strong);
  margin-bottom: 14px;
}
.section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.section__sub {
  margin: 18px auto 0;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Service tile grid ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 540px) { .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 960px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }

.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: #faf4ea;
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.tile__img {
  flex: 1 1 auto;
  width: 60%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 0;
}
.tile__label {
  flex: 0 0 auto;
  margin-top: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.tile-grid__more {
  margin-top: 36px;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Instagram section ---------- */
.ig-section { text-align: center; position: relative; overflow: hidden; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 auto;
  max-width: 980px;
}
@media (min-width: 720px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ig-grid > .ig-tile:nth-child(7):last-child { grid-column: 2 / 3; }
}
.ig-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile-grad, var(--bg-soft));
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.ig-tile:hover,
.ig-tile:focus-visible { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-deep); }
.ig-tile__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease;
  filter: saturate(1.02);
}
.ig-tile:hover .ig-tile__img { transform: scale(1.06); filter: saturate(1.12); }
.ig-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32,29,25,0) 55%, rgba(32,29,25,0.32) 100%);
  z-index: 1;
  pointer-events: none;
}
.ig-tile__badge {
  position: absolute;
  left: 12px; top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(247, 241, 234, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.ig-tile__hover {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(32,29,25,0) 0%, rgba(32,29,25,0.72) 100%);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.ig-tile:hover .ig-tile__hover,
.ig-tile:focus-visible .ig-tile__hover { opacity: 1; transform: translateY(0); }
.ig-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-strong);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}
.ig-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Contact form ---------- */
.contact-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form__full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.field__input,
.field__select,
.field__textarea {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 147, 86, 0.18);
}
.field__textarea { min-height: 140px; resize: vertical; }
.btn {
  justify-self: center;
  grid-column: 1 / -1;
  padding: 1.05rem 2.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--gold-strong); }
.contact-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.hp { width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.4em;
  text-align: center;
  font-size: 0.95rem;
}
.contact-status[data-kind="ok"]  { color: #4d7a52; }
.contact-status[data-kind="err"] { color: #b04a4a; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.site-footer__brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.site-footer__contact { margin-bottom: 16px; }
.site-footer__contact a { color: var(--ink); border-bottom: 1px solid var(--line); }
.site-footer__legal {
  margin-top: 28px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(32, 29, 25, 0.32);
  opacity: 0.85;
  transition: opacity .25s ease, color .25s ease;
}
.site-footer__legal a {
  color: inherit;
  margin: 0 0.4rem;
  text-decoration: none;
  border-bottom: 1px dotted rgba(32, 29, 25, 0.2);
  padding-bottom: 1px;
  transition: color .25s ease, border-color .25s ease;
}
.site-footer__legal:hover,
.site-footer__legal:focus-within { opacity: 1; color: var(--ink-soft); }
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible { color: var(--ink); border-bottom-color: var(--gold); }
.site-footer__copy { margin-top: 18px; font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.02em; }

/* ---------- Balloon divider (scroll-driven) ---------- */
.balloon-divider {
  position: relative;
  height: 180px;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
  margin-top: -90px;
  margin-bottom: -90px;
}
.balloon-divider .balloon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: auto;
  will-change: transform;
  transform: translate(-50%, 30vh);
  filter: drop-shadow(0 12px 22px rgba(217, 156, 174, 0.35));
}
@media (min-width: 720px) {
  .balloon-divider { height: 220px; }
  .balloon-divider .balloon { width: 84px; }
}
@supports (animation-timeline: view()) {
  .balloon-divider .balloon {
    animation: balloon-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}
@keyframes balloon-rise {
  from { transform: translate(-50%, 35vh) rotate(-2deg); }
  to   { transform: translate(-50%, -35vh) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .balloon-divider .balloon { animation: none; transform: translate(-50%, 0); }
}

/* ---------- Butterfly divider (scroll-driven, gold like logo) ---------- */
.butterfly-divider {
  position: relative;
  height: 160px;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
  margin-top: -80px;
  margin-bottom: -80px;
}
.butterfly-divider .butterfly {
  position: absolute;
  top: 50%;
  width: 56px;
  height: auto;
  will-change: transform;
  filter: drop-shadow(0 8px 14px rgba(181, 147, 86, 0.28));
}
.butterfly-divider .butterfly--a { left: 12%; transform: translate(0, 30vh) rotate(-12deg); }
.butterfly-divider .butterfly--b { left: 48%; width: 72px; transform: translate(-50%, 40vh) rotate(6deg); }
.butterfly-divider .butterfly--c { right: 14%; transform: translate(0, 35vh) rotate(16deg); }
@media (min-width: 720px) {
  .butterfly-divider { height: 200px; }
  .butterfly-divider .butterfly { width: 72px; }
  .butterfly-divider .butterfly--b { width: 96px; }
}
@supports (animation-timeline: view()) {
  .butterfly-divider .butterfly--a {
    animation: butterfly-drift-a linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .butterfly-divider .butterfly--b {
    animation: butterfly-drift-b linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .butterfly-divider .butterfly--c {
    animation: butterfly-drift-c linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}
@keyframes butterfly-drift-a {
  from { transform: translate(0, 38vh) rotate(-16deg); }
  to   { transform: translate(40px, -32vh) rotate(-4deg); }
}
@keyframes butterfly-drift-b {
  from { transform: translate(-50%, 42vh) rotate(2deg); }
  to   { transform: translate(calc(-50% - 18px), -36vh) rotate(10deg); }
}
@keyframes butterfly-drift-c {
  from { transform: translate(0, 36vh) rotate(18deg); }
  to   { transform: translate(-32px, -30vh) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .butterfly-divider .butterfly { animation: none !important; }
  .butterfly-divider .butterfly--a { transform: translate(0, 0) rotate(-10deg); }
  .butterfly-divider .butterfly--b { transform: translate(-50%, 0) rotate(4deg); }
  .butterfly-divider .butterfly--c { transform: translate(0, 0) rotate(14deg); }
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 48px 0 80px;
  background: var(--bg);
}
.legal__inner {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
}
.legal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 32px;
}
.legal h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 36px 0 12px;
  color: var(--ink);
}
.legal p { margin: 0 0 12px; color: var(--ink-soft); }
.legal__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
}
.legal__dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 24px;
  margin: 16px 0 0;
}
.legal__dl dt { color: var(--ink-faint); font-size: 0.86rem; }
.legal__dl dd { margin: 0; color: var(--ink); }
.legal__back { margin-top: 36px; }
.legal__back a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-strong);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- Accessibility helpers ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

/* Skip to content */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 0 0 8px 0;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 0;
  top: 0;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Focus-visible — accessible focus ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero__cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.brand:focus-visible,
.lang-switch a:focus-visible,
.ig-link:focus-visible,
.site-footer a:focus-visible,
.legal__back a:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 4px;
  border-radius: 4px;
}
.field__input:focus-visible,
.field__select:focus-visible,
.field__textarea:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 1px;
  border-color: var(--gold-strong);
}

/* Anchor jumps land below sticky nav */
html { scroll-padding-top: calc(var(--nav-height) + 12px); }
[id] { scroll-margin-top: calc(var(--nav-height) + 12px); }

/* Status colour-only signalling → add iconography prefix */
.contact-status[data-kind="ok"]::before  { content: "✓ "; }
.contact-status[data-kind="err"]::before { content: "⚠ "; }

/* Mobile: hero background sizing — avoid empty bars on portrait phones */
@media (max-width: 719px) {
  .hero {
    background-size: cover;
    min-height: 480px;
  }
  .hero__cta {
    right: 16px;
    bottom: 16px;
    padding: 0.9rem 1.4rem;
    font-size: 0.78rem;
  }
  .section { padding: 64px 0 72px; }
  .section__head { margin-bottom: 36px; }
  .shell { padding: 0 18px; }
  .tile-grid { gap: 14px; }
}

/* ============================================================
   Motion polish — parallax, reveal-on-view, ambient orbs
   Modern browsers use scroll-timeline; older ones use JS fallback.
   All animations honour prefers-reduced-motion.
   ============================================================ */

/* Parallax hero — JS sets --parallax (0..1) on .hero via scroll listener.
   CSS uses that to translate + scale the background layer subtly. */
.hero {
  isolation: isolate;
  --parallax: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  transform: translate3d(0, calc(var(--parallax, 0) * 18%), 0) scale(calc(1 + var(--parallax, 0) * 0.06));
  transform-origin: 50% 30%;
  transition: transform 80ms linear;
  z-index: -1;
  will-change: transform;
}
.hero { background-image: none; } /* moved to ::before */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 88%, rgba(247, 241, 234, 0.55) 0%, rgba(247, 241, 234, 0) 55%);
  pointer-events: none;
  z-index: -1;
}

/* Hero ::before needs the bg URL since `inherit` doesn't carry through nicely.
   Redeclare here matching the hero spec from the top of this file. */
.hero::before {
  background-image: url('../../bg.webp');
  background-size: contain;
}
@media (orientation: landscape) and (min-width: 720px) {
  .hero::before { background-size: cover; }
}
@media (max-width: 719px) {
  .hero::before { background-size: cover; }
}

/* Reveal-on-view — JS adds .is-revealed when element enters viewport.
   Modern browsers can fall back to scroll-timeline. */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: 0.05s;
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children of [data-reveal-stagger] when they're revealed */
[data-reveal-stagger].is-revealed > * {
  animation: tile-rise .65s cubic-bezier(.2,.7,.2,1) both;
}
[data-reveal-stagger].is-revealed > *:nth-child(1) { animation-delay: 0.00s; }
[data-reveal-stagger].is-revealed > *:nth-child(2) { animation-delay: 0.07s; }
[data-reveal-stagger].is-revealed > *:nth-child(3) { animation-delay: 0.14s; }
[data-reveal-stagger].is-revealed > *:nth-child(4) { animation-delay: 0.21s; }
[data-reveal-stagger].is-revealed > *:nth-child(5) { animation-delay: 0.28s; }
[data-reveal-stagger].is-revealed > *:nth-child(6) { animation-delay: 0.35s; }
[data-reveal-stagger].is-revealed > *:nth-child(7) { animation-delay: 0.42s; }
[data-reveal-stagger].is-revealed > *:nth-child(8) { animation-delay: 0.49s; }
@keyframes tile-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ambient gradient orbs — decorative depth behind alt sections */
.section--alt { position: relative; overflow: hidden; isolation: isolate; }
.section--alt::before,
.section--alt::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
  opacity: 0.55;
}
.section--alt::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(232, 196, 206, 0.7) 0%, rgba(232, 196, 206, 0) 70%);
  top: -180px; left: -120px;
}
.section--alt::after {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(181, 147, 86, 0.32) 0%, rgba(181, 147, 86, 0) 72%);
  bottom: -220px; right: -160px;
}

/* Section eyebrow shimmer on reveal */
.is-revealed .section__eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform-origin: left;
  animation: eyebrow-line .9s cubic-bezier(.2,.7,.2,1) .15s both;
}
@keyframes eyebrow-line {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* Brand title — gentle breathing on hover */
.site-footer__brand,
.section__title { transition: letter-spacing .6s ease; }
.section:hover .section__title { letter-spacing: 0.005em; }

/* Modern scroll-driven enhancement (Chrome 115+, Safari 18+) —
   parallax stays alongside JS but with native smoothing. */
@supports (animation-timeline: scroll()) {
  .hero::before {
    animation: hero-drift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  @keyframes hero-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(0, 18%, 0) scale(1.06); }
  }
  [data-reveal] {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* Reduced motion — strip parallax and reveal motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before { transform: none !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
  [data-reveal-stagger].is-revealed > * { animation: none !important; }
  .is-revealed .section__eyebrow::after { animation: none !important; }
}

/* Tablet portrait — keep readable tile grid */
@media (min-width: 480px) and (max-width: 719px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Larger screens (already handled in earlier breakpoints, keep) */
