:root {
  color-scheme: dark;
  --bg: #141413;
  --surface: #201e1c;
  --text: #f8f4ed;
  --muted: #c4bcb2;
  --rule: #48423b;
  --accent: #f1a87d;
  --apricot: #fbc7a6;
  --on-accent: #211813;
  --panel: #191a17;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(16px, 5.5vw, 105px);
  --section-space: clamp(68px, 9vw, 136px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1 em, h2 em { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.hero { position: relative; isolation: isolate; height: 100vh; height: 100svh; min-height: 520px; display: grid; align-items: center; color: #fffaf0; overflow: clip; background: var(--panel); }
.hero-media, .hero-shade, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media > * { object-fit: cover; object-position: 66% center; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #191a16d9, #191a1687 32%, #191a162b 56%, transparent 80%),
              linear-gradient(180deg, #151612b8, transparent 28%, transparent 69%, #151612bf);
}
.hero-canvas { opacity: 0; }
.hero.is-drawn .hero-canvas { opacity: 1; }
.site-header {
  position: absolute;
  z-index: 2;
  inset: 0 var(--gutter) auto;
  min-height: 83px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #fffaf04a;
}
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 8px; min-height: 44px; }
.brand-symbol { object-fit: contain; }
.brand-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -.065em; line-height: .94; }
.brand-name > span { display: block; margin-top: 5px; font: 600 .625rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.main-nav { display: flex; gap: clamp(17px, 2.8vw, 45px); font-size: .875rem; }
.main-nav a { display: flex; align-items: center; min-height: 44px; }
.header-contact { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; border: 1px solid #fffaf08a; font-size: .875rem; }
.mobile-nav { display: none; }
.hero-content { width: 100%; padding: 110px var(--gutter) 104px; }
.hero-copy h1 { margin: 18px 0 23px; font-size: clamp(4.4rem, 8.4vw, 8.6rem); line-height: .93; letter-spacing: -.073em; }
.hero-copy em { color: #ffe0c8; }
.hero-description { font-size: clamp(1rem, 1.42vw, 1.28rem); }
.button { display: inline-flex; align-items: center; justify-content: center; padding-block: 13px; min-height: 48px; border: 1px solid transparent; font-size: .875rem; font-weight: 700; transition: transform .14s var(--ease-out), background-color .18s, color .18s; }
.button, .header-contact { position: relative; justify-content: center; text-align: center; padding-inline: 39px; }
.button .icon, .header-contact .icon { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; }
:is(.header-contact, .footer-button) { gap: 8px; padding-inline: 26px; }
:is(.header-contact, .footer-button) .icon { position: static; translate: none; }
.button-light .icon { inset-inline: auto 14px; }
.button-light { background: var(--text); color: var(--on-accent); min-width: 132px; }
.hero-copy .button { margin-top: 24px; }
.hero-copy { opacity: var(--copy-opacity, 1); }
.hero.is-flight .hero-copy:not(:focus-within) { visibility: hidden; }
.hero-copy:focus-within { opacity: 1; }
.hero-bottom { position: absolute; inset: auto var(--gutter) 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.hero:not(.is-animated) :is(.scroll-cue, .hero-progress) { display: none; }
.hero:not(.is-flight) .scroll-cue { visibility: hidden; }
.scroll-cue { display: flex; align-items: center; justify-self: start; min-height: 44px; gap: 9px; font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.scroll-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #fffaf08f; border-radius: 50%; }
.scroll-icon .icon { width: 14px; height: 14px; }
.hero-caption { grid-column: 2; text-align: right; font-size: .75rem; text-shadow: 0 1px 6px #191a16; }
.hero-progress { grid-column: 1 / -1; height: 1px; background: #fffaf06b; }
.hero-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--apricot); }

.section { max-width: 1660px; padding-inline: var(--gutter); margin-inline: auto; }
.work, .services, .questions { padding-block: var(--section-space); }

.section h2 { font-size: clamp(2.6rem, 5.2vw, 5.85rem); line-height: .98; letter-spacing: -.065em; }
.section h2 em { color: var(--accent); }
.work-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .37fr); align-items: end; gap: 24px; margin-bottom: clamp(24px, 4vw, 50px); }
.work-heading h2 em { display: block; }
.work-heading > p { max-width: 32ch; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.media-tile { position: relative; display: block; isolation: isolate; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.project-image {
  --card-inset: clamp(14px, 1.8vw, 26px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  color: #fffaf0;
  background: var(--surface);
  transition: transform .24s var(--ease-out);
}
.project-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 30%, #100e0d65 57%, #100e0df5 100%); }
.project-image[data-gallery='clinica'] img { object-position: 64% center; }
.project-image:focus-visible { z-index: 1; outline-color: var(--accent); }
.project-grid:has(.project-image:focus-visible) .project-image:not(:focus-visible) img { opacity: .56; filter: blur(2px); }
.media-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .28s var(--ease-out); }
.project-image img { transition: opacity .24s var(--ease-out), filter .24s var(--ease-out); }
.project-image[data-gallery='praia'] img { object-position: 50% 53%; }
.project-image[data-gallery="ks"] img { object-position: 50% 48%; }
.project-label { position: absolute; z-index: 1; right: var(--card-inset); bottom: var(--card-inset); left: var(--card-inset); display: grid; gap: 5px; }
.project-label > span { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #f7dccc; }
.project-label strong { font-size: clamp(1.3rem, 2.4vw, 2.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; }
.media-icon { position: absolute; bottom: 14px; right: 14px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--text); background: #211e1a; border-radius: 50%; transition: background-color .18s, color .18s, transform .14s var(--ease-out); }
.media-icon .icon { width: 19px; height: 19px; }
.work-footer { display: flex; justify-content: end; margin-top: 28px; }
.button-outline { border-color: var(--rule); }

.about-band { background: var(--surface); }
.about, .method {
  --split-media: clamp(50%, calc(100vw - 550px), 57%);
  --split-edge: clamp(26px, 5.5vw, 120px);
  --split-gap: clamp(24px, 3.5vw, 66px);
  --media-inset: clamp(18px, 2.6vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--split-media);
  grid-template-areas: "copy photo";
  min-height: max(clamp(493px, 39.95vw, 765px), clamp(493px, calc(31vw + 207px), 532px));
  max-width: none;
  padding: 0;
}
.about-copy, .method-copy { grid-area: copy; align-self: center; padding-block: clamp(22px, 3.15vw, 60px); }
.site-svg-defs { position: absolute; pointer-events: none; }
.about { min-height: clamp(493px, 40.6vw, 765px); }
.about-copy { padding-inline: var(--split-edge) var(--split-gap); }
.about-portrait, .method-image { grid-area: photo; position: relative; min-width: 0; }
.about-portrait { overflow: hidden; clip-path: url(#split-photo-right); }
.method-image { clip-path: url(#split-photo-left); }
.split-feather { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: var(--surface); stroke-width: 28px; filter: blur(6px); }
.method-image .split-feather { stroke: var(--panel); }
.portrait-tile, .method-image { overflow: hidden; height: 100%; }
.portrait-tile { background: #ac9582; }
.portrait-tile img { object-position: center 27%; }
.portrait-tile::after, .method-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #141413d9, transparent 32%); }
.portrait-tile:focus-visible, .method-image:focus-visible { outline-offset: -5px; }
.portrait-tile .media-icon { z-index: 1; bottom: var(--media-inset); right: var(--media-inset); }
.portrait-credit { position: absolute; z-index: 1; bottom: var(--media-inset); left: max(var(--media-inset), 8%); right: calc(var(--media-inset) + 58px); display: grid; gap: 2px; pointer-events: none; }
.portrait-credit strong { font-size: 1.15rem; font-weight: 600; }
.portrait-credit span { font-size: .8125rem; color: #f2e9dd; }
.about-copy h2, .method-copy h2 { margin-bottom: clamp(14px, 1.6vw, 24px); }
.about h2 { font-size: clamp(2.1rem, 4.6vw, 5.6rem); }
.about-copy > p { max-width: 47ch; color: var(--muted); }
.about-copy > p + p { margin-top: 13px; }
.about-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: .875rem; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); }
.about-facts dt { font-size: clamp(1.6rem, 3.3vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.about-facts dd { max-width: 23ch; color: var(--muted); font-size: .8125rem; margin-top: 7px; }

.method-band { color: var(--text); background: var(--panel); }
.method { grid-template-columns: var(--split-media) minmax(0, 1fr); grid-template-areas: "photo copy"; }
.method-copy { padding-inline: var(--split-gap) var(--split-edge); }
.method h2 { font-size: clamp(2.1rem, 4.15vw, 5.2rem); }
.method-copy > p { max-width: 38ch; margin-bottom: 23px; color: var(--muted); }
.method-points { max-width: 565px; padding: 0; margin: 0; list-style: none; border-block: 1px solid var(--rule); }
.method-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(12px, 1.25vw, 18px); padding-block: clamp(12px, 1vw, 16px); }
.method-points li + li { border-top: 1px solid var(--rule); }
.method-point-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--apricot); background: #fbc7a621; }
.method-point-icon .icon { width: 23px; height: 23px; }
.method-points strong { display: block; font-size: 1.025rem; font-weight: 700; line-height: 1.3; }
.method-points p { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.method-image { background: #303329; }
.method-image img { object-position: center top; }
.method-label { position: absolute; z-index: 1; bottom: var(--media-inset); left: var(--media-inset); display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 2px; color: var(--on-accent); background: var(--apricot); font-size: .875rem; font-weight: 700; }
.method-label .icon { width: 18px; height: 18px; }

.services h2 { margin-bottom: clamp(24px, 4vw, 50px); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.service-card-frame { min-width: 0; perspective: 950px; }
.service-card {
  --service-inset: clamp(18px, 2.1vw, 30px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 5;
  padding: var(--service-inset);
  border: 1px solid #f8f4ed25;
  border-radius: 19px;
  background: #2d2723;
  color: #fffaf0;
  box-shadow: 0 15px 28px #0005;
}
.service-card img, .service-card::after { position: absolute; inset: 5px; border-radius: 14px; }
.service-card img { width: calc(100% - 10px); height: calc(100% - 10px); object-fit: cover; }
.service-card::after { content: ''; pointer-events: none; background: linear-gradient(180deg, #14110ff0, #14110f9c 24%, transparent 52%, #14110fb5 100%); }
.service-card-copy, .service-action { position: relative; z-index: 1; }
.service-card h3 { font-size: clamp(1.28rem, 2.15vw, 2.1rem); line-height: 1.06; letter-spacing: -.04em; }
.service-card p { margin-top: 8px; font-size: .875rem; line-height: 1.45; color: #f0e8de; }
.service-action { display: grid; place-items: center; width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #fffaf059; border-radius: 9px; background: #1e1916db; color: #fffaf0; font: 700 .875rem/1.3 var(--sans); text-align: center; cursor: pointer; }
.service-action:focus-visible { outline-color: var(--accent); }

.questions-band { background: var(--surface); }
.questions { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 7vw, 112px); padding-block: clamp(60px, 7vw, 112px); }
.questions > h2 { align-self: center; text-align: center; }
.question-list { display: grid; gap: 10px; }
.question-list details { border: 1px solid #fbc7a629; border-radius: 15px; background: #27231f; }
.question-list details[open] { border-color: #fbc7a665; background: #2b2520; }
.question-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px clamp(14px, 1.6vw, 24px); border-radius: 14px; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary:focus-visible { outline-offset: -3px; outline-color: var(--apricot); }
.question-list summary .icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: var(--apricot); background: #fbc7a61c; transition: transform .16s var(--ease-out); }
.question-list details[open] summary .icon { transform: rotate(45deg); }
.question-list p { max-width: 60ch; padding: 0 clamp(14px, 1.6vw, 24px) 19px; color: var(--muted); line-height: 1.55; }

.footer { position: relative; isolation: isolate; overflow: clip; color: var(--text); background: #10100f; }
.footer-cta {
  --contact-shade: linear-gradient(90deg, #10100f, #10100fe8 32%, #10100f8c 57%, #10100f24 78%, transparent);
  background: var(--contact-shade), url("./media/portfolio/bruna-contato.webp") right 23% / cover no-repeat;
}
.footer-content { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 28px; min-height: clamp(320px, 28.8vw, 520px); padding-block: 43px; }
.footer h2 { font-size: clamp(2.8rem, 6.3vw, 7.7rem); }
:is(.method, .footer) h2 em { color: var(--apricot); }
.footer-button { flex: none; color: var(--on-accent); background: var(--apricot); }
.footer-base { border-top: 1px solid var(--rule); background: var(--bg); }
.footer-info { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, .6fr); gap: clamp(24px, 4vw, 70px); padding-block: clamp(30px, 4vw, 60px) 26px; }
.footer-brand > p { max-width: 31ch; margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.footer-info h3 { margin-bottom: 8px; font-size: 1rem; font-weight: 700; }
.footer-links { display: grid; padding: 0; margin: 0; list-style: none; }
.footer-nav .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.footer-links a, .footer-legal a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; line-height: 1.3; }
.footer-links a { color: var(--muted); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--apricot); }
.footer-address { margin-top: 8px; color: var(--muted); font-size: .875rem; font-style: normal; line-height: 1.5; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding-block: 8px; border-top: 1px solid var(--rule); color: var(--muted); }
.footer-legal small { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .875rem; }
.footer-legal a { color: var(--apricot); }

html:has(.viewer[open]) { overflow: hidden; }
.viewer {
  --viewer-inset: clamp(10px, 2vw, 16px);
  --viewer-height: clamp(144px, calc(100dvh - 200px), 660px);
  width: min(920px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: var(--viewer-inset);
  border: 1px solid #f8f4ed29;
  border-radius: clamp(18px, 3vw, 26px);
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 24px 80px #0009;
}
.viewer::backdrop { background: #10100fce; backdrop-filter: blur(5px); }
.viewer-bar, .viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; padding-inline: 4px; }
.viewer-bar { margin-bottom: 10px; }
.viewer-bar h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.15; letter-spacing: -.035em; }
.viewer-stage { position: relative; display: grid; place-items: center; overflow: hidden; height: min(var(--viewer-height), 65vw); border-radius: 14px; background: #11110f; }
.viewer-video { width: min(calc(100% - 24px), max(250px, calc(var(--viewer-height) * 9 / 16 + 2 * var(--viewer-inset) + 2px))); }
.viewer-video .viewer-stage { width: 100%; height: auto; max-height: var(--viewer-height); aspect-ratio: 9 / 16; }
.viewer-stage > :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.viewer:has(.viewer-nav:not([hidden])) .viewer-stage { touch-action: pan-y pinch-zoom; }
.viewer-stage .viewer-error { padding: 18px; text-align: center; }
.viewer-foot { margin-top: 12px; flex-wrap: wrap; }
.viewer-caption { flex: 1 1 220px; font-size: .875rem; color: var(--muted); line-height: 1.45; }
.viewer-nav:not([hidden]) { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; font-size: .875rem; font-variant-numeric: tabular-nums; }
.viewer-count { min-width: 4ch; text-align: center; }
.viewer-control { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #f8f4ed1f; border-radius: 50%; background: #f8f4ed0c; color: inherit; cursor: pointer; }
.viewer-control .icon { width: 20px; height: 20px; }
.viewer-control:focus-visible { outline-color: var(--apricot); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .project-image:focus-visible { transform: scale(1.035); }
  .button:active, .media-tile:active .media-icon { transform: scale(.97); }
  .viewer[open] { transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }
  @starting-style {
    .viewer[open] { opacity: 0; transform: scale(.98); }
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-action:hover { background: var(--apricot); color: var(--on-accent); }
  .main-nav a:hover, .header-contact:hover, .mobile-nav a:hover, .scroll-cue:hover { color: var(--apricot); }
  .button-light:hover, .footer-button:hover { background: #fff1df; }
  .button-outline:hover { background: var(--text); color: var(--bg); }
  .media-tile:hover .media-icon { color: var(--on-accent); background: var(--accent); }
  .project-grid:not(:has(.project-image:focus-visible)):has(.project-image:hover) .project-image:not(:hover) img { opacity: .56; filter: blur(2px); }
  .question-list summary:hover { color: var(--accent); }
  .viewer-control:hover { background: #3d3d34; }
  :is(.footer-links, .footer-legal) a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card { transform: rotateX(var(--service-rx, 0deg)) rotateY(var(--service-ry, 0deg)); transform-style: preserve-3d; transition: transform .2s var(--ease-out); }
  .service-card-copy, .service-action { transform: translateZ(12px); }
  .project-grid:not(:has(.project-image:focus-visible)) .project-image:hover { z-index: 1; transform: scale(1.035); }
  .portrait-tile:hover img { transform: scale(1.025); }
}

@media (min-width: 841px) and (max-width: 1100px) {
  .about, .method { --split-edge: clamp(20px, 3.75vw, 40px); --split-gap: clamp(17px, 2.4vw, 27px); }
  .about-copy, .method-copy { padding-block: clamp(16px, calc(70px - 6vw), 26px); }
}

@media (max-width: 840px) {
  .site-header { min-height: 69px; display: flex; justify-content: space-between; }
  .main-nav, .header-contact { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { min-height: 44px; display: flex; align-items: center; gap: 8px; padding-inline: 10px; border: 1px solid #fffaf04a; border-radius: 6px; cursor: pointer; font-size: .875rem; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; line-height: 1; font-size: 1.15rem; }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { position: absolute; inset: calc(100% + 8px) 0 auto auto; display: grid; min-width: 192px; max-height: max(140px, calc(100svh - 76px)); overflow-y: auto; border-radius: 10px; background: var(--panel); border: 1px solid #fffaf04a; padding: 6px 16px; transform-origin: top right; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; font-size: .9rem; }
  .mobile-nav nav a + a { border-top: 1px solid #fffaf025; }
  .work-heading, .about, .method, .questions { grid-template-columns: minmax(0, 1fr); }
  .work-heading { gap: 16px; }
  .about, .method { grid-template-areas: "copy" "photo"; min-height: 0; }
  .about-copy, .method-copy { padding: clamp(28px, 6vw, 50px) var(--gutter); }
  .about-portrait, .method-image { clip-path: none; }
  .split-feather { display: none; }
  .portrait-credit { left: var(--media-inset); }
  .portrait-tile, .method-image { height: auto; aspect-ratio: 4 / 3.52; max-height: 520px; }
  .questions > h2 { text-align: start; }
}

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

@media (max-width: 700px) {
  .hero { min-height: 460px; }
  .hero-media > * { object-position: 71% center; }
  .hero-shade { background: linear-gradient(180deg, #151612b8, transparent 26%, #15161225 36%, #151612c9 71%, #151612f2); }
  .brand-symbol { width: 32px; height: 32px; }
  .brand-name { font-size: 1.3rem; }
  .hero-content { align-self: end; padding-bottom: 111px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 12.3vw, 5.9rem); margin-block: 12px 20px; }
  .hero-copy .button { margin-top: 19px; }
  .hero-bottom { bottom: 17px; gap: 9px; }

  .section h2 { font-size: clamp(2.35rem, 9.6vw, 4.5rem); }
  .footer-cta {
    --contact-shade: linear-gradient(90deg, #10100fe3, #10100f87 45%, #10100f15 84%), linear-gradient(0deg, #10100ffa, #10100fa0 40%, transparent 77%);
    background-position: 79% top;
  }
  .footer-content { justify-content: end; gap: 20px; min-height: 344px; padding-block: 32px; }
  .footer .section h2 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .footer-info { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav .footer-links { grid-template-columns: 1fr; }
  .work-footer { justify-content: start; }
  .viewer:not(.viewer-video) .viewer-stage { height: min(var(--viewer-height), 112vw); }
}

@media (max-width: 540px) {
  .project-grid, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .project-image { aspect-ratio: 5 / 4; }
  .service-card { aspect-ratio: 5 / 4; }
}

@media (max-width: 370px) {
  .footer-info { grid-template-columns: minmax(0, 1fr); }
  .footer-nav .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) and (prefers-reduced-motion: no-preference) {
  .mobile-nav[open] nav { transition: opacity .16s var(--ease-out), transform .16s var(--ease-out); }
  @starting-style {
    .mobile-nav[open] nav { opacity: 0; transform: scale(.97); }
  }
}

@media (max-height: 610px) {
  .hero-content { padding-block: 80px 73px; }
  .hero-copy h1 { font-size: clamp(2.85rem, min(12vw, 13vh), 6.5rem); }
}

@media (max-height: 480px) {
  .hero { height: auto; min-height: 100svh; }
  .hero-content { align-self: center; padding-block: 76px 58px; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .project, .service-card-frame {
      animation: card-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes card-enter {
      from { translate: 0 12px; opacity: .72; }
      to { translate: 0; opacity: 1; }
    }
  }
  .text-revealed:not(:focus-within) { animation: text-enter .7s ease-out; }
  @keyframes text-enter {
    from { transform: translateY(22px); opacity: .12; }
    to { transform: none; opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .hero-progress { display: none; }
  .media-tile img, .project-image img, .media-icon, .button, .project-image, .question-list summary .icon { transition: none; }
}
