/* idam.living — design tokens */
:root {
  --cream: #faf1e4;
  --cream-2: #f6e8d3;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #6b6259;
  --yellow: #f5b014;
  --yellow-soft: #f8cf5a;
  --red: #e2452f;
  --sky: #9fcbea;
  --lavender: #c3aee8;
  --green: #9bbd68;
  --pink: #f4c9c4;
  --line: #e5d6bf;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(80, 50, 10, .12);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --script: "Caveat", cursive;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
b { color: var(--yellow); font-weight: inherit; }
body.no-scroll { overflow: hidden; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container-left { padding-left: max(16px, calc((100vw - var(--container)) / 2)); }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 500; }

/* Missing illustration fallback: soft warm gradient instead of a broken icon */
img.img-missing { visibility: hidden; }
.hero__art, .split__art, .city-card__img, .shop-card__img, .social-card__img, .stretch, .footer__art {
  background: radial-gradient(circle at 60% 40%, #fbe3b3 0%, #f6d79a 35%, transparent 70%), var(--cream-2);
}

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 16px;
}
.h2--xl { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.h3 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; line-height: 1.1; }
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.lead { color: var(--ink-2); margin: 0 0 24px; }
.lead--lg { font-size: 1.25rem; line-height: 1.4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--yellow); box-shadow: 0 6px 16px rgba(245, 176, 20, .35); }
.btn--primary:hover { box-shadow: 0 10px 22px rgba(245, 176, 20, .45); }
.btn--outline { border-color: var(--ink); background: rgba(255, 255, 255, .35); }
.btn--outline:hover { background: #fff; }
.btn--sm { padding: 8px 20px; font-size: .88rem; font-weight: 600; }
.btn--block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.circle-arrow {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: .75rem;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}

/* ---------- Splash ----------
   Artwork (cat on the logo, zzz / "Hi meow!") comes straight from the design.
   Sleeping frame fades to the awake frame, then the splash fades into the hero.
   Animations start once both images are decoded (JS adds .is-playing). */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: #fdf6e8; /* matches the artwork */
  transition: opacity .6s ease, visibility .6s;
}
.splash.is-done { opacity: 0; visibility: hidden; }
.splash__inner { width: min(720px, 92vw); text-align: center; }
.splash__art { position: relative; aspect-ratio: 1140 / 540; }
.splash__cat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.splash__cat--wake { opacity: 0; }
.splash__bar { width: 160px; height: 6px; margin: 8px auto 0; border-radius: 99px; background: #e4d8c4; overflow: hidden; }
.splash__bar span { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: inherit; }

.splash.is-playing .splash__cat--sleep { animation: splash-out .5s ease 1.4s forwards; }
.splash.is-playing .splash__cat--wake { animation: splash-in .5s ease 1.4s forwards; }
.splash.is-playing .splash__bar span { animation: splash-load 2.8s ease forwards; }

@keyframes splash-out { to { opacity: 0; } }
@keyframes splash-in { to { opacity: 1; } }
@keyframes splash-load { to { width: 100%; } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(250, 241, 228, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { width: min(var(--container), 100% - 32px); margin: auto; height: 72px; display: flex; align-items: center; gap: 24px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.footer__grid .logo--lg { font-size: 2.6rem; color: var(--ink); margin-bottom: 4px; }
.nav__links { display: flex; gap: 36px; margin: 0 auto; font-size: .9rem; font-weight: 600; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--yellow); transition: width .25s; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__burger {
  display: grid; place-content: center; gap: 3px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--yellow);
}
.nav__burger span { display: block; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav__inner { position: relative; }
.menu-panel {
  position: absolute; top: 64px; right: 0; width: 260px;
  display: flex; flex-direction: column; padding: 10px;
  background: #fffaf2; border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav.is-open .menu-panel { opacity: 1; visibility: visible; transform: none; }
.menu-panel a:not(.btn) { padding: 11px 12px; border-radius: 10px; font-size: .92rem; font-weight: 600; }
.menu-panel a:not(.btn):hover { background: var(--cream-2); }
.menu-panel .btn { margin-top: 8px; justify-content: center; }
.menu-panel__main { display: none; flex-direction: column; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 6px; }

/* ---------- Hero ---------- */
/* Short hero so the locations row is visible on the first screen, as in the design */
.hero { position: relative; height: clamp(420px, 54vh, 520px); display: flex; align-items: center; overflow: hidden; background: #fbeedb; }
.hero__art { position: absolute; top: 0; bottom: 0; right: 0; left: 24%; background: none; }
/* Scene fills the right ~3/4 of the hero; its left edge melts into the cream behind the text */
.hero__art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 74%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.hero__content { position: relative; padding: 72px 0 24px; }
.hero__tag { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 500; margin: 0 0 12px; letter-spacing: -.01em; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.locations { padding: 28px 0 48px; }
.locations .cards { margin-top: 20px; }
.locations .center { margin-top: 24px; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 28px; }

.doodle--rays {
  position: absolute; right: 12%; top: 70px; width: 70px; height: 60px;
  background:
    linear-gradient(var(--yellow), var(--yellow)) 10px 0 / 4px 26px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 40px 10px / 4px 24px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 40px 52px / 30px 4px no-repeat;
  border-radius: 4px;
  transform: rotate(8deg);
}

/* City cards */
.city-card {
  border: 0; padding: 0; text-align: left;
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
  transition: transform .25s, box-shadow .25s;
}
.city-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.city-card:hover .circle-arrow { background: var(--ink); color: #fff; }
.city-card__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px; font-weight: 700; }
.city-card__img { position: relative; aspect-ratio: 16 / 10; margin: 0 6px 6px; border-radius: 12px; overflow: hidden; }
.city-card__img img { width: 100%; height: 100%; object-fit: cover; }
.city-card--yellow { background: var(--yellow-soft); }
.city-card--red { background: var(--red); }
.city-card--sky { background: var(--sky); }
.city-card--lavender { background: var(--lavender); }
.city-card--green { background: var(--green); }

/* The peeking black cat motif */
.peek-cat {
  position: absolute; right: 12px; bottom: -14px;
  width: 52px; height: 40px; background: #111;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  display: flex; justify-content: center; gap: 8px; padding-top: 12px;
  transition: bottom .3s;
}
.peek-cat::before, .peek-cat::after {
  content: ""; position: absolute; top: -8px; width: 0; height: 0;
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 14px solid #111;
}
.peek-cat::before { left: 3px; transform: rotate(-12deg); }
.peek-cat::after { right: 3px; transform: rotate(12deg); }
.peek-cat i { width: 9px; height: 11px; background: #fff; border-radius: 50%; position: relative; }
.peek-cat i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 4px; height: 5px; background: #111; border-radius: 50%; }
.city-card:hover .peek-cat { bottom: -6px; }

/* Stretch divider */
.stretch { aspect-ratio: 16 / 6; max-height: 520px; width: 100%; overflow: hidden; }
.stretch img { width: 100%; height: 100%; object-fit: cover; }

/* Split sections (text left, art right) */
/* Full-bleed sections as in the design: art fills the right side and melts into the cream behind the text */
.split { position: relative; display: flex; align-items: center; min-height: clamp(560px, 48vw, 760px); overflow: hidden; }
.split--short { min-height: clamp(480px, 40vw, 620px); }
.split__text { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; padding-right: 32px; max-width: calc(520px + max(16px, (100vw - var(--container)) / 2)); }
.split__text p:not(.eyebrow):not(.lead) { color: var(--ink-2); font-size: .98rem; }
.split__art { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background: none; }
.split__art img {
  width: 100%; height: 100%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.signature { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; margin-top: 24px; }
.signature .script { font-size: 2.1rem; line-height: 1; }
.signature .paw { color: var(--yellow); font-size: 1.3rem; }
.signature strong, .signature small { grid-column: 1 / -1; font-size: .85rem; }
.signature small { color: var(--muted); }

/* Shop */
.shop { padding: 24px 0 60px; }
.shop-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shop-card:hover .circle-arrow { background: var(--ink); color: #fff; }
.shop-card__img { aspect-ratio: 5 / 4; overflow: hidden; }
.shop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shop-card:hover .shop-card__img img { transform: scale(1.05); }
.shop-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 700; font-size: .92rem; background: #fdf8f0; }
.shop-card--yellow .shop-card__img { background: var(--yellow-soft); }
.shop-card--green .shop-card__img { background: var(--green); }
.shop-card--pink .shop-card__img { background: var(--pink); }
.shop-card--sky .shop-card__img { background: var(--sky); }
.shop-card--lavender .shop-card__img { background: var(--lavender); }

.sos {
  margin-top: 20px; padding: 18px 28px 18px 0;
  display: grid; grid-template-columns: 170px 1fr auto auto; align-items: center; gap: 24px;
  background: linear-gradient(90deg, #f5e3c4, #fbf3e6); border-radius: var(--radius-lg);
}
.sos__cat { height: 100px; width: 170px; object-fit: contain; }
.sos__text h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6px; }
.sos__text h3 span { color: #1d8fd6; }
.sos__text p { margin: 0; font-size: .85rem; color: var(--ink-2); }
.sos__logo {
  display: flex; align-items: center; gap: 10px; padding-left: 24px; border-left: 1px solid var(--line);
  color: #1d8fd6; font-weight: 800; font-size: .85rem; line-height: 1.1;
}
.sos__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: #1d8fd6; color: #fff; font-size: .75rem; }
.sos__note { font-size: 1.3rem; line-height: 1; transform: rotate(-10deg); }

/* Follow Choco */
.choco { padding-bottom: 80px; }
.social-card {
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.social-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.social-card:hover .circle-arrow { background: var(--ink); color: #fff; }
.social-card__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 6px; font-size: .92rem; }
.social-card__head .circle-arrow { margin-left: auto; }
.social-card__text { padding: 0 14px 12px; font-size: .82rem; color: var(--ink-2); min-height: 3.2em; }
.social-card__img { aspect-ratio: 4 / 3.4; margin-top: auto; overflow: hidden; }
.social-card__img img { width: 100%; height: 100%; object-fit: cover; }
.social-card--yellow { background: #f9dfa3; }
.social-card--sky { background: #c8def0; }
.social-card--green { background: #cfdcab; }
.social-card--pink { background: #f6cfcb; }
.social-card--lavender { background: #dccdf0; }

.social-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .9rem;
}
.social-icon::before { content: attr(data-l); }
.social-icon--instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon--instagram::before { content: "◎"; }
.social-icon--facebook { background: #1877f2; }
.social-icon--facebook::before { content: "f"; font-size: 1.2rem; }
.social-icon--linkedin { background: #0a66c2; }
.social-icon--linkedin::before { content: "in"; }
.social-icon--whatsapp { background: #25d366; border-radius: 50%; }
.social-icon--whatsapp::before { content: "✆"; }
.social-icon--snapchat { background: #fffc00; color: #111; }
.social-icon--snapchat::before { content: "👻"; font-size: .9rem; }
.social-icon--mono { background: #efe4d3; color: var(--ink); border-radius: 50%; width: 38px; height: 38px; }

/* ---------- Footer ----------
   The illustration (plants, books, mug, sleeping student + Choco, "Better days together",
   "See you soon") is the footer background; links sit in the empty wall area above it. */
.footer {
  position: relative; overflow: hidden;
  min-height: calc(100vw * 635 / 1587);
  padding-top: calc(100vw * 70 / 1587);
  background: #fcf3e3 url("../img/footer-bg.webp") center bottom / 100% auto no-repeat;
}
.footer__grid { display: grid; grid-template-columns: 1.7fr .95fr 1.05fr 1fr 1.15fr 1.5fr; gap: 24px; }
.footer__brand p { font-size: 1rem; line-height: 1.45; color: var(--ink-2); max-width: 250px; margin: 6px 0 0; }
.footer__grid .logo--lg { display: block; font-size: clamp(2rem, 3vw, 2.7rem); color: var(--ink); margin: 0; }
.footer h4 { font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin: 6px 0 16px; }
.footer__grid > div > a, .footer__contact span { display: flex; align-items: center; gap: 10px; font-size: .84rem; margin-bottom: 11px; color: var(--ink-2); transition: color .2s; }
.footer__grid > div > a:hover { color: var(--ink); }
.footer__more { margin-top: 6px; white-space: nowrap; color: var(--ink) !important; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.footer__updates { padding-left: 24px; border-left: 1px solid #e3d3b8; }
.footer__updates p { font-size: .82rem; color: var(--ink-2); margin: 0 0 14px; }
.pill-input {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 4px 4px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: rgba(255, 255, 255, .6);
}
.pill-input input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .85rem; outline: 0; padding: 6px 0; }
.circle-btn { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 700; }
.footer__socials { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.footer__bottom {
  position: absolute; top: calc(100vw * 444 / 1587); left: calc(100vw * 200 / 1587); width: calc(100vw * 770 / 1587);
  padding-top: 12px; border-top: 1px solid rgba(60, 40, 10, .12);
  font-size: .74rem; color: var(--muted);
}

.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 10px; }
.footer__legal a:hover { color: var(--ink); }
.footer__legal i { font-style: normal; opacity: .5; }

/* ---------- Legal pages ---------- */
.legal-nav { border-bottom: 1px solid var(--line); }
.legal-nav .nav__inner { justify-content: space-between; }
.legal { width: min(760px, 100% - 32px); margin: 0 auto; padding: 56px 0 80px; }
.legal h1 { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .85rem; margin: 0 0 36px; }
.legal h2 { font-size: 1.15rem; letter-spacing: -.01em; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: .97rem; }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; }
.legal-foot { border-top: 1px solid var(--line); padding: 20px 0; font-size: .8rem; color: var(--muted); }
.legal-foot .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30, 20, 5, .45); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__panel {
  position: relative; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--cream); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  animation: pop .35s cubic-bezier(.3, 1.4, .5, 1);
}
.modal__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #efe4d3; font-size: 1.4rem; line-height: 1; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 500; font-size: .95rem;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 176, 20, .18); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field__error { color: var(--red); font-weight: 500; min-height: 0; }
.form-error { color: var(--red); font-size: .88rem; text-align: center; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.modal__success { text-align: center; padding: 20px 0; }
.modal__panel--sm { width: min(400px, 100%); }
.soon { text-align: center; padding: 8px 0; }
.soon .eyebrow { margin-top: 8px; }
.modal__success .script { font-size: 1.3rem; font-style: normal; }
.success-cat { font-size: 4rem; animation: bounce 1s ease infinite; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
@keyframes bounce { 50% { transform: translateY(-8px); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__updates { padding-left: 0; border-left: 0; }
  .footer { padding-top: 56px; padding-bottom: calc(100vw * 300 / 1587); }
  .footer__bottom { position: static; width: auto; margin: 24px 16px 0; }
  .sos { grid-template-columns: 120px 1fr; padding: 18px; }
  .sos__cat { width: 120px; }
  .sos__logo { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .menu-panel { width: auto; left: 0; }
  .menu-panel__main { display: flex; }

  .hide-sm { display: none; }
  .hero { height: auto; flex-direction: column; align-items: stretch; }
  .hero__art { position: relative; order: 2; aspect-ratio: 4 / 3; }
  .hero__art { left: 0; }
  .hero__art img { object-position: 75% center; -webkit-mask-image: none; mask-image: none; }
  .hero__content { padding: 110px 0 24px; }

  .split, .split--short { flex-direction: column; align-items: stretch; min-height: 0; }
  .split__text { padding: 56px 16px 24px; max-width: none; }
  .split__art { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .split__art img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%); }

  /* Card rows become swipeable carousels */
  .cards--scroll {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 16px; scrollbar-width: none;
  }
  .cards--scroll::-webkit-scrollbar { display: none; }
  .cards--scroll > * { flex: 0 0 62%; scroll-snap-align: start; }
  .doodle--rays { display: none; }
  .stretch { aspect-ratio: 16 / 8; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .field-grid { grid-template-columns: 1fr; }
  .modal__panel { padding: 28px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer { background-size: 180% auto; padding-bottom: 52vw; }
  .footer__contact, .footer__updates { grid-column: 1 / -1; }
  .sos { grid-template-columns: 1fr; text-align: center; }
  .sos__cat { margin: auto; }
  .sos__logo { justify-content: center; }
  .sos__note { display: none; }
}
