:root {
  color-scheme: light;
  --paper: #f3efe6;
  --paper-2: #e4ded1;
  --ink: #1b2421;
  --muted: #65706b;
  --line: #d2c9bb;
  --green: #21332d;
  --green-2: #4e685a;
  --rust: #a65336;
  --blue: #2f6374;
  --moss: #7c8a60;
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(35, 51, 45, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 240, 232, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(35, 51, 45, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.language-switch a,
.language-switch span {
  display: grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  border-radius: 4px;
}

.language-switch span {
  background: var(--white);
  color: var(--green);
}

.site-header.is-scrolled .language-switch span {
  background: var(--green);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(27, 36, 33, 0.88) 0%, rgba(27, 36, 33, 0.74) 37%, rgba(27, 36, 33, 0.12) 72%),
    linear-gradient(180deg, rgba(27, 36, 33, 0.18), rgba(27, 36, 33, 0.42));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 43%;
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 92px) clamp(82px, 11vh, 132px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b38d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 740px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 13vw, 10.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 750;
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

.button.secondary {
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
}

.section,
.intro,
.contact {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 6vw, 80px);
}

.band {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 7vw, 92px);
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.facts {
  display: grid;
  gap: 20px;
  margin: 0;
}

.facts div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 1.04rem;
  font-weight: 650;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 36px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

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

.case-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.case-meta {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card h3,
.timeline h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.case-card p,
.timeline p,
.value-grid p,
.credential-list p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.case-card ul {
  margin: 26px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.case-card li + li {
  margin-top: 8px;
}

.quote-band {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 6vw, 80px);
  background: var(--green);
  color: var(--white);
}

.quote-band blockquote {
  max-width: 980px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.05;
}

.experience {
  background: var(--paper-2);
}

.values {
  background: var(--paper);
}

.value-grid,
.credential-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-grid article,
.credential-list article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.value-grid h3,
.credential-list h3 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

.credential-list span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.credentials {
  background: var(--white);
}

.timeline {
  max-width: 1040px;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(20px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.timeline time {
  color: var(--rust);
  font-weight: 800;
}

.timeline h3 {
  margin-top: 0;
}

.notes-list {
  max-width: 980px;
  border-top: 1px solid var(--line);
}

.notes-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.notes-list span {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.notes-list time {
  color: var(--muted);
  white-space: nowrap;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
  background: var(--white);
}

.contact-panel {
  border-left: 4px solid var(--rust);
  padding-left: 24px;
}

.contact-panel .button {
  margin-top: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 80px);
  background: var(--green);
  color: rgba(255, 253, 248, 0.78);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    min-height: 88svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(27, 36, 33, 0.38) 0%, rgba(27, 36, 33, 0.84) 63%, rgba(27, 36, 33, 0.94) 100%);
  }

  .hero-media img {
    object-position: 64% 30%;
  }

  .intro-grid,
  .case-grid,
  .value-grid,
  .credential-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    color: var(--white);
  }

  .site-header.is-scrolled {
    background: transparent;
    color: var(--white);
    box-shadow: none;
    backdrop-filter: none;
  }

  .brand span:last-child {
    display: none;
  }

  .nav {
    width: min-content;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 6px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-bottom: 58px;
  }

  .hero-media img {
    object-position: 57% 28%;
  }

  .button {
    width: 100%;
  }

  .notes-list a,
  .site-footer {
    display: block;
  }

  .notes-list time,
  .site-footer span + span {
    display: block;
    margin-top: 6px;
  }
}
