/* ==========================================================================
   The Calyx Group — design system
   Palette and typography lifted from the original Avada build.
   ========================================================================== */

:root {
  /* Brand palette (exact values from the WordPress theme) */
  --white:      #ffffff;
  --stone:      #dad7d2;  /* warm light grey   */
  --sand:       #bdae87;  /* gold — rules, borders, text on dark grounds  */
  --sand-text:  #665a35;  /* readable gold for text on light grounds (AA)  */
  --sand-dark:  #dfd4b6;  /* readable gold for text on the moss field (AA) */
  --slate:      #232b31;  /* footer ground — cool, dark, not near-black     */
  /* --sage #a8b0ac is in the brand palette but unused in this build. */
  --moss-light: #6e8f5f;  /* mid green         */
  --moss:       #4b6043;  /* deep green, primary */
  --ink:        #1c1c1c;  /* near-black text   */
  --mint:       #ecf9ee;  /* pale green wash   */

  /* Derived */
  --paper:      #ffffff;
  --paper-warm: #faf9f7;
  --rule:       rgba(28, 28, 28, 0.12);
  --rule-light: rgba(255, 255, 255, 0.22);
  --body-text:  #3a3a38;
  --muted:      #6b6b66;

  /* Type stacks. bembo-mt-pro ships from the Adobe Fonts kit (jpv1pij);
     Montserrat from Google Fonts. Both have real fallbacks. */
  --serif: "bembo-mt-pro", "Bembo", "EB Garamond", "Iowan Old Style",
           "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
           Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0:  clamp(0.9375rem, 0.91rem + 0.14vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.06rem + 0.31vw, 1.375rem);
  --step-2:  clamp(1.5rem, 1.33rem + 0.85vw, 2.125rem);
  --step-3:  clamp(1.875rem, 1.55rem + 1.6vw, 3rem);
  --step-4:  clamp(2.5rem, 1.8rem + 3.5vw, 5rem);
  --step-5:  clamp(3rem, 1.7rem + 6.5vw, 7.5rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 68ch;
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --header-h: 84px;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body-text);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.35em; }
p:last-child { margin-bottom: 0; }

a { color: var(--moss); text-decoration: none; }

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

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--moss); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: 0 0 4px 4px;
  font-size: var(--step--1);
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  min-width: 0;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); background: var(--paper); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--warm  { background: var(--paper-warm); }


/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 24px rgba(28, 28, 28, 0.05);
}

.site-header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 52px; height: 52px; }

.nav { justify-self: center; }
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem);
}
.nav a {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--sand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--moss); }

.nav__home svg { width: 18px; height: 18px; display: block; }

/* Contact pill */
.btn-contact {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--mint);
  color: var(--moss);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  padding: 0.95rem 1.6rem;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.btn-contact:hover { background: var(--moss); color: var(--white); }
.btn-contact svg { width: 15px; height: 15px; transition: transform 0.4s ease; }
.btn-contact:hover svg { transform: rotate(90deg); }

/* The contact pill lives twice in the markup: once beside the nav for desktop,
   once inside the nav list for the mobile drawer. Only one is ever shown. */
.nav__cta-mobile { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 0.6rem; margin-right: -0.6rem;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-header__inner { grid-template-columns: auto 1fr; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem var(--gutter) 2.25rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav li { width: 100%; border-bottom: 1px solid var(--rule); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: block; padding: 1.05rem 0; font-size: var(--step-0); }
  .nav a::after { display: none; }
  .nav__cta-mobile { display: block; border-bottom: 0; }
  .nav .btn-contact { margin-top: 1.5rem; justify-content: center; width: 100%; }
  .header-cta { display: none; }
}

/* ---------------------------------------------------------------- hero -- */

/* The original Avada build used `fusion-parallax-fixed` on a 100vh row: the
   photograph stays locked to the viewport while the page scrolls over it.
   `background-attachment: fixed` is the classic way to do that and is broken
   on iOS Safari, so instead the media layer is `position: fixed` inside a
   `clip-path` container — a non-none clip-path makes .hero the containing
   block for fixed descendants, which clips the image to the hero's box and
   behaves correctly on iOS. */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: center;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  clip-path: inset(0);
  isolation: isolate;
}
.hero__media {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* The scrim rides with the image, so it cannot drift out of register. */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 28, 0.10) 0%,
    rgba(28, 28, 28, 0.18) 45%,
    rgba(28, 28, 28, 0.34) 100%);
}
.hero__inner { position: relative; z-index: 1; }

/* Browsers without svh, and anyone who asked for less motion, get the plain
   scrolling hero instead. */
@supports not (height: 100svh) {
  .hero { min-height: calc(100vh - var(--header-h)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero { clip-path: none; overflow: hidden; }
  .hero__media { position: absolute; }
}
.hero__inner {
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  max-width: 100%;
  min-width: 0;
}

.wordmark {
  font-family: var(--serif);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.28);
}
.wordmark em { font-style: italic; }
.wordmark sup {
  font-size: 0.15em;
  vertical-align: 0.9em;
  letter-spacing: 0.04em;
  margin-left: 0.1em;
  font-feature-settings: "sups" 0;
}

.hero__tagline {
  max-width: 46ch;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.55;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--moss);
  color: rgba(255, 255, 255, 0.92);
  padding-block: clamp(4rem, 11vw, 8rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-texture, none);
  background-size: cover; background-position: center;
  opacity: 0.16;
  mix-blend-mode: soft-light;
}
.page-hero > * { position: relative; }
.page-hero h1 {
  color: var(--white);
  font-size: var(--step-4);
  max-width: 20ch;
}
.page-hero__lede {
  margin-top: 1.75rem;
  max-width: 54ch;
  font-size: var(--step-1);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 1.5;
  position: relative;
  padding-top: 1.75rem;
}
/* The gold rule was the one thing worth keeping from the light version. */
.page-hero__lede::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 46px; height: 1px;
  background: var(--sand);
}

/* ------------------------------------------------------------ elements -- */

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1rem;
}
.practice .eyebrow { color: var(--sand-dark); }
.page-hero .eyebrow { color: var(--sand-dark); }

.rule {
  width: 46px; height: 1px;
  background: var(--sand);
  border: 0; margin: 1.5rem 0 2rem;
}
.rule--center { margin-inline: auto; }

.lede {
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--ink);
  max-width: var(--measure);
}

.prose { max-width: 100%; }
.prose > p,
.prose > ul,
.prose > ol,
.prose > h2,
.prose > h3,
.prose > blockquote,
.prose > .callout,
.prose > hr { max-width: var(--measure); }
.prose, .lede, .card p, .practice__body { overflow-wrap: break-word; }
.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.75em;
  margin-bottom: 0.7em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: var(--step-1);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--moss);
  margin-top: 2.25em;
  margin-bottom: 0.6em;
}
.prose ul { padding-left: 1.15rem; margin: 0 0 1.35em; }
.prose li { margin-bottom: 0.75em; padding-left: 0.35rem; }
.prose li::marker { color: var(--sand); }
.prose a { text-decoration: underline; text-underline-offset: 3px;
           text-decoration-color: var(--sand); }
.prose a:hover { color: var(--moss-light); }  /* hover only, not resting text */

.pull {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--moss);
  border-left: 2px solid var(--sand);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  margin: 2.75rem 0;
  font-style: italic;
}

/* ---------------------------------------------------------------- grid -- */

.grid { display: grid; gap: clamp(1.5rem, 3.5vw, 2.75rem); }
.grid > *, .split > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- card -- */

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(1.85rem, 3.5vw, 2.85rem);
  display: flex; flex-direction: column;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
}
.card:hover {
  border-color: var(--sand);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(28, 28, 28, 0.07);
}
.card h3 {
  font-size: var(--step-2);
  margin-bottom: 0.85rem;
}
.card p { color: var(--muted); margin-bottom: 1.75rem; }
.card .link-more { margin-top: auto; }

.section--warm .card { background: var(--white); }

.link-more {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  align-self: flex-start;
  padding-block: 0.3rem;
}
.link-more::after {
  content: "→";
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.link-more:hover::after { transform: translateX(5px); }

/* ------------------------------------------------------- the practice -- */

.practice {
  background: var(--moss);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}
.practice::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/texture-3.webp") center / cover no-repeat;
  opacity: 0.14;
  mix-blend-mode: soft-light;
}
.practice > * { position: relative; }

.practice__quote {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.28;
  color: var(--white);
  font-style: italic;
  max-width: 22ch;
  margin: 0;
  letter-spacing: -0.015em;
}
.practice__body { font-size: var(--step-0); }
.practice__body p { margin-bottom: 1.5em; }
.practice__body strong { color: var(--white); font-weight: 500; }

.practice__meta {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-light);
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  align-items: baseline;
}
.practice__name {
  font-family: var(--serif);
  font-size: var(--step-1);
  color: var(--white);
}
.practice__role {
  display: block;
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-top: 0.35rem;
}

/* Credential strip */
.creds {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
.creds li {
  background: var(--moss);
  padding: 1.5rem 1.35rem;
}
.creds b {
  display: block;
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.creds span {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  display: block;
}

/* ------------------------------------------------------------------ cta -- */

.cta {
  text-align: center;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
}
.cta h2 { font-size: var(--step-3); max-width: 18ch; margin-inline: auto; }
.cta p { margin-top: 1.25rem; color: var(--muted); max-width: 48ch;
         margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--moss); color: var(--white);
  font-family: var(--sans);
  font-size: var(--step--1);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1.15rem 2.4rem;
  border: 1px solid var(--moss);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background: transparent; color: var(--moss); }
.btn--ghost { background: transparent; color: var(--moss); }
.btn--ghost:hover { background: var(--moss); color: var(--white); }
.cta .btn { margin-top: 2.5rem; }

/* --------------------------------------------------------- field notes -- */

.note-card {
  display: block;
  max-width: var(--measure);
  border-top: 1px solid var(--rule);
  padding: clamp(2rem, 4vw, 3rem) 0;
  transition: opacity 0.3s ease;
}
.note-card:last-of-type { border-bottom: 1px solid var(--rule); }
.note-card time {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-text);
}
.note-card h2 {
  font-size: var(--step-2);
  margin: 0.85rem 0 1rem;
  max-width: 30ch;
  transition: color 0.3s ease;
}
.note-card:hover h2 { color: var(--moss); }
.note-card p { color: var(--muted); max-width: 62ch; }

.article-meta {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9bb92;
  margin-bottom: 1.25rem;
}
.article-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-block: 0.3rem;
}
.article-back:hover { color: var(--moss); }

.callout {
  background: var(--mint);
  border-left: 2px solid var(--moss-light);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin: 2.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- form -- */

.form { display: grid; gap: 1.5rem; }
.form__row {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.field { display: grid; gap: 0.55rem; }
.field label {
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--sand-text); }
.field input, .field textarea {
  font-family: var(--sans);
  /* Never below 16px: iOS Safari auto-zooms the page on focus otherwise. */
  font-size: max(16px, var(--step-0));
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.95rem 1.1rem;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: 2px solid transparent;   /* forced-colors lo pinta; no se ve aquí */
  outline-offset: 2px;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(75, 96, 67, 0.18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4443a; }

.form__note { font-size: var(--step--1); color: var(--muted); line-height: 1.6; }

.alert {
  padding: 1.1rem 1.35rem;
  border-radius: 2px;
  font-size: var(--step--1);
  line-height: 1.6;
  border-left: 2px solid;
}
.alert--err  { background: #fdf2f1; border-color: #b4443a; color: #8f3229; }

/* Honeypot — must never be visible or focusable by a human. */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-aside dt {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-text);
  margin-bottom: 0.4rem;
}
.contact-aside dd { margin: 0 0 1.85rem; }
.contact-aside dd:last-child { margin-bottom: 0; }
.contact-aside a { text-decoration: underline; text-underline-offset: 3px;
                   text-decoration-color: var(--sand); }

/* Touch targets: give the link lists real height on small screens. Pointer
   users are unaffected — this is scoped to the mobile layout. */
@media (max-width: 900px) {
  .footer__col li { margin-bottom: 0; }
  .footer__col li a,
  .footer__bottom nav a { display: inline-block; padding-block: 0.6rem; }
  .contact-aside dd a { display: inline-block; padding-block: 0.4rem; }
  .contact-aside dd { margin-bottom: 1.5rem; }
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--slate);
  color: #bcc1c4;
  font-size: var(--step--1);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a { color: #ccd0d2; }
.site-footer a:hover { color: #c9bb92; }

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer__brand img { width: 56px; height: 56px; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 30ch; line-height: 1.7; }

.footer__col h3 {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9bb92;
  margin-bottom: 1.25rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 0.7rem; }

.social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.social a:hover {
  background: var(--moss); border-color: var(--moss); color: var(--white);
}
.social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__legal {
  padding-top: 2.5rem;
  font-size: 0.75rem;
  line-height: 1.75;
  color: #9ba1a4;
}
.footer__legal p { max-width: 92ch; }
.footer__bottom {
  margin-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; align-items: center;
}
.footer__bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ------------------------------------------------------------- reveal -- */

/* Content is visible by default. The hidden state is applied only after JS
   has confirmed it can run the animation to completion (it sets .anim-ready
   on <html>), so a script failure can never leave the page blank. */
.reveal {
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .anim-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- print -- */

@media print {
  .site-header, .site-footer, .cta, .nav-toggle { display: none; }
  body { color: #000; font-size: 11pt; }
  .hero { min-height: auto; }
}
