/* SAME Costruzioni — static redesign */
:root {
  --paper: #fffdfa;
  --ivory: #f5f2ec;
  --stone: #e9e4da;
  --stone-deep: #d8d0c3;
  --ink: #1d2420;
  --ink-soft: #3d4741;
  --muted: #68716b;
  --line: rgba(29, 36, 32, 0.16);
  --line-light: rgba(255, 255, 255, 0.26);
  --accent: #2859c7;
  --accent-strong: #1d479f;
  --accent-soft: #e8eeff;
  --charcoal: #1e2521;
  --charcoal-soft: #2d3731;
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: min(1184px, calc(100vw - 48px));
  --wide: min(1380px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .72, .2, 1);
  --shadow: 0 24px 65px rgba(36, 38, 30, 0.14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

img { height: auto; }

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

button, input, textarea { font: inherit; }

button { cursor: pointer; }

::selection { color: var(--paper); background: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.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;
}

.shell { width: var(--content); margin-inline: auto; }
.shell--wide { width: var(--wide); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  color: var(--ink);
  border-bottom: 1px solid rgba(29, 36, 32, .08);
  background: rgba(255, 253, 250, .96);
  backdrop-filter: blur(14px);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header--overlay {
  position: fixed;
  border-color: transparent;
  color: #fff;
  background: transparent;
  backdrop-filter: none;
}

.site-header--overlay.is-scrolled,
.site-header--overlay.nav-active {
  color: var(--ink);
  border-color: rgba(29, 36, 32, .08);
  background: rgba(255, 253, 250, .96);
  box-shadow: 0 8px 26px rgba(29, 36, 32, .08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 137px;
}

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

.site-nav { display: flex; align-items: center; gap: 1.5rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: .55rem 0;
  color: inherit;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .015em;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: .28rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s var(--ease);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: .55rem;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 730;
  letter-spacing: .055em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

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

.button--primary { color: #fff; background: var(--accent); }
.button--primary:hover { background: var(--accent-strong); }

.button--light { color: var(--ink); background: #fff; }
.button--light:hover { color: #fff; background: var(--ink); }

.button--outline { color: inherit; border-color: currentColor; background: transparent; }
.button--outline:hover { color: var(--paper); border-color: var(--ink); background: var(--ink); }

.button--quiet { min-height: 40px; padding-inline: 0; color: var(--accent); }
.button--quiet:hover { color: var(--accent-strong); }

.button--header { min-height: 42px; padding-inline: 1rem; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

main { overflow: clip; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(830px, 100svh);
  color: #fff;
  background: var(--charcoal);
}

.hero-media,
.hero-media::after { position: absolute; inset: 0; }

.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }

.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(14, 19, 16, .76) 0%, rgba(18, 24, 20, .42) 48%, rgba(18, 24, 20, .07) 100%), linear-gradient(0deg, rgba(14, 19, 16, .37), transparent 43%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--wide);
  padding-top: 10.8rem;
  padding-bottom: clamp(4rem, 10vh, 7.25rem);
  margin-inline: auto;
}

.hero-content__inner { max-width: 735px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.15rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.hero .eyebrow { color: #dce7ff; }

.display,
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; }

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

h1 { max-width: 11.5ch; margin-bottom: 1.25rem; font-size: clamp(3.2rem, 7.25vw, 6.9rem); line-height: .96; }

h2 { margin-bottom: 1rem; font-size: clamp(2.35rem, 4.6vw, 4.55rem); line-height: 1; }

h3 { margin-bottom: .65rem; font-size: clamp(1.65rem, 2.6vw, 2.4rem); line-height: 1.05; }

h4 { margin-bottom: .45rem; font-size: 1.42rem; line-height: 1.1; }

.hero-copy { max-width: 590px; margin-bottom: 2rem; color: rgba(255, 255, 255, .9); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.58; }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-meta {
  position: absolute;
  right: max(24px, calc((100vw - 1380px) / 2));
  bottom: 3.4rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .75);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-meta::before { width: 1px; height: 46px; content: ""; background: rgba(255, 255, 255, .55); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr);
  gap: clamp(2rem, 8vw, 10rem);
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.intro-copy { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.46rem); line-height: 1.47; }

.section { padding-block: clamp(4.7rem, 10vw, 9.5rem); }
.section--tight { padding-block: clamp(3.8rem, 7vw, 6.5rem); }
.section--ivory { background: var(--ivory); }
.section--stone { background: var(--stone); }
.section--dark { color: #f7f4ed; background: var(--charcoal); }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.25rem, 4vw, 3.8rem); }
.section-heading h2 { max-width: 12ch; margin-bottom: 0; }
.section-heading p { max-width: 380px; margin: 0; color: var(--muted); }
.section-heading--light p { color: rgba(247, 244, 237, .7); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.3vw, 2rem);
}

.project-card {
  position: relative;
  display: flex;
  min-height: 410px;
  overflow: hidden;
  color: #fff;
  background: #263029;
  isolation: isolate;
}

.project-card--feature { grid-column: span 7; min-height: 560px; }
.project-card--side { grid-column: span 5; }
.project-card--half { grid-column: span 6; min-height: 445px; }

.project-card__image { position: absolute; inset: 0; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.project-card__image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(15, 19, 16, .85), rgba(15, 19, 16, .06) 70%); }
.project-card:hover .project-card__image img { transform: scale(1.04); }

.project-card__body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: start; justify-content: end; padding: clamp(1.35rem, 3vw, 2.5rem); }
.project-card__label { margin-bottom: .65rem; color: #dce7ff; font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.project-card h3 { max-width: 14ch; margin-bottom: .75rem; }
.project-card p { max-width: 37ch; margin-bottom: 1.25rem; color: rgba(255, 255, 255, .83); }
.project-card__link { display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-card__link::after { content: "→"; font-size: 1.2rem; line-height: .5; transition: transform .25s var(--ease); }
.project-card:hover .project-card__link::after { transform: translateX(5px); }

.section-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.section-link::after { content: "→"; font-size: 1.15rem; transition: transform .25s var(--ease); }
.section-link:hover::after { transform: translateX(5px); }

.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.type-card { position: relative; display: grid; min-height: 500px; overflow: hidden; color: #fff; background: var(--charcoal); }
.type-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.type-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(13, 18, 15, .78), rgba(13, 18, 15, .02) 65%); }
.type-card:hover img { transform: scale(1.045); }
.type-card__body { position: relative; z-index: 1; align-self: end; padding: 1.8rem; }
.type-card__body h3 { margin-bottom: .55rem; }
.type-card__body span { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.88); font-size: .73rem; font-weight: 730; letter-spacing: .08em; text-transform: uppercase; }
.type-card__body span::after { content: "→"; font-size: 1.15rem; }

.quality-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2.25rem, 8vw, 9rem); align-items: start; }
.quality-intro { position: sticky; top: 8.6rem; }
.quality-intro p { max-width: 410px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.quality-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.quality-list li { display: grid; grid-template-columns: 66px 1fr; gap: 1.25rem; padding: 1.35rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.quality-list__index { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .1em; }
.quality-list h3 { margin-bottom: .3rem; font-size: 1.65rem; }
.quality-list p { max-width: 530px; margin: 0; color: var(--muted); }

.story-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1rem, 3.4vw, 3.75rem); align-items: center; }
.story-image { min-height: 600px; overflow: hidden; background: var(--stone-deep); }
.story-image img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.story-content { max-width: 470px; padding: 2rem 0; }
.story-content p { color: var(--ink-soft); font-size: 1.08rem; }
.story-list { margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.story-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 650; }

.archive-preview { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 310px 260px; gap: 1rem; }
.archive-tile { position: relative; overflow: hidden; color: #fff; background: var(--charcoal); }
.archive-tile:first-child { grid-row: span 2; }
.archive-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.archive-tile::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(16, 21, 18, .72), transparent 70%); }
.archive-tile:hover img { transform: scale(1.045); }
.archive-tile span { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.15rem; left: 1.25rem; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.05; }

.cta-panel { display: grid; grid-template-columns: 1.14fr .86fr; gap: 3rem; align-items: end; padding: clamp(2rem, 5vw, 4.5rem); background: var(--charcoal-soft); }
.cta-panel h2 { max-width: 10ch; margin-bottom: 0; }
.cta-panel__right { display: flex; flex-direction: column; align-items: start; }
.cta-panel__right p { max-width: 400px; margin-bottom: 1.5rem; color: rgba(247,244,237,.72); font-size: 1.05rem; }
.contact-inline { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1.25rem; }
.contact-inline a { display: inline-flex; align-items: center; gap: .42rem; color: #fff; font-size: .8rem; font-weight: 690; }
.contact-inline a::before { width: 6px; height: 6px; content: ""; border-radius: 50%; background: var(--accent); }

.site-footer { color: #e9e5dc; background: #171c19; }
.footer-main { display: grid; grid-template-columns: 1.2fr .7fr .85fr; gap: 2.5rem; padding-block: 4.5rem 3rem; }
.footer-logo { width: 145px; margin-bottom: 1.35rem; filter: brightness(0) invert(1); }
.footer-copy { max-width: 325px; margin: 0; color: rgba(233, 229, 220, .68); font-size: .9rem; }
.footer-heading { margin-bottom: 1.1rem; color: rgba(233,229,220,.56); font-family: var(--sans); font-size: .67rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #f1eee7; font-size: .9rem; transition: color .2s var(--ease); }
.footer-links a:hover { color: #a9c1ff; }
.footer-contact { display: grid; gap: .85rem; }
.footer-contact a, .footer-contact address { color: #f1eee7; font-size: .9rem; font-style: normal; }
.footer-contact address { color: rgba(233,229,220,.68); line-height: 1.65; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid var(--line-light); color: rgba(233,229,220,.54); font-size: .72rem; }
.footer-bottom a:hover { color: #fff; }

.mobile-contact-bar { display: none; }

/* Inner pages */
.page-hero { position: relative; min-height: 525px; color: #fff; background: var(--charcoal); }
.page-hero__media, .page-hero__media::after { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__media::after { content: ""; background: linear-gradient(90deg, rgba(15, 20, 17, .77), rgba(15,20,17,.24)); }
.page-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: end; min-height: 525px; padding: 8.6rem 0 4.4rem; }
.page-hero h1 { max-width: 11ch; margin-bottom: 0; font-size: clamp(3rem, 6.3vw, 5.8rem); }
.page-hero__intro { max-width: 570px; margin: 1.2rem 0 0; color: rgba(255,255,255,.86); font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.75); font-size: .74rem; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2rem; }
.breadcrumbs span[aria-hidden="true"] { opacity: .55; }

.subhero { padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); background: var(--ivory); }
.subhero h1 { max-width: 10.5ch; color: var(--ink); }
.subhero p { max-width: 600px; margin: 1.15rem 0 0; color: var(--ink-soft); font-size: 1.12rem; }
.subhero .eyebrow { margin-bottom: 1rem; }

.project-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(2.4rem, 8vw, 8rem); align-items: start; }
.project-intro__copy { max-width: 710px; color: var(--ink-soft); font-size: 1.16rem; line-height: 1.62; }
.project-intro__copy p:last-child { margin-bottom: 0; }
.project-facts { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.project-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.project-facts span { color: var(--muted); font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-facts strong { font-size: .95rem; font-weight: 650; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-grid article { min-height: 196px; padding: 1.55rem; background: var(--paper); }
.detail-grid h3 { margin-bottom: .55rem; font-size: 1.6rem; }
.detail-grid p { margin-bottom: 0; color: var(--muted); }

.photo-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.photo-gallery figure { min-height: 290px; margin: 0; overflow: hidden; background: var(--stone); }
.photo-gallery figure:nth-child(1) { grid-column: span 7; min-height: 470px; }
.photo-gallery figure:nth-child(2) { grid-column: span 5; min-height: 470px; }
.photo-gallery figure:nth-child(3) { grid-column: span 5; }
.photo-gallery figure:nth-child(4) { grid-column: span 7; }
.photo-gallery figure:nth-child(5) { grid-column: span 6; }
.photo-gallery figure:nth-child(6) { grid-column: span 6; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; }
.photo-gallery .portrait img { object-position: center top; }

.lightbox {
  width: min(96vw, 1180px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.lightbox::backdrop { background: rgba(8, 11, 9, .86); }
.lightbox__image { display: block; max-width: 100%; max-height: 90vh; margin: auto; box-shadow: 0 24px 80px rgba(0, 0, 0, .45); }
.lightbox__close { position: absolute; top: -2.55rem; right: 0; width: 2rem; height: 2rem; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; background: transparent; font-size: 1.55rem; line-height: 1; }
.lightbox__close:hover { color: var(--ink); background: #fff; }

.project-contact { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 2rem; border: 1px solid var(--line); background: var(--ivory); }
.project-contact h2 { margin-bottom: .4rem; font-size: clamp(2rem, 3vw, 3rem); }
.project-contact p { margin: 0; color: var(--muted); }

.inventory-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.inventory-card { position: relative; min-height: 480px; overflow: hidden; color: #fff; background: var(--charcoal); }
.inventory-card__image { position: absolute; inset: 0; }
.inventory-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.inventory-card__image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(15,20,17,.84), rgba(15,20,17,.08) 70%); }
.inventory-card:hover .inventory-card__image img { transform: scale(1.04); }
.inventory-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: end; align-items: start; height: 100%; padding: clamp(1.4rem, 3vw, 2.35rem); }
.inventory-card h2 { max-width: 11ch; margin-bottom: .65rem; font-size: clamp(2rem, 3.4vw, 3.25rem); }
.inventory-card p { max-width: 38ch; margin-bottom: 1.2rem; color: rgba(255,255,255,.82); }
.status { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .8rem; color: #dce7ff; font-size: .68rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.status::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: currentColor; }

.archive-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.archive-card { position: relative; min-height: 275px; overflow: hidden; color: #fff; background: var(--charcoal); }
.archive-card:nth-child(1), .archive-card:nth-child(6) { grid-column: span 7; }
.archive-card:nth-child(2), .archive-card:nth-child(3), .archive-card:nth-child(4), .archive-card:nth-child(5) { grid-column: span 5; }
.archive-card__image { position: absolute; inset: 0; }
.archive-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.archive-card__image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(12,16,13,.77), transparent 68%); }
.archive-card:hover img { transform: scale(1.04); }
.archive-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: end; height: 100%; padding: 1.45rem; }
.archive-card__body span { margin-bottom: .35rem; color: #dce7ff; font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.archive-card h2 { margin-bottom: 0; font-size: clamp(1.7rem, 2.5vw, 2.45rem); }

.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 8vw, 9rem); align-items: start; }
.about-layout__copy { max-width: 620px; color: var(--ink-soft); font-size: 1.13rem; line-height: 1.65; }
.about-layout__copy p:last-child { margin-bottom: 0; }
.about-statement { margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.04em; }
.approach-list { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.approach-list li { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.approach-list span { color: var(--accent); font-size: .75rem; font-weight: 760; }
.approach-list strong { font-size: 1rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr); gap: clamp(2.5rem, 8vw, 8.5rem); align-items: start; }
.contact-lead h2 { max-width: 9ch; }
.contact-lead p { max-width: 530px; color: var(--ink-soft); font-size: 1.12rem; }
.contact-actions { display: grid; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.contact-action { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 680; }
.contact-action::after { color: var(--accent); content: "→"; font-size: 1.3rem; }
.contact-action:hover { color: var(--accent); }
.contact-card { padding: clamp(1.5rem, 4vw, 2.5rem); color: #f7f4ed; background: var(--charcoal); }
.contact-card h3 { margin-bottom: 1.3rem; color: #fff; }
.contact-details { display: grid; gap: 1.2rem; }
.contact-details div { display: grid; gap: .22rem; }
.contact-details span { color: rgba(247,244,237,.58); font-size: .68rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.contact-details a, .contact-details address { color: #fff; font-size: 1rem; font-style: normal; }
.contact-details address { line-height: 1.55; }

.map-note { display: grid; grid-template-columns: 110px 1fr; gap: 1.3rem; align-items: start; margin-top: 2rem; padding: 1.35rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-note strong { color: var(--accent); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.map-note p { margin: 0; color: var(--muted); }
.map-note .section-link { margin-top: .7rem; }

.policy-copy { max-width: 820px; }
.policy-copy h2 { margin-top: 3rem; font-size: clamp(1.9rem, 3vw, 2.75rem); }
.policy-copy h3 { margin-top: 1.8rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 760; letter-spacing: -.01em; }
.policy-copy p, .policy-copy li { color: var(--ink-soft); }
.policy-copy ul { padding-left: 1.2rem; }

.not-found { display: grid; min-height: 70vh; place-items: center; padding-block: 8rem; background: var(--ivory); text-align: center; }
.not-found h1 { max-width: none; margin-inline: auto; font-size: clamp(5rem, 16vw, 12rem); color: var(--accent); }
.not-found p { max-width: 380px; margin-inline: auto; color: var(--muted); }
.not-found__actions { justify-content: center; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --content: min(100% - 40px, 1184px); --wide: min(100% - 40px, 1380px); }
  .nav-list { gap: 1rem; }
  .site-nav { gap: 1rem; }
  .nav-list a { font-size: .75rem; }
  .project-card--feature, .project-card--side, .project-card--half { grid-column: span 6; min-height: 430px; }
  .project-card--feature { min-height: 490px; }
  .type-card { min-height: 410px; }
  .story-image, .story-image img { min-height: 500px; }
  .archive-preview { grid-template-rows: 260px 230px; }
  .footer-main { grid-template-columns: 1.1fr .75fr .9fr; }
}

@media (max-width: 760px) {
  :root { --content: min(100% - 32px, 1184px); --wide: min(100% - 32px, 1380px); }
  html { scroll-padding-top: 5.5rem; }
  .header-inner { min-height: 68px; }
  .brand { width: 113px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 1.45rem;
    min-height: calc(100svh - 68px);
    padding: 2rem var(--content-offset, 16px) 2.5rem;
    color: var(--ink);
    visibility: hidden;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-list { display: grid; gap: .2rem; }
  .nav-list a { display: block; padding: .8rem 0; font-family: var(--display); font-size: 2rem; font-weight: 400; letter-spacing: -.03em; }
  .nav-list a::after { right: auto; width: 35px; bottom: .55rem; }
  .site-nav .button { width: 100%; }
  .site-header--overlay:not(.is-scrolled):not(.nav-active) .menu-toggle { color: #fff; }
  .hero { min-height: min(720px, 100svh); }
  .hero-media img { object-position: 54% center; }
  .hero-content { padding-top: 8rem; padding-bottom: 4.5rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero-copy { font-size: 1rem; }
  .button { min-height: 45px; }
  .hero-meta { display: none; }
  .intro, .quality-layout, .story-grid, .cta-panel, .project-intro, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .intro { gap: 1.2rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1rem; }
  .project-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  .project-card--feature, .project-card--side, .project-card--half { grid-column: auto; min-height: 450px; }
  .type-grid { grid-template-columns: 1fr; }
  .type-card { min-height: 360px; }
  .quality-intro { position: static; }
  .quality-list h3 { font-size: 1.47rem; }
  .story-image, .story-image img { min-height: 410px; }
  .archive-preview { grid-template-columns: 1fr 1fr; grid-template-rows: 310px 210px 210px; }
  .archive-tile:first-child { grid-column: span 2; grid-row: auto; }
  .archive-tile:last-child { grid-column: span 2; }
  .cta-panel { gap: 1.4rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2.3rem; padding-block: 3.5rem 2.5rem; }
  .footer-bottom { display: grid; gap: .45rem; padding-bottom: 5.6rem; }
  .mobile-contact-bar { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(29,36,32,.12); background: rgba(255,253,250,.97); box-shadow: 0 -10px 26px rgba(29,36,32,.1); backdrop-filter: blur(10px); }
  .mobile-contact-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; color: var(--ink); font-size: .73rem; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
  .mobile-contact-bar a + a { color: #fff; background: var(--accent); }
  .page-hero, .page-hero__content { min-height: 460px; }
  .page-hero__content { padding-top: 7.2rem; padding-bottom: 3.4rem; }
  .page-hero h1 { max-width: 9.5ch; font-size: clamp(2.85rem, 12vw, 4.5rem); }
  .subhero { padding-top: 7rem; }
  .subhero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .project-facts li { grid-template-columns: 1fr; gap: .18rem; }
  .detail-grid, .inventory-list { grid-template-columns: 1fr; }
  .detail-grid article { min-height: auto; }
  .photo-gallery { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .photo-gallery figure, .photo-gallery figure:nth-child(n) { grid-column: auto; min-height: 180px; }
  .photo-gallery figure:nth-child(1), .photo-gallery figure:nth-child(2) { grid-column: span 2; min-height: 300px; }
  .project-contact { grid-template-columns: 1fr; gap: 1.4rem; }
  .project-contact .button { width: 100%; }
  .inventory-card { min-height: 420px; }
  .archive-card:nth-child(n) { grid-column: span 12; min-height: 260px; }
  .contact-card { padding: 1.6rem; }
  .map-note { grid-template-columns: 1fr; gap: .4rem; }
}

@media (max-width: 420px) {
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .quality-list li { grid-template-columns: 46px 1fr; gap: .8rem; }
  .archive-preview { grid-template-rows: 290px 190px 190px; }
}

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


/* Current projects, verified-information cards and quick inquiry */
.current-projects { margin-top: 3.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.current-projects__title { margin-bottom: 1rem; color: var(--muted); font-size: .7rem; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.current-projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.current-projects__grid a { display: grid; min-height: 160px; align-content: end; padding: 1.35rem; background: var(--paper); transition: background .25s var(--ease), transform .25s var(--ease); }
.current-projects__grid a:hover { background: #fff; }
.current-projects__grid span { margin-bottom: .45rem; color: var(--accent); font-size: .67rem; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.current-projects__grid strong { font-family: var(--display); font-size: 1.55rem; font-weight: 400; line-height: 1.05; }
.current-projects__grid small { margin-top: .45rem; color: var(--muted); font-size: .78rem; }
.inventory-card--graphic { background: radial-gradient(circle at 82% 18%, rgba(40,89,199,.48), transparent 35%), linear-gradient(145deg, #17201b, #29352e 62%, #17201b); }
.inventory-card--graphic::before { position: absolute; top: -80px; right: -70px; width: 310px; height: 310px; content: ""; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 76px rgba(255,255,255,.02); }
.inventory-card__graphic { position: absolute; top: 2rem; right: 2rem; left: 2rem; display: grid; color: rgba(255,255,255,.18); text-align: right; }
.inventory-card__graphic span { font-size: .66rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.inventory-card__graphic strong { font-family: var(--display); font-size: clamp(4rem, 8vw, 7rem); font-weight: 400; letter-spacing: -.06em; line-height: .82; }
.page-hero__media--graphic { overflow: hidden; background: radial-gradient(circle at 75% 28%, rgba(40,89,199,.5), transparent 30%), linear-gradient(135deg, #121916, #29362e); }
.page-hero__media--graphic::before { position: absolute; top: -30%; right: -10%; width: min(680px, 68vw); aspect-ratio: 1; content: ""; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.project-graphic { position: absolute; top: 50%; right: max(24px, calc((100vw - 1184px)/2)); display: grid; max-width: 44vw; color: rgba(255,255,255,.22); text-align: right; transform: translateY(-50%); }
.project-graphic span, .project-graphic small { font-size: .68rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.project-graphic strong { font-family: var(--display); font-size: clamp(3.6rem, 8vw, 7.5rem); font-weight: 400; letter-spacing: -.06em; line-height: .82; }
.data-note { margin-top: -2.2rem; margin-bottom: 2.2rem; color: var(--muted); font-size: .75rem; }
.quick-inquiry-section { background: var(--paper); }
.quick-inquiry { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 8vw, 8rem); align-items: start; }
.quick-inquiry__intro h2 { max-width: 10ch; }
.quick-inquiry__intro p { max-width: 500px; color: var(--ink-soft); font-size: 1.05rem; }
.quick-inquiry__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1.35rem, 3vw, 2.2rem); border: 1px solid var(--line); background: var(--ivory); }
.quick-inquiry__form label { display: grid; gap: .45rem; color: var(--ink-soft); font-size: .75rem; font-weight: 720; letter-spacing: .04em; }
.quick-inquiry__form label:nth-child(3), .quick-inquiry__actions, .quick-inquiry__note { grid-column: 1 / -1; }
.quick-inquiry__form input, .quick-inquiry__form textarea { width: 100%; border: 1px solid rgba(29,36,32,.18); border-radius: 0; padding: .85rem .9rem; color: var(--ink); background: #fff; outline: 0; }
.quick-inquiry__form input:focus, .quick-inquiry__form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40,89,199,.1); }
.quick-inquiry__form textarea { min-height: 118px; resize: vertical; }
.quick-inquiry__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.quick-inquiry__note { margin: 0; color: var(--muted); font-size: .72rem; }

@media (max-width: 760px) {
  .current-projects__grid, .quick-inquiry { grid-template-columns: 1fr; }
  .project-graphic { right: 1rem; max-width: 72vw; }
  .project-graphic strong { font-size: clamp(3rem, 16vw, 5.5rem); }
  .quick-inquiry__form { grid-template-columns: 1fr; }
  .quick-inquiry__form label:nth-child(n), .quick-inquiry__actions, .quick-inquiry__note { grid-column: 1; }
  .quick-inquiry__actions { display: grid; }
  .quick-inquiry__actions .button { width: 100%; }
}
