.is-home {
    --cream: #f6f3ee;
    --taupe: #9a8f80;
    --sand: #e3dcd0;
    --hl: #ffd45c;
    --dock: 92px;
    --card-shadow: 0 10px 30px rgba(40, 32, 20, .05);
}

/* header (home only) */
.is-home .site-head { background: rgba(255,255,255,.97); border-bottom-color: #ece8e2; color: var(--ink); }
.is-home .brand-text small { color: var(--muted); }
.is-home .nav-toggle { border-color: var(--line); }
.is-home .nav-toggle-lines, .is-home .nav-toggle-lines::before, .is-home .nav-toggle-lines::after { background: var(--ink); }
@media (min-width: 961px) {
    .is-home .nav-item > a { color: #3b3e46; }
    .is-home .nav-item > a:hover, .is-home .nav-item:focus-within > a { color: var(--ink); background: #f3f0eb; }
    .is-home .site-nav .sub { background: #fff; border-color: var(--line); box-shadow: 0 24px 48px -20px rgba(20,22,27,.22); }
    .is-home .site-nav .sub a { color: var(--text); }
    .is-home .site-nav .sub a:hover { background: var(--cream); color: var(--crimson); }
}

/* hero */
.hm-hero {
    --hh: clamp(560px, calc(100vh - var(--head)), 820px);
    position: relative;
    height: var(--hh);
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: radial-gradient(760px 520px at 12% 38%, rgba(155,31,50,.30), transparent 62%), #07080b;
}
@supports (height: 100svh) {
    .hm-hero { --hh: clamp(560px, calc(100svh - var(--head)), 820px); }
}
.hm-media { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: min(54vw, calc(var(--hh) * .92)); -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.2) 16%, rgba(0,0,0,.65) 32%, #000 50%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.2) 16%, rgba(0,0,0,.65) 32%, #000 50%); }
.hm-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.1s ease; }
.hm-slide.is-on { opacity: 1; }
.hm-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transform-origin: 100% 50%; scale: 1.25; filter: brightness(.84) saturate(.9); }
.hm-slide.is-l img { object-position: 0% 50%; transform-origin: 0% 50%; }
.hm-slide.is-rt img { object-position: 100% 0%; transform-origin: 100% 0%; }
.hm-slide.is-on img { animation: hm-breath 8s ease-out both; }
@keyframes hm-breath { from { scale: 1.25; } to { scale: 1.33; } }
@keyframes hm-breath-m { from { scale: 1.6; } to { scale: 1.68; } }
.hm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 32%); pointer-events: none; }

.hm-stage { display: flex; align-items: center; height: calc(100% - var(--dock)); }
.hm-copies { display: grid; width: min(560px, 44vw); }
.hm-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity .6s ease, transform .8s ease, visibility 0s linear .6s; }
.hm-copy.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s ease .2s, transform .9s ease .2s, visibility 0s; }
.hm-num { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.hm-num span { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.hm-title { margin: 22px 0 0; font-weight: 500; }
.hm-lead { display: block; font-size: clamp(20px, 2.3vw, 34px); font-weight: 400; line-height: 1.35; letter-spacing: -0.03em; color: rgba(255,255,255,.88); }
.hm-main { display: block; margin-top: 6px; font-size: clamp(38px, 4.4vw, 62px); font-weight: 700; line-height: 1.22; letter-spacing: -0.035em; }
.hm-main em { color: var(--hl); }
.hm-desc { max-width: 460px; margin-top: 22px; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.68); }
.hm-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: border-color .25s ease, color .25s ease; }
.hm-go::after { content: "→"; transition: transform .25s ease; }
.hm-go:hover { color: var(--hl); border-color: var(--hl); }
.hm-go:hover::after { transform: translateX(4px); }

.hm-dock { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.08); }
.hm-dock-row { display: flex; align-items: stretch; justify-content: space-between; gap: 32px; height: var(--dock); }
.hm-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 0 1 820px; min-width: 0; }
.hm-tab { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 0 24px; border: 0; background: transparent; color: rgba(255,255,255,.62); font-size: 15px; font-weight: 600; text-align: left; letter-spacing: -0.02em; transition: background .3s ease, color .3s ease; }
.hm-tab span { font-size: 11px; font-weight: 600; letter-spacing: .16em; opacity: .7; }
.hm-tab:hover { color: #fff; }
.hm-tab.is-on { background: rgba(255,255,255,.1); color: var(--hl); }
.hm-tab.is-on::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--hl); }
.hm-tab:focus-visible { outline: 2px solid var(--hl); outline-offset: -2px; }
.hm-ctrl { display: flex; align-items: center; gap: 10px; flex: none; }
.hm-count { min-width: 34px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.hm-count b { font-weight: 700; color: #fff; }
.hm-bar { position: relative; width: 120px; height: 1px; margin-right: 10px; background: rgba(255,255,255,.25); }
.hm-bar i { position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: #fff; }
.hm-hero.is-playing .hm-bar i { animation: hm-progress 6s linear forwards; }
@keyframes hm-progress { from { width: 0; } to { width: 100%; } }
.hm-prev, .hm-pause, .hm-next { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #111; color: #fff; transition: background .2s ease, border-color .2s ease; }
.hm-prev:hover, .hm-pause:hover, .hm-next:hover { background: #262626; border-color: rgba(255,255,255,.4); }
.hm-prev::before, .hm-next::before { content: ""; width: 7px; height: 7px; border-top: 1.5px solid; border-left: 1.5px solid; transform: translateX(1.5px) rotate(-45deg); }
.hm-next::before { transform: translateX(-1.5px) rotate(135deg); }
.hm-pause::before { content: ""; width: 8px; height: 10px; border-left: 2.5px solid; border-right: 2.5px solid; }
.hm-hero.is-paused .hm-pause::before { width: 0; height: 0; border-right: 0; border-left: 9px solid; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; transform: translateX(1.5px); }

/* lower sections */
.hm-lower { background: var(--cream); color: #1c1c1c; }
.hm-sec { padding: 88px 0 0; }
.hm-sec:last-child { padding-bottom: 104px; }
.hm-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.hm-head h2, .hm-about h2, .hm-visit h2 { margin-top: 12px; font-size: clamp(28px, 2.9vw, 38px); font-weight: 700; line-height: 1.34; letter-spacing: -0.045em; color: #161616; }
.hm-head p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: #6a655e; }
.hm-more { display: inline-flex; align-items: center; gap: 6px; flex: none; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; color: var(--crimson); white-space: nowrap; }
.hm-more::after { content: "→"; transition: transform .25s ease; }
.hm-more:hover::after { transform: translateX(4px); }

.hm-about-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hm-about h2 em { color: var(--crimson); }
.hm-about-copy p { max-width: 560px; margin-top: 22px; font-size: 15px; line-height: 1.85; color: #5e5a54; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hm-chips a { display: block; padding: 8px 15px; border: 1px solid var(--sand); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: #5c564e; transition: border-color .2s ease, color .2s ease; }
.hm-chips a:hover { border-color: var(--crimson); color: var(--crimson); }
.hm-stats { position: relative; min-height: 280px; padding: 8px 0; }
.hm-mark { position: absolute; right: 0; top: -12px; font-size: 168px; font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: rgba(90,74,52,.07); pointer-events: none; }
.hm-side { position: absolute; right: 2px; top: 150px; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .2em; text-align: right; text-transform: uppercase; color: rgba(150,132,108,.5); }
.hm-stats ul { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 320px; }
.hm-stats li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
.hm-stats svg { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: #2b2b2b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hm-stats strong { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: #2b2b2b; font-variant-numeric: tabular-nums; }
.hm-stats li span { font-size: 13px; color: #8a847b; }

.hm-sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hm-sol { display: flex; flex-direction: column; padding: 24px 22px 26px; border-radius: 22px; background: #fff; box-shadow: var(--card-shadow); transition: transform .35s ease, box-shadow .35s ease; }
.hm-sol:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(40,32,20,.28); }
.hm-sol-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.hm-sol-no { font-weight: 600; color: #b7afa4; font-variant-numeric: tabular-nums; }
.hm-sol-code { font-weight: 700; letter-spacing: .02em; color: var(--crimson); }
.hm-sol h3 { min-height: 2.56em; margin-top: 16px; font-size: 24px; font-weight: 700; line-height: 1.28; letter-spacing: -0.035em; color: #1d2433; }
.hm-sol-lead { margin-top: 14px; font-size: 15px; font-weight: 700; color: #2b2b2b; }
.hm-sol-txt { margin-top: 6px; font-size: 14px; line-height: 1.7; color: #5f5a54; }
.hm-sol-visual { position: relative; display: grid; place-items: center; height: 148px; margin: 22px 0 18px; overflow: hidden; border-radius: 16px; background: repeating-radial-gradient(circle at 50% 50%, rgba(155,31,50,.07) 0 1px, transparent 1px 22px), linear-gradient(160deg, #fbf9f6, #f1ece5); }
.hm-sol-visual svg { width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -12px rgba(155,31,50,.35); fill: none; stroke: var(--crimson); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s ease; }
.hm-sol:hover .hm-sol-visual svg { transform: translateY(-4px) scale(1.06); }
.hm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-tags li { padding: 5px 10px; border: 1px solid #ebe5dc; border-radius: 999px; font-size: 12px; color: #6b655c; }
.hm-sol-go { align-self: flex-start; margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 700; color: var(--crimson); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hm-sol-go::after { content: " →"; display: inline-block; transition: transform .25s ease; }
.hm-sol:hover .hm-sol-go::after { transform: translateX(4px); }

.hm-cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hm-cap { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--card-shadow); }
.hm-cap-media { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 220px; padding: 20px 22px; overflow: hidden; color: #fff; background: radial-gradient(260px 200px at 85% 0%, rgba(179,38,59,.55), transparent 70%), linear-gradient(160deg, #1a1d25, #0c0e13); }
.hm-cap-media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.hm-cap-media b { position: relative; font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; transition: transform .5s ease; }
.hm-cap:hover .hm-cap-media b { transform: translateY(-6px); }
.hm-cap-en { position: relative; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hm-cap-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 26px; }
.hm-cap-body span { font-size: 12px; font-weight: 700; color: var(--crimson); }
.hm-cap-body small { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a93a3; }
.hm-cap-body strong { margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: #13233f; }
.hm-cap-body p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: #5a6576; }

.hm-lower .feat-main, .hm-lower .feat-list a, .hm-lower .news-col { border-color: transparent; box-shadow: var(--card-shadow); }
.hm-lower .feat-list a:hover { border-color: var(--sand); }
.hm-lower .feat-body strong { font-weight: 700; color: #161616; }
.hm-lower .news-col-h h3 { font-weight: 700; }
.hm-lower .news-list li a, .hm-lower .news-list li.empty { border-top-color: #efeae2; }

.hm-life .strip-ctrl { display: flex; align-items: center; gap: 10px; }
.hm-life .strip-prev, .hm-life .strip-next { width: 42px; height: 42px; border-color: var(--sand); background: #fff; color: var(--ink); font-size: 20px; }
.hm-life .strip-prev:hover, .hm-life .strip-next:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hm-life .strip-ctrl .hm-more { margin-left: 10px; }
.hm-life .strip-item { border-radius: 22px; }
.hm-life .strip-cap { color: #fff; }

.hm-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--card-shadow); }
.hm-visit-txt { padding: 52px 52px 48px; }
.hm-addr { margin-top: 18px; font-size: 18px; font-weight: 600; line-height: 1.6; color: #2b2b2b; }
.hm-visit dl { margin-top: 24px; }
.hm-visit dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #efeae2; font-size: 14px; color: #5e5a54; }
.hm-visit dt { padding-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #161616; }
.hm-visit dd a:hover { color: var(--crimson); }
.hm-visit-go { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.hm-visit-map { display: block; min-height: 100%; background: #ece7df; }
.hm-visit-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-partners { margin-top: 56px; }
.hm-partners .logo-row { margin-top: 18px; }
.hm-partners .logo-row a { border-color: transparent; box-shadow: var(--card-shadow); }
.hm-partners .logo-row a:hover { border-color: var(--sand); }

@media (prefers-reduced-motion: reduce) {
    .hm-slide img { scale: 1.25; }
}

/* tablet landscape */
@media (max-width: 1180px) {
    .hm-tab { padding: 0 18px; font-size: 14px; }
    .hm-bar { width: 72px; }
    .hm-sol-grid, .hm-cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-visit-txt { padding: 44px 40px; }
}

/* tablet portrait */
@media (max-width: 960px) {
    .is-home .site-nav { background: #fff; border-bottom-color: var(--line); box-shadow: 0 24px 40px -24px rgba(20,22,27,.25); }
    .is-home .nav-item > a { color: var(--ink); border-bottom-color: var(--line); }
    .is-home .nav-item.is-on > a { color: var(--crimson); }
    .is-home .site-nav .sub a { border-color: var(--line); color: var(--text); }

    .hm-hero { display: flex; flex-direction: column; height: auto; }
    .hm-stage { order: 1; height: auto; padding: 64px 0 40px; }
    .hm-copies { width: 100%; max-width: 620px; }
    .hm-media { position: relative; order: 2; width: 100%; aspect-ratio: 12 / 5; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32%); mask-image: linear-gradient(180deg, transparent 0, #000 32%); }
    .hm-slide img { object-position: 100% 100%; transform-origin: 100% 100%; scale: 1.6; }
    .hm-slide.is-rt img { object-position: 100% 100%; transform-origin: 100% 100%; }
    .hm-slide.is-l img { object-position: 0% 100%; transform-origin: 0% 100%; }
    .hm-slide.is-on img { animation-name: hm-breath-m; }
    .hm-hero::after { display: none; }
    .hm-dock { position: relative; order: 3; background: #0d0f14; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .hm-dock-row { flex-direction: column; gap: 0; height: auto; width: 100%; }
    .hm-tabs { flex: none; }
    .hm-tab { min-height: 76px; padding: 14px 24px; }
    .hm-ctrl { justify-content: flex-end; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.08); }
    .hm-count { margin-right: auto; }

    .hm-sec { padding-top: 72px; }
    .hm-sec:last-child { padding-bottom: 88px; }
    .hm-about-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .hm-stats { min-height: 0; }
    .hm-stats ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
    .hm-mark { top: auto; bottom: -30px; font-size: 140px; }
    .hm-side { display: none; }
    .hm-visit { grid-template-columns: minmax(0, 1fr); }
    .hm-visit-map { max-height: 320px; }
}

/* phone */
@media (max-width: 640px) {
    .hm-stage { padding: 48px 0 32px; }
    .hm-num span { font-size: 11px; letter-spacing: .1em; }
    .hm-lead { font-size: 19px; }
    .hm-main { font-size: 36px; }
    .hm-desc { font-size: 15px; }
    .hm-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-tab { min-height: 64px; padding: 12px 16px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
    .hm-tab:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.06); }
    .hm-ctrl { padding: 12px 16px; }
    .hm-bar { width: 64px; }

    .hm-sec { padding-top: 60px; }
    .hm-sec:last-child { padding-bottom: 72px; }
    .hm-head { flex-wrap: wrap; align-items: flex-start; margin-bottom: 26px; }
    .hm-head h2, .hm-about h2, .hm-visit h2 { font-size: 26px; }
    .hm-stats ul { gap: 18px 12px; }
    .hm-stats li { grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; }
    .hm-stats strong { font-size: 20px; }
    .hm-sol-grid, .hm-cap-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hm-sol-visual { height: 120px; }
    .hm-cap-media { height: 170px; }
    .hm-cap-media b { font-size: 60px; }
    .hm-life .strip-ctrl { width: 100%; }
    .hm-life .strip-prev, .hm-life .strip-next { width: 38px; height: 38px; }
    .hm-visit-txt { padding: 32px 24px; }
    .hm-visit dl div { grid-template-columns: 64px minmax(0, 1fr); }
    .hm-partners { margin-top: 40px; }
}
