:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #141311;
  --ink-soft: #2c2a26;
  --muted: #6b665d;
  --line: #d4cec2;
  --line-strong: #b8b0a2;
  --accent: #9a3412;
  --accent-dark: #7c2d12;
  --panel: #171614;
  --panel-2: #221f1c;
  --white: #fffcf7;
  --max: 1180px;
  --header: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  letter-spacing: -0.011em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

h1,
h2,
h3,
.serif {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.lede {
  font-size: 1.15rem;
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 247, 0.4);
}

.btn-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 64px;
  align-items: end;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-aside {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.hero-aside p {
  margin-bottom: 24px;
}

.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rule-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.rule-list span {
  color: var(--muted);
}

/* Sections */

.section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.panel {
  background: var(--panel);
  color: var(--white);
}

.panel p,
.panel .muted {
  color: #c9c3b8;
}

.band {
  background: var(--paper-2);
}

/* Cards / grids */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--paper);
  padding: 28px 24px;
  min-height: 180px;
}

.card-num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
}

.card p {
  margin: 0;
  font-size: 14.5px;
}

/* Work table */

.work-table {
  width: 100%;
  border-collapse: collapse;
}

.work-table th,
.work-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.work-table th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.work-table td:first-child {
  font-weight: 500;
}

.work-table a:hover {
  color: var(--accent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink-soft);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.work-row[hidden] {
  display: none;
}

/* Founder */

.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.portrait {
  aspect-ratio: 4 / 5;
  background: var(--panel);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--panel);
}

.portrait-initials {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 56px;
  line-height: 1;
}

.portrait small {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #c9c3b8;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 28px;
}

.facts dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.facts dd {
  margin: 0;
  font-weight: 500;
}

/* Page hero */

.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-block h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  padding: 12px 12px;
  outline: none;
  border-radius: 0;
  appearance: none;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  min-height: 1.4em;
}

.form-note.is-ok {
  color: #276749;
}

.form-note.is-error {
  color: var(--accent);
}

/* Footer */

.site-footer {
  background: var(--panel);
  color: #d8d2c6;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid #3a3530;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 10px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 12px;
  color: #8d867b;
}

/* Service detail */

.service-list {
  display: grid;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 0.8fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service-item p {
  margin: 0;
}

/* Values */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #3a3530;
  border-bottom: 1px solid #3a3530;
}

.stat {
  padding: 28px 24px;
  border-right: 1px solid #3a3530;
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 2rem;
  color: var(--white);
  font-weight: 500;
}

.stat span {
  font-size: 13px;
  color: #c9c3b8;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .founder,
  .contact-grid,
  .footer-grid,
  .service-item,
  .card-grid,
  .value-grid,
  .stat-row,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero-aside {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #3a3530;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header-cta .phone {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a.is-active::after {
    display: none;
  }

  .work-table thead {
    display: none;
  }

  .work-table tr,
  .work-table td {
    display: block;
    width: 100%;
  }

  .work-table td {
    padding: 6px 0;
  }

  .work-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .work-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Bold visual system — inspired by contemporary European construction sites */

:root {
  --paper: #ffffff;
  --paper-2: #f2f2f2;
  --ink: #111111;
  --ink-soft: #282828;
  --muted: #626262;
  --line: #d7d7d7;
  --line-strong: #9a9a9a;
  --accent: #1d7bff;
  --accent-dark: #075fd9;
  --panel: #141414;
  --panel-2: #222222;
  --white: #ffffff;
  --max: 1320px;
  --header: 86px;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}

h1,
h2,
h3,
.serif,
.footer-brand,
.portrait-initials,
.stat b {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 8.5vw, 8.2rem);
  line-height: 0.84;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5.1rem);
  line-height: 0.92;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1;
}

.wrap {
  width: min(var(--max), calc(100% - 64px));
}

.eyebrow {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.14em;
  position: relative;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  transform: translateY(-50%);
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  min-width: 238px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-text span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav {
  gap: clamp(14px, 2vw, 32px);
}

.nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav a.is-active::after {
  bottom: -16px;
  height: 4px;
  background: var(--accent);
}

.phone {
  font-size: 12px;
  font-weight: 600;
}

.btn {
  min-height: 52px;
  padding-inline: 24px;
  border-color: var(--accent);
  background: var(--accent);
  font-size: 12px;
  letter-spacing: 0.09em;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.btn::after {
  content: "→";
  margin-left: 18px;
  font-size: 18px;
  line-height: 1;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.btn-light {
  border-color: var(--white);
  background: transparent;
}

.hero {
  min-height: calc(100vh - var(--header));
  padding: clamp(70px, 9vw, 138px) 0 70px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, transparent 0 69%, rgba(29, 123, 255, 0.06) 69% 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #ededed calc(25% - 1px), #ededed 25%);
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(3.5rem, 6.2vw, 6.8rem);
}

.hero::after {
  content: "";
  position: absolute;
  right: -7vw;
  top: 12%;
  width: clamp(190px, 29vw, 480px);
  aspect-ratio: 1;
  border: clamp(38px, 6vw, 92px) solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.98;
}

.hero-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.55fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-meta {
  margin-top: 42px;
  border-top: 4px solid var(--ink);
  padding-top: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.hero-aside {
  padding: 30px;
  border: 0;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.section {
  padding: clamp(90px, 11vw, 160px) 0;
}

.section-head {
  margin-bottom: 56px;
}

.panel {
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -250px;
  width: 500px;
  height: 500px;
  border: 86px solid var(--accent);
  border-radius: 50%;
  opacity: 0.75;
}

.panel > .wrap {
  position: relative;
  z-index: 1;
}

.panel .eyebrow {
  color: var(--white);
}

.band {
  background: var(--accent);
  color: var(--white);
}

.band p,
.band .muted,
.band .eyebrow {
  color: var(--white);
}

.band .eyebrow::before {
  background: var(--white);
}

.card-grid {
  gap: 0;
  border: 4px solid var(--ink);
  background: var(--ink);
}

.card {
  min-height: 260px;
  padding: 34px;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.card:nth-child(2),
.card:nth-child(5) {
  background: var(--paper-2);
}

.card:hover {
  z-index: 1;
  background: var(--accent);
  color: var(--white);
  transform: translateY(-8px);
}

.card:hover p,
.card:hover .card-num {
  color: var(--white);
}

.card-num {
  margin-bottom: 70px;
  color: var(--accent);
  font-weight: 600;
}

.rule-list {
  margin-top: 50px;
}

.rule-list li {
  min-height: 82px;
  align-items: center;
  border-top-color: #505050;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.rule-list strong::before {
  content: "↗";
  display: inline-block;
  margin-right: 16px;
  color: var(--accent);
}

.page-hero {
  min-height: 510px;
  padding: clamp(100px, 12vw, 180px) 0 70px;
  display: flex;
  align-items: flex-end;
  border-bottom: 0;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.94) 0 56%, rgba(0, 0, 0, 0.45) 100%),
    repeating-linear-gradient(45deg, #242424 0, #242424 18px, #1d1d1d 18px, #1d1d1d 36px);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 50%;
  width: clamp(160px, 25vw, 380px);
  aspect-ratio: 1;
  border: clamp(30px, 5vw, 72px) solid var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--white);
}

.page-hero h1 {
  max-width: 11ch;
}

.founder {
  grid-template-columns: minmax(280px, 0.72fr) 1.28fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: stretch;
}

.portrait {
  min-height: 520px;
  padding: 0;
  border: 0;
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.portrait .founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.04);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(7, 26, 51, 0.9));
}

.portrait small {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 24px;
  color: var(--white);
}

.portrait-initials {
  font-size: clamp(4rem, 9vw, 8rem);
  color: var(--white);
}

.facts {
  margin-top: 50px;
  border-top: 4px solid var(--ink);
  padding-top: 28px;
}

.value-grid {
  gap: 1px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.value-grid article {
  min-height: 260px;
  padding: 32px;
  background: var(--accent);
}

.service-item {
  min-height: 180px;
  padding: 34px 0;
  grid-template-columns: 70px 1.2fr 0.7fr;
  border-top: 2px solid var(--ink);
  transition: padding 180ms var(--ease), background 180ms var(--ease);
}

.service-item:hover {
  margin-inline: -24px;
  padding-inline: 24px;
  background: var(--paper-2);
}

.work-table {
  border-top: 5px solid var(--ink);
}

.work-table th {
  padding-block: 22px;
  background: var(--ink);
  color: var(--white);
}

.work-table td {
  padding-block: 24px;
  border-bottom: 2px solid var(--ink);
}

.work-table tbody tr {
  transition: background 160ms var(--ease);
}

.work-table tbody tr:hover {
  background: #e8f2ff;
}

.filter-btn {
  min-height: 44px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.contact-block {
  border-top: 2px solid var(--ink);
}

input,
textarea,
select {
  min-height: 54px;
  border: 2px solid var(--ink);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 5px 5px 0 var(--accent);
}

.site-footer {
  border-top: 12px solid var(--accent);
  background: #071a33;
  color: var(--white);
  padding-top: 72px;
}

.site-footer p,
.site-footer a,
.site-footer strong,
.site-footer .legal {
  color: var(--white);
}

.site-footer .footer-grid {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.site-footer a {
  transition: color 180ms var(--ease);
}

.site-footer a:hover {
  color: #78adff;
}

.footer-brand {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.project-image,
.content-image,
.hero-image,
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame {
  min-height: 420px;
  overflow: hidden;
  background: var(--panel);
  position: relative;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 12px solid var(--accent);
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 46%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 255, 255, 0.15) 22%, rgba(29, 123, 255, 0.12) 100%);
  pointer-events: none;
}

.hero-aside {
  position: relative;
  z-index: 3;
}

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

.leadership-hero-photo {
  object-position: center;
}

.page-hero:has(.leadership-hero-photo)::after {
  display: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0 53%, rgba(0, 0, 0, 0.3) 82%, rgba(29, 123, 255, 0.26));
}

.page-hero .wrap {
  z-index: 2;
}

.media-band {
  padding: 0 0 clamp(90px, 11vw, 160px);
  overflow: hidden;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
}

.media-grid--two {
  grid-template-columns: 1.25fr 0.75fr;
}

.media-card {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  position: relative;
  background: var(--panel);
}

.media-card--tall {
  min-height: 540px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 300ms var(--ease);
}

.media-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.15);
}

.media-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 20px 18px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.media-card--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 12px solid var(--accent);
  pointer-events: none;
}

.visual-note {
  margin: 16px 0 0;
  max-width: 80ch;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .header-cta .phone {
    display: none;
  }

  .brand {
    min-width: auto;
  }
}

@media (max-width: 920px) {
  :root {
    --header: 76px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .header-cta > .btn {
    display: none;
  }

  .nav-toggle {
    border: 0;
    background: var(--accent);
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    background: var(--white);
  }

  .nav {
    background: var(--white);
    padding: 18px;
  }

  .nav a {
    padding: 18px 0;
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding-block: 90px 60px;
  }

  .hero-photo,
  .hero::before {
    width: 100%;
    opacity: 0.28;
  }

  .hero::after {
    right: -110px;
    top: 25px;
    opacity: 0.2;
  }

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

  .hero-aside {
    margin-top: 20px;
    box-shadow: none;
    border: 2px solid var(--ink);
  }

  .card {
    min-height: 220px;
  }

  .card-num {
    margin-bottom: 36px;
  }

  .page-hero {
    min-height: 400px;
  }

  .page-hero::after {
    right: -90px;
    opacity: 0.55;
  }

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

  .portrait {
    min-height: 420px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .media-grid,
  .media-grid--two {
    grid-template-columns: 1fr 1fr;
  }

  .media-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand-text span {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .hero-meta {
    display: grid;
    gap: 8px;
  }

  .section {
    padding-block: 78px;
  }

  .rule-list li {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }

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

  .legal {
    flex-direction: column;
  }

  .media-grid,
  .media-grid--two {
    grid-template-columns: 1fr;
  }

  .media-grid > :first-child {
    grid-column: auto;
  }

  .media-card,
  .media-card--tall {
    min-height: 310px;
  }
}
