/* Kerrville Newsletter — hometown */
:root {
  --bg: #f9f2e7;
  --paper: #f9f2e7;
  --ink: #1b3e29;
  --muted: #5b574e;
  --line: rgba(27, 62, 41, 0.12);

  --forest: #1b3e29;     /* deep forest accent */
  --forest-dk: #1b3e29;
  --gold: #e2b341;       /* yellow rose */
  --gold-dk: #c4952a;
  --blush: #c97a52;      /* indian paintbrush */
  --bluebonnet: #4b5fa3;

  --sand-1: #f7efe0;
  --sand-2: #ecdfc5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;

  --max: 1200px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(21, 37, 31, 0.08);
  --shadow-md: 0 14px 40px rgba(21, 37, 31, 0.14);
  --shadow-lg: 0 30px 80px rgba(21, 37, 31, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
html, body { background: #f9f2e7; color: #1b3e29; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Brand logo */
.site-logo { max-width: 400px; height: auto; display: block; }
@media (max-width: 640px) { .site-logo { max-width: 280px; } }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; font-family: var(--font-body); letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; display: inline-block;
}
.eyebrow.on-dark { color: var(--gold); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(to bottom, rgba(10,18,15,0.55), rgba(10,18,15,0));
  transition: background .35s var(--ease-out), backdrop-filter .35s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(249, 242, 231, 0.94);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  box-shadow: 0 1px 0 var(--line);
}
.nav .logo {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: #fff; font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
  transition: color .3s var(--ease-out);
}
.nav.is-scrolled .logo { color: var(--forest-dk); }
.nav .logo svg { width: 34px; height: 34px; }
.nav .tm { font-size: 0.55em; vertical-align: super; opacity: 0.85; margin-left: 1px; }
.nav .logo .site-logo { filter: brightness(0) invert(1); transition: filter .3s var(--ease-out); }
.nav.is-scrolled .logo .site-logo { filter: none; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; text-decoration: none; font-weight: 700;
  padding: .5rem .85rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px;
  transition: all .25s var(--ease-out);
}
.lang-switch:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.nav.is-scrolled .lang-switch { color: var(--forest); border-color: var(--forest); }
.nav.is-scrolled .lang-switch:hover { background: var(--forest); color: var(--gold); }
.lang-short { display: none; font-weight: 700; letter-spacing: 0.12em; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: #fff;
  padding: 8rem 0 4rem;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: #0f1a16 url('assets/hero-poster.jpg') center/cover no-repeat;
}
.hero-kenburns {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  will-change: transform;
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.08) translate(3%, -2%); }
  100% { transform: scale(1.25) translate(-4%, 3.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kenburns { animation: none; transform: scale(1.04); }
}
.hero-credit {
  position: absolute; bottom: 14px; right: 18px; z-index: 3;
  font-size: 0.7rem; color: rgba(255,255,255,0.75);
  background: rgba(15,26,22,0.55); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 999px;
  font-style: italic; letter-spacing: 0.01em;
}
.hero-credit a { color: rgba(255,255,255,0.95); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.hero-credit a:hover { color: #f3c969; border-color: #f3c969; }
.photo-credit {
  position: absolute; bottom: 8px; left: 10px; z-index: 2;
  font-size: 0.62rem; font-style: italic;
  color: rgba(255,255,255,0.82);
  background: rgba(15,26,22,0.55); backdrop-filter: blur(6px);
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.01em;
}
.photo-credit a { color: rgba(255,255,255,0.95); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.photo-credit a:hover { color: #f3c969; border-color: #f3c969; }
.hero-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(25, 50, 40, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(15,26,22,0.50) 0%, rgba(15,26,22,0.35) 40%, rgba(15,26,22,0.78) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 860px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  background: rgba(31, 58, 52, 0.45);
  border: 1px solid rgba(226, 179, 65, 0.35);
  padding: .55rem 1rem; border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1.75rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(226,179,65,.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(226,179,65,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(226,179,65,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,179,65,0); }
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: italic; color: var(--gold); font-weight: 400;
}
.hero-tag {
  max-width: 640px; margin: 1.25rem auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
}
.hero-tag strong { color: var(--gold); font-weight: 700; }

.hero-form {
  margin-top: 2.5rem;
  display: grid;
  gap: .7rem;
  grid-template-columns: 1fr 1fr auto;
  max-width: 640px; margin-left: auto; margin-right: auto;
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .55rem;
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-form input {
  background: transparent; border: 0; outline: 0;
  color: #fff; padding: .9rem 1.1rem;
  font: inherit; font-size: 1rem;
}
.hero-form input::placeholder { color: rgba(255,255,255,0.65); }
.hero-form input:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.18);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 0.95rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  background: var(--gold); color: var(--forest-dk);
  text-decoration: none; letter-spacing: 0.01em;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
  box-shadow: 0 8px 24px rgba(196, 149, 42, 0.35);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(196, 149, 42, 0.45); background: #edc055; }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.8);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px; height: 36px; background: rgba(255,255,255,0.5);
  animation: drop 2s infinite var(--ease-out);
  transform-origin: top;
}
@keyframes drop {
  0%,100% { transform: scaleY(0.3); opacity: .4; }
  50%     { transform: scaleY(1); opacity: 1; }
}

/* ---------- SECTIONS ---------- */
section { position: relative; }
.section-pad { padding: clamp(5rem, 10vw, 8rem) 0; }

.section-head {
  max-width: 760px; margin: 0 auto clamp(3rem, 5vw, 4.5rem);
  text-align: center;
}
.section-head p {
  color: var(--muted); font-size: 1.075rem; margin-top: .65rem;
}

/* What you'll get */
.get {
  background: linear-gradient(180deg, var(--sand-1) 0%, var(--bg) 100%);
}
.get::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(226, 179, 65, 0.10), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(31, 58, 52, 0.07), transparent 40%);
  pointer-events: none;
}
.get .container { position: relative; }
.cards {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.card:hover .card-img img { transform: scale(1.06); }
.card-img::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 60%;
  background: linear-gradient(to top, rgba(15,26,22,0.35), transparent);
}
.card-body { padding: 1.5rem 1.5rem 1.75rem; }
.card-icon {
  width: 32px; height: 32px; color: var(--gold-dk);
  margin-bottom: .5rem;
}
.card h3 { margin-bottom: .45rem; color: var(--forest-dk); }
.card p { color: var(--muted); font-size: 0.975rem; margin: 0; }

/* About */
.about {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--sand-1) 100%);
  overflow: hidden;
}
.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
.about-img {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img::before {
  content: ''; position: absolute; inset: -16px; z-index: -1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--blush) 100%);
  border-radius: calc(var(--radius) + 8px); opacity: 0.18; filter: blur(30px);
}
.about-text h2 { color: var(--forest-dk); }
.about-text h2 em {
  font-style: italic; color: var(--blush); font-weight: 400;
}
.about-text p { color: var(--ink); font-size: 1.075rem; }
.pullquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.35; color: var(--forest);
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0 0;
}
.signature {
  margin-top: 1.5rem; display: flex; align-items: flex-start;
  color: var(--muted); font-size: 0.95rem;
}
.signature__block { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.signature .name {
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem;
  color: var(--forest-dk);
}
.signature .editor-credit { margin-top: 0; }

/* Community parallax */
.community {
  position: relative; color: #fff;
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: #1a2e27;
  overflow: hidden;
}
.community .bg {
  position: absolute; inset: -10% 0 -10% 0;
  background-image: url('assets/img-hillcountry.jpg');
  background-size: cover; background-position: center;
  will-change: transform;
  z-index: 0;
}
.community .bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,26,22,0.72), rgba(15,26,22,0.80));
}
.community .container { position: relative; z-index: 2; text-align: center; }
.community h2 { color: #fff; }
.community h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.community p { color: rgba(255,255,255,0.86); font-size: 1.1rem; max-width: 620px; margin: 1rem auto 2.5rem; }

.counter-wrap {
  display: inline-flex; align-items: baseline; gap: .6rem;
  padding: 1.5rem 2.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 500; color: var(--gold); line-height: 1;
  letter-spacing: -0.02em;
}
.counter-label {
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.circle-rewards {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem;
}
.reward-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1.1rem; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.88rem; color: rgba(255,255,255,0.9);
}
.reward-chip svg { width: 16px; height: 16px; color: var(--gold); }

/* Final CTA */
.cta {
  position: relative;
  background:
    linear-gradient(135deg, #1f3a34 0%, #15251f 60%, #2a4a42 100%);
  color: #fff;
  padding: clamp(5rem, 10vw, 7rem) 0;
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.15;
  background-image:
    radial-gradient(circle at 10% 20%, var(--gold), transparent 30%),
    radial-gradient(circle at 85% 80%, var(--blush), transparent 35%);
}
.cta-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.cta .container { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.cta h2 { color: #fff; }
.cta h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.cta p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 2rem; }

.form-card {
  background: rgba(255, 250, 240, 0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .4rem;
}
.field input {
  width: 100%; padding: .95rem 1.1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff; border-radius: 10px;
  font: inherit; font-size: 1rem;
  transition: border-color .25s, background .25s;
}
.field input::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus {
  outline: 0; border-color: var(--gold);
  background: rgba(255,255,255,0.10);
}
.form-card .btn { width: 100%; padding: 1.05rem 1.6rem; margin-top: 1.25rem; font-size: 1rem; }
.turnstile {
  margin-top: 1rem; min-height: 0;
  font-size: 0.75rem; color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: .5rem;
}
.turnstile::before {
  content: ''; width: 14px; height: 14px; border-radius: 3px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
}
.consent {
  margin-top: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.58); text-align: center;
}

/* Success state */
.success-state {
  display: none;
  text-align: center; padding: 1rem 0;
}
.success-state.is-visible { display: block; animation: fadeUp .6s var(--ease-out); }
.success-check {
  width: 72px; height: 72px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--gold); color: var(--forest-dk);
  display: flex; align-items: center; justify-content: center;
  animation: pop .6s var(--ease-out);
}
.success-check svg { width: 36px; height: 36px; }
@keyframes pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.success-state h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem); color: #fff;
}
.success-state p { color: rgba(255,255,255,0.82); margin-top: .5rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: #15251f; color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}
.footer .container {
  display: grid; gap: 2rem;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: start;
}
@media (max-width: 720px) {
  .footer .container { grid-template-columns: 1fr; }
}
.footer .brand-mark {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; font-family: var(--font-display); font-size: 1.15rem;
  margin-bottom: .65rem;
}
.footer .brand-mark svg { width: 32px; height: 32px; }
.footer h4 {
  font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  margin: 0 0 .9rem;
}
.footer a {
  color: rgba(255,255,255,0.78); text-decoration: none;
  transition: color .25s;
}
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-bottom .tm { font-size: 0.6em; vertical-align: super; }
.footer-brand { }
.footer-logo-link { display: inline-block; background: #f9f2e7; padding: .75rem 1rem; border-radius: 10px; border: 1px solid rgba(243,201,105,0.35); margin-bottom: 1rem; line-height: 0; }
.footer-logo { display: block; width: 100%; max-width: 280px; height: auto; }
.footer-tag { max-width: 340px; color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }

/* ---------- scroll reveal (progressive enhancement for AOS) ---------- */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-animate="fade"] { transform: none; }
[data-animate="left"] { transform: translateX(-28px); }
[data-animate="right"] { transform: translateX(28px); }
[data-animate].in-view { transform: translate(0,0); }
[data-animate-delay="1"].in-view { transition-delay: .08s; }
[data-animate-delay="2"].in-view { transition-delay: .16s; }
[data-animate-delay="3"].in-view { transition-delay: .24s; }
[data-animate-delay="4"].in-view { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
  .hero-scroll .line { animation: none; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 840px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
}
@media (max-width: 640px) {
  .hero { padding: 7rem 0 3rem; }
  .hero-form {
    grid-template-columns: 1fr;
    border-radius: 20px;
    padding: .9rem;
    gap: .5rem;
  }
  .hero-form input { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.18); padding: .85rem 1rem; }
  .hero-form input:last-of-type { border-bottom: 0; }
  .hero-form .btn { width: 100%; }
  .nav-right .lang-switch .lang-label { display: none; }
  .nav-right .lang-switch .lang-short { display: inline; }
}

/* Added: always-local-always-free promise */
.hero-tag__promise{display:inline-block;margin-top:.5rem;font-family:'Fraunces',serif;font-style:italic;font-weight:500;letter-spacing:.01em;opacity:.95;}

/* About the Editor — subtle credit */
.editor-credit{margin-top:.5rem;font-size:.82rem;letter-spacing:.02em;opacity:.7;font-style:italic;}


/* ========== MASTHEAD OVERRIDES (V3 — 50% logo, cream band) ========== */
/* Make nav a static cream band instead of fixed translucent overlay */
.nav, header.nav {
  position: static !important;
  background: #f9f2e7 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 8px clamp(16px, 3vw, 32px) !important;
  box-shadow: 0 1px 0 rgba(27, 62, 41, 0.08) !important;
  color: #1b3e29 !important;
}
.nav .nav__inner { padding: 0 !important; }

/* Logo: 50% viewport width, tight lockup, no white filter */
.site-logo {
  width: 50vw !important;
  max-width: 50vw !important;
  height: auto !important;
  filter: none !important;
  display: block !important;
}
.nav .logo .site-logo,
.nav .brand .site-logo,
.nav.is-scrolled .logo .site-logo,
.nav.is-scrolled .brand .site-logo { filter: none !important; }

/* Logo anchor: LEFT-aligned (matches V3 mockup), lang/nav items sit right */
.nav > .logo,
.nav .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  margin-right: auto; /* pushes everything else to the right */
}

/* Nav links: keep dark on cream */
.nav, .nav a, .nav .lang-switch, .nav .nav__lang, .nav .nav__cta,
.nav .nav__links a { color: #1b3e29 !important; }
.nav .lang-switch, .nav .nav__lang {
  border-color: #1b3e29 !important;
  background: transparent !important;
}
.nav .lang-switch:hover, .nav .nav__lang:hover {
  background: #1b3e29 !important; color: #c9a862 !important;
}
.nav .nav__cta {
  background: #1b3e29 !important; color: #f9f2e7 !important;
  border-color: #1b3e29 !important;
}

/* Hero: drop the large top padding since nav is no longer fixed */
.hero { padding-top: 1.5rem !important; }

/* Mobile: logo bigger (78vw) when space allows */
@media (max-width: 720px) {
  .site-logo { width: 78vw !important; max-width: 78vw !important; }
  .nav { flex-direction: column; gap: 4px; padding: 8px 12px !important; }
  .nav .nav__inner { flex-direction: column; }
}
/* ================================================================ */


/* ========== NAV-LINKS (restored per approved masthead) ========== */
.nav .nav-link {
  color: #1b3e29 !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-display, Fraunces), Georgia, serif;
  letter-spacing: -0.005em;
  padding: 6px 10px;
  transition: opacity .2s ease;
  opacity: 0.85;
}
.nav .nav-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; flex: 0 0 auto; }
@media (max-width: 860px) {
  .nav .nav-link:not(:first-child) { display: none; } /* keep only Subscribe on small screens */
}
/* ================================================================ */


/* Hero eyebrow: 3-line stacked layout (future-proof for any city name) */
.hero-eyebrow {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
  line-height: 1.35;
  padding: .7rem 1.4rem;
}
.hero-eyebrow .eyebrow-line1 { color: var(--gold); font-weight: 700; display: block; }
.hero-eyebrow .eyebrow-line2 { color: #f9f2e7; font-weight: 500; display: block; letter-spacing: 0.18em; }
.hero-eyebrow .eyebrow-line3 { color: #b4a7e8; font-weight: 700; display: block; margin-top: .15rem; }



/* ============================================================
   MOBILE: Subscribe nav-link as green pill (match ES Suscríbete)
   ============================================================ */
@media (max-width: 860px) {
  .nav .nav-link[href="#subscribe"],
  .nav .nav-link[data-nmc-subscribe] {
    background: #1b3e29 !important;
    color: #f9f2e7 !important;
    border: 1px solid #1b3e29 !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.01em !important;
    opacity: 1 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    text-transform: none !important;
  }
  .nav .nav-link[href="#subscribe"]:hover,
  .nav .nav-link[data-nmc-subscribe]:hover {
    background: #0f2818 !important;
    color: #c9a862 !important;
    text-decoration: none !important;
  }
}
  .nav .nav-link[href="#subscribe"]:hover,
  .nav .nav-link[data-nmc-subscribe]:hover {
    background: #0f2818 !important;
    color: #c9a862 !important;
    text-decoration: none !important;
  }
}

/* ============================================================
   SOPHIE CHAT TEASER (ported from ES parity)
   ============================================================ */
.sophie-section { background: var(--paper); }
.sophie__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.sophie__text h2 { margin: 0.5rem 0 1rem; color: var(--ink); }
.sophie__text h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.sophie__text p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.sophie__text .lead { color: var(--ink); font-size: 1.12rem; }

.sophie__card {
  background: linear-gradient(160deg, var(--forest), #14301f);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.sophie__card::before {
  content: "";
  position: absolute;
  top: -20px; right: 30px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.5;
  filter: blur(20px);
}
.sophie__chat { display: flex; flex-direction: column; gap: 0.9rem; }
.chat__bubble {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 85%;
  animation: sophieFadeSlide 0.6s var(--ease-out) both;
}
.chat__bubble:nth-child(1) { animation-delay: 0.2s; }
.chat__bubble:nth-child(2) { animation-delay: 0.9s; }
.chat__bubble:nth-child(3) { animation-delay: 1.6s; }
@keyframes sophieFadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat__bubble p {
  background: rgba(251,246,236,0.96);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 16px 16px 16px 4px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.chat__bubble--you { align-self: flex-end; margin-left: auto; }
.chat__bubble--you p {
  background: var(--gold);
  color: var(--forest);
  border-radius: 16px 16px 4px 16px;
}
.chat__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .sophie__grid { grid-template-columns: 1fr; }
}

/* Hero eyebrow line 2 — lowercase + italic per user request */
.hero-eyebrow .eyebrow-line2 {
  text-transform: none !important;
  font-style: italic !important;
  letter-spacing: 0.04em !important;
  font-family: var(--font-display, Fraunces), Georgia, serif !important;
}


/* Tighten Elizabeth Ann signature block — Founder/Publisher sits close to name */
.signature .editor-credit,
.signature__block .editor-credit { margin: 0.1rem 0 0 0 !important; line-height: 1.2 !important; }
