:root {
  color-scheme: light;
  --ink: #12343c;
  --muted: #5b7378;
  --paper: #f8f5ee;
  --surface: #fffdf8;
  --teal: #0d6472;
  --teal-deep: #073f4b;
  --aqua: #9edbd3;
  --coral: #ef725f;
  --sand: #ead9bb;
  --line: rgba(18, 52, 60, 0.17);
  --shadow: 0 24px 70px rgba(16, 56, 65, 0.13);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --page: min(1180px, calc(100% - 48px));
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf8f5;
  --muted: #b3c9c8;
  --paper: #092f38;
  --surface: #0d3b45;
  --teal: #77d2c8;
  --teal-deep: #05242b;
  --aqua: #5ebdb5;
  --coral: #ff8875;
  --sand: #bfae8e;
  --line: rgba(224, 245, 240, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.site-mark__number { color: var(--coral); font: 600 48px/0.8 var(--serif); }
.site-mark__text { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; }

.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.primary-nav a { position: relative; padding: 28px 0 24px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: var(--coral); content: ""; transform: scaleX(0); transition: transform 0.2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-active { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-active::after { transform: scaleX(1); }

.theme-toggle, .menu-toggle { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; }
.menu-toggle { display: none; margin-left: auto; }

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--teal-deep);
  background-image: linear-gradient(100deg, rgba(4, 38, 46, 0.97) 0%, rgba(4, 38, 46, 0.88) 52%, rgba(4, 38, 46, 0.34) 100%), url("../images/atami-sun-beach.jpg");
  background-position: center;
  background-size: cover;
  color: #f4fbf9;
}
.hero__wash { position: absolute; inset: 0; opacity: 0.4; background: radial-gradient(circle at 80% 25%, rgba(148, 221, 211, 0.45), transparent 32%), linear-gradient(115deg, transparent 50%, rgba(239, 114, 95, 0.16)); }
.hero__inner { position: relative; width: var(--page); min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 70px; padding: 90px 0 130px; }
.hero__copy { max-width: 710px; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; }
.hero .eyebrow, .eyebrow--light { color: var(--aqua); }
.hero h1 { max-width: 760px; margin: 0; font: 500 clamp(54px, 7vw, 92px)/0.93 var(--serif); letter-spacing: -0.045em; }
.hero h1 span { display: block; margin-bottom: 14px; color: var(--coral); font: 700 15px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.hero__lead { max-width: 600px; margin: 30px 0 0; color: #cce0de; font-size: 18px; }
.hero__actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--coral); color: #fff; }
.button--primary:hover { background: #db604e; }
.button--text { min-height: auto; padding: 8px 0; color: #fff; border-bottom-color: rgba(255,255,255,0.45); }
.button--light { background: #f6fbf9; color: #113b44; }
.button--disabled { margin-top: 22px; background: var(--line); color: var(--muted); cursor: not-allowed; }
.button--disabled:hover { transform: none; }

.hero-art { position: relative; width: min(400px, 32vw); aspect-ratio: 1; justify-self: end; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; }
.hero-art::before, .hero-art::after { position: absolute; content: ""; border-radius: 50%; }
.hero-art::before { inset: 19%; border: 1px solid rgba(255,255,255,0.16); }
.hero-art::after { inset: 39%; background: var(--coral); box-shadow: 0 0 55px rgba(239, 114, 95, 0.4); }
.hero-art__orbit { position: absolute; border: 1px solid rgba(159, 221, 212, 0.4); border-radius: 50%; }
.hero-art__orbit--one { inset: 7%; transform: rotate(48deg) scaleY(0.34); }
.hero-art__orbit--two { inset: 12%; transform: rotate(-38deg) scaleY(0.22); }
.hero-art__cell { position: absolute; z-index: 2; width: 13px; height: 13px; background: var(--aqua); border: 3px solid #e6f7f4; border-radius: 50%; }
.hero-art__cell--one { top: 27%; left: 14%; }
.hero-art__cell--two { right: 12%; bottom: 29%; }
.hero-art__cell--three { right: 29%; top: 8%; }
.hero-art__label { position: absolute; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; }
.hero-art__label--top { top: 23%; right: -3%; }
.hero-art__label--bottom { bottom: 19%; left: -3%; }
.hero-art__year { position: absolute; bottom: 6%; left: 50%; color: rgba(255,255,255,0.42); font: 500 30px/1 var(--serif); transform: translateX(-50%); }

.hero__meta { position: relative; width: var(--page); margin: -74px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.hero__meta > div { min-height: 148px; padding: 34px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.hero__meta > div:last-child { border-right: 0; }
.meta-label, .fact-card__label { margin-bottom: 8px; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.hero__meta strong { font: 500 22px/1.25 var(--serif); }

.section { width: var(--page); margin: 0 auto; padding: 120px 0; }
.section--intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; padding-top: 180px; }
.section-heading h2, .subsection h2, .content-grid h2, .contact-intro h2 { margin: 0; font: 500 clamp(37px, 4.5vw, 60px)/1.03 var(--serif); letter-spacing: -0.025em; }
.prose--large { color: var(--muted); font-size: 18px; }
.prose--large p:first-child { margin-top: 0; }
.status-note { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.status-note span, .status-badge { display: inline-block; margin-right: 9px; padding: 4px 8px; background: var(--sand); color: #604b2e; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.section--tint { width: 100%; max-width: none; padding-right: max(24px, calc((100% - 1180px) / 2)); padding-left: max(24px, calc((100% - 1180px) / 2)); background: color-mix(in srgb, var(--aqua) 18%, var(--surface)); }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading--row > p { max-width: 430px; margin: 0; color: var(--muted); }
.card-grid { display: grid; gap: 22px; margin-top: 60px; }
.card-grid--three { grid-template-columns: repeat(3, 1fr); }
.info-card { min-height: 320px; padding: 38px; background: var(--surface); border-top: 3px solid var(--coral); box-shadow: 0 14px 45px rgba(18,52,60,0.07); }
.info-card__number { color: var(--aqua); font: 500 47px/1 var(--serif); }
.info-card h3 { margin: 64px 0 10px; font: 500 29px/1.1 var(--serif); }
.info-card p { min-height: 82px; color: var(--muted); font-size: 14px; }
.info-card a, .side-note a { color: var(--teal); font-size: 13px; font-weight: 700; text-decoration: none; }

.section--organizer { padding-top: 0; padding-bottom: 0; }
.organizer-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 76px; background: var(--teal-deep); color: #f4fbf9; }
.organizer-panel h2 { margin: 0; font: 500 clamp(38px, 5vw, 62px)/1.04 var(--serif); }
.organizer-panel__details { color: #c8dedd; }
.organizer-panel__details p { margin: 0 0 26px; }
.sponsors h2 { margin: 0 0 40px; font: 500 46px/1 var(--serif); }
.placeholder-panel { min-height: 150px; display: grid; place-items: center; border: 1px dashed var(--line); background: color-mix(in srgb, var(--surface) 65%, transparent); color: var(--muted); text-align: center; }
.placeholder-panel--large { min-height: 260px; margin-top: 35px; }

.page-hero { overflow: hidden; position: relative; background: var(--sand); }
.page-hero::after { position: absolute; right: -6%; bottom: -90%; width: 440px; height: 440px; border: 1px solid rgba(12, 99, 113, 0.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,0.09), 0 0 0 140px rgba(255,255,255,0.07); content: ""; }
.page-hero--coral { background: #edbaa8; }
.page-hero--blue { background: #a8d9d5; }
.page-hero--dark { background: var(--teal-deep); color: #f4fbf9; }
.page-hero__inner { position: relative; z-index: 1; width: var(--page); padding: 100px 0 90px; }
.page-hero h1 { margin: 0; font: 500 clamp(58px, 8vw, 98px)/0.95 var(--serif); letter-spacing: -0.045em; }
.page-hero p:last-child { margin: 22px 0 0; color: color-mix(in srgb, currentColor 70%, transparent); font-size: 17px; }
.page-section { padding-top: 100px; }
.notice-box { margin-top: 50px; padding: 34px 38px; border-left: 3px solid var(--coral); background: var(--surface); box-shadow: 0 10px 35px rgba(18,52,60,0.06); }
.notice-box h3 { margin: 0 0 7px; font: 500 25px/1.2 var(--serif); }
.notice-box p { margin: 0; color: var(--muted); }

.timeline { margin-top: 70px; border-top: 1px solid var(--line); }
.timeline__day { display: grid; grid-template-columns: 150px 1fr; gap: 45px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.timeline__date { display: flex; align-items: baseline; gap: 10px; }
.timeline__date span { color: var(--coral); font: 500 58px/1 var(--serif); }
.timeline__date small { font-size: 9px; font-weight: 700; letter-spacing: 0.15em; }
.timeline__content h3 { margin: 3px 0 8px; font: 500 28px/1.2 var(--serif); }
.timeline__content p { margin: 0; color: var(--muted); }
.subsection { margin-top: 110px; }
.subsection__heading p { color: var(--muted); }
.download-list { margin-top: 35px; border-top: 1px solid var(--line); }
.download-item { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); }
.download-item span { font-weight: 700; }
.download-item small { color: var(--muted); }

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact-card { min-height: 210px; display: flex; flex-direction: column; justify-content: center; padding: 34px; background: var(--surface); }
.fact-card strong { font: 500 27px/1.2 var(--serif); }
.fact-card p { margin: 9px 0 0; color: var(--muted); }
.fact-card a { color: var(--teal); font-size: 13px; font-weight: 700; text-decoration: none; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 100px; margin-top: 110px; align-items: start; }
.content-grid > div > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 17px; }
.side-note { padding: 30px; border-top: 3px solid var(--aqua); background: var(--surface); box-shadow: 0 12px 36px rgba(18,52,60,0.07); }
.side-note h3 { margin: 0 0 10px; font: 500 24px/1.2 var(--serif); }
.side-note p { color: var(--muted); font-size: 14px; }
.date-list { margin-top: 34px; border-top: 1px solid var(--line); }
.date-list div { display: grid; grid-template-columns: 1fr 1fr; padding: 21px 0; border-bottom: 1px solid var(--line); }
.date-list span { color: var(--muted); }
.legal-copy { padding: 50px; background: color-mix(in srgb, var(--sand) 28%, transparent); }
.legal-copy p:last-child { max-width: 840px; color: var(--muted); }

.venue-feature { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 430px; background: var(--surface); box-shadow: var(--shadow); }
.venue-feature__media { min-height: 430px; margin: 0; overflow: hidden; }
.venue-feature__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.venue-feature__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 60px; }
.venue-feature__content h2 { margin: 0; font: 500 clamp(42px, 5vw, 68px)/1 var(--serif); }
.venue-feature__content > p:not(.eyebrow) { color: var(--muted); }
.venue-feature__content address { margin: 22px 0 30px; color: var(--muted); font-style: normal; }
.access-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button--outline { border-color: var(--line); color: var(--teal); }
.button--outline:hover { border-color: var(--teal); }
.travel-feature { display: grid; grid-template-columns: 0.95fr 1.05fr; margin-top: 120px; background: var(--surface); box-shadow: var(--shadow); }
.travel-feature__media { min-height: 590px; margin: 0; overflow: hidden; }
.travel-feature__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.travel-feature__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 58px; }
.travel-feature__content h2 { margin: 0; font: 500 clamp(38px, 4.7vw, 58px)/1.03 var(--serif); }
.travel-feature__content > p:not(.eyebrow) { color: var(--muted); }
.detail-list { margin: 22px 0 30px; padding: 0; list-style: none; }
.detail-list li { position: relative; margin: 0 0 10px; padding-left: 22px; color: var(--muted); font-size: 14px; }
.detail-list li::before { position: absolute; top: 0.68em; left: 0; width: 6px; height: 6px; background: var(--coral); border-radius: 50%; content: ""; }
.access-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 24px; }
.access-card { position: relative; overflow: hidden; min-height: 380px; padding: 44px; border-top: 3px solid var(--aqua); background: var(--surface); }
.access-card__number { position: absolute; right: 25px; top: 18px; color: color-mix(in srgb, var(--aqua) 42%, transparent); font: 500 76px/1 var(--serif); }
.access-card h3 { position: relative; margin: 0 0 22px; font: 500 33px/1.1 var(--serif); }
.access-card p:not(.eyebrow) { position: relative; color: var(--muted); }
.source-note { margin: 28px 0 0; padding: 20px 24px; border-left: 3px solid var(--sand); color: var(--muted); font-size: 13px; }
.source-note a { color: var(--teal); font-weight: 700; }
.photo-stack { margin-top: 40px; }
.photo-item { position: relative; width: 100%; margin: 0 0 18px; overflow: hidden; }
.photo-item:last-child { margin-bottom: 0; }
.photo-item img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: contain; background: #dceef2; }
.photo-item figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 10px 13px; background: rgba(5, 42, 50, 0.78); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(6px); }

.contact-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 90px; align-items: end; }
.contact-intro > p { color: var(--muted); font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 70px; }
.contact-card { min-height: 560px; padding: 48px; border: 1px solid var(--line); background: var(--surface); }
.contact-card--primary { background: var(--teal-deep); color: #f4fbf9; }
.contact-card h2 { margin: 0 0 30px; font: 500 37px/1.06 var(--serif); }
.contact-card p, .contact-card address { color: color-mix(in srgb, currentColor 72%, transparent); font-style: normal; }
.contact-links { display: flex; flex-direction: column; gap: 8px; margin-top: 35px; padding-top: 25px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.contact-links a { font-weight: 700; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.response-note { display: flex; gap: 20px; margin-top: 24px; padding: 24px 28px; background: color-mix(in srgb, var(--aqua) 18%, var(--surface)); }
.response-note span { color: var(--coral); }
.response-note p { margin: 0; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { width: var(--page); min-height: 250px; margin: 0 auto; padding: 60px 0 35px; display: grid; grid-template-columns: 1.2fr 1fr; align-content: space-between; gap: 35px; }
.footer-inner strong { font: 500 25px/1.2 var(--serif); }
.footer-inner p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.copyright { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  :root { --page: min(100% - 36px, 720px); }
  .nav-shell { min-height: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }
  .menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { display: block; width: 20px; height: 1px; background: currentColor; content: ""; transition: transform 0.2s ease; }
  .menu-toggle__icon { position: relative; }
  .menu-toggle__icon::before { position: absolute; top: -6px; }
  .menu-toggle__icon::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; padding: 14px 18px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .theme-toggle { width: 34px; height: 34px; }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; padding: 90px 0 170px; }
  .hero-art { position: absolute; right: -90px; bottom: 40px; width: 300px; opacity: 0.55; }
  .hero__copy { position: relative; z-index: 2; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta > div { min-height: 105px; padding: 25px 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section--intro, .organizer-panel, .contact-intro { grid-template-columns: 1fr; gap: 45px; }
  .section--intro { padding-top: 320px; }
  .card-grid--three, .facts-grid { grid-template-columns: 1fr; }
  .info-card { min-height: 270px; }
  .info-card h3 { margin-top: 35px; }
  .organizer-panel { padding: 55px 40px; }
  .content-grid { grid-template-columns: 1fr; gap: 50px; }
  .venue-feature { grid-template-columns: 1fr; }
  .venue-feature__media { min-height: 320px; }
  .travel-feature { grid-template-columns: 1fr; }
  .travel-feature__media { min-height: 390px; }
  .access-card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: auto; }
}

@media (max-width: 600px) {
  :root { --page: calc(100% - 28px); }
  .site-mark__number { font-size: 40px; }
  .site-mark__text { font-size: 9px; }
  .menu-toggle__label { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); }
  .hero__inner { padding-top: 72px; }
  .hero h1 { font-size: clamp(49px, 15vw, 66px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .section { padding: 85px 0; }
  .section--intro { padding-top: 310px; }
  .section-heading--row { align-items: flex-start; flex-direction: column; gap: 24px; }
  .section--tint { padding-right: 14px; padding-left: 14px; }
  .organizer-panel { padding: 40px 28px; }
  .page-hero__inner { padding: 75px 0 65px; }
  .timeline__day { grid-template-columns: 1fr; gap: 15px; }
  .timeline__date { align-items: center; }
  .subsection { margin-top: 80px; }
  .download-item, .date-list div { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; gap: 4px; }
  .legal-copy { padding: 30px 24px; }
  .venue-feature__content { padding: 40px 28px; }
  .travel-feature__content { padding: 40px 28px; }
  .travel-feature__media { min-height: 300px; }
  .access-card { min-height: auto; padding: 36px 28px; }
  .contact-card { padding: 34px 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
