:root {
  --ink: #17211f;
  --ink-soft: #30413d;
  --teal: #176f65;
  --teal-deep: #0d5049;
  --copper: #bd5d3a;
  --copper-deep: #8c3f28;
  --mist: #e7efeb;
  --mist-light: #f1f5f2;
  --paper: #f8f9f6;
  --white: #ffffff;
  --muted: #5d6b67;
  --line: #ccd8d3;
  --sun: #e7b54e;
  --success: #237254;
  --error: #a53a35;
  --shadow-sm: 0 10px 30px rgba(23, 33, 31, 0.08);
  --shadow-md: 0 24px 60px rgba(23, 33, 31, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --shell: 1180px;
  --font-sans: "Manrope", sans-serif;
  --font-serif: "Source Serif 4", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(23, 111, 101, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 111, 101, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  font-family: var(--font-sans);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  margin-bottom: 1.35rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin-bottom: 1.25rem;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(248, 249, 246, 0.94);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(23, 33, 31, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  border-bottom: 4px solid var(--copper);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--teal-deep);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--copper);
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.25vw, 1.7rem);
  line-height: 1.48;
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 {
  max-width: 690px;
}

.section-band {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-band--white {
  background: var(--white);
}

.section-band--mist {
  background: var(--mist-light);
  border-block: 1px solid var(--line);
}

.section-band--ink {
  background: var(--ink);
  color: var(--white);
}

.section-band--ink .eyebrow,
.product-hero .eyebrow {
  color: var(--sun);
}

.section-band--ink .section-intro {
  color: rgba(255, 255, 255, 0.68);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  transform: translateY(-2px);
}

.button--secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--teal-deep);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.home-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--mist) 0%, var(--mist) 44%, rgba(231, 239, 235, 0.88) 55%, rgba(231, 239, 235, 0.1) 77%),
    linear-gradient(0deg, rgba(23, 33, 31, 0.18), transparent 35%);
  z-index: 1;
}

.home-hero__portrait {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: min(660px, 58%);
  padding-block: 5rem;
}

.home-hero h1 {
  color: var(--ink);
}

.home-hero__role {
  max-width: 620px;
  margin-bottom: 1.2rem;
  color: var(--teal-deep);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.home-hero__summary {
  max-width: 580px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.proof-bar {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--ink);
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 148px;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sun);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.featured-project__copy {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.featured-project__copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.featured-project__media {
  min-height: 480px;
  overflow: hidden;
  background: var(--ink);
}

.featured-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.project-meta li,
.tag {
  padding: 0.38rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.025);
}

.project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.project-card__body p {
  color: var(--muted);
}

.project-card__body .text-link {
  margin-top: auto;
}

.live-proof {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.metric-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.metric-preview__item {
  min-height: 150px;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.metric-preview__item span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
}

.metric-preview__item strong {
  display: block;
  margin-top: 0.75rem;
  color: var(--sun);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.metric-preview__item small {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-item {
  min-height: 240px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise-item__number {
  display: block;
  margin-bottom: 2rem;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 800;
}

.expertise-item p {
  color: var(--muted);
}

.section-band--ink .expertise-item {
  border-color: rgba(255, 255, 255, 0.18);
}

.section-band--ink .expertise-grid {
  border-color: rgba(255, 255, 255, 0.18);
}

.section-band--ink .expertise-item p {
  color: rgba(255, 255, 255, 0.68);
}

.closing-cta {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: end;
}

.closing-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.closing-cta .button-row {
  justify-content: flex-end;
  margin: 0;
}

.page-hero {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, var(--mist) 0%, rgba(231, 239, 235, 0.88) 55%, rgba(248, 249, 246, 0.7) 100%);
}

.page-hero__content {
  max-width: 850px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.3rem);
}

.case-study {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.case-study__index {
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 800;
}

.case-study__content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.case-study__lead {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.case-study__media {
  margin-top: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink);
}

.case-study__media img {
  width: 100%;
  height: auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-item {
  padding: 1.35rem;
  background: var(--white);
}

.detail-item strong,
.detail-item span {
  display: block;
}

.detail-item strong {
  margin-bottom: 0.45rem;
  color: var(--teal-deep);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.detail-item span {
  color: var(--muted);
  font-size: 0.87rem;
}

.product-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 18, 16, 0.96) 2%, rgba(10, 18, 16, 0.32) 70%, rgba(10, 18, 16, 0.08));
}

.product-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.product-hero__content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.product-hero__content h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}

.product-hero__content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.story-copy {
  max-width: 740px;
}

.story-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 2.5rem 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  padding: 1.35rem;
  background: var(--white);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.35rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.media-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.media-pair figure,
.media-wide {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
}

.media-pair figure {
  display: flex;
  flex-direction: column;
}

.media-pair img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.media-pair figcaption {
  padding: 0.9rem 1rem;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.media-wide img {
  width: 100%;
  height: auto;
}

.ownership-statement {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 4px solid var(--copper);
  background: var(--mist-light);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.ownership-statement p:last-child {
  margin-bottom: 0;
}

.systems-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.system-summary {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.system-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.system-summary__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.system-summary__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.system-summary__status--offline {
  color: var(--muted);
}

.system-summary__value {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--teal-deep);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.system-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.dashboard-panel {
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.dashboard-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.dashboard-panel__header h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.dashboard-panel__header p {
  margin-bottom: 0;
  color: var(--muted);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-tile {
  min-height: 150px;
  padding: 1.4rem;
  background: var(--mist-light);
}

.metric-tile span,
.metric-tile strong,
.metric-tile small {
  display: block;
}

.metric-tile span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.metric-tile strong {
  margin: 0.65rem 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.metric-tile small {
  color: var(--muted);
}

.data-note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--copper);
  color: var(--muted);
  font-size: 0.84rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 3rem 3rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 3px;
  width: 11px;
  height: 11px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 1px var(--copper);
}

.timeline span {
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 0.35rem 0 0.65rem;
}

.timeline p {
  max-width: 720px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 120px;
}

.contact-details a {
  display: block;
  margin-top: 0.75rem;
}

.contact-form {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(23, 111, 101, 0.16);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.form-message {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid currentColor;
}

.form-message.success,
.form-message.error {
  display: block;
}

.form-message.success {
  background: #edf7f1;
  color: var(--success);
}

.form-message.error {
  background: #fbefee;
  color: var(--error);
}

.h-captcha {
  margin-bottom: 1.25rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  background: #111a18;
  color: var(--white);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.6fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-intro p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-nav strong {
  margin-bottom: 0.4rem;
  color: var(--sun);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-meta {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.footer-meta p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .home-hero__content {
    width: min(620px, 66%);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .featured-project,
  .live-proof,
  .story-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .featured-project__media {
    min-height: 380px;
  }

  .project-grid,
  .systems-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study {
    grid-template-columns: 0.25fr 1fr;
  }

  .contact-details {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 0.8rem 20px 1.25rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .home-hero {
    min-height: auto;
    padding-bottom: 340px;
  }

  .home-hero::before {
    background: linear-gradient(180deg, var(--mist) 0%, var(--mist) 54%, rgba(231, 239, 235, 0.45) 68%, rgba(23, 33, 31, 0.08) 100%);
  }

  .home-hero__portrait {
    top: auto;
    width: 100%;
    height: 380px;
    object-position: center 36%;
  }

  .home-hero__content {
    width: 100%;
    padding-block: 4rem 3rem;
  }

  .project-grid,
  .systems-overview {
    grid-template-columns: 1fr;
  }

  .closing-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .closing-cta .button-row {
    justify-content: flex-start;
  }

  .case-study {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .brand-copy small {
    display: none;
  }

  .home-hero {
    padding-bottom: 300px;
  }

  .home-hero__portrait {
    height: 330px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .proof-grid,
  .metric-preview,
  .expertise-grid,
  .detail-grid,
  .feature-list,
  .media-pair,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .featured-project__media {
    min-height: 300px;
  }

  .dashboard-panel__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    grid-column: auto;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}