:root {
  color-scheme: light;
  --ink: #152d31;
  --muted: #466164;
  --teal: #075456;
  --deep: #092a31;
  --paper: #f7f5ee;
  --gold: #f4c67c;
  --line: #d8e0d9;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
a { color: var(--teal); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #c17729; outline-offset: 4px; }
img, video { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.32; letter-spacing: .015em; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.24rem; }
.wrap, .header-inner { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -8rem; padding: .5rem 1rem; background: white; z-index: 5; }
.skip:focus { top: .5rem; }
.site-header { background: var(--deep); color: #fff; position: relative; z-index: 3; }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 850; letter-spacing: .045em; }
.brand img { border-radius: 50%; }
.site-header a { color: #fff; text-decoration: none; }
.desktop-nav { display: flex; gap: clamp(.6rem, 2vw, 1.4rem); align-items: center; font-size: .9rem; }
.desktop-nav a:hover, .site-header [aria-current] { color: var(--gold); }
.mobile-nav { display: none; }
.hero, .article-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: white; }
.hero-image, .article-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #051f29f5 1%, #051f29b0 46%, #051f2915 100%); }
.hero-inner { min-height: min(630px, 75vh); padding-block: clamp(66px, 11vw, 140px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.kicker { color: var(--teal); font-weight: 850; font-size: .79rem; letter-spacing: .12em; margin: 0 0 .55rem; }
.hero .kicker, .article-hero .kicker { color: var(--gold); }
.hero p:not(.kicker), .deck { color: #f4fbf9; font-size: clamp(1rem, 2.4vw, 1.22rem); }
.hero-inner, .article-heading, .home-sections > section, .reading { animation: appear .64s ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .75rem; }
.button { display: inline-flex; gap: 1rem; align-items: center; padding: .72em 1.1em; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: .92rem; }
.primary { background: var(--gold); color: #17292a; }
.secondary { border: 1px solid #cfe5de; background: #082b37bb; color: white; }
.button:hover { filter: brightness(1.13); }
.home-sections { padding-block: 3.5rem; }
.section-lead { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; margin: 1.4rem 0; }
.card { display: block; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px #173e3a25; }
.card-image { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.card-copy { padding: 1rem; }
.card-copy p { color: var(--muted); font-size: .92rem; margin: .35rem 0; }
.arrow { color: var(--teal); font-weight: 800; }
.advert { margin: 2.4rem auto; text-align: center; color: var(--muted); font-size: .72rem; max-width: 970px; }
.advert ins { display: block; }
.advert:has(ins[data-ad-status="unfilled"]) { display: none; }
.article-wrap { padding-block: 1.4rem 3rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; color: var(--muted); font-size: .83rem; }
.article-hero { border-radius: 18px; }
.article-hero::before { background: linear-gradient(90deg, #051f29f5, #051f29c0 52%, #051f2925); }
.article-heading { max-width: 760px; padding: clamp(1.2rem, 6vw, 4rem); }
.article-heading h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); }
.article-heading time { font-size: .85rem; color: #d1e4e4; }
.reading { max-width: 780px; margin: 2.6rem auto 0; }
.reading.wide { max-width: 100%; }
.reading > section:not(:has(.cards)), .reading > figure { max-width: 780px; margin-inline: auto; }
.reading > section { margin-block: 2rem; }
.reading h2 { padding-inline-start: .7rem; border-inline-start: .28rem solid #27716b; }
.related { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 2rem; }
.related a { padding: .5em .8em; border: 1px solid var(--line); border-radius: 6px; background: white; font-size: .93rem; }
.videos { display: grid; gap: 1rem; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin: .35rem 0; }
video { width: 100%; background: #0d262c; aspect-ratio: 4/3; border-radius: 10px; }
.photo img { max-height: 360px; width: auto; border-radius: 10px; }
.site-footer { background: var(--deep); padding-block: 2rem; color: #d6e7e4; }
.site-footer a { color: #fff; margin-inline-end: 1rem; }
.site-footer p { margin: .6rem 0 0; font-size: .85rem; }
@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #719293; border-radius: 8px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 21px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
  .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; padding: .4rem 1.2rem 1rem; background: var(--deep); }
  .mobile-nav nav a { display: block; padding: .65rem .4rem; border-bottom: 1px solid #365358; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 64px; }
  .hero-inner { padding-block: 75px; min-height: 0; }
  .hero-image { object-position: 63% center; }
  .hero::before { background: linear-gradient(90deg,#061f2be8,#061f2b77); }
  .article-hero::before { background: #061f2bbd; }
  .home-sections { padding-block: 2.4rem; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
