:root {
  --ink: #18211c;
  --ink-soft: #4e5b53;
  --paper: #f5f1e8;
  --paper-deep: #e8e0d2;
  --white: #fffdf8;
  --clay: #bb5b38;
  --clay-dark: #8e3e25;
  --sage: #5e735f;
  --lime: #d9e77f;
  --line: rgba(24, 33, 28, 0.16);
  --shadow: 0 24px 70px rgba(28, 36, 31, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --max: 1240px;
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

::selection { background: var(--lime); color: var(--ink); }

.site-shell { min-height: 100vh; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 5px 48px;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(24, 33, 28, .07);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo { display: block; width: clamp(205px, 18vw, 252px); height: auto; }
.footer-logo { width: min(280px, 100%); filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav-link {
  position: relative;
  padding: 28px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--clay);
  transition: right .3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  cursor: pointer;
}

.button {
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover { transform: translateY(-3px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.button-clay { color: var(--white); background: var(--clay); border-color: var(--clay); }
.button-clay:hover { background: var(--ink); border-color: var(--ink); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: var(--clay); border-color: var(--clay); }
.button .arrow { font-size: 18px; transition: transform .25s ease; }
.button:hover .arrow { transform: translateX(4px); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}

.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--lime); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(55px, 8vw, 118px); line-height: .88; }
h2 { font-size: clamp(40px, 5vw, 70px); line-height: .98; }
h3 { font-size: clamp(27px, 3vw, 39px); line-height: 1.08; }

.lede { max-width: 700px; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.narrow { max-width: 790px; }

.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-media::after { position: absolute; inset: 0; }
.hero-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(9, 17, 13, .87) 0%, rgba(9, 17, 13, .46) 48%, rgba(9, 17, 13, .12) 100%), linear-gradient(0deg, rgba(9, 17, 13, .38), transparent 50%);
}

.hero-media img { height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: calc(100vh - 118px);
  padding-block: clamp(90px, 13vh, 150px) 70px;
}

.hero-copy { max-width: 900px; }
.hero h1 { max-width: 830px; margin-bottom: 28px; }
.hero h1 em { color: var(--lime); font-style: italic; }
.hero .lede { max-width: 610px; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 20px;
  align-items: center;
  max-width: 390px;
  padding: 21px 26px;
  color: var(--ink);
  background: var(--lime);
}

.hero-note strong { font-family: var(--serif); font-size: 27px; line-height: 1; font-weight: 400; }
.hero-note span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 570px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,20,15,.87), rgba(12,20,15,.18)); }
.page-hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 1; padding-block: 100px 65px; }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(54px, 8vw, 102px); }
.page-hero .lede { max-width: 660px; color: rgba(255,255,255,.78); }

.section { padding-block: clamp(85px, 11vw, 150px); }
.section-sm { padding-block: 80px; }
.section-dark { color: var(--white); background: var(--ink); }
.section-clay { color: var(--white); background: var(--clay-dark); }
.section-white { background: var(--white); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: end;
  margin-bottom: 62px;
}

.section-heading h2 { margin-bottom: 0; }
.section-heading p { color: var(--ink-soft); }
.section-dark .section-heading p { color: rgba(255,255,255,.7); }

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.intro-image,
.split-media { position: relative; }
.intro-image img,
.split-media img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.intro-image::after {
  content: "Tailored in Ontario";
  position: absolute;
  right: -28px;
  bottom: 36px;
  padding: 15px 22px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 38px; background: var(--line); border: 1px solid var(--line); }
.stat { padding: 24px 18px; background: var(--paper); }
.stat strong { display: block; font-family: var(--serif); font-size: 35px; font-weight: 400; }
.stat span { color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.value-card { min-height: 390px; padding: 42px; border-right: 1px solid rgba(255,255,255,.18); }
.value-card:last-child { border-right: 0; }
.value-number { display: block; margin-bottom: 80px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.value-card h3 { margin-bottom: 17px; }
.value-card p { color: rgba(255,255,255,.67); }

.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { position: relative; min-height: 610px; overflow: hidden; border-radius: var(--radius); color: var(--white); }
.service-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,13,.88), rgba(10,18,13,.05) 70%); }
.service-card-content { position: absolute; z-index: 1; inset: auto 0 0; padding: clamp(28px, 5vw, 50px); }
.service-card h3 { max-width: 420px; margin-bottom: 12px; font-size: clamp(36px, 4.5vw, 58px); }
.service-card p { max-width: 480px; color: rgba(255,255,255,.76); }
.service-card .text-link { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-card:hover img { transform: scale(1.055); }

.feature-list { display: grid; gap: 0; margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-list b { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.feature-list span { color: var(--clay-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; }

.gallery-teaser { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 38px; gap: 16px; }
.gallery-teaser a { position: relative; overflow: hidden; border-radius: 14px; }
.gallery-teaser a:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 10; }
.gallery-teaser a:nth-child(2) { grid-column: 7 / 13; grid-row: 1 / 7; }
.gallery-teaser a:nth-child(3) { grid-column: 7 / 10; grid-row: 7 / 13; }
.gallery-teaser a:nth-child(4) { grid-column: 10 / 13; grid-row: 7 / 13; }
.gallery-teaser a:nth-child(5) { grid-column: 1 / 7; grid-row: 10 / 13; }
.gallery-teaser img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-teaser a:hover img { transform: scale(1.04); }
.image-label { position: absolute; z-index: 1; left: 18px; bottom: 16px; padding: 8px 12px; color: var(--ink); background: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.marquee { overflow: hidden; padding-block: 24px; color: var(--white); background: var(--clay); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { padding-inline: 24px; font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); white-space: nowrap; }
.marquee i { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

.process-list { counter-reset: process; }
.process-step {
  display: grid;
  grid-template-columns: 90px minmax(260px, .75fr) minmax(300px, 1fr);
  gap: clamp(25px, 6vw, 80px);
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num { color: var(--clay-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.process-step h3 { margin: 0; }
.process-detail { display: grid; grid-template-columns: 155px 1fr; gap: 28px; align-items: center; }
.process-detail img { width: 155px; height: 120px; object-fit: cover; border-radius: 10px; }
.process-detail p { margin: 0; color: var(--ink-soft); }

.category-rail { display: flex; gap: 10px; margin: 0 0 48px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.filter-button { flex: 0 0 auto; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: .25s ease; }
.filter-button:hover,
.filter-button.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }

.category-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin-bottom: 70px; }
.category-card { position: relative; min-height: 420px; overflow: hidden; border-radius: 14px; color: var(--white); cursor: pointer; }
.category-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .7s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,20,15,.85), transparent 65%); }
.category-card-content { position: absolute; z-index: 1; inset: auto 18px 20px; }
.category-card strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.05; }
.category-card span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.category-card:hover img { transform: scale(1.06); }

.gallery-grid { columns: 3 330px; column-gap: 18px; }
.gallery-item { position: relative; width: 100%; margin: 0 0 18px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: transparent; cursor: zoom-in; break-inside: avoid; }
.gallery-item img { transition: transform .6s ease, filter .4s ease; }
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.88); }
.gallery-item::after { content: "+"; position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: 24px; transform: translateY(60px); transition: transform .3s ease; }
.gallery-item:hover::after { transform: none; }
.gallery-item[hidden] { display: none; }

.lightbox { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 40px 80px; background: rgba(10,16,12,.94); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; width: min(1100px, 100%); height: min(800px, calc(100vh - 80px)); margin: 0; }
.lightbox img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.72); text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lightbox-button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--white); background: transparent; cursor: pointer; font-size: 26px; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; }
.lightbox-next { right: 24px; top: 50%; }

.testimonial-wrap { display: grid; grid-template-columns: .45fr 1fr; gap: 70px; }
.testimonial-nav { display: flex; gap: 8px; align-items: end; }
.round-button { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--white); background: transparent; cursor: pointer; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.03em; }
.testimonial cite { display: block; margin-top: 28px; color: var(--lime); font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.faq-list { max-width: 930px; margin-left: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question { display: grid; grid-template-columns: 1fr 42px; align-items: center; width: 100%; padding: 28px 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-family: var(--serif); font-size: clamp(23px, 3vw, 32px); }
.faq-icon { position: relative; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; }
.faq-icon::before,
.faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1px; background: var(--ink); transform: translate(-50%,-50%); transition: transform .3s ease; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 760px; padding: 0 58px 30px 0; color: var(--ink-soft); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.form-layout { display: grid; grid-template-columns: minmax(300px, .58fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 110px); }
.form-card { padding: clamp(28px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.field input,
.field textarea,
.field select { width: 100%; min-height: 55px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(187,91,56,.13); }
.form-note { color: var(--ink-soft); font-size: 12px; }
.contact-stack { display: grid; gap: 30px; margin-top: 45px; }
.contact-item span { display: block; margin-bottom: 5px; color: var(--clay-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-item strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line); }
.timeline-step { position: relative; text-align: center; }
.timeline-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 53px; height: 53px; margin: 0 auto 22px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 12px; font-weight: 800; }
.timeline-step h3 { font-size: 25px; }
.timeline-step p { color: var(--ink-soft); font-size: 14px; }

.area-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.area-cloud span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; }

.cta-band { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 130px); color: var(--white); background: var(--clay-dark); }
.cta-band::after { content: ""; position: absolute; right: -140px; top: -190px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.cta-inner h2 { max-width: 850px; margin-bottom: 0; }

.legal { max-width: 850px; }
.legal h2 { margin-top: 55px; font-size: 35px; }
.legal h3 { margin-top: 35px; font-size: 27px; }
.legal p,
.legal li { color: var(--ink-soft); }

.site-footer { color: var(--white); background: #111713; }
.footer-top { display: grid; grid-template-columns: 1.2fr .55fr .55fr .8fr; gap: 50px; padding-block: 80px; }
.footer-brand { max-width: 360px; }
.footer-brand p { color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 20px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 12px; }

.toast { position: fixed; z-index: 700; right: 24px; bottom: 24px; max-width: 380px; padding: 18px 22px; color: var(--white); background: var(--ink); border-left: 4px solid var(--lime); box-shadow: var(--shadow); transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.toast.is-visible { transform: none; }

.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease var(--reveal-delay), transform .8s cubic-bezier(.2,.8,.2,1) var(--reveal-delay), filter .8s ease var(--reveal-delay);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { --reveal-delay: .1s; }
.reveal-delay-2 { --reveal-delay: .2s; }
.reveal-delay-3 { --reveal-delay: .3s; }

/* Homepage card entrances are assigned in JavaScript so the motion matches each layout. */
.reveal-pop {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(44px) scale(.91);
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}
.reveal-pop.is-visible { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.reveal-card-left { opacity: 0; filter: blur(3px); transform: translate3d(-52px, 30px, 0) scale(.965) rotate(-1deg); transition-duration: 1.05s; transition-timing-function: cubic-bezier(.16,1,.3,1); }
.reveal-card-right { opacity: 0; filter: blur(3px); transform: translate3d(52px, 30px, 0) scale(.965) rotate(1deg); transition-duration: 1.05s; transition-timing-function: cubic-bezier(.16,1,.3,1); }
.reveal-card-left.is-visible,
.reveal-card-right.is-visible { opacity: 1; filter: blur(0); transform: none; }
.reveal-tilt { opacity: 0; filter: blur(4px); transform: translateY(46px) scale(.92) rotate(var(--reveal-rotate, 0deg)); transition-duration: .95s; transition-timing-function: cubic-bezier(.16,1,.3,1); }
.reveal-tilt.is-visible { opacity: 1; filter: blur(0); transform: none; }
.timeline-step.is-visible .timeline-dot { animation: dotPop .65s cubic-bezier(.16,1.4,.3,1) calc(var(--reveal-delay) + .15s) both; }
.home-animated .service-card.is-visible { box-shadow: 0 28px 75px rgba(24,33,28,.2); }
.home-animated .value-card { transition-property: opacity, transform, filter, background-color; }
.home-animated .value-card.is-visible:hover { background: rgba(255,255,255,.035); transform: translateY(-7px); }

@keyframes dotPop {
  0% { transform: scale(.35); background: var(--clay); color: transparent; }
  72% { transform: scale(1.14); }
  100% { transform: scale(1); background: var(--paper); color: var(--ink); }
}

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

@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-link { font-size: 11px; }
  .nav-actions .button { display: none; }
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .category-card { min-height: 340px; }
  .footer-top { grid-template-columns: 1.2fr repeat(2, .6fr); }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, var(--max)); }
  .announcement { padding-inline: 16px; }
  .nav-wrap { grid-template-columns: 1fr auto; gap: 12px; min-height: 70px; }
  .nav-actions { position: relative; z-index: 102; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { position: fixed; inset: 106px 0 0; display: grid; align-content: start; gap: 0; padding: 32px 20px 60px; background: var(--paper); transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .menu-open .nav-links { transform: none; }
  .nav-link { padding: 17px 12px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .nav-link::after { display: none; }
  .nav-actions { justify-self: end; }
  .hero,
  .hero-content { min-height: calc(100svh - 106px); }
  .hero-note { display: none; }
  .page-hero { min-height: 500px; }
  .section-heading,
  .intro-grid,
  .split-grid,
  .form-layout,
  .testimonial-wrap { grid-template-columns: 1fr; }
  .section-heading { align-items: start; margin-bottom: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; padding: 35px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .value-number { margin-bottom: 28px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 520px; }
  .process-step { grid-template-columns: 60px 1fr; gap: 25px; }
  .process-detail { grid-column: 2; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .category-card { min-height: 360px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--max)); }
  .brand-logo { width: min(205px, 62vw); }
  .hero-content { padding-bottom: 45px; }
  .hero h1 { font-size: clamp(50px, 16vw, 74px); }
  .hero-actions .button { width: 100%; }
  .page-hero { min-height: 440px; }
  .page-hero-content { padding-block: 70px 45px; }
  .section { padding-block: 76px; }
  .section-sm { padding-block: 58px; }
  .stat-row { grid-template-columns: 1fr; }
  .service-card { min-height: 480px; }
  .gallery-teaser { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .gallery-teaser a:nth-child(n) { grid-column: auto; grid-row: auto; }
  .gallery-teaser a:first-child { grid-column: 1 / -1; }
  .process-step { grid-template-columns: 42px 1fr; }
  .process-detail { grid-template-columns: 1fr; }
  .process-detail img { width: 100%; height: 190px; }
  .category-cards { display: grid; grid-template-columns: 1fr; }
  .category-card { min-height: 300px; }
  .gallery-grid { columns: 2 145px; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .lightbox { padding: 70px 12px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-button { width: 43px; height: 43px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-card { padding: 24px 18px; }
  .timeline { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
