:root {
  --navy: #0b1726;
  --navy-soft: #14263a;
  --ink: #172437;
  --muted: #5d6877;
  --ivory: #f5f1e8;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --teal: #0a756d;
  --teal-dark: #075b55;
  --teal-pale: #dcecea;
  --line: #d9dfe1;
  --line-dark: rgb(255 255 255 / 18%);
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 26px 70px rgb(11 23 38 / 12%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Avenir Next", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 600;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.25;
}

:focus-visible {
  outline: 3px solid #2eb5aa;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  background: rgb(251 250 246 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--navy);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand span {
  color: var(--teal);
}

nav {
  display: flex;
  gap: 26px;
  justify-content: center;
}

nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible {
  color: var(--teal);
}

.header-cta {
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--teal-dark);
}

.hero,
.proof-strip,
.section,
.contact,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.72fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
  min-height: 710px;
  padding: 92px 0 84px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #8ed8d2;
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 650;
  line-height: 1.36;
}

.hero-detail {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease,
    border-color 160ms ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.portrait-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
}

.portrait-frame::before {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 58%;
  height: 64%;
  background: var(--teal-pale);
  border-radius: 28px;
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgb(11 23 38 / 10%);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.portrait-frame figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
  padding: 7px 12px;
  color: var(--white);
  background: rgb(11 23 38 / 82%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  backdrop-filter: blur(8px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--white);
  background: var(--navy);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgb(11 23 38 / 15%);
}

.proof-item {
  min-width: 0;
  padding: 32px 36px;
  border-right: 1px solid var(--line-dark);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 7px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.1;
}

.proof-item span {
  color: rgb(255 255 255 / 70%);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section {
  padding: 128px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 64px;
}

.section-intro > p {
  max-width: 510px;
  margin-bottom: 3px;
  color: var(--muted);
}

.section-intro-compact {
  margin-bottom: 46px;
}

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

.expertise-card {
  min-width: 0;
  padding: 32px 26px 38px;
  border-right: 1px solid var(--line);
}

.expertise-card:first-child {
  padding-left: 0;
}

.expertise-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.card-number {
  display: block;
  margin-bottom: 54px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.expertise-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.experience {
  position: relative;
}

.experience::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-right: -50vw;
  margin-left: -50vw;
  background: var(--ivory);
  content: "";
}

.timeline {
  border-top: 1px solid #cbd2d4;
}

.role {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 72px;
  padding: 40px 0 44px;
  border-bottom: 1px solid #cbd2d4;
}

.role-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.role-content {
  max-width: 760px;
}

.role-company {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-content h3 {
  margin-bottom: 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
}

.role-content > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-study {
  display: flex;
  min-height: 355px;
  padding: 28px;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgb(11 23 38 / 5%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-study:hover {
  border-color: #a7c7c3;
  box-shadow: 0 22px 50px rgb(11 23 38 / 9%);
  transform: translateY(-5px);
}

.case-study-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 72px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-study h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  font-weight: 600;
}

.case-study > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.case-study .case-study-outcome {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 20px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  font-weight: 750;
}

.recognition {
  padding-top: 86px;
}

.recognition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.72fr);
  gap: 70px;
  align-items: start;
}

.achievement-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.achievement-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.achievement-rank {
  color: var(--navy);
  font-weight: 850;
}

.inline-link {
  display: inline-block;
  margin-left: 5px;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.media-panel {
  position: sticky;
  top: 110px;
  padding: 34px;
  color: var(--white);
  background: var(--navy);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.media-panel h3 {
  margin-bottom: 30px;
  color: var(--white);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
}

.media-panel > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.media-panel > a:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.media-panel > a:hover,
.media-panel > a:focus-visible {
  color: #9ce2dd;
}

.media-panel small {
  display: block;
  margin-bottom: 4px;
  color: rgb(255 255 255 / 55%);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  padding: 70px 0 110px;
}

.contact-panel {
  padding: clamp(54px, 8vw, 96px) clamp(28px, 8vw, 100px);
  color: var(--white);
  background: var(--navy-soft);
  border-radius: 28px;
  text-align: center;
}

.contact-panel h2 {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  color: var(--white);
}

.contact-panel > p {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: rgb(255 255 255 / 70%);
}

.actions-centered {
  justify-content: center;
}

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

.button-light:hover,
.button-light:focus-visible {
  color: var(--teal-dark);
  background: #eefbf9;
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgb(255 255 255 / 46%);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  border-color: var(--white);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-cta {
    display: none;
  }

  nav {
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.75fr);
    gap: 46px;
  }

  .section-intro {
    gap: 40px;
  }

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

  .expertise-card,
  .expertise-card:first-child,
  .expertise-card:last-child {
    padding: 30px;
    border-right: 1px solid var(--line);
  }

  .expertise-card:nth-child(2n) {
    border-right: 0;
  }

  .expertise-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .card-number {
    margin-bottom: 34px;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study {
    min-height: 290px;
  }

  .case-study-topline {
    margin-bottom: 44px;
  }

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

  .media-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  html {
    scroll-padding-top: 120px;
  }

  .site-header {
    display: flex;
    min-height: auto;
    padding: 14px 0 12px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  nav {
    order: 3;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  nav a {
    font-size: 0.66rem;
  }

  .hero,
  .proof-strip,
  .section,
  .contact,
  footer,
  .site-header {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
    padding: 70px 0 72px;
  }

  h1 {
    font-size: clamp(4.1rem, 19vw, 6rem);
  }

  .portrait-frame {
    width: min(100%, 400px);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    padding: 26px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 92px 0;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 44px;
  }

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

  .expertise-card,
  .expertise-card:first-child,
  .expertise-card:last-child,
  .expertise-card:nth-child(2n) {
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .expertise-card:last-child {
    border-bottom: 0;
  }

  .card-number {
    margin-bottom: 22px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0;
  }

  .role-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .role-meta span:last-child {
    text-align: right;
  }

  .achievement-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .media-panel {
    padding: 28px;
  }

  .contact {
    padding: 36px 0 84px;
  }

  .contact-panel {
    border-radius: 22px;
  }

  footer {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 460px) {
  nav a {
    font-size: 0.61rem;
    letter-spacing: 0.035em;
  }

  .hero-intro {
    font-size: 1.24rem;
  }

  .button {
    width: 100%;
  }

  .portrait-frame::before {
    right: -10px;
    bottom: -10px;
  }

  .case-study {
    min-height: 325px;
    padding: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
