/* BC Cleaning LLC — styles matching the client mockup.
   Headings use Bodoni Moda at weight 500 with optical size 14 (sturdier hairlines than default display opsz). Navigation uses Cormorant Garamond at weight 500. */

:root {
  --cream: #f1eee9;
  --cream-deep: #e8e3dc;
  --paper: #f7f5f2;
  --white: #fcfbf9;
  --taupe: #5c4c40;
  --taupe-mid: #6b5a48;
  --taupe-soft: #8a7968;
  --taupe-hover: #4a3d34;
  --ink: #3f3c3a;
  --charcoal: #2f2c2a;
  --muted: #7a736b;
  --line: #d9d2ca;
  --line-strong: #c9c1b8;
  --hero-text: #f6f3ee;
  --danger: #8a3a2a;

  --font-serif: "Bodoni Moda", "Times New Roman", serif;
  --font-nav: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;

h1, h2, .section-title, .stat__value, .not-found h1, .teaser-card h3, .form-status h2 {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  font-weight: 500;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--taupe); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--taupe-mid);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--taupe);
  color: var(--cream);
  padding: 0.6rem 1rem;
}
.skip-link:focus { top: 0.75rem; }

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

.lede--spaced { margin-top: 1.25rem; }
.stats--spaced { margin-top: 2rem; }
.wrap--photo-after-hero { padding-top: 2.5rem; }
.lede--404 { margin: 1rem auto 2rem; }


/* ----- Top bar + header ----- */

.topbar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  color: var(--taupe);
  text-decoration: none;
}
.topbar a:hover { color: var(--charcoal); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #fcfbf9 0%, rgba(241, 238, 233, 0.96) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #c6b49a;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex: 0 0 auto;
}
.logo img {
  display: block;
  width: auto;
  height: 5.5rem; /* 88px — square lockup; keeps CLEANING LLC reasonably legible */
  max-width: none;
}
.logo:hover { opacity: 0.82; }
.site-footer .logo img { height: 3.15rem; }

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  justify-self: end;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: var(--taupe);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
  grid-column: 2 / 4;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  flex: 1;
}

.site-nav ul a {
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

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

.site-nav ul a[aria-current="page"] {
  border-bottom-color: var(--taupe-soft);
}

.header-actions { display: none; }

.nav-drawer-phone { display: none; }

.nav-drawer-foot {
  display: flex;
  align-items: center;
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn--taupe {
  background: var(--taupe);
  color: var(--cream);
  border-color: var(--taupe);
}
.btn--taupe:hover {
  background: var(--taupe-hover);
  color: var(--cream);
  border-color: var(--taupe-hover);
}

.btn--on-dark {
  background: var(--taupe);
  color: var(--hero-text);
  border-color: var(--taupe);
}
.btn--on-dark:hover {
  background: #4e4036;
  color: var(--hero-text);
  border-color: #4e4036;
}

.btn .arrow { font-size: 0.95em; line-height: 1; }

/* ----- Layout ----- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 300;
}

.placeholder-flag {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  border: 1px solid var(--line-strong);
  padding: 0.12rem 0.45rem;
}

.placeholder-inline {
  color: var(--taupe-mid);
  font-style: italic;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex;
  align-items: center;
  color: var(--hero-text);
  overflow: hidden;
  background: #6d655c;
}

.hero__media {
  position: absolute;
  inset: 0;
}


/* <picture> wrappers must fill the same frames as a bare <img> */
.hero__media picture,
.cta-band__media picture,
.about-photo picture,
.work-card__frame picture,
.page-photo picture,
.photo-block picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-photo picture,
.work-card__frame picture,
.photo-block picture,
.page-photo picture {
  position: absolute;
  inset: 0;
}

.page-photo { position: relative; }

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

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.75) 0%, rgba(20, 16, 12, 0.52) 42%, rgba(20, 16, 12, 0.35) 100%),
    rgba(20, 16, 12, 0.14);
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 12vw, 7.5rem) 0;
  max-width: 34rem;
}

.hero .kicker { color: rgba(246, 243, 238, 0.9); text-shadow: 0 1px 10px rgba(12, 10, 8, 0.5); }

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 6.8vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  text-shadow: 0 2px 18px rgba(12, 10, 8, 0.45);
}

.hero__sub {
  margin: 1.35rem 0 0;
  max-width: 26rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(246, 243, 238, 0.92);
  text-shadow: 0 1px 12px rgba(12, 10, 8, 0.55);
}

.hero__trust {
  margin: 1.15rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.88);
  text-shadow: 0 1px 10px rgba(12, 10, 8, 0.5);
}

.hero .btn { margin-top: 1.65rem; }

.photo-credit {
  position: absolute;
  right: var(--pad);
  bottom: 0.85rem;
  z-index: 1;
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.55);
}

/* ----- Industries strip ----- */

.industries {
  background: var(--cream);
  padding: clamp(3.25rem, 7vw, 4.75rem) 0;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.industry {
  text-align: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--line);
}
.industry:last-child { border-right: 0; }
a.industry:hover { color: inherit; }
a.industry:hover h2 { color: var(--taupe); }

.industry .icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 1.15rem;
  color: var(--taupe-mid);
}

.industry h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.industry p {
  margin: 0 auto;
  max-width: 16rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .industry:nth-child(3) { border-right: 0; }
  .industry:nth-child(n+4) { border-top: 1px solid var(--line); padding-top: 1.25rem; }
}


/* ----- Service area ----- */

.service-area {
  background: var(--cream);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.service-area__inner .kicker {
  margin-bottom: 0.45rem;
}

.service-area__inner p:last-child {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
}

/* ----- Home services teaser ----- */

.services-teaser {
  background: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.teaser__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.teaser__head .section-title {
  max-width: 18ch;
}

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

.teaser-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.5rem 1.6rem;
}

.teaser-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--charcoal);
  -webkit-font-smoothing: auto;
}

.teaser-card p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.6;
}

.industries__more {
  margin: 1.5rem 0 0;
  text-align: center;
}

.industries__more a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--taupe);
}

.industries__more a:hover { color: var(--charcoal); }

@media (max-width: 980px) {
  .teaser__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .teaser__grid { grid-template-columns: 1fr; }
}

/* ----- About split ----- */

.about-split {
  background: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: start;
}

.about-photo {
  position: relative;
  aspect-ratio: 1400 / 2214;
  width: 100%;
  min-width: 0;
  margin: 0;
  min-height: auto;
  overflow: hidden;
  background: var(--cream-deep);
}

.about-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.about-photo figcaption,
.about-photo .photo-overlay {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 1;
  color: var(--hero-text);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 78%, rgba(30, 26, 22, 0.5) 100%);
}

.about-copy .lede { margin-bottom: 1.6rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.25rem;
  padding-top: 0.25rem;
}

.stat {
  padding: 0 0.7rem;
  border-right: 1px solid var(--line);
  text-align: left;
  min-width: 0;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }

.stat__label,
.stat__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 981px) {
  .stat__wbr { display: block; }
}

.stat__value {
  display: block;
  margin: 0.28rem 0 0.22rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.55rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  white-space: nowrap;
}

/* ----- Why ----- */

.why {
  background: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.25rem) 0 3.25rem;
}

.why__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.why-item {
  text-align: center;
  padding: 0.4rem 1.25rem 0.5rem;
  border-right: 1px solid var(--line);
}
.why-item:last-child { border-right: 0; }

.why-item .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.1rem;
  color: var(--taupe-mid);
}

.why-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.why-item p {
  margin: 0 auto;
  max-width: 16rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
}

.why-item .placeholder-flag {
  margin-bottom: 0.45rem;
}

/* ----- Recent work ----- */

.work {
  background: var(--cream);
  padding: clamp(3.25rem, 6vw, 4.75rem) 0;
}

.work__head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem 0.9rem;
}

.work-card {
  margin: 0;
}

.work-card__frame {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 4 / 3;
}

.work-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.work-card figcaption {
  margin: 0.65rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a635c;
  text-align: center;
}

.work__note {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}

.page-photo {
  margin: 0 0 0.25rem;
  overflow: hidden;
  background: var(--cream-deep);
}

.page-photo--wide {
  aspect-ratio: 16 / 7;
}

.page-photo--square {
  aspect-ratio: 4 / 3;
  margin-top: 1rem;
}

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

/* ----- CTA band ----- */

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--hero-text);
  min-height: 16.5rem;
  display: flex;
  align-items: center;
  background: #2a241c;
}

.cta-band__media {
  position: absolute;
  inset: 0;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.70) 0%, rgba(20, 16, 12, 0.66) 50%, rgba(20, 16, 12, 0.64) 100%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.cta-band .kicker { color: #efeae3; }

.cta-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.15;
  color: var(--hero-text);
  max-width: 22ch;
  text-shadow: 0 1px 16px rgba(20, 16, 12, 0.35);
}

/* ----- Inner page hero ----- */

.page-hero {
  background: var(--paper);
  padding: clamp(3.25rem, 7vw, 5rem) 0 2.75rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  color: var(--charcoal);
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-weight: 300;
}

/* ----- Services / industry detail ----- */

.detail {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.detail + .detail { padding-top: 0; }

.detail__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.detail:last-of-type .detail__grid { border-bottom: 0; }

.detail h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--charcoal);
}

.industry-sub {
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-mid);
}

.detail p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 300;
}

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

.detail .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--taupe-mid);
}

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.extra {
  border: 1px dashed var(--line-strong);
  padding: 1.15rem 1.15rem;
  background: var(--paper);
}

.extra h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.extra p { margin: 0; font-size: 0.95rem; }

/* ----- About page ----- */

.about-page {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.about-page__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.placeholder-copy {
  background: var(--paper);
  border-left: 2px solid var(--taupe-soft);
  padding: 1.15rem 1.25rem;
  color: var(--muted);
  font-weight: 300;
}

.placeholder-copy strong {
  display: block;
  color: var(--taupe);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li,
.facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.facts .label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}

.facts a { color: var(--ink); text-decoration: none; }
.facts a:hover { color: var(--taupe); }

.photo-block {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 24rem;
  overflow: hidden;
  background: var(--cream-deep);
}

.photo-block--portrait {
  aspect-ratio: 1400 / 2214;
  width: 100%;
  min-height: auto;
}

.photo-block img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

/* ----- Contact / form ----- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

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

.field { margin-bottom: 1rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.req { color: var(--taupe-mid); margin-left: 0.15rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%235c4c40' stroke-width='1.2' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--taupe-soft);
  outline-offset: 0;
  border-color: var(--taupe-soft);
}

.field textarea { min-height: 8rem; resize: vertical; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}

.form-status { display: none; padding: 2rem 0.25rem; }
.form-status.is-visible { display: block; }
.form-status h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
}
.form-status p { margin: 0; color: var(--muted); }
.form-status--error h2 { color: var(--danger); }
.form.is-sent .form-fields { display: none; }

/* ----- Footer ----- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: #1a1c16;
  color: var(--hero-text);
  padding: 1.05rem 0;
}

.footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer__bg picture {
  position: absolute;
  inset: 0;
}

.footer__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
}

.footer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 18, 14, 0.52) 0%,
    rgba(12, 14, 10, 0.64) 100%
  );
}

.footer__inner {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1.5rem;
  align-items: center;
  padding-bottom: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--hero-text);
  -webkit-font-smoothing: auto;
}
.footer-nav a:hover { color: #fff; }

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.footer-social__icons {
  display: flex;
  gap: 0.7rem;
}

.footer-social a.icon-link {
  color: var(--hero-text);
  text-decoration: none;
  display: inline-flex;
}
.footer-social a.icon-link:hover { color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

.footer-social__tag {
  margin: 0;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #efeae3;
}

.footer-review {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-text);
  text-decoration: none;
}
.footer-review:hover { color: #fff; }

.footer__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding-top: 0.55rem;
  margin-top: 0.55rem;
  border-top: 1px solid rgba(246, 243, 238, 0.28);
  font-size: 0.75rem;
  color: #efeae3;
}

.footer__meta p { margin: 0; }
.footer__meta a { color: var(--hero-text); text-decoration: none; }
.footer__meta a:hover { color: #fff; }

/* ----- 404 ----- */

.not-found {
  text-align: center;
  padding: clamp(4.5rem, 12vw, 7.5rem) var(--pad);
}

.not-found h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 500;
  color: var(--charcoal);
}

/* Desktop only: pin the hero copy to the same left edge as the logo / top bar.
   The default .wrap is a shrink-to-content flex item with margin: auto, which
   centers the text block. Stretching it to 100% lines the copy up with the
   site container. Leave all max-width: 980px (and smaller) rules unchanged. */
@media (min-width: 981px) {
  .hero > .wrap {
    width: 100%;
  }

  .hero__copy {
    text-align: left;
  }
}

/* ----- Responsive ----- */

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    padding: 0.55rem var(--pad);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-self: end;
    z-index: 2;
  }

  .header-quote {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.75rem;
    background: var(--taupe);
    color: var(--cream);
    border: 1px solid var(--taupe);
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .header-quote:hover { background: var(--taupe-hover); border-color: var(--taupe-hover); color: var(--cream); }

  .header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid #c6b49a;
    border-radius: 50%;
    color: var(--taupe);
    text-decoration: none;
    background: rgba(252, 251, 249, 0.7);
  }
  .header-call svg { width: 1.05rem; height: 1.05rem; }
  .header-call:hover { border-color: var(--taupe); color: var(--charcoal); }

  .nav-toggle {
    display: inline-block;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    background: transparent;
    justify-self: end;
  }

  /* Elegant two-line icon (no box) */
  .nav-toggle span { background: transparent; }
  .nav-toggle span::before,
  .nav-toggle span::after {
    left: 50%;
    width: 1.15rem;
    height: 1.15px;
    background: var(--taupe);
    transform: translateX(-50%);
  }
  .nav-toggle span::before { top: -4px; }
  .nav-toggle span::after { top: 4px; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, #fcfbf9 0%, var(--cream) 18%, var(--cream) 100%);
    border-bottom: 1px solid #c6b49a;
    padding: 0.85rem var(--pad) 1.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    grid-column: auto;
    min-height: calc(100dvh - 6rem);
    max-height: calc(100dvh - 6rem);
    box-shadow: 0 18px 40px rgba(47, 44, 42, 0.08);
    overflow-y: auto;
  }

  .site-nav.is-open { display: flex; }

  html.is-nav-open .topbar { display: none; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    flex: 1;
    padding: 0.25rem 0 1rem;
  }

  .site-nav ul a,
  .site-nav li a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    font-weight: 500;
    font-optical-sizing: none;
    font-variation-settings: "opsz" 14;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    -webkit-font-smoothing: auto;
    line-height: 1.15;
  }
  .site-nav ul a[aria-current="page"] {
    border-bottom-color: var(--line);
    color: var(--taupe);
  }

  .nav-drawer-foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.35rem;
    border-top: 1px solid var(--line);
  }

  .nav-drawer-phone {
    display: block;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--taupe);
  }
  .nav-drawer-phone:hover { color: var(--charcoal); }

  .site-nav .btn { width: 100%; margin-top: 0; }

  .industries__grid,
  .why__grid,
  .about-split__grid,
  .about-page__grid,
  .contact-grid,
  .detail__grid,
  .form-row,
  .extras,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }

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

  .industry,
  .why-item,
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0.5rem;
  }

  .industry:last-child,
  .why-item:last-child,
  .stat:last-child { border-bottom: 0; }

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

  .stat__value {
    font-size: clamp(1.7rem, 6vw, 2.1rem);
    white-space: nowrap;
  }

  .why__head,
  .cta-band__inner {
    align-items: flex-start;
  }

  .footer__bg img { object-position: 38% 42%; }

  .site-footer { padding: 0.95rem 0 0.85rem; }

  .site-footer .logo img { height: 2.85rem; }

  .footer__grid {
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1rem;
    align-items: center;
  }

  .footer__grid .logo { grid-column: 1; grid-row: 1; }

  .footer-social {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
    justify-content: center;
  }

  .footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0.3rem 0.9rem;
  }

  .footer-nav a { font-size: 1rem; }

  .footer__meta {
    padding-top: 0.45rem;
    margin-top: 0.45rem;
    gap: 0.15rem 0.75rem;
    font-size: 0.72rem;
  }

  .about-photo { min-height: auto; }

  .logo img { height: 4.75rem; } /* slightly larger on mobile */

  .hero { min-height: 34rem; }

  .hero__media img { object-position: center center; }

  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(20, 16, 12, 0.80) 0%, rgba(20, 16, 12, 0.55) 48%, rgba(20, 16, 12, 0.38) 100%),
      rgba(20, 16, 12, 0.16);
  }
}

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

  .logo img { height: 4.5rem; }

  .site-footer { padding: 0.85rem 0 0.8rem; }

  .site-footer .logo img { height: 2.7rem; }

  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }

  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__meta {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

html.is-nav-open { overflow: hidden; }
