/* ============================================================
   House of Inspiration Inc. — Corporate Site
   Self-contained design system. Visually matches the Healing
   Garden app (Cormorant Garamond + Zen Maru Gothic, rose theme,
   soft nature-inspired neutrals) per Takae's brief + homepage comp.
   Fonts are loaded via <link> in each page <head>.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Rose — muted, premium (brief #C98B9A/#B87E8F, mockup-aligned) */
  --rose-50:  #fdf4f7;
  --rose-100: #f9e6ec;
  --rose-200: #f0cdd8;
  --rose-300: #e0aebd;
  --rose-400: #cf94a6;
  --rose-500: #c07d92;   /* primary rose */
  --rose-600: #a8637a;   /* hover */
  --rose-700: #88485d;   /* deep / on-light text */

  /* Forest green accent — Mt. Tahoma forests (brief #3D5540). Use sparingly. */
  --forest-700: #2f4233;
  --forest-600: #3d5540;
  --forest-500: #4f6b53;
  --forest-300: #8aa890;

  /* Neutrals — soft, warm-leaning charcoal/grays */
  --ink:        #2f2b29;   /* primary text */
  --ink-soft:   #54504c;   /* secondary text */
  --ink-muted:  #857f79;   /* muted / captions */
  --line:       #ece7e3;   /* hairline borders */
  --bg:         #ffffff;
  --bg-soft:    #faf7f5;   /* section tint */
  --bg-rose:    #fdf4f7;   /* rose-tinted section */
  --bg-warm:    #fbf8f5;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-body:  'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;

  /* Scale / rhythm */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(120, 90, 100, 0.06);
  --shadow:    0 14px 40px -16px rgba(120, 80, 95, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(110, 70, 90, 0.30);

  /* Gradients */
  --grad-rose:  linear-gradient(135deg, var(--rose-300), var(--rose-500));
  --grad-soft:  linear-gradient(135deg, var(--rose-100), var(--rose-200));
  --grad-band:  linear-gradient(120deg, #f6d4df 0%, #e9a9bd 50%, #d98aa6 100%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rose-600); }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Bilingual toggle ----------
   Brand English phrases stay visible in both modes.
   Body copy uses .t-ja / .t-en and switches on html[data-lang]. */
html[data-lang="ja"] .t-en { display: none !important; }
html[data-lang="en"] .t-ja { display: none !important; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 116px); }
.section--tint { background: var(--bg-soft); }
.section--rose { background: var(--bg-warm); }
.section--warm { background: var(--bg-warm); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--rose-600);
  color: #fff; padding: 10px 18px; border-radius: var(--radius-pill); transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Section heads ---------- */
.eyebrow {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--rose-500);
  margin: 0 0 .15em; letter-spacing: .01em;
}
.eyebrow + .section__title-ja { margin-top: 0; }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }
.section__title {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); color: var(--ink); margin: 0 0 .35em;
}
.section__title-ja {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--ink); margin: 0 0 .4em; letter-spacing: .02em;
}
.section__lead { color: var(--ink-soft); max-width: 60ch; font-size: 1.02rem; }
.section__head.center .section__lead { margin-inline: auto; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.muted { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: #fff;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; padding: 13px 30px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; line-height: 1.25;
  border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease;
  text-align: center; white-space: nowrap;
}
.btn__en { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.btn--primary { background: var(--grad-rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); filter: saturate(1.05); }
.btn--outline { background: rgba(255,255,255,.6); color: var(--rose-700); border-color: var(--rose-300); }
.btn--outline:hover { color: var(--rose-700); background: #fff; border-color: var(--rose-500); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--rose-700); padding-inline: 0; }
.btn--ghost:hover { color: var(--rose-600); }
.btn--lg { padding: 16px 38px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--on-dark.btn--outline { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn--on-dark.btn--outline:hover { color: var(--rose-700); background: #fff; }

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 500;
  color: var(--rose-600); font-size: .98rem;
}
.arrow-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 74px; padding-block: 8px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { width: auto; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.brand__name-ja { font-size: .62rem; color: var(--ink-muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--ink-soft); padding: 6px 2px; position: relative; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--rose-700); }
.nav__en { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.nav__ja { font-size: .82rem; font-weight: 500; white-space: nowrap; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--rose-400);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--rose-200); border-radius: var(--radius-pill);
  overflow: hidden; background: #fff;
}
.lang-toggle__btn {
  border: 0; background: transparent; color: var(--ink-muted); cursor: pointer;
  padding: 6px 14px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; transition: all .2s ease;
}
.lang-toggle__btn[aria-pressed="true"] { background: var(--grad-rose); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(255,253,251,.97) 0%, rgba(255,253,251,.88) 32%, rgba(252,247,244,.5) 54%, rgba(255,255,255,.04) 74%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 600px; padding-block: 60px; }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1.04; font-weight: 400;
  letter-spacing: 0; margin: 0 0 .35em; color: var(--ink);
}
.hero__title .accent { color: var(--rose-500); }
.hero__title-ja {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  line-height: 1.7; color: var(--ink); margin: 0 0 1.1em; letter-spacing: .02em;
}
.hero__sub { color: var(--ink-soft); font-size: 1.04rem; max-width: 42ch; margin-bottom: 1.8em; }
.hero__sub .t-en { font-size: .98rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero { position: relative; padding-block: clamp(64px, 12vw, 130px); overflow: hidden; background: linear-gradient(160deg, #faf7f5 0%, #f1ede8 100%); }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--rose-400), var(--forest-500)); opacity: .8; }
.page-hero--photo { background: #2f2b29; }
.page-hero--photo .page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero--photo .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(40,30,36,.6), rgba(40,30,36,.2)); }
.page-hero--photo .page-hero__inner { position: relative; z-index: 2; color: #fff; }
.page-hero--photo .page-hero__title, .page-hero--photo .page-hero__eyebrow { color: #fff; }
.page-hero--photo .page-hero__sub { color: rgba(255,255,255,.9); }
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; }
.page-hero__eyebrow { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--rose-600); margin-bottom: .1em; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .25em; }
.page-hero__title-ja { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.4rem); margin-bottom: .5em; }
.page-hero__sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 56ch; }

/* breadcrumb */
.crumbs { font-size: .8rem; color: var(--ink-muted); margin-bottom: 1.4em; }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--rose-600); }

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__body { max-width: 52ch; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
.stat { text-align: center; padding: 22px 14px; }
.stat__icon { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--rose-400); }
.stat__num { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; color: var(--rose-600); line-height: 1; }
.stat__label { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }

/* ============================================================
   CARDS (businesses / generic)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 30px); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--grad-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--placeholder { display: grid; place-items: center; }
.card__media--placeholder .card__glyph { font-size: 3rem; filter: drop-shadow(0 6px 14px rgba(160,100,120,.25)); }
.card__glyph svg { width: 3.1rem; height: 3.1rem; color: var(--rose-600); }
.card__glyph.has-svg-icon { filter: none; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__title-en { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--rose-600); margin: 0; line-height: 1.1; }
.card__title-ja { font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 2px 0 10px; }
.card__text { color: var(--ink-soft); font-size: .95rem; flex: 1; margin-bottom: 16px; }
.card__link { margin-top: auto; }

/* feature list */
.feature-list { display: grid; gap: 18px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--rose-600); font-size: 1.3rem;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__title { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin: 0 0 2px; color: var(--ink); }
.feature__text { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ============================================================
   FOUNDER block
   ============================================================ */
.founder { position: relative; overflow: hidden; }
.founder__bg { position: absolute; inset: 0; z-index: 0; }
.founder__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.founder .container { position: relative; z-index: 1; }
.founder__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder__portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--grad-soft); }
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder__quote { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--rose-700); margin-bottom: 1em; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; background: linear-gradient(125deg, #33473a 0%, #3d5540 55%, #4f6b53 100%); overflow: hidden; text-align: center; color: #fff; }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(48px, 8vw, 86px); }
.cta-band__title { font-size: clamp(1.8rem, 4.5vw, 3rem); color: #fff; margin: 0 0 .3em; }
.cta-band__sub { color: rgba(255,255,255,.95); font-size: 1.05rem; margin-bottom: 1.6em; }
.cta-band .bokeh { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); filter: blur(2px); z-index: 1; }
.cta-band .bokeh:nth-child(1){ width: 90px; height: 90px; top: 14%; left: 8%; opacity:.4;}
.cta-band .bokeh:nth-child(2){ width: 50px; height: 50px; top: 60%; left: 18%; opacity:.3;}
.cta-band .bokeh:nth-child(3){ width: 120px; height: 120px; top: 30%; right: 10%; opacity:.3;}
.cta-band .bokeh:nth-child(4){ width: 40px; height: 40px; bottom: 18%; right: 22%; opacity:.4;}

/* ============================================================
   FORMS (contact)
   ============================================================ */
.form { display: grid; gap: 20px; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { display: flex; flex-direction: column; gap: 7px; }
.form__label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.form__label .req { color: var(--rose-500); margin-left: 3px; }
.form__input, .form__select, .form__textarea {
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.form__textarea { min-height: 150px; resize: vertical; }
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 3px var(--rose-100);
}
.form__note { font-size: .82rem; color: var(--ink-muted); }
.form__success {
  display: none; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--rose-50); border: 1px solid var(--rose-200); color: var(--rose-700);
}
.form__success.is-visible { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { margin-top: 5px; accent-color: var(--rose-500); }

/* ============================================================
   BLOG
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--grad-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-500); font-weight: 600; margin-bottom: 8px; }
.post-card__title { font-size: 1.25rem; margin: 0 0 8px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--rose-600); }
.post-card__excerpt { color: var(--ink-soft); font-size: .93rem; flex: 1; margin-bottom: 14px; }

.post { max-width: 760px; margin: 0 auto; }
.post__meta { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-500); font-weight: 600; margin-bottom: 10px; }
.post__title { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: .3em; }
.post__lede { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 1.6em; }
.post__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2em; box-shadow: var(--shadow); }
.post__body { font-size: 1.05rem; color: var(--ink-soft); }
.post__body h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--ink); }
.post__body h3 { font-size: 1.25rem; margin-top: 1.3em; color: var(--ink); }
.post__body p { margin-bottom: 1.2em; }
.post__body img { border-radius: var(--radius-sm); margin: 1.4em 0; }

/* ============================================================
   Company info / definition list
   ============================================================ */
.info-table { border-top: 1px solid var(--line); }
.info-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-table dt { font-weight: 700; color: var(--ink); font-size: .92rem; margin: 0; }
.info-table dd { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fbf6f4; border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 72px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: clamp(20px, 3vw, 40px); }
.footer__brand { max-width: 240px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tagline { font-size: .86rem; color: var(--ink-muted); }
.footer__col-title { font-family: var(--font-serif); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600); font-weight: 600; margin-bottom: 4px; }
.footer__col-title-ja { font-size: .72rem; color: var(--ink-muted); margin-bottom: 12px; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { font-size: .86rem; color: var(--ink-soft); }
.footer__links a:hover { color: var(--rose-600); }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--rose-600); }
.footer__social a:hover { background: var(--rose-500); color: #fff; border-color: var(--rose-500); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(32px, 5vw, 52px); padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-muted); }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: var(--ink-muted); }

/* ============================================================
   Scroll reveal (subtle, tasteful)
   ============================================================ */
/* Visible by default (no-JS / no-observer safe); only hidden once JS confirms it can animate. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Collapse the (8-item) nav to a drawer before it would crowd the logo + lang toggle. */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease; max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__en { order: 2; }
}
@media (max-width: 940px) {
  .cards, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .split, .founder__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .founder__portrait { max-width: 360px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 6px; }
  .stat { display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px; }
  .stat__icon { margin: 0; }
  .info-table > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__overlay { background: linear-gradient(180deg, rgba(255,253,251,.95) 0%, rgba(255,253,251,.85) 55%, rgba(252,247,244,.6) 100%); }
  .hero__media img { object-position: 70% center; }
}
