/* ── Tokens ── */
:root {
  --pine: #1a2328;
  --birch: #e8e4dc;
  --lake: #2a5f6e;
  --ember: #c47a3a;
  --cedar: #6b5344;
  --frost: #f5f3ef;
  --slate: #3d4f56;
  --mist: #9aab9e;
  --error: #d4644a;
  --error-bg: rgba(212, 100, 74, 0.1);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--pine);
  background: var(--frost);
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

/* ── Utilities ── */
.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--pine);
  color: var(--frost);
  border-radius: 0;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--ember);
  color: var(--frost);
  border: 1px solid var(--ember);
}

.btn-primary:hover {
  background: #b06a2f;
  border-color: #b06a2f;
}

.btn-ghost {
  background: transparent;
  color: var(--frost);
  border: 1px solid rgba(245, 243, 239, 0.35);
}

.btn-ghost:hover {
  border-color: var(--frost);
  background: rgba(245, 243, 239, 0.08);
}

.btn-full {
  width: 100%;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(26, 35, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--frost);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.logo-star {
  color: var(--ember);
  flex-shrink: 0;
}

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

.nav a {
  color: rgba(245, 243, 239, 0.75);
  font-size: 0.875rem;
  font-weight: 450;
  transition: color 0.25s;
}

.nav a:hover {
  color: var(--frost);
}

.nav a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
}

.nav-cta {
  padding: 0.5rem 1.125rem;
  background: rgba(196, 122, 58, 0.15);
  border: 1px solid rgba(196, 122, 58, 0.4);
  border-radius: 2px;
  color: var(--frost) !important;
}

.nav-cta:hover {
  background: var(--ember);
  border-color: var(--ember);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--frost);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--pine);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  color: var(--frost);
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: -2px;
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(26, 35, 40, 0.92) 0%,
      rgba(26, 35, 40, 0.55) 40%,
      rgba(26, 35, 40, 0.25) 70%,
      rgba(26, 35, 40, 0.15) 100%
    ),
    linear-gradient(
      to right,
      rgba(196, 122, 58, 0.08) 0%,
      transparent 50%,
      rgba(42, 95, 110, 0.12) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
  color: var(--ember);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--frost);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--birch);
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 520px;
  font-size: 1.125rem;
  font-weight: 350;
  line-height: 1.7;
  color: rgba(245, 243, 239, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245, 243, 239, 0.45);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245, 243, 239, 0.4), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ── Twilight band (signature element) ── */
.twilight-band {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--ember) 0%,
    var(--cedar) 25%,
    var(--lake) 60%,
    var(--pine) 100%
  );
}

/* ── Intro ── */
.intro {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.intro-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.intro-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.35rem;
  color: var(--lake);
}

.north-star {
  animation: star-glow 4s ease-in-out infinite;
}

@keyframes star-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--pine);
}

.intro-body {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--slate);
  font-weight: 350;
}

.intro-body p:first-child {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--pine);
}

/* ── Section headers ── */
.section-header {
  max-width: 600px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--light .section-eyebrow {
  color: var(--ember);
}

.section-header--light .section-title {
  color: var(--frost);
}

.section-eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--lake);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* ── Gallery ── */
.work {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--frost);
}

.work .section-header {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  grid-column: span 4;
}

.gallery-item--wide {
  grid-column: span 8;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item--wide img {
  aspect-ratio: 16/9;
}

.gallery-item--tall img {
  aspect-ratio: 3/4;
  min-height: 100%;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(26, 35, 40, 0.8), transparent);
  color: var(--frost);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Always show captions on touch and small screens */
@media (hover: none), (max-width: 768px) {
  .gallery-item figcaption {
    opacity: 1;
    transform: translateY(0);
  }

  .gallery-item:hover img {
    transform: none;
  }
}

.gallery-tag {
  color: var(--ember);
}

.gallery-location {
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* ── Services ── */
.services {
  background: var(--pine);
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  list-style: none;
}

.service-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--pine);
  transition: background 0.35s var(--ease-out);
}

.service-card:hover {
  background: rgba(42, 95, 110, 0.15);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--frost);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  font-weight: 350;
  line-height: 1.65;
  color: rgba(245, 243, 239, 0.6);
}

/* ── Process ── */
.process {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--birch);
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
}

.process-step {
  position: relative;
  padding-top: 1rem;
  border-top: 2px solid var(--lake);
}

.process-phase {
  display: block;
  margin-bottom: 1rem;
  color: var(--lake);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.625rem;
  color: var(--pine);
}

.process-step p {
  font-size: 0.9375rem;
  font-weight: 350;
  color: var(--slate);
  line-height: 1.65;
}

/* ── Testimonial ── */
.testimonial {
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--frost);
  text-align: center;
}

.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
}

.testimonial-inner p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--pine);
}

.testimonial-inner em {
  font-style: normal;
  color: var(--lake);
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  margin-top: 2rem;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 500;
}

.testimonial-location {
  color: var(--mist);
}

/* ── Contact ── */
.contact {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--pine);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-copy .section-eyebrow {
  color: var(--ember);
}

.contact-copy .section-title {
  color: var(--frost);
}

.contact-copy > p {
  margin-top: 1.25rem;
  font-weight: 350;
  color: rgba(245, 243, 239, 0.65);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: rgba(245, 243, 239, 0.55);
}

.contact-details a {
  color: var(--frost);
  transition: color 0.25s;
}

.contact-details a:hover {
  color: var(--ember);
}

.contact-details a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(245, 243, 239, 0.7);
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--frost);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: border-color 0.25s, background 0.25s;
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aab9e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row select option {
  background: var(--pine);
  color: var(--frost);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--ember);
  background: rgba(255, 255, 255, 0.09);
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #e8956f;
  line-height: 1.4;
}

.form-row input:user-invalid:not(:focus),
.form-row textarea:user-invalid:not(:focus) {
  border-color: var(--error);
  background: var(--error-bg);
}

.form-row input:user-invalid:not(:focus) ~ .form-error,
.form-row textarea:user-invalid:not(:focus) ~ .form-error {
  display: block;
}

.contact-form.was-validated .form-row input:invalid:not(:focus),
.contact-form.was-validated .form-row textarea:invalid:not(:focus) {
  border-color: var(--error);
  background: var(--error-bg);
}

.contact-form.was-validated .form-row input:invalid ~ .form-error,
.contact-form.was-validated .form-row textarea:invalid ~ .form-error {
  display: block;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* ── Footer ── */
.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  background: #121a1e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--frost);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-brand .logo-star {
  color: var(--ember);
}

.footer-tagline {
  color: var(--mist);
}

.footer-copy {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.35);
}

/* ── Footer grid (multi-page) ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(245, 243, 239, 0.55);
  transition: color 0.25s;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--frost);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.footer-grid .footer-copy {
  grid-column: 1 / -1;
  margin-left: 0;
}

/* ── Nav active state ── */
.nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--frost);
}

/* ── Section links ── */
.section-header--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lake);
  transition: color 0.25s;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--ember);
}

.section-link--light {
  color: rgba(245, 243, 239, 0.65);
}

.section-link--light:hover {
  color: var(--frost);
}

.section-link:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ── Inner pages ── */
.inner-page .site-header {
  background: rgba(26, 35, 40, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

/* ── Page hero ── */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 50vh;
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.page-hero--short {
  min-height: 42vh;
}

.page-hero--minimal {
  min-height: auto;
  padding: calc(var(--header-h) + 4rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  background: var(--frost);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 35, 40, 0.9) 0%, rgba(26, 35, 40, 0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.page-hero-content--centered {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--ember);
}

.page-hero-eyebrow--dark {
  color: var(--lake);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--frost);
}

.page-hero-title--dark {
  color: var(--pine);
}

.page-hero-lead {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 350;
  line-height: 1.7;
  color: rgba(245, 243, 239, 0.75);
}

.page-hero-lead--dark {
  color: var(--slate);
}

/* ── Page sections ── */
.page-section {
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.page-section--compact {
  padding-bottom: 0;
}

.page-section--compact-top {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.page-section--birch {
  background: var(--birch);
}

.page-section--dark {
  background: var(--pine);
}

.page-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-section-inner--narrow {
  max-width: 720px;
}

.section-title--light {
  color: var(--frost);
}

.section-eyebrow--light {
  color: var(--ember);
}

.text-muted {
  color: rgba(245, 243, 239, 0.6);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

/* ── Split content ── */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.split-content--reverse {
  direction: rtl;
}

.split-content--reverse > * {
  direction: ltr;
}

.split-content-text p {
  margin-top: 1rem;
  color: var(--slate);
  font-weight: 350;
  line-height: 1.7;
}

.split-content-text p:first-of-type {
  margin-top: 1.25rem;
}

.split-content-media {
  border-radius: 2px;
  overflow: hidden;
}

.split-content-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── Values grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  list-style: none;
}

.value-card {
  padding-top: 1.25rem;
  border-top: 2px solid var(--lake);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.625rem;
}

.value-card p {
  font-size: 0.9375rem;
  font-weight: 350;
  color: var(--slate);
  line-height: 1.65;
}

/* ── Team grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 2.5rem;
  list-style: none;
}

.team-card {
  padding: 1.5rem;
  background: var(--frost);
  border-radius: 2px;
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  background: var(--pine);
  color: var(--frost);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50%;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.team-role {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--lake);
}

.team-card p:last-child {
  font-size: 0.875rem;
  font-weight: 350;
  color: var(--slate);
  line-height: 1.6;
}

/* ── Area map ── */
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
  font-size: 0.9375rem;
  color: rgba(245, 243, 239, 0.7);
}

.area-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1.5rem;
  background: rgba(42, 95, 110, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.area-map svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.area-map-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: rgba(245, 243, 239, 0.45);
}

/* ── CTA band ── */
.cta-band {
  padding: clamp(4rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--pine);
  text-align: center;
}

.cta-band-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--frost);
  margin-bottom: 0.75rem;
}

.cta-band-inner p {
  color: rgba(245, 243, 239, 0.6);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

/* ── Service jump nav ── */
.service-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  background: var(--frost);
  border-bottom: 1px solid rgba(26, 35, 40, 0.08);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}

.service-jump a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.375rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.service-jump a:hover {
  color: var(--pine);
  border-bottom-color: var(--ember);
}

.service-jump a:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ── Service detail ── */
.service-detail {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.service-detail--alt {
  background: var(--birch);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.service-detail--alt .service-detail-inner {
  direction: rtl;
}

.service-detail--alt .service-detail-inner > * {
  direction: ltr;
}

.service-detail-media {
  border-radius: 2px;
  overflow: hidden;
}

.service-detail-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-detail-text p {
  margin-top: 1rem;
  color: var(--slate);
  font-weight: 350;
  line-height: 1.7;
}

.feature-list {
  margin: 1.5rem 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--ember);
  border-radius: 50%;
}

/* ── Filter bar ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
  background: transparent;
  border: 1px solid rgba(26, 35, 40, 0.15);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.filter-btn:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.filter-btn.active {
  background: var(--pine);
  color: var(--frost);
  border-color: var(--pine);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.gallery--full {
  max-width: 1400px;
}

.gallery-item.hidden {
  display: none;
}

/* ── Case study ── */
.case-study {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2rem;
  align-items: start;
}

.case-study-media {
  border-radius: 2px;
  overflow: hidden;
}

.case-study-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.case-study-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-study-meta dt {
  color: var(--lake);
  margin-bottom: 0.25rem;
}

.case-study-meta dd {
  font-size: 0.9375rem;
  color: var(--pine);
}

.case-study-details p {
  color: var(--slate);
  font-weight: 350;
  line-height: 1.7;
}

.case-study-quote {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 35, 40, 0.12);
}

.case-study-quote p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--pine);
}

.case-study-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--slate);
}

/* ── Timeline ── */
.timeline {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.timeline-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  position: relative;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 69px;
  top: 2rem;
  bottom: 0;
  width: 1px;
  background: rgba(42, 95, 110, 0.25);
}

.timeline-phase {
  color: var(--lake);
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.timeline-duration {
  color: var(--ember);
  margin-bottom: 0.75rem;
}

.timeline-content > p {
  color: var(--slate);
  font-weight: 350;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-checklist {
  list-style: none;
}

.timeline-checklist li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.timeline-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lake);
  font-size: 0.75rem;
}

/* ── FAQ ── */
.faq-list {
  margin-top: 2rem;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(26, 35, 40, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(26, 35, 40, 0.1);
}

.faq-item dt {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.faq-item dd {
  font-size: 0.9375rem;
  font-weight: 350;
  color: var(--slate);
  line-height: 1.65;
}

/* ── Contact page ── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-page-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  padding: 1.5rem;
  background: var(--birch);
  border-radius: 2px;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-details--page {
  margin-top: 0;
  color: var(--slate);
}

.contact-details--page a {
  color: var(--pine);
}

.contact-details--page a:hover {
  color: var(--ember);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--slate);
  border-bottom: 1px solid rgba(26, 35, 40, 0.08);
}

.next-steps {
  list-style: none;
  counter-reset: step;
}

.next-steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
  counter-increment: step;
}

.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--frost);
  background: var(--lake);
  border-radius: 50%;
}

.contact-form--page {
  padding: 2rem;
  background: var(--pine);
  border-radius: 2px;
}

.contact-form--page .form-row input,
.contact-form--page .form-row textarea,
.contact-form--page .form-row select {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--frost);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  width: 100%;
  transition: border-color 0.25s, background 0.25s;
}

.contact-form--page .form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aab9e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form--page .form-row select option {
  background: var(--pine);
  color: var(--frost);
}

.contact-form--page .form-row input:focus,
.contact-form--page .form-row textarea:focus,
.contact-form--page .form-row select:focus {
  outline: none;
  border-color: var(--ember);
  background: rgba(255, 255, 255, 0.09);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 6;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-scroll { display: none; }

  .intro-inner {
    grid-template-columns: 1fr;
  }

  .intro-label {
    flex-direction: row;
  }

  .intro-body {
    grid-column: 1;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 12;
  }

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

  .footer-copy {
    margin-left: 0;
    width: 100%;
  }

  .section-header--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .split-content,
  .split-content--reverse,
  .service-detail-inner,
  .service-detail--alt .service-detail-inner,
  .case-study,
  .contact-page-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

  .area-list {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .timeline-step:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

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