/* Reference-aligned homepage. Content and media are supplied by the CMS. */
.page-home { background: #fafafa; }
.home-landing { --home-ink: #101d36; color: var(--home-ink); background: #fafafa; }
.home-landing .container { width: min(calc(100% - 60px), 1440px); }
.site-header--home { z-index: 10; }
.site-header--home .header-main { width: min(calc(100% - 60px), 1680px); min-height: 60px; padding: 8px 16px; border: 0; border-radius: 18px; box-shadow: 0 3px 20px #123b7910; }
.site-header--home .brand { gap: 8px; }
.site-header--home .brand-mark { width: 40px; height: 29px; }
.site-header--home .brand-text { font-size: 20px; }
.site-header--home .nav-links a { font-size: clamp(.8rem, .95vw, .9rem); font-weight: 500; }
.site-header--home .nav-links a[aria-current="page"]::after { display: none; }
.site-header--home .nav-links li:last-child a { background: #073478; color: white; border-radius: 12px; padding-inline: 15px; }
.home-landing .hero--home { background: #06234d; overflow: hidden; }
.home-landing .hero-slide { min-height: max(520px, 96svh); padding-top: 120px; align-content: end; }
.home-landing .hero-slide--captioned::after { background: linear-gradient(180deg, #00163318 20%, #001b4010 48%, #001b40c9 100%); }
.home-landing .hero-content { width: min(calc(100% - 160px), 740px); padding: 30px 0 72px; text-align: center; text-shadow: 0 1px 8px #00163355; }
.home-landing .hero-content h2 { font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -.015em; text-wrap: balance; }
.home-landing .hero-content p { max-width: none; font-size: 20px; line-height: 1.4; margin: 4px auto 0; font-weight: 400; text-wrap: balance; }
/* Still media: framing changes only at a viewport breakpoint, never on scroll/hover. */
.home-landing picture[data-image-position] { --media-position: center; }
.home-landing picture[data-image-position="top"] { --media-position: center top; }
.home-landing picture[data-image-position="bottom"] { --media-position: center bottom; }
.home-landing picture[data-image-position="left"] { --media-position: left center; }
.home-landing picture[data-image-position="right"] { --media-position: right center; }
.home-landing picture[data-image-position] img { object-position: var(--media-position); }
.home-landing picture[data-image-fit="contain"] img { object-fit: contain; }
.home-landing .hero-controls { inset: 0; width: 100%; max-width: none; height: 100%; transform: none; border: 0; border-radius: 0; background: transparent; padding: 0; pointer-events: none; }
.home-landing .hero-control { pointer-events: auto; }
.home-landing .hero-pagination { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); border: 0; padding: 0; }
.home-landing .hero-dot { min-width: 24px; min-height: 44px; }
.home-landing .hero-dot::before { width: 6px; height: 6px; border: 0; background: #ffffff55; }
.home-landing .hero-dot[aria-current="true"]::before { background: white; }
.home-landing .hero-toggle { position: absolute; right: 30px; bottom: 30px; width: 46px; height: 46px; padding: 0; border: 1px solid #ffffffa0; border-radius: 50%; background: #032c6222; font-size: 0; }
.home-landing .hero-toggle::before { content: 'Ⅱ'; font-size: 20px; font-weight: 400; }
.home-landing .hero-toggle[data-playing="false"]::before { content: '▷'; }
.home-landing .hero-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; background: #03234d44; border: 1px solid #ffffff70; font-size: 34px; line-height: 1; font-weight: 400; }
.home-landing .hero-previous { left: 30px; }
.home-landing .hero-next { right: 30px; }
.home-landing .section { padding-block: 80px; }
.home-landing .section-heading { justify-content: center; text-align: center; margin-bottom: 40px; }
.home-landing .section-heading h2 { display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px; border: 1px solid #cbd8e8; border-radius: 40px; font-size: 28px; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; color: #315d8d; }
.home-landing .section-heading h2::before { content: '✦'; font-size: 15px; flex: 0 0 auto; }
.home-landing .section-heading p { color: #747d89; font-size: 18px; font-weight: 400; }
.home-categories { background: #fafafa; }
.category-intro { min-width: 0; }
.category-intro > p { color: #7c838d; font-size: 18px; line-height: 1.5; margin-top: 20px; white-space: pre-line; }
.home-categories .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.home-categories .category-window { min-width: 0; }
.home-categories .category-card { display: flex; flex-direction: column; position: relative; isolation: isolate; justify-content: end; min-height: 520px; border: 0; border-radius: 24px; overflow: hidden; color: white; background: #073378; }
.home-categories .category-card::after { display: none; }
.home-categories .category-media { position: absolute; inset: 0 0 34%; z-index: -1; background: #a3b5c4; }
.home-categories .category-card .category-image { position: static; width: 100%; height: 100%; aspect-ratio: auto; }
.home-categories .category-card-copy { flex: 0 0 auto; min-height: 230px; display: flex; gap: 12px; padding: 30px; border-radius: 24px 24px 0 0; background: linear-gradient(145deg, #398ab8c9, #0759a0f5); backdrop-filter: blur(18px); }
.home-categories .category-card:nth-child(even) .category-card-copy { background: linear-gradient(145deg, #1a648ecc, #042958fa); }
.home-categories .category-card h3 { font-size: 28px; font-weight: 550; line-height: 1.18; letter-spacing: -.025em; text-shadow: none; }
.home-categories .category-card p { color: #f1f6ff; font-size: 18px; line-height: 1.45; margin: 0; }
.home-categories .category-cta { align-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 18px; margin-top: auto; border: 1px dashed #ffffffa0; border-radius: 9px; background: #ffffff08; color: white; font-weight: 400; font-size: 15px; }
.home-categories .category-cta::after { content: '›'; font-size: 20px; line-height: 1; }
.home-categories .category-card:focus-visible { outline: 3px solid #39a1ec; outline-offset: 4px; }
.home-landing .home-metrics { background: white; color: #101d36; }
.home-landing .home-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, max(28%, 260px)), 1fr)); gap: 20px; }
.home-landing .home-metric { padding: 32px 30px; text-align: center; border: 1px dashed #dfebf3; border-radius: 30px; background: #f4f9fc; }
.home-landing .metric-number { color: #073478; font-size: clamp(3.4rem, 5vw, 4.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.05em; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.home-landing .home-metric h3 { font-size: 20px; font-weight: 500; line-height: 1.35; }
.home-landing .metric-text { color: #626a73; font-size: 16px; max-width: 36ch; margin: 16px auto 0; }
.home-landing .home-services { color: white; background: radial-gradient(ellipse at 0 0, #08648e, transparent 65%), linear-gradient(125deg, #062759, #083775); }
.home-services .section-heading h2 { color: white; border-color: #b7d5f075; }
.services-intro { max-width: 720px; margin: -16px auto 36px; text-align: center; color: #dce9f7; font-size: 18px; white-space: pre-line; }
.service-story { display: grid; gap: 36px; }
.service-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 8px; border: 1px solid #ffffff30; border-radius: 30px; background: #123b72; box-shadow: inset 0 1px 1px #ffffff20; overflow: clip; }
.service-media { display: block; min-height: 400px; border-radius: 22px; overflow: hidden; background: #97a9ba; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-copy { display: flex; flex-direction: column; align-items: start; gap: 24px; padding: 32px 30px; min-width: 0; }
.service-copy h3 { font-size: 28px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.service-copy p { font-size: 18px; line-height: 1.6; color: #e3edf9; white-space: pre-line; overflow-wrap: anywhere; }
.service-link { display: inline-flex; align-items: center; gap: 20px; min-height: 46px; margin-top: auto; padding: 10px 18px; border: 1px dashed #ffffff9c; border-radius: 10px; color: white; text-decoration: none; line-height: 1.4; }
.service-link::after { content: '›'; font-size: 22px; }
.service-link .arrow { display: none; }
.service-link:hover, .service-link:focus-visible { background: #ffffff16; }
.service-panel--text { grid-template-columns: 1fr; }
.home-landing .home-offers { background: white; }
.home-offers .section-heading { flex-wrap: wrap; justify-content: space-between; }
.home-offers .offer-grid { gap: 24px; }
.home-offers .offer-card { padding: 0; background: transparent; border: 0; border-radius: 0; gap: 16px; }
.home-offers .offer-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 24px; }
.home-offers .offer-card h3 { font-size: 22px; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.home-offers .offer-card p { font-size: 15px; line-height: 1.6; }
.home-offers .offer-card .text-link { min-height: 44px; }
.home-landing .home-review { border: 1px solid #e3eaf1; border-radius: 24px; }
.home-landing .home-order { background: #f1f7fb; }
.home-order .guide-card { background: none; border: 0; padding: 20px 0; }
.home-order .guide-card h2 { font-size: 32px; font-weight: 550; line-height: 1.25; letter-spacing: -.035em; color: #073478; }
.home-order .order-steps { margin-top: 20px; font-size: 18px; line-height: 1.65; gap: 20px; }
.home-order .order-card { background: white; border: 1px solid #e1e9f1; border-radius: 28px; box-shadow: none; }
.home-order .button { border-radius: 12px; }
.page-home .footer { background: #06295b; color: #e4eef9; border: 0; padding-top: 60px; }
.page-home .footer a, .page-home .footer p, .page-home .footer .brand-text span { color: #e4eef9; }
.page-home .footer .brand-text { color: white; }
.page-home .footer-bottom { border-color: #ffffff25; color: #b6cbe1; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .home-categories.is-scroll-story { padding: 0; }
  .home-categories.is-scroll-story > .container { position: sticky; top: 0; width: 100%; height: 100svh; overflow: clip; display: flex; align-items: center; padding: 30px 0 0; }
  .is-scroll-story .category-intro { position: absolute; left: 40px; width: min(32vw, 410px); }
  .is-scroll-story .category-intro .section-heading { text-align: left; justify-content: start; margin: 0; }
  .is-scroll-story .category-intro h2 { font-size: clamp(22px, 2.2vw, 28px); }
  .is-scroll-story .category-window { width: 100%; overflow: visible; }
  .is-scroll-story .category-grid { display: flex; width: max-content; padding-left: calc(min(32vw, 410px) + 40px); gap: 30px; will-change: transform; }
  .is-scroll-story .category-card { flex: 0 0 min(34.5vw, 530px); width: min(34.5vw, 530px); height: min(76.67svh, 700px); min-height: min(500px, calc(100svh - 130px)); }
  .service-panel { position: sticky; top: 108px; }
  .service-panel:focus-within { z-index: 1; }
}
@media (max-width: 1080px) {
  .has-mobile-menu .site-header--home .header-main { inset: 12px 0 auto; width: calc(100% - 32px); min-height: 54px; border-radius: 16px; padding: 5px 12px; }
  .site-header--home .menu-toggle { border: 0; background: transparent; box-shadow: none; }
  .site-header--home .header-actions > .text-link { display: none; }
}
@media (max-width: 999px) {
  .home-landing .hero-slide { min-height: clamp(400px, 72vw, 680px); }
  .home-categories .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-categories .category-card { min-height: 0; justify-content: start; }
  .home-categories .category-media { position: relative; inset: auto; width: 100%; aspect-ratio: 1.35; flex: 0 0 auto; }
  .home-categories .category-card-copy { flex: 1; margin-top: -24px; }
  .home-categories .category-card:not(.category-card--photo) { min-height: 300px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-media { min-height: 0; aspect-ratio: 1.65; }
  .category-intro { text-align: center; margin-bottom: 40px; }
  .category-intro .section-heading { margin-bottom: 0; }
  .category-intro > p { max-width: 600px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .home-landing .container { width: calc(100% - 24px); }
  .has-mobile-menu .site-header--home .header-main { inset: 8px 0 auto; width: calc(100% - 24px); min-height: 46px; padding: 2px 10px; }
  .site-header--home .brand-text { font-size: 18px; }
  .site-header--home .brand-mark { width: 34px; height: 25px; }
  .site-header--home .menu-toggle { inline-size: 40px; block-size: 40px; flex-basis: 40px; }
  .home-landing .hero-slide { min-height: clamp(290px, 77vw, 450px); padding-top: 80px; }
  .home-landing .hero-content { width: calc(100% - 64px); padding: 25px 0 52px; }
  .home-landing .hero-content h2 { font-size: 14px; font-weight: 500; line-height: 1.4; }
  .home-landing .hero-content p { font-size: 14px; line-height: 1.4; margin-top: 4px; }
  .home-landing picture[data-mobile-position="center"] { --media-position: center; }
  .home-landing picture[data-mobile-position="top"] { --media-position: center top; }
  .home-landing picture[data-mobile-position="bottom"] { --media-position: center bottom; }
  .home-landing picture[data-mobile-position="left"] { --media-position: left center; }
  .home-landing picture[data-mobile-position="right"] { --media-position: right center; }
  .home-landing .hero-pagination { bottom: 2px; }
  .home-landing .hero-toggle { right: 12px; bottom: 12px; width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
  .home-landing .hero-arrow { display: none; }
  .home-landing .section { padding-block: 60px; }
  .home-landing .section-heading { margin-bottom: 30px; }
  .home-landing .section-heading h2 { font-size: 24px; padding: 10px 18px; gap: 10px; }
  .category-intro { margin-bottom: 36px; }
  .category-intro > p { font-size: 16px; padding-inline: 12px; }
  .home-categories .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-categories .category-card { min-height: 0; border-radius: 22px; }
  .home-categories .category-card-copy { padding: 24px; min-height: 210px; gap: 12px; border-radius: 22px 22px 0 0; }
  .home-categories .category-card h3 { font-size: 27px; }
  .home-categories .category-card p { font-size: 16px; line-height: 1.4; }
  .home-categories .category-cta { align-self: center; margin-top: 10px; }
  .home-landing .home-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-landing .home-metric { padding: 24px 14px; border-radius: 22px; }
  .home-landing .metric-number { font-size: 48px; }
  .home-landing .home-metric h3 { font-size: 16px; }
  .home-landing .metric-text { font-size: 14px; }
  .home-services .section-heading h2 { font-size: 22px; }
  .services-intro { font-size: 16px; padding-inline: 12px; }
  .service-story { gap: 20px; }
  .service-panel { grid-template-columns: 1fr; border-radius: 24px; }
  .service-media { min-height: 0; aspect-ratio: 1.35; border-radius: 18px; }
  .service-copy { padding: 24px 16px; gap: 20px; }
  .service-copy h3 { font-size: 26px; }
  .service-copy p { font-size: 16px; }
  .service-link { font-size: 15px; margin-top: 8px; }
  .home-offers .section-heading { justify-content: center; gap: 20px; }
  .home-offers .offer-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-order .guide-card { padding-inline: 12px; }
  .home-order .guide-card h2 { font-size: 28px; }
  .home-order .order-steps { font-size: 16px; }
}
@media (hover: hover) and (pointer: fine) {
  .home-landing .hero-arrow { opacity: 0; transition: opacity 180ms ease, background-color 180ms ease; }
  .home-landing .hero:hover .hero-arrow, .home-landing .hero:focus-within .hero-arrow { opacity: 1; }
  .home-categories .category-card:hover .category-cta { background: white; color: #073478; text-decoration: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-landing .hero-slide.is-hero-entering.is-current { animation: reference-slide-in 600ms cubic-bezier(.22,.65,.3,1) both; }
  .home-landing .hero-slide.is-hero-leaving { animation: reference-slide-out 600ms cubic-bezier(.22,.65,.3,1) both; }
  @keyframes reference-slide-in { from { transform: translateX(calc(var(--hero-direction, 1) * 100%)); opacity: 1; } to { transform: translateX(0); opacity: 1; } }
  @keyframes reference-slide-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(calc(var(--hero-direction, 1) * -100%)); opacity: 1; } }
}
