@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(32px, 5vw, 74px) 0 54px;
  z-index: 1;
  max-width: 810px;
}

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

.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(3.6rem, 8vw, 7rem);
  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(1.05rem, 2vw, 1.65rem);
  line-height: 1.4;
}

.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: 760px;
  margin-top: clamp(32px, 4vw, 62px);
  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: 4%;
  right: -5%;
  bottom: 0;
  width: min(60vw, 1000px);
  height: 96%;
  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 (max-width: 760px) {
  .hero { min-height: auto; }
  .hero__inner {
    width: 100%;
    min-height: 0;
    padding-inline: 0;
    display: flex;
    flex-direction: column;
  }
  .hero__content { padding: 26px 22px 38px; }
  .brand { margin-bottom: 22px; }
  .brand__logo { width: 62px; }
  h1 { font-size: clamp(3.2rem, 15vw, 5.3rem); margin-bottom: 10px; }
  .intro__role { max-width: 38ch; }
  .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: -1;
    inset: auto;
    width: 100%;
    height: clamp(300px, 88vw, 470px);
    top: auto;
    margin-bottom: -10px;
    -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  }
  .portrait img { right: auto; left: 50%; width: 100%; height: 100%; transform: translateX(-50%); }
  .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; }
}
