:root {
  --bg: #f5f5f5;
  --bg-elevated: #ffffff;
  --ink: #1c222b;
  --ink-soft: #4b535d;
  --line: #e5e7eb;
  --accent: #0e689b;
  --accent-dark: #0a5078;
  --accent-soft: #e7f3f9;
  --topbar: #111418;
  --hero-ink: #ffffff;
  --shadow: 0 16px 40px rgba(18, 22, 28, 0.08);
  --radius: 14px;
  --header-h: 78px;
  --topbar-h: 42px;
  --font: "Public Sans", system-ui, sans-serif;
  --display: "Public Sans", system-ui, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--topbar);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.topbar-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-tag {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.topbar-links a:hover {
  color: #fff;
}

/* Header — frosted glass */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 26, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header--overlay {
  position: sticky;
  top: 0;
  background: rgba(15, 20, 26, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.site-header--overlay.is-scrolled,
body:not(.has-hero-overlay) .site-header {
  background: rgba(15, 20, 26, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(8, 12, 18, 0.18);
}

.site-header--overlay .site-nav a,
.site-header--overlay.is-scrolled .site-nav a,
body:not(.has-hero-overlay) .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header--overlay .site-nav a:hover,
.site-header--overlay .site-nav a.is-active,
.site-header--overlay.is-scrolled .site-nav a:hover,
.site-header--overlay.is-scrolled .site-nav a.is-active,
body:not(.has-hero-overlay) .site-nav a:hover,
body:not(.has-hero-overlay) .site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.site-header--overlay .nav-cta,
.site-header--overlay.is-scrolled .nav-cta,
body:not(.has-hero-overlay) .nav-cta {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.site-header--overlay .nav-cta:hover,
.site-header--overlay.is-scrolled .nav-cta:hover,
body:not(.has-hero-overlay) .nav-cta:hover {
  background: rgba(255, 255, 255, 0.26) !important;
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  position: relative;
  display: inline-grid;
  align-items: center;
}

.brand-logo {
  width: 132px;
  height: auto;
  grid-area: 1 / 1;
}

.brand-logo--white {
  opacity: 1;
}

.brand-logo--blue {
  opacity: 0;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-cta {
  margin-left: 0.4rem;
  padding-inline: 1.15rem !important;
  min-height: 44px;
}

.has-sub {
  position: relative;
}

.sub-nav {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 200px;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.18s ease;
  z-index: 20;
}

.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sub-nav a {
  width: 100%;
  color: var(--ink-soft) !important;
  border-radius: 8px;
}

.sub-nav a:hover {
  background: var(--accent-soft) !important;
  color: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  place-items: center;
}

body:not(.has-hero-overlay) .nav-toggle,
.site-header--overlay.is-scrolled .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.site-header--overlay .nav-toggle,
body:not(.has-hero-overlay) .nav-toggle,
.site-header--overlay.is-scrolled .nav-toggle {
  color: #fff;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--hero-ink);
  background: #0d1218;
  /* Pull hero under frosted header */
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  transition: transform 6.5s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 14, 20, 0.5) 0%, rgba(10, 14, 20, 0.2) 52%, rgba(10, 14, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.28) 0%, rgba(10, 14, 20, 0.08) 42%, rgba(10, 14, 20, 0.52) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 6.5rem;
  min-height: 320px;
}

.hero-copy {
  display: none;
  animation: heroCopyIn 0.55s ease;
}

.hero-copy.is-active {
  display: block;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.85);
}

.hero p {
  max-width: 42ch;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-controls {
  position: absolute;
  right: max(1.25rem, calc((100% - var(--max)) / 2));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(12, 16, 22, 0.28);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-dots {
  display: grid;
  gap: 0.4rem;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
}

.hero-footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-points span {
  opacity: 0.7;
  margin-right: 0.35rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0f2f4;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-accent,
.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-accent:hover,
.btn-dark:hover {
  background: #2a313c;
}

.btn-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-pillars {
  background: #fff;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.section-muted {
  background: #eef0f3;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.4rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.pillars-six {
  grid-template-columns: repeat(3, 1fr);
}

.patent-note {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.patent-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pillar {
  background: transparent;
  border: 0;
  padding: 0.25rem 0.15rem;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  color: var(--ink);
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.pillar h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 0.75rem;
  background: #c9ced6;
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
}

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.welcome-media {
  border-radius: 4px;
  overflow: hidden;
  min-height: 520px;
  background: #d9dee5;
}

.welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-copy {
  padding: 0.5rem 0.25rem;
}

.welcome-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.welcome-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.stat-card,
.feature-card {
  background: #e8ebef;
  border-radius: 4px;
  padding: 1.5rem 1.4rem;
}

.stat-card strong {
  display: block;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 800;
}

.stat-card span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.feature-card {
  position: relative;
  min-height: 210px;
}

.feature-slide {
  display: none;
}

.feature-slide.is-active {
  display: block;
}

.feature-slide h3 {
  font-size: 1.25rem;
}

.feature-nav {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.35rem;
}

.feature-nav button {
  width: 34px;
  height: 34px;
  border: 1px solid #c5cad2;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.feature-nav button:hover {
  border-color: var(--ink);
}

/* Service showcase */
.service-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.showcase-card {
  position: relative;
  min-height: 280px;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.1) 20%, rgba(10, 14, 20, 0.78) 100%);
  z-index: 1;
}

.showcase-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.4rem 1.35rem 1.5rem;
  color: #fff;
}

.showcase-overlay h3 {
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
}

.showcase-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.showcase-card:hover img {
  transform: scale(1.06);
}

.service-details {
  margin-top: 0.5rem;
}

.service-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem 1.4rem 1.55rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-index {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service-panel h3 {
  font-size: 1.2rem;
}

/* Cards / services */
.services-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.web-offer-card {
  border-top: 3px solid var(--accent);
}

.web-offer-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.web-offer-card .list-check {
  flex: 1;
  margin-bottom: 1.25rem;
}

.web-offer-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.web-offer-index {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.capability-strip li {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.tech-stack {
  margin-top: 2.75rem;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.tech-stack .section-head {
  margin-bottom: 1.5rem;
}

.tech-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-chip-list li {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.design-stack-note {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.design-stack-note p {
  margin: 0;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: #d7dde5;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-body h3 {
  font-size: 1.2rem;
}

.card-meta {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.list-check {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.list-check li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.project-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.35rem 1.4rem;
}

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  justify-content: center;
}

.projects-cta,
.cta-band {
  background:
    linear-gradient(135deg, rgba(12, 16, 22, 0.78), rgba(12, 16, 22, 0.55)),
    url("../images/projects-bg.webp") center / cover;
  color: #fff;
  border-radius: 4px;
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band {
  background:
    linear-gradient(135deg, #101820, #1a303b);
}

.projects-cta p,
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 42ch;
}

.projects-cta h2,
.cta-band h2 {
  color: #fff;
  margin-bottom: 0.45rem;
}

/* Inner pages */
.page-hero {
  padding: 3.2rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg));
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 48ch;
  font-size: 1.05rem;
}

.page-hero--about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Pull video under frosted header like home hero */
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 5rem);
  text-align: center;
  border-bottom: 0;
  background: #0d1218;
  color: #fff;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: center;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media video,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.page-hero--about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.55) 0%, rgba(10, 14, 20, 0.42) 45%, rgba(10, 14, 20, 0.72) 100%);
  pointer-events: none;
}

.page-hero--about .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin-inline: auto;
}

.page-hero--about .eyebrow {
  color: #9ec9d8;
}

.page-hero--about h1 {
  max-width: none;
  margin-inline: auto;
  margin-bottom: 0.85rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-hero--about p {
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0;
}

.about-copy h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  margin-bottom: 0.85rem;
}

.about-copy p {
  max-width: none;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.split-media {
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  background: #d9dee5;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: grid;
  gap: 1.25rem;
}

/* Forms */
.form-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(80, 90, 102, 0.2);
  border-color: var(--accent);
}

.alert {
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert-success {
  background: #e8f6ee;
  color: #17633a;
}

.alert-error {
  background: #fdeeee;
  color: #9b1c1c;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.info-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.2rem 1.3rem;
}

.info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--display);
}

/* Footer */
.site-footer {
  background: #0f141a;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 1rem;
  max-width: 34ch;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .pillars,
  .services-grid,
  .cards-grid,
  .project-steps,
  .footer-grid,
  .welcome-grid,
  .service-showcase,
  .pillars-six {
    grid-template-columns: 1fr 1fr;
  }

  .welcome-aside {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-layout,
  .projects-cta,
  .cta-band {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .split-media,
  .welcome-media {
    min-height: 280px;
  }
}

@media (max-width: 780px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--topbar-h) + var(--header-h)) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a,
  .site-header--overlay .site-nav a {
    color: var(--ink-soft) !important;
  }

  .sub-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    background: transparent;
  }

  .pillars,
  .services-grid,
  .cards-grid,
  .project-steps,
  .footer-grid,
  .form-grid,
  .welcome-grid,
  .welcome-aside,
  .service-showcase,
  .pillars-six {
    grid-template-columns: 1fr;
  }

  .hero-points {
    gap: 0.75rem 1.1rem;
    font-size: 0.85rem;
  }

  .hero-controls {
    right: 0.85rem;
    top: auto;
    bottom: 5.5rem;
    transform: none;
    grid-auto-flow: column;
    gap: 0.45rem;
  }

  .hero-dots {
    grid-auto-flow: column;
  }

  .showcase-card {
    min-height: 240px;
  }
}
