/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/static/fonts/barlow-300-ext.woff2?v=5d396229) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/static/fonts/barlow-300.woff2?v=889347d7) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlow-400-ext.woff2?v=122b24bc) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlow-400.woff2?v=b0a8ad37) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlow-500-ext.woff2?v=3facdf66) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlow-500.woff2?v=cd759df8) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/barlow-600-ext.woff2?v=b7f099c4) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/barlow-600.woff2?v=4b52ddd4) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlow-700-ext.woff2?v=88c786d5) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/barlow-700.woff2?v=2d797dd8) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlow-condensed-400-ext.woff2?v=1eb62753) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/barlow-condensed-400.woff2?v=7fff1bb2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlow-condensed-500-ext.woff2?v=a6ff9214) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/barlow-condensed-500.woff2?v=460f141e) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial"), local("ArialMT"), local("Arimo"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 66.4%;
}

/* Galería. Editorial, image-first layout for A&D Estudio.
   Accents use the brand yellow #FFF100. Charcoal #4D4D4D, white. */
:root {
  --ink: #333333;
  --char: #4D4D4D;
  --yellow: #FFF100;
  --paper: #fff;
  --mut: #595959;
  --line: #e7e7e7;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --cond: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --pad: clamp(18px, 4vw, 64px);
  --hd: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; max-width: 100%; }
.slide picture, .est-open-photo picture { height: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
main h1 { scroll-margin-top: calc(var(--hd) + 12px); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--hd) + 12px); }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; font-weight: inherit;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  background: var(--char); color: #fff; padding: 12px 16px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.label, .nav > a, .dd > a, .filters button, .filters a, .cap b, .cap em, .tile-title,
.meta dt, .pn .label, .ft-links, .ft-legal, figcaption, .menu-btn,
.form-submit, .nl-row input[type="submit"] {
  font-family: var(--cond); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-style: normal;
}
.label { color: var(--mut); }

.hd {
  position: sticky; top: 0; z-index: 80; height: var(--hd);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  background: rgba(255, 255, 255, .96);
}
.home .hd { position: fixed; left: 0; right: 0; }
.logo { display: flex; align-items: center; min-height: 44px; }
h1.logo { font-size: inherit; font-weight: inherit; }
.logo-img { height: 28px; width: auto; }
.logo .on-dark { display: none; }
.home.over-hero:not(.menu-open) .hd { background: transparent; color: #fff; }
.home.over-hero:not(.menu-open) .logo .on-light { display: none; }
.home.over-hero:not(.menu-open) .logo .on-dark { display: block; }
.home.over-hero:not(.menu-open) .menu-btn span:not(.sr) { background: #fff; }
.home.over-hero:not(.menu-open) :focus-visible { outline-color: #fff; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; height: 100%; }
.nav > a, .dd > a { position: relative; padding: 6px 0; }
.nav > a::after, .dd > a::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav > a:hover::after, .nav > a[aria-current]::after, .dd:hover > a::after, .dd:focus-within > a::after,
.dd > a[aria-current]::after { transform: scaleX(1); }
.dd { position: relative; height: 100%; display: flex; align-items: center; }
.dd ul {
  position: absolute; top: calc(var(--hd) - 8px); left: -24px; min-width: 280px; list-style: none; margin: 0;
  padding: 18px 24px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.dd:hover ul, .dd:focus-within ul { opacity: 1; visibility: visible; }
.dd.is-dismissed > ul,
.dd.is-dismissed:hover > ul,
.dd.is-dismissed:focus-within > ul { opacity: 0; visibility: hidden; }
.dd li a { display: block; padding: 8px 0; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--mut); }
.dd li a:hover, .dd li a[aria-current] { color: var(--ink); }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; padding: 0; }
.menu-btn span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.hero { position: relative; height: 100svh; min-height: 460px; overflow: hidden; background: var(--char); }
.hero-pause {
  position: absolute; right: var(--pad); bottom: 28px; z-index: 3;
  min-width: 100px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer;
  font-family: var(--cond); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.hero-pause .icon-pause,
.hero-pause .icon-play { display: none; }
.hero.is-paused .slide { animation-play-state: paused; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; z-index: 2; background: linear-gradient(rgba(0, 0, 0, .42), transparent); pointer-events: none; }
.slide { position: absolute; inset: 0; opacity: 0; animation: slide 18s infinite both; animation-delay: calc(var(--i) * 6s - 1s); }
.slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.slide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); pointer-events: none; }
.slide figcaption {
  position: absolute; left: var(--pad); bottom: 28px; z-index: 1; color: #fff;
  display: flex; gap: 14px; flex-wrap: wrap; text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.slide figcaption span { opacity: .9; }
.slide figcaption::before { content: ""; width: 14px; height: 12px; margin-top: 1px; background: var(--yellow); flex: none; }
.slide figcaption a:hover { background: var(--yellow); color: var(--ink); text-shadow: none; }
@keyframes slide {
  0% { opacity: 0; visibility: hidden; } 5% { opacity: 1; visibility: visible; } 33.3% { opacity: 1; visibility: visible; }
  38.9% { opacity: 0; visibility: hidden; } 100% { opacity: 0; visibility: hidden; }
}

.intro { padding: clamp(72px, 12vw, 160px) var(--pad); max-width: 920px; }
.intro p { font-weight: 300; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.28; letter-spacing: -0.005em; }

.obras { padding: 0 var(--pad) clamp(72px, 10vw, 140px); }
.bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.filters button, .filters a { border: 0; background: none; padding: 4px 0; color: var(--mut); border-bottom: 1px solid transparent; }
.filters button:hover, .filters a:hover, .filters a[aria-current] { color: var(--ink); }
.filters [aria-pressed="true"], .filters a[aria-current] { color: var(--ink); background: var(--yellow); padding: 4px 8px; }
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(48px, 6vw, 96px) clamp(16px, 2vw, 32px); align-items: start; }
main > .works { padding: 0 var(--pad) clamp(72px, 10vw, 140px); }
.work.l { grid-column: span 8; }
.work.m, .work.s { grid-column: span 4; }
.work.s { margin-top: clamp(40px, 10vw, 160px); }
.work.h { grid-column: span 6; }
.work.h:nth-child(even) { margin-top: clamp(32px, 6vw, 96px); }
.work.off { grid-column: 5 / span 8; }
.ph { display: block; overflow: hidden; background: #f1f1f1; }
.ph img { width: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.work.l .ph img { aspect-ratio: 3 / 2; }
.work.m .ph img, .work.s .ph img { aspect-ratio: 4 / 5; }
.work.h .ph img { aspect-ratio: 4 / 3; }
.work a:hover .ph img, .work a:focus-visible .ph img { filter: none; transform: scale(1.025); }
.cap { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; margin-top: 14px; }
.cap b, .tile-title { color: var(--ink); justify-self: start; padding: 2px 0; }
.work a:hover .cap b, .work a:focus-visible .cap b, .work a:hover .tile-title, .work a:focus-visible .tile-title { background: var(--yellow); padding: 2px 8px; }
.cap span { grid-column: 1; font-weight: 300; font-size: 15px; color: var(--mut); letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.cap em { grid-column: 2; grid-row: 1; color: var(--mut); font-size: 12px; }
.tile-title { display: block; margin-top: 14px; font-size: 15px; }

.studio { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: clamp(72px, 10vw, 140px) var(--pad); border-top: 1px solid var(--line); }
/* Homepage ESTUDIO heading is a link. OBRAS uses the same type
   (Barlow Condensed 500, uppercase, .2em, the lead's size, ink, no margin).
   The underline and 44px target stay on the link only. Hover matches the work captions. */
.studio > #t-est,
.studio > #t-est a,
#t-obras {
  margin: 0;
  font-family: var(--cond);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: .2em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
}
.studio > #t-est a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.studio > #t-est a:hover,
.studio > #t-est a:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}
.est-lead, .essay p { font-weight: 300; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.est-lead { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.3; max-width: 34em; }
.est-cols, .partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(36px, 5vw, 64px); }
.est-cols .label, .partner-grid .label { margin-bottom: 16px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plain li { font-size: 18px; }
.plain span, .plain small { display: block; font-weight: 300; font-size: 15px; color: var(--mut); letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.est-more { display: inline-block; margin-top: 28px; }

.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad) clamp(72px, 10vw, 140px); }
.diptych img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); }
.diptych a:hover img, .diptych a:focus-visible img { filter: none; }
.diptych figcaption { margin-top: 12px; color: var(--mut); }

.sec-head { padding: clamp(48px, 8vw, 110px) var(--pad) 36px; }
.sec-head .label a:hover { color: var(--ink); }
.sec-head h1, .proj-head h1 { font-weight: 300; font-size: clamp(44px, 7vw, 112px); letter-spacing: -0.03em; line-height: .95; margin-top: 12px; }
/* Category pages have no eyebrow, so the title starts at the section padding. */
.proj-head > h1:first-child { margin-top: 0; }
.sec-head .filters { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }

.lead { background: #ececec; }
.lead img { width: 100%; height: calc(100svh - var(--hd)); min-height: 380px; object-fit: cover; }
.pos-sign { object-position: 50% 25%; }
.lead.tall { display: flex; flex-direction: column; align-items: center; }
.lead.tall img { width: auto; max-width: 100%; object-fit: contain; }
.lead figcaption { padding: 12px var(--pad) 0; color: var(--mut); }
.proj-head { padding: clamp(40px, 6vw, 88px) var(--pad) 12px; }
.proj-block { padding: clamp(28px, 4vw, 56px) var(--pad) 0; }
/* Project pages have one h1. It keeps the project-heading type; category titles stay on .proj-head h1. */
.proj-block h1,
.proj-block h2 { font-weight: 300; font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.02em; line-height: 1.05; max-width: 18em; }
/* Summary under the project title. It stacks under the h1 at every width. */
.proj-block .meta { margin: clamp(20px, 3vw, 32px) 0 0; max-width: 560px; display: grid; }
.meta div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.meta dt { color: var(--mut); padding-top: 2px; }
.meta dd { margin: 0; font-size: 16px; }
.meta a { border-bottom: 1px solid var(--line); }
.meta a:hover { border-color: var(--ink); }
@media (hover: none) {
  .meta a { position: relative; }
  .meta a::after { content: ""; position: absolute; inset: -16px -6px; }
}
.seq { display: grid; gap: clamp(28px, 5vw, 72px); padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 8vw, 100px); }
.seq img { width: 100%; height: auto; }
.seq .solo.tall { width: min(62%, 720px); margin: 0 auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: start; }
.pair figure:nth-child(2) { margin-top: clamp(28px, 8vw, 120px); }
/* A cropped matte changes the file's aspect. Pairs that contain one share a frame
   so the two columns stay the same height. object-position stays centered. */
.pair.frame-port picture,
.pair.frame-land picture,
.pair.frame-square picture { display: block; }
.pair.frame-port img,
.pair.frame-land img,
.pair.frame-square img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}
.pair.frame-port img { aspect-ratio: 3 / 4; }
.pair.frame-land img { aspect-ratio: 3 / 2; }
.pair.frame-square img { aspect-ratio: 1 / 1; }
.seq figcaption { margin-top: 10px; color: var(--mut); }
.pn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 36px var(--pad); border-top: 1px solid var(--line); align-items: start; }
.pn a { display: grid; gap: 6px; font-weight: 300; font-size: clamp(18px, 2vw, 28px); line-height: 1.15; letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.pn a:last-child { text-align: right; }
.pn .pn-up { text-align: center; }
.pn .label { font-size: 12px; }
.pn a:hover { color: var(--mut); }

.essay { padding: 8px var(--pad) clamp(48px, 8vw, 100px); max-width: 860px; }
.essay p + p { margin-top: 1em; }
.essay strong, .essay b, .bio strong { font-weight: 500; }
.page-figure { padding: 0 var(--pad) 28px; }
.page-figure img { width: min(100%, 420px); height: auto; }
.partner-block { padding: 12px var(--pad) clamp(36px, 6vw, 72px); }
.bio { display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: 24px 32px; align-items: center; margin-top: 28px; }
.bio img { width: 100%; height: auto; object-fit: cover; }
.bio p { font-size: clamp(18px, 2vw, 28px); font-weight: 300; line-height: 1.3; }
.reta { padding: 0 var(--pad) clamp(56px, 8vw, 120px); }
.reta h2 { font-weight: 300; font-size: clamp(22px, 2vw, 32px); margin-bottom: 24px; }

.contact { padding: clamp(48px, 8vw, 110px) var(--pad) clamp(64px, 8vw, 120px); max-width: 760px; }
.contact h1 { font-weight: 300; font-size: clamp(44px, 7vw, 112px); letter-spacing: -0.03em; line-height: .95; margin-bottom: 36px; }
.form p { margin: 0 0 22px; }
.form label { display: grid; gap: 6px; font-size: 15px; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--char); border-radius: 0;
  background: transparent; padding: 12px 0; font-size: 16px; line-height: 1.4;
}
.form textarea { min-height: 160px; resize: vertical; }
.form .ead-newsletter-optin label { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.form .ead-newsletter-optin input { width: 20px; height: 20px; margin: 0; accent-color: var(--char); }
.form-submit {
  background: var(--char); color: #fff; border: 0; min-height: 44px; padding: 0 28px; cursor: pointer;
}
.form-submit:hover, .form-submit:focus-visible {
  background: var(--yellow); color: var(--ink);
}
/* Charcoal fill matches the footer, so this submit reads as bare text.
   On charcoal the primary action is brand yellow with ink text, same as the contact button hover. */
.ft .nl-row input[type="submit"] {
  -webkit-appearance: none; appearance: none; margin: 0;
  border: 0; border-radius: 0; background: var(--yellow); color: var(--ink);
  height: 44px; padding: 0 28px; line-height: 44px; cursor: pointer;
}
.ft .nl-row input[type="submit"]:hover { background: var(--paper); color: var(--ink); }
@media (hover: none) {
  .ft .nl-row input[type="submit"]:hover { background: var(--yellow); }
}
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-response-output:empty { display: none; }
.wpcf7-response-output { margin-top: 16px; }
form.sent .wpcf7-response-output { color: #0F5132; font-weight: 600; }
form.failed .wpcf7-response-output { color: #9B1C1C; font-weight: 700; }
span.missing { display: inline-block; background: var(--yellow); color: var(--ink); padding: 0 6px; font-weight: 500; }

.ft { padding: clamp(56px, 8vw, 110px) var(--pad) 28px; background: var(--char); color: #fff; }
.ft-logo { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-bottom: 28px; }
.ft-logo img { height: 34px; width: auto; }
.ft a:hover { color: var(--yellow); }
.ft :focus-visible { outline-color: var(--yellow); }
.ft-mail { display: block; max-width: 100%; font-weight: 300; font-size: clamp(28px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: anywhere; margin: 0 0 36px; }
.newsletter h2, .ft-col h2, .map-block h2 { font-family: var(--cond); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.newsletter h2 { margin-bottom: 22px; }
.newsletter small { display: block; max-width: 36em; font-size: 16px; font-weight: 300; color: #fff; margin-bottom: 22px; }
.nl-note {
  max-width: 42em; margin: 12px 0 0;
  font-family: var(--sans); font-weight: 300; font-size: 13px; line-height: 1.45;
  letter-spacing: 0; text-transform: none; color: var(--mut);
}
.nl-note a { text-decoration: underline; text-underline-offset: .18em; }
.ft .nl-note { color: #d2d2d2; }
.form .ead-newsletter-optin { margin-bottom: 0; }
.form .nl-note { margin: 4px 0 22px; }
.nl-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nl-row input[type="email"] {
  min-height: 44px; min-width: min(100%, 280px); flex: 1 1 220px; border: 0; border-radius: 0;
  background: #fff; color: var(--ink); padding: 0 12px; font-size: 16px;
}
.nl-row input[type="email"]::placeholder { color: var(--char); opacity: 1; }
.newsletter-status:empty { display: none; }
.newsletter-status { margin-top: 12px; font-weight: 600; }
.newsletter-status.is-success { color: var(--yellow); }
.newsletter-status.is-error { color: #fff; }
.form .contact-newsletter-status.is-success { color: #0F5132; }
.form .contact-newsletter-status.is-error { color: #9B1C1C; font-weight: 700; }
.ft-cols { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 36px 32px; margin-top: clamp(40px, 6vw, 72px); }
.ft-col p { font-weight: 300; margin: 0 0 4px; color: #fff; }
.ft-col .sub { color: #f3f3f3; }
.ig-panel { background: #fff; color: var(--ink); padding: 16px; }
.ig-panel h2 { color: var(--ink); }
.ig-panel a { border-bottom: 1px solid var(--char); }
.ead-instagram-feed behold-widget { display: block; width: 100%; max-width: 100%; margin: 0 0 12px; }
.map-block { margin-top: clamp(36px, 5vw, 64px); }
.map-block iframe { width: 100%; max-width: 100%; height: 320px; border: 0; background: #ddd; }
.ft-address { margin: 16px 0 0; font-style: normal; line-height: 1.6; color: #fff; }
.ft-address a { text-decoration: underline; text-underline-offset: .18em; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: clamp(48px, 7vw, 88px); padding-top: 18px; border-top: 1px solid #6B6B6B; color: #fff; font-size: 12px; }
.ft-legal a { text-decoration: underline; text-underline-offset: .18em; }

#whatsapp {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; width: 56px; height: 56px; padding: 0; border-radius: 50%;
  background: #111; color: #fff; align-items: center; justify-content: center;
}
#whatsapp svg { width: 28px; height: 28px; }
.menu-open #whatsapp { display: none !important; }
article.not-found { padding: clamp(72px, 12vw, 160px) var(--pad); max-width: 760px; }
article.not-found h1 { font-weight: 300; font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.03em; line-height: 1; }
article.not-found p { margin-top: 24px; font-weight: 300; font-size: clamp(18px, 2vw, 24px); }
article.not-found a { border-bottom: 1px solid var(--char); }

@media (max-width: 1000px) {
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ig-panel { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --hd: 60px; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--hd) 0 0 0; z-index: 70; display: none; flex-direction: column; align-items: flex-start;
    gap: 4px; height: auto; padding: 28px var(--pad) 96px; background: var(--paper); color: var(--ink); overflow-y: auto;
  }
  .menu-open .nav { display: flex; }
  .menu-open { overflow: hidden; }
  .menu-open .hd { background: #fff; color: var(--ink); }
  .menu-open .logo .on-light { display: block; }
  .menu-open .logo .on-dark { display: none; }
  .menu-open .menu-btn span:not(.sr) { background: var(--ink); }
  .nav > a, .dd > a { font-family: var(--sans); font-weight: 300; font-size: 32px; letter-spacing: -0.01em; text-transform: none; }
  .dd { display: block; height: auto; width: 100%; }
  .dd ul { position: static; opacity: 1; visibility: visible; box-shadow: none; padding: 4px 0 12px; min-width: 0; }
  .dd li a { font-size: 17px; padding: 6px 0; }
  .hero { height: 78svh; }
  .studio, .partner-grid, .bio { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .work.l, .work.m, .work.s, .work.h, .work.h:nth-child(even), .work.off { grid-column: 1 / -1; margin-top: 0; }
  .work.m .ph img, .work.s .ph img { aspect-ratio: 4 / 3; }
  /* One scroller for the home chips and the /portfolio/ links.
     The scrollbar stays hidden here; the hint owns the edge bleed. */
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; height: 0; }
  .filters button, .filters a { white-space: nowrap; }
  .filters-hint {
    display: block;
    position: relative;
    width: calc(100% + var(--pad));
    margin-right: calc(var(--pad) * -1);
    min-width: 0;
  }
  .filters-hint .filters { width: 100%; margin-right: 0; }
  .lead img { height: 64svh; min-height: 280px; }
  .seq .solo.tall { width: 100%; }
  .pair { grid-template-columns: 1fr; }
  .pair figure:nth-child(2) { margin-top: 0; }
  .pn { grid-template-columns: 1fr 1fr; }
  .pn .pn-up { grid-column: 1 / -1; grid-row: 2; text-align: left; padding-top: 16px; border-top: 1px solid var(--line); }
  .pn a:last-child { text-align: right; }
  #whatsapp { display: flex; }
  .ft { padding-bottom: 88px; }
  .hero-pause {
    right: 12px; bottom: 16px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0;
    display: grid; place-items: center;
  }
  .hero-pause .icon-pause,
  .hero-pause .icon-play { display: block; }
  .hero-pause-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .slide figcaption { right: 68px; }
}
@media (max-width: 520px) {
  .ft-cols, .diptych { grid-template-columns: 1fr; }
  .g-recaptcha { transform: scale(.88); transform-origin: left top; }
  .ft .nl-row input[type="submit"] { flex: 1 0 100%; }
}
@media (max-width: 820px), (pointer: coarse) {
  .filters button, .filters a, .ft-links a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* 360–430px: a little horizontal padding keeps the next category
   cut off at the right edge instead of ending in the gap between chips. */
@media (min-width: 360px) and (max-width: 430px) {
  .filters-hint .filters > button,
  .filters-hint .filters > a { padding-left: 8px; padding-right: 8px; }
}
/* Desktop: the hint wrapper is not a box, so the home bar and the
   portfolio heading keep their layout. On the scrolling row it holds
   edge fades. WebKit does not mask overflow.
   The larger Obras heading uses the free space beside the chips. An 8px
   minimum column-gap keeps OBRAS off the first chip; space-between still
   pushes the chips right when there is room. The top margin returns the
   extra line box so the bar stays the same height. */
@media (min-width: 821px) {
  .filters-hint { display: contents; }
  .obras .bar { column-gap: 8px; }
  .obras .bar > #t-obras { margin-top: calc(20px - 1.15em); }
}
/* 821–980px: Todas makes the index row wider than the old list. 18px between
   chips and slightly tighter tracking keep one line for Barlow Condensed and
   the size-adjusted fallback. Home is not in .sec-head. */
@media (min-width: 821px) and (max-width: 980px) {
  .sec-head .filters { column-gap: 18px; }
  .sec-head .filters a { letter-spacing: .1em; }
}
@media (max-width: 820px) {
  .filters-hint::before,
  .filters-hint::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    width: 2.25rem;
    pointer-events: none;
  }
  .filters-hint.is-more-end::after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--paper));
  }
  .filters-hint.is-more-start::before {
    left: 0;
    background: linear-gradient(to left, transparent, var(--paper));
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slide { visibility: hidden; }
  .slide:first-child { opacity: 1; visibility: visible; }
  .hero-pause { display: none; }
}

/* Estudio page. Scoped so the homepage studio band stays as it is. */
.est-open {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1.22fr;
  align-items: stretch;
  min-height: calc(100svh - var(--hd));
}
.est-open-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px) var(--pad);
}
.est-open h1 {
  font-weight: 300;
  font-size: clamp(64px, 8vw, 112px);
  letter-spacing: -0.04em;
  line-height: .88;
}
.est-portrait { margin: 0; }
.est-portrait img {
  width: 100%;
  max-height: 42vh;
  object-fit: cover;
  object-position: center 22%;
}
.est-open .est-lead { font-size: clamp(20px, 1.7vw, 28px); line-height: 1.35; max-width: 22em; }
.est-open-photo { position: relative; margin: 0; background: #e6e6e6; min-height: calc(100svh - var(--hd)); }
.est-open-photo img {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - var(--hd));
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}
.est-open-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--char);
  color: #fff;
}
.est-open-photo figcaption::before {
  content: "";
  width: 12px;
  height: 10px;
  margin-top: 3px;
  background: var(--yellow);
  flex: none;
}
.est-open-photo figcaption a {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
}
.est-open-photo figcaption a:hover { color: var(--yellow); }
.est-partners { padding: clamp(64px, 8vw, 120px) var(--pad) clamp(36px, 5vw, 64px); }
.est-partners h2 { margin-bottom: clamp(22px, 3vw, 36px); }
.partner-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
}
.partner-pair article { min-width: 0; }
.partner-pair article:last-child { margin-top: clamp(56px, 9vw, 140px); }
.partner-pair img { width: 100%; height: auto; }
.partner-pair p { margin-top: 14px; font-weight: 300; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.3; overflow-wrap: break-word; }
.partner-pair strong { font-weight: 500; }
.est-actividad { padding: 0 var(--pad) clamp(48px, 6vw, 80px); }
.est-act-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.62fr) 1.7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: clamp(36px, 5vw, 64px);
}
.est-practice { position: sticky; top: calc(var(--hd) + 28px); }
.est-practice h2 {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 22px;
}
.practice { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.practice li { padding: 14px 0; border-top: 1px solid var(--line); }
.practice b {
  display: block;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.practice span { display: block; margin-top: 4px; font-weight: 300; color: var(--mut); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline .year {
  margin: 0;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--ink);
}
.timeline .year::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 8px;
  background: var(--yellow);
}
.timeline .year:empty::before { background: var(--char); }
.tl-copy p { font-weight: 300; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; }
.timeline li.has-photo { grid-template-columns: 72px minmax(0, 0.9fr) minmax(200px, 1.15fr); }
.tl-photos { display: grid; grid-template-columns: 1fr 0.84fr; gap: 12px; align-items: start; }
.tl-photos .tl-photo:last-child { margin-top: 18%; }
.tl-photo { display: block; }
.tl-photo img { width: 100%; height: auto; filter: grayscale(1); transition: filter .5s; }
.tl-photo:hover img, .tl-photo:focus-visible img { filter: none; }
.tl-photo figcaption { margin-top: 8px; color: var(--mut); }
.est-close {
  margin: clamp(12px, 2vw, 20px) 0 0;
  padding: clamp(36px, 5vw, 72px) 0 0;
  border-top: 1px solid var(--line);
}
.est-close p {
  font-weight: 300;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.25;
  max-width: 18em;
}
.est-close p::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 10px;
  margin-right: 12px;
  background: var(--yellow);
  vertical-align: 4px;
}
.reta-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
}
.reta-mosaic img { width: 100%; height: auto; }
.reta-mosaic .rm-a { grid-column: 1 / 3; }
.reta-mosaic .rm-b { grid-column: 3; margin-top: 28%; }
.reta-mosaic .rm-c { grid-column: 1; }
.reta-mosaic .rm-d { grid-column: 2 / 4; }
.reta-mosaic .rm-e { grid-column: 1 / -1; max-width: 86%; }
.reta { scroll-margin-top: calc(var(--hd) + 12px); }

@media (max-width: 820px) {
  .est-open { grid-template-columns: 1fr; min-height: 0; }
  .est-open-photo { order: -1; min-height: 0; }
  .est-open-photo img { height: 52svh; min-height: 260px; }
  .est-portrait img { max-height: 36vh; object-position: center 16%; }
  .partner-pair p { font-size: 14px; }
  .est-act-grid { grid-template-columns: 1fr; }
  .est-practice { position: static; }
  .partner-pair { grid-template-columns: 1fr 1fr; }
  .partner-pair article:last-child { margin-top: 28px; }
  .timeline li, .timeline li.has-photo { grid-template-columns: 56px minmax(0, 1fr); }
  .tl-photos, .timeline .tl-photo { grid-column: 1 / -1; }
  .tl-photos { grid-template-columns: 1fr; }
  .tl-photos .tl-photo:last-child { margin-top: 0; }
  .reta-mosaic { grid-template-columns: 1fr 1fr; }
  .reta-mosaic .rm-a, .reta-mosaic .rm-b, .reta-mosaic .rm-c, .reta-mosaic .rm-d, .reta-mosaic .rm-e {
    grid-column: auto;
    margin-top: 0;
    max-width: none;
  }
  .reta-mosaic .rm-a, .reta-mosaic .rm-e { grid-column: 1 / -1; }
}

/* Phones have no hover, so these photos would stay grey. With JS they
   turn to color in the middle band (same filter as :hover, same timing).
   Without JS they stay in color. Mouse :hover above is unchanged.
   prefers-reduced-motion already drops the filter transition.
   no-transition is set before the stylesheet and lifted after two frames
   so the first paint does not fade. */
html.no-transition .ph img,
html.no-transition .diptych img,
html.no-transition .tl-photo img {
  transition: none !important;
}
@media (hover: none) {
  .diptych img { transition: filter .6s; }

  html:not(.js) .ph img,
  html:not(.js) .diptych img,
  html:not(.js) .tl-photo img {
    filter: none;
  }

  .work a:hover .ph img,
  .diptych a:hover img,
  .tl-photo:hover img {
    filter: grayscale(1);
  }

  .work a:hover .ph img { transform: none; }

  html:not(.js) .work a:hover .ph img,
  html:not(.js) .diptych a:hover img,
  html:not(.js) .tl-photo:hover img,
  html.js .ph img.is-inview,
  html.js .diptych img.is-inview,
  html.js .tl-photo img.is-inview {
    filter: none;
  }
}
