/* =====================================================================
   tamagoyaki · soft pastel + japanese minimal
   ---------------------------------------------------------------------
   Contrast target: ejad-lychee is dark cyberpunk neon, daksouldy is
   heavy magazine. This one is the OPPOSITE — cream, soft, hand-drawn,
   breath. NO glows, NO scanlines, NO neon.
   ===================================================================== */

/* ░░ TOKENS ░░ */
:root {
  /* paper */
  --bg-0: #FAF6F1;            /* warm cream page */
  --bg-1: #FFFDF8;            /* card */
  --bg-2: #F2EBDF;            /* sunken */
  --ink-0: #2A2520;           /* main text, soft warm black */
  --ink-1: #5B5249;           /* secondary */
  --ink-2: #968A7E;           /* muted */
  --ink-3: #C8BEB0;           /* hairlines */

  /* tamago palette */
  --eggyolk: #F4C77A;         /* 🥚 yolk yellow */
  --eggyolk-deep: #E2A645;
  --sakura:  #F4C9CE;         /* pale pink */
  --sakura-deep: #E89BA3;
  --matcha:  #B8D4B5;         /* soft green */
  --matcha-deep: #7FA577;
  --mochi:   #F0E5D1;         /* off-cream */

  /* semantic */
  --accent: var(--eggyolk-deep);
  --line: rgba(42, 37, 32, 0.12);

  /* type */
  --font-jp: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-hand: "Klee One", "Shippori Mincho", serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;

  /* spacing */
  --gap: clamp(1.2rem, 2.5vw, 2rem);
  --pad: clamp(1.4rem, 4vw, 3rem);
  --max: 1180px;
}

/* ░░ RESET ░░ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-0);
  background: var(--bg-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }

/* ░░ GRAIN OVERLAY ░░ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ░░ TOP KAMON MARQUEE ░░ */
.kamon {
  height: 28px;
  background: var(--ink-0);
  color: var(--mochi);
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 50;
}
.kamon__track {
  display: inline-flex;
  gap: 1.6rem;
  padding-left: 1.6rem;
  white-space: nowrap;
  animation: kamon-scroll 38s linear infinite;
}
@keyframes kamon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ░░ NAV ░░ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem var(--pad);
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--ink-0);
}
.nav__seal { color: var(--eggyolk-deep); display: flex; }
.nav__brand-text {
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav__brand-jp {
  font-family: var(--font-jp);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.nav__brand-en {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 2px;
}
.nav__links {
  display: flex; gap: 1.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.nav__links a {
  position: relative;
  color: var(--ink-1);
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--eggyolk-deep);
  transition: width 0.35s ease, left 0.35s ease;
}
.nav__links a:hover {
  color: var(--ink-0);
}
.nav__links a:hover::after {
  width: 100%; left: 0;
}
.nav__cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--ink-0);
  color: var(--mochi);
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav__cta:hover {
  background: var(--eggyolk-deep);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ░░ HERO ░░ */
.hero {
  position: relative;
  min-height: calc(100vh - 28px - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem var(--pad) 8rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(244, 201, 206, 0.35), transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(184, 212, 181, 0.32), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(244, 199, 122, 0.22), transparent 60%),
    var(--bg-0);
}
.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
}
.hero__circle--sun {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--eggyolk) 0%, transparent 70%);
  top: -120px; right: -80px;
  animation: drift 28s ease-in-out infinite;
}
.hero__circle--moon {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--sakura) 0%, transparent 70%);
  bottom: -120px; left: -80px;
  animation: drift 34s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  color: var(--bg-1);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-1);
  margin-bottom: 2rem;
}
.hero__kicker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--eggyolk-deep);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.hero__title {
  font-family: var(--font-jp);
  font-weight: 600;
  margin: 0 0 1.4rem;
  line-height: 1.05;
}
.hero__title-jp {
  display: block;
  font-size: clamp(3.6rem, 9vw, 6.5rem);
  color: var(--ink-0);
  letter-spacing: 0.02em;
}
.hero__title-en {
  display: block;
  font-family: var(--font-hand);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--ink-2);
  margin-top: 0.4rem;
  font-weight: 400;
}
.hero__lede {
  font-family: var(--font-hand);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-1);
  line-height: 1.7;
  margin: 0 auto 2.4rem;
  max-width: 480px;
}
.hero__lede em {
  font-style: italic;
  color: var(--eggyolk-deep);
  font-weight: 600;
}
.hero__stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero__stamp-line {
  width: 36px; height: 1px;
  background: var(--ink-3);
}

/* floating tags */
.hero__tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__tag {
  position: absolute;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  color: var(--ink-2);
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(91, 82, 73, 0.05);
}
.hero__tag--1 { top: 14%; left: 6%; transform: rotate(-6deg); }
.hero__tag--2 { top: 28%; right: 8%; transform: rotate(4deg); }
.hero__tag--3 { bottom: 22%; left: 9%; transform: rotate(3deg); }
.hero__tag--4 { bottom: 32%; right: 6%; transform: rotate(-5deg); }

@media (max-width: 720px) {
  .hero__tag { display: none; }
}

/* ░░ ABOUT ░░ */
.about {
  background: var(--bg-1);
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  position: relative;
}
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about__portrait {
  display: flex; flex-direction: column; gap: 1.6rem;
}
.about__portrait-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  background: var(--bg-2);
  border-radius: 50% 50% 50% 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px -18px rgba(42, 37, 32, 0.18);
  border: 1px solid var(--line);
}
.about__portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.92);
}
.about__portrait-stamp {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 52px; height: 52px;
  background: var(--eggyolk-deep);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  transform: rotate(-6deg);
  box-shadow: 0 6px 16px rgba(226, 166, 69, 0.4);
}
.about__meta {
  display: flex; flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-top: 1px dashed var(--line);
  padding-top: 1.4rem;
}
.about__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px dotted var(--line);
}
.about__meta-key {
  color: var(--ink-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.about__meta-val {
  color: var(--ink-0);
  font-weight: 500;
}
.about__meta-val--off {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ink-2);
}
.about__meta-val--off::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
}
.about__text {
  padding-top: 0.5rem;
}
.about__label,
.clips__label,
.moments__label,
.contact__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eggyolk-deep);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.4rem;
}
.about__label::before,
.clips__label::before,
.moments__label::before,
.contact__label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1rem; height: 1px;
  background: var(--eggyolk-deep);
}
.about__heading {
  font-family: var(--font-jp);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 1.6rem;
  color: var(--ink-0);
}
.about__heading em {
  font-style: italic;
  color: var(--eggyolk-deep);
}
.about__body {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--ink-1);
  line-height: 1.8;
  margin: 0 0 1.2rem;
}
.about__body--jp {
  color: var(--ink-2);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

@media (max-width: 820px) {
  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__portrait {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }
  .about__portrait-frame {
    width: 140px;
    border-radius: 50%;
  }
  .about__meta {
    flex: 1;
    border-top: 0;
    padding-top: 0;
  }
}

/* ░░ CLIPS GRID ░░ */
.clips {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.clips__head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.clips__title {
  font-family: var(--font-jp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 0.4rem;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.clips__title-jp {
  color: var(--ink-0);
  letter-spacing: 0.04em;
}
.clips__title-en {
  font-family: var(--font-hand);
  font-size: 0.7em;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: lowercase;
}
.clips__sub {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0.6rem 0 0;
}
.clips__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.clips__loadmore {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}
.clips__loadmore[hidden] { display: none; }
.clips__loadmore-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--ink-2);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.clips__loadmore-btn:hover {
  background: var(--ink);
  color: var(--bg-1);
  border-color: var(--ink);
}

/* card */
.card {
  background: var(--bg-1);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.4s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(42, 37, 32, 0.18);
}
.card__thumb {
  position: relative;
  width: 100%;
  background: var(--bg-2);
  overflow: hidden;
}
.card__thumb::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 default */
}
.card__thumb--portrait::before {
  padding-top: 125%;
}
.card__thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card:hover .card__thumb img {
  transform: scale(1.04);
}
.card__duration {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(42, 37, 32, 0.85);
  color: var(--mochi);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card__body {
  padding: 1rem 1.1rem 1.3rem;
}
.card__title {
  font-family: var(--font-hand);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-0);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}
.card__meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-3);
}

/* ░░ MOMENTS / HAIKU STRIP ░░ */
.moments {
  background:
    radial-gradient(ellipse at top, rgba(184, 212, 181, 0.18), transparent 60%),
    var(--bg-0);
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
}
.moments__head {
  text-align: center;
  margin-bottom: 3rem;
}
.moments__title {
  font-family: var(--font-jp);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 500;
  margin: 0;
  color: var(--ink-0);
  letter-spacing: 0.4em;
}
.moments__strip {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.haiku {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 4px 14px 4px 14px;
  padding: 1.6rem 1.4rem 1.4rem;
  position: relative;
  box-shadow: 0 8px 20px -16px rgba(91, 82, 73, 0.18);
}
.haiku__lines {
  font-family: var(--font-jp);
  color: var(--ink-0);
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 500;
}
.haiku__lines p {
  margin: 0;
}
.haiku__stamp {
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--font-jp);
  font-size: 1.1rem;
  color: var(--sakura-deep);
  font-weight: 600;
}

/* ░░ STATS ░░ */
.stats {
  background: var(--ink-0);
  color: var(--mochi);
  padding: 3.5rem var(--pad);
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.stats__item {
  display: flex; flex-direction: column;
  align-items: center;
  flex: 1 1 200px;
  text-align: center;
}
.stats__num {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 600;
  color: var(--eggyolk);
  line-height: 1.1;
}
.stats__lbl {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 229, 209, 0.6);
  margin-top: 0.4rem;
}
.stats__sep {
  color: rgba(240, 229, 209, 0.3);
  font-size: 1.4rem;
  align-self: center;
}

/* ░░ CONTACT ░░ */
.contact {
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(244, 201, 206, 0.4), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(244, 199, 122, 0.28), transparent 55%),
    var(--bg-1);
  text-align: center;
}
.contact__inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact__title {
  font-family: var(--font-jp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0 0 1.2rem;
  line-height: 1.35;
  color: var(--ink-0);
}
.contact__title em {
  font-style: italic;
  color: var(--eggyolk-deep);
}
.contact__body {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-1);
  margin: 0 0 2.4rem;
}
.contact__buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.contact__btn--primary {
  background: var(--eggyolk-deep);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(226, 166, 69, 0.5);
}
.contact__btn--primary:hover {
  background: var(--ink-0);
  transform: translateY(-2px);
}
.contact__btn--ghost {
  background: transparent;
  color: var(--ink-0);
  border: 1px solid var(--ink-3);
}
.contact__btn--ghost:hover {
  background: var(--ink-0);
  color: var(--mochi);
  border-color: var(--ink-0);
}

/* ░░ FOOTER ░░ */
.foot {
  background: var(--bg-0);
  padding: 2.5rem var(--pad);
  border-top: 1px solid var(--line);
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-2);
}
.foot__brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.foot__brand-seal {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  color: var(--eggyolk-deep);
  font-weight: 600;
}
.foot__brand-text {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--ink-0);
}
.foot__copy {
  letter-spacing: 0.08em;
}
.foot__hand {
  font-family: var(--font-hand);
  color: var(--ink-1);
}
a.foot__studio {
  color: inherit;
  border-bottom: 1px solid var(--ink-2);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
a.foot__studio:hover { color: var(--ink-0); border-color: var(--ink-0); }

/* ░░ REVEAL ON SCROLL ░░ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ░░ REDUCED MOTION ░░ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
