:root {
  --bg: #070706;
  --bg-soft: #11100e;
  --panel: #171512;
  --panel-2: #211c16;
  --text: #f4f0e9;
  --muted: #c7beb1;
  --muted-2: #827a70;
  --fire: #f28a16;
  --fire-2: #c94d00;
  --gold: #d99a2b;
  --green: #0f3a25;
  --line: rgba(242, 138, 22, .35);
  --shadow: 0 24px 80px rgba(0, 0, 0, .48);
  --radius: 18px;
  --container: min(1180px, calc(100% - 40px));
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(242, 138, 22, .13), transparent 26rem),
    radial-gradient(circle at 84% 10%, rgba(15, 58, 37, .35), transparent 30rem),
    linear-gradient(180deg, #050505 0%, var(--bg) 42%, #0d0b09 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(242, 138, 22, .22);
  background: rgba(7, 7, 6, .62);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 7, 6, .94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .35);
}

.nav {
  width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.brand__logo {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.brand--footer .brand__logo {
  height: 62px;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--text);
  transition: color .2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--fire);
}

.nav__actions,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fire);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.social:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 138, 22, .58);
  box-shadow: 0 12px 28px rgba(242, 138, 22, .18);
}

.social svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social .icon-fill,
.whatsapp-float .icon-fill {
  fill: currentColor;
  stroke: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242, 138, 22, .22);
}

.btn-primary {
  background: linear-gradient(135deg, #ff9f24, var(--fire));
  border-color: transparent;
  color: #100c08;
}

.btn-outline {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.hero {
  min-height: 760px;
  padding: 180px max(20px, calc((100vw - 1180px) / 2)) 110px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-home {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .38) 52%, rgba(0, 0, 0, .72)),
    url("../assets/img/header-atorres-herreria.jpg") center/cover no-repeat;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}

.hero__content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--fire);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .46em;
  text-transform: uppercase;
}

.eyebrow span::after {
  content: "•";
  margin: 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: .98;
  letter-spacing: .01em;
}

.hero h1 {
  margin: 0 0 26px;
  text-transform: uppercase;
}

.hero h1 span,
.page-hero h1 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 9.4rem);
  color: #f4f0e9;
  text-shadow: 0 9px 0 rgba(0, 0, 0, .2);
}

.hero h1 strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 11vw, 9.8rem);
  color: var(--fire-2);
  font-style: italic;
  letter-spacing: .02em;
}

.hero p:not(.eyebrow),
.page-hero p {
  max-width: 620px;
  color: var(--muted);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 86px 0;
}

.split-intro {
  display: grid;
  grid-template-columns: .85fr 1.5fr;
  gap: 54px;
  align-items: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.line-cards,
.process-grid,
.product-page-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.line-card,
.product-card,
.contact-card,
.portfolio-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)),
    var(--panel);
  border: 1px solid rgba(242, 138, 22, .24);
  box-shadow: var(--shadow);
}

.line-card {
  min-height: 230px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(242, 138, 22, .18), transparent 42%);
  opacity: 0;
  transition: opacity .2s ease;
}

.line-card:hover::after {
  opacity: 1;
}

.icon-line {
  color: var(--fire);
  font-size: 42px;
}

.line-card h3,
.product-card h2 {
  margin: 18px 0 8px;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.line-card p,
.product-card p,
.process-step p,
.portfolio-card p,
.contact-card span {
  color: var(--muted);
}

.line-card a {
  color: var(--fire);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.center {
  text-align: center;
}

.process {
  border-block: 1px solid rgba(255, 255, 255, .07);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
}

.process-step {
  position: relative;
  padding-right: 34px;
}

.process-step strong {
  color: rgba(255, 255, 255, .12);
  font-size: 54px;
  font-weight: 900;
}

.process-step span {
  display: block;
  margin: -18px 0 12px;
  color: var(--fire);
  font-size: 38px;
}

.process-step h3 {
  margin-bottom: 7px;
  text-transform: uppercase;
}

.featured-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 34px 0;
}

.work-tile {
  min-height: 230px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 138, 22, .28);
  background: #111;
}

.work-tile img,
.portfolio-card img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile img,
.portfolio-card img {
  transition: transform .35s ease, filter .35s ease;
}

.work-tile:hover img,
.portfolio-card:hover img {
  transform: scale(1.06);
  filter: brightness(.74) contrast(1.12);
}

.work-tile span {
  position: absolute;
  inset: auto 16px 14px;
  font-size: 12px;
  font-weight: 900;
  color: var(--fire);
  text-transform: uppercase;
  z-index: 1;
}

.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, .82));
}

.cta-band {
  width: var(--container);
  margin: 20px auto 90px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(242, 138, 22, .35);
  border-bottom: 1px solid rgba(242, 138, 22, .18);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.cta-band span {
  color: var(--fire);
}

.page-hero {
  min-height: 440px;
  padding: 170px max(20px, calc((100vw - 1180px) / 2)) 70px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .48)),
    url("../assets/img/header-atorres-herreria.jpg") center/cover no-repeat;
  overflow: hidden;
}

.product-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card,
.contact-card {
  padding: 32px;
  border-radius: var(--radius);
}

.product-card--image {
  padding: 0;
  overflow: hidden;
}

.product-card--image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-card--image div {
  padding: 24px 28px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-image {
  height: 520px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.data-list {
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.data-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(242, 138, 22, .32);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
  font: 800 12px var(--font-body);
  text-transform: uppercase;
}

.filter-btn.is-active {
  background: var(--fire);
  color: #15100a;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.portfolio-card__image {
  height: 270px;
  overflow: hidden;
}

.portfolio-card__body {
  padding: 24px;
}

.portfolio-card small {
  color: var(--fire);
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Portfolio editorial */
.page-hero--portfolio {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero--portfolio h1 {
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8rem);
}

.portfolio-section {
  width: min(1440px, calc(100% - 64px));
}

.portfolio-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.portfolio-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .98;
  text-transform: uppercase;
}

.portfolio-intro h2 span {
  color: var(--fire);
}

.portfolio-intro > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.filters-wrap {
  margin: 38px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.filters {
  justify-content: flex-start;
}

.filter-btn {
  border-color: rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--fire);
}

.filter-btn.is-active {
  border-color: var(--fire);
  background: var(--fire);
}

.portfolio-count {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 0;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: #11100e;
  box-shadow: none;
  cursor: pointer;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(242, 138, 22, .65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
  outline: none;
}

.portfolio-card__image {
  position: relative;
  height: auto;
  aspect-ratio: 1 / 1.02;
  background:
    radial-gradient(circle at center, rgba(242, 138, 22, .055), transparent 48%),
    #090909;
}

.portfolio-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .82));
  pointer-events: none;
}

.portfolio-card__image img {
  padding: 8px;
  object-fit: contain;
  object-position: center;
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.025);
  filter: brightness(.82) contrast(1.06);
}

.portfolio-card__count,
.portfolio-card__open {
  position: absolute;
  z-index: 1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-card__count {
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
}

.portfolio-card__open {
  left: 18px;
  bottom: 15px;
  color: #fff;
  transform: translateY(5px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.portfolio-card__open b {
  margin-left: 6px;
  color: var(--fire);
}

.portfolio-card:hover .portfolio-card__open,
.portfolio-card:focus-visible .portfolio-card__open {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card__body {
  min-height: 190px;
  padding: 22px 22px 26px;
}

.portfolio-card small {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: .12em;
}

.portfolio-card small span {
  margin-right: 7px;
  color: #fff1dc;
  font-size: 13px;
}

.portfolio-card__body h2,
.portfolio-section .portfolio-card h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-card__body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #a9a198;
  font-size: .86rem;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.dialog-open {
  overflow: hidden;
}

.project-dialog {
  width: min(1500px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 138, 22, .32);
  border-radius: 18px;
  background: #0d0c0a;
  color: var(--text);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .9);
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(12px);
}

.project-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .7fr);
  min-height: min(860px, calc(100vh - 42px));
  position: relative;
}

.project-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
}

.project-gallery {
  min-width: 0;
  padding: 18px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  background: #060606;
}

.project-gallery__stage {
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .055), transparent 55%),
    #080808;
}

.project-gallery__stage img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 155px);
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  transform: translateY(-50%);
}

.gallery-arrow--prev { left: 18px; }
.gallery-arrow--next { right: 18px; }

.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .65);
  font-size: 11px;
  font-weight: 800;
}

.project-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--fire) #161616;
}

.project-thumbnails button {
  flex: 0 0 70px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #111;
  cursor: pointer;
  opacity: .5;
}

.project-thumbnails button.is-active {
  border-color: var(--fire);
  opacity: 1;
}

.project-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-story {
  max-height: calc(100vh - 42px);
  padding: 72px 44px 40px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at top right, rgba(242, 138, 22, .12), transparent 35%),
    #11100e;
}

.project-story__category {
  margin-bottom: 15px;
  color: var(--fire);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-story h2 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: .98;
  text-transform: uppercase;
}

.project-story__lead {
  color: #d2cbc2;
  font-size: 1rem;
  line-height: 1.75;
}

.project-story__details {
  margin: 34px 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.project-story__details h3 {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-story__details ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-story__details li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: #aaa198;
  font-size: .86rem;
  line-height: 1.55;
}

.project-story__details li span {
  color: var(--fire);
  font-weight: 900;
}

.project-story__meta {
  margin-bottom: 25px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.site-footer {
  border-top: 1px solid rgba(242, 138, 22, .18);
  background: #050504;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  color: var(--muted);
}

.footer-inner a {
  display: block;
  margin-bottom: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 22;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #19a85a;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav__links,
  .nav__actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
  }

  .nav.is-open .nav__links,
  .nav.is-open .nav__actions {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
  }

  .split-intro,
  .about-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .line-cards,
  .process-grid,
  .product-page-grid,
  .featured-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-section {
    width: min(100% - 32px, 1440px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-viewer {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .project-gallery {
    min-height: 62vh;
  }

  .project-story {
    max-height: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 680px;
    padding-top: 145px;
  }

  .line-cards,
  .process-grid,
  .product-page-grid,
  .featured-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portfolio-section {
    width: min(100% - 20px, 1440px);
    padding-top: 55px;
  }

  .filters-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .portfolio-card__image {
    aspect-ratio: 4 / 3;
  }

  .portfolio-card__body {
    min-height: 0;
  }

  .project-dialog {
    width: 100vw;
    max-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .project-viewer {
    min-height: 100vh;
  }

  .project-gallery {
    min-height: 52vh;
    padding: 8px;
  }

  .project-gallery__stage img {
    max-height: 48vh;
  }

  .project-story {
    padding: 38px 22px 34px;
  }

  .project-story h2 {
    padding-right: 35px;
    font-size: 2.5rem;
  }

  .project-dialog__close {
    top: 12px;
    right: 12px;
  }

  .brand__mark {
    font-size: 44px;
  }

  .nav {
    min-height: 78px;
  }

  .cta-band {
    padding: 28px 0;
  }
}
