:root {
  --ink: #101011;
  --ink-soft: #1b1b1d;
  --paper: #f2efe9;
  --paper-bright: #faf8f3;
  --line-dark: rgba(255, 255, 255, 0.17);
  --line-light: rgba(16, 16, 17, 0.17);
  --muted: #a6a3a0;
  --orange: #f36d2f;
  --orange-dark: #d95720;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-x: clamp(1.25rem, 4vw, 5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper-bright);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  background: var(--orange);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 0.85rem var(--page-x);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.scrolled {
  background: rgba(16, 16, 17, 0.88);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.25rem);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.7rem 1rem;
}

.nav-cta:hover {
  background: var(--paper-bright);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: 0;
  padding: 0.6rem;
  color: white;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.35rem 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
  background: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8.5rem, 13vh, 10.5rem) clamp(2rem, 5vw, 6.5rem) 3rem var(--page-x);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--orange-dark);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.6vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 248, 243, 0.55);
}

.hero-intro {
  max-width: 39rem;
  margin: clamp(1.75rem, 4vw, 3rem) 0 0;
  color: #c9c6c1;
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  min-height: 3.4rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: var(--ink);
}

.button-primary:hover {
  background: #ff7a39;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
}

.button-secondary:hover {
  border-color: white;
  background: white;
  color: var(--ink);
}

.hero-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 43rem;
  margin: clamp(2.75rem, 7vh, 5rem) 0 0;
}

.hero-numbers div {
  border-top: 1px solid var(--line-dark);
  padding-top: 0.8rem;
}

.hero-numbers dt {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1;
}

.hero-numbers dd {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.hero-portrait {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #393939;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 16, 17, 0.16), transparent 32%), linear-gradient(0deg, rgba(16, 16, 17, 0.45), transparent 42%);
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: contrast(1.04);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero:hover .hero-portrait img {
  transform: scale(1.015);
}

.portrait-word {
  position: absolute;
  z-index: 2;
  top: 8rem;
  right: -0.8rem;
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(3.25rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  writing-mode: vertical-rl;
}

.portrait-caption {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  padding-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-caption span {
  color: var(--orange);
}

.section-pad {
  padding: var(--section-y) var(--page-x);
}

.statement {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4rem, 0.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 8rem);
  background: var(--paper);
  color: var(--ink);
}

.section-index {
  color: rgba(16, 16, 17, 0.25);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.statement h2,
.section-heading h2,
.expertise-intro h2,
.projects-heading h2,
.method-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.statement h2 {
  max-width: 17ch;
}

.statement h2 em {
  color: var(--orange-dark);
  font-weight: 400;
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 6rem);
  max-width: 64rem;
  margin: clamp(3rem, 7vw, 6rem) 0 0 auto;
}

.statement-grid p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: #4a4845;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.brands {
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading h2 {
  max-width: 12ch;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  padding: clamp(1.6rem, 3vw, 2.75rem);
  border-right: 1px solid var(--line-dark);
  transition: background 220ms ease, color 220ms ease;
}

.brand-card:last-child {
  border-right: 0;
}

.brand-card:hover,
.brand-card-featured {
  background: var(--orange);
  color: var(--ink);
}

.brand-card-featured:hover {
  background: #ff7a39;
}

.card-number {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-card:hover .card-number,
.brand-card-featured .card-number {
  color: rgba(16, 16, 17, 0.58);
}

.card-kicker {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-card:hover .card-kicker,
.brand-card-featured .card-kicker {
  color: rgba(16, 16, 17, 0.7);
}

.brand-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-card > p:not(.card-kicker) {
  max-width: 32rem;
  margin: 1.4rem 0 2.5rem;
  color: #bdb9b4;
}

.brand-card:hover > p:not(.card-kicker),
.brand-card-featured > p:not(.card-kicker) {
  color: rgba(16, 16, 17, 0.77);
}

.brand-card a {
  width: fit-content;
  margin-top: auto;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expertise {
  display: grid;
  grid-template-columns: minmax(19rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(4rem, 9vw, 10rem);
  background: var(--paper-bright);
  color: var(--ink);
}

.expertise-intro {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.expertise-intro h2 {
  max-width: 11ch;
}

.expertise-intro > p:last-child {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: #66615c;
  font-size: 1.05rem;
}

.expertise-list {
  border-top: 1px solid var(--line-light);
}

.expertise-row {
  display: grid;
  grid-template-columns: 3rem minmax(10rem, 0.8fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line-light);
}

.expertise-number {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.expertise-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.expertise-row p {
  margin: 0;
  color: #66615c;
}

.projects {
  background: var(--ink-soft);
}

.projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.projects-heading h2 {
  max-width: 11ch;
}

.projects-heading > p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  color: #bbb7b2;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.project-card {
  min-height: 17.5rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink-soft);
  transition: background 220ms ease, color 220ms ease;
}

.project-card:hover {
  background: var(--paper);
  color: var(--ink);
}

.project-card p {
  margin: 0 auto auto 0;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.7vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.project-card span {
  color: #aaa6a1;
  font-size: 0.82rem;
}

.project-card:hover span {
  color: #66615c;
}

.project-card-wide {
  grid-column: span 3;
  min-height: 14rem;
}

.projects-note {
  margin: 1.25rem 0 0;
  color: #8d8985;
  font-size: 0.78rem;
}

.construction-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.construction-proof {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.85rem;
  padding: 1.8rem clamp(1rem, 2.4vw, 2.5rem);
  border-right: 1px solid var(--line-dark);
}

.construction-proof:first-child {
  padding-left: 0;
}

.construction-proof:last-child {
  border-right: 0;
}

.construction-proof strong {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.construction-proof span {
  color: #aaa6a1;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.construction-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.construction-preview-card {
  position: relative;
  min-height: 25rem;
  margin: 0;
  overflow: hidden;
  background: #2a2a2b;
}

.construction-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 550ms ease, filter 300ms ease;
}

.construction-preview-card:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}

.construction-preview-card figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.construction-preview-card figcaption span {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projects-button {
  width: fit-content;
  margin-top: 2rem;
}

.service-choice {
  background: var(--paper);
  color: var(--ink);
}

.service-choice-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.45fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.service-choice-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.service-choice-heading h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.service-choice-heading > p:last-child {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: #5f5a55;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-light);
}

.service-choice-card {
  min-height: 30rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border-right: 1px solid var(--line-light);
}

.service-choice-card:last-child {
  border-right: 0;
}

.service-choice-card-dark {
  background: var(--ink);
  color: var(--paper-bright);
}

.service-choice-card > span {
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-choice-card h3 {
  margin: auto 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.service-choice-card p {
  margin: 0 0 2rem;
  color: #605c57;
}

.service-choice-card-dark p {
  color: #bdb9b4;
}

.service-choice-card a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Nuove costruzioni */
.construction-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(34rem, 1.1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(8rem, 13vh, 10rem) var(--page-x) 3rem;
  background: var(--ink);
}

.construction-hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.7rem, 6.5vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.construction-hero-copy h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 248, 243, 0.55);
}

.construction-hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: #c4c0bb;
  font-size: clamp(1.03rem, 1.35vw, 1.2rem);
}

.construction-hero-gallery {
  min-height: 69vh;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1.1fr 0.9fr;
  gap: 0.65rem;
}

.construction-hero-gallery figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #333;
}

.construction-hero-main {
  grid-row: span 2;
}

.construction-hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.construction-hero-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(16, 16, 17, 0.88), transparent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.construction-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 var(--page-x);
  background: var(--orange);
  color: var(--ink);
}

.construction-stats div {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.8rem;
  padding: 2rem clamp(1rem, 2.7vw, 3rem);
  border-right: 1px solid rgba(16, 16, 17, 0.25);
}

.construction-stats div:first-child {
  padding-left: 0;
}

.construction-stats div:last-child {
  border-right: 0;
}

.construction-stats strong {
  font-family: var(--display);
  font-size: clamp(3.4rem, 5.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.construction-stats span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.construction-approach {
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(4rem, 9vw, 10rem);
  background: var(--paper);
  color: var(--ink);
}

.construction-approach-heading h2,
.portfolio-heading h2,
.new-projects-heading h2,
.developer-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.construction-approach-heading h2 {
  max-width: 11ch;
}

.construction-approach-heading > p:last-child {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: #5f5a55;
}

.construction-process {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.construction-process li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.3rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line-light);
}

.construction-process li > span {
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.construction-process h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.construction-process p {
  margin: 0;
  color: #625e59;
}

.portfolio {
  background: var(--paper-bright);
  color: var(--ink);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.5fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(5rem, 9vw, 9rem);
}

.portfolio-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.portfolio-heading h2 {
  max-width: 10ch;
}

.portfolio-heading > p:last-child {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: #5f5a55;
}

.portfolio-city + .portfolio-city {
  margin-top: clamp(5rem, 9vw, 9rem);
}

.portfolio-city-heading {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
}

.portfolio-city-heading > span {
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.portfolio-city-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.portfolio-city-heading p {
  margin: 0;
  color: #706b65;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.portfolio-card {
  margin: 0;
  background: #e7e2da;
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 1.23 / 1;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.02);
  transition: transform 500ms ease, filter 260ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}

.portfolio-card figcaption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 1.15rem;
}

.portfolio-card figcaption span {
  color: var(--orange-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-card figcaption strong {
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: right;
}

.new-projects {
  background: var(--ink-soft);
}

.new-projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.5fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.new-projects-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.new-projects-heading h2 {
  max-width: 9ch;
}

.new-projects-heading > p:last-child {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  color: #bcb8b3;
}

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

.portfolio-card-new {
  background: #29292a;
  color: var(--paper-bright);
  border: 1px solid var(--line-dark);
}

.portfolio-card-new figcaption span {
  color: var(--orange);
}

.developer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: clamp(4rem, 10vw, 11rem);
  align-items: end;
  background: var(--ink);
}

.developer-cta h2 {
  max-width: 13ch;
}

.developer-cta-copy > p:not(.eyebrow) {
  max-width: 43rem;
  margin: 2rem 0;
  color: #bcb8b3;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.method {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(4rem, 9vw, 10rem);
  background: var(--paper);
  color: var(--ink);
}

.method-heading h2 {
  max-width: 9ch;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.method-steps li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.method-steps li > span {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.method-steps h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.method-steps p {
  margin: 0;
  color: #66615c;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--orange);
  color: var(--ink);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 11rem;
  padding: 0 clamp(1.2rem, 3vw, 3rem);
  border-right: 1px solid rgba(16, 16, 17, 0.25);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(3rem, 5.6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.proof-item span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.manifesto {
  position: relative;
  min-height: 35rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper-bright);
  color: var(--ink);
  text-align: center;
}

.manifesto-mark {
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(16, 16, 17, 0.04);
  font-family: var(--display);
  font-size: 34rem;
  line-height: 1;
}

.manifesto blockquote {
  position: relative;
  z-index: 1;
  max-width: 65rem;
  margin: 0;
}

.manifesto blockquote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.manifesto cite {
  display: block;
  margin-top: 2rem;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: clamp(4rem, 10vw, 11rem);
  align-items: end;
  background: var(--ink);
}

.contact h2 {
  max-width: 13ch;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 44rem;
  margin: 2rem 0;
  color: #bcb8b3;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.button-light {
  background: var(--paper-bright);
  color: var(--ink);
}

.button-light:hover {
  background: var(--orange);
}

.contact-details {
  margin: 0;
  font-style: normal;
  border-top: 1px solid var(--line-dark);
}

.contact-details div {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: #d0ccc6;
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: white;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem var(--page-x);
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: #8e8a86;
  font-size: 0.72rem;
}

.footer-brand {
  color: var(--paper-bright);
}

.site-footer > p {
  margin: 0;
  text-align: center;
}

.site-footer > div {
  display: flex;
  justify-content: end;
  gap: 1.3rem;
}

.site-footer a:hover {
  color: var(--paper-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
  }

  .hero-copy {
    padding-right: 2rem;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 24rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .brand-card:last-child {
    border-bottom: 0;
  }

  .project-card-wide {
    grid-column: span 3;
  }

  .construction-hero {
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.9fr);
  }

  .construction-hero-gallery {
    min-height: 60vh;
  }

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

@media (max-width: 820px) {
  .site-header {
    min-height: 4.5rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

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

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

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

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
    padding: 6rem var(--page-x);
    background: var(--ink);
    font-family: var(--display);
    font-size: clamp(2.2rem, 10vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    text-transform: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 300ms ease, visibility 300ms ease;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 1rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-portrait {
    min-height: 82svh;
  }

  .hero-portrait img {
    object-position: 50% 38%;
  }

  .statement {
    grid-template-columns: 1fr;
  }

  .section-index {
    display: none;
  }

  .statement-grid,
  .projects-heading,
  .expertise,
  .method,
  .contact,
  .service-choice-heading,
  .construction-hero,
  .construction-approach,
  .portfolio-heading,
  .new-projects-heading,
  .developer-cta {
    grid-template-columns: 1fr;
  }

  .expertise-intro {
    position: static;
  }

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

  .project-card-wide {
    grid-column: span 2;
  }

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

  .construction-proof:nth-child(2),
  .construction-stats div:nth-child(2) {
    border-right: 0;
  }

  .construction-proof:nth-child(-n + 2),
  .construction-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .construction-stats div:nth-child(-n + 2) {
    border-bottom-color: rgba(16, 16, 17, 0.25);
  }

  .construction-preview {
    grid-template-columns: 1fr;
  }

  .construction-preview-card {
    min-height: 32rem;
  }

  .service-choice-heading .eyebrow,
  .portfolio-heading .eyebrow,
  .new-projects-heading .eyebrow {
    margin-bottom: 0;
  }

  .service-choice-grid {
    grid-template-columns: 1fr;
  }

  .service-choice-card {
    min-height: 25rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .service-choice-card:last-child {
    border-bottom: 0;
  }

  .construction-hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .construction-hero-copy h1 {
    max-width: 11ch;
  }

  .construction-hero-gallery {
    min-height: 75svh;
    margin-top: 1rem;
  }

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

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 0;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer > p {
    text-align: left;
  }

  .site-footer > div {
    justify-content: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.7rem;
  }

  .hero-copy {
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16.5vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .hero-numbers div:last-child {
    grid-column: span 2;
  }

  .hero-portrait {
    min-height: 72svh;
  }

  .portrait-caption {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .statement-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .expertise-row {
    grid-template-columns: 2.2rem 1fr;
  }

  .expertise-row p {
    grid-column: 2;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-wide {
    grid-column: auto;
    min-height: 15rem;
  }

  .construction-proof,
  .construction-stats div {
    min-height: 10.5rem;
    padding: 1.5rem 1rem;
  }

  .construction-proof:first-child,
  .construction-stats div:first-child {
    padding-left: 1rem;
  }

  .construction-preview-card {
    min-height: 24rem;
  }

  .service-choice-card {
    min-height: 24rem;
  }

  .construction-hero-copy h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .construction-hero-gallery {
    min-height: 62svh;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.2fr 0.8fr;
  }

  .construction-hero-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .portfolio-city-heading {
    grid-template-columns: 2.2rem minmax(0, 1fr);
  }

  .portfolio-city-heading p {
    grid-column: 2;
  }

  .portfolio-grid,
  .portfolio-grid-two,
  .portfolio-grid-new {
    grid-template-columns: 1fr;
  }

  .portfolio-card figcaption {
    align-items: start;
  }

  .portfolio-card figcaption strong {
    font-size: 1.25rem;
  }

  .method-steps li {
    grid-template-columns: 2.5rem 1fr;
  }

  .proof {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .proof-item,
  .proof-item:first-child {
    min-height: 9rem;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 16, 17, 0.25);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .contact h2 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
