/* SunShine multi-page website — standalone, shared styles. */
:root {
  color-scheme: light;
  --navy: #122c3a;
  --navy-deep: #0a1e29;
  --gold: #b58a39;
  --gold-light: #e9c982;
  --mist: #edf4ef;
  --paper: #fcfcf8;
  --ink: #19333f;
  --muted: #52646b;
  --line: #d5dfd9;
  --radius: 16px;
  --shadow: 0 12px 36px rgb(18 44 58 / 7%);
  --header-height: 80px;
  font-family: Inter, "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html { scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.7; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
::selection { background: var(--gold-light); color: var(--navy-deep); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
iframe { max-width: 100%; border: 0; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
:focus-visible { outline: 3px solid #896017; outline-offset: 5px; }
h1, h2, h3, h4 { margin: 0 0 0.75em; color: var(--navy); font-weight: 650; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.85rem, 3.1vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-inline-start: 1.4em; }
li + li { margin-top: 0.45em; }
blockquote { margin: 2rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-inline-start: 3px solid var(--gold); color: var(--muted); }
hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }

.container { width: min(100% - 64px, 1200px); margin-inline: auto; }
.site-main { min-height: 60vh; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; transform: translateY(-180%); border-radius: 8px; background: var(--navy); color: white; font-weight: 600; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; height: var(--header-height); border-bottom: 1px solid var(--line); background: rgb(252 252 248 / 97%); }
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; height: 100%; min-width: 0; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; color: var(--navy); font-size: 1.5rem; font-weight: 750; letter-spacing: -0.04em; }
.brand img { width: auto; height: 44px; max-width: 170px; object-fit: contain; }
.brand img + span { margin-inline-start: 0; }
.brand img { margin-inline-end: 9px; }
.brand span { color: #77571e; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-inline-start: auto; }
.site-nav ul { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-nav li + li { margin-top: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-link::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transition: transform 160ms ease; }
.nav-link:hover, .nav-link.active, .nav-link[aria-current="page"] { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 10px; }
.language-toggle, .menu-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--navy); font-size: 0.875rem; font-weight: 650; }
.language-toggle:hover, .menu-toggle:hover { background: var(--mist); border-color: #9aada2; }
.language-toggle { text-decoration: none; }
.menu-toggle { display: none; }

.hero { position: relative; padding-block: clamp(64px, 8vw, 112px); background: radial-gradient(ellipse at 95% 0%, #e2ede5 0, transparent 60%), var(--paper); }
.hero h1 { max-width: 19ch; }
.hero .lead { max-width: 62ch; }
.hero .grid { align-items: center; gap: clamp(28px, 5vw, 72px); }
.illustrated-hero { overflow: hidden; padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 48px; }
.hero-copy { min-width: 0; }
.illustrated-hero h1 { font-size: clamp(2.1rem, 3.7vw, 3.7rem); max-width: 18ch; line-height: 1.18; }
.hero-art { margin: 0; min-width: 0; color: var(--navy); }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art figcaption { text-align: center; font-size: .85rem; color: var(--muted); letter-spacing: .06em; }
.hero-secondary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--navy); font-weight: 600; text-underline-offset: 5px; }
.hero-topics { margin: 28px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.illustrated-hero--blog { background: radial-gradient(ellipse at 100% 30%, #eee4cc, transparent 60%), #fcfcf8; }
.illustrated-hero--faq { background: radial-gradient(ellipse at 90% 40%, #d9e9df, transparent 65%), #f4f8f5; }
.illustrated-hero--contact { background: radial-gradient(ellipse at 95% 15%, #264b5c, transparent 65%), #0a1e29; }
.illustrated-hero--contact h1, .illustrated-hero--contact .hero-secondary { color: #f7faf6; }
.illustrated-hero--contact .lead, .illustrated-hero--contact .hero-topics, .illustrated-hero--contact figcaption { color: #c4d1ca; }
.illustrated-hero--contact .eyebrow, .illustrated-hero--contact .hero-art { color: #e9c982; }
.illustrated-hero--contact .button { background: #e9c982; color: #0a1e29; border-color: #e9c982; }
.illustrated-hero--contact .button:hover { background: #f5dba5; }
#articles, #questions, #contact-form { scroll-margin-top: 100px; }
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .illustrated-hero h1 { max-width: 23ch; }
  .hero-art { width: min(100%, 480px); justify-self: center; }
}
.eyebrow { display: block; margin: 0 0 18px; color: #77571e; font-size: 0.75rem; font-weight: 750; line-height: 1.5; letter-spacing: 0.15em; text-transform: uppercase; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 12px 22px; border: 1px solid var(--navy); border-radius: 8px; background: var(--navy); color: #fff; font-size: 0.95rem; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; cursor: pointer; }
.button:hover { border-color: #264b5c; background: #264b5c; text-decoration: none; }
.button.secondary { border-color: #a8b8ad; background: transparent; color: var(--navy); }
.button.secondary:hover { background: var(--mist); border-color: var(--navy); }

.section { padding-block: clamp(52px, 6.5vw, 88px); }
.section.soft { background: var(--mist); }
.section.dark { background: var(--navy-deep); color: #e4ece7; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading > :last-child { margin-bottom: 0; }
.section-heading p { color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > *, .header-inner > *, .footer-inner > * { min-width: 0; }
.card { min-width: 0; padding: clamp(22px, 2.5vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); overflow-wrap: anywhere; }
a.card { display: block; text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
a.card:hover { border-color: var(--gold); box-shadow: 0 16px 40px rgb(18 44 58 / 12%); }
.card p { color: var(--muted); }
.card h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -0.025em; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.card .eyebrow { color: #77571e; }
.card > :last-child { margin-bottom: 0; }
.card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 24px; overflow: hidden; border-radius: 10px; background: var(--mist); object-fit: cover; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px; padding: 0; list-style: none; }
.chips li + li { margin-top: 0; }
.chip { display: inline-flex; align-items: center; max-width: 100%; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); color: #354f43; font-size: 0.8rem; line-height: 1.5; }
a.chip, button.chip { min-height: 44px; text-decoration: none; }
a.chip:hover, button.chip:hover { border-color: var(--gold); }
.feature-image { display: block; width: 100%; height: auto; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: auto; }
.feature-image figcaption { padding: 12px 18px; color: var(--muted); font-size: 0.875rem; }
.feature-image + .grid { margin-top: 32px; }
.about-hero-video { background: var(--navy-deep); }
.about-hero-video video { display: block; width: 100%; height: clamp(240px, 56.25vw, 680px); object-fit: cover; }

.timeline { margin-block: 28px; }
ol.timeline, .timeline ol { margin-inline-start: 8px; padding: 0 0 0 28px; border-inline-start: 1px solid var(--line); list-style: none; }
.timeline li { position: relative; padding: 0 0 28px 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li + li { margin-top: 0; }
.timeline li::before { position: absolute; top: 7px; left: -34px; width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); content: ""; }
.timeline li > :last-child { margin-bottom: 0; }
.org-root { width: fit-content; max-width: 100%; margin: 0 auto 32px; padding: 20px 32px; border: 1px solid var(--gold); border-radius: 12px; background: var(--navy); color: white; font-weight: 650; text-align: center; }
.org-root :is(h2, h3, h4, p) { color: inherit; }
.org-root > :last-child { margin-bottom: 0; }

.article { max-width: 800px; margin-inline: auto; padding-block: clamp(40px, 5vw, 72px); overflow-wrap: anywhere; }
.article-header { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.5rem); }
.article-header time, .article-header small { color: var(--muted); font-size: 0.875rem; }
.article :is(h2, h3) { margin-top: 1.8em; }
.article :is(img, video) { margin-block: 28px; border-radius: 12px; }
.article pre { max-width: 100%; overflow-x: auto; padding: 20px; border-radius: 8px; background: var(--mist); font-size: 0.875rem; }
.article code { overflow-wrap: anywhere; }
.page-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.page-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
form > * + *, #brief-panel > * + * { margin-top: 20px; }
#brief-panel { margin-top: 32px; }
[role="status"]:not(:empty) { margin-top: 20px; color: var(--navy); }
.field:has(textarea), .form-grid > :is(.actions, .notice, .button), .form-grid > button { grid-column: 1 / -1; }
.field label, label.field { color: var(--navy); font-size: 0.9rem; font-weight: 650; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), textarea, select { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #9eafa5; border-radius: 8px; background: white; color: var(--ink); line-height: 1.5; }
textarea { min-height: 160px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #64756c; opacity: 1; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--navy); vertical-align: middle; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: #a22e26; }
.field small { color: var(--muted); font-size: 0.8rem; font-weight: 400; }
.notice { margin-block: 20px; padding: 16px 20px; border: 1px solid #d7c495; border-inline-start: 3px solid var(--gold); border-radius: 8px; background: #faf4e5; color: #59451f; overflow-wrap: anywhere; }
.notice > :last-child { margin-bottom: 0; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { min-height: 44px; padding: 8px 28px 8px 0; color: var(--navy); font-size: 1.05rem; font-weight: 650; line-height: 1.5; cursor: pointer; }
summary::marker { color: #896017; }
details[open] summary { margin-bottom: 12px; }
details > :last-child { margin-bottom: 0; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-inline: 0; overflow: hidden; border: 1px solid #344a54; border-radius: var(--radius); background: var(--navy-deep); box-shadow: var(--shadow); }
.video-frame :is(iframe, video) { display: block; width: 100%; height: 100%; object-fit: contain; }
video.video-frame { height: auto; object-fit: contain; }
.actions + .video-frame { margin-top: 32px; }

.site-footer { padding-block: 48px 32px; border-top: 1px solid #354a53; background: var(--navy-deep); color: #c4d1ca; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px 48px; }
.footer-inner > p { max-width: 48ch; }
.site-footer .brand { color: #fff; }
.site-footer nav, .site-footer .page-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .page-links { border-color: #354a53; }
.footer-inner .page-links { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer .nav-link { color: #c4d1ca; }
.site-footer .nav-link:hover, .site-footer .nav-link.active, .site-footer .nav-link[aria-current="page"] { color: var(--gold-light); background: transparent; }
.section.dark :is(h1, h2, h3, h4, summary) { color: #f7faf6; }
.section.dark :is(.lead, .section-heading p) { color: #c4d1ca; }
.section.dark .eyebrow { color: var(--gold-light); }
.section.dark .button { border-color: var(--gold-light); background: var(--gold-light); color: var(--navy-deep); }
.section.dark .button:hover { background: #f3dbab; }
.section.dark .button.secondary { border-color: #82968a; background: transparent; color: #f7faf6; }
.section.dark .button.secondary:hover { background: #223a45; }
.section.dark .card :is(h2, h3, h4) { color: var(--navy); }
.section.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

@media (max-width: 1099px) {
  .header-actions { margin-inline-start: auto; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: var(--header-height); right: 0; left: 0; display: none; max-height: calc(100vh - var(--header-height) - 16px); max-height: calc(100dvh - var(--header-height) - 16px); margin: 0; padding: 16px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { display: flex; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 6px; white-space: normal; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active, .nav-link[aria-current="page"] { background: var(--mist); box-shadow: inset 3px 0 var(--gold); }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .brand img { max-width: 132px; height: 38px; }
  .grid.two, .grid.three, .grid.four, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 52px 60px; }
  .hero h1 { max-width: 100%; }
  .section-heading { margin-bottom: 28px; }
  .grid { gap: 20px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .article { width: min(100% - 40px, 800px); }
  .container .article, .article.container { width: 100%; }
  .article.container { width: calc(100% - 40px); }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .language-toggle, .menu-toggle { padding-inline: 9px; }
  .brand img { max-width: 114px; }
  .header-actions .button { padding-inline: 10px; font-size: 0.8rem; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (forced-colors: active) {
  .nav-link.active, .nav-link[aria-current="page"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .button, .chip, .card, .org-root { border: 1px solid ButtonText; }
}

@media print {
  .site-header, .site-footer, .skip-link, .menu-toggle, .language-toggle { display: none !important; }
  body, .hero, .section.soft, .section.dark { background: white; color: black; }
  .section.dark :is(h1, h2, h3, h4, p, .eyebrow) { color: black; }
  .container, .article { width: 100%; max-width: none; }
  .hero, .section, .article { padding-block: 20px; }
  .card, .feature-image, .video-frame { box-shadow: none; }
  .card, .feature-image, details { break-inside: avoid; }
}

.site-footer .page-links .nav-link { color: #d6e1dc; }
.site-footer .page-links .nav-link:hover,
.site-footer .page-links .nav-link.active { color: #e9c982; background: transparent; }
.feature-image + .grid { margin-top: 32px; }
