/* ==========================================================================
   Pup — axion-ai.fr
   Tokens copied 1:1 from the iOS design system so the app and site feel like
   the same product.
   ========================================================================== */

:root {
  --orange:        #FF7A45;
  --orange-deep:   #EB5C2D;
  --orange-light:  #FFA98C;
  --orange-whisper:#FFE9DD;

  --cream:         #F7F3EE;
  --cream-warm:    #FFEDDF;
  --ink:           #1A1A1F;
  --ink-soft:      #45454C;
  --grey:          #8C8E96;
  --grey-light:    #DCDCE0;
  --grey-whisper:  #F0EFEE;

  --forest:        #2F8C66;
  --forest-soft:   #D8F0E2;
  --warn:          #F2A82E;
  --warn-soft:     #FFEEC9;
  --alert:         #D8431E;
  --alert-soft:    #FFE0DA;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,.06);
  --shadow-lg: 0 14px 40px rgba(0,0,0,.10);
  --shadow-orange: 0 10px 30px rgba(255,122,69,.30);

  --maxw: 1140px;
  --gap: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on, "cv01" on;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  padding: 84px 0;
}
.section-tight { padding: 48px 0; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--orange-whisper);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  font-weight: 900;
  color: var(--ink);
}
.h1 .accent {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  font-weight: 800;
}
.h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.3px;
  font-weight: 700;
}
.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 560px;
}
.lede.center { margin: 0 auto; }
.muted { color: var(--grey); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(255,122,69,.45); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--grey-light);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-large { padding: 17px 28px; font-size: 16px; }
.btn-ghost {
  color: var(--ink-soft);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--orange-deep); }

.btn-app-store {
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform .18s, background .18s;
}
.btn-app-store:hover { background: #000; }
.btn-app-store:active { transform: scale(.97); }
.btn-app-store .as-icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.btn-app-store .as-text { display: flex; flex-direction: column; line-height: 1; }
.btn-app-store .as-small { font-size: 10px; opacity: .85; }
.btn-app-store .as-big { font-size: 18px; font-weight: 600; margin-top: 2px; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.brand-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s;
}
.nav-links a:hover { color: var(--orange-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 10%, rgba(255,122,69,0.20) 0%, rgba(255,122,69,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lede { margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--grey);
  font-size: 13px;
}
.trust-stars { color: var(--warn); letter-spacing: 1px; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.phone {
  width: 290px;
  height: 588px;
  border-radius: 48px;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 6px 18px rgba(0,0,0,0.08);
  padding: 12px;
  position: relative;
  transform: rotate(-3deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #000;
  border-radius: 99px;
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 26px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.phone-content {
  padding: 56px 22px 22px;
}
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-whisper);
  color: var(--orange-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.score-num {
  font-size: 70px;
  line-height: 1;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -2px;
}
.score-line {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.score-tip {
  margin-top: 12px;
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
}
.mini-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}
.mini-card-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.mini-card-sub { font-size: 11px; color: var(--grey); margin-top: 2px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-art { order: 2; }
  .phone { transform: rotate(0); width: 260px; height: 528px; }
}

/* ==========================================================================
   Mochi (CSS-drawn — same shape language as in the app)
   ========================================================================== */
.mochi {
  position: relative;
  width: 80px;
  aspect-ratio: 1 / 1;
}
.mochi-body {
  position: absolute;
  inset: 14% 6% 6% 6%;
  background: #FFF6EE;
  border-radius: 50%;
  box-shadow:
    -22% 4% 0 -2% #FFF6EE,
    22% 4% 0 -2% #FFF6EE,
    0 22% 0 -8% #FFF6EE;
}
.mochi-ear {
  position: absolute;
  width: 22%; aspect-ratio: 1/1;
  background: #FFEDDF;
  border-radius: 50%;
  top: 0;
}
.mochi-ear.l { left: 10%; }
.mochi-ear.r { right: 10%; }
.mochi-eye {
  position: absolute;
  top: 36%;
  width: 8%; aspect-ratio: 1/1;
  background: var(--ink);
  border-radius: 50%;
}
.mochi-eye.l { left: 32%; }
.mochi-eye.r { right: 32%; }
.mochi-cheek {
  position: absolute;
  top: 50%;
  width: 12%; aspect-ratio: 1/1;
  background: rgba(255, 184, 154, 0.6);
  border-radius: 50%;
}
.mochi-cheek.l { left: 20%; }
.mochi-cheek.r { right: 20%; }
.mochi-mouth {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 12%;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 50% 50%;
}

/* ==========================================================================
   Strip / social proof
   ========================================================================== */
.strip {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 22px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 46px;
  align-items: center;
  font-size: 13px;
  color: var(--grey);
}
.strip-item { display: inline-flex; align-items: center; gap: 8px; }
.strip-item strong { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   Features
   ========================================================================== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature-grid .feature-card.full {
  grid-column: 1 / -1;
}
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-icon.orange { background: var(--orange-whisper); color: var(--orange-deep); }
.feature-icon.forest { background: var(--forest-soft); color: var(--forest); }
.feature-icon.warn { background: var(--warn-soft); color: var(--warn); }
.feature-icon.alert { background: var(--alert-soft); color: var(--alert); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--grey-light) 0 8px, transparent 8px 14px);
  z-index: 0;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}
.step {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-orange);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .pricing-cards { grid-template-columns: 1fr; }
}
.price-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, var(--orange-whisper) 0%, #fff 50%);
  box-shadow: var(--shadow-md);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-orange);
}
.price-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  font-feature-settings: "tnum";
}
.price-amount .small { font-size: 16px; font-weight: 600; color: var(--grey); margin-left: 4px; }
.price-sub { color: var(--grey); font-size: 13px; margin-top: 4px; }
.price-features {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-features li::before {
  content: "✓";
  color: var(--orange-deep);
  font-weight: 800;
  margin-top: 1px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background .18s;
}
.faq-q:hover { background: var(--cream); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange-whisper);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  transition: transform .25s ease, background .18s;
  flex-shrink: 0;
  margin-left: 14px;
}
.faq.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 22px;
}
.faq.open .faq-a {
  max-height: 600px;
  padding: 0 22px 18px;
}
.faq-a p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--orange-deep); font-weight: 600; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 50%, rgba(255,255,255,0.18) 0%, transparent 70%);
}
.cta-banner h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.cta-banner p {
  position: relative;
  z-index: 1;
  margin: 12px auto 24px;
  max-width: 540px;
  font-size: 16px;
  opacity: 0.92;
}
.cta-banner .btn-app-store {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink);
  color: #BDBEC2;
  padding: 60px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 320px; }
.footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #BDBEC2; transition: color .18s; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6F7177;
}

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 22px 96px;
}
.legal h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 4px;
}
.legal small { color: var(--grey); }
.legal h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 10px;
}
.legal p, .legal li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal ul { padding-left: 18px; margin: 10px 0; }
.legal ul li { margin-bottom: 4px; }
.legal a { color: var(--orange-deep); }
.legal-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}
.legal-alert {
  background: var(--alert-soft);
  border-left: 4px solid var(--alert);
}
.legal-alert h2 { color: var(--alert); margin-top: 4px; }

/* ==========================================================================
   Studio (Axion AI) homepage
   ========================================================================== */

/* Brand wordmark — Axion AI version */
.brand-axion { gap: 9px; }
.brand-mark {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--ink);
  position: relative;
  display: inline-block;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--orange);
  border-radius: 1px;
}
.brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.brand-name-dim {
  color: var(--grey);
  font-weight: 600;
  margin-left: 2px;
}

/* Studio hero */
.studio-hero {
  padding: 110px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 50% 30%, rgba(255,122,69,0.18) 0%, rgba(255,122,69,0) 70%),
    radial-gradient(40% 30% at 80% 70%, rgba(255,184,154,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.studio-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.2px;
  margin-bottom: 28px;
}
.tagline-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.studio-headline {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -2px;
  font-weight: 900;
  margin-bottom: 22px;
}
.studio-headline .accent {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 800;
}
.studio-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 14px;
  line-height: 1.6;
}
.studio-meta {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 56px;
  letter-spacing: 0.4px;
}

/* Countdown */
.countdown-wrap {
  margin: 0 auto 64px;
  max-width: 600px;
}
.countdown-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.countdown-cell {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 22px 8px 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.countdown-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,122,69,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.countdown-num {
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 900;
  letter-spacing: -1.5px;
  font-feature-settings: "tnum";
  color: var(--ink);
  line-height: 1;
  display: block;
}
.countdown-unit {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 8px;
  display: block;
}

@media (max-width: 480px) {
  .countdown-cell { padding: 16px 4px 10px; }
}

/* Projects section */
.projects-section { padding: 84px 0; background: #fff; }
.projects-head {
  text-align: center;
  margin-bottom: 52px;
}
.projects-head .eyebrow { background: rgba(0,0,0,0.04); color: var(--ink-soft); }

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-card-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-card-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--grey);
  margin-bottom: 12px;
}
.project-card-name {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 6px;
  color: var(--ink);
}
.project-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--forest-soft);
  color: var(--forest);
  margin-bottom: 18px;
  align-self: flex-start;
}
.project-card-tag.beta { background: var(--warn-soft); color: var(--warn); }
.project-card-tag.soon { background: rgba(0,0,0,0.06); color: var(--ink-soft); }
.project-card-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.2px;
  align-self: flex-start;
}
.project-card-link::after {
  content: "→";
  transition: transform .25s;
}
.project-card:hover .project-card-link::after {
  transform: translateX(4px);
}

.project-card-art {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.project-card-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, rgba(255,255,255,0.3) 0%, transparent 60%);
}

@media (max-width: 720px) {
  .project-card { grid-template-columns: 1fr; }
  .project-card-art { min-height: 180px; }
  .project-card-name { font-size: 32px; }
}

/* Mochi inside project card art */
.project-card-art .mochi { width: 140px; }

/* Coming-soon empty card */
.project-card.empty {
  background: transparent;
  border: 2px dashed var(--grey-light);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 32px;
  min-height: 180px;
  color: var(--grey);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: default;
}
.project-card.empty:hover { transform: none; box-shadow: none; }

/* About / studio philosophy */
.philosophy {
  background: var(--ink);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.philosophy .eyebrow { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.philosophy h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.6px;
  max-width: 740px;
  margin: 0 auto 18px;
  line-height: 1.2;
}
.philosophy p {
  color: rgba(255,255,255,0.62);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 52px auto 0;
}
@media (max-width: 720px) {
  .philosophy-pillars { grid-template-columns: 1fr; }
}
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: left;
}
.pillar-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange-light);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.pillar h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pillar p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0;
  text-align: left;
  max-width: none;
}

/* Newsletter / notify-me block */
.notify {
  padding: 84px 0;
  text-align: center;
}
.notify h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.notify p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.notify-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.notify-form input {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--grey-light);
  border-radius: var(--r-md);
  background: #fff;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.notify-form input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,69,0.12);
}
.notify-form button {
  white-space: nowrap;
}
.notify-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--grey);
}
.notify-success {
  display: none;
  margin-top: 16px;
  font-size: 14px;
  color: var(--forest);
  font-weight: 600;
}
.notify-form.sent .notify-success { display: block; }
.notify-form.sent input,
.notify-form.sent button { display: none; }

/* Mochi inline (smaller default size for project cards) */
.project-card .mochi {
  width: 130px;
  height: 130px;
}

/* ==========================================================================
   Language switcher (i18n.js dropdown)
   ========================================================================== */
.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.lang-button:hover { background: rgba(0,0,0,0.07); color: var(--ink); }
.lang-caret {
  font-size: 10px;
  margin-top: 1px;
  transition: transform .2s;
}
.lang-switcher.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  padding: 6px;
  display: none;
  z-index: 200;
}
.lang-switcher.open .lang-menu { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background .15s;
}
.lang-option:hover { background: var(--cream); }
.lang-option.active {
  background: var(--orange-whisper);
  color: var(--orange-deep);
  font-weight: 700;
}
.lang-flag {
  font-size: 16px;
  width: 22px;
  display: inline-block;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .lang-button { padding: 7px 10px; font-size: 12px; }
}

/* Translation-pending banner (legal pages, etc.) */
.translation-banner {
  background: var(--warn-soft);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  padding: 10px 22px;
  font-size: 13px;
  color: #6F5400;
}
.translation-banner strong { font-weight: 700; }

/* ==========================================================================
   3D effects + ambient motion (effects.js)
   ========================================================================== */

/* Aurora gradient blobs — slow drifting orange glows behind hero */
.bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-blobs .blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.bg-blobs .blob.b1 {
  top: -20%; left: -15%;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.28) 0%, transparent 65%);
  animation: drift1 22s ease-in-out infinite;
}
.bg-blobs .blob.b2 {
  top: 10%; right: -25%;
  background: radial-gradient(circle, rgba(255, 184, 154, 0.24) 0%, transparent 65%);
  animation: drift2 28s ease-in-out infinite;
}
.bg-blobs .blob.b3 {
  bottom: -30%; left: 15%;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.18) 0%, transparent 65%);
  animation: drift3 32s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate3d(0, 0, 0)        scale(1); }
  33%      { transform: translate3d(8vw, -4vw, 0)   scale(1.12); }
  66%      { transform: translate3d(-5vw, 6vw, 0)   scale(0.92); }
}
@keyframes drift2 {
  0%, 100% { transform: translate3d(0, 0, 0)        scale(1); }
  50%      { transform: translate3d(-6vw, 8vw, 0)   scale(1.18); }
}
@keyframes drift3 {
  0%, 100% { transform: translate3d(0, 0, 0)        scale(1); }
  40%      { transform: translate3d(7vw, -6vw, 0)   scale(1.08); }
  80%      { transform: translate3d(-4vw, 3vw, 0)   scale(0.95); }
}

/* Floating particles in hero */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 122, 69, 0.6);
  animation: rise linear infinite;
  will-change: transform, opacity;
}
@keyframes rise {
  0%   { transform: translateY(0)         scale(0.6); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-110vh)    scale(1.4); opacity: 0; }
}

/* Headline shimmer — subtle moving gradient on .accent */
.studio-headline .accent {
  background-size: 200% 100%;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Countdown digit 3D flip on change */
.countdown-num {
  display: inline-block;
  transform-origin: 50% 50%;
  perspective: 600px;
}
.digit-flip {
  animation: flipDigit 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes flipDigit {
  0%   { transform: rotateX(0deg);    opacity: 1; }
  45%  { transform: rotateX(90deg);   opacity: 0.3; }
  100% { transform: rotateX(0deg);    opacity: 1; }
}

/* Glassy reflection on countdown cells */
.countdown-cell {
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.countdown-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Tilt enhancements — make sure shadow follows tilt nicely */
.project-card[data-tilt] {
  transform-origin: center center;
}
.project-card .project-card-art {
  perspective: 800px;
}
.project-card .mochi {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card .mochi-eye {
  transition: transform 0.12s ease-out;
  will-change: transform;
}

/* Pillars tilt */
.pillar[data-tilt] {
  transform-origin: center center;
}

/* Mochi card glow on hover */
.project-card .project-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0) 60%);
  transition: background 0.3s ease;
  pointer-events: none;
}
.project-card:hover .project-card-art::after {
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
}

/* Hero needs to be relative for blobs and particles to layer correctly */
.studio-hero { position: relative; }
.studio-hero-inner { position: relative; z-index: 2; }

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  .bg-blobs .blob,
  .particle,
  .studio-headline .accent {
    animation: none !important;
  }
  [data-tilt], [data-magnetic] { transform: none !important; }
}
