/* ====================================================================
   Plaza del Mar — Coastal Caribbean editorial
   Fonts: Fraunces (display) + Manrope (body)
   Palette: warm ivory + deep teal + coral + sand
   ==================================================================== */

:root {
  --ivory:        #FBF7EE;
  --cream:        #F4ECD9;
  --sand:         #E8D9C0;
  --sand-deep:    #D4C2A2;

  --teal-dark:    #0E3F4F;
  --teal:         #185A6E;
  --teal-mid:     #3F8597;
  --teal-soft:    #8FB8C2;

  --coral:        #E0715A;
  --coral-deep:   #C0533D;
  --sun:          #E8B66A;

  --text-dark:    #0E3F4F;
  --text-muted:   #5A7280;
  --text-soft:    #8B9CA6;
  --text-light:   #FBF7EE;

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 14px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.25, .8, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--text-dark);
  margin: 0 0 .4em;
  font-variation-settings: "opsz" 144;
}
h1 em, h2 em, h3 em, .display em { font-style: italic; font-weight: 400; color: var(--coral); }

.display {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 .35em;
}

.h3-tag {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 2em 0 .6em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--sun); }

p { margin: 0 0 1em; color: var(--text-muted); }
p strong { color: var(--text-dark); font-weight: 600; }

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

.section { padding-block: clamp(96px, 12vw, 150px); }

.section__head { max-width: 720px; margin-bottom: 80px; }
.section__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section__head--split .display { max-width: 720px; }
.section__head--split .section__lede {
  max-width: 360px;
  margin: 0;
  text-align: right;
}
.section__lede { font-size: 1.05rem; color: var(--text-muted); max-width: 56ch; margin: 0; }

/* buttons — pill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 54px;
  padding: 0 32px;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all .35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--teal-dark); color: var(--ivory); }
.btn--primary:hover {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(224,113,90,.5);
}
.btn--ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  height: 44px;
  padding: 0 22px;
  font-size: .82rem;
  font-weight: 600;
}
.btn--ghost:hover { background: var(--text-dark); color: var(--ivory); }

.btn--link {
  height: auto;
  padding: 4px 0;
  background: transparent;
  color: var(--ivory);
  border: 0;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
  font-size: .92rem;
  font-weight: 500;
}
.btn--link:hover { color: var(--sun); }
.btn--full { width: 100%; }

/* lang toggle */
.es, .es-mq { display: inline; }
.en, .en-mq { display: none; }
body.lang-en .es, body.lang-en .es-mq { display: none; }
body.lang-en .en, body.lang-en .en-mq { display: inline; }

.lang-bar {
  background: var(--teal-dark);
  color: var(--ivory);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  padding: 11px 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  border-bottom: 1px solid rgba(232,182,106,.2);
}
.lang-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.lang-bar__label {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sun);
  display: inline-flex;
  align-items: center;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(251,247,238,.06);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(251,247,238,.12);
}
.lang-btn {
  background: transparent;
  border: 0;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(251,247,238,.65);
  cursor: pointer;
  transition: all .25s ease;
}
.lang-btn:hover { color: var(--ivory); }
.lang-btn.is-active {
  color: var(--teal-dark);
  background: var(--sun);
  box-shadow: 0 2px 8px -2px rgba(232,182,106,.4);
}
.lang-divider { display: none; }
.lang-bar.is-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }

/* nav */
.nav {
  position: fixed;
  top: 46px; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), padding .4s var(--ease), box-shadow .5s var(--ease), top .35s var(--ease);
}
.lang-bar.is-hidden ~ .nav, .nav.is-scrolled { top: 0; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  transition: color .4s var(--ease);
}

.brand-mark { display: inline-flex; align-items: center; gap: 12px; color: currentColor; }
.brand-mark__crown { width: 32px; height: auto; flex-shrink: 0; margin-bottom: 4px; }
.brand-mark__text {
  font-family: var(--serif);
  line-height: .92;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  letter-spacing: -.005em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.brand-mark__plaza, .brand-mark__delmar {
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
}
.brand-mark__delmar em { font-style: italic; font-weight: 400; }
.brand-mark--footer .brand-mark__plaza,
.brand-mark--footer .brand-mark__delmar { font-size: 1.55rem; }
.brand-mark--footer .brand-mark__crown { width: 38px; }

.nav__logo {
  height: 46px;
  width: auto;
  display: block;
  filter: none;
  transition: filter .4s var(--ease), height .4s var(--ease);
}
.nav.is-scrolled .nav__logo { filter: none; height: 38px; }

.nav__links { display: flex; gap: 40px; margin-left: auto; margin-right: 28px; }
.nav__links a {
  color: var(--ivory);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--sun); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { color: var(--ivory); border-color: rgba(251,247,238,.5); }
.nav__cta:hover { background: var(--ivory); color: var(--teal-dark); border-color: var(--ivory); }

.nav.is-scrolled {
  background: rgba(251,247,238,.96);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(14,63,79,.06);
  padding: 12px 0;
}
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__links a { color: var(--teal-dark); }
.nav.is-scrolled .nav__links a:hover { color: var(--coral); }
.nav.is-scrolled .nav__cta { color: var(--teal-dark); border-color: var(--teal-dark); }
.nav.is-scrolled .nav__cta:hover { background: var(--teal-dark); color: var(--ivory); }
.nav.is-scrolled .nav__toggle span { background: var(--teal-dark); }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .25s ease, top .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 24px; }
.nav__toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 24px var(--gutter) 32px;
  background: var(--ivory);
  border-top: 1px solid var(--sand);
  box-shadow: 0 16px 32px rgba(14,63,79,.08);
}
.nav__mobile a {
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--teal-dark);
  border-bottom: 1px solid var(--cream);
}
.nav__mobile a.btn { border: 0; margin-top: 18px; color: var(--ivory); padding-block: 0; }

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(80px, 12vh, 120px);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    url("./images/hero.jpg") center / cover no-repeat, var(--teal-dark);") center / cover no-repeat,
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2400&q=80") center / cover no-repeat,
    var(--teal-dark);
  transform: scale(1.06);
  animation: heroFloat 22s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14,63,79,.4) 0%, rgba(14,63,79,.1) 30%, rgba(14,63,79,.85) 100%);
}
@keyframes heroFloat {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.12) translateY(-16px); }
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -1px;
  height: 80px;
  background: var(--ivory);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
}
.hero__inner { display: flex; flex-direction: column; width: 100%; position: relative; z-index: 1; }

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sun);
}
.hero__loc { display: inline-flex; align-items: center; gap: 12px; }
.hero__loc::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.025em;
  color: var(--ivory);
  margin: 0 0 56px;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.hero__title .line { display: block; }
.hero__title em { font-style: italic; font-weight: 300; color: var(--sun); }

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
}
.hero__sub {
  max-width: 460px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(251,247,238,.85);
  margin: 0;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: center;
  justify-self: end;
}

.hero__scroll {
  position: absolute;
  bottom: 40px; right: var(--gutter);
  width: 28px; height: 44px;
  border: 1.5px solid rgba(251,247,238,.5);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 1;
}
.hero__scroll span {
  width: 2px; height: 8px;
  background: var(--sun);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);    opacity: 1; }
  60%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* about */
.about { background: var(--ivory); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.about__media { position: relative; aspect-ratio: 4/5; }
.about__photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(14,63,79,.4);
}
.about__photo--1 {
  inset: 0 28% 22% 0;
  background-image:
    url("./images/about-building.jpg");"),
    url("https://images.unsplash.com/photo-1519046904884-53103b34b206?auto=format&fit=crop&w=1400&q=80");
}
.about__photo--2 {
  inset: 42% 0 0 30%;
  background-image:
    url("./images/about-coastline.jpg");"),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=80");
  outline: 8px solid var(--ivory);
}
.about__caption {
  position: absolute;
  left: 0; bottom: -34px;
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  color: var(--text-soft);
  max-width: 240px;
  line-height: 1.4;
}
.about__copy { padding-top: 12px; }
.about__copy p { font-size: 1.02rem; line-height: 1.75; }

.bignums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: clamp(80px, 10vw, 120px);
  padding-top: 56px;
  border-top: 1px solid var(--sand);
}
.bignum { display: flex; flex-direction: column; gap: 8px; }
.bignum__num {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--teal-dark);
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
}
.bignum__num small { font-size: .55em; color: var(--coral); margin-left: 2px; font-style: normal; }
.bignum__label {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* facilities */
.amenities { background: var(--cream); position: relative; }
.amgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amcard {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.amcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--sun) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}
.amcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -28px rgba(14,63,79,.25);
}
.amcard:hover::before { transform: scaleX(1); }
.amcard__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--teal);
  margin-bottom: 24px;
  transition: background .3s ease, color .3s ease;
}
.amcard:hover .amcard__icon { background: var(--coral); color: var(--ivory); }
.amcard__icon svg { width: 30px; height: 30px; }
.amcard__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--teal-dark);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 144;
}
.amcard__desc { font-size: .96rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* gallery */
.gallery { background: var(--ivory); }
.gallery__feature {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.gallery__hero {
  margin: 0;
  position: relative;
  height: 540px;
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery__small {
  margin: 0;
  position: relative;
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius);
  transition: transform .4s var(--ease);
}
.gallery__row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.gallery__small--wide { min-height: 360px; }

.gallery__hero figcaption,
.gallery__small figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s var(--ease);
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  padding-right: 24px;
}
.gallery__hero::after,
.gallery__small::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,63,79,0) 50%, rgba(14,63,79,.55) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}
.gallery__small:hover { transform: scale(1.01); }
.gallery__hero:hover::after,
.gallery__small:hover::after { opacity: 1; }
.gallery__hero:hover figcaption,
.gallery__small:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery__hero[data-fig="pool-tennis"] {
  background-image: url("./images/pool-tennis.jpg");
}
.gallery__small[data-fig="vestibule"] {
  background-image: url("./images/vestibule.jpg");
}
.gallery__small[data-fig="gym"] {
  background-image: url("./images/gym.jpg");
}
.gallery__small[data-fig="coastline"] {
  background-image: url("./images/coastline.jpg");
}
.gallery__small[data-fig="pool"] {
  background-image: url("./images/pool.jpg");
}
.gallery__small[data-fig="generator"] {
  background-image: url("./images/generator.jpg");
}
.gallery__small[data-fig="tennis-pickleball"] {
  background-image: url("./images/tennis-pickleball.jpg");
}
.gallery__small[data-fig="gym-cardio"] {
  background-image: url("./images/gym-cardio.jpg");
}
.gallery__small[data-fig="vestibule-2"] {
  background-image: url("./images/vestibule-2.jpg");
}



.gallery__note { margin-top: 32px; font-size: .85rem; color: var(--text-soft); }
.gallery__note code {
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .9em;
  color: var(--text-muted);
}

/* quote */
.quote {
  background: var(--teal-dark);
  color: var(--ivory);
  padding-block: clamp(110px, 14vw, 180px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14rem;
  line-height: .8;
  color: var(--coral);
  opacity: .25;
  pointer-events: none;
}
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  color: var(--ivory);
  max-width: 900px;
  margin: 0 auto 28px;
  letter-spacing: -.005em;
  position: relative;
  font-variation-settings: "opsz" 144;
}
.quote__attr {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sun);
  margin: 0;
  position: relative;
}

/* news */
.news { background: var(--cream); }
.news__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news__card {
  background: var(--ivory);
  padding: 38px 36px 32px;
  border-radius: var(--radius);
  border: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.news__card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(14,63,79,.2); }
.news__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--cream);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.news__tag--ongoing { color: var(--coral-deep); background: rgba(224,113,90,.12); }
.news__tag--major { color: var(--ivory); background: var(--teal-dark); }
.news__card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--teal-dark);
  font-variation-settings: "opsz" 144;
}
.news__card p { color: var(--text-muted); font-size: .98rem; margin: 0; line-height: 1.7; }

/* documents */
.documents { background: var(--ivory); }
.documents__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.documents__intro { position: sticky; top: 110px; }
.documents__intro p { color: var(--text-muted); font-size: 1.02rem; }
.documents__intro a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
  transition: color .2s ease;
}
.documents__intro a:hover { color: var(--coral-deep); }

.docfilter {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 28px;
  background: var(--ivory);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 10px 16px 10px 44px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.docfilter:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14,63,79,.08);
}
.docfilter__icon {
  position: absolute;
  left: 16px;
  width: 18px; height: 18px;
  color: var(--teal);
  opacity: .65;
  pointer-events: none;
}
.docfilter__input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .95rem;
  color: var(--teal-dark);
  padding: 4px 0;
  min-width: 0;
}
.docfilter__input::placeholder { color: var(--text-muted); opacity: .8; }
.docfilter__clear {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0 6px;
  transition: color .2s ease;
}
.docfilter__clear:hover { color: var(--coral); }
.docfilter__empty {
  margin-top: 16px;
  font-size: .92rem;
  color: var(--text-muted);
  font-style: italic;
}
.doclist.is-empty { display: none; }
.doclist li.is-hidden { display: none; }
.doclist a mark {
  background: rgba(232, 182, 106, .35);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

.documents__lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.doclist { background: var(--cream); border-radius: var(--radius); padding: 32px; }
.doclist--accent { background: var(--teal-dark); color: var(--ivory); grid-column: span 2; }
.doclist__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--teal-dark);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sand);
  font-variation-settings: "opsz" 144;
}
.doclist--accent .doclist__title { color: var(--ivory); border-bottom-color: rgba(251,247,238,.18); }
.doclist__note {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--teal-dark);
  opacity: .82;
  margin: -8px 0 16px;
  padding: 14px 16px;
  background: rgba(232, 182, 106, .10);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}
.doclist--accent .doclist__note { color: var(--ivory); background: rgba(251,247,238,.08); border-left-color: var(--gold); }
.doclist ul { display: flex; flex-direction: column; gap: 0; }
.doclist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 4px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color .25s ease, padding-left .3s var(--ease);
}
.doclist a:hover { color: var(--coral); padding-left: 10px; }
.doclist--accent a { color: rgba(251,247,238,.85); font-weight: 400; }
.doclist--accent a:hover { color: var(--sun); }
.doclist__ext {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-soft);
  flex-shrink: 0;
  text-transform: uppercase;
}
.doclist--accent .doclist__ext { color: rgba(251,247,238,.5); }
.doclist__compact { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 18px !important; }

/* contact */
.contact { background: var(--teal-dark); color: var(--ivory); position: relative; }
.contact .eyebrow { color: var(--sun); }
.contact .eyebrow::before { background: currentColor; }
.contact .display { color: var(--ivory); }
.contact .display em { color: var(--sun); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.contact__copy { max-width: 480px; }
.contact__copy p { color: rgba(251,247,238,.78); font-size: 1.02rem; }

.contact__list {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(251,247,238,.14);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__list li { display: flex; flex-direction: column; gap: 6px; }
.contact__label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sun);
}
.contact__val { color: var(--ivory); font-size: 1.02rem; }
.contact__val a {
  color: inherit;
  border-bottom: 1px solid rgba(251,247,238,.3);
  transition: border-color .2s ease, color .2s ease;
}
.contact__val a:hover { color: var(--sun); border-color: var(--sun); }

.contact__form {
  background: rgba(251,247,238,.04);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid rgba(251,247,238,.08);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--sun);
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ivory);
  background: rgba(251,247,238,.06);
  border: 1px solid rgba(251,247,238,.14);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sun);
  background: rgba(251,247,238,.1);
}
.field textarea { resize: vertical; min-height: 110px; }

.contact__form .btn--primary { background: var(--coral); color: var(--ivory); margin-top: 12px; }
.contact__form .btn--primary:hover { background: var(--sun); color: var(--teal-dark); }

.form__status {
  margin-top: 18px;
  min-height: 1.4em;
  font-size: .9rem;
  color: var(--sun);
}

/* footer */
.footer {
  background: var(--teal-dark);
  color: rgba(251,247,238,.55);
  border-top: 1px solid rgba(251,247,238,.08);
}
.footer__inner {
  padding-block: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand .nav__name { color: var(--ivory); display: block; font-size: 1.45rem; }
.footer__logo { height: 56px; width: auto; display: block; filter: brightness(0) invert(1); margin-bottom: 8px; }
.footer__brand p { margin: 6px 0 0; font-size: .82rem; letter-spacing: .08em; color: var(--sun); }
.footer__nav { display: flex; gap: 32px; }
.footer__nav a { font-size: .9rem; font-weight: 500; transition: color .2s ease; }
.footer__nav a:hover { color: var(--sun); }
.footer__legal { font-size: .8rem; margin: 0; }

/* motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1024px) {
  .amgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-mobile-open .nav__mobile { display: flex; }

  .about__grid,
  .contact__grid,
  .documents__grid { grid-template-columns: 1fr; }
  .documents__intro { position: static; }
  .about__media { aspect-ratio: 5/4; max-width: 600px; }

  .news__grid { grid-template-columns: 1fr; }

  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__sub { max-width: none; }
  .hero__cta { justify-self: start; }

  .section__head--split { flex-direction: column; align-items: flex-start; }
  .section__head--split .section__lede { text-align: left; }

  .bignums { grid-template-columns: 1fr 1fr; gap: 32px; }

  .gallery__feature { grid-template-columns: 1fr; }
  .gallery__hero { height: 380px; }
  .gallery__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .gallery__row { grid-template-columns: 1fr 1fr; }
  .gallery__small--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .hero__title { font-size: clamp(3rem, 16vw, 4.6rem); margin-bottom: 40px; }
  .hero__meta { font-size: .68rem; letter-spacing: .12em; }

  .amgrid { grid-template-columns: 1fr; }
  .amcard { padding: 28px 24px 24px; }

  .gallery__side { grid-template-columns: 1fr; }
  .gallery__row { grid-template-columns: 1fr; }
  .gallery__small--wide { grid-column: span 1; }

  .news__card { padding: 30px 26px 26px; }
  .news__card h3 { font-size: 1.3rem; }

  .documents__lists { grid-template-columns: 1fr; }
  .doclist--accent { grid-column: span 1; }
  .doclist__compact { grid-template-columns: 1fr !important; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .contact__form { padding: 28px 24px; }
}


/* ====================================================================
   CONTACT MAP EMBED
   ==================================================================== */
.contact__map {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(251,247,238,.14);
}
.contact__map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(.15) brightness(.95);
  display: block;
  background: var(--teal-dark);
}
.contact__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sun);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s ease;
}
.contact__map-link:hover { color: var(--ivory); }

/* ====================================================================
   PRINT STYLESHEET — clean, ink-friendly, no UI chrome
   ==================================================================== */
@media print {
  /* Hide all interactive UI */
  .lang-bar, .nav, .hero__scroll, .hero__cta, .nav__toggle,
  .nav__mobile, .gallery__feature, .gallery__row, .gallery__note,
  .contact__form, .contact__map, .footer, .quote, .news, .documents__intro,
  [data-reveal] { /* keep content visible but disable animations */
    opacity: 1 !important;
    transform: none !important;
  }
  .lang-bar, .nav, .hero__scroll, .hero__cta, .nav__toggle,
  .nav__mobile, .gallery__feature, .gallery__row, .gallery__note,
  .contact__form, .contact__map, .footer, .quote {
    display: none !important;
  }

  /* Reset to print-friendly defaults */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }
  .hero {
    min-height: auto;
    padding: 0 0 24pt;
  }
  .hero__bg, .hero__veil { display: none; }
  .hero__title {
    color: #000 !important;
    font-size: 36pt;
    margin-bottom: 8pt;
  }
  .hero__title em { color: #000 !important; }
  .hero__sub { color: #000 !important; max-width: 100%; }
  .hero__meta { color: #000 !important; border: 0; padding: 0; }
  .hero::after { display: none; }

  .section { padding: 16pt 0; }
  .display, h1, h2, h3 { color: #000 !important; page-break-after: avoid; }
  .display em, h1 em, h2 em, h3 em { color: #000 !important; }

  /* Show URL after links so printed text is useful offline */
  a[href^="http"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
  }
  /* But not inside the doclist — would be too noisy */
  .doclist a::after { content: ""; }

  /* Avoid breaking cards across pages */
  .amcard, .news__card, .doclist, .directory__card, .bignum {
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
  }

  /* Show Spanish AND English side-by-side when printing */
  .es, .en { display: inline !important; }
  .es::after { content: " · "; color: #888 !important; }
}
