:root {
  --paper: #ffffff;
  --paper-2: #e8e1d6;
  --ink: #1c1916;
  --muted: #6e665d;
  --brass: #8a7048;
  --line: rgba(28, 25, 22, 0.14);
  --white: #ffffff;
  --dark: #161310;
  --serif: "Newsreader", "Palatino Linotype", Palatino, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 0.6em; }
h1 { font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif; font-weight: 500; letter-spacing: -0.03em; line-height: 0.96; font-size: clamp(3.4rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h3 { font-size: 1.7rem; line-height: 1.15; }
p { margin: 0 0 1em; }

.shell { width: var(--shell); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.5rem 0.8rem;
}
.skip:focus { top: 1rem; z-index: 20; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 3.6rem; gap: 1.5rem; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; text-transform: none; font-weight: 500;
}
.logo-sub {
  margin-top: 0.28rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-list { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a, .nav-phone {
  text-decoration: none; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-list a:hover, .text-link:hover { color: var(--brass); }
.nav-phone { color: var(--muted); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); padding: 0.45rem 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem;
}

.hero {
  width: var(--shell); margin: 0 auto 2.5rem;
  display: grid; grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 2.5vw; align-items: start; padding-top: 6.5rem;
}
.eyebrow, .section-index, .footer-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem;
}
.hero-role { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.15rem; }
.hero-lead { max-width: 34rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.btn {
  display: inline-block; text-decoration: none; background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; border: 1px solid var(--ink);
}
.btn-line { background: transparent; color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
button.btn { cursor: pointer; }

.sheet-frame { background: #fff; padding: 0; }
.sheet canvas, .sheet img { width: 100%; height: auto; background: var(--white); }
.sheet figcaption {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.8rem;
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted);
}
#sketch-replay { background: none; border: 0; padding: 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; cursor: pointer; color: var(--ink); }
.sketch-progress { height: 1px; background: var(--line); margin-top: 0.7rem; }
#sketch-bar { display: block; height: 1px; width: 0; background: var(--brass); }

.intro { padding: 2rem 0 4rem; }
.intro-grid, .approach-layout, .project-layout, .contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
.prose { font-size: 1.05rem; }
.prose p:first-of-type { font-size: 1.15rem; }
.text-link { color: var(--ink); }

.band { background: var(--paper-2); padding: 4.5rem 0; }
.band-dark { background: var(--dark); color: #f6f3ee; }
.band-dark .section-index { color: #c6ae86; }
.band-dark .text-link,
.band-dark .project-card h3 { color: #f6f3ee; }
.band-dark .card-meta { color: rgba(246, 243, 238, 0.62); }
.band-dark .text-link:hover { color: #e4d3b4; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.project-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 1.25rem; }
.project-grid-archive { grid-template-columns: 1fr 1fr 1fr; }
.project-card a { text-decoration: none; display: block; }
.project-card figure { overflow: hidden; background: #ddd6cb; aspect-ratio: 4 / 3; margin: 0 0 0.8rem; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card a:hover img { transform: scale(1.04); }
.project-card h3 { font-size: 1.7rem; }
.card-meta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.project-grid .project-card:first-child { grid-row: span 2; }
.project-grid .project-card:first-child figure { aspect-ratio: 4 / 5; }
.project-grid-archive .project-card:first-child { grid-row: auto; }
.project-grid-archive .project-card:first-child figure { aspect-ratio: 4 / 3; }
.realisations-home { background: var(--dark); color: #f6f3ee; padding: 2.2rem 0 2.6rem; }
.realisations-home .section-index { color: #c6ae86; }
.realisations-home .text-link,
.realisations-home .project-card h3 { color: #f6f3ee; }
.realisations-home .text-link:hover { color: #e4d3b4; }
.reel { width: 100%; overflow: hidden; }
.reel-track { display: flex; width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-group { display: flex; gap: 0.85rem; padding-right: 0.85rem; }
.reel-group .project-card { width: 20rem; flex: none; }
.reel-group .card-meta { display: none; }
.reel-group .project-card h3 { font-size: 1.15rem; line-height: 1.2; margin-bottom: 0; }
.reel-group .project-card figure { aspect-ratio: 3 / 2; margin-bottom: 0.55rem; }
@keyframes reel { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.missions { height: 300vh; position: relative; background: var(--paper); }
.missions-sticky {
  position: sticky; top: 0; height: 100vh; display: grid; align-items: center;
  overflow: hidden; padding-top: 4.2rem;
}
.missions-frame { position: relative; height: min(680px, calc(100vh - 7.5rem)); }
.mission-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(240px, 0.78fr) 1.22fr; gap: 3rem; align-items: center;
  opacity: 0; transform: translateY(14%); pointer-events: none;
}
.mission-slide.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity 0.55s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.mission-slide.is-past { opacity: 0; transform: translateY(-12%); transition: opacity 0.45s ease, transform 0.6s ease; }
.mission-copy h2 { max-width: 11ch; }
.mission-copy p { max-width: 32rem; color: var(--muted); }
.mission-slide figure { margin: 0; height: 100%; overflow: hidden; }
.mission-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.mission-steps { position: absolute; left: 0; bottom: 0; display: flex; gap: 0.4rem; }
.mission-steps span { width: 2rem; height: 1px; background: var(--line); }
.mission-steps span.is-on { background: var(--ink); }

.services-home { padding: 4.5rem 0; }
.service-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-index a {
  display: grid; grid-template-columns: 6.5rem 14rem 1fr; gap: 1rem; align-items: center;
  text-decoration: none; padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.service-mark { display: flex; align-items: center; gap: 0.65rem; color: var(--brass); }
.service-icon { width: 1.85rem; height: 1.85rem; flex: none; overflow: visible; }
.service-icon path,
.service-icon rect,
.service-icon circle,
.service-icon line {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.service-index.is-in .service-icon { animation: icon-float 3.8s ease-in-out infinite; }
.service-index.is-in .service-icon path,
.service-index.is-in .service-icon rect,
.service-index.is-in .service-icon circle,
.service-index.is-in .service-icon line { animation: icon-draw 1.15s ease forwards; }
.service-index li:nth-child(2) .service-icon,
.service-index li:nth-child(2) .service-icon * { animation-delay: 0.12s; }
.service-index li:nth-child(3) .service-icon,
.service-index li:nth-child(3) .service-icon * { animation-delay: 0.24s; }
.service-index li:nth-child(4) .service-icon,
.service-index li:nth-child(4) .service-icon * { animation-delay: 0.36s; }
.service-index li:nth-child(5) .service-icon,
.service-index li:nth-child(5) .service-icon * { animation-delay: 0.48s; }
.service-index li:nth-child(6) .service-icon,
.service-index li:nth-child(6) .service-icon * { animation-delay: 0.6s; }
.service-index a:hover .service-icon { color: var(--ink); }
.service-index span { color: var(--brass); font-size: 0.8rem; letter-spacing: 0.14em; }
@keyframes icon-draw { to { stroke-dashoffset: 0; } }
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.service-index strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em; }
.service-index em { font-style: normal; color: var(--muted); }

.cities-teaser { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: end; }
.city-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.city-pills li, .city-pills a {
  border: 1px solid currentColor; padding: 0.35rem 0.7rem; text-decoration: none; font-size: 0.85rem;
}
.closing {
  position: relative; min-height: 23rem; padding: 0; display: flex; align-items: center;
  color: #f4efe8; overflow: hidden;
}
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-shade { position: absolute; inset: 0; background: rgba(18, 15, 12, 0.72); }
.closing-copy { position: relative; z-index: 1; padding: 2.2rem 0; }
.closing h2 { max-width: none; color: #f4efe8; font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 0.35em; }
.closing p { margin-bottom: 0.7rem; }
.closing p, .closing a { color: #f4efe8; }
.closing .eyebrow { color: #e4d3b4; }
.closing .btn { background: #f4efe8; color: var(--ink); border-color: #f4efe8; }

.page-hero { padding: 3.2rem 0 1rem; }
.page-hero h1 { max-width: 14ch; }
.lede { max-width: 40rem; font-size: 1.25rem; color: var(--muted); }
.page-body { padding-bottom: 3rem; max-width: 46rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; }
.crumbs a { text-decoration: none; }

.facts, .project-aside, .contact-facts { border-top: 1px solid var(--line); }
.facts div, .project-aside p, .contact-facts p { border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 0; }
.facts ul { margin: 0; padding-left: 1.1rem; }
.project-aside span, .contact-facts span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.2rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; padding-bottom: 4rem; }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; }

.service-list { display: grid; gap: 0; }
.service-row {
  display: grid; grid-template-columns: 16rem 1fr; gap: 2rem; align-items: center;
  text-decoration: none; padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.service-row img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ambiance img { width: 100%; max-height: 70vh; object-fit: cover; }
.ambiance figcaption { color: var(--muted); font-size: 0.8rem; margin: 0.6rem 0 2rem; }

.city-index { display: grid; gap: 2.5rem; padding-bottom: 4rem; }
.city-index ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.city-index a { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.city-index span { color: var(--muted); }
.neighbors { padding-bottom: 2rem; }
.faq-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.faq-photo { display: block; text-decoration: none; }
.faq-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.faq-photo span { display: block; margin-top: 0.7rem; }

.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 0.7rem 0; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-note { padding: 0.8rem 0; }
.pager { padding: 2rem 0 4rem; }
.pager .nav-links { display: flex; gap: 1rem; }
.pager a { text-decoration: none; }

.site-footer { border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-lead { color: var(--muted); max-width: 24rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-base { padding: 2rem 0 1.4rem; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 980px) {
  .hero, .intro-grid, .approach-layout, .project-layout, .contact-grid, .cities-teaser, .footer-grid, .service-row, .faq-split { grid-template-columns: 1fr; }
  .project-grid, .project-grid-archive, .city-index ul { grid-template-columns: 1fr 1fr; }
  .project-grid .project-card:first-child { grid-row: auto; grid-column: auto; }
  .reel-group .project-card { width: 16rem; }
  .mission-slide { grid-template-columns: 1fr; align-content: center; }
  .mission-slide figure { height: 38vh; }
  .service-index a { grid-template-columns: 5.5rem 1fr; }
  .service-index em { grid-column: 2; }
  .hero { padding-top: 4rem; }
  .sheet { order: -1; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.4rem; flex-direction: column; align-items: flex-start;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
}
@media (max-width: 640px) {
  .project-grid, .project-grid-archive, .city-index ul, .gallery { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-card img { transition: none; }
  .service-icon path,
  .service-icon rect,
  .service-icon circle,
  .service-icon line { stroke-dashoffset: 0; animation: none; }
  .service-index.is-in .service-icon { animation: none; }
  .missions { height: auto; }
  .missions-sticky { position: relative; height: auto; display: block; overflow: visible; }
  .missions-frame { height: auto; }
  .mission-slide,
  .mission-slide.is-active,
  .mission-slide.is-past {
    position: relative; opacity: 1; transform: none; pointer-events: auto; height: auto; margin-bottom: 3.5rem;
  }
  .mission-slide img { transform: none; }
  .reel-track { animation: none; }
}
