:root {
  --bg: #f7f2ec;
  --surface: #fdfaf6;
  --text: #1c2734;
  --muted: #435467;
  --line: rgba(60, 79, 101, 0.16);
  --line-strong: rgba(60, 79, 101, 0.28);
  --accent: #335370;
  --band-top: #121d27;
  --band-bottom: #223140;
  --band-text: #f3f5f6;
  --band-muted: rgba(243, 245, 246, 0.72);
  --band-line: rgba(203, 216, 228, 0.16);
  --warm: #ece4d8;
  --warm-soft: #f5f1ea;
  --max-width: 1640px;
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(
      circle at top left,
      rgba(69, 89, 112, 0.07) 0%,
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 14%,
      rgba(28, 39, 52, 0.045) 0%,
      transparent 24%
    ),
    linear-gradient(180deg, #fbf8f4 0%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--font-body);
}

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

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

p {
  margin: 0;
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 clamp(32px, 4vw, 84px) 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0 20px;
  backdrop-filter: blur(10px);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--band-line);
  background: linear-gradient(
    180deg,
    var(--band-top) 0%,
    var(--band-bottom) 100%
  );
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  z-index: -1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong,
.site-nav,
.eyebrow,
.timeline-label,
.contact-list dt,
.training-list dt,
.button,
.hero-links a,
.site-footer strong {
  font-family: var(--font-body);
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.56rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--band-text);
}

.brand-text span:last-child {
  color: var(--band-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 52px);
  color: var(--band-muted);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav a {
  position: relative;
  padding-bottom: 8px;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.7);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--band-text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 0.32;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--band-text);
  font: inherit;
  font-weight: 600;
}

.site-main {
  padding-top: 48px;
}

.hero-section {
  padding: 10px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(48px, 6vw, 108px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 720px;
  padding-top: 2px;
}

.eyebrow,
.letter-date {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
}

.hero-copy .letter-date {
  margin-bottom: 28px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.25rem);
}

.notice-heading {
  font-size: clamp(2.05rem, 3.2vw, 2.9rem);
}

h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
}

h3 {
  font-size: 1.16rem;
}

.hero-role {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-intro,
.section-intro,
.letter-body p,
.detail-block p,
.prose-column p,
.training-list dd,
.contact-list dd,
.care-card p,
.footer-copy p,
.portrait-caption,
.status-line {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-letter {
  max-width: 44rem;
  gap: 14px;
  padding: 4px 0 4px;
}

.hero-letter p:first-child {
  color: rgba(24, 34, 47, 0.82);
  font-size: 0.96rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero-letter p:nth-child(2) {
  color: var(--text);
  max-width: 35rem;
  font-family: var(--font-display);
  font-size: clamp(1.24rem, 1.7vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.hero-letter p:not(:first-child) {
  max-width: 41rem;
}

.hero-letter p:nth-child(n + 3) {
  color: rgba(24, 34, 47, 0.74);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 6px;
}

.hero-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  padding-bottom: 8px;
}

.hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.credential-list {
  display: grid;
  gap: 8px;
  padding: 10px 0 0;
  margin: 0;
  list-style: none;
}

.credential-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-figure {
  display: grid;
  gap: 14px;
  margin: 0;
  width: min(100%, 500px);
  justify-self: end;
}

.portrait-stage {
  min-height: 600px;
  background: transparent;
  overflow: hidden;
  border: 1px solid rgba(24, 34, 47, 0.06);
  border-radius: 10px;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  padding: 0;
  border-radius: 10px;
  transform: scale(1);
  transform-origin: center bottom;
}

.portrait-caption {
  display: grid;
  gap: 2px;
  max-width: 36ch;
}

.portrait-caption strong {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
}

.portrait-caption span {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr);
  gap: clamp(36px, 4vw, 84px);
  align-items: start;
}

.section-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 12px;
}

.section-body {
  display: grid;
  gap: 24px;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.prose-block {
  display: grid;
  gap: 16px;
}

.letter-body {
  display: grid;
  gap: 12px;
}

.signature {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.detail-grid,
.body-split,
.expertise-grid {
  display: grid;
  gap: 28px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-block {
  display: grid;
  gap: 14px;
  align-content: start;
}

.detail-block-wide {
  grid-column: 1 / -1;
  padding-top: 2px;
}

.timeline-list,
.expertise-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.timeline-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline-label,
.contact-list dt,
.training-list dt {
  font-size: 0.93rem;
  font-weight: 600;
}

.timeline-value,
.contact-list dd,
.training-list dd {
  margin: 6px 0 0;
}

.contact-list,
.training-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.body-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: start;
}

.prose-column {
  display: grid;
  gap: 16px;
}

#aboutCopy {
  display: block;
  max-width: 47rem;
}

#aboutCopy p {
  color: var(--muted);
  line-height: 1.62;
}

#aboutCopy p:first-child {
  max-width: 42rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.64;
}

#aboutCopy p + p {
  margin-top: 0.95rem;
}

.list-column {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.expertise-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expertise-card {
  display: grid;
  gap: 14px;
}

.expertise-list {
  display: grid;
  gap: 10px;
}

.expertise-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.expertise-list li::before,
.care-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.care-grid {
  display: grid;
  gap: 14px;
}

.care-card {
  position: relative;
  padding-left: 18px;
}

.care-card h3 {
  margin-bottom: 5px;
}

.testimonial-summary {
  display: grid;
  gap: 10px;
}

.testimonial-rating {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.testimonial-note {
  max-width: 56rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.testimonial-note a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.testimonial-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.testimonial-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 28px;
  align-items: end;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.testimonial-quote {
  margin: 0;
  max-width: 54rem;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.7;
}

.testimonial-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.testimonial-reviewer,
.testimonial-detail {
  margin: 0;
}

.testimonial-reviewer {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-detail {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-toggle {
  justify-self: start;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.testimonial-toggle:hover,
.testimonial-toggle:focus-visible {
  color: var(--accent);
}

.site-footer {
  padding-top: 38px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: -44px;
  padding-left: clamp(32px, 4vw, 84px);
  padding-right: clamp(32px, 4vw, 84px);
  padding-bottom: 44px;
  background: linear-gradient(
    180deg,
    var(--band-top) 0%,
    var(--band-bottom) 100%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.5fr) minmax(
      280px,
      0.9fr
    );
  gap: clamp(28px, 4vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--band-line);
}

.footer-brand,
.footer-meta {
  display: grid;
  gap: 8px;
}

.footer-title {
  color: var(--band-text);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer-note,
.footer-meta p,
.footer-copyline {
  color: var(--band-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-content: start;
  padding-top: 2px;
}

.footer-nav a,
.footer-meta-label {
  color: var(--band-text);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-meta {
  justify-self: end;
  max-width: 32rem;
}

.footer-copyline {
  padding-top: 4px;
}

.site-footer .eyebrow {
  color: rgba(232, 239, 245, 0.82);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .section-grid,
  .body-split,
  .detail-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    min-height: 520px;
  }

  .hero-figure {
    width: min(100%, 480px);
    justify-self: start;
  }

  .section-side {
    position: static;
  }

  .list-column {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .detail-block-wide {
    grid-column: auto;
  }

  .testimonial-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding: 0 20px 30px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px 20px 16px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: linear-gradient(
      180deg,
      var(--band-top) 0%,
      var(--band-bottom) 100%
    );
    border-bottom: 1px solid var(--band-line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: -30px;
    padding-bottom: 30px;
  }

  .footer-meta {
    justify-self: start;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero-links {
    gap: 18px;
  }

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

  .hero-section,
  .content-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .portrait-stage {
    min-height: 420px;
  }

  .portrait-image {
    transform: scale(1);
  }
}
