/* HARU — top gateway (choose a business), whole-globe stage, richer header & menu */

/* ---------- header: richer gold ---------- */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #b8893a, #f3dc9c 20%, #fff6d8 32%, #c9a24e 50%, #f3dc9c 70%, #b8893a); }
.header-row { min-height: 84px; }
.logo img { width: 58px; }
.header-nav { gap: 6px; }
.header-nav a { position: relative; padding: 10px 14px; font: 500 14.5px/1 var(--serif); letter-spacing: .08em; color: var(--ink); background: none; border-radius: 999px; transition: color .25s, background .25s; }
.header-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, #b8893a, #f3dc9c, #b8893a, transparent); transition: left .35s var(--ease), right .35s var(--ease); }
.header-nav a:hover { color: #6b4f1d; background: rgba(243, 227, 184, .28); }
.header-nav a:hover::after, .header-nav a:focus-visible::after { left: 14px; right: 14px; }
.header-nav a + a::before { content: ""; position: absolute; left: -4px; top: 50%; width: 4px; height: 4px; margin-top: -2px; transform: rotate(45deg); background: linear-gradient(135deg, #e6c784, #9b7228); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #9b7228, #e6c784 40%, #fff6d8 55%, #c9a24e); pointer-events: none; }
.nav-toggle .ring-ico { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #b8893a; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px #e6c784; flex: none; }

/* menu (drawer) */
.drawer { background: radial-gradient(circle at 100% 0%, rgba(243, 227, 184, .55), transparent 45%), radial-gradient(circle at 0% 100%, rgba(249, 241, 222, .9), transparent 50%), #fff; }
.drawer::before { content: ""; position: absolute; right: -120px; top: 60px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(201, 162, 78, .35); box-shadow: 0 0 0 26px rgba(255, 255, 255, 0), inset 0 0 0 40px rgba(255, 255, 255, 0), 0 0 0 27px rgba(201, 162, 78, .2), 0 0 0 70px rgba(255, 255, 255, 0), 0 0 0 71px rgba(201, 162, 78, .14); pointer-events: none; }
.drawer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #b8893a, #f3dc9c 30%, #fff6d8 45%, #c9a24e 60%, #b8893a); }
.drawer nav { counter-reset: dm; position: relative; }
.drawer nav a { counter-increment: dm; gap: 14px; justify-content: flex-start; min-height: 60px; padding: 14px 0; border-bottom: 0; background: linear-gradient(90deg, rgba(201, 162, 78, .55), rgba(201, 162, 78, .08)) left bottom / 100% 1px no-repeat; }
.drawer nav a::before { content: counter(dm, decimal-leading-zero); font: 500 13px/1 var(--serif); color: var(--gold-text); width: 26px; flex: none; }
.drawer nav a small { margin-left: auto; }
.drawer:not([hidden]) nav a, .drawer:not([hidden]) .drawer-contact > * { animation: dm-in .55s var(--ease) both; }
.drawer:not([hidden]) nav a:nth-child(2) { animation-delay: .04s; } .drawer:not([hidden]) nav a:nth-child(3) { animation-delay: .08s; }
.drawer:not([hidden]) nav a:nth-child(4) { animation-delay: .12s; } .drawer:not([hidden]) nav a:nth-child(5) { animation-delay: .16s; }
.drawer:not([hidden]) nav a:nth-child(6) { animation-delay: .2s; } .drawer:not([hidden]) nav a:nth-child(7) { animation-delay: .24s; }
.drawer:not([hidden]) nav a:nth-child(8) { animation-delay: .28s; } .drawer:not([hidden]) .drawer-contact > * { animation-delay: .32s; }
@keyframes dm-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* ---------- gateway hero ---------- */
.hero.gateway { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); text-align: left; }
.gw-head { display: grid; justify-items: center; gap: 16px; text-align: center; margin-bottom: clamp(24px, 3.4vw, 44px); }
.gw-head h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.18; }
.gw-head h1 .line { display: inline; }
.gw-head .hero-lead { max-width: 40em; }
.gw-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 34vw, 470px) minmax(0, 1fr); align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.gw-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.gw-links .base { fill: none; stroke: rgba(201, 162, 78, .55); stroke-width: 1.2; stroke-dasharray: 2 6; }
.gw-links .lit { fill: none; stroke: url(#gw-gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .9s var(--ease); }
.gw-links .run { fill: none; stroke: #f3dc9c; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 5 95; stroke-dashoffset: 0; opacity: 0; filter: drop-shadow(0 0 4px rgba(232, 196, 120, .95)); animation: gw-run 7s ease-in-out infinite; }
.gw-links .run.work { animation-delay: 3.5s; }
@keyframes gw-run { 0% { stroke-dashoffset: 0; opacity: 0; } 6% { opacity: 1; } 42% { opacity: 1; } 48% { stroke-dashoffset: -100; opacity: 0; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.gw-stage[data-focus="life"] .lit.life, .gw-stage[data-focus="work"] .lit.work { stroke-dasharray: 100 0; }

/* globe with real 3D rings (they pass behind and in front of the photo) */
.gw-globe { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; perspective: 1100px; }
.gw-space { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--tilt, 0deg)); transition: transform 1.1s var(--ease); }
.gw-stage[data-focus="life"] .gw-space { --tilt: -14deg; }
.gw-stage[data-focus="work"] .gw-space { --tilt: 14deg; }
.gw-photo { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; transform: translateZ(0); background: #f6efe0; box-shadow: 0 0 0 1px rgba(184, 137, 58, .7), 0 0 0 8px #fff, 0 0 0 9px rgba(201, 162, 78, .45), 0 40px 80px -40px rgba(138, 100, 32, .6); }
.gw-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 92% 50%; }
.gw-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(120deg, transparent 38%, rgba(255, 252, 238, .55) 50%, transparent 62%); background-size: 260% 100%; animation: frame-sheen 8s 2.5s ease-in-out infinite; mix-blend-mode: soft-light; pointer-events: none; }
.gw-ring { position: absolute; inset: 2%; border-radius: 50%; transform-style: preserve-3d; }
.gw-ring .band { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--sheen), #7a5718, #c9a24e 10%, #fff6d6 16%, #b8893a 24%, #8a6420 38%, #e9cf8a 52%, #fffdf0 58%, #a8823f 66%, #7a5718 82%, #d9b45a 92%, #7a5718); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); animation: ring-sheen 4s linear infinite; }
.gw-ring .bead { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf0, #e6c784 45%, #9b7228); box-shadow: 0 0 0 3px #fff, 0 0 16px rgba(232, 196, 120, .95); }
.gw-ring.r1 { transform: rotateX(74deg) rotateZ(0deg); }
.gw-ring.r2 { inset: -3%; transform: rotateY(70deg) rotateX(18deg); }
.gw-ring.r3 { inset: 7%; transform: rotateX(62deg) rotateY(-28deg); }
.gw-ring.r3 .band { animation-duration: 5.4s; animation-direction: reverse; }
.gw-globe .twinkles { z-index: 2; }

/* the two businesses, given equal weight */
.gw-card { position: relative; z-index: 1; display: grid; gap: 16px; padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; background: linear-gradient(165deg, #fff 55%, #fdf6e6); box-shadow: inset 0 0 0 1px rgba(184, 137, 58, .55), inset 0 0 0 7px #fff, inset 0 0 0 8px rgba(201, 162, 78, .28), 0 30px 70px -44px rgba(138, 100, 32, .6); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gw-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(130deg, transparent 30%, #e6c784 45%, #fff6d8 50%, #c9a24e 55%, transparent 70%) 0 0 / 300% 300%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.gw-card:is(:hover, :focus-within) { transform: translateY(-6px); box-shadow: inset 0 0 0 1px #b8893a, inset 0 0 0 7px #fff, inset 0 0 0 8px rgba(201, 162, 78, .5), 0 40px 80px -40px rgba(138, 100, 32, .7); }
.gw-card:is(:hover, :focus-within)::before { opacity: 1; animation: gw-edge 2.6s linear infinite; }
@keyframes gw-edge { to { background-position: 300% 300%; } }
.gw-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 200px 200px 16px 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(184, 137, 58, .5), 0 0 0 6px #fff, 0 0 0 7px rgba(201, 162, 78, .3); }
.gw-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gw-card:is(:hover, :focus-within) .gw-media img { transform: scale(1.05); }
.gw-card .kicker { font: 600 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold-text); }
.gw-card h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.3; margin-top: -4px; }
.gw-card h2 em { font-style: normal; display: block; margin-top: 6px; font: 500 14px/1.6 var(--sans); letter-spacing: .04em; color: var(--ink-soft); }
.gw-card p { font-size: 14.5px; color: var(--text); line-height: 1.85; }
.gw-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gw-tags li { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(201, 162, 78, .5); background: #fff; font-size: 12.5px; color: #3d372d; }
.gw-note { font-size: 13px; color: var(--muted); }
.gw-actions { display: grid; gap: 10px; }
.gw-actions .button { width: 100%; min-height: 56px; }
.gw-actions .arrow-link { justify-content: space-between; min-height: 48px; padding: 0 4px; border-bottom: 1px solid rgba(201, 162, 78, .4); }
.gw-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin-top: clamp(26px, 3vw, 40px); font-size: 13px; color: var(--muted); text-align: center; }

/* entrance: the businesses arrive from the globe outward */
.js .gw-card.reveal.life { transform: translateX(40px) scale(.97); }
.js .gw-card.reveal.work { transform: translateX(-40px) scale(.97); }
.js .gw-card.reveal.is-in { transform: none; }
.js .gw-globe.reveal { transform: scale(.9); }
.js .gw-globe.reveal.is-in { transform: none; }

@media (max-width: 1080px) {
  .gw-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gw-globe { grid-column: 1 / -1; grid-row: 1; width: min(100%, 360px); justify-self: center; }
  .gw-links { display: none; }
}
@media (max-width: 860px) {
  .header-row { min-height: 66px; }
  .logo img { width: 44px; }
  .site-header::before { height: 2px; }
}
@media (max-width: 680px) {
  .gw-head { margin-bottom: 8px; }
  .gw-head h1 { font-size: clamp(34px, 10vw, 46px); }
  .gw-head h1 .line { display: block; }
  .gw-stage { grid-template-columns: 1fr; gap: 16px; }
  .gw-globe { width: min(76vw, 300px); }
  .gw-card { gap: 12px; padding: 20px 18px 22px; border-radius: 24px; }
  .gw-media { aspect-ratio: 16 / 8; }
  .gw-card h2 { font-size: 26px; }
  .js .gw-card.reveal.life, .js .gw-card.reveal.work { transform: translateY(24px); }
}

.fx-paused .gw-links .run, .fx-paused .gw-ring .band, .fx-paused .gw-photo::after, .fx-paused .gw-card::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .gw-links .run, .gw-photo::after { display: none; }
  .gw-ring .band { animation: none; }
  .gw-space, .gw-card, .gw-media img, .gw-links .lit { transition: none; }
  .gw-card:is(:hover, :focus-within) { transform: none; }
  .gw-card:is(:hover, :focus-within)::before { animation: none; }
  .drawer:not([hidden]) nav a, .drawer:not([hidden]) .drawer-contact > * { animation: none; }
}
/* equal standing: both businesses share one row height and the same width; the globe column is narrower */
.gw-stage { grid-template-columns: minmax(0, 1fr) clamp(240px, 25vw, 360px) minmax(0, 1fr); align-items: stretch; }
.gw-globe { align-self: center; }
.gw-card { grid-template-rows: auto auto auto auto 1fr auto auto; min-width: 0; }
.gw-card h2 { font-size: clamp(24px, 2.1vw, 32px); word-break: normal; overflow-wrap: anywhere; }
.gw-head { gap: 12px; }
.gw-head h1 { font-size: clamp(38px, 4.6vw, 66px); }
@media (max-width: 1080px) { .gw-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 680px) { .gw-stage { grid-template-columns: 1fr; } }
/* chips keep their natural height; the free space goes to the note above the buttons */
.gw-card { grid-template-rows: auto auto auto auto auto 1fr auto; }
.gw-tags { align-self: start; align-items: flex-start; }
.gw-note { align-self: start; }
/* long katakana names may wrap on narrow screens instead of pushing the page wider */
:is(h1, h2, h3, h4) { overflow-wrap: anywhere; }
@media (max-width: 400px) { .business-body h3 { font-size: 27px; } }
/* the header switches to the menu button before the links get crowded */
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; gap: 8px; width: auto; padding: 0 16px; font: 600 13px/1 var(--sans); }
}
@media (min-width: 861px) and (max-width: 1180px) { .drawer { left: auto; width: min(460px, 100%); box-shadow: -30px 0 80px -40px rgba(138, 100, 32, .45); } }

/* ===== rotating globe: gold meridians over the glass sphere ===== */
.gw-spin { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: multiply; }
.gw-spin .lat { fill: none; stroke: url(#gw-line); stroke-width: .28; opacity: .5; }
.gw-spin .lat.eq { stroke-width: .45; opacity: .75; }
.gw-spin .mer { fill: none; stroke: url(#gw-line); stroke-width: .3; opacity: .55; }
.gw-spin .pt { filter: drop-shadow(0 0 .8px rgba(232, 196, 120, .9)); }
.gw-photo::before { content: ""; position: absolute; left: 33%; top: 20%; width: 53%; height: 53%; border-radius: 50%; z-index: 1; pointer-events: none; background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 38%), radial-gradient(circle at 50% 50%, transparent 60%, rgba(201, 162, 78, .18) 100%); }

/* ===== logo with the gold rings at the head of the page ===== */
.gw-head .gw-emblem { --size: clamp(112px, 9vw, 150px); margin: 0 auto -6px; }
.gw-head .gw-emblem .core { width: 46%; }

/* ===== card headings: one clean line where it fits, never broken mid-name ===== */
.gw-card h2 { font-size: clamp(22px, 1.85vw, 30px); letter-spacing: .02em; word-break: keep-all; overflow-wrap: normal; }
@media (max-width: 380px) { .gw-card h2 { font-size: 23px; } }

/* ===== menu: gold-framed capsule, gold-leaf hover, dimensional buttons ===== */
.header-nav { position: relative; padding: 5px; border-radius: 999px; background: linear-gradient(#fff, #fffaf0) padding-box, linear-gradient(110deg, #b8893a, #f3dc9c 25%, #fff6d8 40%, #c9a24e 60%, #f3dc9c 80%, #9b7228) border-box; border: 1px solid transparent; box-shadow: 0 10px 30px -18px rgba(138, 100, 32, .55), inset 0 1px 0 #fff; gap: 2px; }
.header-nav a { padding: 11px 16px; color: #2f281c; }
.header-nav a + a::before { left: -3px; }
.header-nav a::after { display: none; }
.header-nav a:hover, .header-nav a:focus-visible { color: #241c10; background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 50%), linear-gradient(105deg, #d6ae5c, #f3dc9c 30%, #fff6d8 45%, #e6c784 60%, #c49a46); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(122, 87, 24, .35), 0 6px 14px -8px rgba(138, 100, 32, .7); }
.header-mail, .nav-toggle, .header-tools .global-search-trigger, .header-tools .language-switch { box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(122, 87, 24, .18), 0 8px 20px -12px rgba(138, 100, 32, .6); }
.header-tools .global-search-trigger, .header-tools .language-switch, .nav-toggle { border: 1px solid transparent; background: linear-gradient(#fff, #fffaf0) padding-box, linear-gradient(120deg, #b8893a, #f3dc9c 35%, #c9a24e 65%, #9b7228) border-box; }
.header-mail { background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 50%), linear-gradient(105deg, #b8893a 0%, #e6c784 18%, #fff6d8 30%, #d6ae5c 46%, #b8893a 60%, #ecd28f 76%, #c9a24e 100%); border-color: #a8823f; color: #241c10; }
.nav-toggle { color: #2f281c; }
.nav-toggle .ring-ico { border-color: #a8823f; box-shadow: inset 0 0 0 2.5px #fff, inset 0 0 0 4.5px #e6c784, 0 0 6px rgba(232, 196, 120, .8); }
/* drawer items get a gold-leaf highlight too */
.drawer nav a:hover, .drawer nav a:focus-visible { background: linear-gradient(90deg, rgba(243, 227, 184, .55), rgba(255, 255, 255, 0) 80%), linear-gradient(90deg, rgba(201, 162, 78, .55), rgba(201, 162, 78, .08)) left bottom / 100% 1px no-repeat; }
.drawer .drawer-top .logo img { filter: drop-shadow(0 3px 6px rgba(138, 100, 32, .35)); }
@media (max-width: 380px) {
  .nav-toggle { padding: 0 12px; }
  .header-tools { gap: 6px; }
}
.fx-paused .gw-head .gw-emblem .band { animation-play-state: paused; }
