/* 合同会社ハル — home (ja / en)
   One stylesheet for the home page. Brand: ivory paper, warm ink, champagne gold, the arch and the orbit. */
@import url("/assets/fonts/serif/font.css");
@import url("/assets/fonts/sans/font.css");

:root {
  --ivory: #fbf8f1;
  --paper: #f3ede1;
  --paper-2: #ebe2d0;
  --ink: #1c1913;
  --ink-soft: #3d372d;
  --text: #4a4337;
  --muted: #6b6152;
  --gold: #a07a35;
  --gold-text: #7a5a22;
  --gold-light: #d8bd84;
  --gold-pale: #efe3c6;
  --line: rgba(122, 90, 34, .2);
  --night: #16140f;
  --night-2: #211e17;
  --night-text: #d9d1c1;
  --night-muted: #b4aa98;
  --serif: "Noto Serif JP Variable", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP Variable", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.45; letter-spacing: .04em; }
p { margin: 0; }
h1, h2, h3, h4, p, dd, strong { word-break: auto-phrase; text-wrap: pretty; }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { letter-spacing: 0; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.night :where(a, button):focus-visible { outline-color: var(--gold-light); }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-text); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.night .eyebrow { color: var(--gold-light); }
.section { padding-block: clamp(80px, 11vw, 150px); }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 52px); }
.section-head p { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }
.night .section-head p { color: var(--night-muted); }

/* ---------- buttons & links ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 14px 26px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fbf8f1; font: 600 15px/1.4 var(--sans); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.button:hover { background: #3a3226; border-color: #3a3226; transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--ink); border-color: rgba(28, 25, 19, .35); }
.button.ghost:hover { background: rgba(28, 25, 19, .05); border-color: var(--ink); }
.button.gold { background: linear-gradient(135deg, #e4cf9f, #c49a50 55%, #b58a3e); border-color: #b48a42; color: #1c1913; }
.button.gold:hover { background: linear-gradient(135deg, #ecdab0, #cfa65c 55%, #bf954a); }
.night .button.ghost { color: #fbf8f1; border-color: rgba(251, 248, 241, .4); }
.night .button.ghost:hover { background: rgba(251, 248, 241, .08); border-color: #fbf8f1; }
.button svg, .icon { width: 18px; height: 18px; flex: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid transparent; }
.arrow-link span[aria-hidden] { transition: transform .25s var(--ease); color: var(--gold-text); }
.arrow-link:hover { border-bottom-color: currentColor; }
.arrow-link:hover span[aria-hidden] { transform: translateX(4px); }
.night .arrow-link { color: #fbf8f1; }
.night .arrow-link span[aria-hidden] { color: var(--gold-light); }
.ext { font-size: .85em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 248, 241, .94); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--ink); }
.logo img { width: 52px; height: auto; }
.logo strong { display: block; font: 600 19px/1 var(--serif); letter-spacing: .24em; }
.logo small { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 0; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.header-nav a:hover { background-size: 100% 1px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.icon-button:hover { border-color: var(--gold); background: #fff; }
.header-tools .global-search-trigger { width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; box-shadow: none; color: var(--ink); }
.header-tools .global-search-trigger:hover { border-color: var(--gold); background: #fff; }
.global-search-trigger > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.language-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.language-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; }
.language-switch a[aria-current] { background: var(--ink); color: #fbf8f1; }
.header-mail { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.nav-toggle { display: none; }

.drawer { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr; background: var(--ivory); padding: 0 var(--gutter) 32px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.drawer nav { display: grid; align-content: start; gap: 0; margin-top: 12px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 500 20px/1.4 var(--serif); text-decoration: none; }
.drawer nav a small { font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--gold-text); }
.drawer-contact { display: grid; gap: 12px; margin-top: 28px; }
.drawer-contact .mail-address { font-size: 17px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(216, 189, 132, .22), transparent 70%), radial-gradient(ellipse 50% 50% at 0% 100%, rgba(235, 226, 208, .7), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.hero-copy { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 88px); line-height: 1.2; letter-spacing: .02em; font-weight: 500; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8a6424 10%, #c49a50 45%, #8a6424 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:lang(en) .hero h1 { font-size: clamp(42px, 6.2vw, 86px); }
.hero-lead { max-width: 34em; font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-soft); }
.hero-company { color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-mail-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--muted); font-size: 13px; }
.mail-address { color: var(--ink); font-weight: 600; letter-spacing: .04em; text-decoration: underline; text-decoration-color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; word-break: keep-all; }
.mail-address:hover { text-decoration-color: var(--gold); }

.hero-visual { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 4 / 5; }
.arch { position: absolute; inset: 7% 9% 0; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(80, 58, 20, .45), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; transform: scale(1.04); }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit ellipse { fill: none; stroke: url(#orbitGold); stroke-width: 1.5; }
.orbit .o1 { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .2s var(--ease) forwards; }
.orbit .o2 { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.8s .6s var(--ease) forwards; opacity: .7; }
.orbit-spin { transform-origin: 50% 52%; animation: spin 60s linear infinite; }
.orbit circle { fill: #c49a50; }
.hero-badge { position: absolute; left: 0; bottom: 8%; display: grid; gap: 2px; padding: 16px 20px; border-radius: 16px; background: rgba(251, 248, 241, .92); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -20px rgba(60, 42, 12, .4); border: 1px solid var(--line); }
.hero-badge span { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--gold-text); }
.hero-badge strong { font: 500 16px/1.5 var(--serif); color: var(--ink); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- purpose index (who is this for) ---------- */
.purposes { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .45); }
.purposes-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 30px 0 6px; }
.purposes-head h2 { font-size: clamp(20px, 2.2vw, 26px); }
.purposes-head p { color: var(--muted); font-size: 14px; }
.purpose-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.purpose-list li + li { border-left: 1px solid var(--line); }
.purpose { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; height: 100%; padding: 22px 26px 28px; text-decoration: none; color: inherit; transition: background .3s; }
.purpose-list li:first-child .purpose { padding-left: 0; }
.purpose:hover { background: rgba(239, 227, 198, .35); }
.purpose .num { font: 500 13px/1 var(--serif); color: var(--gold-text); letter-spacing: .1em; }
.purpose h3 { font-size: 19px; }
.purpose p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.purpose .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.purpose .meta span[aria-hidden] { color: var(--gold-text); transition: transform .25s var(--ease); }
.purpose:hover .meta span[aria-hidden] { transform: translateX(4px); }

/* ---------- mission (night) ---------- */
.night { background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(160, 122, 53, .22), transparent 60%), var(--night); color: var(--night-text); }
.night h2, .night h3 { color: #fbf8f1; }
.mission-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.mission-grid h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.4; }
.mission-text { display: grid; gap: 22px; font-size: clamp(15px, 1.4vw, 17px); color: var(--night-text); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(216, 189, 132, .28); }
.principles li { padding: 32px 28px 8px 0; display: grid; gap: 10px; }
.principles li + li { padding-left: 28px; border-left: 1px solid rgba(216, 189, 132, .28); }
.principles .num { font: 600 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold-light); }
.principles h3 { font-size: 21px; }
.principles p { font-size: 14px; color: var(--night-muted); }
.bridge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid rgba(216, 189, 132, .28); }
.bridge p { font: 500 clamp(18px, 2vw, 24px)/1.6 var(--serif); color: #fbf8f1; }

/* ---------- businesses ---------- */
.business { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.business + .business { margin-top: clamp(72px, 10vw, 140px); }
.business:nth-of-type(even) .business-media { order: 2; }
.business-media { position: relative; }
.business-media .frame { border-radius: 260px 260px 20px 20px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper); box-shadow: 0 40px 70px -45px rgba(80, 58, 20, .5); }
.business-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.business-media .caption { position: absolute; right: 14px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(28, 25, 19, .72); color: #fff; font-size: 11px; letter-spacing: .08em; }
.business-media .label { position: absolute; left: -10px; top: 38px; writing-mode: vertical-rl; font: 600 12px/1 var(--sans); letter-spacing: .3em; color: var(--gold-text); }
.business-body { display: grid; gap: 22px; }
.business-body .kicker { font: 500 14px/1 var(--serif); color: var(--gold-text); letter-spacing: .12em; }
.business-body h3 { font-size: clamp(30px, 3.6vw, 46px); }
.business-body > p { color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 17px); }
.facts { display: grid; gap: 0; margin: 4px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
:lang(en) .facts div { grid-template-columns: 8.5em 1fr; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.business-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.sub-service { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin-top: 6px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.sub-service:hover { border-color: var(--gold-light); box-shadow: 0 20px 40px -28px rgba(80, 58, 20, .45); transform: translateY(-2px); }
.sub-service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 10px; border: 1px solid var(--line); }
.sub-service .kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--gold-text); }
.sub-service h4 { margin: 4px 0 6px; font-size: 19px; }
.sub-service p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.sub-service .go { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }

/* ---------- self-serve ---------- */
.paper { background: var(--paper); }
.tools { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.tool { position: relative; display: grid; align-content: space-between; gap: 22px; min-height: 230px; padding: 28px; border-radius: var(--radius); background: var(--ivory); border: 1px solid rgba(122, 90, 34, .14); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tool:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(80, 58, 20, .5); border-color: var(--gold-light); }
.tool .kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--gold-text); }
.tool h3 { margin-top: 10px; font-size: 22px; }
.tool p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.tool .go { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.tool .go span[aria-hidden] { color: var(--gold-text); }
.tool.feature { grid-row: span 2; background: linear-gradient(160deg, #fff 0%, #f8f1e2 100%); overflow: hidden; }
.tool.feature img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.tools-note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps .num { font: 400 clamp(44px, 5vw, 64px)/1 var(--serif); color: var(--gold-pale); -webkit-text-stroke: 1px var(--gold); }
.steps .en { display: block; margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--gold-text); }
.steps h3 { margin: 8px 0 10px; font-size: 22px; }
.steps p { font-size: 14px; color: var(--muted); }
.steps a { margin-top: 10px; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo .frame { border-radius: 20px 220px 20px 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder-photo figcaption { margin-top: 16px; display: grid; gap: 2px; }
.founder-photo figcaption strong { font: 500 20px/1.4 var(--serif); color: var(--ink); letter-spacing: .12em; }
.founder-photo figcaption span { font-size: 13px; color: var(--muted); }
.founder-body { display: grid; gap: 24px; }
.founder-body h2 { font-size: clamp(30px, 4.2vw, 52px); }
.founder-body .quote { display: grid; gap: 18px; padding-left: 24px; border-left: 1px solid var(--gold-light); color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 17px); }
.founder-body .sign { font-family: var(--serif); color: var(--ink); }

/* ---------- games ---------- */
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.game { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid rgba(122, 90, 34, .14); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.game:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(80, 58, 20, .5); }
.game img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.game-body { display: grid; align-content: start; gap: 8px; padding: 20px 20px 22px; }
.game-body .kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--gold-text); }
.game-body h3 { font-size: 18px; }
.game-body p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.game-body .go { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.games-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- learn more ---------- */
.links-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.links-row a { display: grid; gap: 6px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.links-row a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.links-row strong { font: 500 18px/1.5 var(--serif); color: var(--ink); }
.links-row span { font-size: 13px; color: var(--muted); }
.links-row a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

/* ---------- contact (night) ---------- */
.contact { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; }
.contact-card { display: grid; align-content: space-between; gap: 26px; padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: var(--night-2); border: 1px solid rgba(216, 189, 132, .22); }
.contact-card.mail { background: linear-gradient(150deg, #2a251b, #1d1a14); border-color: rgba(216, 189, 132, .45); }
.contact-card .kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--gold-light); }
.contact-card h3 { margin-top: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.contact-card p { margin-top: 10px; font-size: 14px; color: var(--night-muted); }
.contact-card .mail-address { display: inline-block; margin-top: 18px; color: #fbf8f1; font: 500 clamp(22px, 3.4vw, 38px)/1.3 var(--serif); letter-spacing: .02em; text-decoration-color: rgba(216, 189, 132, .6); word-break: break-all; }
.contact-card .mail-address:hover { text-decoration-color: var(--gold-light); }
.contact-card .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.copy-mail { min-height: 54px; }
.copy-status { min-height: 1.6em; font-size: 13px; color: var(--gold-light); }
.contact-note { font-size: 13px; color: var(--night-muted); }
.windows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 1px solid rgba(216, 189, 132, .22); border-radius: 22px; overflow: hidden; }
.windows a { display: grid; gap: 4px; padding: 22px 26px; text-decoration: none; color: #fbf8f1; transition: background .25s; }
.windows a + a { border-left: 1px solid rgba(216, 189, 132, .22); }
.windows a:hover { background: rgba(216, 189, 132, .08); }
.windows small { font-size: 12px; color: var(--night-muted); }
.windows strong { font: 500 17px/1.5 var(--serif); }
.contact-foot { margin-top: 26px; font-size: 13px; color: var(--night-muted); }

/* ---------- footer ---------- */
.site-footer { background: #100f0b; color: var(--night-muted); font-size: 14px; }
.site-footer .wrap { padding: clamp(56px, 8vw, 96px) 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(216, 189, 132, .18); }
.footer-brand { display: grid; align-content: start; gap: 18px; }
.footer-brand .logo { color: #fbf8f1; margin: 0; }
.footer-brand .logo small { color: var(--night-muted); }
.footer-brand p { color: var(--night-text); font-family: var(--serif); }
.footer-brand address { font-style: normal; display: grid; gap: 4px; line-height: 1.8; }
.footer-brand .mail-address { color: #fbf8f1; text-decoration-color: rgba(216, 189, 132, .6); }
.footer-col { display: grid; align-content: start; gap: 4px; }
.footer-col h3 { margin-bottom: 8px; font: 600 11px/1 var(--sans); letter-spacing: .22em; color: var(--gold-light); }
.footer-col a { display: inline-block; padding: 6px 0; color: var(--night-text); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-sites { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 22px 0; border-bottom: 1px solid rgba(216, 189, 132, .18); }
.footer-sites span { color: var(--night-muted); }
.footer-sites a { color: var(--night-text); text-decoration: none; }
.footer-sites a:hover { color: #fff; text-decoration: underline; }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 28px; font-size: 12px; letter-spacing: .08em; }
.copyright a { color: var(--night-text); }
.haru-client-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 16px var(--gutter); border-top: 1px solid rgba(216, 189, 132, .12); background: #0b0a08; font-size: 12px; }
.haru-client-footer a { color: var(--night-text); }
.measurement-settings { margin-bottom: 20px; padding: 8px 14px; border: 1px solid rgba(216, 189, 132, .3); border-radius: 999px; background: none; color: var(--night-text); cursor: pointer; }
.measurement-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4); font-size: 14px; }
.measurement-consent div { display: flex; gap: 10px; }
.measurement-consent button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; cursor: pointer; }

/* ---------- mobile contact bar ---------- */
.mobile-contact { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .header-nav { gap: 18px; }
  .header-nav a.optional { display: none; }
  .tools { grid-template-columns: 1fr 1fr; }
  .tool.feature { grid-row: auto; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purpose-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purpose-list li:nth-child(3) { border-left: 0; }
  .purpose-list li:nth-child(3) .purpose { padding-left: 0; }
  .purpose-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .links-row { grid-template-columns: 1fr 1fr; }
  .links-row a:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .header-row { min-height: 64px; gap: 8px; }
  .logo img { width: 42px; }
  .logo strong { font-size: 16px; }
  .header-nav, .header-tools .language-switch, .header-tools .global-search-trigger, .header-mail .label { display: none; }
  .header-mail { width: 44px; padding: 0; }
  .nav-toggle { display: inline-flex; gap: 8px; width: auto; padding: 0 16px; font: 600 13px/1 var(--sans); }
  .drawer .language-switch { justify-self: start; margin-top: 24px; }
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(100%, 380px); aspect-ratio: 1 / 1; }
  .arch { inset: 4% 15% 0; }
  .hero-badge { left: 2%; bottom: 4%; padding: 12px 16px; }
  .hero-badge strong { font-size: 14px; }
  .mission-grid, .business, .founder, .contact-grid { grid-template-columns: 1fr; }
  .business:nth-of-type(even) .business-media { order: 0; }
  .business-media .frame { aspect-ratio: 4 / 3.4; border-radius: 200px 200px 18px 18px; }
  .business-media .label { display: none; }
  .principles, .steps { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 24px 0; border-left: 0; }
  .principles li + li { border-top: 1px solid rgba(216, 189, 132, .28); }
  .steps li, .steps li + li { padding: 26px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .founder-photo { max-width: 420px; }
  .windows { grid-template-columns: 1fr; }
  .windows a + a { border-left: 0; border-top: 1px solid rgba(216, 189, 132, .22); }
  .mobile-contact { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(28, 25, 19, .94); backdrop-filter: blur(10px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .35s var(--ease); }
  .mobile-contact.is-shown { transform: none; }
  .mobile-contact a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: #fbf8f1; font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-contact a.mail { background: linear-gradient(135deg, #e4cf9f, #c49a50); color: #1c1913; }
  body.has-mobile-contact .site-footer { padding-bottom: 84px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .section { padding-block: 72px; }
  .hero h1 { font-size: clamp(38px, 11vw, 50px); }
  :lang(en) .hero h1 { font-size: clamp(36px, 10.4vw, 48px); }
  .hero-actions .button { flex: 1 1 100%; }
  .purpose-list { grid-template-columns: 1fr; }
  .purpose-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .purpose-list li .purpose { padding: 20px 0 22px; }
  .tools { grid-template-columns: 1fr; }
  .tool.feature { grid-template-columns: 1fr; }
  .tool { min-height: 0; }
  .sub-service { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr; }
  .links-row { grid-template-columns: 1fr; }
  .links-row a, .links-row a + a { padding: 20px 0; border-left: 0; }
  .facts div, :lang(en) .facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contact-card .actions .button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .orbit .o1, .orbit .o2 { stroke-dashoffset: 0; }
  .orbit-spin { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-contact, .drawer { display: none !important; }
  .night { background: #fff; color: #000; }
}
.contact-note-light { font-size: 13px; color: var(--muted); }
.logo small, .logo strong { white-space: nowrap; }
@media (max-width: 860px) {
  .header-tools { gap: 8px; }
  .nav-toggle { white-space: nowrap; }
}
@media (max-width: 360px) {
  .logo small { display: none; }
  .nav-toggle { padding: 0 12px; }
}
@media (max-width: 860px) {
  .hero-visual { width: min(100%, 340px); aspect-ratio: 1 / .74; }
  .arch { inset: 2% 20% 0; border-radius: 999px 999px 16px 16px; }
  .hero-badge { display: none; }
  .hero-copy { gap: 22px; }
}
@media (max-width: 380px) {
  .header-tools .global-search-trigger { display: none !important; }
}
:lang(en) .hero h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.12; }
:lang(en) .hero h1 .line { white-space: normal; }
:lang(en) .mission-grid h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.25; }
:lang(en) .section-head h2, :lang(en) .founder-body h2 { line-height: 1.2; }

/* =====================================================================
   WHITE & GOLD EDITION — pure white, metallic gold, light as the material.
   ===================================================================== */
:root {
  --white: #ffffff;
  --ivory: #fdfbf6;
  --paper: #f9f4e8;
  --foil: linear-gradient(105deg, #6e4f17 0%, #9b7228 18%, #c9a24e 32%, #8a6420 46%, #b8893a 62%, #e0bd72 74%, #8a6420 90%);
  --foil-soft: linear-gradient(105deg, #b8893a, #ecd59f 30%, #c9a24e 55%, #f3e3b8 75%, #b8893a);
  --hair: linear-gradient(90deg, transparent, #c9a24e 20%, #f0dca8 50%, #c9a24e 80%, transparent);
  --line: rgba(160, 122, 53, .26);
}
body { background: var(--white); }
.paper { background: linear-gradient(180deg, #fffdf8, var(--paper)); }

/* gold foil type */
.foil, .hero h1 em, .section-head h2 em {
  background: var(--foil); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil-shine 7s ease-in-out infinite;
}
@keyframes foil-shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow::before { background: var(--hair); opacity: 1; width: 44px; }

/* header: white glass with a gold hairline */
.site-header { background: rgba(255, 255, 255, .82); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--hair); opacity: 0; transition: opacity .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: transparent; }
.site-header.is-scrolled::after { opacity: 1; }
.language-switch a[aria-current] { background: var(--foil-soft); color: #2a2114; }

/* buttons: gold foil primary, white ghost with gold edge */
.button { background: var(--foil-soft); background-size: 200% 100%; border-color: #c29a4b; color: #241c10; box-shadow: 0 10px 26px -14px rgba(138, 100, 32, .7), inset 0 1px 0 rgba(255, 255, 255, .7); }
.button:hover { background: var(--foil-soft); background-size: 200% 100%; background-position: 100% 0; border-color: #a8823f; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(138, 100, 32, .75), inset 0 1px 0 rgba(255, 255, 255, .7); }
.button.gold { background: var(--foil-soft); background-size: 200% 100%; }
.button.ghost { background: #fff; color: #2a2114; border-color: rgba(168, 130, 63, .55); box-shadow: none; }
.button.ghost:hover { background: #fffaf0; border-color: #a8823f; }
.button { transition: background-position .6s var(--ease), transform .25s var(--ease), box-shadow .25s, border-color .25s; }

/* hero: white stage, fireworks canvas behind the content */
.hero { background: radial-gradient(ellipse 70% 60% at 75% 30%, rgba(240, 220, 168, .32), transparent 70%), #fff; isolation: isolate; }
.hero::before { background: radial-gradient(ellipse 45% 50% at 10% 90%, rgba(249, 241, 222, .9), transparent 70%); z-index: -2; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero h1 { color: #1f1a12; }
.arch { box-shadow: 0 50px 90px -40px rgba(138, 100, 32, .55), 0 0 0 1px rgba(201, 162, 78, .55), 0 0 0 10px #fff, 0 0 0 11px rgba(201, 162, 78, .35); }
.hero-badge { background: rgba(255, 255, 255, .94); border-color: rgba(201, 162, 78, .5); }
.fx-toggle { position: absolute; left: var(--gutter); bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: .06em; cursor: pointer; }
.fx-toggle:hover { color: var(--ink); border-color: var(--gold); }
.fx-toggle::before { content: ""; width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.fx-toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* marquee band */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; }
.marquee-track { display: flex; width: max-content; gap: 56px; padding: 18px 0; animation: marquee 48s linear infinite; }
.marquee span { font: 400 clamp(18px, 2.2vw, 28px)/1 var(--serif); letter-spacing: .14em; white-space: nowrap; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee i { align-self: center; width: 8px; height: 8px; transform: rotate(45deg); background: var(--foil-soft); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.fx-paused .marquee-track, .fx-paused .foil, .fx-paused .hero h1 em, .fx-paused .orbit-spin { animation-play-state: paused; }

/* purposes on white */
.purposes { background: #fff; border-top: 0; }
.purpose .num { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 15px; }

/* ---------- "night" sections become white & gold ---------- */
.night { background: radial-gradient(ellipse 60% 55% at 90% 0%, rgba(240, 220, 168, .4), transparent 65%), radial-gradient(ellipse 50% 45% at 0% 100%, rgba(249, 241, 222, .9), transparent 70%), #fff; color: var(--text); position: relative; overflow: hidden; }
.night h2, .night h3 { color: var(--ink); }
.night .eyebrow { color: var(--gold-text); }
.night .section-head p, .mission-text, .principles p, .contact-card p, .contact-note, .contact-foot, .windows small { color: var(--text); }
.night .arrow-link { color: var(--ink); }
.night .arrow-link span[aria-hidden] { color: var(--gold-text); }
.night .button.ghost { color: #2a2114; border-color: rgba(168, 130, 63, .55); }
.night .button.ghost:hover { background: #fffaf0; border-color: #a8823f; }
.night :where(a, button):focus-visible { outline-color: var(--gold); }
#mission::before { content: "HARU"; position: absolute; right: -2vw; top: 4%; font: 500 clamp(140px, 24vw, 380px)/1 var(--serif); letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 78, .28); pointer-events: none; }
.mission-grid h2 { font-size: clamp(34px, 5vw, 66px); }
.principles { border-top: 0; position: relative; }
.principles::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }
.principles li + li { border-left-color: rgba(201, 162, 78, .35); }
.principles .num { color: var(--gold-text); }
.bridge { border-top-color: rgba(201, 162, 78, .4); }
.bridge p { color: var(--ink); }

/* frames and cards: gold hairlines */
.business-media .frame { box-shadow: 0 40px 70px -45px rgba(138, 100, 32, .55), 0 0 0 1px rgba(201, 162, 78, .5), 0 0 0 9px #fff, 0 0 0 10px rgba(201, 162, 78, .3); }
.founder-photo .frame { box-shadow: 0 0 0 1px rgba(201, 162, 78, .5), 0 0 0 9px #fff, 0 0 0 10px rgba(201, 162, 78, .3); }
.tool, .game, .sub-service { background: #fff; border-color: rgba(201, 162, 78, .35); }
.tool:hover, .game:hover, .sub-service:hover { border-color: #c9a24e; box-shadow: 0 30px 60px -36px rgba(138, 100, 32, .55); }
.steps .num { color: #fff; -webkit-text-stroke: 1px #b8893a; }

/* ---------- contact: an engraved invitation card ---------- */
.contact-card { background: #fff; border: 1px solid rgba(201, 162, 78, .55); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(201, 162, 78, .35), 0 30px 70px -40px rgba(138, 100, 32, .45); position: relative; }
.contact-card.mail { background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(243, 227, 184, .55), transparent 60%), #fff; border-color: #c9a24e; }
.contact-card.mail::after { content: ""; position: absolute; right: 28px; top: 26px; width: 64px; height: 64px; border-radius: 50%; background: url("/assets/brand/haru-logo-160.webp") center / 62% no-repeat, radial-gradient(circle, #fff 55%, #f6ead0 100%); box-shadow: 0 0 0 1px rgba(201, 162, 78, .6), 0 0 0 5px #fff, 0 0 0 6px rgba(201, 162, 78, .35); }
.contact-card .kicker { color: var(--gold-text); }
.contact-card .mail-address { color: var(--ink); text-decoration-color: #c9a24e; }
.contact-card .mail-address:hover { text-decoration-color: var(--gold-text); }
.copy-status { color: var(--gold-text); }
.windows { border-color: rgba(201, 162, 78, .45); background: #fff; }
.windows a { color: var(--ink); }
.windows a + a { border-left-color: rgba(201, 162, 78, .35); }
.windows a:hover { background: #fffaf0; }

/* footer: ivory & gold */
.site-footer { background: linear-gradient(180deg, #fffdf8, #f7f0df); color: var(--text); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }
.footer-top, .footer-sites { border-bottom-color: rgba(201, 162, 78, .35); }
.footer-brand .logo { color: var(--ink); }
.footer-brand .logo small, .footer-sites span { color: var(--muted); }
.footer-brand p { color: var(--ink-soft); }
.footer-brand .mail-address { color: var(--ink); text-decoration-color: #c9a24e; }
.footer-col h3 { color: var(--gold-text); }
.footer-col a, .footer-sites a, .copyright a, .haru-client-footer a { color: var(--ink-soft); }
.footer-col a:hover, .footer-sites a:hover { color: var(--ink); }
.copyright { color: var(--muted); }
.haru-client-footer { background: #f3ead4; border-top-color: rgba(201, 162, 78, .3); color: var(--muted); }
.measurement-settings { color: var(--ink-soft); border-color: var(--line); }

/* mobile contact bar: white with gold */
@media (max-width: 860px) {
  .mobile-contact { background: rgba(255, 255, 255, .95); border: 1px solid rgba(201, 162, 78, .55); box-shadow: 0 16px 40px -18px rgba(138, 100, 32, .55); }
  .mobile-contact a { color: var(--ink); }
  .mobile-contact a.mail { background: var(--foil-soft); color: #241c10; }
  .fx-toggle { bottom: 10px; }
  #mission::before { top: 1%; font-size: 34vw; }
}

/* ---------- opening ---------- */
.opening { position: fixed; inset: 0; z-index: 200; background: radial-gradient(ellipse 60% 50% at 50% 42%, #fffaf0 0%, #fff 60%), #fff; display: grid; place-items: center; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s; cursor: pointer; }
.opening::before, .opening::after { content: ""; position: absolute; left: 8%; right: 8%; height: 1px; background: var(--hair); transform: scaleX(0); animation: hair-in 1.6s .2s var(--ease) forwards; }
.opening::before { top: 12%; } .opening::after { bottom: 12%; }
@keyframes hair-in { to { transform: scaleX(1); } }
.opening-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening-copy { position: absolute; left: 0; right: 0; top: 58%; display: grid; justify-items: center; gap: 14px; padding: 0 20px; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease); pointer-events: none; }
.opening.show-copy .opening-copy { opacity: 1; transform: none; }
.opening-eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .4em; color: var(--gold-text); }
.opening-line { font: 500 clamp(20px, 3vw, 34px)/1.5 var(--serif); letter-spacing: .12em; background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil-shine 3s ease-in-out infinite; }
.opening-skip { position: absolute; right: 20px; bottom: 20px; min-height: 44px; padding: 8px 20px; border: 1px solid rgba(168, 130, 63, .55); border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink-soft); font: 600 13px/1 var(--sans); letter-spacing: .1em; cursor: pointer; }
.opening-skip:hover { border-color: var(--gold-text); color: var(--ink); }
.opening.is-leaving { opacity: 0; transform: scale(1.06); filter: blur(4px); pointer-events: none; }
.is-opening body { overflow: hidden; }
.is-opening .hero .reveal { opacity: 0 !important; transform: translateY(28px) !important; }
.is-opened .hero .reveal { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-opened .hero .hero-copy > :nth-child(2) { transition-delay: .12s; }
.is-opened .hero .hero-copy > :nth-child(3) { transition-delay: .24s; }
.is-opened .hero .hero-copy > :nth-child(4) { transition-delay: .32s; }
.is-opened .hero .hero-copy > :nth-child(5) { transition-delay: .42s; }
.is-opened .hero .hero-copy > :nth-child(6) { transition-delay: .5s; }
.is-opened .hero .hero-visual { transition-delay: .2s; }

/* global effect layer (sparks, glitter, celebrations) */
.fx-sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 120; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .foil, .hero h1 em, .opening-line, .marquee-track { animation: none !important; }
  .opening, .hero-sky, .fx-sky, .fx-toggle { display: none !important; }
}
em.foil { font-style: normal; }
.opening-line { word-break: auto-phrase; }
@media (max-width: 600px) { .opening-line { font-size: clamp(17px, 4.8vw, 22px); letter-spacing: .06em; } .opening-eyebrow { letter-spacing: .28em; } }

/* =====================================================================
   SHINE — brighter metallic gold, the orbit emblem, twinkles
   ===================================================================== */
:root {
  --foil: linear-gradient(105deg, #6e4f17 0%, #a8823f 14%, #f6e4ae 24%, #b8893a 34%, #7a5718 48%, #c9a24e 62%, #fff1c4 70%, #b8893a 78%, #7a5718 92%);
  --foil-soft: linear-gradient(105deg, #b8893a 0%, #f3dc9c 18%, #fff8e0 28%, #d6ae5c 42%, #b8893a 55%, #ecd28f 72%, #fffaea 80%, #c9a24e 100%);
}
.foil, .hero h1 em, .section-head h2 em, .opening-line { animation-duration: 5s; }

/* light sweeping across gold buttons */
.button { position: relative; overflow: hidden; isolation: isolate; }
.button:not(.ghost)::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: sweep 4.2s 1.2s ease-in-out infinite; z-index: -1; pointer-events: none; }
@keyframes sweep { 0% { left: -60%; } 30%, 100% { left: 130%; } }

/* sheen over the arch photo and the frames */
.arch::after, .business-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 250, 230, .55) 48%, transparent 60%); background-size: 250% 100%; animation: frame-sheen 7s 2s ease-in-out infinite; pointer-events: none; mix-blend-mode: soft-light; }
.business-media .frame { position: relative; }
@keyframes frame-sheen { 0% { background-position: 130% 0; } 40%, 100% { background-position: -40% 0; } }

/* twinkling four-point stars */
.twinkles { position: absolute; inset: 0; pointer-events: none; }
.twinkles i { position: absolute; width: var(--s, 18px); aspect-ratio: 1; background: var(--foil-soft); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 6px rgba(240, 210, 140, .9)); animation: twinkle 2.8s var(--d, 0s) ease-in-out infinite; opacity: 0; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; transform: scale(.85) rotate(60deg); } }

/* ---------- orbit emblem: the gold rings around the logo ---------- */
@property --sheen { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.orbit-emblem { position: relative; width: var(--size, 200px); aspect-ratio: 1; display: grid; place-items: center; perspective: 720px; isolation: isolate; }
.orbit-emblem::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 244, 210, .95) 0%, rgba(244, 222, 165, .45) 40%, transparent 70%); z-index: -1; }
.orbit-emblem .space { position: absolute; inset: 4%; transform-style: preserve-3d; pointer-events: none; }
.orbit-emblem .ring { position: absolute; inset: 0; border-radius: 50%; transform-style: preserve-3d; }
.orbit-emblem .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% - 3.5px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 3px));
  animation: ring-sheen 3.6s linear infinite; }
.orbit-emblem .ring:nth-child(2) .band { animation-duration: 4.4s; animation-direction: reverse; }
.orbit-emblem .ring:nth-child(3) .band { animation-duration: 5.2s; }
.orbit-emblem .bead { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf0, #e6c784 45%, #9b7228); box-shadow: 0 0 0 3px #fff, 0 0 14px rgba(232, 196, 120, .95); }
@keyframes ring-sheen { to { --sheen: 360deg; } }
.orbit-emblem .ring:nth-child(1) { transform: rotateZ(-20deg) rotateX(65deg); }
.orbit-emblem .ring:nth-child(2) { transform: rotateZ(50deg) rotateY(60deg); }
.orbit-emblem .ring:nth-child(3) { transform: rotateZ(115deg) rotateX(55deg); }
.orbit-emblem .ring:nth-child(4) { transform: rotateZ(-65deg) rotateY(70deg); inset: 11%; }
.orbit-emblem .core { position: relative; width: 40%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #fff 55%, #fff8e6 75%, rgba(255, 248, 230, 0) 100%); }
.orbit-emblem .core img { width: 82%; height: auto; filter: drop-shadow(0 4px 10px rgba(138, 100, 32, .35)) brightness(1.06) saturate(1.1); }
.orbit-emblem .core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%); background-size: 260% 100%; animation: frame-sheen 4.5s 1s ease-in-out infinite; mix-blend-mode: overlay; pointer-events: none; }

.hero-emblem { --size: clamp(150px, 15vw, 210px); margin: -12px 0 -8px -18px; }
@media (max-width: 860px) { .hero-emblem { --size: 150px; margin: 0 auto -6px; } .hero-copy { justify-items: start; } .hero-copy .hero-emblem { justify-self: center; } }

/* opening: logo inside the spinning rings */
.opening-emblem { position: absolute; left: 50%; top: 40%; --size: min(320px, 62vw); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.opening.show-emblem .opening-emblem { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.opening-copy { top: 62%; }

/* the mission watermark is the logo, not letters */
#mission::before { content: ""; right: -3vw; top: 6%; width: clamp(280px, 38vw, 560px); aspect-ratio: 4 / 3; background: url("/assets/brand/haru-logo-640.webp") center / contain no-repeat; opacity: .08; font: inherit; -webkit-text-stroke: 0; }
@media (max-width: 860px) { #mission::before { width: 70vw; top: 2%; } }

.fx-paused .twinkles i, .fx-paused .button::after, .fx-paused .arch::after, .fx-paused .frame::after, .fx-paused .band, .fx-paused .core::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .twinkles, .button::after, .arch::after, .frame::after, .core::after { display: none !important; }
  .band { animation: none !important; }
}
@media (max-width: 860px) {
  .hero-copy .hero-emblem { --size: 118px; justify-self: start; margin: -92px 0 -14px -10px; z-index: 2; }
  .hero-visual { aspect-ratio: 1 / .68; }
}
