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

:root {
  --oxford-blue: #002147;
  --oxford-blue-light: #123a63;
  --ink: #111827;
  --muted: #536170;
  --paper: #002147;
  --panel: #ffffff;
  --line: #d8e0e8;
  --accent: #9f7a2f;
  --accent-dark: #7a5c22;
  --gold: #c49a44;
  --sage: #6f806d;
  --soft: #f7f1e8;
  --cream-soft: #f7f1e8;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  overflow-x: hidden;
  background: var(--paper);
}

html.home-root {
  background: #f7f1e8;
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--oxford-blue);
  font-family: "Times New Roman", Times, serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(0, 33, 71, 0.18);
  background: var(--soft);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

body:not(.home-body) {
  background: var(--soft);
  color: var(--oxford-blue);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 190px;
  color: var(--oxford-blue);
  line-height: 1;
  text-decoration: none;
  text-align: center;
}

.brand span {
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.9;
}

.brand small {
  font-family: "Trajan Pro", "Trajan Pro 3", "Cinzel", "Times New Roman", serif;
  color: var(--accent);
  font-size: clamp(0.55rem, 0.95vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex: 1;
  gap: clamp(12px, 3vw, 54px);
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.nav a {
  text-decoration: none;
  color: var(--oxford-blue);
  font-weight: 600;
  padding: 8px 11px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--oxford-blue);
  border-color: var(--gold);
}

main {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.home-body {
  min-height: 100vh;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #f7f1e8;
}

.home-slate {
  --home-pad-x: clamp(18px, 4vw, 56px);
  --home-safe-inset: clamp(10px, 1.5vw, 22px);
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  place-items: center;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  background: #f7f1e8;
}

.home-entry {
  width: min(calc(100% - ((var(--home-pad-x) + var(--home-safe-inset)) * 2)), 1080px);
  max-width: 100%;
  display: grid;
  gap: clamp(10px, 1.7vw, 20px);
  justify-items: center;
  min-width: 0;
  padding-top: clamp(12px, 2.5vw, 28px);
}

.home-top-links {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2.2vw, 34px);
  align-items: center;
  margin-bottom: clamp(20px, 4vw, 46px);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 33, 71, 0.26);
}

.home-top-links a {
  color: var(--oxford-blue);
  text-align: center;
  text-decoration: none;
  font-size: clamp(1rem, 1.65vw, 1.4rem);
  letter-spacing: 0.015em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  min-width: 0;
  overflow-wrap: break-word;
}

.home-top-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.home-title {
  width: min(100%, 960px);
  display: grid;
  gap: 6px;
  text-align: center;
  color: var(--oxford-blue);
  min-width: 0;
}

.home-title span {
  display: block;
  max-width: 100%;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(3.2rem, 7.8vw, 6.5rem);
  line-height: 0.95;
}

.home-title small {
  display: block;
  max-width: 100%;
  font-family: "Trajan Pro", "Trajan Pro 3", "Cinzel", "Times New Roman", serif;
  color: var(--accent);
  font-size: clamp(0.88rem, 1.55vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.home-subheading {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: -4px;
  color: var(--oxford-blue);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-style: italic;
  text-align: center;
  overflow-wrap: break-word;
}

.home-ornament {
  width: min(24vw, 320px);
  height: 12px;
  position: relative;
  display: grid;
  place-items: center;
}

.home-ornament::before,
.home-ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 22px);
  border-top: 1px solid rgba(159, 122, 47, 0.62);
}

.home-ornament::before {
  left: 0;
}

.home-ornament::after {
  right: 0;
}

.home-ornament-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
}

.home-supporting {
  width: min(100%, 780px);
  margin-left: auto;
  margin-right: auto;
  color: var(--oxford-blue);
  font-size: clamp(1.03rem, 1.7vw, 1.34rem);
  line-height: 1.42;
  text-align: center;
}

.home-skyline {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: min(1180px, calc(100% - ((var(--home-pad-x) + var(--home-safe-inset)) * 2)));
  height: auto;
  max-height: min(27vh, 280px);
  object-fit: contain;
  align-self: end;
  justify-self: center;
  margin-top: clamp(18px, 3vw, 36px);
  opacity: 0.84;
}

.home-blue-band {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  height: clamp(92px, 15vh, 150px);
  background: var(--oxford-blue);
  grid-column: 1 / -1;
  justify-self: stretch;
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4.8vw, 64px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.hero-copy,
.page-hero,
.content-section,
.reviews-layout,
.contact-layout,
.split-section,
.credentials {
  max-width: 1160px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Times New Roman", Times, serif;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5.2vw, 4.9rem);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.5rem, 2.55vw, 2.35rem);
}

h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

p {
  margin: 0;
}

.lead {
  max-width: 670px;
  margin-top: 18px;
  color: var(--oxford-blue);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  background: var(--gold);
  color: #081a2e;
  border-color: var(--gold);
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--oxford-blue);
}

.button.secondary {
  color: var(--oxford-blue);
  border-color: rgba(0, 33, 71, 0.56);
  background: transparent;
}

.portrait-panel {
  justify-self: center;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  padding: 14px;
  background: linear-gradient(135deg, rgba(196, 154, 68, 0.95), rgba(244, 241, 232, 0.92));
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(0, 33, 71, 0.22);
}

.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.band {
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 64px);
  background: var(--soft);
  color: var(--ink);
  max-width: none;
}

.band > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

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

.credential-grid article,
.feature-list article,
.review-card,
.contact-note,
.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  text-align: center;
}

.credential-grid p,
.feature-list p,
.text-block p,
.review-card,
.contact-note {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 52px);
  padding: clamp(44px, 6.5vw, 78px) clamp(20px, 5vw, 64px);
  align-items: start;
}

.split-section > p {
  color: var(--oxford-blue);
  font-size: 1.15rem;
}

.page-hero {
  padding: clamp(42px, 6.5vw, 76px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 44px);
  background: var(--soft);
  color: var(--oxford-blue);
  text-align: center;
}

.page-hero h1,
.page-hero .lead {
  width: min(100%, 760px);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.content-section,
.reviews-layout,
.contact-layout,
.article-section {
  padding: 0 clamp(20px, 5vw, 64px) clamp(44px, 6.5vw, 78px);
  background: var(--soft);
  color: var(--oxford-blue);
}

.content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.about-portrait {
  align-self: start;
  justify-self: center;
  max-width: min(300px, 82vw);
}

.about-services {
  display: block;
}

.text-block {
  background: var(--cream-soft);
  background-color: var(--oxford-blue);
  border: 1px solid var(--line);
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 42px);
  color: var(--ink);
  color: #ffffff;
  line-height: 1.78;
  text-align: left;
}

.text-block p {
  color: #ffffff;
  margin-top: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.text-block p:first-child {
  margin-top: 0;
}

.service-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  color: #ffffff;
  line-height: 1.72;
  list-style-position: outside;
  text-align: left;
}

.service-list li + li {
  margin-top: 8px;
}

.reviews-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.credentials .section-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.credentials .section-heading h2 {
  max-width: 720px;
}

.reviews-layout {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 22px;
}

.review-stack,
.reviews-layout > .form-panel {
  width: 100%;
  max-width: 760px;
  justify-self: center;
}

.contact-layout {
  max-width: 860px;
  grid-template-columns: 1fr;
}

.review-stack {
  display: grid;
  gap: 16px;
}

.review-card {
  background: var(--oxford-blue);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  text-align: justify;
  text-justify: inter-word;
}

.review-card h2,
.review-card p {
  color: #ffffff;
}

.review-card .review-stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-align: center;
}

.review-preview,
.review-full p {
  text-align: justify;
  text-justify: inter-word;
}

.review-full[hidden] {
  display: none;
}

.review-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.review-toggle-less {
  display: block;
  margin-top: 16px;
}

.review-attribution {
  text-align: right;
}

.stars {
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

blockquote {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
}

cite {
  font-style: normal;
  color: var(--muted);
}

.form-panel {
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
  text-align: left;
}

.form-panel h2,
.contact-note h2 {
  margin-bottom: 8px;
  color: var(--ink);
}

.form-panel h2 {
  text-align: center;
}

label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.contact-note {
  display: grid;
  gap: 16px;
  background: var(--soft);
  background-color: var(--oxford-blue);
  color: var(--ink);
  color: #ffffff;
  text-align: center;
}

.contact-note h2,
.contact-note h3,
.contact-note p,
.contact-note a,
.contact-note .small-note {
  color: #ffffff;
}

.contact-response-note {
  width: min(100%, 760px);
  min-width: 0;
  margin: 0 auto;
  color: var(--oxford-blue);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
  text-align: center;
}

.contact-subsection {
  border-top: 1px solid var(--line);
  border-color: rgba(255, 255, 255, 0.28);
  padding-top: 16px;
}

.contact-subsection h3 {
  margin-bottom: 8px;
}

.article-section {
  max-width: 920px;
  margin: 0 auto;
}

.article-placeholder,
.guide-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: clamp(26px, 5vw, 46px);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: block;
  text-decoration: none;
  transform-origin: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-placeholder p:not(.eyebrow),
.guide-card p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.05rem;
}

.guide-card h2 {
  color: var(--oxford-blue);
  text-decoration: none;
}

.guide-card:hover,
.guide-card:focus-visible {
  box-shadow: 0 20px 42px rgba(0, 33, 71, 0.16);
  transform: scale(1.015);
}

.guide-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.guide-card .eyebrow,
.guide-card h2,
.guide-card p {
  text-align: center;
}

.article-section .guide-card + .guide-card {
  margin-top: 24px;
}

.back-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--oxford-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.back-link:hover {
  color: var(--accent-dark);
}

.article-page-section {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 96px);
  background: var(--soft);
}

.article-body {
  background: #ffffff;
  background-color: var(--oxford-blue);
  border: 8px solid var(--oxford-blue);
  border-radius: 8px;
  color: var(--ink);
  color: #ffffff;
  padding: clamp(30px, 6vw, 64px);
  box-shadow: var(--shadow);
}

.article-body .back-link {
  margin-top: 0;
  margin-bottom: 30px;
  border-bottom: 0;
}

.article-body h1 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--oxford-blue);
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  text-align: center;
}

.article-body h2 {
  color: var(--oxford-blue);
  color: #ffffff;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  margin-top: 42px;
  text-align: center;
}

.article-body p {
  max-width: 760px;
  color: #273241;
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1.82;
  margin-top: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.article-body.interview-article p,
.article-body.supercurriculars-article p {
  font-family: "Times New Roman", Times, serif;
}

.article-body .eyebrow {
  color: var(--gold);
}

.article-quote {
  max-width: 760px;
  margin: 28px 1cm;
  padding: 0;
  background: transparent;
  border-left: 0;
}

.article-quote p {
  margin-top: 0;
  color: var(--ink);
  color: #ffffff;
  font-size: 1rem;
  text-align: justify;
}

.site-footer {
  width: 100%;
  max-width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 24px clamp(20px, 5vw, 64px);
  background: var(--oxford-blue);
  color: var(--soft);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer p,
.site-footer .footer-text {
  max-width: 90%;
  margin-inline: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
  line-height: 1.5;
  text-align: center;
}

.footer-privacy-link {
  margin-top: 8px;
  font-size: 0.86rem;
}

.footer-privacy-link a {
  color: var(--soft);
  text-decoration: underline;
  text-decoration-color: var(--soft);
  overflow-wrap: break-word;
}

.home-footer-privacy-link {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: var(--soft);
  overflow-wrap: break-word;
}

body:not(.home-body) main > :last-child {
  padding-bottom: clamp(140px, 18vh, 190px);
}

body:not(.home-body) .site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .section-heading,
  .split-section,
  .content-section,
  .reviews-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .brand {
    max-width: 100%;
  }

  .nav {
    width: 100%;
    justify-content: space-evenly;
    gap: 8px 18px;
  }

  .nav a {
    font-size: 0.98rem;
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .portrait-panel {
    justify-self: start;
    max-width: 360px;
  }

  .about-portrait {
    justify-self: center;
  }

  .portrait-panel.about-portrait {
    max-width: min(300px, 82vw);
  }

  .credential-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-slate {
    --home-pad-x: 18px;
    --home-safe-inset: 0px;
  }

  .home-entry {
    width: min(calc(100% - 36px), 680px);
    padding-top: 24px;
  }

  .home-top-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
  }

  .home-title span {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .home-title small {
    font-size: clamp(0.82rem, 4.2vw, 1.1rem);
    letter-spacing: 0.12em;
  }

  .home-ornament {
    width: min(70vw, 260px);
  }

  .home-subheading,
  .home-supporting {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-skyline {
    max-height: 250px;
    width: min(calc(100% - 36px), 680px);
  }

  .site-header {
    position: static;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
