@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --yellow: #ffe500;
  --yellow-deep: #f4d500;
  --ink: #353334;
  --black: #151515;
  --gray: #777477;
  --mist: #f1f1ee;
  --white: #fff;
  --line: rgba(53, 51, 52, .16);
  --display: 'Futura Std', Futura, 'Century Gothic', 'Trebuchet MS', sans-serif;
  --body: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 72px)); margin: 0 auto; }

.site-header { width: 100%; margin: 0; min-height: 92px; padding: 0 max(24px, calc((100% - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 32px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: min-height .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { min-height: 70px; border-bottom-color: var(--line); box-shadow: 0 10px 28px rgba(20,20,20,.07); }
.brand img { width: 214px; height: auto; display: block; transition: width .25s ease; }
.site-header.is-scrolled .brand img { width: 174px; }
.main-nav { display: flex; align-items: center; gap: 27px; font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.main-nav a { transition: opacity .2s ease, transform .2s ease; }
.main-nav a:hover { opacity: .62; transform: translateY(-1px); }
.nav-cta { background: var(--yellow); padding: 13px 17px; }
.menu-toggle { display: none; border: 0; background: var(--yellow); padding: 12px 14px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .72rem; }
section[id] { scroll-margin-top: 92px; }

@supports (backdrop-filter: blur(12px)) {
  .site-header { backdrop-filter: blur(12px); }
}

.hero { min-height: 660px; display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: 64px; padding: 68px 0 92px; }
.hero-copy { padding-left: clamp(0px, 4vw, 52px); }
.eyebrow, .section-kicker { font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); display: inline-block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(3.5rem, 6vw, 6.35rem); line-height: .95; max-width: 640px; }
h2 { font-size: clamp(2.4rem, 4.2vw, 4.55rem); line-height: .99; }
h3 { font-size: 1.4rem; line-height: 1; }
.hero-lead { max-width: 520px; font-size: 1.07rem; line-height: 1.7; margin: 31px 0 0; color: #656164; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 27px; }
.button { display: inline-flex; align-items: center; gap: 18px; min-height: 50px; padding: 0 22px; font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--ink); }
.button-dark { color: var(--white); background: var(--black); }
.button-yellow { color: var(--black); background: var(--yellow); }
.text-link { font-family: var(--display); font-size: .8rem; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.hero-art { min-height: 480px; position: relative; background: var(--yellow); overflow: hidden; }
.animated-isologo { position: absolute; z-index: 1; overflow: visible; mix-blend-mode: multiply; fill: var(--ink); }
.hero-isologo { width: 78%; height: 68%; left: 11%; top: 10%; }
.isologo-piece { transform-box: fill-box; transform-origin: center; }
.isologo-top-left { --part-x: -64px; --part-y: -42px; --part-turn: -14deg; --part-delay: 0s; }
.isologo-top-right { --part-x: 64px; --part-y: -42px; --part-turn: 14deg; --part-delay: .12s; }
.isologo-bottom-left { --part-x: -64px; --part-y: 42px; --part-turn: 14deg; --part-delay: .24s; }
.isologo-bottom-right { --part-x: 64px; --part-y: 42px; --part-turn: -14deg; --part-delay: .36s; }
.isologo-dot { fill: #fff200; --part-delay: .48s; }
.isologo-art.has-motion .isologo-piece { animation: isologo-assemble 7.2s cubic-bezier(.45, 0, .2, 1) var(--part-delay) infinite both; }
.isologo-art.has-motion .isologo-dot { animation-name: isologo-dot-return; }
.isologo-art:is(.is-motion-paused, .is-out-of-view, .is-page-hidden) .isologo-piece { animation-play-state: paused; }
.hero-stamp { position: absolute; z-index: 3; bottom: 24px; left: 27px; font-family: var(--display); font-size: .75rem; font-weight: 700; line-height: 1.27; letter-spacing: .13em; animation: stamp-in .7s ease-out 1.1s both; }
.motion-toggle { position: absolute; z-index: 3; right: 17px; bottom: 17px; width: 44px; height: 44px; padding: 13px; border: 1px solid rgba(53,51,52,.3); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: rgba(255,255,255,.25); }
.motion-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.motion-toggle svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.motion-play-icon, .is-motion-paused .motion-pause-icon { display: none; }
.is-motion-paused .motion-play-icon { display: block; }

/* Hold the complete mark before opening, then let each piece settle back in order. */
@keyframes isologo-assemble {
  0%, 16%, 78%, 100% { transform: translate(0, 0) rotate(0); }
  38%, 46% { transform: translate(var(--part-x), var(--part-y)) rotate(var(--part-turn)); }
  69% { transform: translate(calc(var(--part-x) * -.065), calc(var(--part-y) * -.065)) rotate(calc(var(--part-turn) * -.1)); }
}

@keyframes isologo-dot-return {
  0%, 16%, 80%, 100% { transform: translate(0, 0) scale(1); }
  38%, 46% { transform: translate(78px, -24px) scale(.82); }
  71% { transform: translate(-6px, 2px) scale(1.08); }
}

@keyframes stamp-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro { border-top: 1px solid var(--line); padding: 95px 0 130px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; margin-top: 30px; }
.intro-grid h2 { max-width: 610px; }
.intro-grid p, .section-heading > p { color: var(--gray); line-height: 1.8; font-size: .98rem; max-width: 475px; margin: 0; }

.services { padding: 0 0 138px; }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 45px; }
.section-heading h2 { max-width: 640px; margin-top: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 385px; padding: 25px 24px 27px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card-yellow { background: var(--yellow); }
.service-card-dark { background: var(--black); color: var(--white); }
.service-card-light { background: var(--mist); }
.service-card-outline { background: var(--white); border: 1px solid var(--ink); }
.service-card-occasional { background: var(--yellow); }
.service-number { font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; }
.service-icon { height: 108px; display: flex; align-items: center; justify-content: center; margin: 11px 0 13px; font-family: var(--display); font-weight: 700; }
.icon-window { width: 84px; height: 88px; margin: 17px auto 27px; border: 6px solid var(--ink); display: flex; flex-wrap: wrap; gap: 0; }
.icon-window span { display: block; width: 50%; height: 50%; border: 2px solid var(--ink); }
.icon-type { font-size: 5.1rem; letter-spacing: -.2em; padding-right: 18px; }
.icon-sign { font-size: 5.2rem; }
.icon-grid { width: 88px; height: 88px; margin: 17px auto 27px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.icon-grid i { display: block; border: 5px solid var(--ink); }
.icon-campaign { width: 88px; height: 88px; margin: 17px auto 27px; border: 5px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 3.8rem; line-height: 1; }
.service-card h3 { margin-top: auto; }
.service-card p { font-size: .82rem; line-height: 1.6; min-height: 78px; margin: 13px 0 20px; color: inherit; opacity: .74; }
.service-card a { font-family: var(--display); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; background: var(--black); color: var(--white); padding: 95px 80px 100px; width: min(1280px, calc(100% - 48px)); }
.process-mark { min-height: 410px; background: var(--yellow); position: relative; overflow: hidden; }
.process-isologo { width: 68%; height: 68%; left: 16%; top: 10%; }
.process-content h2 { max-width: 620px; margin: 20px 0 55px; }
.process-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 38px; }
.process-step { display: grid; grid-template-columns: 38px 1fr; gap: 15px; border-top: 1px solid rgba(255,255,255,.28); padding-top: 16px; }
.process-step > span { color: var(--yellow); font-family: var(--display); font-weight: 700; font-size: .72rem; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { color: #aaa7a8; font-size: .84rem; line-height: 1.6; margin: 9px 0 0; }

.work-showcase { padding: 145px 0 140px; }
.work-heading { margin-bottom: 35px; }
.work-toolbar { min-height: 56px; margin-bottom: 22px; padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.work-filters button { border: 0; padding: 10px 13px; color: var(--ink); background: transparent; font-family: var(--display); font-size: .69rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: color .2s ease, background .2s ease; }
.work-filters button:hover, .work-filters button[aria-pressed="true"] { color: var(--black); background: var(--yellow); }
.work-filters button:focus-visible, .work-card-button:focus-visible, .project-dialog-close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.work-count { margin: 0; color: var(--gray); font-size: .72rem; white-space: nowrap; }
.work-empty { margin: 0 0 22px; padding: 28px; border: 1px dashed var(--line); background: var(--mist); font-family: var(--display); font-size: clamp(1rem, 2vw, 1.35rem); }
.work-empty[hidden] { display: none; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 260px; gap: 14px; }
.work-card { min-width: 0; animation: work-card-in .35s ease both; }
.work-card[hidden] { display: none; }
.work-card-wide { grid-column: span 2; }
.work-card-tall { grid-row: span 2; }
.work-card-button { position: relative; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; color: var(--white); background: var(--black); text-align: left; cursor: pointer; }
.work-card-button::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 38%, rgba(0,0,0,.78) 100%); transition: background .3s ease; }
.work-card-button img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s cubic-bezier(.2,.75,.2,1), filter .35s ease; }
.work-card-button:hover img { transform: scale(1.045); filter: saturate(1.08); }
.work-card-button:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, transparent 34%, rgba(0,0,0,.88) 100%); }
.work-number, .work-category, .work-card-copy, .work-open { position: absolute; z-index: 2; }
.work-number { top: 18px; left: 18px; font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.work-category { top: 14px; right: 14px; padding: 7px 9px; color: var(--black); background: var(--yellow); font-family: var(--display); font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.work-card-copy { left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 6px; transition: right .25s ease; }
.work-card-copy strong { font-family: var(--display); font-size: clamp(1.35rem, 2.25vw, 2.65rem); line-height: .96; letter-spacing: -.035em; }
.work-card-copy small { font-size: .72rem; letter-spacing: .04em; }
.work-open { right: 18px; bottom: 20px; font-family: var(--display); font-size: .63rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.work-card-button:hover .work-open { opacity: 1; transform: translateY(0); }
.work-card-button:hover .work-card-copy { right: 130px; }

.project-dialog { width: min(1120px, calc(100% - 42px)); max-height: calc(100dvh - 42px); padding: 0; border: 0; color: var(--ink); background: var(--white); overflow: auto; }
.project-dialog::backdrop { background: rgba(15,15,15,.82); backdrop-filter: blur(5px); }
.project-dialog-inner { position: relative; padding: 72px 52px 52px; }
.project-dialog-close { position: absolute; top: 20px; right: 22px; z-index: 2; padding: 10px 12px; border: 1px solid var(--ink); color: var(--ink); background: var(--white); font-family: var(--display); font-size: .67rem; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.project-dialog-header { display: grid; grid-template-columns: .32fr .68fr; gap: 12px 40px; align-items: end; margin-bottom: 34px; }
.project-dialog-category { grid-column: 1; align-self: start; margin: 8px 0 0; color: var(--gray); font-family: var(--display); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-dialog-header h2 { grid-column: 2; font-size: clamp(2.5rem, 5vw, 5rem); }
.project-dialog-header > p:last-child { grid-column: 2; max-width: 660px; margin: 8px 0 0; color: var(--gray); font-size: .96rem; line-height: 1.7; }
.project-dialog-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-dialog-gallery figure { margin: 0; background: var(--mist); }
.project-dialog-gallery figure:first-child { grid-column: 1 / -1; }
.project-dialog-gallery img { width: 100%; height: 100%; max-height: 680px; display: block; object-fit: cover; }
.project-dialog-gallery figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.project-dialog-gallery figcaption { padding: 9px 11px; color: var(--gray); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.project-dialog-cta { margin-top: 36px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--black); color: var(--white); }
.project-dialog-cta p { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; }

/* Propuesta de catálogo inspirada en el recorrido de XUL, con identidad Yo Sumo. */
.work-showcase { padding: 64px 0 82px; }
.work-heading { margin-bottom: 28px; }
.work-search { max-width: 620px; margin: 0 auto 20px; padding: 18px 20px; background: #faf7e9; border: 1px solid #e8e3cf; }
.work-search label { display: block; margin-bottom: 9px; font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.work-search-row { display: flex; align-items: center; gap: 10px; padding: 0 13px; background: white; border: 1px solid #d1d0c7; }
.work-search-row span { font-size: 1.5rem; line-height: 1; }
.work-search input { width: 100%; min-height: 48px; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; }
.work-search-row:focus-within { outline: 2px solid #8d7c00; outline-offset: 2px; }
.work-filters button { background: #f2f1eb; border: 1px solid #e5e3db; }
.work-grid { grid-auto-flow: row; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 285px; }
.work-card, .work-card-wide, .work-card-tall { grid-column: auto; grid-row: auto; }
.work-more-wrap { margin-top: 26px; text-align: center; }
.work-more { min-height: 52px; padding: 0 30px; background: var(--yellow); color: var(--black); border: 0; font-weight: 800; cursor: pointer; }
.work-more[hidden] { display: none; }
.project-dialog-gallery { display: block; }
.project-dialog-gallery .project-gallery-main { width: 100%; max-height: 62vh; aspect-ratio: 4/3; object-fit: contain; background: #f2f1ed; }
.project-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.project-gallery-thumbs button { flex: 0 0 72px; height: 58px; padding: 0; border: 2px solid transparent; background: #eee; cursor: pointer; }
.project-gallery-thumbs button[aria-pressed="true"] { border-color: #b89f00; }
.project-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 650px) {
  .work-showcase { padding: 42px 0 56px; }
  .work-heading h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .work-search { padding: 14px; }
  .work-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .work-filters button { flex: 0 0 auto; min-height: 42px; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 230px; gap: 9px; }
  .work-card, .work-card-wide, .work-card-tall { min-height: 0; }
  .work-card-copy { left: 10px; right: 10px; bottom: 12px; }
  .work-card-copy strong { font-size: 1.2rem; }
  .work-card-copy small { font-size: .65rem; }
  .work-number { display: none; }
  .project-dialog-gallery .project-gallery-main { max-height: 55vh; }
}
body.has-open-dialog { overflow: hidden; }

@keyframes work-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact { padding-bottom: 125px; }
.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--yellow); padding: 75px 80px; gap: 70px; }
.contact-copy h2 { max-width: 620px; margin: 18px 0 25px; }
.contact-copy p { max-width: 490px; line-height: 1.75; color: rgba(53,51,52,.72); margin: 0 0 32px; }
.contact-details { align-self: end; border-top: 1px solid rgba(53,51,52,.35); }
.contact-details > div { border-bottom: 1px solid rgba(53,51,52,.35); padding: 18px 0; display: grid; grid-template-columns: 120px 1fr; gap: 15px; }
.contact-details span { font-family: var(--display); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-details a, .contact-details p { margin: 0; font-weight: 700; font-size: .93rem; }

.site-footer { border-top: 1px solid var(--line); min-height: 330px; padding: 68px 0 44px; display: grid; justify-items: center; align-content: space-between; gap: 54px; }
.footer-brand { width: min(520px, 58vw); }
.footer-brand img { width: 100%; height: auto; display: block; }
.footer-meta { width: 100%; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-footer p { color: var(--gray); font-size: .78rem; margin: 0; }
.footer-note { font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .65rem !important; }

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .section-shell { width: min(100% - 44px, 700px); }
  .site-header { min-height: 75px; padding: 0 22px; }
  .site-header.is-scrolled { min-height: 66px; }
  .site-header.is-scrolled .brand img { width: 164px; }
  .main-nav { gap: 16px; font-size: .68rem; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 42px; }
  .hero-art { min-height: 420px; }
  .intro-grid, .contact-panel { grid-template-columns: 1fr; gap: 35px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process { width: calc(100% - 44px); grid-template-columns: 1fr; padding: 48px 38px 60px; gap: 50px; }
  .process-mark { min-height: 300px; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 275px; }
  .work-card-wide { grid-column: span 2; }
  .work-card-tall { grid-row: span 1; }
  .contact-panel { padding: 52px 38px; }
}

@media (max-width: 650px) {
  .section-shell { width: calc(100% - 36px); }
  .site-header { min-height: 75px; padding: 0 18px; }
  .site-header.is-scrolled { min-height: 60px; }
  .brand img { width: 175px; }
  .site-header.is-scrolled .brand img { width: 148px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; z-index: 21; top: 100%; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); color: var(--white); padding: 8px; box-shadow: 0 16px 30px rgba(20,20,20,.2); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .nav-cta { background: var(--yellow); color: var(--black); }
  .hero { min-height: auto; padding: 45px 0 75px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-lead { font-size: .96rem; }
  .hero-art { min-height: 320px; }
  .hero-isologo { width: 74%; height: 66%; left: 13%; top: 8%; }
  .hero-stamp { left: 22px; bottom: 18px; font-size: .65rem; }
  .intro { padding: 75px 0 95px; }
  .intro-grid { gap: 26px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .services { padding-bottom: 95px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .process { width: calc(100% - 36px); padding: 36px 24px 48px; }
  .process-isologo { height: 62%; }
  .process-list { grid-template-columns: 1fr; gap: 24px; }
  .work-showcase { padding: 95px 0; }
  .work-toolbar { align-items: flex-start; }
  .work-filters { gap: 3px; }
  .work-filters button { padding: 9px 10px; font-size: .62rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card-wide, .work-card-tall { grid-column: auto; grid-row: auto; min-height: 290px; }
  .work-open { display: none; }
  .work-card-button:hover .work-card-copy { right: 18px; }
  .project-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .project-dialog-inner { padding: 68px 16px 24px; }
  .project-dialog-header { grid-template-columns: 1fr; gap: 12px; }
  .project-dialog-category, .project-dialog-header h2, .project-dialog-header > p:last-child { grid-column: 1; }
  .project-dialog-header h2 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .project-dialog-gallery { grid-template-columns: 1fr; }
  .project-dialog-gallery figure:first-child { grid-column: auto; }
  .project-dialog-gallery img, .project-dialog-gallery figure:not(:first-child) img { aspect-ratio: auto; max-height: none; }
  .project-dialog-cta { padding: 24px 20px; align-items: flex-start; flex-direction: column; }
  .contact { padding-bottom: 80px; }
  .contact-panel { padding: 40px 24px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { min-height: auto; padding: 52px 0 38px; gap: 40px; }
  .footer-brand { width: min(280px, 82vw); }
  .footer-meta { padding-top: 18px; flex-direction: column; justify-content: center; gap: 10px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .isologo-art .isologo-piece { animation: none !important; transform: none; }
  .motion-toggle { display: none; }
}
@media (max-width: 650px) {
  .work-showcase { padding: 42px 0 56px; }
  .work-filters { flex-wrap: nowrap; overflow-x: auto; }
  .work-filters button { flex: 0 0 auto; min-height: 42px; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 230px; gap: 9px; }
  .work-card, .work-card-wide, .work-card-tall { min-height: 0; }
  .work-card-copy { left: 10px; right: 10px; bottom: 12px; }
  .work-card-copy strong { font-size: 1.2rem; }
}

@media (min-width: 651px) and (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; z-index: 21; top: 100%; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); color: var(--white); padding: 8px; box-shadow: 0 16px 30px rgba(20,20,20,.2); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .nav-cta { background: var(--yellow); color: var(--black); }
}
