/* Pukas Excavating — hand-coded, 2026 preview */

:root {
  --ink: #0c0b09;
  --earth: #141210;
  --soil: #1e1a16;
  --clay: #3a2d24;
  --rust: #c65d2e;
  --rust-deep: #9a4320;
  --ember: #e07a3d;
  --ochre: #c4a06a;
  --bone: #e9e1d4;
  --bone-dim: #c8c0b4;
  --dust: #a89880;
  --mute: #7a7268;
  --pine: #2c3b32;
  --line: rgba(233, 225, 212, 0.14);
  --line-strong: rgba(233, 225, 212, 0.28);
  --shade: rgba(12, 11, 9, 0.62);
  --font-display: "Nippo", "Helvetica Neue", sans-serif;
  --font-head: "Nippo", "Helvetica Neue", sans-serif;
  --font-body: "Satoshi", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1240px;
  --side: clamp(1.15rem, 3.6vw, 3.25rem);
  --header: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; background: var(--ink); overflow-x: clip; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.05vw, 1.15rem);
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
/* Let <picture> wrap without changing existing img layout (object-fit covers) */
picture { display: contents; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
a:hover { color: var(--ochre); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}
::selection {
  background: var(--rust);
  color: var(--bone);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--side);
}
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  line-height: 1.4;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ochre);
  margin: 0 0 1.25rem;
}
.eyebrow span {
  color: var(--rust);
}
h1, h2, h3 {
  font-weight: 400;
  line-height: 0.92;
  margin: 0;
}
h2 {
  overflow-wrap: break-word;
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--bone);
  max-width: 16ch;
}
h3 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

section[id], #intro, #services, #why, #work, #process, #area, #reviews, #quote {
  scroll-margin-top: calc(var(--header) + 0.4rem);
}

.plate {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(12, 11, 9, 0.72);
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Skip */
.skip-link {
  position: absolute;
  left: var(--side);
  top: -5rem;
  background: var(--rust);
  color: var(--bone);
  padding: 0.6rem 1rem;
  z-index: 400;
  text-decoration: none;
}
.skip-link:focus { top: 0.6rem; }

/* Grain */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.055;
  background: url("../images/grain.png") 0 0 / 280px 280px;
  mix-blend-mode: overlay;
}


/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.9s var(--ease), opacity 0.5s ease;
}
.preloader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}
.preloader__inner {
  text-align: center;
  position: relative;
}
.preloader__kicker {
  color: var(--dust);
  margin-bottom: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}
.preloader__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 16vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.25s forwards;
}
.preloader__cut {
  height: 2px;
  width: 0;
  background: var(--rust);
  margin: 0.85rem auto 0.7rem;
  animation: cut 0.9s var(--ease) 0.45s forwards;
}
.preloader__sub {
  color: var(--ochre);
  letter-spacing: 0.4em;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.7s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cut {
  from { width: 0; }
  to { width: min(40vw, 16rem); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side);
  height: var(--header);
  background: linear-gradient(to bottom, rgba(12,11,9,0.78) 0%, rgba(12,11,9,0.35) 60%, rgba(12,11,9,0) 100%);
  transition: background 0.35s ease, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.wordmark {
  text-decoration: none;
  color: var(--bone);
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.12rem;
}
.wordmark:hover { color: var(--bone); }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wordmark__trade {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.85rem);
}
.nav-desktop a {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  position: relative;
}
.nav-desktop a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-desktop a:not(.nav-cta):hover::after,
.nav-desktop a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav-cta {
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--rust);
  color: var(--bone) !important;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: var(--rust); color: var(--bone) !important; }
.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  position: relative;
  z-index: 140;
}
.nav-toggle span {
  position: absolute;
  left: 0.35rem; right: 0.35rem;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.35s var(--ease), top 0.35s;
}
.nav-toggle span:first-child { top: 0.9rem; }
.nav-toggle span:last-child { top: 1.35rem; }
.nav-toggle.is-open span:first-child { top: 1.15rem; transform: rotate(40deg); }
.nav-toggle.is-open span:last-child { top: 1.15rem; transform: rotate(-40deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  display: grid;
  place-items: center;
  padding: 6rem var(--side) 3rem;
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: min(32rem, 100%);
}
.nav-mobile a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 0.95;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
  padding: 0.25rem 0 0.4rem;
  color: var(--bone);
}
.nav-mobile a:hover { color: var(--rust); }
.nav-mobile .nav-mobile__tel {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  border: 0;
  margin-top: 0.5rem;
  color: var(--ochre);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rust);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s, transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid {
  background: var(--rust);
  color: var(--bone);
  border-color: var(--rust);
}
.btn--solid:hover { background: var(--ember); color: var(--ink); border-color: var(--ember); }
.btn--ghost {
  background: transparent;
  color: var(--bone);
}
.btn--ghost:hover { background: rgba(233, 225, 212, 0.08); color: var(--bone); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  color: var(--bone);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  transform: scale(1.08);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,11,9,0.28) 0%, rgba(12,11,9,0.15) 32%, rgba(12,11,9,0.55) 68%, rgba(12,11,9,0.92) 100%),
    linear-gradient(90deg, rgba(12,11,9,0.45) 0%, rgba(12,11,9,0.05) 48%, rgba(12,11,9,0.25) 100%);
}
.hero__frame {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(var(--header) + 1.5rem) var(--side) 5.5rem;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 1.1rem;
  color: var(--bone-dim);
}
.hero__title {
  display: flex;
  flex-direction: column;
}
.hero__line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.6rem, 18.5vw, 15.5rem);
  line-height: 0.78;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: block;
  overflow: hidden;
}
.hero__line--sub {
  /* Keep "EXCAVATING" fully on one line at 1280–1440; 12.5vw/10.5rem was clipping the G */
  font-size: clamp(3.1rem, 10.6vw, 8.6rem);
  color: var(--ochre);
  margin-top: -0.04em;
}
.hero__line .char {
  display: inline-block;
  will-change: transform;
}
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.hero__lede {
  max-width: 28rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  font-family: var(--font-head);
  font-weight: 300;
  margin: 0;
  color: var(--bone);
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__scroll {
  display: none; /* hidden: collided with the "What we do" button */
}
.hero__stake {
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(to bottom, var(--rust), transparent);
  position: relative;
  overflow: hidden;
}
.hero__stake::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 30%;
  background: var(--bone);
  animation: stake 1.8s var(--ease) infinite;
}
@keyframes stake {
  from { top: -30%; }
  to { top: 110%; }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--earth);
  overflow: hidden;
  padding: 0.95rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: ticker 48s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
}
.marquee__track .dot {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--rust);
  border-radius: 50%;
  flex: none;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Intro */
.intro {
  padding: clamp(5rem, 12vw, 10rem) 0;
  background: var(--ink);
  position: relative;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
}
.intro__grid .eyebrow { grid-column: 1 / -1; }
.intro__title {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  max-width: 12ch;
}
.intro__body {
  align-self: end;
  color: var(--bone-dim);
  max-width: 38rem;
  font-size: 1.08rem;
}
.intro__body p + p { margin-top: 1rem; }

/* Services — horizontal */
.services {
  background: var(--earth);
  border-top: 1px solid var(--line);
}
.services__pin { position: relative; }
.services__head {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 1.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
}
.services__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0.4rem; }
.services__head h2 { max-width: none; }
.services__hint { color: var(--mute); align-self: end; padding-bottom: 0.4rem; }
.services__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--rust) var(--soil);
  scrollbar-width: thin;
}
.services__track {
  display: flex;
  gap: 1.4rem;
  padding-inline: var(--side);
  width: max-content;
}
.svc {
  width: min(74vw, 52rem);
  flex: none;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.1rem;
}
.svc__img {
  position: relative;
  height: min(48vh, 26rem);
  overflow: hidden;
  background: var(--soil);
}
.svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.15rem;
  align-items: start;
}
.svc__num {
  color: var(--rust);
  font-size: 0.78rem;
  padding-top: 0.45rem;
}
.svc__copy h3 { grid-column: 2; }
.svc__copy p {
  grid-column: 2;
  color: var(--bone-dim);
  max-width: 36rem;
  margin: 0.35rem 0 0;
}

.svc--text { grid-template-rows: 1fr; }
.svc--text .svc__panel {
  min-height: min(48vh, 26rem);
  background: var(--soil);
  border: 1px solid var(--line);
  padding: 1.8rem 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  box-sizing: border-box;
}
.svc--text .svc__num {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--rust);
  margin-bottom: auto;
  padding-top: 0.2rem;
}
.svc--text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 12ch;
}
.svc--text p {
  color: var(--bone-dim);
  max-width: 28rem;
  margin: 0;
}

/* Why */
.why {
  padding: clamp(5rem, 12vw, 10rem) 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.why__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem 4rem;
}
.why__lead p:not(.eyebrow) {
  color: var(--bone-dim);
  max-width: 38rem;
  margin-top: 1.5rem;
}
.why__media {
  position: relative;
  min-height: 22rem;
}
.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 28rem;
}
.why__points {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.why__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.6rem 1.8rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.why__points li:nth-child(odd) { padding-right: 2.2rem; border-right: 1px solid var(--line); }
.why__points li:nth-child(even) { padding-left: 2.2rem; }
.why__points .mono { color: var(--rust); padding-top: 0.3rem; }
.why__points h3 { margin-bottom: 0.45rem; }
.why__points p { color: var(--bone-dim); margin: 0; }

/* Work / gallery */
.work {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--earth);
  border-top: 1px solid var(--line);
}
.work__head { margin-bottom: 2.5rem; }
.work__head h2 { max-width: 18ch; }
.work__note a { color: var(--ochre); }
.work__note a:hover { color: var(--ember); }
.work__note {
  max-width: 42rem;
  margin-top: 1.3rem;
  color: var(--dust);
  font-size: 0.98rem;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
}
.work__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: minmax(16rem, 32vh);
  gap: 0.65rem;
  padding-inline: var(--side);
}
.work__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--soil);
}
.work__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
  filter: saturate(0.85);
}
.work__item:hover img { transform: scale(1.06); filter: saturate(1); }
.work__item--wide { grid-column: 1 / 3; grid-row: span 2; }
.work__item--tall { grid-row: span 2; }
.work__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0.9rem;
  background: linear-gradient(transparent, rgba(12,11,9,0.7));
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
}
.work__item .plate { position: static; background: none; border: 0; padding: 0; backdrop-filter: none; color: var(--ochre); }

/* Process */
.process {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.process h2 { margin-bottom: 3rem; }
.process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.process__step {
  display: grid;
  grid-template-columns: minmax(8rem, 14vw) 1fr;
  gap: 1.5rem 3rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.8;
  color: var(--rust);
  letter-spacing: -0.04em;
}
.process__step h3 { margin-bottom: 0.6rem; }
.process__step p {
  color: var(--bone-dim);
  max-width: 38rem;
  margin: 0;
  font-size: 1.08rem;
}

/* Area */
.area {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--earth);
  border-top: 1px solid var(--line);
}
.area__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem 3.5rem;
  align-items: start;
}
.area__copy p:not(.eyebrow) {
  color: var(--bone-dim);
  margin: 1.3rem 0 1.6rem;
  max-width: 36rem;
}
.area__towns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
}
.area__towns li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.35rem 0.9rem 0.35rem 0;
  margin-right: 0.6rem;
  border-right: 1px solid var(--line-strong);
}
.area__towns li:first-child { color: var(--rust); font-weight: 600; }
.area__towns li:last-child { border-right: 0; }
.area__map {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 0.6rem;
}
.area__map img { width: 100%; height: auto; }

/* Reviews */
.reviews {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.reviews h2 { max-width: 18ch; margin-bottom: 1.6rem; }
.reviews__banner {
  border: 1px solid var(--ochre);
  background: rgba(196, 160, 106, 0.07);
  color: var(--bone);
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  max-width: 52rem;
  font-size: 0.98rem;
}
.reviews__banner strong {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--ochre);
  display: block;
  margin-bottom: 0.4rem;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review {
  margin: 0;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px dashed var(--line-strong);
  background: var(--soil);
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review p {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--mute);
  font-style: italic;
  margin: 0 0 1.4rem;
}
.review footer { color: var(--dust); }
.review footer .mono { color: var(--rust); margin-right: 0.5rem; }

/* Quote */
.quote {
  padding: clamp(5rem, 11vw, 9rem) 0;
  background: var(--earth);
  border-top: 1px solid var(--line);
}
.quote__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem 4.5rem;
}
.quote__intro p:not(.eyebrow) {
  color: var(--bone-dim);
  margin: 1.3rem 0 2rem;
  max-width: 34rem;
}
.quote__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.quote__contacts li {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.quote__contacts .mono { color: var(--ochre); }
.quote__contacts a { text-decoration: none; }
.quote__contacts a:hover { color: var(--ember); }

.quote__form {
  display: grid;
  gap: 1.15rem;
}
.field { display: grid; gap: 0.4rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.field label, .field legend {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0;
  color: var(--bone);
  border-radius: 0;
  width: 100%;
  appearance: none;
  transition: border-color 0.25s ease;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ochre) 50%),
    linear-gradient(135deg, var(--ochre) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 1.6rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--rust);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-bottom-color: var(--rust);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-bottom-color: #e08a6a;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--mute); }
.field--choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.field--choice legend { width: 100%; margin-bottom: 0.2rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone) !important;
  cursor: pointer;
}
.choice input { accent-color: var(--rust); width: 1rem; height: 1rem; }
.form-note { color: var(--mute); margin: 0; }
.form-error {
  color: #e08a6a;
  margin: 0;
  font-size: 0.95rem;
}
.form-success {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--pine);
  background: rgba(44, 59, 50, 0.45);
  color: var(--bone);
}
.quote__form .btn { justify-self: start; margin-top: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem 2rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--line);
}
.footer__brand p:last-child { color: var(--bone-dim); margin-top: 1rem; max-width: 24rem; }
.wordmark--foot { margin: 0; }
.wordmark--foot .wordmark__name { font-size: 2.4rem; }
.footer__label { color: var(--ochre); margin: 0 0 0.7rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ember); }
.footer__fine { color: var(--mute); font-size: 0.82rem; margin-top: 0.7rem; line-height: 1.45; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  color: var(--mute);
  font-size: 0.78rem;
  line-height: 1.5;
}
.footer__base p:last-child { max-width: 46rem; text-align: right; }

/* Reveals (JS adds .is-in) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .intro__grid,
  .why__grid,
  .area__grid,
  .quote__grid,
  .footer__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }
  .why__points { grid-template-columns: 1fr; }
  .why__points li:nth-child(odd),
  .why__points li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
  .work__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(14rem, 28vw);
  }
  .work__item--wide { grid-column: 1 / -1; }
  .svc { width: min(84vw, 36rem); }
  .svc__img { height: min(48vh, 26rem); }
  .footer__base { flex-direction: column; }
  .footer__base p:last-child { text-align: left; }
  .hero__foot { align-items: flex-start; }
  .hero__scroll { display: none; }
  .services__head { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero__line { font-size: clamp(4.2rem, 22vw, 7rem); }
  .hero__line--sub { font-size: clamp(2.6rem, 15vw, 4.6rem); }
  .hero__frame { padding-bottom: 3.2rem; }
  .hero__meta { flex-direction: column; gap: 0.3rem; }
  .work__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 58vw;
    padding-inline: 0;
    gap: 0.4rem;
  }
  .work__item--wide, .work__item--tall { grid-column: auto; grid-row: auto; }
  .process__step { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.7rem 0; }
  .process__num { font-size: 3.2rem; }
  .svc { width: 88vw; }
  h2 { font-size: clamp(2.4rem, 13vw, 3.6rem); }
}


@media (max-width: 899px) {
  .services__viewport { overflow: visible; }
  .services__track {
    flex-direction: column;
    width: 100%;
    gap: 2.6rem;
  }
  .svc { width: 100%; }
  .svc__img { height: min(42vh, 20rem); }
  .services__hint { display: none; }
  /* Noticeably fewer photos on small screens: keep two service images,
     hide the rest, drop the why photo, and show one gallery plate. */
  .svc:nth-child(n+3) .svc__img { display: none; }
  .svc--text .svc__panel { min-height: 0; padding: 1.4rem 1.3rem 1.3rem; }
  .why__media { display: none; }
  .work__item:not(:first-child) { display: none; }
  .work__item--wide { grid-column: 1 / -1; grid-row: auto; }
  .work__grid { grid-template-columns: 1fr; grid-auto-rows: minmax(14rem, 58vw); padding-inline: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .preloader { display: none; }
  .marquee__track { animation: none; flex-wrap: nowrap; width: max-content; }
  .hero__media img { transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .grain { display: none; }
}


.svc:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}
.services__viewport:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

/* 360-wide phones: keep titles from overflowing */
@media (max-width: 380px) {
  .hero__line { font-size: clamp(3.4rem, 20vw, 5.2rem); }
  .hero__line--sub { font-size: clamp(2.1rem, 13vw, 3.4rem); }
  .btn { padding: 0.85rem 1.1rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}
