:root {
  --navy: #0B2545;
  --navy-2: #102F55;
  --navy-3: #071A31;
  --gold: #D4AF7C;
  --gold-deep: #B98A50;
  --slate: #6B7280;
  --ink: #111827;
  --paper: #F7F9FC;
  --sand: #F2EEE7;
  --white: #FFFFFF;
  --line: rgba(11, 37, 69, .12);
  --shadow: 0 24px 60px rgba(7, 26, 49, .13);
  --radius: 24px;
  --container: 1200px;
  --header-height: 76px;
  --header-height-mobile: 72px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

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

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(7, 26, 49, .985);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(247, 249, 252, .94);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 26, 49, .07);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark-wrap {
  position: relative;
  display: block;
  width: 52px;
  height: 48px;
  flex: 0 0 52px;
}

.brand-mark-wrap .brand-mark {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 48px;
  object-fit: contain;
  transition: opacity .22s ease;
}

.brand-mark-dark {
  opacity: 1;
}

.brand-mark-light {
  opacity: 0;
}

.site-header.scrolled .brand-mark-dark {
  opacity: 0;
}

.site-header.scrolled .brand-mark-light {
  opacity: 1;
}

.brand-copy {
  min-width: 132px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  line-height: 1;
}

.brand-wordmark-wrap {
  position: relative;
  display: block;
  width: 69px;
  height: 18px;
}

.brand-wordmark {
  position: absolute;
  inset: 0 auto auto 0;
  width: auto;
  height: 18px;
  transition: opacity .22s ease;
}

.brand-wordmark-dark {
  opacity: 1;
}

.brand-wordmark-light {
  opacity: 0;
}

.site-header.scrolled .brand-wordmark-dark {
  opacity: 0;
}

.site-header.scrolled .brand-wordmark-light {
  opacity: 1;
}

.brand-copy small {
  margin: 0;
  color: inherit;
  font-size: .70rem;
  line-height: 1.05;
  letter-spacing: .015em;
  opacity: .86;
  white-space: nowrap;
}

.site-header.scrolled .brand {
  color: var(--navy);
}

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

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  font-weight: 540;
  letter-spacing: .015em;
  text-decoration: none;
  text-transform: none;
}

.site-header.scrolled .site-nav a {
  color: var(--navy);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transition: right .2s ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).active::after {
  right: 0;
}

.site-nav .nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(212, 175, 124, .75);
  border-radius: 999px;
  line-height: 1.1;
}

.site-header.scrolled .site-nav .nav-cta {
  border-color: rgba(185, 138, 80, .62);
}

.site-nav .nav-cta:hover {
  background: rgba(212, 175, 124, .10);
}

.site-header.scrolled .site-nav .nav-cta:hover {
  background: rgba(212, 175, 124, .12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.scrolled .nav-toggle {
  background: rgba(11, 37, 69, .07);
}

.site-header.scrolled .nav-toggle span {
  background: var(--navy);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--navy-3);
  color: var(--white);
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 26, 49, .24) 0%,
      rgba(7, 26, 49, .01) 48%,
      rgba(7, 26, 49, .23) 100%
    );
}

.hero-intro {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
}

.hero-copy {
  max-width: var(--container);
  padding: 48px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #8E6639;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero h1 span {
  color: var(--gold);
  font-weight: 400;
}

.hero-lede {
  max-width: 820px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .80);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.mobile-tagline-wrap {
  display: none;
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(7, 26, 49, .88) 0%,
    rgba(7, 26, 49, .56) 42%,
    rgba(7, 26, 49, .16) 75%,
    transparent 100%
  );
}

.mobile-tagline {
  margin: 0;
  padding: 42px 0 16px;
  color: rgba(255, 255, 255, .98);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, .55),
    0 2px 8px rgba(0, 0, 0, .35);
}

.mobile-tagline span {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--navy-3);
  box-shadow: 0 10px 28px rgba(212, 175, 124, .2);
}

.button-gold:hover {
  background: #E1C095;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, .09);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  font-size: .76rem;
  letter-spacing: .03em;
}

/* ---------- Shared section layout ---------- */

.section {
  padding: 104px 0;
}

.section-light {
  background: var(--paper);
}

.section-ink {
  background: var(--navy-3);
  color: var(--white);
}

.section-sand {
  background: var(--sand);
}

.section-portrait {
  padding: 76px 0;
  background: linear-gradient(135deg, #0A203C 0%, #0D2A4C 100%);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.section-ink .section-heading > p:last-child {
  color: rgba(255, 255, 255, .64);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: start;
}

.section-copy .lead {
  color: #334155;
  font-size: 1.27rem;
  line-height: 1.55;
}

.section-copy p:not(.eyebrow):not(.lead) {
  color: var(--slate);
}

/* ---------- About ---------- */

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

.principle {
  padding: 22px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(7, 26, 49, .05);
}

.principle strong {
  display: block;
  color: var(--navy);
  font-size: 1.03rem;
}

.principle span {
  display: block;
  margin-top: 5px;
  color: var(--slate);
  font-size: .92rem;
}

/* ---------- Services ---------- */

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card {
  position: relative;
  padding: 28px 30px 40px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 124, .45);
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
}

.service-card h3 {
  margin: 8px 0 12px;
  font-size: 1.22rem;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
}

/* ---------- Expertise ---------- */

.expertise-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 18px;
}

.expertise-panel {
  padding: 28px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(7, 26, 49, .06);
}

.expertise-panel h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 1.12rem;
}

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

.chip-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #EDF2F7;
  color: #31445C;
  font-size: .78rem;
  font-weight: 650;
}

.clean-list,
.credential-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.credential-list li {
  display: grid;
  gap: 3px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.clean-list li:first-child,
.credential-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.clean-list strong {
  color: var(--navy);
  font-size: .9rem;
}

.clean-list span {
  color: var(--slate);
  font-size: .84rem;
}

.credential-list span {
  color: var(--slate);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.credential-list strong {
  color: var(--navy);
  font-size: .91rem;
}

/* ---------- Approach ---------- */

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

.step {
  position: relative;
  min-height: 0;
  padding: 32px 30px 48px;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 69, .10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .68);
}

.step::after {
  content: "";
  position: absolute;
  top: -35px;
  right: -35px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(212, 175, 124, .45);
  border-radius: 50%;
}

.step-index {
  color: #9C6F3F;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.step h3 {
  margin: 40px 0 12px;
  color: var(--navy);
  font-size: 1.36rem;
}

.step p {
  margin: 0;
  color: #596273;
}

/* ---------- Experience ---------- */

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

.experience-item {
  padding: 28px 30px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 26, 49, .05);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 124, .65);
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFAF3 100%);
  box-shadow: 0 18px 42px rgba(7, 26, 49, .10);
}

.experience-item h3 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: 1.22rem;
}

.experience-item p {
  margin: 0;
  color: var(--slate);
}

/* ---------- Consultant ---------- */

.profile-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.portrait-wrap {
  position: relative;
  width: 290px;
  height: 290px;
  max-width: 290px;
  justify-self: center;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(212, 175, 124, .50);
  border-radius: 26px;
}

.portrait-wrap img {
  position: relative;
  width: 290px;
  height: 290px;
  max-width: none;
  object-fit: cover;
  object-position: 50% 36%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.profile-copy {
  max-width: 760px;
}

.profile-copy h2 {
  margin-bottom: 8px;
}

.profile-role {
  margin: 0 0 24px;
  color: var(--gold);
  font-weight: 700;
}

.profile-copy p:not(.eyebrow):not(.profile-role) {
  color: rgba(255, 255, 255, .70);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.profile-actions .button-ghost {
  min-width: 150px;
}

.text-link {
  color: rgba(255, 255, 255, .86);
  text-underline-offset: 4px;
}

/* ---------- Contact ---------- */

.contact-section {
  padding: 82px 0;
  background: var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 54px;
  align-items: start;
  padding: 48px 52px;
  border-radius: 30px;
  background: linear-gradient(130deg, var(--navy-3), var(--navy-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-copy {
  padding-top: 4px;
}

.contact-card h2 {
  max-width: 560px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.contact-linkedin {
  display: inline-block;
  margin-top: 24px;
  color: rgba(255, 255, 255, .83);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 4px;
}

.contact-linkedin:hover {
  color: var(--white);
  text-decoration: underline;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
}

.contact-form label em {
  color: rgba(255, 255, 255, .48);
  font-style: normal;
  font-weight: 500;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font: inherit;
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.contact-form input {
  height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 11px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 175, 124, .75);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 3px rgba(212, 175, 124, .10);
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cf-turnstile {
  max-width: 100%;
  margin-top: 2px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
}

.form-footer .button {
  border: 0;
  cursor: pointer;
}

.form-footer .button[disabled] {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.form-status {
  min-height: 1.3em;
  margin: 0 !important;
  color: rgba(255, 255, 255, .72) !important;
  font-size: .84rem;
}

.form-status.success {
  color: #DDE9D7 !important;
}

.form-status.error {
  color: #F7CBCB !important;
}

.button-light {
  background: var(--white);
  color: var(--navy-3);
  box-shadow: 0 10px 28px rgba(7, 26, 49, .16);
}

.button-light:hover {
  background: var(--paper);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 0;
  background: #061526;
  color: rgba(255, 255, 255, .62);
}

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

.footer-brand {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  column-gap: 11px;
}

.footer-brand .footer-mark {
  width: 48px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-copy {
  min-height: 48px;
  display: grid;
  grid-template-rows: 18px auto;
  align-content: center;
  row-gap: 5px;
}

.footer-brand .footer-wordmark {
  width: auto;
  height: 18px;
  object-fit: contain;
  object-position: left center;
  align-self: start;
}

.footer-brand-copy span {
  margin: 0;
  color: rgba(255, 255, 255, .70);
  font-size: .70rem;
  line-height: 1;
  letter-spacing: .015em;
  white-space: nowrap;
}

.footer-inner p {
  margin: 0;
  font-size: .90rem;
  line-height: 1.25;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 1120px) {
  .hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-layout {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-panel:last-child {
    grid-column: 1 / -1;
  }

  .split {
    gap: 44px;
  }

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

  .profile-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 44px;
  }

  .portrait-wrap,
  .portrait-wrap img {
    width: 250px;
    height: 250px;
    max-width: 250px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

/* Mobile navigation starts at 900 CSS px.
   Image choice is handled separately by orientation. */
@media (max-width: 900px) {
  .nav-wrap {
    min-height: var(--header-height-mobile);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height-mobile);
    right: 16px;
    left: auto;
    width: max-content;
    max-width: calc(100vw - 32px);
    display: grid;
    grid-template-columns: repeat(2, minmax(118px, max-content));
    gap: 4px 8px;
    padding: 8px;
    border: 1px solid rgba(11, 37, 69, .08);
    border-radius: 16px;
    background: rgba(247, 249, 252, .985);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a,
  .site-header:not(.scrolled) .site-nav a {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 7px 10px;
    color: var(--navy);
    font-size: .91rem;
    font-weight: 560;
    line-height: 1.15;
    white-space: nowrap;
  }

  .site-nav a::after {
    display: none !important;
  }

  .site-nav .nav-cta {
    margin: 0;
    justify-content: center;
    border-color: rgba(185, 138, 80, .48);
  }

  .hero {
    padding-top: var(--header-height-mobile);
  }

  .hero h1 {
    white-space: normal;
  }

  .split,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .expertise-panel:last-child {
    grid-column: auto;
  }

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

  .portrait-wrap,
  .portrait-wrap img {
    width: min(72vw, 260px);
    height: min(72vw, 260px);
    max-width: 260px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Portrait phones/tablets use the dedicated 4:3 crop and show the tagline as HTML. */
@media (max-width: 600px) and (orientation: portrait) {
  .hero-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(7, 26, 49, .08),
        rgba(7, 26, 49, .02) 55%,
        rgba(7, 26, 49, .24)
      );
  }

  .mobile-tagline-wrap {
    display: block;
  }
}

/* Landscape phones/tablets use the full panoramic 4:1 hero. */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-visual {
    aspect-ratio: 4 / 1;
    min-height: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .mobile-tagline-wrap {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .brand-mark-wrap {
    flex-basis: 48px;
  }

  .brand-copy {
    min-width: 76px;
    height: 44px;
  }

  .brand-wordmark-wrap {
    width: 62px;
    height: 16px;
  }

  .brand-wordmark {
    height: 16px;
  }

  .hero-copy {
    padding: 42px 0 48px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .section {
    padding: 82px 0;
  }

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

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

  .contact-card {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .button {
    width: 100%;
  }

  .site-footer {
    padding: 10px 0;
  }

  .footer-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-brand {
    grid-template-columns: 45px auto;
    column-gap: 10px;
  }

  .footer-brand .footer-mark {
    width: 45px;
    height: 41px;
  }

  .footer-brand-copy {
    min-height: 41px;
    grid-template-rows: 16px auto;
    row-gap: 3px;
  }

  .footer-brand .footer-wordmark {
    height: 16px;
  }

  .footer-brand-copy span {
    font-size: .67rem;
  }

  .footer-inner p {
    font-size: .84rem;
  }
}

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

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

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

  .hero-image {
    transform: none !important;
  }
}
