:root {
  --bg: #F4FAFC;
  --deep-bg: #FFFFFF;
  --secondary: #E7F3F6;
  --title: #0E3A46;
  --text: #24505A;
  --muted: #4A7380;
  --soft: #7A9AA4;
  --brand: #1A7F8F;
  --bright: #2BB3C4;
  --deep: #0F5B68;
  --pale: #D7EEF2;
  --line: rgba(26,127,143,0.16);
  --shadow: 0 14px 34px rgba(14,58,70,0.08);
  --radius: 16px;
  --header-space: 124px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; overflow-x: hidden; }
body.overlay-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(43,179,196,0.42); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; color: var(--deep); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 300; }
.mist-line { height: 20px; background: var(--title); color: #fff; font-size: 12px; }
.top-inner, .dock-inner, .shell-tabs-inner, .footer-inner, .page-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.top-inner { height: 20px; display: flex; align-items: center; justify-content: space-between; }
.brand-mini { letter-spacing: .08em; }
.icon-button { border: 0; color: #fff; background: transparent; padding: 0 2px; min-width: 44px; height: 20px; font-size: 12px; }
.dock-bar { height: 62px; background: #fff; border-bottom: 1px solid var(--line); }
.dock-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; max-width: 220px; }
.site-logo-image, .footer-logo-image, .drawer-logo-image { width: auto; height: 34px; object-fit: contain; object-position: left center; }
.logo-text { color: var(--title); font-weight: 800; font-size: 20px; letter-spacing: .08em; white-space: nowrap; }
.drawer-open { justify-self: center; min-width: 96px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--deep); font-weight: 700; }
.app-link { justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; color: #fff; background: linear-gradient(135deg,#2BB3C4 0%,#1A7F8F 55%,#0F5B68 100%); border-radius: 10px; font-weight: 700; }
.shell-tabs { height: 42px; background: var(--pale); border-bottom: 1px solid var(--line); }
.shell-tabs-inner { height: 42px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.shell-tabs a { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 11px; color: var(--deep); border-radius: 8px; white-space: nowrap; }
.shell-tabs a.active { background: var(--brand); color: #fff; }
.site-main { padding-top: calc(var(--header-space) + 28px); min-height: 70vh; }
.page-wrap { padding-bottom: 72px; }
.page-hero { margin-bottom: 28px; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { color: var(--title); line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 12px; }
h2 { font-size: 22px; margin-bottom: 10px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 860px; }
.hero-slot { margin: 0 0 18px; width: 100%; max-height: 300px; min-height: 190px; background: var(--pale); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.hero-slot img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; object-position: center; }
.image-slot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.image-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.image-fallback { width: 100%; height: 100%; min-height: inherit; display: grid; place-items: center; background: linear-gradient(145deg, #eef8fa, #d7eef2); color: var(--deep); font-weight: 800; letter-spacing: .08em; }
.section-image { min-height: 210px; max-height: 240px; margin-bottom: 16px; }
.section-image img { max-height: 240px; }
.landscape-image { min-height: 180px; max-height: 220px; }
.landscape-image img { max-height: 220px; }
.app-image { min-height: 260px; max-height: 420px; }
.app-image img { max-height: 420px; width: auto; }
.card, .text-panel, .number-item, .step-card, .note-block, .faq-item, .gallery-card, .atlas-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card, .text-panel, .note-block { padding: 20px; }
.section-block { margin: 34px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading p { margin: 0; color: var(--muted); max-width: 600px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.link-card { display: block; transition: transform .18s ease, box-shadow .18s ease; }
.link-card:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(14,58,70,.12); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--deep); font-weight: 800; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.btn-primary { background: linear-gradient(135deg,#2BB3C4 0%,#1A7F8F 55%,#0F5B68 100%); color: #fff; }
.btn-secondary { background: #fff; color: var(--deep); border: 1px solid var(--line); }
.stair-wrap { display: grid; gap: 14px; }
.stair-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.stair-row.lower { margin-left: 46px; margin-right: 46px; }
.stair-card { display: block; min-height: 118px; padding: 16px; border-radius: 14px; color: #fff; }
.stair-card:nth-child(odd) { background: var(--bright); }
.stair-card:nth-child(even) { background: var(--deep); }
.stair-card strong { display: block; font-size: 18px; margin-bottom: 7px; }
.stair-card span { display: block; font-size: 14px; line-height: 1.55; }
.number-list { display: grid; gap: 12px; }
.number-item { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 18px; }
.number-item .num { color: var(--brand); font-size: 28px; font-weight: 900; line-height: 1; }
.pebble-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.pebble-card { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 24px 16px 24px 16px; box-shadow: var(--shadow); }
.pebble-card h3 { margin-top: 14px; }
.atlas-list { display: grid; gap: 12px; }
.atlas-row { padding: 18px; display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; }
.atlas-index { color: var(--brand); font-weight: 900; }
.path-list { display: grid; gap: 12px; }
.path-list a { display: block; background: #fff; border-left: 4px solid var(--brand); padding: 18px; border-radius: 0 14px 14px 0; box-shadow: var(--shadow); }
.article-flow { display: grid; gap: 20px; }
.article-flow section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.index-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.index-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.long-read { max-width: 900px; margin: 0 auto; }
.long-read section { margin-bottom: 30px; }
.cards-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.note-list { display: grid; gap: 12px; }
.note-list article { background: #fff; border-bottom: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); }
.window-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; }
.window-main, .window-side { display: grid; gap: 16px; align-content: start; }
.courtyard-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.courtyard-grid article { background: var(--secondary); color: var(--text); border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.book-pages { display: grid; gap: 16px; }
.book-page { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.memo-chapters { display: grid; gap: 18px; }
.memo-chapters section { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.gallery-walk { display: grid; gap: 18px; }
.gallery-card { padding: 16px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0,.9fr); gap: 18px; align-items: center; }
.twilight-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.circle-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pier-steps { counter-reset: pier; display: grid; gap: 14px; }
.pier-steps article { counter-increment: pier; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 20px 74px; position: relative; }
.pier-steps article::before { content: counter(pier, decimal-leading-zero); position: absolute; left: 20px; top: 19px; color: var(--brand); font-size: 24px; font-weight: 900; }
.app-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.policy section { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 20px; }
.faq-item h2 { font-size: 18px; }
.callout { background: var(--pale); color: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.site-footer { background: var(--title); color: #D4E8EC; padding: 46px 0 34px; }
.footer-brand { display: flex; gap: 12px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand strong { display: block; color: #fff; font-size: 20px; }
.footer-brand span { display: block; font-size: 12px; letter-spacing: .12em; }
.footer-groups { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 26px 0; }
.footer-groups h2 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.footer-groups a { display: block; color: #D4E8EC; padding: 4px 0; }
.footer-note { color: #D4E8EC; max-width: 880px; }
.copyright { color: #9EC4CC; margin-top: 12px; margin-bottom: 0; }
.page-mask { position: fixed; inset: 0; background: rgba(7,36,43,.45); z-index: 500; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.page-mask.visible { opacity: 1; pointer-events: auto; }
.tide-drawer { position: fixed; z-index: 550; right: 0; top: 0; bottom: 0; width: min(410px, 86vw); background: var(--bg); box-shadow: -18px 0 44px rgba(14,58,70,.16); padding: 18px; overflow-y: auto; transform: translateX(103%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s; }
.tide-drawer.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--title); font-weight: 900; }
.drawer-close, .search-close { min-height: 44px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); color: var(--deep); border-radius: 10px; }
.wave-card { background: #fff; border: 1px solid var(--line); border-radius: 18px 14px 18px 14px; padding: 16px; margin: 12px 0; box-shadow: var(--shadow); }
.wave-card h2 { font-size: 17px; margin-bottom: 8px; }
.wave-card a { display: block; padding: 10px 8px; border-top: 1px solid var(--line); }
.wave-card a:first-of-type { border-top: 0; }
.wave-card strong, .wave-card span { display: block; }
.wave-card strong { color: var(--title); }
.wave-card span { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 3px; }
.search-layer { position: fixed; z-index: 560; top: 82px; left: 50%; width: min(860px, calc(100% - 32px)); transform: translate(-50%, -18px); opacity: 0; visibility: hidden; pointer-events: none; transition: .18s ease; }
.search-layer.open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 22px 50px rgba(14,58,70,.16); padding: 22px; }
.search-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.search-head h2 { margin: 3px 0 0; font-size: 21px; }
.search-visual { margin-top: 16px; padding: 16px; background: var(--secondary); border-radius: 12px; color: var(--deep); }
.search-visual label { display: block; font-weight: 800; margin-bottom: 8px; }
.search-visual input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); padding: 0 12px; }
.search-visual p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.search-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 12px; background: #fff; border: 1px solid var(--line); color: var(--deep); border-radius: 10px; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .grid-4, .courtyard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3, .twilight-index { grid-template-columns: 1fr; }
  .window-layout, .app-layout { grid-template-columns: 1fr; }
  .app-layout .app-image { order: 2; }
  .stair-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stair-row.lower { margin: 0 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-space: 82px; }
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
  .shell-tabs { display: none; }
  .top-inner, .dock-inner, .shell-tabs-inner, .footer-inner, .page-wrap { width: min(100% - 32px, 1180px); }
  .dock-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
  .brand-link { max-width: 138px; min-width: 0; }
  .site-logo-image { max-width: 128px; height: 30px; }
  .logo-text { font-size: 17px; }
  .drawer-open { min-width: 76px; padding: 8px 10px; }
  .app-link { padding: 8px 10px; white-space: nowrap; }
  .site-main { padding-top: calc(var(--header-space) + 24px); }
  .grid-2, .grid-4, .pebble-grid, .cards-list, .index-grid, .circle-notes { grid-template-columns: 1fr; }
  .stair-row, .stair-row.lower { grid-template-columns: 1fr; margin: 0; }
  .number-item { grid-template-columns: 56px 1fr; }
  .atlas-row { grid-template-columns: 64px 1fr; }
  .atlas-row .text-link { grid-column: 2; }
  .gallery-card { grid-template-columns: 1fr; }
  .footer-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .search-layer { top: 82px; width: calc(100% - 16px); }
  .search-card { background: var(--pale); padding: 16px; }
  .mobile-nav { position: fixed; z-index: 420; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 26px rgba(14,58,70,.08); }
  .mobile-nav a { min-width: 0; height: 50px; display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: 14px; }
  .mobile-nav a.active { background: var(--brand); color: #fff; }
}
@media (max-width: 420px) {
  .brand-mini { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .drawer-open { min-width: 72px; }
  .app-link { font-size: 14px; }
  .footer-groups { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
}
