:root {
  color-scheme: light;
  --bg: #F3F7F6;
  --surface: #FFFFFF;
  --alt: #EAF1F0;
  --primary: #176B72;
  --strong: #0F4E56;
  --deep: #0A3D43;
  --soft: #DCEEEF;
  --accent: #D98245;
  --accent-soft: #FFE9D5;
  --text: #17292B;
  --muted: #5B6B6D;
  --border: #D5E0DE;
  --info: #2E668B;
  --success: #2E7D55;
  --warning: #A96516;
  --error: #B53B3B;
  font: 16px/1.45 Arial, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}
main { overflow: auto; overscroll-behavior: contain; padding-right: clamp(0px, 15vw, 240px); scroll-padding-block: 16px; }
main:focus-visible { outline-offset: -4px; }
[hidden] { display: none !important; }
a { color: var(--strong); text-underline-offset: 4px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { color: var(--deep); line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 5.6vw, 4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
svg { display: block; }
.wrap { width: min(calc(100% - 48px), 1180px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 2; padding: 16px; background: var(--surface); }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 1; border-bottom: 1px solid var(--border); }
.banner {
  position: relative;
  height: clamp(120px, 15vw, min(25vh, 240px));
  background: radial-gradient(ellipse at 82% 130%, var(--accent-soft), transparent 48%),
              radial-gradient(ellipse at 16% 12%, #C5E2E1, transparent 62%),
              var(--soft);
  border-bottom: 1px solid var(--border);
}
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-panorama {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
}
.banner-scene { position: relative; min-width: 0; }
.banner-scene img {
  position: absolute;
  top: 0;
  right: 0;
  width: 116%;
  object-position: var(--scene-x, 50%) var(--scene-y, 59%);
  mask-image: linear-gradient(90deg, transparent, #000 14%);
}
.banner-scene:first-child img { width: 100%; mask-image: none; }
.banner-scene:nth-child(2) { --scene-x: 37%; --scene-y: 56%; }
.banner-scene:nth-child(3) { --scene-x: 39%; --scene-y: 60%; }
.banner-scene:nth-child(4) { --scene-x: 25%; --scene-y: 67%; }
.banner-scene:nth-child(5) { --scene-x: 26%; --scene-y: 63%; }
.banner-scene:nth-child(6) { --scene-x: 39%; --scene-y: 65%; }
.banner-note { position: absolute; top: 12px; left: max(16px, calc((100vw - 1180px) / 2)); padding: 4px 8px; background: var(--surface); color: var(--strong); border-radius: 8px; font-size: .8125rem; }
.main-nav { position: relative; justify-content: flex-end; margin-top: -24px; margin-bottom: 8px; gap: 8px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; min-height: 48px; align-items: center; gap: 8px; text-decoration: none; font-size: 1.5rem; font-weight: 800; letter-spacing: -.05em; }
.brand svg, .visit-top svg { width: 40px; height: 40px; }
.brand-main { color: var(--deep); margin-bottom: 24px; font-size: 1.75rem; }
.brand-main svg { width: 48px; height: 48px; }
.brand-dot { color: var(--accent); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
nav a, .text-link { display: inline-flex; align-items: center; min-height: 48px; }
.main-nav a { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; padding-inline: 16px; font-weight: 700; gap: 4px; }
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline; }
.main-nav .login { background: var(--primary); border-color: var(--primary); color: var(--surface); }
.login span { font-weight: 400; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding-block: clamp(32px, 5vw, 64px) 48px; }
.hero-copy { max-width: 640px; }
.eyebrow { color: var(--strong); font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; }
.intro { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--muted); max-width: 62ch; margin-bottom: 24px; }
.button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 14px; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.primary { background: var(--primary); color: var(--surface); }
.primary:hover, .primary:active { background: var(--strong); color: var(--surface); }
.button:disabled { color: var(--muted); background: var(--alt); border-color: var(--border); cursor: default; }
.hero-art { display: grid; place-items: center; min-height: 340px; padding: 32px; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(ellipse at 110% 104%, var(--accent-soft), transparent 56%), var(--soft); }
.visit-card { width: min(100%, 366px); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); padding: 16px; }
.visit-top { display: flex; align-items: center; gap: 8px; color: var(--deep); font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; }
.visit-body { background: var(--alt); padding: 16px; border-radius: 14px; }
.visit-body strong { display: block; color: var(--deep); font-size: 1.25rem; margin-top: 4px; }
.steps { padding-left: 24px; margin: 12px 0 0; }
.steps li { padding-left: 4px; margin-block: 8px; }
.steps li::marker { color: var(--strong); font-weight: 700; }
.audience > p { max-width: 65ch; margin-bottom: 24px; }
.cards, .support { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.card p { color: var(--muted); }
.support { margin-block: 16px 48px; }
.support h2 { font-size: 1.25rem; }
.region { background: var(--soft); }
.urgent { background: var(--accent-soft); }
.urgent h2, .urgent p { color: #62380F; }
.reading { width: min(calc(100% - 48px), 840px); margin: 48px auto 64px; }
.reading h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.reading section + section, .feature { margin-top: 32px; }
.feature .button { margin-bottom: 16px; }
.notice { color: var(--deep) !important; background: var(--soft); border-radius: 14px; padding: 16px; margin: 16px 0; }
.webmail { max-width: 640px; }
.webmail-card { padding: clamp(24px, 6vw, 56px); }
.webmail-card svg { width: 56px; height: 56px; margin-bottom: 24px; }
.small { margin-top: 16px; font-size: .875rem; }
footer { background: var(--alt); border-top: 1px solid var(--border); padding-right: clamp(0px, 15vw, 240px); }
.supporters, .sponsors { display: flex; align-items: center; gap: 8px; }
.supporters { color: var(--deep); font-size: .875rem; }
.sponsor { display: grid; place-items: center; width: 44px; height: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; color: var(--primary); }
.sponsor img { width: 100%; height: 100%; object-fit: contain; }
.photo-stack { position: fixed; right: 0; bottom: 0; width: clamp(128px, 18vw, 244px); aspect-ratio: 1 / 1.2; pointer-events: none; overflow: hidden; }
.polaroid { position: absolute; width: 57%; aspect-ratio: 1 / 1.15; display: block; background: var(--surface); border: 1px solid var(--border); padding: 6% 5% 13%; box-shadow: 0 4px 16px #0A3D4324; }
.polaroid > span { display: block; height: 100%; background: linear-gradient(140deg, var(--soft), var(--alt)); }
.polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid-image { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; animation: photo-appear 650ms ease-out; }
.polaroid-image-sheet { background-size: 200% 200%; }
@keyframes photo-appear { from { opacity: .15; } to { opacity: 1; } }
.photo-toggle { position: fixed; right: 8px; bottom: 4px; z-index: 1; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--deep); font: 700 1rem Arial, sans-serif; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .polaroid-image { animation: none; } }
.photo-1 { top: 9%; right: -6%; transform: rotate(22deg); }
.photo-2 { top: 31%; right: 23%; transform: rotate(-11deg); }
.photo-3 { bottom: -17%; right: 43%; transform: rotate(-15deg); }
.photo-4 { bottom: -10%; right: -3%; transform: rotate(16deg); }
.photo-1 > span, .photo-4 > span { background: linear-gradient(140deg, var(--accent-soft), var(--bg)); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: auto; padding: 24px; }
}
@media (max-width: 640px) {
  .wrap, .reading { width: calc(100% - 32px); }
  .banner { height: 72px; }
  .main-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 5px 16px 6px; margin-top: -22px; margin-bottom: 0; }
  .main-nav a { flex: 0 0 auto; padding-inline: 12px; font-size: .875rem; white-space: nowrap; }
  main, footer { padding-right: 0; }
  .hero, .cards, .support { grid-template-columns: 1fr; }
  .hero { gap: 24px; padding-bottom: 32px; }
  .hero-art { min-height: auto; padding: 16px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 0; }
  .supporters { min-height: 32px; padding-right: 68px; }
  .photo-stack { width: 68px; bottom: 48px; }
  .photo-toggle { bottom: 48px; right: 62px; }
  footer nav { gap: 0 12px; font-size: .875rem; }
  .reading { margin-block: 32px 48px; }
}
@media (max-height: 420px) {
  .banner { height: 55px; }
  .photo-stack { max-width: 92px; }
}
