/* ═══════════════════════════════════════════════
   SIGNO CORPORATION — style.css
   1. Tokens      2. Reset      3. Utilities
   4. Header      5. Hero       6. Marquee
   7. About       8. Brands     9. Capabilities
   10. Process    11. Contact   12. Footer
   13. Motion     14. Responsive
   15. Sub pages (privacy / terms / support / company)
   ═══════════════════════════════════════════════ */

/* ── 1. Tokens ───────────────────────────────── */
:root {
  /* surface */
  --bg:         #08090b;
  --bg-2:       #0e1014;
  --bg-3:       #14171d;
  --line:       rgba(255,255,255,.10);
  --line-2:     rgba(255,255,255,.06);

  /* ink */
  --ink:        #f4f5f7;
  --ink-2:      #a9aeb8;
  --ink-3:      #6d737e;

  /* accent */
  --accent:     #f94500;
  --accent-2:   #c3e514;

  /* type */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;

  --t-hero:  clamp(2.75rem, 7.2vw, 6.5rem);
  --t-h2:    clamp(2rem, 4.4vw, 3.6rem);
  --t-h3:    clamp(1.15rem, 1.7vw, 1.45rem);
  --t-lead:  clamp(1.05rem, 1.5vw, 1.3rem);
  --t-body:  clamp(.95rem, 1.05vw, 1.02rem);

  /* layout */
  --shell:   1240px;
  --gutter:  clamp(1.25rem, 4vw, 3rem);
  --sec-y:   clamp(5rem, 11vw, 9.5rem);
  --radius:  18px;

  /* motion */
  --ease:    cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);

  color-scheme: dark;
}

/* ── 2. Reset ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* header offset for anchor jumps */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.72;
  letter-spacing: -.011em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -.035em; font-weight: 700; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a  { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* ── 3. Utilities ────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); position: relative; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: .7rem 1.1rem; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249,69,0,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(249,69,0,.18); }
  50%     { box-shadow: 0 0 0 9px rgba(249,69,0,0); }
}

.sec-num {
  display: block;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; color: var(--ink-3);
  margin-bottom: 1rem;
}
.sec-num::before { content: "— "; }

.sec-title { font-size: var(--t-h2); }

.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--split {
  display: flex; flex-wrap: wrap; gap: 1.75rem 3rem;
  align-items: flex-end; justify-content: space-between;
}
.sec-desc {
  max-width: 34ch; color: var(--ink-2);
  padding-bottom: .35rem;
}

.lead-xl {
  font-size: var(--t-lead);
  line-height: 1.6; letter-spacing: -.022em;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.lead-xl mark {
  background: linear-gradient(transparent 62%, rgba(249,69,0,.35) 0);
  color: var(--ink); padding: 0 .12em;
}
.body { color: var(--ink-2); }
.body + .body { margin-top: 1.05rem; }

.grad {
  background: linear-gradient(100deg, var(--accent) 0%, #ff8a3d 45%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* buttons */
.btn {
  --btn-py: .95rem; --btn-px: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  font-size: .93rem; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
}
.btn--sm { --btn-py: .58rem; --btn-px: 1.15rem; font-size: .84rem; }
.btn--full { width: 100%; }

.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: #ff5a1c; transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.32); transform: translateY(-2px); }

.btn:active { transform: translateY(0); }

/* ── 4. Header ───────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(8,9,11,.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-2);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brandmark { display: inline-flex; align-items: center; gap: .7rem; }
.brandmark__glyph { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brandmark__text { display: flex; flex-direction: column; line-height: 1.05; }
.brandmark__text strong {
  font-size: 1.02rem; font-weight: 800; letter-spacing: .13em;
}
.brandmark__text em {
  font-style: normal; font-size: .56rem; font-weight: 600;
  letter-spacing: .3em; color: var(--ink-3);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.9rem; }
.nav__link {
  position: relative;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: color .22s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { color: var(--ink); }

.header__progress {
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .1s linear;
}

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  margin-right: -10px;
}
.nav-toggle span {
  display: block; width: 21px; height: 1.8px; border-radius: 2px;
  background: var(--ink);
  transition: transform .32s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ── 5. Hero ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: 9rem clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg-2); }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: grayscale(.35) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 15% 100%, rgba(249,69,0,.18), transparent 60%),
    linear-gradient(180deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.45) 38%, rgba(8,9,11,.96) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 20%, transparent 78%);
}

.hero__inner { position: relative; width: 100%; }

.hero__title {
  font-size: var(--t-hero);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 1.6rem 0 0;
}
.hero__title .line { display: block; }

.hero__lead {
  max-width: 46ch;
  margin-top: 1.8rem;
  font-size: var(--t-lead);
  color: var(--ink-2);
  line-height: 1.68;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 2.6rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.9rem;
  border-top: 1px solid var(--line-2);
}
.hero__meta li { display: flex; flex-direction: column; gap: .2rem; }
.hero__meta b {
  font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.hero__meta span {
  font-size: .78rem; color: var(--ink-3);
  letter-spacing: .04em;
}

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3.5rem, 8vw, 6rem);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .62rem; letter-spacing: .28em; color: var(--ink-3);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 62px; background: var(--line);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  animation: scrollDrop 2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0%   { transform: translateY(-100%); }
  60%,100% { transform: translateY(100%); }
}

.hero__sound {
  position: absolute; left: var(--gutter); bottom: clamp(3.5rem, 8vw, 6rem);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem .5rem .8rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(8,9,11,.5); backdrop-filter: blur(8px);
  font-size: .74rem; color: var(--ink-2);
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.hero__sound:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.hero__sound-ico {
  width: 9px; height: 10px; flex: none;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}
.hero__sound[aria-pressed="false"] .hero__sound-ico {
  border: 0;
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}

/* ── 6. Marquee ──────────────────────────────── */
.marquee {
  border-block: 1px solid var(--line-2);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1.15rem;
}
.marquee__track {
  display: flex; width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center; gap: 2.4rem;
  padding-right: 2.4rem;
}
.marquee__group i {
  font-style: normal; font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  font-weight: 700; letter-spacing: -.02em; color: var(--ink-3);
  transition: color .3s var(--ease);
}
.marquee__group i:hover { color: var(--ink); }
.marquee__group b { color: var(--accent); font-size: .7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── 7. About ────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.pillars { display: grid; gap: 1px; background: var(--line-2); border-radius: var(--radius); overflow: hidden; }
.pillar {
  background: var(--bg-2);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  transition: background-color .3s var(--ease);
}
.pillar:hover { background: var(--bg-3); }
.pillar__idx {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(249,69,0,.12); color: var(--accent);
  font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  margin-bottom: .95rem;
}
.pillar h3 { font-size: var(--t-h3); margin-bottom: .55rem; }
.pillar p { color: var(--ink-2); font-size: .93rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2.4vw, 2rem);
  display: flex; flex-direction: column; gap: .45rem;
}
.stat__num {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800; letter-spacing: -.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: .82rem; color: var(--ink-3); }

/* ── 8. Brands ───────────────────────────────── */
.section--brands { background: var(--bg-2); border-block: 1px solid var(--line-2); }

.filters {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.05rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .84rem; color: var(--ink-2);
  transition: all .25s var(--ease);
}
.chip b { font-size: .68rem; color: var(--ink-3); font-weight: 600; }
.chip:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.chip.is-active {
  background: var(--ink); border-color: var(--ink); color: #0a0b0d;
}
.chip.is-active b { color: rgba(10,11,13,.5); }

.brands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.brand-card { min-width: 0; }
.brand-card--wide { grid-column: span 3; }

.brand-card.is-hidden {
  display: none;
}

.brand-card__link {
  display: flex; flex-direction: column;
  height: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease-out);
}
.brand-card__link:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  transform: translateY(-4px);
}

.brand-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
}
.brand-card--wide .brand-card__media { aspect-ratio: 21 / 8; }

.brand-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.55) brightness(.82);
  transform: scale(1.02);
  transition: transform .7s var(--ease-out), filter .55s var(--ease);
}
.brand-card__link:hover .brand-card__media img {
  transform: scale(1.07);
  filter: grayscale(0) brightness(1);
}
.brand-card__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(8,9,11,.92), transparent);
  pointer-events: none;
}

.brand-card__body {
  position: relative;
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  flex: 1;
}
.brand-card__body::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: 3px; background: var(--brand);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.brand-card__link:hover .brand-card__body::before {
  transform: scaleY(1); transform-origin: top;
}

/* Source logos carry very different amounts of built-in whitespace
   (SMOLLID and illmm are marks floating on a large white field, KAPORI is
   a full-bleed photo). `contain` keeps every mark legible instead of
   cropping the padded ones down to an empty square. */
.brand-card__logo {
  width: 54px; height: 54px; flex: none;
  border-radius: 11px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid var(--line-2);
  background: #fff;
}
.brand-card--wide .brand-card__logo { width: 68px; height: 68px; }

.brand-card__text { min-width: 0; flex: 1; }
.brand-card__cat {
  display: block;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: .35rem;
}
.brand-card__name {
  font-size: var(--t-h3);
  margin-bottom: .5rem;
}
.brand-card--wide .brand-card__name { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.brand-card__desc { font-size: .89rem; color: var(--ink-2); line-height: 1.62; }
.brand-card--wide .brand-card__desc { max-width: 52ch; }

.brand-card__go {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-2);
  transition: all .3s var(--ease);
}
.brand-card__link:hover .brand-card__go {
  background: var(--brand); border-color: var(--brand);
  color: var(--brand-ink);
  transform: rotate(-45deg);
}

.brands__empty {
  margin-top: 2.5rem; text-align: center; color: var(--ink-3);
}

/* ── 9. Capabilities ─────────────────────────── */
.cap-list { border-top: 1px solid var(--line-2); }
.cap { border-bottom: 1px solid var(--line-2); }

.cap__head {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  padding: clamp(1.4rem, 2.6vw, 2rem) 0;
  text-align: left;
  transition: opacity .25s var(--ease);
}
.cap__head:hover { opacity: .72; }

.cap__no {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  color: var(--ink-3); flex: none;
}
.cap__title {
  flex: 1;
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  font-weight: 700; letter-spacing: -.03em;
}
.cap__icon {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease);
}
.cap__icon::before, .cap__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.6px; border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%,-50%);
  transition: transform .35s var(--ease), background-color .3s var(--ease);
}
.cap__icon::after { transform: translate(-50%,-50%) rotate(90deg); }

.cap.is-open .cap__icon { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.cap.is-open .cap__icon::after { transform: translate(-50%,-50%) rotate(0deg); }
.cap.is-open .cap__icon::before,
.cap.is-open .cap__icon::after { background: #fff; }

.cap__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease-out);
}
.cap.is-open .cap__panel { grid-template-rows: 1fr; }
.cap__panel > p {
  overflow: hidden;
  max-width: 68ch;
  color: var(--ink-2);
  padding-left: clamp(0px, 3vw, 4.6rem);
}
.cap.is-open .cap__panel > p { padding-bottom: clamp(1.4rem, 2.6vw, 2rem); }

/* ── 10. Process ─────────────────────────────── */
.section--process { background: var(--bg-2); border-block: 1px solid var(--line-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.steps::before {
  content: ""; position: absolute;
  top: 6px; left: 0; right: 0; height: 1px;
  background: var(--line-2);
}
.step { position: relative; padding-top: 2.6rem; }
.step__dot {
  position: absolute; top: 0; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--ink-3);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.step:hover .step__dot { border-color: var(--accent); background: var(--accent); }
.step__no {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  color: var(--ink-3); margin-bottom: .7rem;
}
.step h3 { font-size: var(--t-h3); margin-bottom: .55rem; }
.step p { font-size: .9rem; color: var(--ink-2); }

/* ── 11. Contact ─────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0, .82fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__copy .sec-title { margin-bottom: 1.5rem; }

.contact__info {
  margin-top: 2.6rem;
  border-top: 1px solid var(--line-2);
}
.contact__info li {
  display: flex; align-items: baseline; gap: 1.5rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-2);
}
.contact__info span {
  flex: none; width: 4.5rem;
  font-size: .78rem; letter-spacing: .1em; color: var(--ink-3);
}
.contact__info a { border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.contact__info a:hover { border-bottom-color: var(--accent); }

.contact__form {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: .8rem; font-weight: 600; color: var(--ink-2);
  margin-bottom: .5rem;
}
.field label i { color: var(--accent); font-style: normal; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .82rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .93rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field :is(input,select,textarea):focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}
.field ::placeholder { color: var(--ink-3); }

.field--check label {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .82rem; font-weight: 400; line-height: 1.55;
  color: var(--ink-2); cursor: pointer;
  margin-bottom: 0;
}
.field--check input {
  flex: none;
  width: 17px; height: 17px; margin: .18rem 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.field--check a { color: var(--ink); border-bottom: 1px solid var(--line); }
.field--check a:hover { border-bottom-color: var(--accent); }
.field--check.has-error input { outline: 2px solid #ff6b4a; outline-offset: 2px; }

.field__err {
  display: block; min-height: 1.15rem;
  margin-top: .35rem;
  font-size: .76rem; color: #ff6b4a;
}
.field.has-error :is(input,textarea) { border-color: #ff6b4a; }

.form-note {
  margin-top: .95rem; min-height: 1.4rem;
  font-size: .84rem; text-align: center; color: var(--ink-3);
}
.form-note.is-ok { color: var(--accent-2); }

/* ── 12. Footer ──────────────────────────────── */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  border-top: 1px solid var(--line-2);
}
.footer__top {
  display: flex; flex-wrap: wrap; gap: 3rem;
  justify-content: space-between;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__word {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: var(--ink);
}
.footer__brand p { margin-top: .8rem; color: var(--ink-3); font-size: .88rem; }

.footer__nav { display: flex; gap: clamp(2rem, 5vw, 4.5rem); }
.footer__nav h4 {
  font-size: .74rem; letter-spacing: .14em; color: var(--ink-3);
  margin-bottom: 1rem; font-weight: 600;
}
.footer__nav h4.is-blank { visibility: hidden; }
.footer__nav ul { display: grid; gap: .6rem; }
.footer__nav a { font-size: .88rem; color: var(--ink-2); transition: color .22s var(--ease); }
.footer__nav a:hover { color: var(--ink); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3); font-size: .8rem;
}
.to-top { transition: color .22s var(--ease); }
.to-top:hover { color: var(--ink); }

/* ── 13. Motion ──────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ── 14. Responsive ──────────────────────────── */
@media (max-width: 1080px) {
  .brands { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .brand-card--wide { grid-column: span 2; }
  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 2.6rem; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 74px; }
  .header__inner { height: 64px; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed; inset: 64px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.5rem var(--gutter) 2.2rem;
    background: rgba(8,9,11,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-2); }
  .nav__link { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.4rem; align-self: flex-start; }

  .hero { min-height: 92svh; padding-top: 7rem; }
  .hero__scroll { display: none; }
  .hero__meta { gap: 1.8rem 2.2rem; }

  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 1.9rem; }
  .step__dot { top: 5px; }
  .step::before {
    content: ""; position: absolute; left: 6px; top: 20px; bottom: -2.6rem;
    width: 1px; background: var(--line-2);
  }
  .step:last-child::before { display: none; }
}

@media (max-width: 620px) {
  .brands { grid-template-columns: 1fr; }
  .brand-card--wide { grid-column: span 1; }
  .brand-card--wide .brand-card__media { aspect-ratio: 3 / 2; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brandmark__text em { display: none; }
  .hero__sound { display: none; }
  .cap__no { display: none; }
  .footer__nav { flex-wrap: wrap; gap: 2rem 3rem; }
}

/* ── 15. Sub pages ───────────────────────────── */
/* Shared by privacy.html, terms.html, support.html, company.html */

.page-hero {
  padding-block: calc(76px + clamp(3rem, 7vw, 5.5rem)) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-2);
  background:
    radial-gradient(115% 130% at 10% 0%, rgba(249,69,0,.10), transparent 58%),
    var(--bg-2);
}
.page-hero__title { font-size: var(--t-h2); margin-top: .9rem; }
.page-hero__lead {
  margin-top: 1.15rem; max-width: 60ch;
  font-size: var(--t-lead); line-height: 1.62; color: var(--ink-2);
}
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  margin-top: 1.8rem;
  font-size: .78rem; letter-spacing: .06em; color: var(--ink-3);
}
.page-hero__meta b { font-weight: 600; color: var(--ink-2); }

.crumb {
  display: flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.crumb a { transition: color .22s var(--ease); }
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--line); }

/* two-column document layout with a sticky index */
.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.toc {
  position: sticky; top: 104px;
  border-left: 1px solid var(--line-2);
  padding-left: 1.3rem;
}
.toc h2 {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; color: var(--ink-3);
  margin-bottom: .95rem;
}
.toc ul { display: grid; gap: .58rem; }
.toc a { font-size: .84rem; color: var(--ink-2); transition: color .22s var(--ease); }
.toc a:hover { color: var(--ink); }

.doc { max-width: 74ch; }
.doc__section + .doc__section { margin-top: clamp(2.4rem, 4.5vw, 3.4rem); }
.doc__section h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  margin-bottom: .85rem;
  scroll-margin-top: 100px;
}
.doc__section h3 { font-size: 1rem; margin: 1.5rem 0 .45rem; }
.doc p { color: var(--ink-2); }
.doc p + p { margin-top: .9rem; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a:not(.btn) {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--ease);
}
.doc a:not(.btn):hover { border-bottom-color: var(--accent); }

.doc-list { display: grid; gap: .55rem; margin-top: .95rem; color: var(--ink-2); }
.doc-list + p, .doc-list + .callout, .doc .facts + p { margin-top: 1.1rem; }
.doc-list li { position: relative; padding-left: 1.15rem; }
.doc-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.doc-list--num { counter-reset: dl; }
.doc-list--num li { padding-left: 1.9rem; }
.doc-list--num li::before {
  counter-increment: dl; content: counter(dl, decimal-leading-zero);
  width: auto; height: auto; top: 0; border-radius: 0;
  background: none; color: var(--ink-3);
  font-size: .76rem; font-weight: 700; letter-spacing: .06em;
}

.callout {
  margin-top: 1.3rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--accent);
  border-radius: 12px;
  font-size: .89rem; color: var(--ink-2);
}
.callout b { color: var(--ink); }

/* key–value table (corporate profile, contact details) */
.facts { border-top: 1px solid var(--line-2); }
.facts__row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.5rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-2);
}
.facts dt {
  flex: none; width: 12rem;
  font-size: .78rem; letter-spacing: .08em; color: var(--ink-3);
}
.facts dd { margin: 0; color: var(--ink-2); }
.facts dd a { border-bottom: 1px solid var(--line); }
.facts dd a:hover { border-bottom-color: var(--accent); }
/* placeholder text that still has to be filled in before launch */
.todo { color: var(--ink-3); font-style: italic; }

/* support channels / company functions */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.tile-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  display: flex; flex-direction: column;
  background: var(--bg-2);
  padding: clamp(1.5rem, 2.8vw, 2.1rem);
  transition: background-color .3s var(--ease);
}
.tile:hover { background: var(--bg-3); }
.tile__idx {
  display: inline-flex; align-items: center; justify-content: center;
  align-self: flex-start;
  min-width: 26px; height: 26px; padding: 0 .45rem; border-radius: 7px;
  background: rgba(249,69,0,.12); color: var(--accent);
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  margin-bottom: 1rem;
}
.tile h3 { font-size: var(--t-h3); margin-bottom: .5rem; }
.tile p { color: var(--ink-2); font-size: .92rem; }
.tile__foot {
  margin-top: auto; padding-top: 1.2rem;
  font-size: .84rem;
}
.tile__foot a { border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.tile__foot a:hover { border-bottom-color: var(--accent); }
.tile__note { display: block; margin-top: .35rem; font-size: .76rem; color: var(--ink-3); }

/* history */
.milestones { border-top: 1px solid var(--line-2); }
.milestone {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr);
  gap: .35rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-2);
}
.milestone__year {
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.milestone h3 { font-size: 1rem; margin-bottom: .4rem; }
.milestone p { color: var(--ink-2); font-size: .92rem; }

/* footer legal block */
.footer__legal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .9rem 2.5rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line-2);
  font-size: .79rem; color: var(--ink-3);
}
.footer__legal b {
  display: block;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-2); margin-bottom: .2rem;
}
.footer__legal a { border-bottom: 1px solid var(--line-2); }
.footer__legal a:hover { border-bottom-color: var(--accent); }

.footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer__links a { transition: color .22s var(--ease); }
.footer__links a:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc {
    position: static;
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--line-2);
    padding-top: 1.4rem;
    order: 2;
  }
  .toc ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 16. Helpers replacing inline styles ─────── */
/* Kept in the stylesheet so the Content-Security-Policy can forbid inline styles. */

.brand-card--kapori  { --brand: #C3E514; --brand-ink: #12140a; }
.brand-card--smollid { --brand: #F94500; --brand-ink: #fff; }
.brand-card--dietrot { --brand: #6B2BA8; --brand-ink: #fff; }
.brand-card--illmm   { --brand: #ED1B34; --brand-ink: #fff; }
.brand-card--meuzel  { --brand: #7BA88A; --brand-ink: #0d120f; }
.brand-card--fivsoc  { --brand: #7CA0B3; --brand-ink: #0b1116; }

.link-inline { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
.link-inline:hover { border-bottom-color: var(--accent); }

.u-mt-lg { margin-top: 1.6rem; }
.u-mb-lg { margin-bottom: 1.6rem; }
.callout--narrow { max-width: 74ch; }
.panel-title { font-size: var(--t-h3); margin-bottom: .75rem; }

@media (max-width: 620px) {
  .tile-grid, .tile-grid--2 { grid-template-columns: 1fr; }
  .toc ul { grid-template-columns: 1fr; }
  .facts dt { width: 100%; }
  .milestone { grid-template-columns: 1fr; }
  .page-hero { padding-top: calc(64px + 3rem); }
}
