:root {
  --ink: #171715;
  --paper: #f3f0e9;
  --white: #fffdf8;
  --orange: #c44a35;
  --yellow: #d98a68;
  --accent-deep: #b33f2d;
  --accent-light: #d86850;
  --muted: #76736d;
  --line: rgba(23, 23, 21, .18);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 84px;
  padding: 14px clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, min-height .3s;
}
.site-header.is-scrolled { min-height: 68px; background: rgba(243, 240, 233, .92); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 17px/1 "Manrope", sans-serif; letter-spacing: -.03em; }
.brand-mark { width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--white); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); font-weight: 500; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: 999px; }
.nav-cta span { color: var(--orange); margin-left: 5px; }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 6px 0; background: var(--ink); }

.hero {
  position: relative;
  min-height: 850px;
  padding: 174px clamp(22px, 4vw, 64px) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: 5vw;
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { margin: 0 0 26px; display: flex; align-items: center; gap: 10px; font: 700 12px/1 "Manrope", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 3px; background: var(--orange); }
.eyebrow.light { color: rgba(255,255,255,.65); }
.hero h1, h2 { margin: 0; font: 700 clamp(58px, 7.1vw, 110px)/.92 "Manrope", sans-serif; letter-spacing: -.065em; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 630px; margin: 36px 0 0; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 220px; padding: 17px 20px; border: 1px solid currentColor; border-radius: 999px; font-weight: 700; transition: color .2s, background .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-primary span { color: var(--orange); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-weight: 700; }
.text-link span { margin-left: 8px; color: var(--orange); }

.hero-visual { position: relative; height: 590px; }
.orange-shape { position: absolute; inset: 0 2% 2% 13%; background: linear-gradient(145deg, var(--yellow), var(--orange)); border-radius: 46% 54% 52% 48% / 38% 42% 58% 62%; transform: rotate(-4deg); }
.project-shot { position: absolute; margin: 0; overflow: hidden; background: var(--white); box-shadow: 0 26px 70px rgba(23,23,21,.24); }
.project-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-main { width: 55%; height: 75%; right: 11%; top: 7%; transform: rotate(4deg); border: 9px solid var(--white); }
.shot-secondary { width: 39%; height: 46%; left: 4%; bottom: 5%; transform: rotate(-7deg); border: 8px solid var(--white); }
.hero-stamp { position: absolute; z-index: 3; width: 132px; height: 132px; right: -1%; bottom: 1%; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); }
.hero-stamp svg { position: absolute; width: 112px; height: 112px; animation: spin 20s linear infinite; }
.hero-stamp text { fill: var(--white); font: 700 9px/1 "Manrope", sans-serif; letter-spacing: 1.8px; }
.hero-stamp > span { color: var(--orange); font: 800 44px/1 "Manrope", sans-serif; }
.scroll-cue { position: absolute; left: clamp(22px, 4vw, 64px); bottom: 34px; display: flex; align-items: center; gap: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue i { display: block; width: 62px; height: 1px; background: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker { overflow: hidden; padding: 20px 0; color: var(--ink); background: var(--orange); transform: rotate(-1.1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 32px; animation: ticker 30s linear infinite; font: 700 clamp(20px, 2.3vw, 34px)/1 "Manrope", sans-serif; }
.ticker i { font-style: normal; color: var(--paper); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 130px clamp(22px, 4vw, 64px); }
.section-heading { max-width: var(--max); margin: 0 auto 76px; }
.section h2 { font-size: clamp(48px, 6vw, 88px); }
.service-list { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.service-row { min-height: 176px; display: grid; grid-template-columns: 70px minmax(240px, 1fr) minmax(300px, 1fr) 70px; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.service-number { color: var(--accent-deep); font: 700 13px/1 "Manrope", sans-serif; }
.service-row h3 { margin: 0; font: 700 clamp(26px, 3vw, 42px)/1.08 "Manrope", sans-serif; letter-spacing: -.04em; }
.service-row p { margin: 0; color: var(--muted); max-width: 520px; }
.service-icon { justify-self: end; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 21px; transition: transform .3s, color .3s, background .3s; }
.service-row:hover .service-icon { transform: rotate(10deg); color: var(--white); background: var(--orange); border-color: var(--orange); }

.work { color: var(--white); background: var(--ink); }
.work-heading { max-width: var(--max); margin: 0 auto 80px; display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 70px; }
.work-heading > p { margin: 0 0 5px; color: rgba(255,255,255,.63); font-size: 18px; }
.project-grid { max-width: var(--max); margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px 28px; align-items: start; }
.project-card { display: block; }
.project-image { height: 560px; overflow: hidden; background: #292926; }
.project-card:nth-child(2) .project-image { height: 410px; margin-top: 80px; }
.project-card:nth-child(3) .project-image { height: 430px; }
.project-card:nth-child(4) .project-image { height: 580px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.82); transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .4s; }
.project-card:hover img { transform: scale(1.035); filter: saturate(1); }
.project-meta { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 20px; }
.project-meta span { color: var(--accent-light); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.project-meta h3 { margin: 5px 0 0; font: 700 31px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.project-meta b { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: color .2s, background .2s; }
.project-card:hover .project-meta b { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.work .button-outline { display: flex; margin: 0 auto; width: max-content; color: var(--white); }
.work .button-outline:hover { color: var(--ink); background: var(--white); }

.studio { max-width: calc(var(--max) + 128px); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8vw; }
.studio-mark { position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden; color: var(--paper); background: var(--orange); font: 800 clamp(280px, 35vw, 540px)/1 "Manrope", sans-serif; letter-spacing: -.12em; }
.studio-mark::before, .studio-mark::after { content: ""; position: absolute; width: 150%; height: 1px; background: var(--ink); transform: rotate(35deg); opacity: .4; }
.studio-mark::after { transform: rotate(-40deg); }
.studio-copy { max-width: 700px; }
.studio-copy h2 { margin-bottom: 38px; font-size: clamp(48px, 5vw, 76px); }
.studio-copy .lead { margin: 0 0 24px; font-size: 24px; line-height: 1.4; font-weight: 600; }
.studio-copy > p:not(.lead):not(.eyebrow) { color: var(--muted); font-size: 17px; }
.studio-facts { margin-top: 45px; padding-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; border-top: 1px solid var(--line); }
.studio-facts div { display: flex; flex-direction: column; }
.studio-facts strong { color: var(--orange); font: 700 38px/1 "Manrope", sans-serif; }
.studio-facts span { margin-top: 10px; color: var(--muted); font-size: 13px; }

.process { background: var(--white); }
.process-steps { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-steps li { min-height: 330px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-steps span { color: var(--orange); font: 700 14px/1 "Manrope", sans-serif; }
.process-steps h3 { margin: auto 0 16px; font: 700 clamp(28px, 2.8vw, 42px)/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.process-steps p { margin: 0; max-width: 310px; color: var(--muted); }

.contact { padding: 140px clamp(22px, 4vw, 64px); color: var(--white); background: var(--orange); }
.contact-inner { max-width: var(--max); margin: 0 auto; }
.contact .eyebrow span { background: var(--ink); }
.contact h2 { max-width: 1100px; font-size: clamp(54px, 7.2vw, 104px); }
.contact h2 em { color: var(--ink); }
.contact-mail { margin: 70px 0 90px; padding-bottom: 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--white); font: 600 clamp(23px, 3.4vw, 50px)/1.2 "Manrope", sans-serif; letter-spacing: -.04em; }
.contact-mail span { color: var(--ink); }
.contact-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.contact-bottom p { margin: 0; }
.contact-bottom a { font-size: 19px; font-weight: 700; }

footer { padding: 28px clamp(22px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.58); background: var(--ink); font-size: 13px; }
.footer-brand { color: var(--white); }

/* Portfolio */
.portfolio-hero {
  min-height: 780px;
  padding: 190px clamp(22px, 4vw, 64px) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  align-content: center;
  gap: 80px;
}
.portfolio-title h1 { margin: 0; font: 700 clamp(60px, 8.2vw, 126px)/.88 "Manrope", sans-serif; letter-spacing: -.075em; }
.portfolio-title h1 em { color: var(--orange); font-style: normal; }
.portfolio-hero-aside { align-self: end; max-width: 420px; padding-bottom: 8px; }
.portfolio-hero-aside > p { margin: 0 0 46px; color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); }
.portfolio-stat { padding-top: 20px; display: flex; align-items: end; gap: 18px; border-top: 1px solid var(--line); }
.portfolio-stat strong { color: var(--orange); font: 800 70px/.8 "Manrope", sans-serif; letter-spacing: -.07em; }
.portfolio-stat span { color: var(--muted); font-size: 13px; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-hero-line { grid-column: 1 / -1; margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.portfolio-hero-line > span { color: var(--orange); font: 800 36px/1 "Manrope", sans-serif; }
.portfolio-hero-line i { height: 1px; background: var(--ink); }
.portfolio-hero-line small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }

.portfolio-featured { height: 740px; padding: 0 clamp(22px, 4vw, 64px) 100px; display: grid; grid-template-columns: 1.25fr .8fr .58fr; gap: 18px; background: var(--paper); }
.featured-panel { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.featured-panel img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.8) brightness(.82); transition: transform 1.2s cubic-bezier(.2,.75,.2,1), filter .5s; }
.featured-panel:hover img { transform: scale(1.04); filter: saturate(1) brightness(.9); }
.featured-panel-main img { object-position: 50% 5%; }
.featured-caption { position: absolute; inset: auto 24px 24px; display: flex; flex-direction: column; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.featured-caption span { margin-bottom: 4px; color: var(--accent-light); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.featured-caption strong { font: 700 clamp(22px, 2.3vw, 36px)/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.featured-orange { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); background: var(--orange); }
.featured-orange > span { font: 700 clamp(25px, 2.5vw, 40px)/1.06 "Manrope", sans-serif; letter-spacing: -.05em; }
.featured-orange b { color: var(--white); font-weight: inherit; }
.featured-orange i { align-self: end; font: normal 50px/1 "Manrope", sans-serif; }

.portfolio-browser { padding: 130px clamp(22px, 4vw, 64px); color: var(--white); background: var(--ink); }
.portfolio-browser-head { max-width: var(--max); margin: 0 auto 70px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; }
.portfolio-browser-head h2 { margin: 0; font: 700 clamp(50px, 6vw, 88px)/.92 "Manrope", sans-serif; letter-spacing: -.065em; }
.portfolio-browser-head h2 em { color: var(--orange); font-style: normal; }
.portfolio-browser-head > p { margin: 0 0 6px; color: rgba(255,255,255,.57); font-size: 18px; }
.portfolio-toolbar { position: sticky; z-index: 10; top: 67px; max-width: var(--max); margin: 0 auto 58px; padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); background: rgba(23,23,21,.94); backdrop-filter: blur(12px); }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.portfolio-filters button { padding: 10px 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: var(--white); background: transparent; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.portfolio-filters button span { margin-left: 6px; color: rgba(255,255,255,.45); font-size: 11px; }
.portfolio-filters button:hover, .portfolio-filters button[aria-pressed="true"] { color: var(--white); background: var(--orange); border-color: var(--orange); }
.portfolio-filters button[aria-pressed="true"] span { color: rgba(255,255,255,.68); }
.portfolio-result { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-result strong { color: var(--accent-light); }
.portfolio-masonry { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 26px; align-items: start; }
.portfolio-item { grid-column: span 6; min-width: 0; }
.portfolio-item.item-wide { grid-column: span 7; }
.portfolio-item.item-wide + .portfolio-item { grid-column: span 5; }
.portfolio-masonry.is-filtered .portfolio-item { grid-column: span 6; }
.portfolio-item[hidden] { display: none; }
.portfolio-thumb { height: 610px; padding: 34px; overflow: hidden; background: #30302e; }
.item-wide .portfolio-thumb { height: 540px; }
.item-tall .portfolio-thumb { height: 720px; }
.portfolio-thumb.thumb-landscape { height: 470px; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; box-shadow: 0 22px 50px rgba(0,0,0,.28); transition: transform .8s cubic-bezier(.2,.75,.2,1), object-position 2.5s ease; }
.portfolio-thumb.image-missing { display: grid; place-items: center; color: rgba(255,255,255,.82); font: 700 clamp(25px, 3vw, 42px)/1.05 "Manrope", sans-serif; text-align: center; }
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.025); object-position: center 22%; }
.theme-violet { background: #594078; }
.theme-coral { background: #d77b5f; }
.theme-blue { background: #4b7894; }
.theme-green { background: #768e61; }
.theme-yellow { background: #e5ad25; }
.theme-rose { background: #bc817f; }
.theme-lime { background: #8ea44f; }
.theme-orange { background: var(--orange); }
.theme-stone { background: #a49c8e; }
.theme-red { background: #9e3730; }
.theme-dark { background: #343838; }
.portfolio-info { padding-top: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.portfolio-info span { color: var(--accent-light); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.portfolio-info h3 { margin: 5px 0 0; font: 700 clamp(25px, 2.6vw, 39px)/1.05 "Manrope", sans-serif; letter-spacing: -.045em; }
.portfolio-info b { color: rgba(255,255,255,.35); font: 500 12px/1 "Manrope", sans-serif; }
.portfolio-item:hover .portfolio-info h3 { color: var(--orange); }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
.reveal-delay { transition-delay: .14s; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(680px, 100%); height: 540px; margin: 20px auto 40px; }
  .scroll-cue { display: none; }
  .service-row { grid-template-columns: 50px 1fr 60px; padding: 28px 0; }
  .service-row p { grid-column: 2; }
  .service-icon { grid-column: 3; grid-row: 1; }
  .work-heading { grid-template-columns: 1fr; }
  .work-heading > p { max-width: 600px; }
  .project-grid { gap: 54px 22px; }
  .studio { grid-template-columns: 1fr; }
  .studio-mark { min-height: 480px; }
  .portfolio-hero { grid-template-columns: 1fr; min-height: 720px; gap: 44px; }
  .portfolio-hero-aside { display: grid; grid-template-columns: 1fr 220px; align-items: end; gap: 40px; max-width: none; }
  .portfolio-hero-aside > p { margin: 0; }
  .portfolio-featured { height: 640px; grid-template-columns: 1.1fr .9fr; }
  .featured-orange { display: none; }
  .portfolio-browser-head { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-browser-head > p { max-width: 600px; }
  .portfolio-item, .portfolio-item.item-wide, .portfolio-item.item-wide + .portfolio-item { grid-column: span 6; }
}

@media (max-width: 720px) {
  .site-header { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .menu-toggle { position: relative; z-index: 55; display: block; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; padding: 130px 28px 40px; flex-direction: column; align-items: flex-start; gap: 24px; background: var(--orange); transform: translateX(100%); transition: transform .35s ease; font: 700 34px/1.1 "Manrope", sans-serif; }
  .main-nav.is-open { transform: none; }
  .nav-cta { margin-top: auto; width: 100%; display: flex; justify-content: space-between; font-size: 18px; }
  .hero { padding-left: 22px; padding-right: 22px; }
  .hero h1 { font-size: clamp(53px, 15vw, 78px); }
  .hero-intro { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { height: 430px; }
  .shot-main { width: 62%; height: 72%; right: 6%; }
  .shot-secondary { width: 45%; height: 44%; }
  .hero-stamp { width: 100px; height: 100px; }
  .hero-stamp svg { width: 86px; height: 86px; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .section-heading { margin-bottom: 50px; }
  .section h2 { font-size: clamp(47px, 13vw, 70px); }
  .service-row { grid-template-columns: 36px 1fr; gap: 14px; }
  .service-row p { grid-column: 2; }
  .service-icon { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:nth-child(n) .project-image { height: 480px; margin-top: 0; }
  .work-heading { margin-bottom: 54px; gap: 30px; }
  .studio-mark { min-height: 390px; }
  .studio-facts { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { min-height: 260px; }
  .contact { padding-top: 100px; padding-bottom: 90px; }
  .contact h2 { font-size: clamp(47px, 13vw, 70px); }
  .contact-mail { margin: 52px 0 68px; font-size: 21px; }
  .contact-bottom { align-items: flex-start; flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; }
  .portfolio-hero { min-height: auto; padding-top: 145px; padding-bottom: 70px; }
  .portfolio-title h1 { font-size: clamp(55px, 15vw, 78px); }
  .portfolio-hero-aside { grid-template-columns: 1fr; }
  .portfolio-hero-line { grid-template-columns: auto 1fr; }
  .portfolio-hero-line small { display: none; }
  .portfolio-featured { height: auto; padding-bottom: 70px; grid-template-columns: 1fr; }
  .featured-panel { height: 500px; }
  .featured-panel:nth-child(2) { height: 390px; }
  .portfolio-browser { padding-top: 90px; padding-bottom: 90px; }
  .portfolio-toolbar { position: static; align-items: flex-start; flex-direction: column; }
  .portfolio-filters { flex-wrap: nowrap; width: calc(100vw - 44px); overflow-x: auto; padding-bottom: 5px; }
  .portfolio-filters button { flex: 0 0 auto; }
  .portfolio-masonry { grid-template-columns: 1fr; gap: 55px; }
  .portfolio-item, .portfolio-item.item-wide, .portfolio-item.item-wide + .portfolio-item { grid-column: 1; }
  .portfolio-thumb, .item-wide .portfolio-thumb, .item-tall .portfolio-thumb, .portfolio-thumb.thumb-landscape { height: 510px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
