/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  --bg:        #0A1512;   /* deep forest-black, never pure #000 */
  --bg-alt:    #0A1B24;   /* deep navy-black, alternate sections */
  --bg-2:      #0E1F19;
  --card:      #142720;
  --card-blue: #10222E;
  --cream:     #F1EEE2;   /* text on dark, never pure white */
  --cream-2:   #CBD2C4;
  --mute:      #8B9990;
  --mute-blue: #7F97A6;
  --accent:    #22D3A6;   /* vivid mint-emerald — primary CTA / highlight, youthful energy */
  --sage:      #3EBD93;   /* vivid green accent */
  --slate:     #3AA8DE;   /* vivid blue accent */
  --gold:      #C7A648;   /* muted brass/gold — demoted to rare heritage detail only */
  --line:      rgba(241,238,226,.12);
  --line-2:    rgba(241,238,226,.08);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; }
ul { list-style: none; padding: 0; }
::selection { background: var(--sage); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
[data-theme-section="blue"] .kicker { color: var(--slate); }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--cream);
}

/* =============================================================
   4. Typography
   ============================================================= */
.hero-title, .about-title, .section-title {
  font-family: var(--serif);
  font-weight: 400;
}

.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.05;
  max-width: 16ch;
  color: var(--cream);
}
.about-title, .section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  max-width: 18ch;
}
.section-title { margin-bottom: 2.6rem; }

.hero-sub, .pairing-lead, .contact-lead, .testimonials-note {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--cream-2);
  max-width: 46ch;
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn-primary {
  background: var(--accent);
  color: #05261f;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28), 0 1px 3px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.32), 0 10px 20px rgba(34,211,166,0.28);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); background: rgba(62,189,147,0.08); }

.btn-nav-cta {
  padding: .65rem 1.3rem;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--line);
}
.btn-nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* Magnetic wrapper */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform .8s var(--ease-soft);
}

/* Cards */
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), border-color .4s var(--ease-out);
}
.card:hover { transition-duration: .15s; border-color: rgba(62,189,147,0.4); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(62,189,147,0.26), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.card:hover::before { opacity: 1; }
.card-num {
  display: block; font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--mute); margin-bottom: 1.2rem;
}
.card-icon {
  display: inline-flex; width: 40px; height: 40px; color: var(--sage);
  margin-bottom: 1rem; transform: translateZ(30px);
}
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; transform: translateZ(30px); }
.card p { color: var(--cream-2); font-size: 0.95rem; transform: translateZ(20px); }

/* Credential badges */
.credential-badges {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.8rem;
}
.credential-badges li {
  font-size: 0.78rem; font-weight: 600; letter-spacing: .02em;
  color: var(--cream-2);
  padding: .5rem .9rem;
  border: 1px solid rgba(199,166,72,0.4);
  border-radius: 999px;
  background: rgba(199,166,72,0.07);
}

/* Stat row */
.stat-row {
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  margin-top: 2.2rem; padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: .3rem; min-width: 120px; }
.stat-num { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.82rem; color: var(--mute); max-width: 18ch; }

/* Pairing cards */
.pairing-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--card-blue);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 1.4rem;
}
.ph-square { width: 84px; height: 84px; flex: none; border-radius: 12px; object-fit: cover; }
.pairing-body h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: .35rem; }
.pairing-food { color: var(--slate); font-weight: 600; font-size: 0.9rem; margin-bottom: .3rem; }
.pairing-note { color: var(--cream-2); font-size: 0.9rem; }

/* Testimonials */
.t-card {
  position: relative;
  background: rgba(20,39,32,0.7);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 2.2rem 1.8rem 1.8rem;
}
@supports (backdrop-filter: blur(14px)) {
  .t-card { background: rgba(20,39,32,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.t-quote-mark {
  position: absolute; top: 0.6rem; left: 1.4rem;
  font-family: var(--serif); font-size: 3.6rem; color: var(--accent); opacity: .5; line-height: 1;
}
.t-card blockquote { font-size: 1.02rem; color: var(--cream-2); margin-top: 1.6rem; }
.t-card figcaption { display: flex; flex-direction: column; gap: .1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.t-card figcaption strong { font-size: 0.92rem; color: var(--accent); letter-spacing: .05em; }
.t-card figcaption span { font-size: 0.82rem; color: var(--mute); }
.testimonials-note { margin-bottom: 2.6rem; font-size: 0.9rem; }


/* Contact list */
.contact-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.contact-list li { display: flex; flex-direction: column; gap: .15rem; }
.contact-label { font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-blue); }
.contact-list a { font-family: var(--serif); font-size: 1.3rem; position: relative; width: fit-content; }
.contact-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.contact-list a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Form */
.cta-form { display: flex; flex-direction: column; gap: 1.1rem; position: relative; transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.3rem 1rem .55rem; border: 1px solid var(--line);
  border-radius: 10px; background: rgba(241,238,226,0.03); color: inherit; font-family: inherit; font-size: 0.98rem;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--slate); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 1.15rem;
  pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--mute);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 0.45rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.cta-submit { position: relative; margin-top: .3rem; }
.cta-form-spinner, .cta-form-check {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none;
}
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px;
  border: 1.5px solid rgba(5,38,31,0.3); border-top-color: #05261f;
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form-check path {
  stroke: #05261f; stroke-width: 2; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .55s var(--ease-out);
}
.cta-form.is-sent-anim .cta-form-check { opacity: 1; }
.cta-form.is-sent-anim .cta-form-check path { stroke-dashoffset: 0; }
.form-note { font-size: 0.78rem; color: var(--mute); }

.cta-success {
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-soft);
  padding: 2rem; border: 1px solid var(--line); border-radius: 18px; text-align: center;
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.cta-success h3 { font-family: var(--serif); margin-bottom: .6rem; color: var(--slate); }
.cta-success p { color: var(--cream-2); font-size: 0.92rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity .9s, clip-path 1.1s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.splash-mark { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--accent); }
.splash-line { width: 40px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.splash-line::after {
  content: ""; position: absolute; inset: 0; background: var(--sage);
  transform: translateX(-100%); animation: splashLine 1.6s var(--ease-soft) infinite;
}
@keyframes splashLine { to { transform: translateX(100%); } }
.splash-sub { font-size: 0.7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  height: var(--nav-h);
}
.nav.is-scrolled {
  background: rgba(10,21,18,0.85);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.nav-brand { display: flex; align-items: baseline; gap: .5rem; }
.nav-brand-mark { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--accent); }
.nav-brand-text { font-size: 0.85rem; letter-spacing: .06em; color: var(--cream-2); }
.nav-links { display: none; gap: 2rem; }
.nav-link { position: relative; font-size: 0.9rem; padding: .25rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px; padding: .5rem;
}
.nav-burger span { width: 22px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: var(--bg-alt); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-link { font-family: var(--serif); font-size: 1.6rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6,13,11,0.94) 0%, rgba(6,13,11,0.78) 38%, rgba(6,13,11,0.38) 68%, rgba(6,13,11,0.55) 100%),
    linear-gradient(180deg, rgba(10,21,18,0.35) 0%, rgba(10,21,18,0.75) 78%, var(--bg) 100%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(55% 45% at var(--mesh-x) var(--mesh-y), rgba(62,189,147,.36), transparent 60%),
    conic-gradient(from var(--mesh-angle), rgba(58,168,222,.18), rgba(62,189,147,.1), rgba(34,211,166,.14), rgba(58,168,222,.18));
  filter: blur(90px) saturate(120%);
  opacity: .8;
  animation: meshShift 26s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 28%; --mesh-y: 36%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 28%; --mesh-y: 36%; }
}
.hero-inner { max-width: 760px; }
.hero-inner .kicker, .hero-title, .hero-sub, .hero-signature {
  text-shadow: 0 2px 18px rgba(4,9,7,0.7), 0 1px 4px rgba(4,9,7,0.85);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.6rem; }
.hero-signature { display: flex; align-items: center; gap: .6rem; font-size: 0.88rem; color: var(--mute); }
.hero-signature-name { font-family: var(--serif); font-style: italic; color: var(--cream-2); }
.hero-signature-ig:hover { color: var(--sage); }

/* Vine divider */
.vine-divider { position: relative; height: 48px; background: var(--bg); }
.vine-divider-alt { background: var(--bg-alt); }
.vine-divider svg { width: 100%; height: 100%; display: block; }
.vine-path { fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linecap: round; }
.vine-divider-alt .vine-path { stroke: var(--slate); }
.vine-leaf { fill: var(--accent); opacity: .8; }

/* About */
.about { background: var(--bg); padding-block: clamp(4rem, 8vw, 7rem); }
.about-grid { display: grid; gap: 2.4rem; }
.about-text p { color: var(--cream-2); margin-bottom: 1.1rem; max-width: 60ch; }
.about-portrait {
  margin-top: 2rem; max-width: 260px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.about-portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-portrait figcaption {
  padding: .7rem .9rem; font-size: 0.78rem; letter-spacing: .04em;
  color: var(--cream-2); background: var(--card);
}

/* Timeline / Trayectoria */
.timeline-section { background: var(--bg-alt); padding-block: clamp(4rem, 8vw, 7rem); }
.timeline-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.timeline-col-title {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
  color: var(--slate); margin-bottom: 1.6rem;
}
.timeline { position: relative; list-style: none; padding-left: 1.4rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem;
  width: 1px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 1.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -1.4rem; top: .35rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--slate); transform: translateX(calc(-50% + .5px));
}
.timeline-date {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mute-blue); margin-bottom: .3rem;
}
.timeline-item h4 {
  font-family: var(--serif); font-weight: 500; font-size: 1.15rem;
  color: var(--cream); margin-bottom: .5rem;
}
.timeline-item h4 span { font-family: var(--sans); font-size: 0.82rem; font-weight: 500; color: var(--mute); }
.timeline-item ul { padding-left: 1.1rem; }
.timeline-item li { font-size: 0.9rem; color: var(--cream-2); margin-bottom: .3rem; list-style: disc; }

/* Services */
.services { background: var(--bg); padding-block: clamp(4rem, 8vw, 7rem); }
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}

/* Pairing */
.pairing { background: var(--bg-alt); padding-block: clamp(4rem, 8vw, 7rem); }
.pairing-lead { margin-bottom: 2.6rem; }
.pairing-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

/* Gallery */
.gallery { background: var(--bg); padding-block: clamp(4rem, 8vw, 7rem); }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line-2);
}
.gallery-item img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform .8s var(--ease-soft);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 1rem;
  font-size: 0.88rem; color: var(--cream);
  background: linear-gradient(180deg, transparent, rgba(6,13,11,0.88));
}

/* Testimonials */
.testimonials { background: var(--bg); padding-block: clamp(4rem, 8vw, 7rem); }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }

/* Contact */
.contact { position: relative; background: var(--bg-alt); padding-block: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.contact-mesh { opacity: .5; }
.contact-grid { position: relative; display: grid; gap: 2.6rem; }
.contact-lead { margin-bottom: .6rem; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 3rem 1.6rem; }
.footer-inner { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-brand p { margin-top: .6rem; color: var(--mute); font-size: 0.88rem; max-width: 32ch; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .7rem; font-size: 0.9rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--sage); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.footer-legal p { font-size: 0.78rem; color: var(--mute); }
.footer-legal a { color: var(--mute-blue); }
.footer-legal a:hover { color: var(--sage); }

/* =============================================================
   7. Effects
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

.has-halo { position: relative; isolation: isolate; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stat-row { gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pairing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .timeline-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1280px) {
  .hero-title { max-width: 20ch; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   9. Reduced-motion — only INTRUSIVE effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .splash-line::after { animation: none; }
  /* Do NOT disable: card tilt, hover, fades, vine draw, count-up, magnetic */
}
