:root {
  --red: #b22222;
  --charcoal: #1f2226;
  --black: #101112;
  --white: #ffffff;
  --gray-050: #f5f5f5;
  --gray-100: #ececec;
  --gray-300: #c8c8c8;
  --gray-600: #5f6368;
  --shadow: 0 10px 26px rgba(16, 17, 18, 0.12);
  --shadow-strong: 0 16px 42px rgba(16, 17, 18, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

img,
iframe {
  max-width: 100%;
}

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

p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.1;
}

ul {
  padding-left: 1.1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 17, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  min-width: 600px;
  height: 184px;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
  padding: 0 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--white);
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a.is-active {
  color: var(--white);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

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

.button-phone:hover,
.button-phone:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8f1c1c;
}

.button-secondary {
  border-color: rgba(16, 17, 18, 0.24);
  color: var(--charcoal);
  background: transparent;
}

.hero-home .button-secondary,
.page-hero .button-secondary,
.cta-card .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.hero-home .button-secondary {
  background: rgba(16, 17, 18, 0.42);
  backdrop-filter: blur(8px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(16, 17, 18, 0.42);
  background: rgba(16, 17, 18, 0.04);
}

.hero-home .button-secondary:hover,
.hero-home .button-secondary:focus-visible,
.page-hero .button-secondary:hover,
.page-hero .button-secondary:focus-visible,
.cta-card .button-secondary:hover,
.cta-card .button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
}

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

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  background: var(--black);
  color: var(--white);
  padding: 0;
}

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

.hero-overlay {
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
}

.home-hero-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 760px;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: 8rem;
}

.home-hero-image-wrap {
  position: relative;
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  min-height: 0;
}

.home-hero-image-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(16, 17, 18, 0.96) 0%, rgba(16, 17, 18, 0.68) 42%, rgba(16, 17, 18, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16, 17, 18, 0.9) 0%, rgba(16, 17, 18, 0.68) 36%, rgba(16, 17, 18, 0.16) 76%);
  pointer-events: none;
}

.home-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-hero-panel .hero-copy {
  max-width: 42rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 680px);
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(16, 17, 18, 0.42);
  backdrop-filter: blur(8px);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--white);
  font-size: 0.95rem;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.home-hero-panel .button-row {
  position: relative;
  z-index: 2;
}

.hero h1,
.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  margin-bottom: 1rem;
}

.hero-copy,
.page-intro {
  max-width: 42rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, #20242a 0%, #17191d 100%);
  color: var(--white);
}

.page-hero-dark {
  background: linear-gradient(180deg, #181a1d 0%, #101112 100%);
}

.page-hero-photo {
  position: relative;
  overflow: hidden;
  background-color: #17191d;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

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

.page-hero-actions {
  margin-top: 1.5rem;
}

.section {
  position: relative;
  padding: 4.5rem 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 17, 18, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--gray-050);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.split-layout h2,
.cta-card h2,
.service-panel h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.feature-grid,
.service-grid,
.brand-grid,
.stack-grid,
.future-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid-three,
.feature-grid,
.brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feature-card,
.service-tile,
.brand-card,
.service-panel,
.contact-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(16, 17, 18, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card,
.service-panel,
.contact-card {
  overflow: hidden;
}

.feature-card::before,
.service-panel::before,
.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--red);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  margin-bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(178, 34, 34, 0.1);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-card {
  display: flex;
  flex-direction: column;
}

.brand-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--gray-050);
}

.brand-card-logo img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

.brand-card .button {
  margin-top: auto;
}

.service-tile {
  min-height: 120px;
  display: flex;
  align-items: end;
  background: linear-gradient(180deg, var(--white) 0%, #f3f0ee 100%);
  border-top: 4px solid var(--red);
}

.service-tile h3,
.feature-card h3,
.brand-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.split-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.image-panel {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #2b2e33;
  box-shadow: var(--shadow);
}

.image-panel picture {
  position: absolute;
  inset: 0;
}

.image-panel picture,
.image-panel img {
  display: block;
  width: 100%;
  height: 100%;
}

.image-panel img {
  object-fit: cover;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.image-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 600;
}

.service-list,
.footer-links,
.contact-list,
.future-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li,
.future-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.compact-list li:last-child,
.service-list li:last-child,
.future-list li:last-child {
  border-bottom: 0;
}

.cta-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem;
  box-shadow: var(--shadow-strong);
}

.cta-card-left {
  text-align: left;
}

.archive-feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.archive-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(16, 17, 18, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-card:hover,
.archive-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.archive-thumb {
  display: block;
  overflow: hidden;
  max-height: 260px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

.archive-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.archive-meta,
.newspaper,
.byline,
.article-note,
.caption-text {
  color: var(--gray-600);
}

.archive-meta,
.newspaper,
.byline {
  font-weight: 700;
}

.archive-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.article-image-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(16, 17, 18, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-image-card picture {
  display: block;
  overflow: hidden;
  max-height: 680px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}

.article-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.article-paper {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(16, 17, 18, 0.1);
  border-radius: calc(var(--radius) + 6px);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.article-paper h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.article-note {
  margin-bottom: 2rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(178, 34, 34, 0.08);
}

.transcription {
  max-width: 70ch;
}

.transcription p {
  margin-bottom: 1.05rem;
}

.caption-text {
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-style: italic;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-call {
  margin-bottom: 1.25rem;
}

.form-note {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--gray-050);
  color: var(--gray-600);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 81px;
  top: 0.55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(178, 34, 34, 0.12);
}

.timeline-year {
  font-weight: 800;
  color: var(--red);
}

.timeline-content {
  padding-left: 2rem;
}

.future-grid {
  align-items: start;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.footer-logo {
  display: block;
  width: min(220px, 100%);
  margin-bottom: 1rem;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 760px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-phone,
  .nav-cta {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
  }

  .split-layout,
  .contact-layout,
  .future-grid,
  .archive-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  }

  .article-image-card {
    position: sticky;
    top: 108px;
  }

  .split-layout-reverse > :first-child {
    order: 2;
  }

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

@media (min-width: 980px) {
  .stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) and (max-width: 1179px) {
  .brand-logo {
    width: min(46vw, 600px);
    min-width: 0;
    height: 150px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .nav-phone,
  .nav-cta {
    width: 100%;
  }
}

@media (max-width: 759px) {
  .site-nav a.is-active::after {
    display: none;
  }

  .brand-logo {
    width: min(58vw, 472px);
    min-width: 0;
    height: 136px;
  }

  .home-hero-panel {
    position: absolute;
    max-width: none;
    justify-content: flex-start;
    padding-top: clamp(1rem, 5vw, 1.75rem);
    padding-bottom: 1rem;
    background: transparent;
  }

  .home-hero-image {
    height: auto;
  }

  .home-hero-image-wrap {
    min-height: auto;
  }

  .home-hero-image-wrap::before {
    display: none;
  }

  .home-hero-image-wrap::after {
    display: block;
    background: linear-gradient(180deg, rgba(16, 17, 18, 0.08) 0%, rgba(16, 17, 18, 0.58) 46%, rgba(16, 17, 18, 0.94) 100%);
  }

  .hero h1,
  .page-hero h1 {
    max-width: 16ch;
    font-size: clamp(1.65rem, 7.5vw, 2.75rem);
  }

  .hero-copy {
    max-width: 34rem;
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    line-height: 1.45;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0;
    width: 100%;
  }

  .trust-strip li {
    padding: 0.45rem 0.5rem;
  }

  .trust-strip strong,
  .trust-strip span {
    line-height: 1.3;
  }

  .trust-strip strong {
    font-size: clamp(0.65rem, 2.6vw, 0.82rem);
  }

  .trust-strip span {
    font-size: clamp(0.58rem, 2.25vw, 0.72rem);
  }

  .home-hero-panel .button {
    min-height: 38px;
    padding: 0.55rem 0.8rem;
    font-size: 0.84rem;
  }

  .home-hero-panel .button-row {
    gap: 0.6rem;
  }

  .nav-phone,
  .nav-cta {
    width: 100%;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: 3px;
  }

  .timeline-content {
    padding-left: 0;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
