:root {
  --background: #dddbd7;
  --surface: #f4f2ee;
  --surface-light: #f9f8f5;
  --text: #4f624b;
  --text-soft: #687563;
  --accent: #006cb6;
  --accent-dark: #00568f;
  --line: rgba(79, 98, 75, 0.18);
  --shadow: 0 24px 70px rgba(57, 69, 54, 0.12);
  --radius-lg: 2rem;
  --radius-md: 1.4rem;
  --page: min(1180px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header,
.hero,
.flyer,
.contact {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  width: 5.6rem;
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.32rem rgba(0, 108, 182, 0.12);
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: clamp(1.5rem, 3.2vw, 3.8rem);
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.hero__copy {
  position: relative;
  z-index: 4;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.8rem;
  font-size: clamp(2.9rem, 5.7vw, 5.7rem);
  letter-spacing: -0.047em;
}

h1 em {
  color: var(--accent);
  font-style: italic;
  white-space: nowrap;
}

.lead {
  max-width: 630px;
  margin-bottom: 1rem;
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
}

.hero__copy > p:not(.eyebrow) {
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.3rem;
  padding: 0.9rem 1.2rem 0.9rem 1.35rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 108, 182, 0.18);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button span {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: 0 16px 34px rgba(0, 86, 143, 0.22);
  transform: translateY(-2px);
}

.button:focus-visible,
.flyer__download:focus-visible,
.mail-link:focus-visible,
.site-logo:focus-visible {
  outline: 3px solid rgba(0, 108, 182, 0.38);
  outline-offset: 4px;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 650px;
  margin: 0;
  place-items: center;
}

.hero__halo {
  position: absolute;
  inset: 2% -3% 6%;
  border-radius: 50% 46% 52% 48% / 48% 55% 45% 52%;
  background: rgba(244, 242, 238, 0.72);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  opacity: 0.72;
}

.hero__visual::before {
  top: 9%;
  right: -1%;
  width: 0.7rem;
  height: 0.7rem;
}

.hero__visual::after {
  bottom: 19%;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: min(112%, 650px);
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 26px 20px rgba(52, 65, 49, 0.17));
  transform: translateX(4%);
}

.hero__visual figcaption {
  position: absolute;
  z-index: 3;
  right: -0.6rem;
  bottom: 0.6rem;
  max-width: 230px;
  padding: 0.82rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(244, 242, 238, 0.9);
  box-shadow: 0 10px 30px rgba(56, 68, 54, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.35;
}

.flyer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  margin-bottom: clamp(2.4rem, 5vw, 4.5rem);
  padding: clamp(2rem, 4.4vw, 3.5rem) clamp(1.6rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--text);
  box-shadow: var(--shadow);
  color: #fff;
}

.flyer::after {
  position: absolute;
  top: -7rem;
  right: 18%;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.flyer__copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.flyer .eyebrow {
  margin-bottom: 0.7rem;
  color: #8fc9ed;
}

.flyer h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  letter-spacing: -0.03em;
}

.flyer__copy > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.flyer__download {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 245px;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(25, 34, 24, 0.22);
  color: var(--accent);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.flyer__download:hover {
  box-shadow: 0 18px 38px rgba(25, 34, 24, 0.28);
  transform: translateY(-2px);
}

.flyer__download-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 108, 182, 0.1);
  font-size: 1.25rem;
  font-weight: 800;
}

.flyer__download > span:last-child {
  display: grid;
  line-height: 1.25;
}

.flyer__download strong {
  font-size: 0.92rem;
}

.flyer__download small {
  margin-top: 0.2rem;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 650;
}

.contact {
  margin-bottom: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.2rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact__intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact__intro .eyebrow {
  grid-column: 1 / -1;
}

.contact__intro h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.15rem);
  letter-spacing: -0.035em;
}

.contact__intro > p:last-child {
  margin-bottom: 0.4rem;
  color: var(--text-soft);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.person {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(145px, 0.7fr) minmax(0, 1.3fr);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-light);
  box-shadow: 0 12px 40px rgba(66, 78, 62, 0.08);
}

.person__photo {
  display: grid;
  min-height: 265px;
  place-items: center;
  padding: clamp(1rem, 2.3vw, 1.6rem);
  background: #e3e1dc;
}

.person__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 32px rgba(57, 69, 54, 0.14);
  object-fit: contain;
}

.person__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.person__label {
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.person h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -0.025em;
}

.person__role {
  margin-bottom: 1.35rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mail-link {
  display: inline-flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--accent);
  font-size: clamp(0.73rem, 1vw, 0.84rem);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.mail-link:hover span:last-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.mail-link__icon {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 108, 182, 0.1);
  font-size: 0.76rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-inline: auto;
  padding: 1.35rem 0 1.7rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__inner a {
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.site-footer__inner a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer__inner a:focus-visible {
  outline: 3px solid rgba(0, 108, 182, 0.38);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 5rem;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero__visual img {
    width: min(100%, 610px);
    max-height: 560px;
    transform: none;
  }

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

  .contact__intro > p:last-child {
    max-width: 520px;
    margin-top: 1rem;
  }

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

  .person {
    grid-template-columns: minmax(190px, 0.72fr) 1.28fr;
  }
}

@media (max-width: 620px) {
  :root {
    --page: min(100% - 1.4rem, 1180px);
    --radius-lg: 1.35rem;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 1.15rem;
  }

  .site-logo img {
    width: 4.6rem;
  }

  .status {
    max-width: 130px;
    justify-content: flex-end;
    padding-top: 0.35rem;
    font-size: 0.62rem;
    line-height: 1.35;
    text-align: right;
  }

  .hero {
    gap: 0.75rem;
    padding-top: 3.4rem;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  h1 em {
    white-space: normal;
  }

  .hero__visual {
    min-height: 390px;
  }

  .hero__visual img {
    max-height: 390px;
  }

  .hero__visual figcaption {
    right: 0.35rem;
    bottom: 0.3rem;
    max-width: 185px;
    font-size: 0.78rem;
  }

  .flyer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.35rem;
  }

  .flyer__download {
    min-width: 0;
    width: 100%;
  }

  .contact {
    padding: 2rem 0.9rem 0.9rem;
  }

  .contact__intro {
    margin-inline: 0.5rem;
    padding-bottom: 1.5rem;
  }

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

  .person__photo {
    min-height: 0;
    padding: 1.6rem 3rem 0;
  }

  .person__details {
    padding: 1.6rem 1.35rem 1.8rem;
  }

  .mail-link {
    font-size: 0.78rem;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
