@import url("fonts/onest.css");

:root {
  --ink: #171717;
  --muted: #696866;
  --paper: #f7f5f2;
  --white: #fff;
  --line: #d9d6d1;
  --accent: #b39a86;
  --accent-dark: #8d725f;
  --content: 1320px;
  --shadow-on-image: 0 2px 3px rgba(0, 0, 0, 0.28), 0 14px 42px rgba(0, 0, 0, 0.26);
  --shadow-on-paper: 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 34px rgba(31, 26, 22, 0.09);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  hyphens: auto;
}

h1 {
  font-size: clamp(54px, 7vw, 112px);
}

h2 {
  font-size: clamp(42px, 5.5vw, 82px);
}

h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 78px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(14px);
  transition: background-color 300ms ease, box-shadow 300ms ease;
  animation: header-in 620ms var(--ease-out) both;
}

.site-header.scrolled {
  background: rgba(247, 245, 242, 0.9);
  box-shadow: 0 12px 34px rgba(31, 26, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 0 clamp(18px, 2.8vw, 44px);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 240px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark {
  display: none;
}

.nav-shell {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(20px, 3vw, 50px);
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 30px;
}

.language-switch button {
  width: 32px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa7a2;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.language-switch button.active,
.language-switch button:hover {
  color: var(--ink);
}

.language-switch button + button {
  border-left: 1px solid var(--line);
}

.icon-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, transform 320ms var(--ease-out);
}

.icon-button svg,
.button svg,
.shortcut-card svg,
.product-template svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.4;
}

.immersive {
  padding-top: 0;
}

.hero {
  position: relative;
  display: grid;
  height: min(920px, calc(100vh - 96px));
  min-height: 640px;
  margin: 18px;
  overflow: hidden;
  background: #ddd;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 1400ms var(--ease-out) both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 40px;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  width: 100%;
  color: #fff;
  font-size: clamp(62px, 9vw, 148px);
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: var(--shadow-on-image);
  animation: hero-title-in 950ms 180ms var(--ease-out) both;
}

.hero-content .eyebrow,
.hero-copy,
.hero-actions,
.hero-panel {
  display: none;
}

@keyframes hero-in {
  from {
    opacity: 0.7;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

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

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

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

.section {
  padding: clamp(90px, 10vw, 160px) max(5vw, calc((100vw - var(--content)) / 2));
}

.signal-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(72px, 9vw, 140px) max(5vw, calc((100vw - var(--content)) / 2)) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.signal-bar div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  min-height: 132px;
  padding: 30px 30px 30px 0;
  border-right: 1px solid var(--line);
}

.signal-bar div:not(:first-child) {
  padding-left: 30px;
}

.signal-bar div:last-child {
  border-right: 0;
}

.signal-bar strong {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 500;
}

.signal-bar span {
  max-width: 270px;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.18;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  align-items: start;
  max-width: var(--content);
  margin: 0 auto 64px;
}

.section-heading .eyebrow {
  margin-top: 10px;
}

.section-heading h2 {
  max-width: 800px;
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.shortcut-grid {
  display: grid;
  max-width: var(--content);
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}

.shortcut-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.8fr) minmax(280px, 1fr) 40px;
  align-items: center;
  gap: 26px;
  min-height: 138px;
  border-top: 1px solid var(--line);
  transition: color 220ms ease, padding-left 420ms var(--ease-out);
}

.shortcut-card:first-child {
  border-top-color: var(--ink);
}

.shortcut-card::before {
  content: counter(service, decimal-leading-zero);
  counter-increment: service;
  color: var(--accent-dark);
  font-size: 12px;
}

.shortcut-grid {
  counter-reset: service;
}

.shortcut-card::after {
  content: "\2197";
  justify-self: end;
  font-size: 20px;
  transition: transform 180ms ease;
}

.shortcut-card:hover {
  color: var(--accent-dark);
  padding-left: 10px;
}

.shortcut-card:hover::after {
  transform: translate(3px, -3px);
}

.shortcut-card svg {
  display: none;
}

.shortcut-card h3 {
  font-size: clamp(24px, 2.2vw, 34px);
}

.shortcut-card p,
.project-card p,
.product-template p,
.rich-text p,
.contact-panel p,
.cover-copy p,
.product-copy p,
.timeline-item p {
  color: var(--muted);
}

.showcase-band {
  margin: 0 18px;
  background: var(--white);
}

.showcase-band img {
  width: 100%;
  height: min(76vh, 860px);
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}

.showcase-band:hover img {
  transform: scale(1.012);
  filter: saturate(1.04) contrast(1.02);
}

.showcase-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 70px;
  padding: clamp(44px, 6vw, 88px) max(4vw, calc((100vw - var(--content)) / 2));
}

.showcase-copy h2 {
  max-width: 760px;
}

.showcase-copy p:last-child {
  align-self: end;
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.accent-band {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 10vw, 160px);
  max-width: var(--content);
  margin: 0 auto;
}

.split h2 {
  max-width: 590px;
}

.rich-text {
  max-width: 680px;
  padding-top: 38px;
  border-top: 1px solid var(--ink);
  font-size: 18px;
}

.rich-text p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.45;
}

.process {
  padding-top: 0;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.process-rail article {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.process-rail article:first-child {
  padding-left: 0;
}

.process-rail article:last-child {
  border-right: 0;
}

.process-rail span {
  color: var(--accent-dark);
  font-size: 12px;
}

.process-rail h3 {
  margin-top: 80px;
}

.contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 9vw, 130px);
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 100px);
  background: var(--accent);
}

.contact-panel h2 {
  font-size: clamp(46px, 5vw, 76px);
}

.contact-panel p {
  max-width: 440px;
  color: rgba(23, 23, 23, 0.7);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.contact-form label:nth-child(4),
.contact-form .button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.46);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(23, 23, 23, 0.62);
  opacity: 1;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  min-width: 190px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.form-honey {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 13px;
}

.form-status[data-state="pending"] {
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #1f6d3b;
}

.form-status[data-state="error"] {
  color: #a32020;
}

.contact-form .button[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  padding: 26px max(5vw, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.page-cover {
  position: relative;
  display: grid;
  align-items: end;
  height: min(920px, calc(100vh - 96px));
  min-height: 640px;
  margin: 18px;
  overflow: hidden;
  background: #ddd;
}

.page-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-in 1400ms var(--ease-out) both;
}

.page-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 54%);
}

.cover-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 0 clamp(24px, 5vw, 80px) clamp(44px, 6vw, 88px);
  color: #fff;
}

.cover-copy h1 {
  text-wrap: balance;
  text-shadow: var(--shadow-on-image);
  animation: hero-title-in 900ms 180ms var(--ease-out) both;
}

.cover-copy .eyebrow,
.cover-copy p:last-child {
  animation: cover-detail-in 760ms 340ms var(--ease-out) both;
}

@keyframes cover-detail-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cover-copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.cover-copy p:last-child {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 70px 22px;
  max-width: var(--content);
  margin: 0 auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  overflow: hidden;
}

.project-card:nth-child(3) {
  grid-column: 3 / span 8;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  margin-bottom: 24px;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}

.project-card:hover img {
  transform: scale(1.018);
  filter: saturate(1.03) contrast(1.02);
}

.project-card:nth-child(2) img {
  object-position: center;
}

.project-card:nth-child(3) img {
  aspect-ratio: 16 / 8;
}

.status {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-market {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(84px, 8vw, 120px);
  background: var(--white);
}

.projects-cover {
  height: min(500px, 56vh);
  min-height: 420px;
}

.projects-cover img {
  object-position: center 47%;
}

.project-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  max-width: var(--content);
  margin: 0 auto;
}

.project-catalog-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.project-card-open {
  display: block;
  width: 100%;
  padding: 0 0 26px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.project-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}

.project-card-open:hover .project-card-media img,
.project-card-open:focus-visible .project-card-media img {
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.02);
}

.project-card-media .project-status {
  position: absolute;
  top: 18px;
  left: 18px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.project-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  padding-top: 22px;
}

.project-card-location {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.project-card-body strong {
  min-width: 0;
  font-family: var(--display);
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: var(--shadow-on-paper);
}

.project-card-summary {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.project-card-summary span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--accent-dark);
}

.project-card-action {
  display: inline-flex;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  align-self: end;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
}

.project-card-action svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
  transition: transform 220ms var(--ease-out);
}

.project-card-open:hover .project-card-action svg {
  transform: translate(2px, -2px);
}

.project-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(24, 17, 20, 0.28);
  overflow: auto;
}

.project-dialog::backdrop {
  background: rgba(34, 22, 27, 0.68);
  backdrop-filter: blur(8px);
}

.project-dialog-close {
  position: fixed;
  z-index: 3;
  display: grid;
  margin: 0;
  top: max(34px, calc((100dvh - min(100dvh - 48px, 900px)) / 2 + 16px));
  right: max(34px, calc((100vw - min(1180px, 100vw - 48px)) / 2 + 16px));
  border-color: rgba(34, 22, 27, 0.18);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.project-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
}

.project-dialog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  align-content: start;
  background: var(--line);
}

.project-dialog-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--paper);
}

.project-dialog-gallery .project-dialog-main {
  grid-column: 1 / -1;
  height: 430px;
}

.project-dialog-gallery .project-gallery-wide {
  grid-column: 1 / -1;
  height: auto;
  min-height: 360px;
}

.project-dialog-copy {
  padding: clamp(54px, 6vw, 86px) clamp(36px, 5vw, 70px);
}

.project-dialog-copy .project-status {
  margin-bottom: 36px;
}

.project-dialog-copy h2 {
  margin-top: 8px;
  font-size: clamp(38px, 4vw, 58px);
  text-shadow: var(--shadow-on-paper);
}

body.project-dialog-open {
  overflow: hidden;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: stretch;
  max-width: var(--content);
  margin: 0 auto;
}

.project-feature-visual {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
}

.project-feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}

.project-feature:hover .project-feature-visual img {
  transform: scale(1.012);
  filter: saturate(1.03) contrast(1.02);
}

.project-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 38px 0;
}

.project-status {
  align-self: flex-start;
  margin: 0 0 54px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.project-feature-copy h2 {
  margin-top: 4px;
  font-size: clamp(46px, 4.2vw, 60px);
  overflow-wrap: anywhere;
  text-shadow: var(--shadow-on-paper);
}

.project-lead {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 56px 0 0;
  border-top: 1px solid var(--ink);
}

.project-facts div {
  min-width: 0;
  padding: 18px 14px 18px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.project-facts dt,
.project-facts dd {
  margin: 0;
}

.project-facts dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.project-facts dd {
  margin-top: 7px;
  font-size: 19px;
  line-height: 1.2;
}

.project-contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 320px);
  margin-top: 44px;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.project-contact-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
  transition: transform 220ms var(--ease-out);
}

.project-contact-link:hover svg {
  transform: translate(3px, -3px);
}

.project-panorama {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: end;
  max-width: var(--content);
  margin: clamp(88px, 10vw, 150px) auto 0;
}

.project-panorama img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-panorama-copy {
  padding-bottom: 10px;
}

.project-panorama-copy h3 {
  font-size: clamp(30px, 3.2vw, 48px);
  text-shadow: var(--shadow-on-paper);
}

.project-panorama-copy p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: var(--content);
  margin: 0 auto;
  padding-top: 0;
  border-top: 1px solid var(--ink);
}

.timeline-item {
  min-height: 220px;
  padding: 28px 34px;
  border-right: 1px solid var(--line);
}

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

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

.timeline-item span {
  color: var(--accent-dark);
  font-size: 12px;
}

.timeline-item h3 {
  margin-top: 54px;
}

.product-cover {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  height: min(920px, calc(100vh - 78px));
  min-height: 720px;
  background: var(--paper);
}

.product-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  padding: clamp(60px, 7vw, 110px) clamp(28px, 5vw, 80px);
  border-right: 1px solid var(--line);
}

.product-copy h1 {
  max-width: 620px;
  font-size: clamp(52px, 6vw, 96px);
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.product-copy p:last-child {
  max-width: 520px;
  margin-top: 30px;
  font-size: 17px;
}

.catalog-jump {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 290px);
  margin-top: 42px;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.catalog-jump svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.catalog-jump:hover svg {
  transform: translateY(4px);
}

.product-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  animation: hero-in 1400ms var(--ease-out) both;
}

.product-copy > * {
  animation: product-copy-in 760ms var(--ease-out) both;
}

.product-copy > :nth-child(2) {
  animation-delay: 90ms;
}

.product-copy > :nth-child(3) {
  animation-delay: 180ms;
}

.product-copy > :nth-child(4) {
  animation-delay: 270ms;
}

@keyframes product-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-visual-window {
  object-position: 18% center;
}

.product-visual-door {
  object-position: center;
}

.product-visual-wood {
  object-position: 86% center;
}

.window-catalog {
  background: var(--white);
}

.window-catalog-heading > div > p {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.window-material-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(56px, 7vw, 96px) 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.window-material-switch button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.window-material-switch button + button {
  border-left: 1px solid var(--line);
}

.window-material-switch button:hover {
  background: var(--paper);
  color: var(--ink);
}

.window-material-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.window-material-switch button span:last-child {
  font-size: 12px;
}

.window-material-switch button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.window-material-panel {
  margin-top: clamp(68px, 8vw, 110px);
  animation: material-panel-in 560ms var(--ease-out) both;
}

@keyframes material-panel-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.window-material-panel[hidden] {
  display: none;
}

.window-brand-section + .window-brand-section {
  margin-top: clamp(100px, 10vw, 150px);
}

.window-brand-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.window-brand-header h3 {
  font-size: clamp(36px, 4vw, 58px);
  text-shadow: var(--shadow-on-paper);
}

.window-brand-header > span {
  color: var(--muted);
  font-size: 13px;
}

.window-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 20px;
}

.window-offer {
  min-width: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.window-offer-media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: clamp(24px, 3vw, 46px);
  overflow: hidden;
  border: 0;
  background: var(--white);
  color: inherit;
  cursor: pointer;
}

.window-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 620ms var(--ease-out), filter 620ms var(--ease-out);
}

.window-offer-media:hover img {
  transform: scale(1.035) translateY(-4px);
  filter: drop-shadow(0 16px 16px rgba(30, 27, 24, 0.1));
}

.window-offer-copy {
  padding-top: 20px;
}

.window-offer-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.window-offer h3 {
  min-height: 1.1em;
  font-size: clamp(24px, 2vw, 31px);
}

.window-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.window-offer-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.window-offer-link:hover svg {
  transform: translate(3px, -3px);
}

.window-offer-media:focus-visible,
.window-offer-link:focus-visible,
.window-modal-close:focus-visible,
.window-modal-contact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

body.window-modal-open {
  overflow: hidden;
}

.window-modal[hidden] {
  display: none;
}

.window-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.window-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 20, 0.62);
  backdrop-filter: blur(4px);
  animation: modal-backdrop-in 260ms ease both;
}

.window-modal-panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  width: min(1180px, calc(100% - 42px));
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(20, 18, 16, 0.16);
  animation: modal-panel-in 520ms var(--ease-out) both;
}

@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-panel-in {
  from { transform: translateX(48px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.window-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.window-modal-visual {
  display: grid;
  min-width: 0;
  padding: clamp(36px, 5vw, 84px);
  place-items: center;
  overflow: hidden;
  background: var(--white);
}

.window-modal-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 760px;
  object-fit: contain;
}

.window-modal-content {
  min-width: 0;
  padding: clamp(78px, 8vw, 130px) clamp(30px, 6vw, 88px) 60px;
  overflow-y: auto;
}

.window-modal-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.window-modal-content h2 {
  max-width: 680px;
  font-size: clamp(46px, 5vw, 78px);
  text-shadow: var(--shadow-on-paper);
}

.window-modal-description {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.window-modal-specification {
  margin-top: clamp(56px, 7vw, 92px);
}

.window-spec-list {
  margin: 22px 0 0;
  border-top: 1px solid var(--ink);
}

.window-spec-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.window-spec-list dt,
.window-spec-list dd {
  margin: 0;
}

.window-spec-list dt {
  color: var(--muted);
  font-size: 13px;
}

.window-spec-list dd {
  max-width: 260px;
  text-align: right;
  font-size: 14px;
}

.window-modal-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 360px);
  margin-top: 52px;
  padding: 17px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.window-modal-contact svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
}

.window-source-note {
  margin: clamp(80px, 9vw, 130px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.window-source-note a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}

.product-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: var(--content);
  margin: 0 auto;
  padding-top: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.product-template article {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.product-template article:first-child {
  padding-left: 0;
}

.product-template article:last-child {
  border-right: 0;
}

.product-template svg {
  color: var(--accent-dark);
}

.product-template h3 {
  margin-top: 76px;
}

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 28px, 0);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out), filter 720ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

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

@media (max-width: 1100px) {
  .brand {
    flex-basis: 180px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .language-switch {
    padding-left: 18px;
  }

  .shortcut-card {
    grid-template-columns: 50px minmax(180px, 0.8fr) 1fr 30px;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }

  .header-inner {
    justify-content: space-between;
    padding: 0 16px;
  }

  .brand {
    flex-basis: auto;
    font-size: 19px;
  }

  .icon-button {
    display: grid;
    margin: auto 0;
  }

  .nav-toggle[aria-expanded="true"] {
    background: var(--ink);
    color: var(--white);
    transform: rotate(90deg);
  }

  .nav-shell {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    height: calc(100dvh - 66px);
    padding: 26px 18px 22px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: rgba(247, 245, 242, 0.98);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 320ms ease, transform 420ms var(--ease-out), visibility 320ms;
  }

  .nav-shell.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav {
    display: grid;
    align-content: start;
    gap: 0;
    counter-reset: mobile-nav;
  }

  .site-nav a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 64px;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    counter-increment: mobile-nav;
    transition: color 180ms ease, padding-left 300ms var(--ease-out);
  }

  .site-nav a::before {
    content: counter(mobile-nav, decimal-leading-zero);
    color: var(--accent-dark);
    font-size: 11px;
  }

  .site-nav a.active {
    padding-left: 8px;
    color: var(--accent-dark);
  }

  .site-nav a::after {
    display: none;
  }

  .language-switch {
    justify-content: flex-end;
    padding: 22px 0 0;
    border-top: 1px solid var(--ink);
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero,
  .page-cover {
    height: min(760px, calc(100vh - 84px));
    min-height: 620px;
    margin: 9px;
  }

  .signal-bar,
  .section-heading,
  .showcase-copy,
  .split,
  .process-rail,
  .contact-panel,
  .timeline,
  .product-cover,
  .product-template {
    grid-template-columns: 1fr;
  }

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

  .window-modal-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 360px auto;
    width: min(720px, 100%);
    overflow-y: auto;
  }

  .window-modal-visual {
    min-height: 300px;
    padding: 48px;
  }

  .window-modal-visual img {
    max-height: 264px;
  }

  .window-modal-content {
    overflow: visible;
  }

  .signal-bar div,
  .signal-bar div:not(:first-child) {
    min-height: 92px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    gap: 20px;
  }

  .shortcut-card {
    grid-template-columns: 46px 1fr 30px;
    gap: 16px;
    padding: 24px 0;
  }

  .shortcut-card p {
    grid-column: 2 / -1;
    margin: 0;
  }

  .shortcut-card::after {
    grid-column: 3;
    grid-row: 1;
  }

  .showcase-copy {
    gap: 34px;
  }

  .showcase-copy p:last-child {
    align-self: auto;
  }

  .split,
  .contact-panel {
    gap: 50px;
  }

  .rich-text {
    padding-top: 28px;
  }

  .process-rail article,
  .process-rail article:first-child {
    min-height: 210px;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-rail h3 {
    margin-top: 45px;
  }

  .project-card,
  .project-card:nth-child(3) {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
  }

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

  .project-feature,
  .project-panorama {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-feature-visual img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .project-feature-copy {
    padding: 0;
  }

  .project-status {
    margin-bottom: 28px;
  }

  .project-panorama-copy {
    max-width: 620px;
    padding-bottom: 0;
  }

  .timeline-item,
  .timeline-item:first-child {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-cover {
    height: auto;
    min-height: auto;
  }

  .product-copy {
    min-height: 560px;
    border-right: 0;
  }

  .product-visual {
    height: auto;
    min-height: 640px;
  }

  .product-template article,
  .product-template article:first-child {
    min-height: 220px;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-template h3 {
    margin-top: 46px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .hero,
  .page-cover {
    height: min(680px, calc(100svh - 116px));
    min-height: 550px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-content {
    padding: 18px;
  }

  .hero-content h1 {
    font-size: 44px;
    line-height: 0.94;
  }

  .section {
    padding: 66px 18px;
  }

  .signal-bar {
    margin: 24px 18px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .shortcut-card {
    grid-template-columns: 34px 1fr 24px;
    min-height: 0;
    padding: 22px 0;
  }

  .shortcut-card p {
    font-size: 14px;
  }

  .showcase-band {
    margin: 0 9px;
  }

  .showcase-band img {
    height: 62vh;
  }

  .showcase-copy {
    padding: 40px 18px 48px;
  }

  .contact-panel {
    padding: 42px 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label,
  .contact-form .button,
  .form-status {
    grid-column: 1;
  }

  .contact-form .button {
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 16px;
  }

  .cover-copy {
    padding: 0 20px 34px;
  }

  .cover-copy p:last-child {
    font-size: 15px;
  }

  .project-grid {
    gap: 44px;
  }

  .project-feature {
    gap: 34px;
  }

  .project-feature-visual img {
    aspect-ratio: 4 / 3;
  }

  .project-feature-copy h2 {
    font-size: 40px;
  }

  .project-lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .project-facts {
    margin-top: 42px;
  }

  .project-facts dd {
    font-size: 17px;
  }

  .project-panorama {
    gap: 28px;
    margin-top: 72px;
  }

  .project-panorama img {
    aspect-ratio: 4 / 3;
  }

  .project-panorama-copy h3 {
    font-size: 32px;
  }

  .project-card img,
  .project-card:nth-child(3) img {
    aspect-ratio: 4 / 3;
    margin-bottom: 20px;
  }

  .product-copy {
    min-height: 470px;
    padding: 52px 18px;
  }

  .product-copy h1 {
    font-size: 40px;
  }

  .product-visual {
    min-height: 430px;
  }

  .window-offer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .window-offer-media {
    aspect-ratio: 4 / 3;
    padding: 24px;
  }

  .window-offer h3 {
    font-size: 28px;
  }

  .window-material-switch button {
    min-height: 72px;
    gap: 8px;
    padding: 0 12px;
    font-size: 14px;
  }

  .window-material-switch button span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .window-brand-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .window-brand-header h3 {
    font-size: 36px;
  }

  .window-modal-panel {
    grid-template-rows: 250px auto;
  }

  .window-modal-close {
    top: 14px;
    right: 14px;
  }

  .window-modal-visual {
    min-height: 250px;
    padding: 30px;
  }

  .window-modal-visual img {
    max-height: 190px;
  }

  .window-modal-content {
    padding: 48px 20px 42px;
  }

  .window-modal-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .window-modal-content h2 {
    font-size: 40px;
  }

  .window-modal-description {
    font-size: 15px;
  }

  .window-spec-list > div {
    grid-template-columns: minmax(0, 1fr) minmax(90px, auto);
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .projects-cover {
    height: min(440px, 56svh);
    min-height: 380px;
  }

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

  .project-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .project-dialog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-dialog-gallery .project-dialog-main {
    height: min(55vw, 420px);
  }

  .project-dialog-gallery img {
    height: min(28vw, 210px);
  }

  .project-dialog-close {
    top: 24px;
    right: 24px;
  }
}

@media (max-width: 560px) {
  .projects-cover {
    height: min(390px, 50svh);
    min-height: 340px;
  }

  .project-market {
    padding-top: 58px;
  }

  .project-card-media {
    aspect-ratio: 4 / 3;
  }

  .project-card-media .project-status {
    top: 12px;
    left: 12px;
  }

  .project-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 18px;
  }

  .project-card-body strong {
    font-size: 30px;
  }

  .project-card-action {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 10px;
  }

  .project-dialog {
    width: 100vw;
    max-width: none;
    max-height: 100dvh;
    height: 100dvh;
  }

  .project-dialog-close {
    top: 12px;
    right: 12px;
  }

  .project-dialog-gallery {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .project-dialog-gallery::-webkit-scrollbar {
    display: none;
  }

  .project-dialog-gallery .project-dialog-main,
  .project-dialog-gallery img,
  .project-dialog-gallery .project-gallery-wide {
    flex: 0 0 88vw;
    width: 88vw;
    height: 290px;
    min-height: 0;
    scroll-snap-align: start;
  }

  .project-dialog-copy {
    padding: 42px 18px 54px;
  }

  .project-dialog-copy h2 {
    font-size: 38px;
  }
}

/* ---------- Charred wood page ---------- */

.wood-cover .product-visual-wood {
  object-position: center 42%;
}

.wood-cover .product-copy h1 {
  font-size: clamp(44px, 4.6vw, 78px);
}

.wood-stats {
  margin-top: 0;
  border-top: 0;
}

.wood-stats div {
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: space-between;
}

.wood-stats strong {
  color: var(--ink);
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1;
}

.wood-stats span {
  max-width: 260px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.wood-catalog {
  background: var(--white);
}

.wood-catalog-heading > div > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.wood-species-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(56px, 7vw, 96px) 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.wood-species-switch button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.wood-species-switch button + button {
  border-left: 1px solid var(--line);
}

.wood-species-switch button:hover {
  background: var(--paper);
  color: var(--ink);
}

.wood-species-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.wood-species-switch button span:last-child {
  font-size: 12px;
}

.wood-species-switch button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wood-species-panel {
  margin-top: clamp(58px, 7vw, 96px);
  animation: material-panel-in 560ms var(--ease-out) both;
}

.wood-species-panel[hidden] {
  display: none;
}

.wood-species-header {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.wood-species-header h3 {
  font-size: clamp(36px, 4vw, 58px);
  text-shadow: var(--shadow-on-paper);
}

.wood-species-header p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.wood-finish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 66px 26px;
}

.wood-finish {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.wood-finish-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--paper);
  cursor: pointer;
}

.wood-finish-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 780ms var(--ease-out), opacity 620ms var(--ease-out);
}

.wood-finish-scene {
  opacity: 0;
}

.wood-finish-media:hover .wood-finish-scene,
.wood-finish-media:focus-visible .wood-finish-scene {
  opacity: 1;
  transform: scale(1.05);
}

.wood-finish-media:hover .wood-finish-board,
.wood-finish-media:focus-visible .wood-finish-board {
  transform: scale(1.05);
}

.wood-finish-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(247, 245, 242, 0.92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms var(--ease-out);
}

.wood-finish-zoom svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.wood-finish-media:hover .wood-finish-zoom,
.wood-finish-media:focus-visible .wood-finish-zoom {
  opacity: 1;
  transform: translateY(0);
}

.wood-finish-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 22px;
}

.wood-finish-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.wood-finish-swatch {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 50%;
}

.wood-finish-char {
  margin-left: auto;
}

.wood-finish h3 {
  font-size: clamp(24px, 2vw, 31px);
}

.wood-finish-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.wood-use-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.wood-use-tags li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.wood-finish-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  margin-top: auto;
  padding: 22px 0 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.wood-finish-link span {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.wood-finish-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.wood-finish-link:hover svg {
  transform: translateX(4px);
}

.wood-finish-media:focus-visible,
.wood-finish-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.wood-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: var(--content);
  margin: 0 auto;
}

.wood-use-card {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}

.wood-use-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), opacity 600ms ease;
}

.wood-use-card:hover img {
  transform: scale(1.05);
}

.wood-use-card div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: clamp(38px, 5vw, 68px) clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px);
  background: linear-gradient(to top, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.78) 45%, rgba(12, 10, 9, 0) 100%);
  color: #fff;
}

.wood-use-card h3 {
  text-shadow: var(--shadow-on-image);
}

.wood-use-card p {
  max-width: 460px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.wood-process {
  background: var(--white);
}

.wood-step-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.wood-step {
  min-height: 300px;
  padding: 30px 30px 40px 0;
  border-right: 1px solid var(--line);
}

.wood-step:not(:first-child) {
  padding-left: 30px;
}

.wood-step:last-child {
  border-right: 0;
}

.wood-step-index {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-dark);
  font-size: 12px;
}

.wood-step p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.wood-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--content);
  margin: 0 auto;
}

.wood-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink);
}

.wood-gallery-wide {
  grid-column: span 2;
}

.wood-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.wood-gallery figure:hover img {
  transform: scale(1.05);
}

.wood-cta-section {
  padding-bottom: clamp(70px, 8vw, 120px);
}

.wood-cta {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  gap: 40px;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.wood-cta h2 {
  max-width: 620px;
  margin-top: 8px;
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.wood-cta p {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.wood-cta .button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.wood-cta-section .window-source-note {
  max-width: var(--content);
  margin: 26px auto 0;
}

.wood-modal-visual {
  position: relative;
  padding: 0;
  place-items: stretch;
  background: var(--ink);
}

.wood-modal-visual .wood-modal-scene {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.wood-modal-visual .wood-modal-board {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: clamp(130px, 36%, 240px);
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-on-image);
}

.wood-modal-uses {
  margin-top: 40px;
}

.wood-modal-uses .wood-use-tags {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .wood-finish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .wood-step:nth-child(2) {
    border-right: 0;
  }

  .wood-step:nth-child(3),
  .wood-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .wood-stats {
    grid-template-columns: 1fr;
  }

  .wood-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .wood-stats div:not(:first-child) {
    padding-left: 0;
  }

  .wood-species-switch {
    grid-template-columns: 1fr;
  }

  .wood-species-switch button + button {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .wood-species-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .wood-use-grid {
    grid-template-columns: 1fr;
  }

  .wood-use-card {
    min-height: 330px;
  }

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

  .wood-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wood-modal-visual .wood-modal-board {
    width: 120px;
  }
}

@media (max-width: 560px) {
  .wood-finish-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wood-step-rail {
    grid-template-columns: 1fr;
  }

  .wood-step {
    min-height: 0;
    padding: 26px 0 32px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .wood-step:first-child {
    border-top: 0;
  }

  .wood-step:not(:first-child) {
    padding-left: 0;
  }

  .wood-step-index {
    margin-bottom: 22px;
  }

  .wood-gallery {
    grid-template-columns: 1fr;
  }

  .wood-gallery-wide {
    grid-column: span 1;
  }
}

/* ---------- Doors page ---------- */

.doors-cover .product-copy h1 {
  font-size: clamp(40px, 4.2vw, 70px);
}

.doors-cover-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(26px, 3.6vw, 60px);
  background: var(--white);
  animation: hero-in 1400ms var(--ease-out) both;
}

.doors-cover-visual img {
  width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}

.door-stats {
  margin-top: 0;
  border-top: 0;
}

.door-stats div {
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: space-between;
}

.door-stats strong {
  color: var(--ink);
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1;
}

.door-stats span {
  max-width: 260px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.door-catalog {
  background: var(--white);
}

.door-catalog-heading > div > p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.door-line-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(56px, 7vw, 96px) 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.door-line-switch button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.door-line-switch button + button {
  border-left: 1px solid var(--line);
}

.door-line-switch button:hover {
  background: var(--paper);
  color: var(--ink);
}

.door-line-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.door-line-switch button span:last-child {
  font-size: 12px;
}

.door-line-switch button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.door-line-panel {
  margin-top: clamp(58px, 7vw, 96px);
  animation: material-panel-in 560ms var(--ease-out) both;
}

.door-line-panel[hidden] {
  display: none;
}

.door-line-header {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.door-line-header h3 {
  font-size: clamp(34px, 3.6vw, 54px);
  text-shadow: var(--shadow-on-paper);
}

.door-line-header p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.door-model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 42px 22px;
}

.door-model {
  min-width: 0;
}

.door-model-media {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 320ms var(--ease-out);
}

.door-model-media img {
  width: 100%;
  height: auto;
  transition: transform 620ms var(--ease-out);
}

.door-model-media:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-on-paper);
}

.door-model-media:hover img {
  transform: scale(1.04);
}

.door-model-media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.door-model-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.door-model-copy h3 {
  font-size: 18px;
}

.door-model-copy span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
  text-transform: uppercase;
}

.door-finishes .section-heading > div > p {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.door-finish-group {
  max-width: var(--content);
  margin: 0 auto;
}

.door-finish-group + .door-finish-group {
  margin-top: clamp(56px, 6vw, 88px);
}

.door-finish-group > h3 {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(22px, 2vw, 28px);
}

.door-finish-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 18px;
}

.door-finish {
  margin: 0;
  min-width: 0;
}

.door-finish img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.door-finish figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.door-finish-note {
  max-width: var(--content);
  margin: 40px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.door-quality {
  background: var(--white);
}

.door-quality-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.door-quality-rail article {
  min-height: 300px;
  padding: 30px 30px 40px 0;
  border-right: 1px solid var(--line);
}

.door-quality-rail article:not(:first-child) {
  padding-left: 30px;
}

.door-quality-rail article:last-child {
  border-right: 0;
}

.door-quality-index {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-dark);
  font-size: 12px;
}

.door-quality-rail p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.door-cta-section {
  padding-bottom: clamp(70px, 8vw, 120px);
}

.door-cta {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  gap: 40px;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.door-cta h2 {
  max-width: 620px;
  margin-top: 8px;
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.door-cta p {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.door-cta .button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.door-modal-visual {
  background: var(--white);
}

.door-modal-visual img {
  max-height: 100%;
  object-fit: contain;
}

.door-modal-note {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .door-model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .door-line-switch button:nth-child(odd) {
    border-left: 0;
  }

  .door-line-switch button:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .door-quality-rail article:nth-child(2) {
    border-right: 0;
  }

  .door-quality-rail article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .doors-cover-visual {
    min-height: 380px;
    padding: 26px 18px;
  }

  .door-stats {
    grid-template-columns: 1fr;
  }

  .door-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .door-stats div:not(:first-child) {
    padding-left: 0;
  }

  .door-line-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .door-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .doors-cover-visual {
    padding: 20px 14px;
  }

  .door-line-switch {
    grid-template-columns: 1fr;
  }

  .door-line-switch button + button {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .door-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }

  .door-finish-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .door-quality-rail {
    grid-template-columns: 1fr;
  }

  .door-quality-rail article {
    min-height: 0;
    padding: 26px 0 32px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .door-quality-rail article:first-child {
    border-top: 0;
  }

  .door-quality-rail article:not(:first-child) {
    padding-left: 0;
  }

  .door-quality-index {
    margin-bottom: 22px;
  }
}

/* ---------- Projects page ---------- */

.project-intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  gap: 32px;
  max-width: var(--content);
  margin: 0 auto;
}

.project-intro-side .project-status {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  font-size: 11px;
  text-transform: uppercase;
}

.project-intro-side .eyebrow {
  margin: 0;
}

.project-intro-main h2 {
  max-width: 760px;
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.project-intro-main .project-lead {
  max-width: 660px;
  margin: 30px 0 38px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.project-intro-main .button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.project-keyfacts {
  padding: 0 max(5vw, calc((100vw - var(--content)) / 2));
}

.project-keyfacts dl {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.project-keyfacts dl > div {
  min-height: 128px;
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--line);
}

.project-keyfacts dl > div:not(:first-child) {
  padding-left: 20px;
}

.project-keyfacts dl > div:last-child {
  border-right: 0;
}

.project-keyfacts dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.project-keyfacts dd {
  margin: 14px 0 0;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.15;
}

.project-gallery-section .section-heading > div > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--content);
  margin: 0 auto;
}

.project-shot {
  margin: 0;
  min-width: 0;
}

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

.project-shot button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), opacity 400ms ease;
}

.project-shot button:hover img {
  transform: scale(1.05);
  opacity: 0.92;
}

.project-shot button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-disclaimer {
  max-width: var(--content);
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 12px;
}

.project-equipment {
  background: var(--white);
}

.project-equipment .section-heading > div > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.project-equip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.project-equip-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px 26px 32px 0;
  border-right: 1px solid var(--line);
  color: inherit;
  transition: background-color 260ms ease;
}

.project-equip-card:not(:first-child) {
  padding-left: 26px;
}

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

a.project-equip-card:hover {
  background: var(--paper);
}

.project-equip-index {
  display: block;
  margin-bottom: 46px;
  color: var(--accent-dark);
  font-size: 12px;
}

.project-equip-card h3 {
  font-size: clamp(20px, 1.7vw, 26px);
}

.project-equip-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.project-equip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  font-size: 13px;
}

.project-equip-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

a.project-equip-card:hover .project-equip-link svg {
  transform: translate(3px, -3px);
}

.project-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--content);
  margin: 0 auto;
}

.project-location-copy h2 {
  max-width: 620px;
  margin-top: 8px;
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.project-location-copy > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.project-location-facts {
  margin: 40px 0 0;
}

.project-location-facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.project-location-facts > div:first-child {
  border-top: 1px solid var(--ink);
}

.project-location-facts dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.project-location-facts dd {
  margin: 0;
  font-size: 15px;
}

.project-location-visual {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}

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

.project-cta-section {
  padding-bottom: clamp(70px, 8vw, 120px);
}

.project-cta {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
  gap: 40px;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.project-cta h2 {
  max-width: 620px;
  margin-top: 8px;
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.project-cta p {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.project-cta .button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 14, 13, 0.88);
  backdrop-filter: blur(6px);
  animation: modal-backdrop-in 240ms ease both;
  cursor: zoom-out;
}

.image-lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  max-width: min(1400px, 100%);
  max-height: 100%;
  animation: lightbox-in 420ms var(--ease-out) both;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.image-lightbox-inner img {
  max-width: 100%;
  max-height: calc(100vh - clamp(32px, 8vw, 112px));
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.image-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .project-keyfacts dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-keyfacts dl > div:nth-child(3n) {
    border-right: 0;
  }

  .project-keyfacts dl > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

  .project-equip-card:nth-child(2n) {
    border-right: 0;
  }

  .project-equip-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .project-location-grid {
    grid-template-columns: 1fr;
  }

  .project-location-visual {
    order: -1;
    aspect-ratio: 3 / 2;
  }

  .project-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .image-lightbox-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 560px) {
  .project-keyfacts dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-keyfacts dl > div {
    min-height: 104px;
    padding: 18px 14px 18px 0;
  }

  .project-keyfacts dl > div:nth-child(2n) {
    border-right: 0;
  }

  .project-keyfacts dl > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-shot-wide {
    grid-column: span 1;
  }

  .project-equip-grid {
    grid-template-columns: 1fr;
  }

  .project-equip-card {
    min-height: 0;
    padding: 26px 0 30px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .project-equip-card:first-child {
    border-top: 0;
  }

  .project-equip-card:not(:first-child) {
    padding-left: 0;
  }

  .project-equip-index {
    margin-bottom: 20px;
  }

  .project-location-facts > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- Projects overview grid ---------- */

.projects-lead-section .section-heading h1 {
  font-size: clamp(46px, 5.4vw, 82px);
  text-wrap: balance;
  text-shadow: var(--shadow-on-paper);
}

.projects-lead-section .section-heading > div > p {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 26px;
  max-width: var(--content);
  margin: 0 auto;
}

.project-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-tile-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink);
}

.project-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

a.project-tile-media:hover img {
  transform: scale(1.05);
}

a.project-tile-media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-tile-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 13px;
  background: rgba(247, 245, 242, 0.94);
  color: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
}

.project-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 22px;
}

.project-tile-location {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.project-tile h2 {
  font-size: clamp(26px, 2.2vw, 36px);
  text-wrap: balance;
}

.project-tile h2 a:hover {
  border-bottom: 1px solid var(--ink);
}

.project-tile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.project-tile-facts li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
}

.project-tile-facts span {
  color: var(--muted);
}

.project-tile-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.project-tile-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  font-size: 13px;
}

.project-tile-link span {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}

.project-tile-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.project-tile-link:hover svg {
  transform: translateX(4px);
}

.project-tile-empty .project-tile-media {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(179, 154, 134, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 154, 134, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  border: 1px dashed var(--line);
}

.project-tile-empty .project-tile-media::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: 26%;
  bottom: 26%;
  border: 1px dashed rgba(179, 154, 134, 0.65);
}

.project-tile-empty .project-tile-media svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  color: var(--accent-dark);
  stroke-width: 1.2;
}

.project-tile-empty .project-tile-status {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.project-process-section {
  background: var(--white);
}

.project-step-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.project-step-rail article {
  min-height: 270px;
  padding: 28px 26px 34px 0;
  border-right: 1px solid var(--line);
}

.project-step-rail article:not(:first-child) {
  padding-left: 26px;
}

.project-step-rail article:last-child {
  border-right: 0;
}

.project-step-index {
  display: block;
  margin-bottom: 46px;
  color: var(--accent-dark);
  font-size: 12px;
}

.project-step-rail p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--muted);
}

.project-back:hover {
  color: var(--ink);
}

.project-back svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.project-back:hover svg {
  transform: translateX(-4px);
}

@media (max-width: 1100px) {
  .project-step-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-step-rail article:nth-child(2n) {
    border-right: 0;
  }

  .project-step-rail article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 560px) {
  .project-step-rail {
    grid-template-columns: 1fr;
  }

  .project-step-rail article {
    min-height: 0;
    padding: 24px 0 28px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .project-step-rail article:first-child {
    border-top: 0;
  }

  .project-step-rail article:not(:first-child) {
    padding-left: 0;
  }

  .project-step-index {
    margin-bottom: 20px;
  }
}

/* ---------- Home intro: cinematic reveal ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
}

.intro.intro-done {
  display: none;
}

/* two shutters that split the frame open */
.intro-shutter {
  position: absolute;
  left: -2px;
  right: -2px;
  height: 50.4%;
  background: #0b0a09;
  will-change: transform;
}

.intro-shutter-top {
  top: 0;
  animation: intro-shutter-up 1020ms 1720ms cubic-bezier(0.78, 0, 0.2, 1) both;
}

.intro-shutter-bottom {
  bottom: 0;
  animation: intro-shutter-down 1020ms 1720ms cubic-bezier(0.78, 0, 0.2, 1) both;
}

@keyframes intro-shutter-up {
  to { transform: translate3d(0, -100.5%, 0); }
}

@keyframes intro-shutter-down {
  to { transform: translate3d(0, 100.5%, 0); }
}

/* soft light bloom behind the wordmark */
.intro-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(120vw, 1400px);
  height: min(120vw, 1400px);
  transform: translate(-50%, -50%) scale(0.4);
  background: radial-gradient(circle at center, rgba(196, 158, 118, 0.34), rgba(196, 158, 118, 0.08) 38%, transparent 66%);
  opacity: 0;
  animation: intro-glow-in 1900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes intro-glow-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  46% { opacity: 1; }
  100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
}

/* a bar of light that rakes across the frame */
.intro-sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  z-index: 1;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 249, 240, 0.16) 46%, rgba(255, 249, 240, 0.42) 52%, rgba(255, 249, 240, 0.14) 58%, transparent);
  transform: skewX(-14deg);
  opacity: 0;
  animation: intro-sweep-run 1120ms 780ms cubic-bezier(0.5, 0, 0.3, 1) both;
}

@keyframes intro-sweep-run {
  0% { left: -34%; opacity: 0; }
  16% { opacity: 1; }
  84% { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}

/* hairline where the frame splits */
.intro-seam {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, #fff 50%, var(--accent) 82%, transparent);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: intro-seam-open 1180ms 1420ms cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes intro-seam-open {
  0% { width: 0; opacity: 0; }
  24% { opacity: 1; }
  58% { width: 108%; opacity: 1; }
  100% { width: 108%; opacity: 0; }
}

/* the wordmark */
.intro-word {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f7f5f2;
  font-size: clamp(38px, 8.6vw, 132px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  white-space: nowrap;
  animation:
    intro-track 1000ms 860ms cubic-bezier(0.62, 0, 0.2, 1) both,
    intro-word-out 760ms 1800ms cubic-bezier(0.6, 0, 0.3, 1) both;
}

@keyframes intro-track {
  to { letter-spacing: 0.012em; text-indent: 0.012em; }
}

@keyframes intro-word-out {
  0% { opacity: 1; transform: scale(1); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.14); filter: blur(7px); }
}

.intro-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.26em;
  margin-bottom: -0.26em;
}

.intro-gap {
  display: block;
  width: 0.3em;
}

.intro-glyph {
  display: block;
  transform: translate3d(0, 112%, 0);
  animation: intro-glyph-rise 1080ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(180ms + var(--i) * 62ms);
}

@keyframes intro-glyph-rise {
  to { transform: translate3d(0, 0, 0); }
}

body.intro-playing {
  overflow: hidden;
}

body.intro-playing .site-header {
  animation-delay: 2450ms;
}

body.intro-playing .hero-image,
body.intro-playing .hero-content h1 {
  animation-play-state: paused;
}

/* the hero pulls into focus as the frame opens */
.hero-image {
  transition: filter 1500ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.intro-playing .hero-image {
  filter: blur(16px) saturate(0.7);
}

@media (max-width: 900px) {
  .intro-word {
    font-size: clamp(30px, 7.6vw, 68px);
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }
}

@media (max-width: 560px) {
  .intro-word {
    font-size: clamp(23px, 6.9vw, 38px);
    letter-spacing: 0.19em;
    text-indent: 0.19em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
}

/* ---------- Cookie consent ---------- */
.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  max-width: 720px;
  margin-left: auto;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(31, 26, 22, 0.18);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out);
}

.consent-banner[hidden] {
  display: none;
}

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

.consent-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.consent-text a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-actions button {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out);
}

.consent-accept {
  background: var(--ink);
  color: var(--white);
}

.consent-accept:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.consent-decline {
  background: transparent;
  color: var(--ink);
}

.consent-decline:hover {
  background: var(--paper);
}

@media (max-width: 720px) {
  .consent-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .consent-actions button {
    flex: 1;
  }
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px max(5vw, 24px) 96px;
}

.legal h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.06;
}

.legal-updated {
  margin: 0 0 44px;
  color: var(--muted);
  font-size: 13px;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 19px;
  font-weight: 600;
}

.legal p,
.legal li {
  color: #3d3b38;
  font-size: 15px;
  line-height: 1.68;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 7px;
}

.legal a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.legal-note {
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(179, 154, 134, 0.09);
  font-size: 14px;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-contact {
  margin: 0 0 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--accent-dark);
}

.legal-back svg {
  width: 16px;
  height: 16px;
}

/* ---------- Footer legal links ---------- */
.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .site-footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* ---------- 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 60px 24px;
  text-align: center;
}

.notfound-code {
  margin: 0;
  color: var(--accent);
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 600;
  line-height: 1;
}

.notfound h1 {
  margin: 18px 0 12px;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 600;
}

.notfound p {
  max-width: 420px;
  margin: 0 auto 30px;
  color: var(--muted);
}

/* ---------- Direct contact details ---------- */
.contact-direct {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-direct li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
}

.contact-direct svg {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--accent-dark);
  stroke-width: 1.5;
}

.contact-direct a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}

.contact-direct a:hover {
  border-bottom-color: var(--ink);
}
