:root {
  color-scheme: light;
  --ink: #082f42;
  --heading: #092f41;
  --blue: #176e92;
  --muted: #4a6572;
  --line: #d6e4e9;
  --soft: #f0f6f8;
  --white: #fff;
  --pale: #a9dfef;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fcfdfd; color: var(--ink); font: 400 18px/1.6 Assistant, Arial, sans-serif; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #237fab; outline-offset: 4px; }
.vision :focus-visible, .contact :focus-visible, dialog :focus-visible { outline-color: #b6e7f5; }
main:focus { outline: none; }
.wrap { width: min(100% - 112px, 1240px); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: 10px; inset-inline-start: 12px; z-index: 20; background: white; padding: 10px 18px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 10; background: #fcfdfdf5; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: 104px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; min-height: 44px; border-radius: var(--radius); font-weight: 700; font-size: 14px; text-decoration: none; }
.language-link:hover { background: var(--soft); }
.language-link img { object-fit: fill; width: 25px; height: 16px; flex: none; border: 1px solid #c8d9df; border-radius: 3px; }
.header-inner nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.header-inner nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.header-inner nav a:hover { color: var(--blue); text-decoration: underline; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; padding: 12px 21px; background: var(--ink); color: var(--white); border-radius: var(--radius); border: 1px solid transparent; font-weight: 650; font-size: 15px; text-decoration: none; transition: background .2s; }
.button:hover { background: #125979; }
.button span, .text-link > span:not(.play-icon) { font-size: 17px; line-height: 1; direction: ltr; }
.button-small { min-height: 44px; padding: 8px 15px; gap: 12px; font-size: 13px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; width: fit-content; text-decoration-thickness: 1px; font-size: 15px; font-weight: 650; }
.text-link:hover { color: var(--blue); }
.play-icon { display: inline-grid; width: 26px; height: 26px; flex: none; place-items: center; border: 1px solid #a8bfca; border-radius: 50%; }
.play-icon::before { content: ""; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid currentColor; transform: translateX(1px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

h1, h2, h3, p { margin-block: 0 18px; }
h1, h2, h3 { color: var(--heading); font-weight: 800; line-height: 1.13; text-wrap: balance; }
h1 em, h2 em { color: var(--blue); font-weight: 650; font-style: normal; }
h1 { font-size: clamp(31px, 5.3vw, 88px); letter-spacing: -.045em; line-height: 1.06; margin-bottom: 27px; }
.hero-copy { container-type: inline-size; }
.hero-copy h1 { font-size: min(88px, 13.7cqi); }
.hero-copy h1 > * { white-space: nowrap; }
:lang(en) .hero-copy h1 { font-size: min(78px, 10.1cqi); }
h2 { font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -.037em; margin-bottom: 23px; }
h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.section { padding-block: clamp(64px, 8vw, 116px); }
.section-label { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--blue); font-size: 14px; font-weight: 700; }
.section-label::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: start; gap: clamp(26px, 6vw, 96px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(30px, 4.5vw, 68px); align-items: center; padding-block: 54px 63px; }
.hero .lead { max-width: 425px; color: #365562; margin-bottom: 27px; }
.hero-visual { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: 490px; aspect-ratio: 1.01; background-color: var(--ink); border-radius: var(--radius); border-end-start-radius: 76px; }
.hero-visual::after { content: ""; position: absolute; inset: 59% 0 0; background: linear-gradient(transparent, #051e2bde); pointer-events: none; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; opacity: 0; transition: opacity 1s ease; }
.second-slide { object-position: center; }
.slide.is-current { opacity: 1; }
.hero-visual figcaption { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; inset: auto 32px 23px 23px; color: white; font-weight: 650; font-size: 15px; }
.slideshow-button { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; background: #0a2a3aad; border: 1px solid #ffffff93; color: white; border-radius: 40px; padding: 6px 12px; font-size: 12px; }
.slideshow-button:hover { background: var(--ink); }
.slideshow-button:focus-visible { outline-color: white; }

.quick-nav { background: var(--ink); color: white; }
.quick-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-inner a { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 72px; padding-inline: clamp(14px, 3vw, 42px); border-inline-start: 1px solid #365867; font-size: 15px; font-weight: 550; text-decoration: none; }
.quick-inner a:last-child { border-inline-end: 1px solid #365867; }
.quick-inner a:hover { background: #12465e; }
.quick-inner a:focus-visible { outline-offset: -4px; outline-color: white; }
.quick-inner span { font-size: 20px; color: var(--pale); }
.care { background: linear-gradient(155deg, #edf6f8, #f9fcfc 68%); }
.care-intro { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 6vw, 92px); }
.care-copy .lead { font-weight: 650; }
.care-description, .involvement-grid p { color: var(--muted); }
.care-actions { gap: 10px 20px; margin-top: 24px; }
.care-photo { margin: 0; overflow: hidden; border-radius: 16px; border-end-end-radius: 64px; position: relative; background: var(--ink); }
.care-photo img { width: 100%; height: auto; aspect-ratio: 1.44; object-fit: cover; }
.care-photo figcaption { position: absolute; inset: auto 0 0; color: white; padding: 30px 22px 15px; background: linear-gradient(transparent, #041b28ec); font-size: 14px; font-weight: 650; }
.care-grid, .involvement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.care-grid article { background: white; padding: 22px 26px 25px; border-radius: 12px; border: 1px solid #d7e6eb; box-shadow: 0 7px 22px #082f4209; }
.care-grid article::before { content: ""; display: block; width: 29px; height: 3px; border-radius: 3px; margin-bottom: 14px; background: #54a2b9; }
.care-grid article p { color: var(--muted); }
.care-grid p, .involvement-grid p { margin-bottom: 0; font-size: 16px; }

.vision { background: #082e41; color: #e3f0f3; }
.vision-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 92px); padding-block: clamp(50px, 6vw, 86px); }
.vision h2, .contact h2 { color: white; }
.vision h2 em, .contact h2 em, .vision .section-label, .contact .section-label { color: var(--pale); }
.vision .lead { max-width: 450px; }
.vision-status { padding-inline-start: 15px; border-inline-start: 2px solid #68a5bd; color: #cee1e8; margin-block: 27px 14px; max-width: 445px; }
.vision-status strong { display: block; color: white; }
.vision .text-link:hover { color: var(--pale); }
.film { min-width: 0; margin: 0; }
.film-stage { overflow: hidden; background: #021822; border: 1px solid #426476; border-radius: 13px; }
.film video { width: 100%; height: auto; aspect-ratio: 16/9; background: #091c25; }

.founding { background: #e9f3f6; padding-block: clamp(49px, 6.5vw, 86px); }
.founding-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 42px; }
.founding h2 { margin-bottom: 14px; font-size: clamp(33px, 3.5vw, 50px); }
.founding .lead { max-width: 64ch; margin-bottom: 0; }
.founding .button { flex-shrink: 0; }

.involvement-heading { align-items: baseline; }
.involvement-heading h2, .involvement-heading p { margin-bottom: 0; }
.involvement-grid article { display: flex; flex-direction: column; align-items: start; gap: 6px; padding: 22px 0; border-block-start: 1px solid #a4bfca; }
.involvement-grid a { margin-block-start: auto; }
.community-photo { margin: 21px 0 0; overflow: hidden; position: relative; border-radius: 8px 8px 48px 8px; background: var(--ink); }
.community-photo img { height: clamp(220px, 32vw, 380px); width: 100%; object-fit: cover; object-position: center 49%; }
.community-photo figcaption { position: absolute; inset: auto 0 0; padding: 40px 25px 15px; background: linear-gradient(transparent, #041b28e5); color: white; font-size: 14px; }

.press { background: #e9f3f6; }
.press-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 23px; }
.press-heading h2 { margin: 0; }
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.press-card { display: block; height: 100%; overflow: hidden; border: 1px solid #d6e4e9; border-radius: 14px; background: white; text-decoration: none; transition: box-shadow .2s; }
.press-card:hover { box-shadow: 0 10px 28px #082f421e; }
.press-image { position: relative; isolation: isolate; aspect-ratio: 16/9; background: var(--ink); }
.press-image img { width: 100%; height: 100%; object-fit: cover; }
.press-play { position: absolute; inset: auto auto 13px 13px; width: 43px; height: 43px; border-color: white; background: #082f42ec; color: white; }
.press-play::before { border-width: 6px 0 6px 9px; }
.press-copy { padding: 17px 20px 21px; }
.press-copy p { margin: 0 0 6px; color: var(--blue); font-size: 14px; font-weight: 700; }
.press-copy h3 { margin: 0; line-height: 1.23; }

.faq { background: var(--soft); padding-block: clamp(54px, 6.5vw, 90px); }
.accordion details { border-bottom: 1px solid #c2d6de; }
.accordion details:first-child { border-top: 1px solid #c2d6de; }
.accordion summary { display: flex; gap: 15px; align-items: center; justify-content: space-between; list-style: none; padding: 17px 0; font-weight: 650; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; font-size: 24px; color: var(--blue); line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion p { color: var(--muted); }

.contact { background: var(--ink); color: #e5f0f4; }
.contact p { max-width: 390px; }
.contact-address { display: inline-block; color: var(--pale); overflow-wrap: anywhere; }
.enquiry { width: 100%; max-width: 600px; justify-self: center; background: #fcfdfd; color: var(--ink); padding: clamp(19px, 3vw, 35px); border-radius: 12px; min-width: 0; }
.enquiry :focus-visible { outline-color: var(--blue); }
.enquiry fieldset { padding: 0; margin: 0 0 17px; border: 0; min-width: 0; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.form-fields label { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; text-align: center; text-wrap: balance; font-size: 15px; font-weight: 700; line-height: 1.35; }
.form-fields input { display: block; width: 100%; min-height: 45px; padding: 8px 11px; border: 1px solid #9eb7c3; border-radius: 6px; background: white; color: var(--ink); font-weight: 400; }
.enquiry legend, .message-label { display: block; padding: 0; margin: 0 auto 8px; text-align: center; text-wrap: balance; font-weight: 700; }
.required-marker { color: #176e92; }
.interest-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 9px; }
.interest-options label { position: relative; }
.interest-options label:last-child { grid-column: 1 / -1; }
.interest-options input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.interest-options span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 44px; border: 1px solid #a9c1cc; padding: 7px 10px; border-radius: 6px; cursor: pointer; text-align: center; text-wrap: balance; font-size: 14px; line-height: 1.25; }
.interest-options input:checked + span { background: #e2f1f6; border-color: #247299; box-shadow: inset 0 0 0 1px #247299; font-weight: 650; }
.interest-options input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.enquiry textarea { display: block; width: 100%; min-height: 115px; padding: 11px 13px; border: 1px solid #9eb7c3; border-radius: 6px; background: white; color: var(--ink); resize: vertical; }
.enquiry-actions { justify-content: center; margin-block: 16px 0; }
.enquiry-actions button:disabled { cursor: wait; opacity: .7; }
.form-help, .form-status { margin-inline: auto; margin-bottom: 0; color: var(--muted); text-align: center; font-size: 14px; }
.enquiry .enquiry-privacy { max-width: 52ch; margin-top: 12px; line-height: 1.45; }
.form-status:not(:empty) { margin-top: 8px; font-weight: 700; }
.form-status[data-state="error"] { color: #9d2d33; }
.form-status[data-state="success"] { color: #22624c; }
.footer-inner { min-height: 92px; }

.whatsapp-float {
  position: fixed;
  z-index: 9;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 50%;
  background: #2dcf46 url("assets/whatsapp.png") 42% 52% / 125% auto no-repeat;
  box-shadow: 0 4px 16px #082f4240;
}
.whatsapp-float:hover { box-shadow: 0 6px 20px #082f4260; }
@media (max-width: 1420px) {
  .footer-inner { padding-right: 32px; }
}

dialog { width: min(420px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 16px; border: 1px solid #507384; border-radius: 12px; background: var(--ink); color: white; }
dialog::backdrop { background: #071c2bd9; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dialog-header h2 { font-size: 22px; color: white; margin: 0; }
.dialog-close { width: 44px; min-height: 44px; border: 1px solid #effaff83; border-radius: 50%; background: transparent; color: white; font-size: 25px; }
.dialog-close:hover { background: #20526a; }
dialog video { max-height: 72vh; width: auto; height: auto; margin-inline: auto; background: #071c2b; }
.press-dialog { width: min(820px, calc(100% - 24px)); }
.press-player { aspect-ratio: 16/9; background: #031720; border-radius: 8px; overflow: hidden; }
.press-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.press-external:hover { color: var(--pale); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .footer-inner { padding-right: 56px; }
  .hero-visual { min-height: 420px; }
  .header-inner nav { gap: 18px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 77px; }
  .wrap { width: calc(100% - 38px); }
  .header-inner { min-height: 68px; gap: 10px; }
  .header-inner nav { display: none; }
  .brand img { width: 81px; }
  .header-actions { gap: 4px; }
  .language-link { gap: 5px; padding-inline: 6px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 29px; padding-block: 38px 32px; text-align: center; }
  h1 { margin-bottom: 19px; }
  .hero-copy h1 { font-size: min(62px, 13.7cqi); }
  :lang(en) .hero-copy h1 { font-size: min(57px, 10.1cqi); }
  .hero .lead { margin-inline: auto; margin-bottom: 19px; text-wrap: pretty; }
  .actions { justify-content: center; }
  .hero-visual { min-height: 0; aspect-ratio: 1.16; border-end-start-radius: 44px; }
  .hero-visual figcaption { inset: auto 22px 13px 14px; }
  .quick-inner { width: 100%; }
  .quick-inner a { display: grid; grid-template-rows: 1fr 21px; justify-content: stretch; justify-items: center; min-height: 72px; gap: 3px; line-height: 1.16; font-size: 14px; padding: 9px 10px; text-align: center; text-wrap: balance; }
  .quick-inner a:first-child, .quick-inner a:last-child { border-inline-end: 0; }
  .section, .vision-inner { text-align: center; }
  .section-label { justify-content: center; }
  .section-label::after { content: ""; width: 20px; height: 1px; background: currentColor; }
  .split, .vision-inner, .care-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .split h2 { margin-bottom: 0; }
  .care-grid, .involvement-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 24px; }
  .care-grid article { padding: 16px 19px; }
  .care-grid article::before { margin-inline: auto; }
  .care-photo { border-end-end-radius: 42px; }
  .press-heading { flex-direction: column; align-items: center; gap: 4px; }
  .press-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .vision-inner { gap: 26px; }
  .vision .lead { margin-inline: auto; }
  .vision-status { padding: 12px 0 0; border: 0; border-block-start: 1px solid #68a5bd; margin-inline: auto; }
  .founding-inner { flex-direction: column; }
  .involvement-grid article { align-items: center; padding-block: 16px 9px; }
  .community-photo img { object-position: 50% 37%; }
  .accordion, .enquiry { text-align: start; }
  .contact .split { gap: 24px; }
  .contact h2 { margin-bottom: 12px; }
  .contact p { margin-inline: auto; }
  .footer-inner { gap: 10px; padding-right: 50px; }
  .whatsapp-float { width: 52px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 30px); }
  .quick-inner { width: 100%; }
  .quick-inner a { padding-inline: 8px; }
  .button-small { gap: 7px; padding-inline: 8px; }
  .form-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .button { transition: none; }
}
