:root {
  --blue: #1b78f2;
  --blue-bright: #3b8cff;
  --blue-deep: #0750bd;
  --blue-wash: #eaf3ff;
  --ink: #07090d;
  --ink-2: #0d1118;
  --ink-3: #151b25;
  --steel: #aeb9c9;
  --muted: #657080;
  --fog: #f0f3f7;
  --white: #ffffff;
  --line: #d9dee6;
  --line-dark: rgba(255, 255, 255, 0.13);
  --shell: min(1280px, calc(100vw - 48px));
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

#contact,
#quote {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4.6rem, 9vw, 8.7rem);
}

h2 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
}

h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

h1 em,
h2 em {
  color: var(--blue);
  font-style: italic;
  font-weight: 900;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -90px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.3rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: currentColor;
  transform: skewX(-25deg);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 38px rgba(27, 120, 242, 0.24);
}

.button-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(27, 120, 242, 0.34);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: '';
  position: absolute;
}

.text-link-light {
  color: var(--white);
}

/* Top bar and navigation */

.topbar {
  position: relative;
  z-index: 90;
  background: #030406;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c6cfda;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.topbar-inner p {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar-inner a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.topbar-inner a:hover {
  color: var(--blue-bright);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 9, 13, 0.92);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 13, 0.98);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  width: max-content;
  display: inline-flex;
  flex-direction: column;
  color: var(--white);
  line-height: 0.8;
  text-decoration: none;
  transform: skewX(-6deg);
}

.brand-main {
  font-family: var(--display);
  font-size: 2.35rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.brand-main span {
  position: relative;
  display: inline-block;
  margin-left: 0.02em;
  color: var(--blue-bright);
}

.brand-main span::after {
  content: '';
  position: absolute;
  right: -0.34em;
  bottom: 0.1em;
  width: 0.45em;
  height: 0.1em;
  background: var(--blue-bright);
}

.brand-sub {
  margin-top: 0.45rem;
  color: var(--steel);
  font-family: var(--display);
  font-size: 0.62rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.desktop-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d9dee7;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  transition: right 220ms var(--ease);
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-cta {
  min-height: 46px;
  padding: 0.75rem 1.2rem;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: opacity 200ms ease, transform 220ms ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.8rem 24px 1.5rem;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu > a:not(.button) {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu > a span {
  color: var(--blue-bright);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.mobile-menu .button {
  margin-top: 1rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(890px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::before,
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media::before {
  background: linear-gradient(90deg, #07090d 0%, rgba(7, 9, 13, 0.9) 35%, rgba(7, 9, 13, 0.28) 72%, rgba(7, 9, 13, 0.42) 100%);
}

.hero-media::after {
  background: linear-gradient(0deg, #07090d 0%, transparent 38%, rgba(7, 9, 13, 0.2) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(0.78) contrast(1.1) brightness(0.78);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 4;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(5.5rem, 10vw, 8rem);
}

.hero-copy {
  max-width: 810px;
}

.hero .eyebrow {
  color: #a9cfff;
}

.hero h1 {
  max-width: 880px;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0;
  bottom: -0.07em;
  height: 0.06em;
  background: linear-gradient(90deg, var(--blue), transparent 85%);
  transform: skewX(-24deg);
}

.hero-intro {
  max-width: 600px;
  margin-top: 2rem;
  color: #d3dae3;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.hero-card {
  position: relative;
  align-self: end;
  margin-bottom: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-top: 3px solid var(--blue);
  background: rgba(8, 11, 17, 0.76);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.hero-card-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--blue-bright);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card > strong {
  display: block;
  max-width: 220px;
  font-family: var(--display);
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-card p {
  margin-top: 1rem;
  color: #b7c0cc;
  font-size: 0.9rem;
  line-height: 1.65;
}

.hero-card-mark {
  position: absolute;
  top: -24px;
  right: 22px;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: var(--blue);
}

.hero-card-mark svg {
  width: 30px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-rail {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(7, 9, 13, 0.84);
  backdrop-filter: blur(14px);
}

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

.hero-rail-inner > div {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 1.4rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-rail-inner > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-rail span {
  position: absolute;
  top: 12px;
  right: 15px;
  color: var(--blue-bright);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-rail strong {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-rail small {
  margin-top: 0.35rem;
  color: #97a2b1;
  font-size: 0.72rem;
}

/* Ticker */

.service-ticker {
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.ticker-track {
  width: max-content;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 1.7rem;
  padding-inline: 1rem;
}

.ticker-track span {
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker-track i {
  width: 7px;
  height: 7px;
  background: var(--white);
  transform: rotate(45deg) skew(8deg, 8deg);
}

/* Shared section heading */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head > p {
  max-width: 460px;
  padding-bottom: 0.55rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* Intro */

.intro {
  overflow: hidden;
  background: var(--fog);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  column-gap: clamp(3rem, 8vw, 8rem);
  row-gap: clamp(3rem, 6vw, 5.5rem);
}

.intro-copy h2 {
  max-width: 760px;
}

.intro-body {
  align-self: end;
  padding-bottom: 0.5rem;
  color: var(--muted);
}

.intro-body .lead {
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.intro-body .text-link {
  margin-top: 1.8rem;
}

.intro-image {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 600ms var(--ease);
}

.intro-image:hover img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.intro-image-wide {
  height: clamp(380px, 50vw, 650px);
}

.intro-image-small {
  height: clamp(320px, 38vw, 510px);
  margin-top: clamp(0rem, 7vw, 5rem);
}

.intro-image-small figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(0deg, rgba(7, 9, 13, 0.94), transparent);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro-image-small figcaption span {
  color: var(--blue-bright);
}

/* Services */

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 460px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
  transition: color 300ms var(--ease), background 300ms var(--ease);
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 100%;
  width: 4px;
  background: var(--blue);
  transition: bottom 320ms var(--ease);
}

.service-card:not(.service-card-feature):hover {
  background: var(--ink);
  color: var(--white);
}

.service-card:hover::after {
  bottom: 0;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: #a6afbc;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--blue-wash);
  color: var(--blue);
  transition: color 300ms ease, background 300ms ease;
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-icon svg {
  width: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card > p,
.service-card > div > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  transition: color 300ms ease;
}

.service-card:not(.service-card-feature):hover > p {
  color: #b9c2cf;
}

.service-card ul {
  display: grid;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.service-card li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--blue);
  transform: rotate(45deg);
}

.service-card-feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--blue);
  color: var(--white);
}

.service-card-feature .service-number,
.service-card-feature .eyebrow,
.service-card-feature > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.service-card-feature h3 {
  max-width: 520px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.service-card-feature .button {
  align-self: flex-start;
  margin-top: 2rem;
}

/* Results */

.results {
  background: var(--fog);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(20, 29, 42, 0.07);
}

.result-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--white);
}

.result-pair figure {
  position: relative;
  height: clamp(310px, 35vw, 500px);
  overflow: hidden;
  background: var(--ink-2);
}

.result-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.result-card:hover .result-pair img {
  transform: scale(1.025);
}

.result-pair figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.45rem 0.75rem;
  background: rgba(7, 9, 13, 0.86);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.result-pair figure:last-child figcaption {
  background: var(--blue);
}

.result-meta {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
}

.result-meta span {
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.result-meta strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.work-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.work-strip figure {
  height: clamp(150px, 18vw, 250px);
  overflow: hidden;
  background: var(--ink-2);
}

.work-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease), filter 500ms var(--ease);
}

.work-strip figure:hover img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.contact::before {
  content: '';
  position: absolute;
  left: -20%;
  bottom: -60%;
  width: 90%;
  aspect-ratio: 1;
  border: 160px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

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

.contact h2 em {
  color: var(--ink);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.contact-list a {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  color: var(--white);
  text-decoration: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  transition: background 220ms ease, color 220ms ease;
}

.contact-list a:hover .contact-icon {
  background: var(--white);
  color: var(--blue);
}

.contact-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list a > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-list small {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-list strong {
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.quote-form {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(1, 28, 66, 0.28);
  color: var(--ink);
}

.form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.form-head span {
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-head strong {
  max-width: 260px;
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.field-grid label:last-child {
  grid-column: 1 / -1;
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: #303744;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quote-form label b {
  color: var(--blue);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #cfd5df;
  border-radius: 0;
  background: #f8f9fb;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quote-form input,
.quote-form select {
  min-height: 52px;
  padding: 0 0.9rem;
}

.quote-form textarea {
  min-height: 125px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 120, 242, 0.14);
}

.quote-form .is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.form-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.form-note.is-error {
  color: #b42318;
  font-weight: 700;
}

.form-note.is-sent {
  color: #067647;
  font-weight: 700;
}

/* Footer */

.site-footer {
  padding-top: clamp(4rem, 8vw, 7rem);
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: end;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.brand-footer .brand-main {
  font-size: 3.4rem;
}

.brand-footer .brand-sub {
  font-size: 0.7rem;
}

.footer-main p {
  max-width: 380px;
  color: #929dac;
  font-size: 0.9rem;
}

.footer-phone {
  justify-self: end;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.footer-phone:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  color: #7f8997;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Reveal animation */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 100ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 1.35rem;
  }

  .hero-inner {
    grid-template-columns: 1fr 285px;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(390px, 1.2fr);
    gap: 3rem;
  }
}

@media (max-width: 920px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 680px;
    grid-template-columns: 1fr;
    align-items: end;
    padding-block: 6rem 4.5rem;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-card {
    display: none;
  }

  .hero-rail-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-rail-inner > div:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.13);
  }

  .hero-rail-inner > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .section-head,
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    gap: 1.5rem;
  }

  .section-head > p {
    padding-bottom: 0;
  }

  .intro-grid {
    column-gap: 0;
  }

  .intro-body {
    max-width: 640px;
  }

  .intro-image-small {
    margin-top: 0;
  }

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

  .result-pair figure {
    height: min(60vw, 520px);
  }

  .contact-copy {
    max-width: 720px;
  }

  .quote-form {
    max-width: 720px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section {
    padding-block: 5rem;
  }

  .contact {
    padding-top: 6.5rem;
  }

  .contact-grid {
    row-gap: 3.5rem;
  }

  .topbar-inner {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .topbar-inner p {
    max-width: 190px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-main {
    font-size: 2rem;
  }

  .brand-sub {
    font-size: 0.54rem;
  }

  .hero-inner {
    min-height: 620px;
    padding-block: 5rem 3.5rem;
  }

  .hero-media::before {
    background: linear-gradient(90deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.68) 72%, rgba(7, 9, 13, 0.55) 100%);
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6.2rem);
  }

  .hero-intro {
    margin-top: 1.5rem;
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-rail-inner > div {
    min-height: 100px;
    padding: 1.25rem 1rem;
  }

  .hero-rail strong {
    font-size: 1.1rem;
  }

  .hero-rail small {
    font-size: 0.65rem;
  }

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

  .service-card {
    min-height: 420px;
  }

  .result-pair figure {
    height: 63vw;
  }

  .result-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .contact-list strong {
    font-size: 0.82rem;
  }

  .quote-form {
    padding: 1.5rem;
  }

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

  .form-head strong {
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-phone {
    justify-self: start;
  }

  .footer-main p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }
}

@media (max-width: 410px) {
  .topbar-inner p {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

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

  .hero-rail-inner > div {
    min-height: 82px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .hero-rail-inner > div:first-child {
    border-top: 0;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
