@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #101820;
  --blue: #0758a7;
  --teal: #078da2;
  --yellow: #ffdc58;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #fff;
  background-image: linear-gradient(180deg, rgba(0,132,157,.96) 0%, rgba(19,158,179,.88) 39%, rgba(174,225,230,.86) 70%, rgba(255,255,255,.99) 100%), url("assets/background.jpg");
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Fine roof lines suggest the softly visible office in the reference. */
.hero__wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .14;
  background:
    linear-gradient(155deg, transparent 0 16%, rgba(255,255,255,.25) 16.1% 16.5%, transparent 16.6% 33%, rgba(0,74,103,.24) 33.1% 33.6%, transparent 33.7%),
    linear-gradient(25deg, transparent 0 70%, rgba(255,255,255,.2) 70.1% 70.6%, transparent 70.7%),
    repeating-linear-gradient(0deg, transparent 0 135px, rgba(255,255,255,.12) 136px 138px, transparent 139px 270px);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hero__inner {
  width: 100%;
  min-height: 100svh;
  padding-inline: max(32px, calc((100vw - 1540px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, .86fr);
  align-items: stretch;
  position: relative;
}

.hero__content {
  padding: clamp(20px, 5vw, 54px) 0 54px;
  z-index: 1;
  width: min(40vw, 760px);
  max-width: 760px;
}

.brand { display: inline-flex; text-decoration: none; margin-bottom: clamp(20px, 3vw, 38px); }

.brand__logo {
  display: block;
  width: 86px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 2px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 3px 12px rgba(0, 47, 68, .16);
  object-fit: cover;
}

.eyebrow {
  display: none;
  margin: 0 0 8px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.8vw, 7rem);
  white-space: nowrap;
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0 0 16px;
  font-weight: 600;
}

.intro__role {
  color: rgba(255,255,255,.97);
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.7rem);
  line-height: 1.4;
  white-space: nowrap;
}

.expertise {
  display: inline-block;
  max-width: 100%;
  margin: 30px 0 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: #b7dcf7;
  color: #0756a2;
  font-size: clamp(.88rem, 1.5vw, 1.2rem);
  line-height: 1.45;
}

.bio {
  max-width: 100%;
  margin-top: clamp(25px, 4vw, 50px);
  font-size: clamp(1rem, 1.55vw, 1.38rem);
  line-height: 1.57;
}

.bio p { margin: 0 0 1.55em; }
.bio p:last-child { margin-bottom: 0; }
.bio strong { font-weight: 700; }

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 38px 0 0 -4px; }

.button {
  min-height: 56px;
  padding: 12px 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--yellow);
  border-radius: 999px;
  color: var(--blue);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  transition: transform .18s ease, background-color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .brand:focus-visible { outline: 3px solid #083b78; outline-offset: 4px; }
.button--primary { background: var(--yellow); }
.button--outline { background: rgba(255,255,255,.75); font-weight: 500; }

.portrait {
  position: absolute;
  z-index: 2;
  top: 8%;
  right: -3%;
  bottom: 0;
  width: min(48vw, 800px);
  height: 92%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.portrait img {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.about { padding: 30px 24px; text-align: center; background: #fff; color: #315064; }
.about p { margin: 0; }

@media (min-width: 1500px) {
  .eyebrow { display: block; }
}

@media (min-width: 1101px) and (max-width: 1500px) {
  .hero__content { width: auto; max-width: 760px; }
  h1 { font-size: clamp(3.5rem, 5.5vw, 5.2rem); white-space: nowrap; }
  .portrait { top: 8%; right: -3%; width: 38%; height: 92%; }
}

@media (max-width: 1100px) {
  .hero { min-height: auto; }
  .hero__inner {
    width: 100%;
    min-height: 0;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
  }
  .hero__content { width: auto; max-width: none; padding: 26px 22px 38px; }
  .brand { margin-bottom: 22px; }
  .brand__logo { width: 62px; }
  h1 { font-size: clamp(2.2rem, 11vw, 4rem); white-space: nowrap; margin-bottom: 10px; }
  .intro__role { max-width: none; }
  .expertise { margin-top: 22px; border-radius: 22px; }
  .bio { margin-top: 28px; font-size: 1rem; line-height: 1.6; }
  .bio p { margin-bottom: 1.1em; }
  .actions { margin-top: 26px; gap: 12px; }
  .button { min-height: 50px; padding: 10px 20px; font-size: 1rem; }
  .portrait {
    position: relative;
    order: 0;
    inset: auto;
    display: flex;
    justify-content: center;
    width: 100%;
    height: clamp(230px, 56vw, 350px);
    margin: 18px auto 24px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .portrait img {
    position: static;
    right: auto;
    left: auto;
    width: auto;
    max-width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }
  .hero { background-size: cover, auto 620px; background-position: center, center top; }
  .about { padding: 24px 20px; font-size: .92rem; }
}

@media (max-width: 390px) {
  .hero__content { padding-inline: 18px; }
  .expertise { padding: 10px 14px; font-size: .82rem; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
