:root {
  --ink: #20342c;
  --muted: #65716b;
  --green: #1f5a43;
  --green-dark: #163c30;
  --gold: #caa426;
  --paper: #fffdf9;
  --stone: #e9e6df;
  --soft: #f4f1eb;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Avenir Next, Avenir, Helvetica Neue, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
blockquote,
ul {
  margin: 0;
}

.site-header {
  align-items: center;
  background: rgb(255 253 249 / 88%);
  border-bottom: 1px solid rgb(32 52 44 / 12%);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(150px, 220px) 1fr 38px;
  left: 0;
  min-height: 72px;
  padding: 13px clamp(18px, 4.8vw, 60px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.logo-link img {
  height: auto;
  width: clamp(138px, 14vw, 172px);
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  justify-content: center;
  overflow-x: auto;
  white-space: nowrap;
}

.main-nav a,
.linkedin-link {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.main-nav a {
  letter-spacing: 0;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
}

.linkedin-link {
  align-items: center;
  background: var(--ink);
  border-radius: 4px;
  color: white;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  justify-self: end;
  line-height: 1;
  text-transform: none;
  width: 28px;
}

.hero {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  min-height: 100svh;
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 60px) 72px;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgb(14 36 29 / 44%) 0%, rgb(14 36 29 / 18%) 42%, rgb(14 36 29 / 48%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 20%), rgb(0 0 0 / 0%) 45%);
  content: '';
  inset: 0;
  position: absolute;
  z-index: 1;
}

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

.hero-copy {
  color: white;
  background: rgb(14 36 29 / 68%);
  max-width: min(470px, 40vw);
  padding: clamp(24px, 3.4vw, 38px);
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1,
section h2 {
  font-family: Georgia, Times New Roman, serif;
  font-weight: 400;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.45rem, 4.8vw, 4.7rem);
}

.rule,
.section-rule {
  background: currentColor;
  height: 1px;
  opacity: 0.72;
}

.rule {
  margin: 25px 0 28px;
  width: min(100%, 380px);
}

.hero-copy p:not(.eyebrow) {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  max-width: 420px;
}

.hero-contact {
  border: 1px solid rgb(255 255 255 / 82%);
  display: inline-block;
  font-size: 0.82rem;
  margin-top: 28px;
  padding: 13px 18px;
}

.hero-contact:hover,
.hero-contact:focus-visible {
  background: white;
  color: var(--green-dark);
}

.intro-section,
.experience-section,
.education-section,
.testimonials-section,
.services-detail {
  padding: clamp(76px, 11vw, 128px) clamp(22px, 5vw, 60px);
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(36px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.9fr);
  margin: 0 auto;
  max-width: 1180px;
}

.split.reverse {
  align-items: start;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1fr);
}

section h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-rule {
  margin: 26px 0 32px;
  width: min(100%, 520px);
}

.intro-section p,
.experience-section p,
.education-section p,
.service-block p {
  color: var(--muted);
  font-size: 1.01rem;
  margin-top: 18px;
}

.image-panel {
  margin: 0;
}

.image-panel img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.intro-section .image-panel img {
  aspect-ratio: 4 / 3;
  object-position: 58% center;
}

.image-panel.portrait img {
  aspect-ratio: 3 / 4;
  object-position: 50% 20%;
}

.service-band {
  background:
    linear-gradient(90deg, rgb(22 60 48 / 88%), rgb(31 90 67 / 76%)),
    url('/images/kamilla-moderator-wide.jpg') center / cover;
  color: white;
  padding: clamp(58px, 8vw, 88px) clamp(22px, 5vw, 60px);
}

.service-band-inner {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 82px);
  grid-template-columns: 0.55fr 1fr;
  margin: 0 auto;
  max-width: 1180px;
}

.service-band h2 {
  color: white;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
}

.service-band ul {
  border-left: 1px solid rgb(255 255 255 / 56%);
  list-style: none;
  padding: 8px 0 8px clamp(24px, 6vw, 88px);
}

.service-band li + li {
  margin-top: 9px;
}

.service-band a {
  display: inline-flex;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  gap: 14px;
}

.service-band a::before {
  content: '→';
  color: var(--gold);
}

.services-detail {
  margin: 0 auto;
  max-width: 1180px;
}

.service-block {
  border-top: 1px solid var(--stone);
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: 88px minmax(0, 1fr);
  padding: clamp(46px, 7vw, 78px) 0;
}

.service-block:last-child {
  border-bottom: 1px solid var(--stone);
}

.service-number {
  color: var(--gold);
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.service-block h2 {
  max-width: 850px;
}

.service-block p {
  max-width: 860px;
}

.quote-section {
  align-items: center;
  color: white;
  display: grid;
  justify-items: end;
  min-height: 74svh;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) clamp(22px, 5vw, 60px);
  position: relative;
}

.quote-section::after {
  background:
    linear-gradient(90deg, rgb(14 36 29 / 44%) 0%, rgb(14 36 29 / 18%) 48%, rgb(14 36 29 / 56%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 18%), rgb(0 0 0 / 0%) 48%);
  content: '';
  inset: 0;
  position: absolute;
  z-index: 1;
}

.quote-section img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 43% center;
  position: absolute;
  width: 100%;
}

.quote-section blockquote {
  background: rgb(14 36 29 / 68%);
  max-width: min(520px, 39vw);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  z-index: 2;
}

.quote-section p {
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(1rem, 1.32vw, 1.34rem);
  line-height: 1.42;
}

.quote-section p + p {
  margin-top: 20px;
}

cite {
  display: block;
  font-style: normal;
  margin-top: 18px;
}

.experience-section {
  background: var(--soft);
}

.experience-section h3 {
  color: var(--green-dark);
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 400;
  margin: 42px 0 18px;
}

.assignment-list {
  color: var(--muted);
  list-style: none;
  padding: 0;
}

.assignment-list li {
  border-top: 1px solid rgb(32 52 44 / 14%);
  padding: 14px 0;
}

.assignment-title,
.assignment-detail {
  display: block;
}

.assignment-title {
  color: var(--ink);
  font-weight: 600;
}

.assignment-detail {
  margin-top: 3px;
}

.education-section {
  display: grid;
  gap: clamp(32px, 6vw, 70px);
  grid-template-columns: minmax(260px, 0.42fr) 1fr;
  margin: 0 auto;
  max-width: 1180px;
}

.proof-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.proof-grid img:nth-child(2) {
  object-position: 42% 45%;
}

.proof-grid img:nth-child(4) {
  object-position: 25% center;
}

.testimonials-section {
  background: var(--green-dark);
  color: white;
}

.testimonials-section > .section-kicker,
.testimonials-section > h2,
.testimonials-section > .section-rule,
.testimonial-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.testimonials-section h2 {
  color: var(--gold);
}

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

.testimonial-grid blockquote {
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  padding: 26px;
}

.testimonial-grid p {
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.45;
}

.testimonial-grid cite {
  color: rgb(255 255 255 / 72%);
  font-size: 0.9rem;
}

.site-footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 56px 22px 68px;
  text-align: center;
}

.site-footer img {
  width: min(280px, 74vw);
}

.footer-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
}

.footer-links a {
  border-bottom: 1px solid rgb(31 90 67 / 22%);
  padding-bottom: 3px;
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
    grid-template-columns: 1fr auto;
    padding: 12px 20px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
    padding-bottom: 3px;
  }

  .hero {
    align-items: end;
    justify-content: flex-start;
    min-height: 92svh;
    padding-top: 140px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgb(14 36 29 / 82%) 0%, rgb(14 36 29 / 58%) 35%, rgb(14 36 29 / 12%) 72%),
      linear-gradient(90deg, rgb(14 36 29 / 16%), rgb(14 36 29 / 0%));
  }

  .hero-image {
    object-position: 45% top;
  }

  .hero-copy {
    max-width: min(100%, 520px);
  }

  .split,
  .split.reverse,
  .education-section,
  .service-band-inner {
    grid-template-columns: 1fr;
  }

  .split.reverse .image-panel {
    order: 2;
  }

  .service-band ul {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 56%);
    padding: 24px 0 0;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  html {
    scroll-padding-top: 116px;
  }

  .site-header {
    background: rgb(255 253 249 / 92%);
  }

  .main-nav a {
    font-size: 0.7rem;
  }

  .hero {
    background: var(--green-dark);
    display: block;
    min-height: auto;
    padding: 0;
    padding-top: 114px;
  }

  .hero::after {
    display: none;
  }

  .hero-image {
    height: clamp(360px, 58svh, 520px);
    object-position: 42% top;
    position: relative;
  }

  .hero-copy {
    background: var(--green-dark);
    max-width: none;
    padding: 28px 22px 36px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 14vw, 3.35rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .hero-contact {
    font-size: 0.76rem;
    text-align: center;
    width: 100%;
  }

  .image-panel img {
    aspect-ratio: 4 / 3;
  }

  .image-panel.portrait img {
    aspect-ratio: 3 / 4;
    object-position: 50% 18%;
  }

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

  .education-section {
    padding-bottom: 56px;
  }

  .proof-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .proof-grid img {
    aspect-ratio: 4 / 3;
    background: var(--stone);
    height: auto;
    max-width: none;
    object-fit: cover;
    scroll-snap-align: unset;
    width: 100%;
  }

  .proof-grid img:nth-child(1) {
    object-position: 63% center;
  }

  .proof-grid img:nth-child(2) {
    object-position: 48% center;
  }

  .proof-grid img:nth-child(3) {
    object-position: 52% center;
  }

  .proof-grid img:nth-child(4) {
    object-position: 22% center;
  }

  .quote-section {
    background: var(--green-dark);
    display: block;
    min-height: auto;
    padding: 0;
  }

  .quote-section::after {
    display: none;
  }

  .quote-section img {
    height: clamp(300px, 58svh, 470px);
    object-position: 37% center;
    position: relative;
  }

  .quote-section blockquote {
    background: var(--green-dark);
    max-width: none;
    padding: 32px 22px 46px;
  }

  .quote-section p {
    font-size: clamp(1rem, 4.9vw, 1.16rem);
    line-height: 1.45;
  }
}
