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

:root {
  --paper: #deded9;
  --paper-deep: #d9d9d4;
  --cream: #f8f7f3;
  --white: #ffffff;
  --ink: #080806;
  --navy: #223858;
  --navy-soft: rgba(34, 56, 88, 0.75);
  --border: rgba(34, 56, 88, 0.58);
  --shadow: 0 24px 70px rgba(9, 19, 34, 0.10);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --max: 1840px;
  --gutter: clamp(1.35rem, 4vw, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--gutter) 1.35rem;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-page .site-header {
  position: relative;
}

.brand {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.65rem);
  font-size: 0.94rem;
}

.primary-nav a {
  position: relative;
  padding-bottom: 0.25rem;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-family: var(--body);
  padding: 0.55rem 1rem;
}

main {
  overflow: hidden;
}

.shell {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.hero-shell {
  padding-bottom: clamp(4rem, 7vw, 6.8rem);
}

.hero-card {
  position: relative;
  min-height: clamp(520px, 63vw, 940px);
  overflow: hidden;
  background: #161616;
  box-shadow: var(--shadow);
}

.hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.22)), rgba(0, 0, 0, 0.22);
}

.hero-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: #f4f1eb;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 7.1rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.intro-section {
  background: var(--white);
  padding: clamp(4rem, 7vw, 7.8rem) var(--gutter);
}

.split {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.copy-narrow {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--navy-soft);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.display-heading {
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.1vw, 7.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.page-heading {
  font-family: var(--display);
  font-size: clamp(4rem, 7.5vw, 8.1rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin-bottom: clamp(2rem, 3.2vw, 3rem);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.4vw, 4.7rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.055em;
  color: var(--navy);
}

.body-large {
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  line-height: 1.75;
}

.copy-narrow p,
.rich-copy p {
  margin-bottom: 1.45rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 240px;
  min-height: 70px;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.96rem;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #182b46;
  box-shadow: 0 15px 30px rgba(34, 56, 88, 0.22);
}

.image-frame {
  margin: 0;
  overflow: hidden;
  background: #d8d8d2;
}

.image-frame img {
  width: 100%;
  height: clamp(560px, 66vw, 1100px);
  object-fit: cover;
}

.panel {
  background: var(--paper);
  padding: clamp(5rem, 7vw, 8rem) var(--gutter);
}

.about-intro {
  padding-top: clamp(3.8rem, 6vw, 6.4rem);
}

.about-intro .split {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1fr);
  align-items: start;
}

.about-intro .copy-narrow {
  padding-top: clamp(0.5rem, 4vw, 3rem);
  max-width: 760px;
}

.about-intro .image-frame img {
  height: clamp(640px, 64vw, 995px);
}

.criteria {
  background: var(--white);
  padding: clamp(5.5rem, 8vw, 9rem) var(--gutter) clamp(5rem, 8vw, 8rem);
}

.criteria-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.criteria .section-title {
  text-align: center;
  margin-bottom: clamp(3.5rem, 6vw, 6.5rem);
}

.criteria-list {
  display: grid;
  gap: 0;
}

.criteria-row {
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.8fr) minmax(320px, 1.55fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3.3rem) 0;
  border-top: 1px solid var(--border);
  color: var(--navy);
}

.criteria-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.criteria-number,
.criteria-name {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.criteria-number {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.criteria-name {
  font-size: clamp(2rem, 2.8vw, 3.25rem);
  line-height: 1.05;
}

.criteria-row p {
  margin: 0;
  max-width: 920px;
  font-size: clamp(0.92rem, 1.05vw, 1.06rem);
  line-height: 1.55;
}

.principals {
  min-height: 690px;
  display: flex;
  align-items: flex-start;
}

.principals-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.principals .section-title {
  margin-bottom: 2.8rem;
}

.principals p {
  max-width: 1660px;
  margin-bottom: 1.6rem;
}

.contact-main {
  min-height: calc(100vh - 83px);
  display: flex;
  align-items: center;
  background: var(--paper);
  padding: clamp(4rem, 7vw, 8.5rem) var(--gutter);
}

.contact-grid {
  max-width: 1620px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 0.9fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.contact-copy {
  max-width: 660px;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span,
.form-label {
  display: inline-block;
  font-size: 0.92rem;
}

.required {
  color: rgba(8, 8, 6, 0.55);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

input,
textarea {
  width: 100%;
  border: 1.4px solid rgba(8, 8, 6, 0.82);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 0.85rem 1.1rem;
  min-height: 54px;
}

textarea {
  border-radius: 28px;
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 0.2rem;
}

.submit-button {
  border: 0;
  min-width: 126px;
  min-height: 64px;
  cursor: pointer;
  font-family: var(--body);
}

.hidden {
  display: none !important;
}

.thank-you {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem var(--gutter);
}

.thank-you-card {
  max-width: 760px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 3rem;
  align-items: end;
  padding: clamp(4.5rem, 7vw, 7rem) var(--gutter);
  background: var(--paper-deep);
}

.footer-brand,
.footer-email {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1;
}

.footer-note {
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  max-width: 440px;
}

.home-page .footer-brand,
.home-page .footer-email,
.about-page .footer-brand,
.about-page .footer-email {
  font-size: clamp(2.65rem, 4.4vw, 4.9rem);
}

.home-page .footer-note,
.about-page .footer-note {
  font-size: 0.82rem;
}

.footer-email {
  color: var(--ink);
  white-space: nowrap;
}

.footer-email:hover {
  color: var(--navy);
}

@media (max-width: 1100px) {
  .split,
  .about-intro .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .image-frame img,
  .about-intro .image-frame img {
    height: min(80vw, 780px);
  }

  .criteria-row {
    grid-template-columns: 70px 1fr;
  }

  .criteria-row p {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-email {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 1.15rem var(--gutter);
    position: sticky;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem;
    border: 1px solid rgba(34, 56, 88, 0.18);
    background: rgba(248, 247, 243, 0.98);
    box-shadow: 0 20px 45px rgba(8, 8, 6, 0.12);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem;
  }

  .hero-shell {
    width: 100%;
    padding-bottom: 0;
  }

  .hero-card {
    min-height: 540px;
    box-shadow: none;
  }

  .hero-title {
    font-size: clamp(3.6rem, 16vw, 5.6rem);
    line-height: 0.98;
  }

  .intro-section,
  .panel,
  .criteria,
  .contact-main {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .display-heading,
  .page-heading {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .button {
    width: 100%;
  }

  .form-row,
  .criteria-row {
    grid-template-columns: 1fr;
  }

  .criteria-row p {
    grid-column: auto;
  }

  .criteria-number {
    margin-bottom: -0.7rem;
  }

  .contact-grid {
    gap: 2.5rem;
  }

  .contact-main {
    align-items: start;
  }

  .footer-brand,
  .footer-email {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }
}
