/* Website UI kit — extra styles beyond colors_and_type.css */

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Intro splash ---------- */
#intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 1.4s ease;
}
#intro.intro--out { opacity: 0; pointer-events: none; }
#intro video,
#intro img {
  width: 100%; height: auto;
  display: block;
}

html { overflow-y: scroll; } /* always reserve the scrollbar so the intro doesn't shift at dismiss */

html, body { background: #FFFFFF; min-height: 100%; }
body { font-family: var(--font-sans); color: var(--ink-700); }

a { color: inherit; text-decoration: none; border: 0; }

button {
  font-family: var(--font-sans); cursor: pointer; background: none; border: 0; color: inherit;
}

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

/* ---------- App scaffold ---------- */
/* padding-top tracks the real fixed-nav height (set by JS as --nav-h) so the
   wave divider always sits flush under the nav on every screen size. */
.app { min-height: 100vh; padding-top: var(--nav-h, 94px); }

/* ---------- Top nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px 8px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav::after { content: none; }
.nav-wave {
  width: 100%;
  /* Sit flush under the fixed nav (≈104px tall on desktop); .app pads 104px. */
  margin-top: 0;
  /* Crop tight to the wave line (source y≈285–450 of a 3840×2160 frame),
     keeping the wave at natural proportions — no distortion. */
  aspect-ratio: 3840 / 165;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.nav-wave video,
.nav-wave img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -7.422%; /* -285/3840 of width: lifts the white top margin out of view */
}
.nav-brand { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.nav-brand img { height: 152px; width: auto; display: block; margin: -42px 0; }

.nav-links {
  display: flex; gap: 40px;
  /* Center the four links in the viewport, on the logo's visual axis (y≈58px). */
  position: absolute; left: 50%; top: 58px; transform: translate(-50%, -50%);
}
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-900);
  padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.nav-links a:hover { color: var(--clay-500); }
.nav-links a.active { color: var(--clay-500); border-color: var(--clay-500); }

.nav-tools { display: flex; align-items: center; gap: 14px; transform: translateY(6px); }
.lang { display: flex; gap: 2px; }
.lang button {
  font-size: 10px; letter-spacing: 0.12em; padding: 5px 10px; border-radius: 999px;
  color: var(--ink-500);
}
.lang button.on { background: var(--ink-900); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 14px 0 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #FFFFFF;
}
.hero-headline {
  font-family: var(--font-display); font-weight: 200;
  font-size: 5.25vw; line-height: 1; white-space: nowrap;
  letter-spacing: 0; color: var(--ink-900);
  margin: 0; width: 100%;
}

/* ---------- Hero banner (rotating images) ---------- */
.hero-banner {
  position: relative;
  width: 100%; height: 86vh; min-height: 560px; max-height: 940px;
  overflow: hidden; background: var(--ink-900);
}
.hb-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: scale(1.02);
  transition-property: opacity, transform;
}
.hb-slide.on {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1400ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 6000ms linear;
}
.hb-progress {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 32px;
  display: flex; gap: 10px; z-index: 2;
}
.hb-dot {
  display: block; width: 28px; height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: background 320ms ease, width 320ms ease;
}
.hb-dot.on { background: #FFFFFF; width: 44px; }
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-500); margin: 0; padding: 0 24px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(56px, 8vw, 128px); line-height: 0.98;
  letter-spacing: 0; color: var(--ink-900);
  max-width: 1100px;
}
.hero-title em { font-style: italic; color: var(--clay-500); font-weight: 300; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.hero-blurb { max-width: 360px; font-size: 14px; color: var(--ink-500); line-height: 1.65; }
.hero-cta { font-family: var(--font-sans); cursor: pointer; background: none; border: 0;
  color: var(--ink-900); padding: 0 0 7px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; position: relative; gap: 12px;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
}
.hero-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left center; transform: scaleX(0.35);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.hero-cta:hover { color: var(--clay-500); }
.hero-cta:hover::after { transform: scaleX(1); }
.hero-cta svg { transition: transform 240ms ease; }
.hero-cta:hover svg { transform: translateX(3px); }
.hero-wave { display: none; }

/* ---------- Section / generic ---------- */
.section { padding: 96px 56px; background: #FFFFFF; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head .lead { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.section-head .wave-mark { width: 160px; height: auto; display: block; opacity: 0.95; }
.section-head .section-rule {
  display: block; width: 96px; height: 1px;
  background: var(--ink-900);
}
.section-rule-foot {
  display: block; width: 96px; height: 1px;
  background: var(--ink-900);
  margin: 80px 0 0;
}
.section-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-500); }
.section-title { font-family: var(--font-display); font-weight: 200; font-size: 56px; color: var(--ink-900); letter-spacing: 0; line-height: 1.05; }
.section-link {
  font-family: var(--font-sans); cursor: pointer; background: none; border: 0;
  color: var(--ink-900); padding: 0 0 6px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; position: relative; gap: 10px;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
  text-decoration: none;
}
.section-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left center; transform: scaleX(0.35);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.section-link:hover { color: var(--clay-500); }
.section-link:hover::after { transform: scaleX(1); }

/* ---------- Project grid ---------- */
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 48px; }
.proj-tile { cursor: pointer; display: flex; flex-direction: column; gap: 18px; }
.proj-tile .img { aspect-ratio: 3/2; overflow: hidden; position: relative; border-radius: 8px; }
.proj-tile .img .ph {
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--cover-pos, center);
  border-radius: 8px;
  filter: grayscale(1);
  transition:
    filter 600ms cubic-bezier(0.22,0.61,0.36,1),
    transform 700ms cubic-bezier(0.22,0.61,0.36,1);
}
.proj-tile:hover .img .ph {
  filter: grayscale(0);
  transform: scale(1.04);
}
.proj-tile .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.proj-tile .ey { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 6px; }
.proj-tile .name { font-family: var(--font-display); font-size: 28px; font-weight: 300; color: var(--ink-900); line-height: 1.05; }
.proj-tile .meta { font-size: 12px; color: var(--ink-500); margin-top: 6px; letter-spacing: 0.02em; }
.proj-tile .num { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink-500); }
.proj-tile.wide { grid-column: span 2; }
.proj-tile.wide .img { aspect-ratio: 21/9; }

/* Project detail */
.pd-hero {
  padding: 0 56px;
  display: flex; justify-content: flex-start;
}
.pd-hero .img {
  width: 100%; max-width: 1600px;
  max-height: 82vh;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF;
  overflow: hidden;
}
.pd-hero .img img {
  display: block;
  max-width: 100%; max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain;
}

/* Gallery — masonry-style via CSS columns to preserve natural aspect ratios */
.pd-gallery {
  column-count: 2;
  column-gap: 16px;
  padding: 0 56px 96px;
}
.pd-gallery .img {
  break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  background: #FFFFFF;
}
.pd-gallery .img img {
  display: block;
  width: 100%; height: auto;
}

/* Photo placeholder gradients — different palettes per project */
.ph-img { background-size: cover; background-position: center; position: relative; }
.ph-img.p1 { background: linear-gradient(160deg, #C3875A 0%, #8C5840 55%, #2A2620 100%); }
.ph-img.p2 { background: linear-gradient(180deg, #EDDCC6 0%, #C3875A 55%, #6B4F3A 100%); }
.ph-img.p3 { background: linear-gradient(140deg, #B47864 0%, #3A3530 100%); }
.ph-img.p4 { background: linear-gradient(170deg, #E1C3A5 0%, #B47864 50%, #2A2620 100%); }
.ph-img.p5 { background: linear-gradient(150deg, #D4A688 0%, #8C5840 60%, #1A1714 100%); }
.ph-img.p6 { background: linear-gradient(180deg, #F5EADD 0%, #C3875A 70%); }
.ph-img.p7 { background: linear-gradient(160deg, #A66B4F 0%, #1A1714 100%); }
.ph-img::after {
  content: "placeholder"; position: absolute; left: 16px; bottom: 12px;
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(247,242,235,0.6);
}

/* ---------- Project detail ---------- */
.pd-head { padding: 56px 56px 32px; display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: end; }
.pd-back { font-family: var(--font-sans); cursor: pointer;
  color: var(--ink-500); padding: 0 0 5px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; position: relative; gap: 10px; margin-bottom: 32px;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
}
.pd-back::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left center; transform: scaleX(0.35);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.pd-back:hover { color: var(--ink-900); }
.pd-back:hover::after { transform: scaleX(1); }
.pd-back svg { transition: transform 240ms ease; }
.pd-back:hover svg { transform: translateX(-3px); }
.pd-title { font-family: var(--font-display); font-weight: 200; font-size: 96px; line-height: 0.95; letter-spacing: 0; color: var(--ink-900); }
.pd-meta { display: flex; flex-direction: column; gap: 14px; }
.pd-meta dl { display: grid; grid-template-columns: 96px 1fr; gap: 6px 16px; font-size: 12px; }
.pd-meta dt { color: var(--ink-500); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; padding-top: 2px; }
.pd-meta dd { color: var(--ink-900); }

.pd-hero { padding: 0 56px; }
.pd-hero .img { aspect-ratio: 21/10; }

.pd-body { padding: 48px 56px 56px; }
.pd-body .pull { font-family: var(--font-display); font-size: 28px; line-height: 1.4; color: var(--ink-900); font-style: italic; font-weight: 300; max-width: 1100px; }
.pd-body p { font-size: 15px; line-height: 1.7; color: var(--ink-700); margin-bottom: 18px; max-width: 640px; }

.pd-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 56px 64px; }
.pd-strip .img { aspect-ratio: 4/5; }
.pd-strip .img.wide { grid-column: span 2; aspect-ratio: 21/9; }

/* ---------- About ---------- */
.about { padding: 48px 56px 48px; display: flex; flex-direction: column; gap: 40px; }
.about-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 0; white-space: nowrap; }

.about-top {
  display: flex; flex-direction: column; gap: 32px;
}
.about-top-row {
  display: grid; grid-template-columns: 9fr 4fr;
  gap: 72px; align-items: stretch;
}
.about-team-photo { margin: 0; overflow: hidden; background: var(--bg-2); }
.about-team-photo img { width: 100%; height: auto; display: block; }

.about-statement {
  font-family: var(--font-display); font-weight: 200; font-size: 40px;
  line-height: 1.15; color: var(--ink-900); letter-spacing: 0;
  max-width: 1040px;
}
.about-statement em { font-style: italic; color: var(--clay-500); font-weight: 300; }
.about-body {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 20px;
  padding-top: 0;
}
.about-body p { font-size: 17px; line-height: 1.65; color: var(--ink-700); margin: 0; }

.partners-head {
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
  margin-top: -32px;
}
.partners-title {
  font-family: var(--font-display); font-weight: 200; font-size: 40px;
  color: var(--ink-900); letter-spacing: 0; line-height: 1;
}

.partners {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.partner { display: flex; flex-direction: column; gap: 20px; }
.partner figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.partner figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.partner-meta { display: flex; flex-direction: column; gap: 10px; }
.partner-meta .role {
  font-family: var(--font-sans); font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500);
}
.partner-name {
  font-family: var(--font-display); font-weight: 300; font-size: 24px;
  line-height: 1.1; color: var(--ink-900); margin: 0;
}
.partner-bio {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.65;
  color: var(--ink-700); margin: 4px 0 0;
}

/* ---------- Journal ---------- */
.journal-list { padding: 96px 56px; max-width: 1100px; }
.journal-item {
  display: grid; grid-template-columns: 96px 1fr 160px; gap: 32px;
  padding: 28px 0;
  background-image: url('../../assets/wave-divider.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 280px auto;
  cursor: pointer; align-items: baseline;
  transition: padding-left 220ms ease;
}
.journal-item:last-child { background-image: none; }
.journal-item:hover { padding-left: 12px; }
.journal-item .date { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink-500); letter-spacing: 0.04em; }
.journal-item .ttl { font-family: var(--font-display); font-size: 24px; font-weight: 300; color: var(--ink-900); line-height: 1.2; }
.journal-item .sub { font-size: 12px; color: var(--ink-500); margin-top: 6px; }
.journal-item .cat { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500); text-align: right; }

/* ---------- Contact ---------- */
.contact { padding: 96px 56px; display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
.contact-lead-block { display: flex; flex-direction: column; }
.contact-title { font-family: var(--font-display); font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: 0; color: var(--ink-900); margin-bottom: 32px; }
.contact-lead { font-size: 16px; color: var(--ink-500); line-height: 1.65; max-width: 380px; }
.contact-whatsapp {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 22px;
  color: var(--ink-500); text-decoration: none; cursor: pointer;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
}
.contact-whatsapp svg { color: var(--ink-500); transition: color 220ms cubic-bezier(0.22,0.61,0.36,1); }
.contact-whatsapp span {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-700);
  position: relative; padding-bottom: 3px;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
}
.contact-whatsapp span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left center; transform: scaleX(0.35);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.contact-whatsapp:hover { color: var(--clay-500); }
.contact-whatsapp:hover svg { color: var(--clay-500); }
.contact-whatsapp:hover span { color: var(--clay-500); }
.contact-whatsapp:hover span::after { transform: scaleX(1); }

.contact-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px;
  padding-top: 12px;
}
.contact-info .grp { display: flex; flex-direction: column; gap: 10px; }
.contact-info .grp .lbl {
  font-family: var(--font-sans); font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-500);
}
.contact-info .grp .val {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-900);
  line-height: 1.65; font-weight: 400;
}
.contact-info .grp .val a {
  color: inherit; text-decoration: none; border: 0; cursor: pointer;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
}
.contact-info .grp .val a:hover { color: var(--clay-500); }

/* ---------- Button — single underline-animated style ---------- */
.btn {
  font-family: var(--font-sans); cursor: pointer; background: none; border: 0;
  color: var(--ink-900); padding: 0 0 6px; display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; position: relative; gap: 10px;
  transition: color 220ms cubic-bezier(0.22,0.61,0.36,1);
  align-self: flex-start;
}
.btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left center; transform: scaleX(0.35);
  transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.btn:hover { color: var(--clay-500); }
.btn:hover::after { transform: scaleX(1); }
.btn svg { width: 13px; height: 13px; transition: transform 240ms ease; }
.btn:hover svg { transform: translateX(3px); }

.btn.lg { font-size: 13px; letter-spacing: 0.24em; padding-bottom: 7px; }
.btn.sm { font-size: 10px; letter-spacing: 0.2em; padding-bottom: 4px; }
.btn.accent { color: var(--clay-500); }
.btn.accent:hover { color: var(--clay-700); }
.btn.muted { color: var(--ink-500); }
.btn.muted:hover { color: var(--ink-900); }

/* ---------- Footer ---------- */
.footer {
  background: #FFFFFF; color: var(--ink-700);
  padding: 28px 56px 40px; margin-top: 0;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { height: 124px; width: auto; display: block; margin-left: -5px; }
.footer-grid .blurb { font-size: 13px; color: var(--ink-500); line-height: 1.6; max-width: 320px; margin-top: 16px; }
.footer-grid .col h4 { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay-500); margin-bottom: 18px; font-family: var(--font-sans); font-weight: 500; }
.footer-grid .col a { display: block; padding: 6px 0; font-size: 13px; color: var(--ink-700); cursor: pointer; }
.footer-grid .col a:hover { color: var(--clay-500); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; margin-top: 48px;
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.12em; color: var(--ink-500); text-transform: uppercase; }

/* ---------- Tabs (kit demo only) ---------- */
.kit-tabs {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  display: flex; gap: 4px; padding: 6px;
  background: rgba(26, 23, 20, 0.92); backdrop-filter: blur(8px);
  border-radius: 999px;
}
.kit-tabs button {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(225, 195, 165, 0.7); padding: 8px 14px; border-radius: 999px;
  transition: all 180ms ease;
}
.kit-tabs button:hover { color: var(--clay-200); }
.kit-tabs button.on { background: var(--clay-500); color: var(--paper); }

/* =========================================================
   Tablet (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .nav { padding: 14px 32px 28px; }
  .nav-wave { margin-top: 0; }
  .nav-links { top: 50%; }
  .nav-tools { transform: none; }
  .nav-brand img { height: 56px; margin: -14px 0; }
  .nav-links { gap: 24px; }
  .hero { padding: 16px 0 48px; min-height: auto; }
  .section { padding: 64px 32px; }
  .about { padding: 32px 32px 48px; }
  .footer { padding: 48px 32px 32px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .footer-grid .col:last-child { grid-column: 1 / -1; }
  .partners { gap: 28px; }
  .pd-head { padding: 40px 32px 32px; }
  .pd-hero { padding: 0 32px; }
  .pd-gallery { padding: 0 32px 64px; }
  .contact { padding: 64px 32px; gap: 56px; }
  .journal-list { padding: 64px 32px; }
}

/* =========================================================
   Mobile (≤ 720px)
   ========================================================= */
@media (max-width: 720px) {
  .nav { padding: 12px 18px 24px; flex-wrap: wrap; gap: 4px; }
  /* Mobile uses a portrait wave video (1200×2160) with the wave line at
     y≈14–21%. Crop to that band with extra white below so the banner
     beneath never crowds/cuts the wave. */
  .nav-wave { aspect-ratio: 1200 / 156; }
  .nav-wave video,
  .nav-wave img { margin-top: -28%; }
  .nav-brand img { height: 84px; margin: -19px 0 -19px -4px; }
  .nav-brand { gap: 8px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 6px; padding-top: 8px; position: static; transform: none; }
  .nav-links a { font-size: 10px; letter-spacing: 0.18em; }
  .nav-tools { order: 2; }
  .lang button { font-size: 9px; padding: 3px 8px; }

  .hero-banner { height: 64vh; min-height: 380px; max-height: 600px; }
  .hb-progress { left: 50%; transform: translateX(-50%); bottom: 20px; }
  .hb-dot { width: 18px; }
  .hb-dot.on { width: 30px; }

  .hero { padding: 14px 0 48px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 0.22em; white-space: normal; }
  .hero-title { font-size: clamp(38px, 11vw, 64px); line-height: 1.05; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-blurb { max-width: 100%; font-size: 14px; }
  .hero-cta { font-size: 11px; letter-spacing: 0.2em; }

  .section { padding: 56px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
  .section-title { font-size: 36px; }
  .section-rule-foot { margin-top: 48px; }

  .proj-grid { grid-template-columns: 1fr; gap: 48px; }
  .proj-tile.wide { grid-column: span 1; }
  /* Uniform cover size on mobile (3:2, cropped) — every card matches. */
  .proj-tile.wide .img { aspect-ratio: 3/2; }
  .proj-tile .name { font-size: 22px; }
  .proj-tile .cap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .proj-tile .img .ph { filter: grayscale(0); }

  .pd-head { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px 24px; }
  .pd-title { font-size: 48px; line-height: 1; }
  .pd-meta dl { grid-template-columns: 80px 1fr; font-size: 11px; }
  .pd-back { font-size: 10px; margin-bottom: 20px; }
  .pd-hero { padding: 0 24px; }
  .pd-hero .img { max-height: 60vh; }
  .pd-hero .img img { max-height: 60vh; }
  .pd-body { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
  .pd-body .pull { font-size: 18px; }
  .pd-gallery { column-count: 1; padding: 0 24px 56px; }

  .about { padding: 24px 24px 40px; gap: 32px; }
  .about-eyebrow {
    font-size: 9px; letter-spacing: 0.18em; white-space: normal; line-height: 1.6;
    display: flex; flex-direction: column; gap: 8px;
  }
  .about-eyebrow .ae-top { display: flex; justify-content: space-between; width: 100%; }
  .about-eyebrow .ae-top .ae-dot { display: none; }
  .about-eyebrow .ae-dot-last { display: none; }
  .about-eyebrow .ae-last { display: none; }
  .about-top-row { grid-template-columns: 1fr; gap: 32px; }
  .about-statement { font-size: 26px; line-height: 1.2; }
  .about-body p { font-size: 14px; }
  .partners { grid-template-columns: 1fr; gap: 40px; }
  .partner figure { aspect-ratio: 4 / 5; }
  .partner-name { font-size: 22px; }
  .partner-bio { font-size: 14px; }

  .contact { grid-template-columns: 1fr; gap: 48px; padding: 56px 24px; }
  .contact-title { font-size: 40px; margin-bottom: 24px; }
  .contact-lead { font-size: 15px; max-width: 100%; }
  .contact-whatsapp span { font-size: 12px; letter-spacing: 0.16em; }
  .contact-info { grid-template-columns: 1fr; gap: 32px; }
  .contact-info .grp .val { font-size: 14px; }

  .journal-list { padding: 56px 24px; }
  .journal-item { grid-template-columns: 1fr; gap: 8px; background-size: 200px auto; }
  .journal-item .cat { text-align: left; }
  .journal-item .ttl { font-size: 20px; }

  .footer { padding: 40px 24px 32px; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid .col:last-child { grid-column: 1; }
  .footer-logo { height: 56px; }
  .footer-bot { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; margin-top: 32px; font-size: 10px; letter-spacing: 0.08em; }
}

@media (max-width: 380px) {
  .hero-title { font-size: clamp(32px, 10vw, 48px); }
  .pd-title { font-size: 40px; }
  .contact-title { font-size: 32px; }
  .section-title { font-size: 30px; }
  .about-statement { font-size: 22px; }
}
