/* =========================================================
   Tree Creative — Apple-style redesign
   Clean whitespace · huge centered type · light/dark rhythm
   Restrained mono palette + subtle green link accent
   ========================================================= */

:root {
  --ink: #1d1d1f;            /* Apple near-black */
  --ink-2: #6e6e73;          /* Apple gray */
  --ink-3: #86868b;
  --paper: #ffffff;
  --paper-2: #fbfbfd;        /* Apple off-white */
  --paper-3: #f5f5f7;        /* Apple light gray */
  --black: #000000;
  --black-2: #0a0a0a;

  --accent: #1f8a4c;         /* green link on light */
  --accent-l: #5fd393;       /* green link on dark */

  --nav-h: 52px;
  --ease: cubic-bezier(.28, .11, .32, 1);

  --ff: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  --ff-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Noto Sans JP", sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: #cdeede; color: #07321c; }

/* ---------- Shared atoms ---------- */
.eyebrow {
  font-family: var(--ff-sf);
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 600; letter-spacing: .01em;
  color: var(--accent);
  margin-bottom: 8px;
}
.eyebrow--light { color: var(--accent-l); }

.sec-head { text-align: center; max-width: 960px; margin: 0 auto clamp(40px, 6vw, 72px); padding: 0 24px; }
.sec-title {
  font-family: var(--ff-sf);
  font-weight: 700; letter-spacing: -.018em; line-height: 1.07;
  font-size: clamp(30px, 5.2vw, 56px);
}
.sec-note { color: var(--ink-3); font-size: 13px; margin-top: 18px; }

/* Japanese line-break balancing — avoid lone orphan characters */
.hero__title, .hero__sub, .sec-title, .bigwords, .spot__title, .bleed__copy h2,
.cta__title, .cta__lead, .reel__caption h2, .value h3, .member h3 {
  text-wrap: balance;
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
}
.spot__lead, .bleed__copy p, .value p, .hl-card p, .sec-note, .member__bio {
  text-wrap: pretty;
  line-break: strict;
}
/* spaced dot-separated lists: break only at the separators, never inside words.
   overflow-wrap is the safety net — a run too long for the column still breaks
   rather than spilling out of it. */
.hero__sub, .bleed__copy p, .hl-card p, .value p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* keep a phrase whole on one line (segmented titles, terms containing a slash) */
.nb { white-space: nowrap; }

/* Buttons & chevron links (Apple) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 17px; font-weight: 500; font-family: var(--ff-sf);
  padding: 12px 22px; border-radius: 980px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: #1a7342; }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--accent-l); color: #07321c; }
.btn--light:hover { background: #74dca3; }

.chev {
  display: inline-flex; align-items: center; gap: 2px;
  color: var(--accent); font-size: 17px; font-family: var(--ff-sf);
  transition: gap .25s var(--ease);
}
.chev--light { color: var(--accent-l); }
.chev i { width: 16px; height: 16px; display: inline-block; position: relative; }
.chev i::before {
  content: ""; position: absolute; top: 50%; left: 3px; width: 6px; height: 6px;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: left .25s var(--ease);
}
.chev:hover { gap: 6px; }
.chev:hover i::before { left: 6px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--nav-h);
  background: rgba(0,0,0,.34);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: background .4s var(--ease), border-color .4s, color .4s;
  border-bottom: 1px solid transparent;
  color: #f5f5f7;
}
.nav--light {
  background: rgba(251,251,253,.78);
  border-bottom-color: rgba(0,0,0,.08);
  color: var(--ink);
}
.nav__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__brand { display: flex; align-items: center; gap: 9px; }
.nav__logo { width: 26px; height: 26px; display: grid; place-items: center; }
.nav__logo svg { width: 22px; height: 22px; fill: currentColor; }
.nav__name { font-family: var(--ff-sf); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-size: 13px; font-weight: 400; padding: 6px 12px; border-radius: 8px;
  opacity: .86; transition: opacity .2s, background .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(125,125,125,.16); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta {
  font-size: 13px; font-weight: 500; padding: 7px 15px; border-radius: 980px;
  background: var(--accent); color: #fff; transition: background .25s;
}
.nav__cta:hover { background: #1a7342; }
.nav__burger { display: none; width: 34px; height: 34px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 7px; right: 7px; height: 1.6px; background: currentColor; transition: .35s var(--ease); }
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger.is-open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 16px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 990;
  background: rgba(251,251,253,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 8px var(--pad) 28px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; }
.mmenu a { font-family: var(--ff-sf); font-size: 22px; font-weight: 500; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.07); color: var(--ink); }
.mmenu__cta { color: var(--accent) !important; border-bottom: 0 !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--black);
  color: #f5f5f7;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) var(--pad) 80px;
}
.hero__visual { position: absolute; inset: 0; z-index: 0; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__orb--1 { width: 58vw; height: 58vw; left: -12vw; top: -16vw; background: radial-gradient(circle at 30% 30%, #1f8a4c, transparent 68%); animation: float1 16s ease-in-out infinite alternate; }
.hero__orb--2 { width: 52vw; height: 52vw; right: -14vw; bottom: -18vw; background: radial-gradient(circle at 60% 60%, #18617e, transparent 66%); animation: float2 18s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate3d(6%, 8%, 0) scale(1.12); } }
@keyframes float2 { to { transform: translate3d(-6%, -6%, 0) scale(1.1); } }
.hero__grain { position: absolute; inset: 0; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__copy { position: relative; z-index: 2; max-width: 1040px; }
.hero__brand { font-family: var(--ff-sf); font-size: clamp(17px, 2.4vw, 24px); font-weight: 600; color: var(--accent-l); margin-bottom: 14px; }
.hero__title {
  font-family: var(--ff-sf);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  font-size: clamp(31px, 7.4vw, 86px);
}
.hero__sub { color: #c7c7cc; font-size: clamp(16px, 2.2vw, 23px); margin-top: 22px; line-height: 1.5; }
.hero__links { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; margin-top: 36px; }
.hero__scrollhint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px; }
.hero__scrollhint span { position: absolute; top: 7px; left: 50%; width: 3px; height: 6px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Statement (word brighten) ---------- */
.statement { padding: clamp(110px, 20vh, 220px) var(--pad); background: var(--paper); display: flex; justify-content: center; }
.bigwords {
  font-family: var(--ff-sf);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.22;
  font-size: clamp(23px, 5.4vw, 64px);
  max-width: 18em; text-align: center;
}
.bigwords .bw-line { display: block; }
/* word-brighten defaults: light-bg headlines reveal gray→ink; dark-bg ([data-bright=white]) reveal dark→white */
[data-words] .w { transition: color .15s linear; color: #d2d2d7; }
[data-bright="white"] .w { color: #3c3c40; }

/* ---------- Highlights / Services rail ---------- */
.highlights { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper-3); overflow: hidden; }
.hl-rail {
  display: flex; gap: 20px; padding: 6px var(--pad) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hl-rail::-webkit-scrollbar { display: none; }
.hl-card {
  flex: 0 0 clamp(260px, 30vw, 360px); scroll-snap-align: center;
  aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden;
  position: relative; padding: 28px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--g, #222); isolation: isolate;
  transition: transform .4s var(--ease);
}
.hl-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 60%); }
.hl-card:hover { transform: translateY(-6px); }
/* card is a button: strip UA chrome, keep it keyboard-reachable */
.hl-card { border: 0; text-align: left; font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.hl-card:focus-visible { outline: 3px solid var(--accent-l); outline-offset: 3px; }
.hl-card__more {
  display: inline-flex; align-items: center; gap: 3px; align-self: flex-start;
  margin-top: 16px; font-family: var(--ff-sf); font-size: 14px; font-weight: 500;
  color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 14px; border-radius: 980px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background .25s var(--ease), gap .25s var(--ease);
}
.hl-card:hover .hl-card__more { background: rgba(255,255,255,.28); gap: 7px; }
.hl-card__more i { width: 14px; height: 14px; display: inline-block; position: relative; }
.hl-card__more i::before {
  content: ""; position: absolute; top: 50%; left: 2px; width: 5.5px; height: 5.5px;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.hl-card__tag { font-family: var(--ff-sf); font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .85; margin-bottom: 10px; }
.hl-card h3 { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; }
.hl-card p { font-size: 14px; color: rgba(255,255,255,.86); margin-top: 8px; line-height: 1.55; }
.hl-card__icon { position: absolute; top: 24px; left: 26px; width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; }
.hl-card__icon svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hl-nav { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.hl-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e3e3e8; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.hl-arrow:hover { background: #d2d2d7; }
.hl-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Showreel (sticky zoom) ---------- */
.reel { position: relative; height: 230vh; background: var(--black); }
.reel__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.reel__media {
  width: 40vw; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #0b2230, #0f3a4a 55%, #167089);
  will-change: transform; display: grid; place-items: center;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.8);
}
.reel__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.reel__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the film plays inline at 1080p and is scaled to the box by JS, so it stays sharp
   when the sticky zoom blows the box up to full width */
.yt-inline { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1s var(--ease); }
.yt-inline.is-ready { opacity: 1; }
.yt-inline iframe {
  position: absolute; top: 0; left: 0; width: 1920px; height: 1080px;
  transform-origin: top left; border: 0; pointer-events: none;
}
.reel__inner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.28); }

/* controls sit above the zooming media and keep their own scale */
.reel__controls {
  position: absolute; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 22px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.reel__controls.is-on { opacity: 1; pointer-events: auto; }
.reel__play { width: clamp(60px, 7vw, 92px); height: clamp(60px, 7vw, 92px); border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .25s var(--ease), background .25s; }
.reel__play:hover { transform: scale(1.08); background: rgba(255,255,255,.26); }
.reel__play svg { width: 40%; height: 40%; fill: #fff; margin-left: 4px; }
.reel__play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.reel__caption { position: absolute; z-index: 3; text-align: center; color: #fff; pointer-events: none; transition: opacity .4s var(--ease); }
.reel__caption h2 { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(30px, 5.5vw, 60px); letter-spacing: -.02em; line-height: 1.1; }

/* ---------- Spotlight (split) ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 92vh; }
.spot--dark { background: var(--black-2); color: #f5f5f7; }
.spot--rev { background: var(--paper); }
.spot--rev .spot__media { order: 2; }
.spot__media { position: relative; align-self: stretch; min-height: 60vh; background: var(--g, #222); }
.spot__media::after, .reel__media::before { content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.reel__media::before { border-radius: inherit; }
.spot__text { padding: clamp(56px, 8vw, 110px) clamp(24px, 4vw, 60px); max-width: 660px; margin: 0 auto; }
.spot__title { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.02em; line-height: 1.12; }
.spot__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); margin: 22px 0 26px; line-height: 1.65; }
.spot--dark .spot__lead { color: #aeaeb2; }

/* ---------- Full-bleed ---------- */
.bleed { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; padding: 100px var(--pad); }
.bleed__bg { position: absolute; inset: 0; background: var(--g, #111); z-index: 0; }
.bleed__bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 70% at 50% 50%, transparent, rgba(0,0,0,.35)); }

/* ---------- Background film (still underneath, YouTube on top once it is ready) ----------
   The source reels carry a burned-in handle bottom-right, so both layers are scaled
   past it. */
/* same overscan as .yt-cover so the still and the film crop identically */
.bleed__still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.34) translate(-1.5%, -2.5%);
}
/* self-hosted background film: the still holds the frame until the video is ready,
   and stays put on phones where the video is never fetched */
.bg-still, .bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border: 0; pointer-events: none;
}
.bg-video { opacity: 0; transition: opacity .8s var(--ease); }
.bg-video.is-ready { opacity: 1; }
/* overscan crops both the burned-in handle and YouTube's own title bar / logo */
.yt-cover {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  opacity: 0; transition: opacity 1s var(--ease);
  transform: scale(1.34) translate(-1.5%, -2.5%);
}
.yt-cover.is-ready { opacity: 1; }
/* fill the box like object-fit:cover — 16:9 sized off the larger axis */
.yt-cover iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh;
  border: 0; pointer-events: none;
}
.bleed__copy { position: relative; z-index: 1; max-width: 760px; }
.bleed__copy h2 { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(40px, 8vw, 92px); letter-spacing: -.02em; line-height: 1.05; }
.bleed__copy p { font-size: clamp(16px, 2vw, 21px); color: rgba(255,255,255,.86); margin-top: 20px; line-height: 1.6; }

/* ---------- Values ---------- */
.values { padding: clamp(80px, 11vw, 150px) var(--pad); background: var(--paper-2); max-width: 1280px; margin: 0 auto; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); max-width: var(--maxw); margin: 0 auto; }
.value { text-align: center; }
.value__no { font-family: var(--ff-sf); font-size: 14px; font-weight: 600; color: var(--accent); }
.value h3 { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -.01em; margin: 12px 0 12px; }
.value p { color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 28ch; margin: 0 auto; }

/* ---------- Metrics (dark) ---------- */
.metrics { background: var(--black); color: #f5f5f7; display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(70px, 9vw, 120px) var(--pad); gap: 30px; max-width: 1280px; margin: 0 auto; }
.metric { text-align: center; }
.metric__num { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(48px, 8vw, 92px); letter-spacing: -.03em; line-height: 1; display: inline-flex; align-items: baseline; background: linear-gradient(180deg, #fff, #b9b9be); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric__num i { font-style: normal; font-size: .6em; }
/* the Japanese cell carries more characters than the numerals, so it is sized to
   stay on one line and keep the row of metrics visually level */
.metric__num--jp {
  font-family: var(--ff); font-weight: 900;
  font-size: clamp(26px, 3.6vw, 42px);
  white-space: nowrap;
}
.metric__label { display: block; margin-top: 16px; font-size: 14px; color: var(--ink-3); letter-spacing: .02em; }

/* ---------- Works ---------- */
.works { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.work { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 11; display: block; }
.work--wide { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.work__pic { position: absolute; inset: 0; background: var(--g, #222); transform: scale(1.03); transition: transform .7s var(--ease); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), transparent 58%); }
.work__meta { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: #fff; }
.work__meta span { font-family: var(--ff-sf); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.work__meta h3 { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); margin-top: 6px; }
.work:hover .work__pic { transform: scale(1.09); }

/* ---------- Members ---------- */
.members { padding: clamp(80px, 11vw, 140px) var(--pad); background: var(--paper-3); }
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.member { background: #fff; border-radius: 22px; padding: 36px; text-align: center; }
.member__pic { position: relative; overflow: hidden; width: 132px; height: 132px; border-radius: 50%; background: var(--g, #ddd); margin: 0 auto 22px; display: grid; place-items: center; }
.member__pic span { font-family: var(--ff); font-weight: 700; font-size: 54px; color: rgba(255,255,255,.92); line-height: 1; }
.member__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.member h3 { font-family: var(--ff-sf); font-weight: 700; font-size: 24px; }
.member__role { font-family: var(--ff-sf); color: var(--accent); font-size: 14px; margin: 4px 0 14px; }
.member__bio { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.member--join { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #c7c7cc; background: transparent; }
.member__plus { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--ff-sf); font-size: 32px; color: var(--accent); margin-bottom: 16px; }
.member--join .chev { margin-top: 14px; }

/* ---------- CTA ---------- */
.cta { background: var(--black); color: #f5f5f7; text-align: center; padding: clamp(110px, 16vw, 200px) var(--pad); }
.cta__title { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(38px, 7.5vw, 90px); letter-spacing: -.02em; line-height: 1.06; }
.cta__lead { color: #aeaeb2; font-size: clamp(16px, 2vw, 21px); max-width: 36ch; margin: 24px auto 38px; line-height: 1.6; }
.cta__links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; align-items: center; margin-top: 30px; }
.cta__addr { color: var(--ink-3); font-size: 14px; }
.cta__sep { color: #3a3a3c; }

/* Contact form */
.cform { max-width: 720px; margin: 46px auto 0; text-align: left; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.cform__row .cform__field { margin-bottom: 0; }
.cform__field > span { font-size: 13px; color: #aeaeb2; font-family: var(--ff-sf); }
.cform__field > span i { color: var(--accent-l); font-style: normal; }
.cform input, .cform select, .cform textarea {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 13px 15px; color: #fff; font-family: var(--ff); font-size: 15px;
  transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.cform textarea { resize: vertical; min-height: 120px; }
.cform input::placeholder, .cform textarea::placeholder { color: #6e6e73; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--accent-l); background: rgba(255,255,255,.09); }
.cform select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aeaeb2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.cform select option { color: #1d1d1f; }
.cform__foot { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.cform__msg { font-size: 14px; color: var(--accent-l); margin: 0; }
.cform__msg.is-error { color: #ff7a7a; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-3); color: var(--ink-2); font-size: 12px; padding: 40px var(--pad) 30px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #d2d2d7; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__h { color: var(--ink); font-weight: 600; font-family: var(--ff-sf); margin-bottom: 3px; }
.footer__col a { color: var(--ink-2); transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__addr { line-height: 1.7; }
.footer__base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; color: var(--ink-3); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Price notes ---------- */
.pricenote { padding: clamp(60px, 8vw, 100px) 0 clamp(20px, 3vw, 40px); background: var(--paper); }
.pricenote__list {
  list-style: none; max-width: 760px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; gap: 12px;
}
.pricenote__list li {
  position: relative; padding-left: 22px;
  font-size: clamp(14px, 1.7vw, 15px); line-height: 1.8; color: var(--ink-2);
  word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty;
}
.pricenote__list li::before {
  content: ""; position: absolute; left: 4px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ---------- Service detail modal ---------- */
.svc-src { display: none; }

.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal.is-in .modal__overlay { opacity: 1; }
.modal__panel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.96); opacity: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  background: var(--paper); border-radius: 26px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  transition: transform .38s var(--ease), opacity .3s var(--ease);
}
.modal.is-in .modal__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(240,240,245,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.modal__close:hover { background: #e3e3e8; }
.modal__close svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; }
.modal__body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: clamp(34px, 5vw, 52px) clamp(22px, 4.5vw, 52px) 8px; }
.modal__foot {
  padding: 20px clamp(22px, 4.5vw, 52px) clamp(22px, 3.5vw, 30px);
  border-top: 1px solid #ededf0; background: var(--paper);
  display: flex; justify-content: center;
}

/* video lightbox: same shell, sized to the film instead of to text */
.modal--video .modal__panel { width: min(1100px, calc(100vw - 32px)); background: #000; border-radius: 18px; }
.modal--video .modal__body { padding: 0; overflow: hidden; }
.modal--video .modal__foot { display: none; }
.modal--video .modal__close { background: rgba(20,20,22,.72); }
.modal--video .modal__close:hover { background: rgba(40,40,44,.9); }
.modal--video .modal__close svg { stroke: #fff; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- modal content --- */
/* keep the heading clear of the floating close button */
.svc__eyebrow, .svc__title { padding-right: 46px; }
.svc__eyebrow { font-family: var(--ff-sf); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 6px; }
.svc__title { font-family: var(--ff-sf); font-weight: 700; letter-spacing: -.018em; line-height: 1.1; font-size: clamp(28px, 4.6vw, 42px); text-wrap: balance; }
.svc__lead { color: var(--ink-2); font-size: clamp(14px, 1.6vw, 16px); line-height: 1.75; margin-top: 12px; text-wrap: pretty; }
.svc__h3 { font-family: var(--ff-sf); font-weight: 700; font-size: clamp(17px, 2.2vw, 21px); letter-spacing: -.01em; margin: clamp(30px, 4vw, 42px) 0 16px; }

/* price block */
.svc__price {
  margin-top: 24px; padding: 22px 26px; border-radius: 18px;
  background: var(--paper-3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
}
.svc__price-label { font-family: var(--ff-sf); font-size: 14px; font-weight: 600; color: var(--ink-2); width: 100%; }
.svc__price-val { font-family: var(--ff-sf); font-weight: 700; letter-spacing: -.02em; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; }
.svc__price-val span { font-size: .5em; font-weight: 600; margin-left: 3px; }
/* the note can run to a sentence, so it drops to its own line rather than
   stretching the price row */
.svc__price-note { font-size: 13px; color: var(--ink-3); width: 100%; line-height: 1.7; }

/* rate table (SNS · Design) */
.rate { list-style: none; border-top: 1px solid #ededf0; }
.rate__row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid #ededf0;
}
.rate__name { display: flex; flex-direction: column; gap: 2px; }
.rate__name strong { font-family: var(--ff-sf); font-weight: 600; font-size: clamp(15px, 1.8vw, 17px); }
.rate__name span { font-size: 13px; color: var(--ink-3); }
.rate__val { font-family: var(--ff-sf); font-weight: 700; letter-spacing: -.015em; font-size: clamp(17px, 2.3vw, 22px); white-space: nowrap; }
.rate__val span { font-size: .62em; font-weight: 600; margin-left: 2px; }
/* "お見積もり" and friends read as words, not figures — keep them lighter */
.rate__val--text { font-size: clamp(13px, 1.7vw, 15px); font-weight: 600; color: var(--ink-2); }
.rate__note { font-size: 13px; color: var(--ink-3); margin-top: 12px; line-height: 1.7; text-wrap: pretty; }

/* what a service covers, as chips */
.svc__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li {
  font-size: 13px; color: var(--ink-2); background: var(--paper-3);
  border: 1px solid #ebebf0; border-radius: 980px; padding: 6px 13px; white-space: nowrap;
}

/* highlighted extra (e.g. the wedding photo bonus) */
.svc__callout {
  margin-top: 18px; padding: 18px 20px; border-radius: 16px;
  background: #f2f9f5; border: 1px solid #dcece3;
}
.svc__callout h4 { font-family: var(--ff-sf); font-weight: 700; font-size: 15px; color: var(--accent); margin-bottom: 6px; }
.svc__callout p { font-size: 14px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.svc__callout strong { color: var(--ink); font-weight: 700; }

/* flow: numbered step cards joined by a connector */
.flow { list-style: none; }
.flow__step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 14px; }
.flow__step:last-child { padding-bottom: 0; }
/* connector line from this step's marker down to the next */
.flow__step::before {
  content: ""; position: absolute; left: 19.5px; top: 40px; bottom: -2px;
  width: 2px; background: linear-gradient(to bottom, #dcdce2, #e8e8ee);
}
.flow__step:last-child::before { display: none; }
.flow__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--ff-sf); font-weight: 700; font-size: 16px;
  display: grid; place-items: center; position: relative; z-index: 1;
}
.flow__card {
  background: var(--paper-2); border: 1px solid #ececf1; border-radius: 14px;
  padding: 12px 18px; min-height: 40px; display: flex; flex-direction: column; justify-content: center;
}
.flow__card h4 { font-family: var(--ff-sf); font-weight: 600; font-size: clamp(15px, 1.9vw, 17px); letter-spacing: -.005em; }
.flow__card p { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); margin-top: 5px; text-wrap: pretty; }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .spot { grid-template-columns: 1fr; min-height: 0; }
  .spot__media { order: -1 !important; min-height: 56vw; }
  .spot--rev .spot__media { order: -1; }
  .value-grid { grid-template-columns: 1fr; gap: 44px; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
  .reel__media { width: 64vw; }
  .reel { height: 200vh; }
  .cform__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .cform__row .cform__field { margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work, .work--wide { aspect-ratio: 16 / 11; }
  .member-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .reel__media { width: 82vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bigwords .w { color: var(--ink) !important; }
}
