:root {
  color-scheme: light;
  --penta-navy: #2c3851;
  --penta-burgundy: #862d37;
  --penta-surface: #eeeae0;
  --header-height: 102px;
  --about-section-gap: 80px;
  --editorial-quote-spacing: clamp(76px, 7.5vw, 108px);
  --seasons-font: "The Seasons", "Cormorant Garamond", Georgia, serif;
  --founder-title-size: clamp(25px, 2.2vw, 32px);
  --footer-horizontal-gap: clamp(34px, 3.6vw, 64px);
  --ink: var(--penta-navy);
  --navy: var(--penta-navy);
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--penta-surface);
  color: var(--ink);
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 800ms linear,
    visibility 0s linear 800ms;
}

.page-loader__veil {
  position: absolute;
  inset: 0;
  background: rgba(238, 234, 224, 0.9);
}

.page-loader__stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(195.5px, 18.4vw, 230px);
  height: clamp(195.5px, 18.4vw, 230px);
  overflow: visible;
}

.page-loader__media,
.page-loader__fallback {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 260ms ease;
}

.page-loader.is-media-ready .page-loader__media,
.page-loader.is-fallback-ready .page-loader__fallback {
  opacity: 1;
}

.page-loader.is-fallback-ready .page-loader__media {
  display: none;
}

.page-loader.is-dismissing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader.is-entering {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 420ms ease,
    visibility 0s linear 0s;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.about-hero__image {
  position: absolute;
  z-index: -2;
  inset: -32px 0;
  width: 100%;
  height: calc(100% + 64px);
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: translate3d(0, -25px, 0) scale(1.015);
  transform-origin: center center;
  will-change: opacity, transform;
}

.is-ready .hero__image,
.is-ready .about-hero__image {
  animation:
    hero-fade 1.8s ease-out forwards,
    hero-arrive 2.2s var(--ease-cinematic) forwards;
}

@keyframes hero-fade {
  to { opacity: 1; }
}

@keyframes hero-arrive {
  to { transform: translate3d(0, 0, 0) scale(1); }
}

.header-veil {
  position: fixed;
  z-index: 4;
  inset: 0 0 auto;
  height: var(--header-height);
  pointer-events: none;
  background-color: rgba(238, 234, 224, 0.8);
  opacity: 0;
}

.site-header {
  position: fixed;
  z-index: 6;
  inset: 0 0 auto;
  height: var(--header-height);
  padding: max(14px, env(safe-area-inset-top)) clamp(24px, 3.4vw, 58px) 0;
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  pointer-events: none;
}

.is-ready .header-veil,
.is-ready .site-header {
  animation: header-reveal 0.9s ease-out 1.3s forwards;
}

@keyframes header-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(215px, 24vw, 348px);
  max-width: calc(100vw - 180px);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-toggle {
  position: absolute;
  top: clamp(14px, 1.9vw, 22px);
  right: clamp(22px, 3.4vw, 58px);
  width: 54px;
  height: 50px;
  margin: 0;
  padding: 12px 8px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transform-origin: center;
  transition:
    width 260ms ease,
    transform 340ms var(--ease-cinematic),
    opacity 220ms ease;
}

.menu-toggle:hover span:nth-child(2),
.menu-toggle:focus-visible span:nth-child(2) {
  width: 29px;
}

.menu-toggle:focus-visible {
  outline: 1px solid var(--penta-navy);
  outline-offset: 3px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 16px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

.menu {
  position: fixed;
  z-index: 5;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: pan-y;
  transition: visibility 0s linear 650ms;
}

.menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(33, 28, 24, 0.08);
  opacity: 0;
  transition: opacity 500ms ease;
}

.menu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(460px, 100%);
  padding: clamp(145px, 18vh, 190px) clamp(46px, 6vw, 92px) 60px;
  background-color: rgba(238, 234, 224, 0.8);
  transform: translate3d(100%, 0, 0);
  transition: transform 650ms var(--ease-cinematic);
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  overflow: hidden;
}

.menu a {
  display: inline-block;
  padding: 7px 0;
  color: var(--penta-navy);
  font-size: clamp(19.8px, 2.16vw, 28.8px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.055em;
  text-decoration: none;
  transform: translateY(120%);
  opacity: 0;
  transition:
    color 280ms ease,
    opacity 420ms ease,
    transform 620ms var(--ease-cinematic);
}

.menu a:hover,
.menu a:focus-visible,
.menu a:active {
  color: var(--penta-burgundy);
}

.menu a:focus-visible {
  outline: 1px solid var(--penta-burgundy);
  outline-offset: 5px;
}

.menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.menu.is-open .menu__scrim {
  opacity: 1;
}

.menu.is-open .menu__panel {
  transform: translate3d(0, 0, 0);
}

.menu.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.menu.is-open li:nth-child(1) a { transition-delay: 0ms, 170ms, 170ms; }
.menu.is-open li:nth-child(2) a { transition-delay: 0ms, 220ms, 220ms; }
.menu.is-open li:nth-child(3) a { transition-delay: 0ms, 270ms, 270ms; }
.menu.is-open li:nth-child(4) a { transition-delay: 0ms, 320ms, 320ms; }
.menu.is-open li:nth-child(5) a { transition-delay: 0ms, 370ms, 370ms; }

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background-color: var(--penta-surface);
  color: var(--penta-navy);
}

.footer__inner {
  width: min(100%, 1760px);
  min-height: clamp(300px, 24vw, 360px);
  margin: 0 auto;
  padding: clamp(40px, 3.8vw, 56px) var(--footer-horizontal-gap);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
  align-items: start;
  column-gap: var(--footer-horizontal-gap);
  row-gap: clamp(28px, 2.2vw, 36px);
}

.footer-reveal-ready .footer__inner {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.footer-reveal-ready .footer__inner.is-visible {
  animation: footer-reveal 0.7s ease-out forwards;
}

@keyframes footer-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.footer__studio {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  display: flex;
  align-items: center;
  gap: clamp(32px, 2.6vw, 42px);
  min-width: 0;
}

.footer__symbol {
  display: block;
  flex: 0 0 auto;
  width: clamp(90px, 6vw, 102.5px);
  height: auto;
}

.footer__studio-data,
.founder {
  min-width: 0;
}

.footer__studio-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer__studio-data p,
.founder p,
.founder h2 {
  margin: 0;
}

.footer__studio-data p,
.footer__studio-data a,
.founder p,
.founder a {
  font-size: clamp(13.2px, 0.924vw, 14.3px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.045em;
}

.footer__studio-name,
.founder h2 {
  color: var(--penta-navy);
  font-weight: 300;
}

.footer__studio-data .footer__studio-name {
  margin-bottom: 6px;
  font-size: clamp(15.4px, 1.04vw, 16.5px);
  line-height: 1.5;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.footer__founders {
  display: contents;
}

.founder--daniela { grid-column: 2; grid-row: 1; }
.founder--francesca { grid-column: 2; grid-row: 2; }
.founder--giulia { grid-column: 3; grid-row: 1; }
.founder--alessandra { grid-column: 3; grid-row: 2; }

.founder h2 {
  margin-bottom: 5px;
  font-size: clamp(16.5px, 1.172vw, 18.7px);
  line-height: 1.5;
  letter-spacing: 0.045em;
}

.footer__studio-data a,
.founder a {
  color: var(--penta-navy);
  text-decoration-color: rgba(44, 56, 81, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  transition:
    color 280ms ease,
    text-decoration-color 280ms ease;
}

.footer__studio-data a:hover,
.footer__studio-data a:focus-visible,
.footer__studio-data a:active,
.founder a:hover,
.founder a:focus-visible,
.founder a:active {
  color: var(--penta-burgundy);
  text-decoration-color: currentColor;
}

.footer__studio-data a:focus-visible,
.founder a:focus-visible {
  outline: 1px solid var(--penta-burgundy);
  outline-offset: 5px;
  border-radius: 1px;
}

/* Chi Siamo */

.about-page {
  background: var(--penta-surface);
  color: var(--penta-navy);
}

.about-main {
  width: 100%;
  overflow: clip;
}

.about-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #d5c2ad;
}

.about-hero__image {
  object-position: center center;
}

.about-editorial {
  padding: clamp(72px, 8vw, 118px) clamp(36px, 6vw, 92px) clamp(82px, 8vw, 124px);
  background: var(--penta-surface);
}

.about-intro {
  width: min(100%, 1260px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(38px, 4vw, 62px);
}

.about-intro__visual {
  position: relative;
  min-height: 100%;
}

.about-intro__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-intro__copy h1,
.about-intro__copy p,
.editorial-block h3,
.editorial-block p,
.manifesto-item h3,
.manifesto-item p,
.editorial-statement,
.about-quote-block,
.about-quote,
.founder-profile h2,
.founder-bio {
  margin: 0;
}

.about-intro__copy h1 {
  margin-bottom: 14px;
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: 70px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
}

.about-intro__copy p {
  color: var(--penta-navy);
  font-size: clamp(16px, 1.28vw, 18px);
  font-weight: 300;
  line-height: 1.58;
  letter-spacing: 0.035em;
  text-align: justify;
}

.about-intro__copy p + p {
  margin-top: 8px;
}

.about-principles,
.about-five-points {
  margin-right: auto;
}

.about-principles {
  width: min(72%, 860px);
  margin-left: max(0px, calc((100% - 1260px) / 2));
  margin-top: clamp(120px, 13vw, 184px);
}

.editorial-block + .editorial-block {
  margin-top: clamp(24px, 2.5vw, 36px);
}

.editorial-block h3 {
  margin-bottom: 4px;
  color: var(--penta-navy);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.editorial-block p {
  color: var(--penta-navy);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.035em;
  text-align: left;
}

.editorial-statement {
  width: min(100%, 1160px);
  margin: var(--editorial-quote-spacing) auto;
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-align: center;
}

.editorial-reveal-ready .editorial-title-reveal {
  opacity: 0;
  transform: translate3d(-25px, 0, 0);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

.editorial-reveal-ready .editorial-title-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-five-points {
  width: min(100%, 1100px);
  margin-left: auto;
}

.manifesto-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  padding: clamp(22px, 2.4vw, 34px) 0;
  border-top: 1px solid rgba(44, 56, 81, 0.2);
}

.manifesto-item:last-of-type {
  border-bottom: 1px solid rgba(44, 56, 81, 0.2);
}

.manifesto-item__number {
  padding-top: 3px;
  color: var(--penta-burgundy);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.manifesto-item h3 {
  margin-bottom: 5px;
  color: var(--penta-navy);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.manifesto-item p {
  color: var(--penta-navy);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.035em;
  text-align: left;
}

.about-quote-block {
  width: min(100%, 1160px);
  margin: var(--editorial-quote-spacing) auto;
  text-align: center;
}

.about-quote {
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: clamp(48px, 5.1vw, 74px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-align: center;
}

.about-quote-block figcaption {
  margin-top: clamp(20px, 2vw, 28px);
  color: var(--penta-navy);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.22em;
}

.founders-story {
  width: min(100%, 1260px);
  margin: clamp(96px, 10vw, 144px) auto 0;
  position: relative;
  scroll-margin-top: var(--header-height);
}

.founders-sticky {
  background: var(--penta-surface);
}

.founders-portraits,
.founders-bios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(42px, 6vw, 96px);
}

.founder-profile {
  min-width: 0;
  color: var(--penta-navy);
}

.founder-profile img {
  display: block;
  width: 80%;
  height: auto;
  margin-inline: auto;
  aspect-ratio: 196 / 270;
  object-fit: cover;
  object-position: center center;
}

.founder-profile h2 {
  min-height: 2.4em;
  margin: 14px 0 16px;
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: var(--founder-title-size);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.025em;
  text-align: center;
}

.founders-bio-mask {
  position: relative;
}

.founders-bios {
  transform: translate3d(0, var(--bio-offset, 0px), 0);
  will-change: transform;
}

.founder-bio {
  min-width: 0;
  color: var(--penta-navy);
  font-size: clamp(14px, 1.18vw, 17px);
  font-weight: 300;
  line-height: 1.52;
  letter-spacing: 0.045em;
  text-align: left;
}

.founders-story.is-sticky-enabled {
  height: var(--founders-story-height);
}

.founders-story.is-sticky-enabled .founders-sticky {
  position: sticky;
  top: var(--header-height);
  height: var(--founders-sticky-height);
  overflow: hidden;
}

.founders-story.is-sticky-enabled .founders-bio-mask {
  height: var(--founders-bio-mask-height);
  overflow: hidden;
}

/* Contatti */

.contact-page {
  background: var(--penta-surface);
  color: var(--penta-navy);
}

.contact-main {
  min-height: 100vh;
  padding: calc(var(--header-height) + clamp(72px, 8vw, 118px)) clamp(28px, 6vw, 92px) clamp(96px, 10vw, 154px);
  background: var(--penta-surface);
}

.contact-overview,
.contact-form-section {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

.contact-overview h1,
.contact-hours h2,
.contact-hours p,
.contact-instagram p,
.contact-form-section h2,
.contact-form-section__intro,
.contact-form__status p {
  margin: 0;
}

.contact-overview h1 {
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: clamp(68px, 7.2vw, 96px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.contact-direct {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: clamp(28px, 3vw, 40px);
}

.contact-direct a {
  color: var(--penta-navy);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: color 250ms ease;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  color: var(--penta-burgundy);
}

.contact-hours {
  margin-top: clamp(52px, 5.5vw, 76px);
}

.contact-hours h2 {
  margin-bottom: 14px;
  color: var(--penta-navy);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.contact-hours p {
  color: var(--penta-navy);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.contact-instagram {
  margin-top: clamp(54px, 6vw, 82px);
}

.contact-instagram > p {
  color: var(--penta-navy);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.contact-instagram a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--penta-navy);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 250ms ease;
}

.contact-instagram a:hover,
.contact-instagram a:focus-visible {
  color: var(--penta-burgundy);
}

.contact-instagram svg {
  width: 26px;
  height: 26px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.contact-instagram__dot {
  fill: currentColor;
  stroke: none;
}

.contact-form-section {
  margin-top: clamp(130px, 14vw, 196px);
}

.contact-form-section h2 {
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: clamp(42px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.contact-form-section__intro {
  width: min(100%, 650px);
  margin: 24px auto 0;
  color: var(--penta-navy);
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.035em;
}

.contact-form {
  margin-top: clamp(60px, 6vw, 82px);
  text-align: left;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 5vw, 64px);
  row-gap: 38px;
}

.contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--penta-navy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.055em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(44, 56, 81, 0.7);
  border-radius: 0;
  outline: none;
  padding: 10px 0 12px;
  background: transparent;
  color: var(--penta-navy);
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.035em;
  transition: border-color 250ms ease;
}

.contact-field select {
  cursor: pointer;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-bottom-color: var(--penta-burgundy);
}

.contact-field input[aria-invalid="true"],
.contact-field select[aria-invalid="true"],
.contact-field textarea[aria-invalid="true"] {
  border-bottom-color: var(--penta-burgundy);
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 38px;
  color: var(--penta-navy);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.contact-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--penta-burgundy);
}

.contact-consent a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 250ms ease;
}

.contact-consent a:hover,
.contact-consent a:focus-visible {
  color: var(--penta-burgundy);
}

.contact-form__status {
  margin-top: 34px;
  padding: 20px 24px;
  border-left: 2px solid var(--penta-burgundy);
  color: var(--penta-navy);
  background: rgba(44, 56, 81, 0.035);
}

.contact-form__status strong {
  display: block;
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.contact-form__status p {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.contact-submit {
  display: block;
  min-width: 230px;
  min-height: 52px;
  margin: 42px auto 0;
  border: 0;
  border-radius: 0;
  padding: 14px 28px;
  background: var(--penta-navy);
  color: var(--penta-surface);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.055em;
  cursor: pointer;
  transition: background-color 250ms ease, opacity 250ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--penta-burgundy);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

@media (max-width: 1180px) {
  .footer__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 50px;
    padding: 54px clamp(38px, 6vw, 72px);
  }

  .footer__studio {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .footer__symbol {
    width: clamp(90px, 11vw, 112.5px);
  }

  .footer__founders {
    display: grid;
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "daniela giulia"
      "francesca alessandra";
    column-gap: clamp(70px, 10vw, 124px);
    row-gap: clamp(30px, 4vw, 42px);
  }

  .founder--daniela { grid-area: daniela; }
  .founder--francesca { grid-area: francesca; }
  .founder--giulia { grid-area: giulia; }
  .founder--alessandra { grid-area: alessandra; }
}

@media (max-width: 1050px) {
  :root {
    --about-section-gap: 60px;
    --editorial-quote-spacing: 72px;
  }

  .about-editorial {
    padding-inline: clamp(34px, 6vw, 64px);
  }

  .about-intro {
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
    gap: 36px;
  }

  .about-intro__copy h1 {
    font-size: clamp(52px, 7vw, 62px);
  }

  .about-principles {
    width: min(84%, 720px);
    margin-left: 0;
    margin-top: 100px;
  }

  .founders-story {
    max-width: 720px;
    margin-top: 96px;
    height: auto !important;
  }

  .founders-sticky {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(52px, 9vw, 88px);
    row-gap: 0;
  }

  .founders-portraits,
  .founders-bio-mask,
  .founders-bios {
    display: contents;
  }

  .founders-bios {
    transform: none !important;
  }

  .founder-profile--daniela { grid-column: 1; grid-row: 1; }
  .founder-profile--francesca { grid-column: 2; grid-row: 1; }
  .founder-bio--daniela { grid-column: 1; grid-row: 2; }
  .founder-bio--francesca { grid-column: 2; grid-row: 2; }
  .founder-profile--giulia { grid-column: 1; grid-row: 3; margin-top: 64px; }
  .founder-profile--alessandra { grid-column: 2; grid-row: 3; margin-top: 64px; }
  .founder-bio--giulia { grid-column: 1; grid-row: 4; }
  .founder-bio--alessandra { grid-column: 2; grid-row: 4; }

  .founders-bio-mask {
    height: auto !important;
    overflow: visible !important;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 78px;
    --about-section-gap: 40px;
    --editorial-quote-spacing: 56px;
    --founder-title-size: 30px;
  }

  .hero__image {
    inset-block: -22px;
    height: calc(100% + 44px);
    object-position: 58% center;
    transform: translate3d(0, -16px, 0) scale(1.012);
  }

  .header-veil {
    height: var(--header-height);
  }

  .site-header {
    height: var(--header-height);
    padding-inline: 16px;
  }

  .brand {
    top: 50%;
    width: clamp(133px, 39vw, 189px);
    max-width: calc(100vw - 116px);
  }

  .menu-toggle {
    top: max(8px, env(safe-area-inset-top));
    right: 14px;
    width: 48px;
    height: 44px;
    padding: 11px 7px;
  }

  .menu-toggle span {
    width: 32px;
    height: 1.5px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .menu__panel {
    width: min(88vw, 390px);
    padding: 106px 42px 48px;
  }

  .page-loader__stage {
    width: clamp(138px, 41.4vw, 166.75px);
    height: clamp(138px, 41.4vw, 166.75px);
  }

  .about-hero {
    min-height: 540px;
  }

  .about-hero__image {
    object-position: 45% center;
  }

  .about-editorial {
    padding: 58px 24px 74px;
  }

  .about-intro {
    display: block;
  }

  .about-intro__visual {
    min-height: min(86vw, 360px);
    margin-bottom: 34px;
  }

  .about-intro__image {
    height: 100%;
  }

  .about-intro__copy h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .about-intro__copy p {
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
  }

  .about-principles {
    width: 100%;
    margin-top: 90px;
  }

  .founders-story {
    margin-top: 72px;
  }

  .editorial-block p {
    text-align: left;
  }

  .editorial-statement {
    font-size: clamp(38px, 11vw, 50px);
  }

  .manifesto-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding-block: 24px;
  }

  .manifesto-item__number {
    padding-top: 4px;
  }

  .about-quote {
    font-size: clamp(40px, 11.6vw, 56px);
    line-height: 1.03;
  }

  .contact-main {
    padding: calc(var(--header-height) + 62px) 24px 92px;
  }

  .contact-overview h1 {
    font-size: clamp(58px, 19vw, 74px);
  }

  .contact-direct a {
    font-size: clamp(18px, 5.4vw, 22px);
  }

  .contact-hours {
    margin-top: 50px;
  }

  .contact-hours p {
    font-size: 18px;
  }

  .contact-instagram {
    margin-top: 54px;
  }

  .contact-form-section {
    margin-top: 112px;
  }

  .contact-form-section h2 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .contact-form-section__intro {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-form {
    margin-top: 54px;
  }

  .contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .contact-field--full {
    grid-column: auto;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .contact-field textarea {
    min-height: 150px;
  }

  .contact-consent {
    font-size: 12px;
  }

  .contact-submit {
    width: 100%;
    min-height: 54px;
  }

  .founders-story {
    max-width: 420px;
  }

  .founders-sticky {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-profile h2 {
    min-height: 0;
  }

  .founder-profile img {
    width: min(80%, 256px);
    margin-inline: auto;
  }

  .founder-bio {
    font-size: 15px;
    line-height: 1.62;
    text-align: left;
  }

  .founder-profile--daniela { grid-column: 1; grid-row: 1; }
  .founder-bio--daniela { grid-column: 1; grid-row: 2; }
  .founder-profile--francesca { grid-column: 1; grid-row: 3; margin-top: 58px; }
  .founder-bio--francesca { grid-column: 1; grid-row: 4; }
  .founder-profile--giulia { grid-column: 1; grid-row: 5; margin-top: 58px; }
  .founder-bio--giulia { grid-column: 1; grid-row: 6; }
  .founder-profile--alessandra { grid-column: 1; grid-row: 7; margin-top: 58px; }
  .founder-bio--alessandra { grid-column: 1; grid-row: 8; }

  .footer__inner {
    display: block;
    min-height: auto;
    padding: 48px 28px 54px;
  }

  .footer__studio {
    display: block;
  }

  .footer__symbol {
    width: min(30vw, 110px);
    margin-bottom: 40px;
  }

  .footer__studio-data {
    margin-bottom: 58px;
  }

  .footer__studio-data .footer__studio-name {
    white-space: normal;
  }

  .footer__studio-data p,
  .footer__studio-data a,
  .founder p,
  .founder a {
    font-size: 15.4px;
    line-height: 1.7;
  }

  .footer__founders {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .founder + .founder {
    margin-top: 42px;
  }

  .founder h2 {
    font-size: 18.7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .hero__image,
  .about-hero__image,
  .header-veil,
  .site-header,
  .footer__inner {
    opacity: 1;
    transform: none;
  }

  .page-loader {
    transition-duration: 350ms !important;
  }

  .page-loader__stage {
    display: none;
  }

  .editorial-reveal-ready .editorial-title-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Il Nostro Metodo */
.method-page { background: var(--penta-surface); }
.method-main { padding-top: 0; }
.method-hero { position: relative; width: 100%; aspect-ratio: auto; height: min(76svh, calc(100svh - var(--header-height) - 150px)); min-height: 0; overflow: hidden; background: var(--penta-surface); }
.method-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 110%; }
.method-intro { position: relative; min-height: calc(100svh + 95vh); padding: 0 clamp(28px, 6vw, 96px); }
.method-intro__pin { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); min-height: 510px; padding-top: clamp(18px, 2vw, 28px); overflow: hidden; }
.method-intro h1 { margin: 0 0 clamp(20px, 3vw, 38px); color: var(--penta-burgundy); font-family: var(--seasons-font); font-size: clamp(38px, 4.8vw, 66px); font-weight: 400; line-height: 1.06; letter-spacing: 0; }
.method-intro__body { width: 49%; max-width: 660px; }
.method-intro__body p { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; }
.method-words { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.method-words span { position: absolute; left: 50%; top: 50%; display: block; width: max-content; max-width: 100%; color: var(--penta-navy); font-family: Montserrat, sans-serif; font-size: clamp(13px, 1.28vw, 18px); font-weight: 500; letter-spacing: .025em; opacity: 1; transform: translate(-50%, -50%); will-change: left, top, transform, opacity; white-space: nowrap; }
.method-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 92px); align-items: center; width: min(100% - clamp(56px, 12vw, 192px), 1420px); margin: 0 auto; padding: clamp(34px, 4.8vw, 70px) 0; }
.method-stage--reverse .method-stage__image { order: 0; }
.method-stage--reverse .method-stage__copy { order: 1; }
.method-stage__copy { max-width: 600px; }
.method-stage__title { margin: 0 0 24px; color: var(--penta-burgundy); font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: .025em; }
.method-stage__lead { margin: 0 0 22px; font-weight: 400; line-height: 1.65; }
.method-stage__copy p:not(.method-stage__lead) { margin: 0 0 16px; line-height: 1.7; }
.method-stage__image { position: relative; display: block; width: 85%; justify-self: center; margin: 0; overflow: hidden; background: #ddd5c8; }
.method-stage__image > img, .method-lens > img { display: block; width: 100%; height: auto; object-fit: contain; }
.method-stage__image > img { opacity: 0; transition: opacity 900ms ease-out; }
.method-stage__image.is-visible > img { opacity: 1; }
.method-lens { touch-action: pan-y; cursor: crosshair; }
.method-lens__base { position: relative; z-index: 0; }
.method-lens__reveal { position: absolute !important; inset: 0; z-index: 1; height: 100% !important; clip-path: circle(0 at 50% 50%); pointer-events: none; }
.method-lens__circle { position: absolute; z-index: 2; width: clamp(140px, 17vw, 210px); aspect-ratio: 1; border: 1px solid var(--penta-burgundy); border-radius: 50%; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity 180ms ease; }
.method-lens.is-active .method-lens__circle { opacity: 1; }
.method-lens__reveal.is-active { clip-path: circle(var(--lens-radius, 90px) at var(--lens-x, 50%) var(--lens-y, 50%)); }
.method-stage__title { opacity: 0; transform: translate3d(var(--title-start, -34px), 0, 0); transition: opacity 720ms ease-out, transform 720ms ease-out; }
.method-stage--reverse .method-stage__title { --title-start: 34px; }
.method-stage__title.is-visible { opacity: 1; transform: translate3d(0,0,0); }
@media (max-width: 760px) {
 .method-hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
 .method-intro { min-height: calc(100svh + 80vh); padding: 0 24px; }
 .method-intro__pin { height: calc(100svh - var(--header-height)); min-height: 540px; padding-top: 24px; }
 .method-intro__body { width: 100%; max-width: none; }
 .method-words span { font-size: 12px; }
 .method-stage { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 24px; padding: 46px 0; }
 .method-stage--reverse .method-stage__image, .method-stage--reverse .method-stage__copy { order: initial; }
 .method-stage__image { width: 85%; max-width: 560px; }
 .method-stage__copy { max-width: none; }
}
@media (max-width: 760px) {
 .method-intro__pin { overflow: visible; }
 .method-words span { white-space: normal; text-align: center; max-width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
 .method-stage__title, .method-stage__image > img { opacity: 1; transform: none; transition: none; }
 .method-intro { min-height: 0; }
 .method-intro__pin { position: relative; top: auto; height: auto; min-height: 0; padding-bottom: 60px; overflow: visible; }
}

/* Compact shared navigation panel */
.menu__panel {
  width: min(340px, 100vw);
  padding: clamp(102px, 15vh, 158px) clamp(34px, 4vw, 62px) 42px;
  background-color: rgba(238, 234, 224, 0.9);
}

.menu a {
  padding-block: 4px;
  font-size: clamp(16px, 1.72vw, 23px);
}

.menu li + li { margin-top: 3px; }

/* About: centered editorial introduction without the former illustration */
.about-intro {
  display: block;
  width: min(100%, 1260px);
}

.about-intro__visual { display: none; }

.about-intro__copy h1 {
  margin-bottom: clamp(26px, 3vw, 42px);
  text-align: center;
}

.about-intro__copy p {
  max-width: none;
  text-align: left;
}

.about-intro__copy p + p { margin-top: 14px; }

#progetti { scroll-margin-top: calc(var(--header-height) + 24px); }

@media (max-width: 760px) {
  .menu__panel {
    width: min(72vw, 320px);
    padding: 86px 27px 34px;
  }

  .menu a { font-size: clamp(16px, 4.4vw, 20px); }

  .about-intro__copy h1 {
    margin-bottom: 24px;
    text-align: center;
  }
}

/* Solid shared header, flow offsets and discreet inactive Portfolio item */
:root {
  --editorial-quote-spacing: clamp(56px, 5.6vw, 84px);
}

.header-veil {
  background-color: #edebdf;
}

.method-main {
  padding-top: var(--header-height);
}

.method-hero {
  height: min(76svh, calc(100svh - var(--header-height) - 150px));
  min-height: 0;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .method-hero {
    height: min(52vw, calc(100svh - var(--header-height) - 140px));
  }
}

.about-main {
  padding-top: var(--header-height);
}

.about-hero {
  height: calc(100svh - var(--header-height));
  min-height: min(620px, calc(100svh - var(--header-height)));
}

.about-hero .about-hero__image {
  inset: 0;
  height: 100%;
}

.method-stage {
  gap: clamp(30px, 5vw, 78px);
  padding-block: clamp(30px, 4vw, 58px);
}

.method-stage__title {
  margin-bottom: 20px;
}

.method-stage__lead {
  margin-bottom: 18px;
}

.method-stage__copy p:not(.method-stage__lead) {
  margin-bottom: 14px;
}

.founders-story {
  margin-top: clamp(32px, 3.2vw, 46px);
}

.method-stage--01 {
  padding-top: calc(clamp(30px, 4vw, 58px) * 0.75);
}

.about-intro__copy h1 { margin-bottom: clamp(22px, 2.4vw, 34px); }
.about-editorial { padding-bottom: clamp(56px, 5vw, 74px); }
.manifesto-item { padding-block: clamp(19px, 2vw, 29px); }

.editorial-statement,
.about-quote-block {
  margin-block: var(--editorial-quote-spacing);
}

.founders-story + .editorial-statement {
  margin-top: clamp(36px, 3.4vw, 52px);
}

.menu__item {
  display: inline-block;
  padding: 4px 0;
  color: var(--penta-navy);
  font-size: clamp(16px, 1.72vw, 23px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.055em;
  opacity: 0;
  transform: translateY(120%);
  transition: opacity 420ms ease, transform 620ms var(--ease-cinematic);
  cursor: default;
}

.menu__item--link {
  cursor: pointer;
}

.menu.is-open .menu__item {
  opacity: 0.68;
  transform: translateY(0);
}

.menu.is-open .menu__item--link {
  opacity: 1;
}

.menu li:nth-child(3) .menu__item {
  transition-delay: 220ms, 220ms;
}

/* Editorial portfolio and project pages */
.portfolio-page,
.project-page {
  background: var(--penta-surface);
}

.portfolio-main {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(34px, 5vw, 68px)) clamp(28px, 4.1vw, 64px) clamp(72px, 8vw, 116px);
}

.portfolio-intro h1 {
  margin: 0 0 clamp(24px, 3.1vw, 44px);
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: clamp(56px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  text-align: center;
}

.portfolio-intro p {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto clamp(28px, 3.1vw, 46px);
  color: var(--penta-navy);
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.65;
  text-align: left;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 40px);
}

.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.9;
  background: var(--penta-surface);
  color: #f7f3eb;
  text-decoration: none;
}

.portfolio-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 400ms ease-in-out;
}

.portfolio-card span {
  position: absolute;
  inset: 50% 8% auto;
  z-index: 1;
  color: #f7f3eb;
  font-family: var(--seasons-font);
  font-size: clamp(34px, 4.3vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  transform: translateY(-50%);
  transition: color 400ms ease-in-out;
}

.portfolio-card:focus-visible {
  outline: 2px solid var(--penta-burgundy);
  outline-offset: 5px;
}

.project-main {
  padding-top: var(--header-height);
  padding-bottom: clamp(64px, 8vw, 116px);
}

.project-hero {
  width: 100%;
  height: clamp(360px, 47vw, 700px);
  margin: 0;
  overflow: hidden;
  background: var(--penta-surface);
}

.project-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-content {
  width: min(100% - clamp(48px, 10vw, 152px), 1220px);
  margin: 0 auto;
  padding-top: clamp(34px, 4.3vw, 62px);
}

.project-title {
  margin: 0 0 clamp(24px, 3vw, 42px);
  color: var(--penta-burgundy);
  font-family: var(--seasons-font);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  text-align: center;
  opacity: 0;
  transition: opacity 850ms ease-out;
}

.is-ready .project-title {
  opacity: 1;
}

.project-facts {
  margin: 0 0 clamp(26px, 3vw, 42px);
  padding: clamp(16px, 2vw, 26px) clamp(20px, 2.5vw, 36px);
  background: #e8e1d5;
  color: var(--penta-navy);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.55;
}

.project-facts > div {
  display: grid;
  grid-template-columns: minmax(175px, 24%) minmax(0, 1fr);
  gap: 14px;
  padding: 4px 0;
}

.project-facts dt {
  font-weight: 400;
  letter-spacing: 0.04em;
}

.project-facts dd {
  margin: 0;
}

.project-description {
  color: var(--penta-navy);
  font-size: clamp(15px, 1.12vw, 17px);
  font-weight: 300;
  line-height: 1.75;
}

.project-description p {
  margin: 0 0 10px;
}

.project-description p:last-child {
  margin-bottom: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  width: min(100% - clamp(48px, 10vw, 152px), 1220px);
  margin: clamp(30px, 4vw, 56px) auto 0;
}

.project-gallery__item {
  overflow: hidden;
  aspect-ratio: 0.82;
  margin: 0;
  background: var(--penta-surface);
}

.project-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-gallery__item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 1.62;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover img,
  .portfolio-card:focus-visible img {
    opacity: 0.3;
  }

  .portfolio-card:hover span,
  .portfolio-card:focus-visible span {
    color: var(--penta-burgundy);
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .method-hero {
    height: min(56vw, calc(100svh - var(--header-height) - 160px));
    min-height: 0;
  }

  .about-hero {
    min-height: min(540px, calc(100svh - var(--header-height)));
  }

  .founders-story {
    margin-top: 28px;
  }

  .menu__item {
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .portfolio-main {
    padding-inline: 22px;
    padding-top: calc(var(--header-height) + 28px);
  }

  .portfolio-intro h1 {
    margin-bottom: 22px;
    font-size: clamp(48px, 13vw, 66px);
  }

  .portfolio-intro p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.65;
  }

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

  .portfolio-card {
    aspect-ratio: 0.98;
  }

  .portfolio-card span {
    font-size: clamp(38px, 10vw, 48px);
  }

  .project-hero {
    height: min(68svh, calc(100vw * 0.9));
  }

  .project-content,
  .project-gallery {
    width: calc(100% - 40px);
  }

  .project-content {
    padding-top: 28px;
  }

  .project-title {
    margin-bottom: 24px;
    font-size: clamp(34px, 9vw, 44px);
  }

  .project-facts {
    padding: 16px 18px;
  }

  .project-facts > div {
    grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
    gap: 8px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .project-gallery__item,
  .project-gallery__item--wide {
    grid-column: auto;
    aspect-ratio: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card img,
  .portfolio-card span,
  .project-title {
    transition: none;
  }

  .project-title {
    opacity: 1;
  }
}
