/* ============================================================
   TAKERY — Premium Brand Design System
   Brand colors derived from the Takery logo:
   Navy #020254 · Cream #FFE388 · Coral Pink #FF5583
   ============================================================ */

:root {
  /* Core palette */
  --navy-950: #01012e;
  --navy-900: #020254;
  --navy-800: #0a0a52;
  --navy-700: #14146b;
  --navy-600: #20208a;

  --cream: #FFE388;
  --cream-soft: #fff0bd;
  --coral: #FF5583;
  --coral-deep: #e83d6c;

  --ink: #050524;
  --surface: #07073a;
  --surface-2: #0c0c47;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eef0ff;
  --text-soft: #aeb2da;
  --text-mute: #777aa8;

  --grad-brand: linear-gradient(120deg, var(--cream) 0%, var(--coral) 100%);
  --grad-coral: linear-gradient(120deg, var(--coral) 0%, var(--coral-deep) 100%);
  --grad-dark: linear-gradient(180deg, #02022e 0%, #020254 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--coral); color: #fff; }

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

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Background ambience ---------- */
.bg-ambient {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(255,85,131,0.16), transparent 60%),
    radial-gradient(800px 600px at 8% 12%, rgba(255,227,136,0.10), transparent 55%),
    radial-gradient(1000px 800px at 50% 110%, rgba(32,32,138,0.45), transparent 60%),
    var(--ink);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

/* ---------- Eyebrow / chip ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream);
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); }

.text-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-cream { color: var(--cream); }
.text-coral { color: var(--coral); }
.text-soft { color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.35s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #15042b; box-shadow: 0 10px 40px rgba(255,85,131,0.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(255,85,131,0.45); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); transform: translateY(-2px); }
.btn-coral { background: var(--grad-coral); color: #fff; box-shadow: 0 10px 40px rgba(255,85,131,0.30); }
.btn-coral:hover { transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.4s var(--ease);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav.scrolled {
  background: rgba(5,5,36,0.78);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand .tm { font-size: 11px; color: var(--coral); vertical-align: super; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 14.5px; color: var(--text-soft); padding: 9px 14px; border-radius: 100px; transition: all 0.25s; font-weight: 500; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dd {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 260px; background: rgba(8,8,46,0.96); backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong); border-radius: 16px; padding: 10px;
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.nav-item:hover .nav-dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 10px; }
.nav-dd a strong { color: var(--text); font-family: var(--font-display); font-size: 14.5px; font-weight: 600; }
.nav-dd a span { color: var(--text-mute); font-size: 12.5px; }
.nav-dd a:hover { background: rgba(255,255,255,0.05); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(3,3,30,0.98); backdrop-filter: blur(20px);
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  padding: 100px 28px 40px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu .mm-group-title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); margin: 22px 0 6px; }
.mobile-menu .mm-sub { font-size: 17px; color: var(--text-soft); padding-left: 14px; }

/* ---------- Section helpers ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 72px 0; }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 56px; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 5vw, 52px); margin: 18px 0; }
.section-head p { color: var(--text-soft); font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 90px; position: relative; }
.hero h1 { font-size: clamp(40px, 8vw, 88px); letter-spacing: -0.03em; }
.hero .lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-soft); max-width: 620px; margin: 26px 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--font-display); font-size: 38px; font-weight: 700; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat .lbl { color: var(--text-mute); font-size: 13.5px; letter-spacing: 0.04em; margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: all 0.45s var(--ease); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  background: rgba(255,85,131,0.12); color: var(--coral); border: 1px solid rgba(255,85,131,0.22);
}
.card.cream .ic { background: rgba(255,227,136,0.12); color: var(--cream); border-color: rgba(255,227,136,0.22); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; }
.card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: gap 0.3s; }
.card:hover .more { gap: 12px; }

/* Division feature card with image accent strip */
.div-card { padding: 0; }
.div-card .div-top { height: 180px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; }
.div-card .div-top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(5,5,36,0.85)); }
.div-card .div-tag { position: relative; z-index: 2; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); }
.div-card .div-body { padding: 26px 30px 30px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; gap: 64px; white-space: nowrap; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text-mute); display: inline-flex; align-items: center; gap: 64px; }
.marquee-track span::after { content: '◆'; color: var(--coral); font-size: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .visual {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  aspect-ratio: 4/3; position: relative;
}
.split h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 20px; }
.split p { color: var(--text-soft); font-size: 17px; margin-bottom: 16px; }
.ul-check { list-style: none; margin: 22px 0; }
.ul-check li { display: flex; gap: 12px; padding: 9px 0; color: var(--text-soft); font-size: 15.5px; }
.ul-check li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; background: rgba(255,85,131,0.15); border: 1px solid rgba(255,85,131,0.3); position: relative; }
.ul-check li i { display: none; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 70px 56px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 50% 0%, rgba(255,85,131,0.22), transparent), linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
}
.cta-band h2 { font-size: clamp(30px, 5vw, 50px); margin-bottom: 18px; }
.cta-band p { color: var(--text-soft); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 56px; }
.footer .brand { margin-bottom: 18px; }
.footer-about { color: var(--text-soft); font-size: 14.5px; max-width: 320px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 18px; font-family: var(--font-display); }
.footer-col a { display: block; color: var(--text-soft); font-size: 14.5px; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: 13.5px; flex-wrap: wrap; gap: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: all 0.3s; color: var(--text-soft); }
.footer-social a:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 150px 0 60px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 66px); margin: 18px 0; }
.page-hero p { color: var(--text-soft); font-size: 19px; max-width: 640px; }
.breadcrumb { color: var(--text-mute); font-size: 13.5px; margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--cream); }

/* ---------- Stats strip ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.stat-box .n { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--cream); }
.stat-box .l { color: var(--text-soft); font-size: 14.5px; margin-top: 6px; }

/* ---------- Pill row ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line-strong); font-size: 13.5px; color: var(--text-soft); background: rgba(255,255,255,0.03); }

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

/* ---------- Logo mark gradient block fallback ---------- */
.logo-tile { background: var(--navy-900); border-radius: 9px; display: grid; place-items: center; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 8px; font-family: var(--font-display); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--font-body); font-size: 15px; transition: all 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: rgba(255,255,255,0.06); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .nav-links { display: none; }
  .burger { display: flex; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { padding: 130px 0 60px; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat .num { font-size: 30px; }
  .cta-band { padding: 48px 24px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}
