/* D029/D030. Each treatment has a job in the revised shared/page briefs. */
.site-header {
  background: var(--surface-page);
  border-bottom-color: transparent;
  transition: background-color .22s ease-out, border-color .22s ease-out;
}
.header-inner { height: 100px; }
.site-header .brand { min-width: 165px; }
.site-header .brand-name { font-size: 28px; font-weight: 400; letter-spacing: .015em; line-height: 1.15; }
.site-header.is-compact { background: var(--surface-page); }
.nav-links { gap: 34px; }
.nav-links .nav-contact { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; border: 0; background-position: left calc(100% - 6px); }
.nav-contact .link-arrow { font-size: 19px; transition: transform .18s ease-out; }
.nav-links .nav-contact[aria-current="page"] { font-weight: 600; }
.nav-contact:is(:focus-visible,:active) .link-arrow { transform: translate(2px,-2px); }
.menu-toggle:is(:focus-visible,:active) { background: transparent; }
.hero { padding-top: 42px; }
.hero-image { position: relative; isolation: isolate; }
.hero-image picture { display: block; }
.home-hero { column-gap: 70px; padding-bottom: 88px; }
.home-hero .hero-image { padding: 0 26px 26px 0; }
.home-hero .hero-image::before { content: ''; position: absolute; z-index: -1; inset: 30px 0 0 30px; background: var(--surface-brand); }
.home-hero .hero-image::after { content: ''; position: absolute; left: 30px; bottom: 0; width: 64px; height: 4px; background: var(--surface-highlight); }
.home-hero .hero-image img { height: 525px; border: 8px solid var(--surface-page); object-position: 50% 30%; }
.home-question-panel { padding: 0; gap: 0; grid-template-columns: .85fr 1.35fr; align-items: stretch; }
.home-question-panel > h2 { display: flex; flex-direction: column; justify-content: center; max-width: none; padding: 44px 36px; background: var(--surface-brand); color: var(--text-inverse); }
.home-question-panel > h2::before { content: ''; display: block; height: 3px; width: 40px; background: var(--surface-highlight); margin-bottom: 28px; }
.home-question-panel .question-copy { max-width: none; padding: 44px; }
.route-card { border-top-width: 3px; }
.route-card h3 { font-weight: 600; }
.route-card .route-action { min-height: 44px; }
.page-about .personal-portrait { padding: 16px; background: var(--surface-secondary); }
.page-about .personal-portrait::after { content: ''; position: absolute; bottom: 0; right: 16px; width: 58px; height: 3px; background: var(--surface-highlight); }
.page-about .personal-portrait img { height: 500px; }
.coast-setting { background: var(--surface-dark); color: var(--text-inverse); margin-top: 38px; }
.coast-setting .coast-image { width: 100%; margin: 0; }
.coast-setting .coast-image img { border-radius: 0; }
.coast-setting figcaption { color: var(--text-inverse-secondary); text-align: left; padding: 16px 36px 0; margin: 0; }
.coast-reflection { padding: 38px 0 48px; margin-inline: auto; width: calc(100% - 96px); }
.page-about .qualifications-section { padding-top: 64px; }
.about-closing { display: grid; grid-template-columns: .75fr 1.5fr; gap: 80px; }
.about-closing > h2 { max-width: 270px; }
.about-closing > h2::before { content: ''; display: block; width: 40px; height: 3px; margin-bottom: 24px; background: var(--surface-highlight); }
.about-closing-copy { max-width: 650px; }
.about-closing-copy .text-link { margin-top: 28px; }
.one-to-one-hero .close-portrait { padding: 0 0 22px 22px; }
.one-to-one-hero .close-portrait::before { content: ''; position: absolute; z-index: -1; inset: 40px 0 0 0; background: var(--surface-brand); }
.one-to-one-hero .close-portrait img { height: 450px; object-position: 50% 20%; border: 7px solid var(--surface-page); }
.page-speaking .speaking-image-frame { padding: 16px 16px 24px; width: min(100%, 298px); border-bottom: 3px solid var(--surface-highlight); }
.page-speaking .speaking-image-frame img { max-width: none; aspect-ratio: 266 / 476; }
.topic-feature { grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; }
.topic-feature .speaking-context { max-width: 400px; }
.topic-feature .speaking-context img { filter: contrast(1.06) brightness(1.02) saturate(.94); }
.invitation-panel { border-left: 3px solid var(--rudy-clear-blue); }
.contact-composition .contact-form { border-top: 3px solid var(--rudy-clear-blue); }
.contact-composition .preview-status { border-left: 2px solid var(--border-control); }
.site-footer { border-top: 0; }
.footer-nav a { text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .nav-links .nav-contact:hover:not(:active) .link-arrow { transform: translate(2px,-2px); }
  .menu-toggle:hover:not(:active) { background: transparent; }
}
@media (min-width: 761px) and (max-width: 1060px) {
  .site-header .brand-name { font-size: 26px; }
  .site-header .brand { min-width: 150px; }
  .nav-links { gap: 22px; }
  .home-hero { column-gap: 38px; }
  .home-hero .hero-image { padding-right: 18px; padding-bottom: 22px; }
  .home-hero .hero-image img { height: 460px; border-width: 6px; }
  .home-question-panel > h2 { padding: 36px 28px; }
  .home-question-panel .question-copy { padding: 36px; }
  .about-closing { gap: 45px; }
}
@media (max-width: 960px) {
  .home-question-panel { display: block; }
  .home-question-panel > h2 { max-width: none; margin: 0; padding: 30px 36px; }
  .home-question-panel > h2::before { margin-bottom: 18px; }
  .home-question-panel .question-copy { padding: 34px 36px; }
  .about-closing { grid-template-columns: 1fr; gap: 26px; }
  .about-closing > h2 { max-width: none; }
}
@media (max-width: 760px) {
  .header-inner { height: 88px; }
  .site-header .brand { min-width: 150px; min-height: 54px; }
  .site-header .brand-name { font-size: 26px; }
  .menu-toggle { padding: 11px 0 11px 12px; border: 0; min-height: 48px; white-space: nowrap; }
  .nav-links { align-items: flex-start; gap: 0; padding: 12px 20px 28px; background: var(--surface-page); }
  .nav-links a { font-size: 22px; min-height: 54px; }
  .nav-links .nav-contact { padding: 14px 0; margin-top: 12px; }
  .hero { padding-top: 30px; }
  .home-hero { padding-bottom: 60px; }
  .home-hero .hero-image { padding: 0 15px 16px 0; }
  .home-hero .hero-image::before { inset: 18px 0 0 18px; }
  .home-hero .hero-image::after { left: 18px; width: 42px; height: 3px; }
  .home-hero .hero-image img { height: auto; max-height: 460px; aspect-ratio: 4 / 3; object-position: 50% 5%; border-width: 5px; }
  .home-question-panel { padding: 0; }
  .home-question-panel > h2 { padding: 28px 24px; }
  .home-question-panel .question-copy { padding: 28px 24px; }
  .page-about .personal-portrait { padding: 10px; }
  .page-about .personal-portrait img { height: auto; }
  .coast-setting { margin-top: 28px; }
  .coast-setting figcaption { padding: 16px 22px 0; }
  .coast-reflection { width: auto; padding: 28px 22px 32px; }
  .page-about .qualifications-section { padding-top: 46px; }
  .about-closing-copy .text-link { margin-top: 24px; }
  .one-to-one-hero .close-portrait { width: 100%; max-width: 380px; margin-inline: auto; padding: 0 0 16px 16px; }
  .one-to-one-hero .close-portrait img { height: auto; border-width: 5px; aspect-ratio: 4 / 3; object-position: 50% 5%; }
  .page-speaking .speaking-image-frame { width: min(100%, 298px); max-width: 298px; padding: 14px 14px 20px; }
  .page-speaking .speaking-image-frame img { width: 100%; max-height: none; }
  .topic-feature { display: block; padding: 28px 24px; }
}
@media (max-width: 370px) {
  .site-header .brand { min-width: 128px; }
  .site-header .brand-name { font-size: 24px; }
  .nav-links { padding-inline: 16px; }
  .home-question-panel > h2, .home-question-panel .question-copy, .topic-feature { padding-inline: 20px; }
}
