/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F3F4F6;
  --bg-alt: #F0EFF3;
  --bg-dark: #141412;
  --bg-footer: #111110;
  --ink: #141414;
  --ink-light: #f2f0ec;
  --accent: #7b46c9;
  --border: #DEE0E6;
  --border-card: #E4E6EB;
  --border-dash: #DADDE3;
  --border-dark: rgba(255,255,255,.16);
  --hatch: #D3D6DE;
  --slot: #E8EAEE;
  --tile: #EDEFF2;
  --grey-1: #4A4756;
  --grey-2: #55525F;
  --grey-3: #615E6C;
  --grey-4: #5c5a55;
  --grey-5: #4a4844;
  --grey-6: #6A6478;
  --grey-dark-1: #A5A0B0;
  --grey-dark-2: #A6A1AE;
  --grey-dark-3: #cdcac3;
  --pad-x: clamp(18px, 4.5vw, 64px);
  --pad-y: clamp(60px, 9vh, 112px);
  --nav-h: clamp(54px, 6.4vw, 68px);
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); opacity: .65; }
h1, h2, h3, h4, p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Keyframes ---------- */
@keyframes wr { from { opacity: 0; filter: blur(9px); transform: translateY(.26em); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-8px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes cueline { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes cyc { 0% { opacity: 0; filter: blur(10px); transform: translateY(.55em); } 100% { opacity: 1; filter: blur(0); transform: none; } }
@keyframes throb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes halo { 0%, 100% { opacity: .25; transform: scale(.9); } 50% { opacity: .6; transform: scale(1.06); } }

/* Reveal gating: [data-w] children animate only once the section is on */
[data-w] { opacity: 0; animation: wr 1.05s var(--ease-out) 0s forwards; }
[data-reveal] [data-w], [data-reveal] [data-w]::after { animation-play-state: paused; }
[data-reveal][data-on] [data-w], [data-reveal][data-on] [data-w]::after { animation-play-state: running; }

/* ---------- Intro overlay ---------- */
.intro {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: background .95s cubic-bezier(.4,0,.2,1), opacity .55s ease .5s, visibility .55s .5s;
}
html.is-intro .intro { background: var(--bg-footer); opacity: 1; visibility: visible; }
html:not(.is-intro) .intro__icon { animation-play-state: paused; }
.intro__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  filter: blur(22px); transform: scale(1.06);
  transition: filter .85s cubic-bezier(.4,0,.2,1), transform 1.1s var(--ease-out);
}
html.is-intro .intro__inner { filter: blur(0); transform: scale(1); }
.intro__icon {
  width: clamp(56px, 6vw, 80px); height: auto; border-radius: clamp(15px, 1.7vw, 22px);
  margin-bottom: clamp(84px, 14vh, 168px);
  opacity: 0;
  animation: wr 1.4s var(--ease-out) .1s forwards, throb 4.2s ease-in-out 1.5s infinite;
}
.intro__time {
  font-size: clamp(28px, 5.6vw, 64px); font-weight: 300; color: var(--ink-light);
  letter-spacing: -.03em; text-align: center; padding: 0 24px;
  opacity: 0; animation: wr 1.2s var(--ease-out) .75s forwards;
}
.intro__note {
  position: absolute; bottom: clamp(28px, 6vh, 64px); left: 0; right: 0;
  text-align: center; font-size: clamp(12px, 1.4vw, 15px); font-weight: 300; color: #8E8A99;
  padding: 0 24px; opacity: 0; animation: wr 1.2s var(--ease-out) 1.45s forwards;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h); padding: 0 var(--pad-x);
  background: var(--bg); border-bottom: 1px solid var(--border);
  opacity: 1; transform: none;
  transition: opacity .9s ease .35s, transform .9s var(--ease-out) .35s;
}
html.is-intro .nav { opacity: 0; transform: translateY(-8px); }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--grey-1); }
.nav__brand img { width: 19px; height: 19px; border-radius: 6px; }
.nav__name, .nav__clock { font-size: clamp(12px, 1.15vw, 14px); color: var(--grey-1); }
.nav__clock { font-variant-numeric: tabular-nums; }
.nav__clock-short { display: none; }

/* ---------- Shell ---------- */
.hatch { position: relative; background-image: repeating-linear-gradient(45deg, var(--hatch) 0 1px, transparent 1px 8px); }
.shell {
  max-width: 1560px; width: calc(100% - 2 * clamp(14px, 3vw, 56px)); margin: 0 auto;
  background: var(--bg); padding-top: var(--nav-h);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}

/* ---------- Sections ---------- */
.section {
  position: relative; box-sizing: border-box;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
}
.section--alt { background: var(--bg-alt); }
.section--center { align-items: center; justify-content: center; }
/* corner ticks */
.section::before, .section::after {
  content: ""; position: absolute; top: -4.5px; width: 9px; height: 9px; pointer-events: none;
  background:
    linear-gradient(var(--border), var(--border)) center / 9px 1px no-repeat,
    linear-gradient(var(--border), var(--border)) center / 1px 9px no-repeat;
}
.section::before { left: -4.5px; }
.section::after { right: -4.5px; }
.section--hero { border-top: 0; }
.section--hero::before, .section--hero::after { display: none; }

.sechead {
  align-self: stretch; width: 100%;
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px);
  margin-bottom: clamp(30px, 5vh, 58px);
  font-family: var(--mono); font-size: clamp(11px, .95vw, 12px); font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2);
}
.sechead__num { font-variant-numeric: tabular-nums; }
.sechead__line { flex: 1; height: 1px; background: var(--border); }
.sechead--hero { margin-bottom: auto; }
.sechead--inset { width: calc(100% - 2 * var(--pad-x)); margin-left: var(--pad-x); margin-right: var(--pad-x); }
.sechead--dark { color: var(--grey-dark-1); }
.sechead--dark .sechead__line { background: var(--border-dark); }
.sechead--culture { grid-column: 1 / -1; margin-bottom: clamp(15px, 2.5vh, 29px); }

.block { display: flex; flex-direction: column; gap: 10px; }

/* ---------- 01 Hero ---------- */
.section--hero {
  min-height: calc(100svh - var(--nav-h));
  align-items: center; justify-content: center;
  gap: clamp(44px, 10vh, 110px);
  padding: clamp(22px, 3vh, 34px) var(--pad-x) clamp(36px, 5vh, 60px);
}
.hero__mark { position: relative; display: grid; place-items: center; opacity: 0; animation: fadeup .9s ease .2s forwards; }
.hero__halo {
  position: absolute; width: clamp(120px, 14vw, 190px); height: clamp(120px, 14vw, 190px); border-radius: 50%;
  background: radial-gradient(circle, rgba(123,70,201,.22), transparent 68%);
  animation: halo 7s ease-in-out infinite; pointer-events: none;
}
.hero__throb { animation: throb 4.2s ease-in-out infinite; will-change: transform; }
.hero__icon { display: block; width: clamp(62px, 7vw, 92px); height: auto; border-radius: clamp(16px, 1.9vw, 24px); }
.hero__title {
  max-width: 19ch; text-align: center; text-wrap: balance;
  font-weight: 600; font-size: clamp(30px, 5.8vw, 70px); line-height: 1.12; letter-spacing: -.035em;
}
.cue { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeup .8s ease 3.13s forwards; }
.cue__line { position: relative; width: 1px; height: clamp(34px, 5vh, 52px); background: #d8d5cf; overflow: hidden; }
.cue__fill { position: absolute; inset: 0; background: var(--ink); animation: cueline 2.4s cubic-bezier(.65,0,.35,1) infinite; }
.cue__chev { animation: cue 2.4s cubic-bezier(.65,0,.35,1) infinite; }

/* ---------- 02 What we will do ---------- */
.section--center { gap: clamp(32px, 4.5vh, 50px); }
.h2 {
  max-width: 20ch; text-align: center; text-wrap: balance;
  font-weight: 600; font-size: clamp(27px, 4.8vw, 58px); line-height: 1.12; letter-spacing: -.035em;
}
.lead {
  max-width: 52ch; text-align: center; text-wrap: pretty;
  font-weight: 300; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.65; color: var(--grey-5);
}

/* ---------- 03 Emotions ---------- */
.section--emotions { gap: clamp(24px, 3.6vh, 42px); }
.eyebrow { text-align: center; font-weight: 400; font-size: clamp(15px, 1.7vw, 21px); letter-spacing: -.02em; color: var(--grey-2); }
.care { display: flex; flex-direction: column; align-items: center; gap: clamp(4px, 1vh, 10px); }
.care__lead { font-weight: 600; font-size: clamp(30px, 5.8vw, 70px); letter-spacing: -.035em; line-height: 1.1; text-align: center; }
.care__word {
  position: relative; display: grid; place-items: center; height: 1.25em; overflow: hidden;
  font-weight: 600; font-size: clamp(30px, 5.8vw, 70px); letter-spacing: -.035em; line-height: 1.25; color: var(--accent);
}
.care__cycle { display: block; white-space: nowrap; animation: cyc .8s var(--ease-out) both; }
.care__note {
  margin-top: clamp(8px, 2vh, 20px); max-width: 44ch; text-align: center; text-wrap: pretty;
  font-weight: 300; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.6; color: var(--grey-3);
}

/* ---------- 04 First product ---------- */
.section--product { gap: clamp(38px, 5.5vh, 62px); padding: var(--pad-y) 0; overflow: hidden; }
.mono-line { margin: 0 var(--pad-x); font-weight: 400; font-size: clamp(12px, 1.5vw, 17px); letter-spacing: .2em; color: var(--grey-3); text-align: center; }
.iconband { position: relative; width: 100%; padding: clamp(26px, 3.6vw, 44px) 0; border-top: 1px dashed var(--border-dash); border-bottom: 1px dashed var(--border-dash); }
.iconrow { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 34px); }
.slot {
  position: relative; display: grid; place-items: center;
  width: clamp(74px, 9vw, 124px); aspect-ratio: 1; border-radius: clamp(20px, 2.6vw, 30px);
  background: var(--slot); opacity: .5;
}
.slot__ring { border-radius: 50%; border: 1px solid var(--border-dash); }
.slot__ring--outer { width: 62%; height: 62%; }
.slot__ring--inner { position: absolute; width: 44%; height: 44%; }
.slot__bar { position: absolute; background: var(--border-dash); }
.slot__bar--h { width: 78%; height: 1px; }
.slot__bar--v { height: 78%; width: 1px; }
.tile {
  display: grid; place-items: center;
  width: clamp(94px, 11.5vw, 158px); aspect-ratio: 1; border-radius: clamp(24px, 3.2vw, 38px);
  background: var(--tile);
  transition: transform .45s var(--ease-out), box-shadow .45s ease;
}
.tile:hover { opacity: 1; transform: translateY(-4px); box-shadow: 0 22px 45px -26px rgba(123,70,201,.55); }
.tile img { width: 72%; height: auto; border-radius: 22%; display: block; }
.product { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.6vh, 18px); margin: 0 var(--pad-x); }
.product__name { font-size: clamp(19px, 2.3vw, 28px); font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.product__desc { max-width: 48ch; text-align: center; text-wrap: pretty; font-weight: 300; font-size: clamp(14px, 1.55vw, 18px); line-height: 1.65; color: var(--grey-2); }

/* ---------- 05 Values ---------- */
.section--values { gap: clamp(34px, 5vh, 54px); }
.h3 { font-weight: 600; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.03em; }
.h3--values { max-width: 24ch; text-wrap: balance; }
.valgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.6vw, 32px); background: #fff; border: 1px solid var(--border-card); border-radius: 22px;
}
.card__num { font-size: clamp(11px, 1vw, 12px); font-weight: 600; letter-spacing: .14em; color: var(--grey-6); }
.card__title { font-weight: 600; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.025em; text-wrap: balance; }
.card__body { font-weight: 300; font-size: clamp(14px, 1.4vw, 16px); line-height: 1.6; color: var(--grey-4); text-wrap: pretty; }

/* ---------- 06 Culture ---------- */
.section--culture {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(30px, 4.5vh, 56px) var(--pad-x);
  background: var(--bg-dark); color: var(--ink-light); border-top-color: var(--border-dark);
}
.section--culture .block { gap: 14px; }
.h3--culture { font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.1; max-width: 20ch; text-wrap: balance; }
.culture__body { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 26px); }
.culture__p { font-weight: 300; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.65; color: var(--grey-dark-3); text-wrap: pretty; }

/* ---------- 07 FAQs ---------- */
.section--faqs { gap: clamp(34px, 5vh, 54px); }
.faq { display: flex; flex-direction: column; max-width: 820px; width: 100%; }
.faq__item { border-top: 1px solid var(--border); }
.faq__end { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2.2vw, 26px) 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-weight: 500; font-size: clamp(16px, 1.8vw, 21px); letter-spacing: -.02em; color: var(--ink);
}
.faq__icon {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #D5D8DF; background: transparent; transform: none;
  transition: transform .4s var(--ease-out), background .3s ease;
}
.faq__item.is-open .faq__icon { background: #E7E9EE; transform: rotate(135deg); }
.faq__panel {
  display: grid; grid-template-rows: 0fr; opacity: 0; overflow: hidden;
  transition: grid-template-rows .45s var(--ease-out), opacity .35s ease;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; opacity: 1; }
.faq__clip { min-height: 0; overflow: hidden; }
.faq__a { padding-bottom: clamp(20px, 2.4vw, 28px); max-width: 62ch; font-weight: 300; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.65; color: var(--grey-4); text-wrap: pretty; }

/* ---------- 08 Footer ---------- */
.section--footer {
  align-items: center; justify-content: center; gap: 22px;
  padding: var(--pad-y) var(--pad-x) clamp(44px, 6vh, 72px);
  background: var(--bg-footer); color: var(--ink-light); border-top-color: var(--border-dark);
}
.footer__mark { display: flex; flex-direction: column; align-items: center; gap: 20px; color: var(--ink-light); transition: opacity .4s ease; }
.footer__mark:hover { color: var(--ink-light); opacity: .55; }
.footer__mark img { width: clamp(60px, 6.5vw, 88px); height: auto; border-radius: 18px; }
.footer__tag { font-size: clamp(11px, 1.15vw, 14px); font-weight: 300; color: var(--grey-dark-2); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 30px); margin-top: clamp(30px, 5vh, 54px); }
.footer__link { font-size: clamp(13px, 1.35vw, 16px); font-weight: 500; letter-spacing: -.01em; color: var(--ink-light); }
.footer__link:hover { color: var(--ink-light); }
.footer__social { display: grid; place-items: center; width: 34px; height: 34px; color: var(--ink-light); transition: opacity .3s ease; }
.footer__social:hover { color: var(--ink-light); opacity: .5; }
.footer__addr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: clamp(26px, 4.5vh, 48px); text-align: center; text-wrap: pretty; }
.footer__addr-label { font-size: clamp(13px, 1.35vw, 16px); font-weight: 600; letter-spacing: -.01em; color: var(--ink-light); }
.footer__addr-text { max-width: 62ch; font-size: clamp(12.5px, 1.3vw, 15px); font-weight: 300; line-height: 1.6; color: var(--grey-dark-3); }
.footer__copy { margin-top: 6px; font-size: clamp(11.5px, 1.2vw, 14px); font-weight: 300; letter-spacing: .01em; color: var(--grey-dark-2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hatch { background-image: none; }
  .shell { width: 100%; border-left: 0; border-right: 0; }
  .section::before, .section::after { display: none; }
}
@media (max-width: 640px) {
  .sechead { margin-bottom: clamp(22px, 3.4vh, 34px); }
  .sechead--hero { margin-bottom: auto; }
  .section--hero { min-height: 92svh; }
  .hero__title, .h2 { max-width: 100%; }
  .iconrow { gap: 10px; }
  .slot { width: clamp(52px, 18vw, 74px); border-radius: 16px; }
  .tile { width: clamp(84px, 27vw, 110px); border-radius: 22px; }
  .mono-line { letter-spacing: .14em; }
  .nav__clock [data-clock-full] { display: none; }
  .nav__clock-short { display: inline; }
  .nav__clock { letter-spacing: .1em; }
  .valgrid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro__icon, .hero__halo, .hero__throb, .cue__fill, .cue__chev { animation-iteration-count: 1; }
  [data-w], .hero__mark, .cue, .intro__time, .intro__note, .care__cycle { animation-duration: .01s; animation-delay: 0s; }
  .intro, .intro__inner, .nav, .tile, .faq__icon, .faq__panel { transition-duration: .01s; }
}
