/* Augms Windows & Door — architectural design system */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/fraunces-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/fraunces-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f6f4;
  --bg-stone: #efeeeb;
  --bg-card: #ffffff;
  --bg-dark: #242220;
  --bg-graphite: #312f2c;
  --ink: #1c1b19;
  --ink-soft: #5c5852;
  --ink-faint: #7a756c;
  --line: #d4cec2;
  --line-strong: #c3bbae;
  --accent: #3c5346;
  --accent-deep: #2c4036;
  --on-dark: #f3f0e8;
  --on-dark-soft: #c9c3b6;
  --danger: #8c3a32;
  --ok: #2c4036;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --header-h: 4.5rem;
  --max: 72rem;
  --wide: 82rem;
  --text: 1.0625rem;
  --shadow: 0 18px 40px rgba(28, 27, 25, 0.08);
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

.skip-link:focus {
  top: 0.75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--wide), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.section {
  padding: 4.5rem 0;
}

.section-stone {
  background: var(--bg-stone);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}

.section-dark .eyebrow,
.section-dark a {
  color: #d5e0d6;
}

.section-dark p,
.section-dark li {
  color: var(--on-dark-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 28rem;
  margin: 0;
  color: var(--ink-soft);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 0;
  color: #fff;
}

.site-header.is-stuck,
body:not(:has(.hero)) .site-header {
  background: rgba(247, 246, 244, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header a:hover,
.site-header .menu-btn:hover {
  color: #fff;
}

.site-header.is-stuck a:hover,
.site-header.is-stuck .menu-btn:hover,
body:not(:has(.hero)) .site-header a:hover,
body:not(:has(.hero)) .site-header .menu-btn:hover {
  color: var(--accent-deep);
}

.site-header.is-stuck .primary-nav > a,
.site-header.is-stuck .menu-btn,
.site-header.is-stuck .header-tools .btn,
.site-header.is-stuck .header-tools .btn:hover,
body:not(:has(.hero)) .site-header .primary-nav > a,
body:not(:has(.hero)) .site-header .menu-btn,
body:not(:has(.hero)) .site-header .header-tools .btn,
body:not(:has(.hero)) .site-header .header-tools .btn:hover {
  color: var(--ink);
}

.site-header.is-stuck .logo-word span,
body:not(:has(.hero)) .site-header .logo-word span {
  color: var(--ink-faint);
}

.header-inner {
  width: min(92rem, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-width: 0;
}

.logo:hover {
  color: inherit;
}

.logo-mark {
  width: 1.85rem;
  height: 1.85rem;
  flex: none;
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-word strong {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-word span {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.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;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin: 0;
}

.primary-nav > a,
.menu-btn {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  list-style: none;
}

.menu-btn::-webkit-details-marker {
  display: none;
}

.menu-btn::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  opacity: 0.65;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid currentColor;
  transform: translateY(-1px);
  vertical-align: middle;
}

.menu {
  position: relative;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 17.5rem;
  padding: 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.menu.is-open .menu-panel,
.menu[open] > .menu-panel,
.menu:focus-within .menu-panel {
  display: grid;
}

@media (min-width: 1281px) {
  .menu:hover .menu-panel {
    display: grid;
  }
}

.menu-panel a {
  text-decoration: none;
  padding: 0.45rem 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border-radius: var(--radius);
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  background: var(--bg-stone);
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin: 0;
}

.header-phone {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.84rem;
  color: inherit;
  opacity: 0.8;
  white-space: nowrap;
}

.header-tools .btn {
  background: transparent;
  color: #fff;
  border-color: transparent;
  min-height: 0;
  padding: 0.45rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-tools .btn:hover {
  background: transparent;
  color: #fff;
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--on-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn-light {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.btn-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-line {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(243, 240, 232, 0.45);
}

.btn-line:hover {
  color: var(--on-dark);
  border-color: var(--on-dark);
  background: transparent;
}

/* Hero — full-bleed photograph, copy over the left of the frame */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  background: #111;
  overflow: hidden;
}

.hero-frame {
  position: absolute;
  inset: calc(var(--header-h) + 0.65rem) 1.15rem 1.15rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(44rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  color: #f7f4ee;
}

.hero .eyebrow {
  color: #f3f0e8;
}

.hero .eyebrow::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 0.9rem;
  background: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 auto 0.85rem;
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero .lede {
  margin: 0 auto 1.4rem;
  max-width: 34rem;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0;
}

.hero-down {
  position: absolute;
  left: 50%;
  bottom: 1.7rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  margin-left: -1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 0;
}

.hero-down::after {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.hero-down:hover {
  border-color: #fff;
  color: #fff;
}

.hero .btn {
  min-width: 17.5rem;
  background: #121110;
  color: #fff;
  border-color: #121110;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .btn:hover {
  background: #2a2926;
  border-color: #2a2926;
  color: #fff;
}

.hero .btn-light {
  background: #fff;
  color: #121110;
  border-color: #fff;
}

.hero .btn-light:hover {
  background: #f4f1ea;
  color: #121110;
  border-color: #f4f1ea;
}

.hero-page {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero .crumbs {
  justify-content: center;
  margin-bottom: 0.8rem;
}

.hero .crumbs,
.hero .crumbs a {
  color: rgba(247, 244, 238, 0.82);
}

.hero .crumbs a:hover {
  color: #fff;
}

.hero-page h1 {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  max-width: 18ch;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
}

.trust-row li {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: #1c1b19;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 7.5rem),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  position: absolute;
  inset: 0;
}

.proof {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof div {
  background: var(--bg-card);
  padding: 1.1rem 1.25rem;
}

.proof strong {
  display: block;
  font-size: 0.95rem;
}

.proof span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  color: inherit;
  border-color: var(--line-strong);
}

.card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-stone);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.card-body h3 {
  margin-bottom: 0.35rem;
}

.card-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.card-link {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.frame {
  background: var(--bg-stone);
}

.reason-grid,
.step-grid,
.area-grid,
.review-grid,
.option-grid {
  display: grid;
  gap: 1rem;
}

.reason-grid,
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.area-grid,
.option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason,
.step,
.area,
.review,
.option,
.info-block {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.9rem;
}

.section-dark .reason,
.section-dark .step {
  border-top-color: rgba(243, 240, 232, 0.2);
}

.step span,
.reason span,
.kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.section-dark .step span,
.section-dark .reason span {
  color: #d5e0d6;
}

.review {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1rem;
}

.sample-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.gallery-side {
  display: grid;
  gap: 1rem;
}

.project-card {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  color: var(--on-dark);
  text-decoration: none;
  background: var(--bg-dark);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.86;
}

.gallery .project-card:first-child {
  min-height: 460px;
}

.project-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(28, 27, 25, 0.78));
}

.project-card:hover {
  color: var(--on-dark);
}

.project-card h3 {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 680;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq summary h3 {
  margin: 0;
  font-size: 1.05rem;
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--ink-soft);
  max-width: 48rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: var(--bg-dark);
  color: var(--on-dark);
}

.cta-band p {
  color: var(--on-dark-soft);
  margin: 0;
}

.cta-band h2 {
  margin-bottom: 0.4rem;
}

/* Interior pages */

.page-hero {
  padding: 2.2rem 0 1rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent-deep);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: 1.5rem;
}

.page-hero-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-stone);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18.5rem;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h3 {
  margin-top: 1.3rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.prose li + li {
  margin-top: 0.35rem;
}

.aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}

.aside-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1rem;
}

.aside-card h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
}

.aside-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-card li + li {
  margin-top: 0.45rem;
}

.hub-list {
  display: grid;
  gap: 1rem;
}

.hub-item {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.hub-item:hover {
  color: inherit;
}

.hub-item img {
  width: 100%;
  height: 7rem;
  object-fit: cover;
}

.hub-item p {
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.project-tile img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-tile div {
  padding: 0.95rem 1rem 1.1rem;
}

.project-tile p {
  color: var(--ink-soft);
  margin: 0;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 750;
  margin-bottom: 0.3rem;
}

/* Forms */

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 0.25rem;
  min-height: 1em;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.check input {
  width: auto;
  margin-top: 0.25rem;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-ok {
  color: var(--ok);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.meta-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.meta-list span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Footer */

.site-footer {
  background: var(--bg-graphite);
  color: var(--on-dark);
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 1.5rem 1rem;
}

.site-footer a {
  color: var(--on-dark-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-dark);
}

.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--on-dark);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.footer-brand p {
  color: var(--on-dark-soft);
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  justify-content: space-between;
  border-top: 1px solid rgba(243, 240, 232, 0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.84rem;
  color: var(--on-dark-soft);
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.policy h2 {
  margin-top: 2rem;
}

.policy h3 {
  margin-top: 1.2rem;
}

.map-cols {
  columns: 2;
  gap: 2rem;
}

.map-cols a {
  display: inline-block;
  margin: 0.2rem 0;
}

/* Home: photograph first, words on the page underneath */

.stage-photo {
  height: min(68vh, 720px);
  min-height: 380px;
  background: #1c1b19;
  overflow: hidden;
}

.stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.stage-copy {
  padding: 3.25rem 0 2.5rem;
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: end;
}

.stage-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.stage-copy .lede {
  margin-bottom: 1.25rem;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Inner pages: title beside the lede, photograph in a frame */

.page-open {
  padding: 2.75rem 0 1.25rem;
}

.page-open-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.85fr);
  gap: 2.5rem;
  align-items: end;
}

.page-open h1 {
  max-width: 16ch;
}

.page-open-side .lede {
  margin-bottom: 1rem;
}

.page-open-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
}

.page-open-links a {
  font-weight: 650;
  color: var(--ink);
}

.page-still {
  margin: 0 0 2.5rem;
}

.page-still img {
  width: 100%;
  height: min(46vh, 460px);
  object-fit: cover;
  object-position: center 40%;
}

/* Policy pages: a document, not another photo hero */

.doc-head {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.doc-head h1 {
  max-width: 16ch;
}

.doc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.doc-facts a {
  color: var(--ink);
}

.error-page {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding: 4rem 0;
}

@media (max-width: 1100px) {
  .hero {
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    max-height: none;
  }

  .hero-frame {
    inset: calc(var(--header-h) + 0.45rem) 0.7rem 0.7rem;
  }

  .hero-media::after {
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.16) 100%);
  }

  .hero-copy {
    width: min(36rem, calc(100% - 2rem));
    margin-inline: auto;
    padding: 2rem 1rem 4.2rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }

  .hero .btn {
    width: min(100%, 18rem);
    min-width: 0;
  }

  .proof,
  .card-grid,
  .step-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof {
    grid-template-columns: 1fr 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .layout,
  .page-hero-grid,
  .split,
  .contact-grid,
  .cta-band,
  .gallery,
  .stage-grid,
  .page-open-grid {
    grid-template-columns: 1fr;
  }

  .stage-photo {
    height: 52vh;
    min-height: 260px;
  }

  .page-still img {
    height: 40vh;
  }

  .gallery .project-card:first-child,
  .project-card {
    min-height: 280px;
    position: relative;
  }

  .aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1280px) {
  .site-header {
    height: auto;
    align-items: stretch;
    background: rgba(247, 246, 244, 0.97);
    color: var(--ink);
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0.7rem 0 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav,
  .header-tools {
    display: flex;
  }

  .primary-nav {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0.4rem 0 0;
  }

  .header-tools {
    order: 4;
    width: 100%;
    margin: 0.4rem 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header .primary-nav > a,
  .site-header .menu-btn,
  .site-header .header-tools .btn,
  .site-header .header-tools .btn:hover,
  .site-header .logo-word span {
    color: var(--ink);
    border-color: transparent;
    background: transparent;
  }

  html.js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  html.js .site-header {
    height: var(--header-h);
    align-items: center;
    background: transparent;
    color: #fff;
  }

  html.js body:not(:has(.hero)) .site-header,
  html.js .site-header.is-stuck {
    background: rgba(247, 246, 244, 0.94);
    color: var(--ink);
  }

  html.js .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    flex-wrap: nowrap;
    padding: 0;
  }

  html.js .primary-nav,
  html.js .header-tools {
    display: none;
  }

  html.js .site-header.is-open {
    height: auto;
    align-items: stretch;
    background: rgba(247, 246, 244, 0.97);
    color: var(--ink);
  }

  html.js .site-header.is-open .header-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 0.7rem 0 1rem;
  }

  html.js .site-header.is-open .primary-nav,
  html.js .site-header.is-open .header-tools {
    display: flex;
  }

  html.js .site-header.is-open .primary-nav > a,
  html.js .site-header.is-open .menu-btn,
  html.js .site-header.is-open .header-tools .btn,
  html.js .site-header.is-open .header-tools .btn:hover,
  html.js .site-header.is-open .logo-word span {
    color: var(--ink);
    border-color: transparent;
    background: transparent;
  }

  .menu-panel {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.4rem 0.8rem;
    background: transparent;
    min-width: 0;
  }

  .menu-panel a,
  .menu-panel a:hover,
  .menu-panel a:focus-visible {
    color: var(--ink);
    background: transparent;
  }

  .menu.is-open .menu-panel,
  .menu[open] > .menu-panel {
    display: grid;
  }

  .header-phone,
  .header-tools .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .card-grid,
  .reason-grid,
  .review-grid,
  .area-grid,
  .option-grid,
  .project-grid,
  .form-row,
  .proof,
  .footer-grid,
  .map-cols {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .hub-item {
    grid-template-columns: 1fr;
  }

  .hub-item img {
    height: 180px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.4rem);
  }
}

@media (max-width: 360px) {
  .wrap,
  .wrap-wide,
  .header-inner {
    width: calc(100% - 1.25rem);
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
