/* ==========================================================================
   Lemon Trips — Brand Website
   ========================================================================== */

:root {
  --lemon: #F6D64A;
  --lemon-deep: #E7BE2E;
  --lemon-pale: #FBE9A8;
  --olive: #667B3E;
  --olive-deep: #4B5C2D;
  --olive-pale: #A9BE6E;
  --cream: #FAF8F3;
  --cream-deep: #F1ECE0;
  --forest: #253321;
  --forest-deep: #16200F;
  --stone: #D9D2C3;

  --forest-rgb: 37, 51, 33;
  --lemon-rgb: 246, 214, 74;
  --olive-rgb: 102, 123, 62;
  --cream-rgb: 250, 248, 243;

  --font-fa: 'Vazirmatn', 'Manrope', sans-serif;
  --font-latin: 'Manrope', 'Vazirmatn', sans-serif;
  --font-fa-display: 'Noto Kufi Arabic', 'Vazirmatn', sans-serif;
  --font-latin-display: 'Bricolage Grotesque', 'Manrope', sans-serif;

  --container: 1240px;
  --section-pad-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --radius-full: 999px;

  --ease-out: cubic-bezier(.16, .84, .44, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .25s;
  --dur-med: .6s;
  --dur-slow: 1.4s;

  --shadow-sm: 0 2px 10px rgba(var(--forest-rgb), .06);
  --shadow-md: 0 12px 34px rgba(var(--forest-rgb), .1);
  --shadow-lg: 0 24px 60px rgba(var(--forest-rgb), .16);

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }

body {
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-fa);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.lang-en, [dir="ltr"] { font-family: var(--font-latin); letter-spacing: 0; }

h1, h2, h3, h4 { font-family: var(--font-fa-display); font-weight: 700; line-height: 1.3; letter-spacing: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

::selection { background: var(--lemon); color: var(--forest-deep); }

/* ---------- accessibility helpers ---------- */
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -60px;
  background: var(--forest); color: var(--cream);
  padding: .75rem 1.25rem; border-radius: var(--radius-sm);
  z-index: 999; transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- cursor glow (desktop only) ---------- */
.cursor-glow {
  position: fixed; top: 0; inset-inline-start: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(var(--lemon-rgb), .18), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s ease;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2rem; border-radius: var(--radius-full);
  font-weight: 700; font-size: .95rem;
  transition: transform .45s var(--ease-bounce), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  position: relative; overflow: visible;
}
.btn-primary {
  background: linear-gradient(135deg, var(--lemon), var(--lemon-deep));
  color: var(--forest-deep);
  box-shadow: 0 8px 22px rgba(var(--lemon-rgb), .35);
}
.btn-primary:hover { background: var(--forest); color: var(--cream); transform: translateY(-4px) scale(1.06) rotate(-1deg); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(-1px) scale(.96) rotate(1deg); }
.btn-ghost {
  background: transparent; color: var(--forest);
  border: 1.5px solid rgba(var(--forest-rgb), .25);
}
.btn-ghost:hover { border-color: var(--lemon-deep); background: rgba(var(--lemon-rgb), .1); color: var(--forest-deep); transform: translateY(-4px) scale(1.06) rotate(1deg); }
.btn-sm { padding: .7rem 1.4rem; font-size: .85rem; }

/* playful click confetti (lemon-slice + dot burst) */
.btn-confetti {
  position: absolute; inset: 0; pointer-events: none; overflow: visible;
}
.confetti-bit {
  position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lemon-deep);
  animation: confetti-pop .7s var(--ease-out) forwards;
}
@keyframes confetti-pop {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--cx)), calc(-50% + var(--cy))) scale(0); opacity: 0; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 1.4rem;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), backdrop-filter var(--dur-fast) var(--ease-out);
}
.site-header.is-scrolled {
  padding-block: .75rem;
  background: rgba(var(--cream-rgb), .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(var(--forest-rgb), .06), var(--shadow-sm);
}

.header-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }

.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-mark { width: 30px; height: auto; aspect-ratio: 1202 / 2048; transition: transform .6s var(--ease-bounce); transform-origin: 50% 85%; }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.15); }
.brand-mark .c-lemon { fill: var(--lemon-deep); }
.brand-mark .c-leaf { fill: var(--olive); }
.brand-mark .c-cream { fill: var(--cream); }
.brand-word { font-family: var(--font-latin-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand-word em { font-style: normal; color: var(--olive); }

.main-nav { flex: 1; }
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(1.1rem, 2vw, 2.2rem); }
.main-nav a {
  position: relative; font-size: .95rem; font-weight: 600; padding-block: .3rem;
}
.main-nav a::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 2px;
  background: var(--lemon-deep); transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur-fast) var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--forest); margin-inline: auto; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset-inline: 0; top: 0; height: 100dvh;
  background: var(--forest); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
  transform: translateY(-100%); transition: transform var(--dur-med) var(--ease-in-out);
  z-index: 90;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.mobile-nav a { font-size: 1.6rem; font-weight: 700; }
.mobile-nav .btn-primary { background: var(--lemon); color: var(--forest-deep); }
.mobile-nav-social { display: flex; gap: 1.5rem; opacity: .75; font-size: .9rem; }

@media (max-width: 880px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.manifesto-lines .reveal:nth-child(1) { transition-delay: .05s; }
.manifesto-lines .reveal:nth-child(2) { transition-delay: .15s; }
.manifesto-lines .reveal:nth-child(3) { transition-delay: .25s; }
.manifesto-lines .reveal:nth-child(4) { transition-delay: .35s; }
.values-grid .value-card.reveal:nth-child(1) { transition-delay: .02s; }
.values-grid .value-card.reveal:nth-child(2) { transition-delay: .08s; }
.values-grid .value-card.reveal:nth-child(3) { transition-delay: .14s; }
.values-grid .value-card.reveal:nth-child(4) { transition-delay: .2s; }
.values-grid .value-card.reveal:nth-child(5) { transition-delay: .26s; }
.values-grid .value-card.reveal:nth-child(6) { transition-delay: .32s; }
.values-grid .value-card.reveal:nth-child(7) { transition-delay: .38s; }

/* ==========================================================================
   Section heads / eyebrows
   ========================================================================== */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-latin); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--olive-deep);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--lemon-deep); display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 { font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: clamp(6rem, 5rem + 3vw, 9rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-blobs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: .55; will-change: transform;
}
.blob-1 { width: 42vw; height: 42vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle, var(--lemon-pale), transparent 70%); top: -12%; inset-inline-end: -12%; animation: float-a 16s var(--ease-in-out) infinite; }
.blob-2 { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; background: radial-gradient(circle, var(--olive-pale), transparent 70%); bottom: -14%; inset-inline-start: -10%; opacity: .35; animation: float-b 20s var(--ease-in-out) infinite; }
.blob-3 { width: 20vw; height: 20vw; max-width: 320px; max-height: 320px; background: radial-gradient(circle, var(--stone), transparent 70%); top: 40%; inset-inline-start: 30%; opacity: .4; animation: float-a 24s var(--ease-in-out) infinite reverse; }

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 5%) scale(1.08); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, -6%) scale(1.05); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  perspective: 1200px;
}

.eyebrow {
  font-family: var(--font-latin); font-size: .82rem; font-weight: 700;
  letter-spacing: .16em; color: var(--olive-deep); margin-bottom: 1.4rem;
  text-transform: uppercase;
}
.eyebrow .dot { color: var(--lemon-deep); }

.hero-title {
  font-size: clamp(2.6rem, 1.9rem + 4vw, 5rem);
  display: flex; flex-direction: column; gap: .1em;
}
.hero-title .accent {
  font-family: var(--font-fa-display); font-weight: 700;
  color: var(--olive-deep);
  position: relative; width: fit-content;
}
.hero-title .accent::after {
  content: ""; position: absolute; bottom: .05em; inset-inline: -.05em; height: .28em;
  background: var(--lemon); z-index: -1; opacity: .55;
  transform-origin: right; animation: underline-grow 1.4s .6s var(--ease-out) both;
}
@keyframes underline-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-latin {
  font-family: var(--font-latin-display); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem);
  color: var(--olive); margin-top: 1rem;
}
.hero-desc { max-width: 46ch; margin-top: 1.4rem; font-size: 1.05rem; color: rgba(var(--forest-rgb), .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; inset-inline-start: 50%; transform: translateX(50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--olive-deep);
  z-index: 2;
}
.scroll-cue-line { width: 1.5px; height: 34px; background: linear-gradient(var(--olive-deep), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ""; position: absolute; top: -100%; inset-inline: 0; height: 100%;
  background: var(--lemon-deep); animation: scroll-drip 2s var(--ease-in-out) infinite;
}
@keyframes scroll-drip { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ---- hero lemon-portal visual ---- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual[data-tilt] {
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .5s var(--ease-out);
  will-change: transform;
}
.lemon-portal {
  width: clamp(220px, 26vw, 360px);
  filter: drop-shadow(0 30px 50px rgba(var(--forest-rgb), .18));
  animation: lemon-idle 7s var(--ease-in-out) infinite;
}
@keyframes lemon-idle {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}
.lp-leaf { transform-origin: 700px 380px; animation: leaf-sway 4s var(--ease-in-out) infinite; }
@keyframes leaf-sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(5deg); }
}
.lp-sheen { animation: sheen-sweep 6s ease-in-out infinite; }
@keyframes sheen-sweep {
  0% { transform: translateX(0) skewX(-18deg); opacity: 0; }
  8% { opacity: .16; }
  30% { transform: translateX(2100px) skewX(-18deg); opacity: 0; }
  100% { transform: translateX(2100px) skewX(-18deg); opacity: 0; }
}

.hero-visual-glow {
  position: absolute; inset: 8% 18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--lemon-rgb), .35), transparent 68%);
  filter: blur(30px); animation: glow-pulse 7s var(--ease-in-out) infinite;
}
@keyframes glow-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto { padding-block: var(--section-pad-y); background: var(--cream-deep); }
.manifesto-lines { display: flex; flex-direction: column; gap: clamp(1rem, 1rem + 1vw, 1.6rem); }
.m-line {
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1.4;
  max-width: 18ch;
}
.m-line span { color: var(--olive-deep); font-family: var(--font-fa-display); font-weight: 700; }
.manifesto-closing {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 60ch;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--olive-deep); font-weight: 600;
  padding-inline-start: 1.4rem; border-inline-start: 3px solid var(--lemon-deep);
}

/* ==========================================================================
   Values
   ========================================================================== */
.values {
  padding-block: var(--section-pad-y);
  background: radial-gradient(ellipse 900px 560px at 12% 0%, rgba(var(--lemon-rgb), .12), transparent 60%), var(--cream);
}
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem;
}
.value-card {
  background: #fff; border: 1px solid rgba(var(--forest-rgb), .07);
  border-radius: var(--radius-md); padding: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  transition: transform .5s var(--ease-bounce), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.value-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-md); border-color: transparent; }
.value-icon { width: 40px; height: 40px; color: var(--olive-deep); margin-bottom: 1.2rem; transition: color var(--dur-fast), transform .5s var(--ease-bounce); }
.value-card:hover .value-icon { transform: scale(1.15) rotate(8deg); }
.value-card:hover .value-icon { color: var(--lemon-deep); }
.value-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.value-card p { font-size: .95rem; color: rgba(var(--forest-rgb), .72); }

/* ==========================================================================
   Collections (horizontal scroller)
   ========================================================================== */
.collections { padding-block: var(--section-pad-y); overflow: hidden; }
.collections-scroller {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 1rem;
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.collections-scroller::-webkit-scrollbar { display: none; }
.collections-track { display: flex; gap: 1.4rem; width: max-content; }
.collection-card {
  scroll-snap-align: start; flex: 0 0 auto;
  width: clamp(230px, 24vw, 300px); height: clamp(320px, 34vw, 400px);
  border-radius: var(--radius-lg); padding: 1.8rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem;
  color: var(--cream); position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .55s var(--ease-bounce);
}
.collection-card { background-size: cover; background-position: center; }
.collection-card:hover { transform: translateY(-12px) scale(1.03) rotate(-.6deg); }
.collection-card:hover .collection-photo { transform: scale(1.06); }
.collection-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease-out);
}
.collection-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 14, 8, .85), rgba(10, 14, 8, 0) 58%),
    linear-gradient(to bottom, rgba(10, 14, 8, .4), rgba(10, 14, 8, 0) 32%);
}
.collection-card::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .05; mix-blend-mode: overlay; pointer-events: none;
}
.collection-icon, .collection-name, .collection-desc { position: relative; z-index: 3; }
.collection-icon { font-size: 1.6rem; position: absolute; top: 1.6rem; inset-inline-end: 1.8rem; opacity: .85; }
.collection-name { font-family: var(--font-latin-display); font-weight: 800; font-size: 1.35rem; }
.collection-name em { font-style: normal; font-weight: 500; opacity: .85; }
.collection-desc { font-size: .92rem; opacity: .9; }

.scroller-progress { height: 3px; background: rgba(var(--forest-rgb), .08); border-radius: var(--radius-full); margin-top: 1.6rem; overflow: hidden; }
.scroller-progress span { display: block; height: 100%; width: 0%; background: var(--lemon-deep); border-radius: var(--radius-full); transition: width .1s linear; }

.grad-1 { background: linear-gradient(155deg, #7a6a2e, #E7BE2E 55%, #F6D64A); }
.grad-2 { background: linear-gradient(155deg, #1c2a17, #445626 55%, #667B3E); }
.grad-3 { background: linear-gradient(155deg, #7a3a1e, #b3612e 55%, #d98c4a); }
.grad-4 { background: linear-gradient(155deg, #0e3b3f, #1e6e6b 55%, #4bab9e); }
.grad-5 { background: linear-gradient(155deg, #4a3324, #7a5b3e 55%, #b79572); }
.grad-6 { background: linear-gradient(155deg, #1a2338, #34406b 55%, #6c7fb8); }
.grad-7 { background: linear-gradient(155deg, #16200f, #253321 55%, #3d4d2c); }

/* ==========================================================================
   Curated Path
   ========================================================================== */
.curated-path { padding-block: var(--section-pad-y); background: var(--cream-deep); }
.path-map { display: flex; flex-direction: column; gap: clamp(2rem, 2rem + 2vw, 3.5rem); }
.path-svg { width: 100%; height: auto; }
.path-line-solid { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--ease-out); }
.path-line-solid.is-drawn { stroke-dashoffset: 0; }
.path-line { opacity: .5; }

.travel-notes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.6rem;
}
.note {
  display: flex; flex-direction: column; gap: .3rem;
  padding-inline-start: 1.1rem; border-inline-start: 2px solid var(--stone);
}
.note-photo {
  width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-sm);
  background-color: var(--stone); background-size: cover; background-position: center;
  margin-bottom: .6rem;
}
.note-coord { font-family: var(--font-latin); font-size: .74rem; letter-spacing: .06em; color: var(--olive-deep); font-variant-numeric: tabular-nums; }
.note-title { font-family: var(--font-latin-display); font-weight: 700; font-size: 1.5rem; }
.note-sub { font-size: .9rem; color: rgba(var(--forest-rgb), .68); }

.local-strip {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 1.6rem;
  font-family: var(--font-latin); font-size: .78rem; letter-spacing: .08em;
  color: rgba(var(--forest-rgb), .4); text-transform: lowercase;
}
.local-strip span:not(:last-child)::after { content: "·"; margin-inline-start: 1.6rem; color: var(--lemon-deep); }

/* ==========================================================================
   Quote
   ========================================================================== */
.quote { padding-block: var(--section-pad-y); text-align: center; }
.quote .container { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.quote-mark { width: 44px; height: 44px; color: var(--lemon-deep); opacity: .6; margin-bottom: 1.4rem; }
.quote-en { font-family: var(--font-latin-display); font-weight: 700; letter-spacing: -.01em; font-size: clamp(1.3rem, 1.05rem + 1.4vw, 2rem); line-height: 1.4; }
.quote-fa { margin-top: 1.4rem; font-size: 1.05rem; color: rgba(var(--forest-rgb), .7); max-width: 52ch; }

/* ==========================================================================
   Personality
   ========================================================================== */
.personality {
  padding-block: var(--section-pad-y);
  background: radial-gradient(ellipse 900px 560px at 88% 100%, rgba(var(--olive-rgb), .12), transparent 60%), var(--cream);
}
.personality .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 3vw, 4rem); align-items: center;
}
.personality-text h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin: .6rem 0 1rem; }
.personality-text p { color: rgba(var(--forest-rgb), .72); max-width: 42ch; }
.personality-bars { display: flex; flex-direction: column; gap: 1.4rem; }
.bar-row { display: grid; grid-template-columns: 8.5rem 1fr 3rem; align-items: center; gap: 1rem; }
.bar-label { font-weight: 700; font-size: .95rem; }
.bar-label em { font-style: normal; color: var(--olive-deep); font-family: var(--font-latin-display); font-weight: 600; margin-inline-start: .3rem; }
.bar-track { height: 8px; border-radius: var(--radius-full); background: var(--stone); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--olive), var(--lemon-deep)); transition: width 1.4s var(--ease-out); }
.bar-row.is-visible .bar-fill { width: var(--pct); }
.bar-pct { font-family: var(--font-latin); font-weight: 700; font-size: .9rem; color: var(--olive-deep); text-align: end; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  padding-block: var(--section-pad-y); text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--cream), var(--cream-deep));
  position: relative;
}
.final-cta-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 25%;
}
.final-cta-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 16, .55), rgba(20, 28, 16, .82));
}
.final-cta-inner { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.final-cta:has(.final-cta-photo) .section-eyebrow,
.final-cta:has(.final-cta-photo) h2,
.final-cta:has(.final-cta-photo) > .final-cta-inner > p.reveal { color: var(--cream); }
.final-cta:has(.final-cta-photo) .section-eyebrow::before { background: var(--lemon); }
.final-cta:has(.final-cta-photo) .btn-ghost { color: var(--cream); border-color: rgba(var(--cream-rgb), .5); }
.final-cta:has(.final-cta-photo) .btn-ghost:hover { background: rgba(var(--cream-rgb), .12); border-color: var(--cream); color: var(--cream); }
.final-cta:has(.final-cta-photo) .cta-lemon { display: none; }
.cta-lemon {
  position: absolute; top: -3rem; inset-inline-end: -2rem; z-index: -1;
  width: clamp(140px, 16vw, 220px); opacity: .9;
  animation: lemon-idle 8s var(--ease-in-out) infinite;
}
.final-cta h2 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem); max-width: 16ch; margin-bottom: .8rem; }
.final-cta > .final-cta-inner > p.reveal { color: rgba(var(--forest-rgb), .72); max-width: 46ch; margin-bottom: 2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest); color: var(--cream); }
.footer-inner {
  padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
}
.footer-brand .brand-mark .c-lemon { fill: var(--lemon); }
.footer-brand .brand-mark .c-leaf { fill: var(--olive-pale); }
.footer-brand .brand-mark .c-cream { fill: var(--forest); }
.footer-brand .brand-word { color: var(--cream); }
.footer-brand .brand-word em { color: var(--lemon); }
.footer-brand p { margin-top: 1rem; color: rgba(var(--cream-rgb), .65); font-family: var(--font-fa-display); font-weight: 600; font-size: 1.1rem; }

.footer-nav h4, .footer-contact h4 {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lemon);
  margin-bottom: 1.2rem; font-weight: 700;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a, .footer-contact a { color: rgba(var(--cream-rgb), .8); font-size: .95rem; transition: color var(--dur-fast); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--lemon); }
.footer-contact { display: flex; flex-direction: column; }
.footer-contact a { display: block; margin-bottom: .7rem; }

.footer-bottom { border-top: 1px solid rgba(var(--cream-rgb), .12); }
.footer-bottom .container {
  padding-block: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .82rem; color: rgba(var(--cream-rgb), .55);
}
.footer-tag { font-family: var(--font-latin-display); font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; margin-bottom: 1rem; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .personality .container { grid-template-columns: 1fr; }
  .personality-text { text-align: center; }
  .personality-text p { margin-inline: auto; }
  .bar-row { grid-template-columns: 6.5rem 1fr 2.6rem; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav ul { align-items: center; }
  .footer-contact { align-items: center; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .m-line { max-width: 100%; }
  .cta-lemon { display: none; }
  .quote-fa { max-width: 100%; }
}

@media (max-width: 400px) {
  .hero-title { font-size: clamp(2.1rem, 1.7rem + 4vw, 2.6rem); }
  .btn { padding: .9rem 1.5rem; font-size: .88rem; }
}

/* short / landscape phones */
@media (max-height: 620px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 7rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .reveal { transform: none; }
}
