/* Palate Booster — design system
   Palette: Lime #CFEBA6 / Ink #141414 / Paper #FDFDF9 / Evergreen #1E7A46 / Gold #D8A93F / Lime Mist #EDF7DC */

:root {
  --lime: #CFEBA6;
  --lime-mist: #EDF7DC;
  --ink: #141414;
  --paper: #FDFDF9;
  --green: #1E7A46;
  --gold: #D8A93F;
  --muted: #63635e;
  --line: #e6e6df;
  --font-head: "Poppins", "Noto Sans JP", sans-serif;
  --font-body: "Inter", "Noto Sans JP", sans-serif;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Language toggle: default EN */
.ja { display: none; }
html[data-lang="ja"] .ja { display: revert; }
html[data-lang="ja"] .en { display: none; }

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,253,249,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--ink);
  letter-spacing: -0.01em; white-space: nowrap;
}
.wordmark:hover { text-decoration: none; }
.wordmark .dot { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--ink);
}
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links a.active { color: var(--green); }
.nav-links a.ext::after { content: "↗"; font-size: 11px; margin-left: 3px; color: var(--gold); }

.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden;
  font-family: var(--font-head); font-size: 12px; font-weight: 500;
}
.lang-toggle button {
  border: 0; background: transparent; color: var(--ink); padding: 6px 12px; cursor: pointer;
  font: inherit;
}
.lang-toggle button.on { background: var(--ink); color: var(--lime); }

.btn-contact {
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  background: var(--ink); color: var(--lime) !important; padding: 10px 20px; border-radius: 999px;
}
.btn-contact:hover { background: var(--green); color: var(--paper) !important; text-decoration: none; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-size: 14px; font-weight: 500;
  padding: 13px 28px; border-radius: 999px; cursor: pointer; transition: 0.2s;
}
.btn-primary { background: var(--ink); color: var(--lime); }
.btn-primary:hover { background: var(--green); color: var(--paper); text-decoration: none; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--lime); text-decoration: none; }

/* ---------- Hero (full-screen video, Red Antler style) ---------- */
.hero-video {
  position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--ink);
}
.hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,8,0.72) 0%, rgba(10,14,8,0.28) 45%, rgba(10,14,8,0.12) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: 96px; padding-bottom: 80px; }
.hero-content .eyebrow { color: var(--lime); }
.hero-content h1 {
  color: var(--paper); font-size: clamp(40px, 5.4vw, 72px); max-width: 16ch; letter-spacing: -0.02em;
}
.hero-content h1 .dot { color: var(--lime); }
.hero-content p.lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 56ch; margin-top: 24px; color: rgba(253,253,249,0.88); }
.hero-content .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero { background: var(--lime); color: var(--ink); }
.btn-hero:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.btn-hero-outline { border: 1.5px solid var(--paper); color: var(--paper); }
.btn-hero-outline:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } .hero-video { background: var(--ink) url("../assets/hero-ny.jpg") center/cover; } }

/* Page hero (subpages) */
.page-hero { background: var(--lime); padding: 80px 0 64px; }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -0.02em; }
.page-hero p { font-size: 18px; max-width: 56ch; margin-top: 18px; color: #2c3a22; }

/* ---------- Manifesto ---------- */
.statement { font-size: 18.5px; line-height: 2; max-width: 72ch; color: #33332f; }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
section.block.tint { background: var(--lime-mist); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 24ch; }
.section-head .more { font-family: var(--font-head); font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ---------- Work grid (home) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card { display: block; color: var(--ink); }
.work-card:hover { text-decoration: none; }
.work-card .thumb {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 14px; background: var(--lime-mist);
}
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .thumb.ph { display: flex; align-items: center; justify-content: center; background: var(--lime); }
.work-card .thumb.ph span { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ink); }
.work-card h3 { font-size: 20px; margin-top: 18px; }
.work-card h3::after { content: " →"; color: var(--gold); font-size: 16px; }
.work-card p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.work-card .tag {
  display: inline-block; font-family: var(--font-head); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  border: 1px solid var(--green); border-radius: 999px; padding: 3px 10px; margin-top: 12px;
}

/* ---------- Services (home summary + services page) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 40px 36px;
  border-top: 3px solid var(--gold); border-top-left-radius: 0; border-top-right-radius: 0;
}
.svc-card.has-photo { padding: 0; overflow: hidden; }
.svc-card .svc-photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.svc-card .svc-body { padding: 30px 36px 38px; }
.tint .svc-card { background: var(--paper); }
.svc-card .num { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--gold); }
.svc-card h3 { font-size: 23px; margin: 10px 0 14px; }
.svc-card p { font-size: 15.5px; color: #3a3a36; }
.svc-card ul { margin: 18px 0 0 18px; font-size: 15px; color: #3a3a36; }
.svc-card ul li { margin-bottom: 8px; }
.svc-card .for {
  margin-top: 22px; padding: 14px 18px; background: var(--lime-mist); border-radius: 10px;
  font-size: 14px; color: #2c3a22;
}
.svc-card .for b { font-family: var(--font-head); font-weight: 500; color: var(--green); }

/* ---------- Proof strip (deep green) ---------- */
.proof { background: #1B4D30; color: var(--paper); padding: 88px 0; }
.proof h2 { font-size: clamp(26px, 3.2vw, 40px); color: var(--lime); max-width: 26ch; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.proof-item .big { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--lime); line-height: 1.15; }
.proof-item .small { font-size: 14px; color: #cfe0d0; margin-top: 8px; }
.proof-item .big .gold { color: var(--gold); }

/* ---------- Case studies (work page) ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 56px; }
.filters button {
  font-family: var(--font-head); font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 18px; transition: 0.15s;
}
.filters button.on, .filters button:hover { background: var(--ink); color: var(--lime); }

.case { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--gold); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case.hidden { display: none; }
.case .media { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--lime-mist); }
.case .media img { width: 100%; height: 100%; object-fit: cover; }
.case .media.ph { display: flex; align-items: center; justify-content: center; background: var(--lime); }
.case .media.ph span { font-family: var(--font-head); font-weight: 700; font-size: 34px; }
.case .meta { font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.case h3 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 4px; }
.case .sub { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--green); margin-bottom: 18px; }
.case p { font-size: 15.5px; color: #3a3a36; }
.case ul { margin: 16px 0 0 18px; font-size: 15px; color: #3a3a36; }
.case ul li { margin-bottom: 8px; }
.case .link { display: inline-block; margin-top: 18px; font-family: var(--font-head); font-size: 14px; font-weight: 500; }

/* ---------- Programs ---------- */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prog-card { background: var(--lime); border-radius: 16px; padding: 44px 40px; display: flex; flex-direction: column; }
.prog-card h3 { font-size: 25px; }
.prog-card .sub { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--green); margin: 8px 0 16px; }
.prog-card p { font-size: 15px; color: #2c3a22; }
.prog-card ul { margin: 16px 0 24px 18px; font-size: 14.5px; color: #2c3a22; }
.prog-card ul li { margin-bottom: 7px; }
.prog-card .btn { margin-top: auto; align-self: flex-start; }
.prog-card p:last-of-type { margin-bottom: 28px; }

/* ---------- About ---------- */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
.bio .photo { border-radius: 16px; overflow: hidden; }
.bio .photo img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.bio p { color: #3a3a36; margin-bottom: 16px; }
.bio .links { margin-top: 8px; display: flex; gap: 18px; font-family: var(--font-head); font-size: 14px; font-weight: 500; }

/* ---------- Collaborators ---------- */
.collab { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.collab-intro h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.collab-intro p { font-size: 15.5px; color: #3a3a36; margin-bottom: 14px; }
.collab-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.collab-item { border-top: 1px solid var(--gold); padding-top: 16px; }
.collab-item h3 { font-size: 21px; font-weight: 700; }
.collab-item .role { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--green); margin: 6px 0 4px; }
.collab-item a { font-family: var(--font-head); font-size: 13.5px; font-weight: 500; }
@media (max-width: 960px) {
  .collab { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .collab-list { grid-template-columns: 1fr; gap: 28px; }
}

.timeline { list-style: none; margin-top: 8px; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .year { font-family: var(--font-head); font-weight: 700; color: var(--gold); }
.timeline .what { color: #3a3a36; }
.timeline .what b { font-weight: 600; color: var(--ink); }

.logo-row { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.logo-row img { height: 34px; width: auto; opacity: 0.85; }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.approach-card { background: var(--paper); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.approach-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.approach-card .body { padding: 28px; }
.approach-card .num { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--gold); }
.approach-card h3 { font-size: 20px; margin: 8px 0 10px; }
.approach-card p { font-size: 14.5px; color: #3a3a36; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--lime); border-radius: 20px; padding: 64px 56px; display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(26px, 3vw, 38px); }
.newsletter p { margin-top: 14px; color: #2c3a22; font-size: 16px; }
.newsletter .side { text-align: right; }

/* ---------- CTA band (lime mist) ---------- */
.cta-band { background: var(--lime-mist); padding: 100px 0; text-align: center; }
.cta-band h2 { color: var(--ink); font-size: clamp(30px, 4.5vw, 54px); }
.cta-band h2 .lime { color: var(--green); }
.cta-band p { color: var(--muted); margin: 18px auto 36px; max-width: 52ch; }
.cta-band .btn-primary { background: var(--ink); color: var(--lime); }
.cta-band .btn-primary:hover { background: #1B4D30; color: var(--paper); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid h2 { font-size: clamp(28px, 3.4vw, 42px); }
.contact-list { list-style: none; margin-top: 32px; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-list .k { font-family: var(--font-head); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tf-box { background: var(--lime-mist); border-radius: 16px; padding: 44px 40px; }
.tf-box h3 { font-size: 22px; margin-bottom: 12px; }
.tf-box p { font-size: 15px; color: #3a3a36; margin-bottom: 24px; }

/* ---------- Footer ---------- */
footer.site {
  background: #16341F; color: #b9c9bc; padding: 72px 0 40px; font-size: 14px;
}
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-top .wordmark { color: var(--lime); font-size: 24px; }
.foot-top .byline { margin-top: 10px; font-size: 13px; color: #8a8a84; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols ul { list-style: none; }
.foot-cols li { margin-bottom: 10px; }
.foot-cols a { color: #d8d8d2; font-size: 14px; }
.foot-cols a:hover { color: var(--lime); }
.foot-cols .h { font-family: var(--font-head); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid #2a4a34; margin-top: 56px; padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8fa695; }
.foot-top .byline { color: #8fa695; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; gap: 28px; }
  .bio { grid-template-columns: 1fr; gap: 36px; }
  .bio .photo { aspect-ratio: 4/3; }
  .newsletter { grid-template-columns: 1fr; padding: 44px 32px; }
  .newsletter .side { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-content { padding-bottom: 56px; }
  .svc-grid, .prog-grid, .work-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px;
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .hero { padding: 72px 0 64px; }
  section.block { padding: 64px 0; }
}
