/* Portfolio pessoal de Rodrigo Portillo — extensão visual do projeto VHB */
:root {
  --ink: #10151c;
  --ink-soft: #4d5765;
  --paper: #f4f7fb;
  --paper-deep: #e9eef5;
  --white: #fff;
  --blue: #24668a;
  --coral: #ff633e;
  --line: rgba(16, 21, 28, .12);
  --glass: rgba(255, 255, 255, .56);
  --shadow: 0 26px 70px rgba(36, 48, 67, .13), 0 4px 18px rgba(36, 48, 67, .07);
  --shell: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .75, .25, 1);
  --system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { max-width: 100%; margin: 0; color: var(--ink); font-family: var(--system); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open { overflow: hidden; }
section[id] { scroll-margin-top: 112px; }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }
::selection { color: #fff; background: var(--blue); }
.section-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: 12px; padding: 10px 16px; border-radius: 100px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--blue); font-size: .72rem; font-weight: 720; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255, 99, 62, .13); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 10px rgba(255, 99, 62, 0); } }
.site-header { position: fixed; z-index: 1000; top: 16px; left: 50%; width: min(1120px, calc(100vw - 32px)); min-height: 68px; padding: 9px 10px 9px 18px; display: grid; align-items: center; border: 1px solid rgba(255,255,255,.86); border-radius: 24px; background: rgba(250,252,255,.72); box-shadow: 0 16px 50px rgba(21,35,55,.08), inset 0 1px 1px rgba(255,255,255,.9); backdrop-filter: blur(22px) saturate(175%); -webkit-backdrop-filter: blur(22px) saturate(175%); transform: translateX(-50%); transition: width .5s var(--ease), min-height .5s var(--ease), box-shadow .4s, background .4s; }
.site-header::before { content: ""; position: absolute; inset: 1px; pointer-events: none; border-radius: 22px; background: linear-gradient(125deg, rgba(255,255,255,.4), transparent 38%, rgba(102,180,255,.08) 72%, rgba(255,255,255,.45)); }
.site-header.scrolled { width: min(980px, calc(100vw - 32px)); min-height: 60px; background: rgba(250,252,255,.88); box-shadow: 0 14px 40px rgba(21,35,55,.13), inset 0 1px 1px rgba(255,255,255,.96); }
.profile-identity { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; width: max-content; color: var(--ink); text-decoration: none; }
.profile-identity strong { font-size: .92rem; font-weight: 740; letter-spacing: -.025em; line-height: 1.1; }
.profile-identity span { margin-top: 4px; font-size: .57rem; font-weight: 720; letter-spacing: .09em; line-height: 1; text-transform: uppercase; }
.desktop-nav { position: relative; z-index: 2; display: flex; gap: 28px; align-items: center; }
.desktop-nav a { color: #37404b; font-size: .82rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.desktop-nav a:hover { color: var(--profile-accent); }
.glass-button { position: relative; z-index: 2; display: inline-flex; justify-self: end; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(35,53,73,.08); color: var(--ink); font-size: .78rem; font-weight: 700; text-decoration: none; transition: transform .3s var(--ease), background .3s; }
.glass-button:hover { background: #fff; transform: translateY(-2px); }
.menu-button { position: relative; z-index: 2; display: none; width: 46px; height: 46px; border: 0; border-radius: 15px; background: rgba(255,255,255,.7); }
.menu-button span { position: absolute; left: 13px; width: 20px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.menu-button span:first-child { top: 18px; }
.menu-button span:last-child { top: 26px; }
.menu-button[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 990; inset: 0; padding: 130px 28px 40px; display: none; flex-direction: column; gap: 8px; background: rgba(244,247,251,.94); backdrop-filter: blur(25px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: clamp(1.7rem, 8vw, 3rem); font-weight: 650; letter-spacing: -.05em; text-decoration: none; }
.glass-card { border: 1px solid rgba(255,255,255,.88); background: var(--glass); box-shadow: var(--shadow), inset 0 1px 1px rgba(255,255,255,.9); backdrop-filter: blur(22px) saturate(145%); -webkit-backdrop-filter: blur(22px) saturate(145%); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 58px; padding: 0 25px; border: 0; border-radius: 19px; background: var(--ink); box-shadow: 0 13px 28px rgba(16,21,28,.2), inset 0 1px 0 rgba(255,255,255,.16); color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; }
.primary-button:hover { box-shadow: 0 17px 38px rgba(36,102,138,.25); transform: translateY(-3px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: .85rem; font-weight: 720; text-decoration: none; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 26px; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.profile-footer { padding-block: 40px 32px; display: grid; grid-template-columns: 1fr auto; gap: 34px 60px; align-items: center; border-top: 1px solid var(--line); }
.profile-footer > div { display: flex; flex-direction: column; gap: 5px; }
.profile-footer strong { font-size: .95rem; letter-spacing: -.02em; }
.profile-footer > div span { color: var(--profile-accent); font-size: .62rem; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.profile-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.profile-footer nav a { font-size: .76rem; font-weight: 650; text-decoration: none; }
.profile-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: #7d8792; font-size: .68rem; }

.portfolio-page {
  --profile-accent: #247da9;
  --profile-bright: #6bd7ff;
  --profile-pale: #dff4ff;
  background:
    radial-gradient(circle at 88% 5%, rgba(107, 215, 255, .18), transparent 28rem),
    radial-gradient(circle at 4% 28%, rgba(255, 99, 62, .1), transparent 24rem),
    var(--paper);
}

.portfolio-page .eyebrow { color: var(--profile-accent); }
.portfolio-page .profile-identity span { color: var(--profile-accent); }
.portfolio-page .primary-button:hover { background: var(--profile-accent); }
.portfolio-header { grid-template-columns: 1fr auto 1fr; }

.portfolio-summary { min-height: 560px; padding-top: 145px; padding-bottom: 70px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(45px, 8vw, 100px); align-items: center; }
.portfolio-summary-copy h1 { margin: 0; font-size: clamp(3.8rem, 6vw, 6.4rem); font-weight: 670; letter-spacing: -.075em; line-height: .89; }
.portfolio-summary-copy h1 em { color: var(--profile-accent); font-style: normal; }
.portfolio-summary-copy > p:not(.eyebrow) { max-width: 650px; margin: 25px 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }
.portfolio-photo { position: relative; aspect-ratio: .78; padding: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.88); border-radius: 34px; background: rgba(255,255,255,.55); box-shadow: var(--shadow); color: #fff; text-decoration: none; }
.portfolio-photo::after { content: ""; position: absolute; inset: 8px; border-radius: 26px; background: linear-gradient(180deg, transparent 55%, rgba(7,12,18,.75)); }
.portfolio-photo img { width: 100%; height: 100%; display: block; border-radius: 26px; object-fit: cover; object-position: 50% 18%; transition: transform .8s var(--ease); }
.portfolio-photo:hover img { transform: scale(1.035); }
.portfolio-photo span { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; }
.portfolio-photo i { font-style: normal; }

.portfolio-hero {
  position: relative;
  min-height: 100svh;
  padding-top: 160px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
  isolation: isolate;
}

.portfolio-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-blue { top: 8%; right: -9%; width: 470px; height: 470px; background: radial-gradient(circle at 35% 30%, #fff, #76d5ff 25%, #287cab 65%, transparent 69%); opacity: .25; }
.orb-coral { bottom: 1%; left: -10%; width: 230px; height: 230px; background: radial-gradient(circle, #ffddd3, #ff7351 48%, transparent 70%); opacity: .27; }
.portfolio-hero-copy { position: relative; z-index: 2; }
.portfolio-hero h1 { max-width: 850px; margin: 0; font-size: clamp(4rem, 6.5vw, 7rem); font-weight: 670; letter-spacing: -.076em; line-height: .88; }
.portfolio-hero h1 em, .portfolio-contact h2 em { color: var(--profile-accent); font-style: normal; }
.portfolio-hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 32px 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.7; }
.portfolio-hero-card { min-height: 520px; padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; border-radius: 42px; background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(205,236,252,.48) 58%, rgba(255,217,207,.34)); transform: rotate(2deg); }
.portfolio-symbol { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 25px; background: var(--ink); color: #fff; box-shadow: 0 18px 35px rgba(16,21,28,.18); font-size: 2.4rem; }
.portfolio-hero-card > p { max-width: 470px; margin: auto 0 42px; font-size: clamp(1.65rem, 2.6vw, 2.7rem); font-weight: 630; letter-spacing: -.05em; line-height: 1.06; }
.portfolio-stats { padding-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); }
.portfolio-stats strong { display: block; font-size: 1.35rem; letter-spacing: -.04em; }
.portfolio-stats span { color: #6c7782; font-size: .63rem; font-weight: 690; letter-spacing: .08em; text-transform: uppercase; }

.portfolio-intro { padding-block: clamp(130px, 16vw, 230px); }
.portfolio-intro .scroll-words { max-width: 1160px; }
.portfolio-work { padding-top: 65px; padding-bottom: 170px; }
.portfolio-heading { margin-bottom: 52px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.portfolio-heading h2 { margin: 0; font-size: clamp(3rem, 4.5vw, 4.8rem); letter-spacing: -.07em; line-height: .92; }
.portfolio-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--ink-soft); line-height: 1.65; }

.portfolio-filters { position: sticky; z-index: 20; top: 92px; margin: 0 0 42px; padding: 10px; display: flex; justify-content: center; gap: 8px; overflow-x: auto; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: rgba(246,249,252,.72); box-shadow: 0 15px 42px rgba(27,42,61,.08), inset 0 1px 1px #fff; backdrop-filter: blur(22px) saturate(155%); scrollbar-width: none; }
.portfolio-filters::-webkit-scrollbar { display: none; }
.filter-button { flex: 0 0 auto; padding: 12px 16px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: transparent; color: #48535e; font-size: .75rem; font-weight: 700; cursor: pointer; transition: color .25s, background .25s, transform .25s; }
.filter-button > i { display: none; }
.filter-button .filter-count { margin-left: 7px; color: #8b949e; font-size: .62rem; }
.filter-button:hover { background: rgba(255,255,255,.75); transform: translateY(-1px); }
.filter-button.active { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(16,21,28,.18); }
.filter-button.active .filter-count { color: rgba(255,255,255,.65); }

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { min-width: 0; transition: opacity .35s ease, transform .5s var(--ease); }
.project-card[hidden] { display: none; }
.project-card > a { height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.78); border-radius: 36px; background: rgba(255,255,255,.48); box-shadow: 0 25px 65px rgba(35,48,65,.09), inset 0 1px 1px rgba(255,255,255,.92); color: inherit; text-decoration: none; backdrop-filter: blur(18px); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .35s; }
.project-card > a:hover { background: rgba(255,255,255,.72); box-shadow: 0 35px 80px rgba(35,48,65,.15), inset 0 1px 1px #fff; transform: translateY(-8px); }
.project-image { position: relative; aspect-ratio: 16 / 10; margin: 10px; overflow: hidden; border-radius: 28px; background: var(--paper-deep); }
.project-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.32); border-radius: inherit; pointer-events: none; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.project-card > a:hover img { transform: scale(1.045); filter: saturate(1.07); }
.project-copy { padding: 24px 28px 30px; display: flex; flex: 1; flex-direction: column; }
.project-copy > span { color: var(--profile-accent); font-size: .64rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.project-copy h3 { margin: 12px 0 14px; font-size: clamp(2rem, 3.1vw, 3.25rem); letter-spacing: -.064em; line-height: .95; }
.project-copy p { display: -webkit-box; margin: 0 0 28px; overflow: hidden; color: var(--ink-soft); font-size: .88rem; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.project-copy b { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-size: .74rem; }
.project-copy b i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; transition: transform .3s var(--ease), background .3s; }
.project-card > a:hover b i { background: var(--profile-accent); transform: rotate(8deg); }
.filter-empty, .portfolio-empty { margin: 50px 0 0; text-align: center; }
.portfolio-empty { padding: 70px 30px; border-radius: 38px; }
.portfolio-empty .eyebrow { justify-content: center; }
.portfolio-empty h3 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.06em; }
.portfolio-empty > p:last-child { color: var(--ink-soft); }

.portfolio-contact { padding-bottom: 150px; }
.portfolio-contact-panel { position: relative; padding: clamp(45px, 8vw, 100px); overflow: hidden; border-radius: 48px; background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(214,242,255,.65), rgba(255,222,212,.55)); text-align: center; }
.portfolio-contact-panel::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -330px; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, rgba(96,205,255,.5), rgba(255,99,62,.15) 45%, transparent 70%); transform: translateX(-50%); }
.portfolio-contact .eyebrow { justify-content: center; }
.portfolio-contact h2 { margin: 0 auto; max-width: 1000px; font-size: clamp(3.2rem, 6.2vw, 6.4rem); letter-spacing: -.075em; line-height: .9; }
.portfolio-contact-panel > div { margin-top: 42px; display: flex; justify-content: center; align-items: center; gap: 28px; }
.portfolio-footer nav a { display: inline-flex; align-items: center; gap: 6px; }

/* Individual project */
.project-hero { position: relative; z-index: 0; padding-top: 145px; padding-bottom: 52px; isolation: isolate; }
.project-color-wash { position: absolute; z-index: -1; inset: -80px -20vw -65px; overflow: hidden; opacity: .42; filter: blur(115px) saturate(185%); mix-blend-mode: color; pointer-events: none; }
.project-color-wash::after { content: ""; position: absolute; inset: 0; background: rgba(244,247,251,.16); }
.project-color-wash img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.2); }
.project-back { margin-bottom: 48px; }
.project-back span { transition: transform .3s; }
.project-back:hover span { transform: translateX(-4px); }
.project-hero-grid { display: block; }
.project-hero-copy { max-width: 1160px; }
.project-hero h1 { max-width: 1120px; margin: 0; font-size: clamp(4rem, 6.5vw, 7rem); letter-spacing: -.075em; line-height: .88; }
.project-description { max-width: 1100px; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.7; }
.project-story { padding-top: 22px; padding-bottom: 170px; display: grid; grid-template-columns: .34fr .66fr; gap: clamp(60px, 10vw, 145px); align-items: start; }
.project-story-aside { position: sticky; top: 130px; }
.project-story h2 { margin: 0; font-size: clamp(2.6rem, 4vw, 4.4rem); letter-spacing: -.07em; line-height: .94; }
.project-category-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.project-category-list a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 100px; color: #596570; font-size: .65rem; font-weight: 680; text-decoration: none; }
.project-content { min-width: 0; color: #37414b; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.78; }
.project-content > *:first-child { margin-top: 0; }
.project-content p { margin: 0 0 28px; }
.project-content h2, .project-content h3, .project-content h4 { margin: 70px 0 20px; color: var(--ink); letter-spacing: -.05em; line-height: 1; }
.project-content h2 { font-size: clamp(2.6rem, 4.5vw, 4.8rem); }
.project-content h3 { font-size: clamp(2rem, 3.2vw, 3.3rem); }
.project-content figure { width: calc(100% + 12vw); margin: 65px 0 65px -6vw; }
.project-content img, .project-content video { width: 100%; height: auto; display: block; border-radius: 32px; box-shadow: 0 28px 70px rgba(28,40,55,.14); }
.project-content video { background: #10151c; }
.project-content figcaption { margin-top: 12px; color: #7a8590; font-size: .7rem; text-align: center; }
.project-content a { color: var(--profile-accent); font-weight: 680; }
.project-not-found { min-height: 85svh; padding-top: 190px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-not-found h1 { max-width: 900px; margin: 0; font-size: clamp(4rem, 7vw, 7rem); letter-spacing: -.075em; line-height: .9; }
.project-not-found > p:not(.eyebrow) { max-width: 600px; margin: 28px 0; color: var(--ink-soft); }

@media (max-width: 1050px) {
  .portfolio-header { grid-template-columns: 1fr auto auto; }
  .desktop-nav { display: none; }
  .menu-button { display: block; margin-left: 8px; }
  .mobile-menu { display: flex; }
  .portfolio-hero { grid-template-columns: 1fr; padding-top: 145px; }
  .portfolio-hero-copy { max-width: 900px; }
  .portfolio-hero-card { width: min(720px, 100%); min-height: 480px; transform: none; }
  .portfolio-heading { grid-template-columns: 1fr; gap: 24px; }
  .project-story { grid-template-columns: 1fr; }
  .project-story-aside { position: static; }
  .project-story-aside h2 { max-width: 700px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { top: 10px; width: calc(100vw - 20px); min-height: 60px; padding: 6px 7px 6px 13px; border-radius: 20px; }
  .site-header.scrolled { width: calc(100vw - 20px); }
  .profile-identity strong { font-size: .83rem; }
  .profile-identity span { font-size: .5rem; }
  .nav-cta { display: none; }
  .menu-button { width: 44px; height: 44px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .primary-button { width: 100%; }
  .portfolio-summary { min-height: auto; padding-top: 120px; padding-bottom: 45px; grid-template-columns: 1fr; gap: 42px; }
  .portfolio-summary-copy h1 { font-size: clamp(3.25rem, 14vw, 4.8rem); }
  .portfolio-photo { width: min(100%, 340px); aspect-ratio: .9; }
  .portfolio-hero { min-height: auto; padding-top: 125px; padding-bottom: 70px; }
  .portfolio-hero h1, .project-hero h1 { font-size: clamp(3.35rem, 15vw, 5rem); }
  .portfolio-hero-card { min-height: 430px; border-radius: 32px; }
  .portfolio-symbol { width: 62px; height: 62px; border-radius: 20px; font-size: 2rem; }
  .portfolio-hero-card > p { font-size: 1.8rem; }
  .portfolio-stats { gap: 8px; }
  .portfolio-stats strong { font-size: 1.15rem; }
  .portfolio-stats span { font-size: .52rem; }
  .portfolio-intro { padding-block: 110px; }
  .portfolio-work { padding-bottom: 110px; }
  .portfolio-heading { margin-bottom: 35px; }
  .portfolio-heading h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .portfolio-filters { top: 80px; width: calc(100vw - 14px); margin-left: calc((var(--shell) - (100vw - 14px)) / 2); justify-content: center; gap: 7px; border-radius: 18px; }
  .filter-button { width: 52px; height: 48px; padding: 0; border-radius: 14px; font-size: 1rem; }
  .filter-button > i { display: block; }
  .filter-button .filter-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .filter-button .filter-count { display: none; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card > a { border-radius: 30px; }
  .project-image { border-radius: 23px; }
  .project-copy { padding: 20px 22px 25px; }
  .portfolio-contact { padding-bottom: 110px; }
  .portfolio-contact-panel { padding: 50px 22px; border-radius: 32px; }
  .portfolio-contact h2 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .portfolio-contact-panel > div { flex-direction: column; }
  .project-hero { padding-top: 120px; padding-bottom: 34px; }
  .project-color-wash { inset: -55px -30vw -40px; opacity: .38; filter: blur(82px) saturate(175%); }
  .project-back { margin-bottom: 34px; }
  .project-story { padding-top: 12px; padding-bottom: 110px; gap: 48px; }
  .project-content figure { width: 100%; margin: 48px 0; }
  .project-content img, .project-content video { border-radius: 22px; }
  .profile-footer { grid-template-columns: 1fr; gap: 25px; }
  .profile-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .project-card > a, .project-image img { transition: none; }
}
