/* ねこふく — shared design tokens & base ----------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Cormorant:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* color */
  --bg:          #fbf9f5;
  --bg-card:     #ffffff;
  --beige:       #f2ebdd;
  --ink:         #211f1b;
  --ink-soft:    #5e574c;
  --ink-faint:   #8c8478;
  --navy:        #38465f;
  --navy-deep:   #2b3850;
  --navy-soft:   #6b7790;
  --line:        rgba(33,31,27,0.10);
  --line-soft:   rgba(33,31,27,0.06);

  /* type */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --latin: "Cormorant", Georgia, serif;

  /* rhythm */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 152px);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* layout helpers ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

/* eyebrow / English section label ---------------------------------- */
.eyebrow {
  font-family: var(--latin);
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  white-space: nowrap;
}

/* headings ---------------------------------------------------------- */
.h-display {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.04em;
  font-size: clamp(1.9rem, 5.2vw, 3.35rem);
}
.h-section {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
}

/* buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 56px;
  padding: 0 2.1em;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), background .35s, color .35s, border-color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 26px -14px rgba(43,56,80,0.7);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(43,56,80,0.65); }
.btn .arrow { font-family: var(--latin); font-size: 1.1em; transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }

/* cat motif --------------------------------------------------------- */
.cat-mark { color: var(--ink); }

/* placeholder image slot ------------------------------------------- */
.ph {
  position: relative;
  background-color: var(--beige);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 11px,
    rgba(33,31,27,0.035) 11px 22px
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph__label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-align: center;
  padding: 1em;
  line-height: 1.6;
}

/* reveal on scroll -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* notice / disclaimer ---------------------------------------------- */
.notice {
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* skip link --------------------------------------------------------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 200; border-radius: 0 0 6px 0; }
.skip:focus { left: 0; }
