:root {
  --black: #05070a;
  --black-raise: #0a0f16;
  --black-card: #0d131b;
  --steel: #c3d0de;
  --steel-bright: #eef4fb;
  --steel-dim: #8494a5;
  --blue: #2180e4;
  --blue-bright: #5ab6ff;
  --hairline: rgba(126, 166, 208, 0.16);
  --hairline-strong: rgba(126, 166, 208, 0.32);
  --metal: linear-gradient(135deg, #e6eef8 0%, #9dbfdf 20%, #2f8ade 46%, #0c3e78 68%, #b7d3ec 100%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--steel);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  color: var(--steel-bright);
  font-family: var(--serif);
  font-weight: 400;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--steel-bright);
  color: var(--black);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule { display: block; width: 92px; height: 2px; background: var(--metal); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--hairline);
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--steel-bright);
  font-family: var(--serif);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  transform: rotate(45deg);
  background: var(--metal);
  box-shadow: 0 0 22px rgba(47, 138, 222, 0.45);
}

.brand-name { display: grid; line-height: 1.15; }
.brand-name b { font-weight: 400; font-size: 1.02rem; }

.brand-name span {
  color: var(--steel-dim);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--steel);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--metal);
  transition: right 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current]::after { right: 0; }

.nav-links a[aria-current] { color: var(--steel-bright); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto 30%;
  height: 90vh;
  background: radial-gradient(48% 48% at 60% 40%, rgba(33, 128, 228, 0.28), rgba(5, 7, 10, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -14rem;
  bottom: -18rem;
  border: 1px solid var(--hairline-strong);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 {
  margin: 1.4rem 0;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 33rem;
  margin: 0 0 2.4rem;
  color: var(--steel-dim);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--hairline-strong);
  color: var(--steel-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--metal { border-color: transparent; background: var(--metal); color: #04090f; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(12, 62, 120, 0.45); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(47, 138, 222, 0.12); }

.hero-figure {
  position: relative;
  padding: 14px;
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, rgba(47, 138, 222, 0.14), rgba(5, 7, 10, 0.2));
}

.hero-figure img { width: 100%; }

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(5, 7, 10, 0.8);
  pointer-events: none;
}

.hero-strip {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hairline);
}

.hero-strip div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--hairline); }
.hero-strip div:last-child { border-right: 0; }

.hero-strip b {
  display: block;
  color: var(--steel-bright);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.hero-strip span { font-size: 0.78rem; color: var(--steel-dim); }

/* ---------- sections ---------- */

section { scroll-margin-top: 84px; }

.band { padding: clamp(4.5rem, 8vw, 7.5rem) 0; border-top: 1px solid var(--hairline); }
.band--raise { background: linear-gradient(180deg, var(--black-raise), var(--black)); }

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 3.2rem;
}

.section-heading h2 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -0.035em; }
.section-heading p { margin: 0; color: var(--steel-dim); }

/* ---------- services ---------- */

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

.service-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.7rem, 3.4vw, 2.6rem);
  border: 1px solid var(--hairline);
  background: var(--black-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--metal);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.service-card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); }
.service-card:hover::before { opacity: 1; }

.service-number {
  display: block;
  margin-bottom: 1.6rem;
  font-family: var(--serif);
  font-size: 2.2rem;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-card h3 { margin-bottom: 0.9rem; font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.service-card p { margin-top: 0; color: var(--steel-dim); }

.service-card ul {
  margin: 1.2rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.service-card li { position: relative; padding-left: 1.35rem; font-size: 0.93rem; }
.service-card li + li { margin-top: 0.45rem; }

.service-card li::before,
.expertise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--metal);
}

/* ---------- contact ---------- */

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid var(--hairline-strong);
  background: var(--black-card);
}

.contact-copy { padding: clamp(2.2rem, 5vw, 4rem); }
.contact-copy h2 { margin-bottom: 1rem; font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -0.035em; }
.contact-copy p { max-width: 34rem; color: var(--steel-dim); }

.email-link {
  display: inline-block;
  margin-top: 1.2rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  border-image: var(--metal) 1;
  color: var(--steel-bright);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.hours {
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: clamp(2.2rem, 5vw, 3.4rem);
  border-left: 1px solid var(--hairline-strong);
  background: linear-gradient(150deg, #123a66 0%, #0b2440 45%, #071a30 100%);
}

.hours span { color: var(--blue-bright); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.hours strong { color: var(--steel-bright); font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 400; }

/* ---------- about ---------- */

.page-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 8vw, 7rem) 0; }

.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% 20%;
  height: 70vh;
  background: radial-gradient(45% 45% at 50% 50%, rgba(33, 128, 228, 0.22), rgba(5, 7, 10, 0) 70%);
  pointer-events: none;
}

.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 52rem; margin: 1.2rem 0 1rem; font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.04em; }
.page-hero p { max-width: 46rem; margin: 0; color: var(--steel-dim); font-size: 1.08rem; }

.about-intro { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); }
.about-intro h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
.about-intro p { color: var(--steel-dim); }
.about-intro p:first-child { margin-top: 0; }

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  margin: 1.8rem 0;
  padding: 1.6rem 0;
  border-block: 1px solid var(--hairline);
  list-style: none;
}

.expertise-list li { position: relative; padding-left: 1.35rem; font-size: 0.95rem; }

.profile-list { display: grid; gap: 1.25rem; }

.profile-card {
  display: grid;
  grid-template-columns: minmax(200px, 0.48fr) 1.52fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border: 1px solid var(--hairline);
  background: var(--black-card);
}

/* Portraits keep their own aspect ratio: no cropping, no stretching. */
.profile-figure { position: relative; margin: 0; }
.profile-figure img { width: 100%; filter: grayscale(1) contrast(1.05) brightness(0.92); }

.profile-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(47, 138, 222, 0.26), rgba(5, 7, 10, 0.45));
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
}

.profile-copy { padding: 0.4rem 0; }

.profile-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.profile-copy h3 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.profile-copy p { color: var(--steel-dim); }
.profile-copy a { color: var(--blue-bright); text-underline-offset: 0.2em; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--hairline); background: #03050a; }

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}

.footer-title { margin: 0 0 0.4rem; color: var(--steel-bright); font-family: var(--serif); font-size: 1.3rem; }
.footer-copy { margin: 0; color: var(--steel-dim); font-size: 0.84rem; }
.footer-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }

.footer-links a {
  color: var(--steel);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links a:hover, .footer-links a:focus-visible { color: var(--blue-bright); }

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

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .section-heading,
  .about-intro,
  .contact-panel { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip div:nth-child(2) { border-right: 0; }
  .hero-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .service-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-figure { max-width: 420px; }
  .hours { border-left: 0; border-top: 1px solid var(--hairline-strong); }
  .footer-shell { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(1180px, calc(100% - 1.5rem)); }
  .nav-shell { min-height: auto; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 0.9rem 0; }
  .nav-links { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.12em; }
  .brand-name span { letter-spacing: 0.24em; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip div { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .hero-strip div:last-child { border-bottom: 0; }
  .expertise-list { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .btn, .nav-links a::after { transition: none; }
}

@media (forced-colors: active) {
  .eyebrow,
  .hero h1 em,
  .service-number,
  .profile-kicker {
    background: none;
    color: LinkText;
  }

  .rule,
  .service-card::before,
  .service-card li::before,
  .expertise-list li::before {
    background: Highlight;
  }

  .brand-mark {
    border: 1px solid ButtonText;
    background: ButtonFace;
    box-shadow: none;
  }

  .btn--metal {
    border-color: ButtonText;
    background: ButtonFace;
    color: ButtonText;
  }
}
