/* Mampa Ventures — site styles */
:root {
  --ink: #0B1220;
  --ink-2: #131C2E;
  --ink-3: #1C2740;
  --paper: #FBF8F3;
  --paper-2: #F3EEE6;
  --white: #FFFFFF;
  --text: #1A2233;
  --muted: #5B6476;
  --muted-dark: #9AA3B5;
  --line: #E7E1D6;
  --line-dark: rgba(255, 255, 255, 0.1);

  --sun: #FFC94D;
  --coral: #FF5C6C;
  --orange: #FF8A3D;
  --violet: #8B5CFF;
  --blue: #4D7CFF;
  --teal: #14B8A6;
  --mint: #3DDC97;
  --pink: #FF4F9A;
  --brand-grad: linear-gradient(100deg, #FF8A3D 0%, #FF5C6C 40%, #8B5CFF 100%);

  --radius: 20px;
  --max: 1240px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--sun); color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -0.015em; line-height: 1; }
.brand-sub { display: block; font-size: 10px; letter-spacing: .28em; color: #E2475B; font-weight: 700; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 15.5px; font-weight: 500; opacity: .82; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff !important; opacity: 1 !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--ink-3); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: transform .2s ease, background .2s, box-shadow .2s, color .2s, border-color .2s; border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(11,18,32,.6); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }
.btn-white:hover { background: #FFF6E5; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 40px; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 36px;
  padding: 72px 56px 72px 64px;
  display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center;
  background:
    radial-gradient(55% 65% at 0% 0%, #FFD9C7 0%, transparent 62%),
    radial-gradient(45% 60% at 100% 0%, #E3DBFF 0%, transparent 62%),
    radial-gradient(55% 60% at 100% 100%, #C9F2E4 0%, transparent 62%),
    radial-gradient(50% 55% at 0% 100%, #FFDDEB 0%, transparent 62%),
    radial-gradient(40% 40% at 45% 100%, #FFF0B8 0%, transparent 70%),
    #FDF9F4;
}
.hero-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--noise); opacity: .22; mix-blend-mode: multiply; pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #E2475B;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px rgba(255,92,108,.15); }
.hero h1 {
  font-weight: 700;
  font-size: clamp(44px, 5.3vw, 76px); line-height: 1; letter-spacing: -0.045em;
  margin: 24px 0 26px;
}
.hero h1 em {
  font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero-lead { font-size: clamp(17px, 1.45vw, 20px); color: #3C4558; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Hero art mosaic */
.art {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr);
  gap: 12px; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; justify-self: end;
}
.tile {
  position: relative; overflow: hidden; border-radius: 22px; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
  box-shadow: 0 24px 40px -24px rgba(40, 20, 80, .45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  animation: float 7s ease-in-out infinite;
}
.tile::after {
  content: ""; position: absolute; inset: 0; background-image: var(--noise);
  opacity: .35; mix-blend-mode: overlay; pointer-events: none;
}
a.tile:hover { transform: translateY(-6px) rotate(-1deg) scale(1.02); box-shadow: 0 34px 50px -24px rgba(40,20,80,.55); }
.tile svg.ic { width: 26px; height: 26px; position: relative; z-index: 1; }
.tile .lg { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); flex: none; }
.tile .lg img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }
.tile .nm { position: relative; z-index: 1; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; line-height: 1.1; }
.tile .nm small { display: block; font-weight: 500; font-size: 12px; opacity: .85; margin-top: 3px; letter-spacing: 0; }

.t-veda    { grid-area: 1 / 1 / 3 / 3; background: radial-gradient(at 18% 15%, #FFA27A 0, transparent 55%), radial-gradient(at 85% 90%, #C93A1F 0, transparent 60%), #E9643F; }
.t-explain { grid-area: 1 / 5 / 3 / 7; background: radial-gradient(at 25% 15%, #9FB3FF 0, transparent 55%), radial-gradient(at 85% 90%, #C04BFF 0, transparent 60%), #6A5BFF; animation-delay: -2s; }
.t-cheese  { grid-area: 3 / 1 / 5 / 3; color: var(--ink); background: radial-gradient(at 20% 20%, #FFF2A8 0, transparent 55%), radial-gradient(at 85% 85%, #FF9F1C 0, transparent 60%), #FFCB2F; animation-delay: -4s; }
.t-pageko  { grid-area: 3 / 5 / 5 / 7; background: radial-gradient(at 20% 15%, #4FA57E 0, transparent 55%), radial-gradient(at 90% 95%, rgba(242,160,61,.85) 0, transparent 50%), #1A4D3A; animation-delay: -1s; }
.t-ne      { grid-area: 5 / 2 / 7 / 6; background: radial-gradient(at 90% 15%, rgba(255,179,71,.95) 0, transparent 45%), radial-gradient(at 10% 95%, #3A2F7A 0, transparent 60%), #0B0F2E; animation-delay: -3s; flex-direction: row; align-items: flex-end; }
.t-ne .nm { font-size: 20px; }
.t-core {
  grid-area: 2 / 3 / 5 / 5; border-radius: 28px; align-items: center; justify-content: center;
  background: radial-gradient(at 80% 10%, rgba(139,92,255,.75) 0, transparent 55%), radial-gradient(at 15% 95%, rgba(255,138,61,.6) 0, transparent 55%), #0B1220;
  animation-delay: -5s;
}
.t-core img { width: 62%; position: relative; z-index: 1; filter: drop-shadow(0 10px 30px rgba(255,92,108,.45)); }
.t-core::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 18px 18px;
}
.t-dec1 { grid-area: 1 / 3 / 2 / 4; border-radius: 16px; background: linear-gradient(135deg, #FFB3D1, #B69CFF); transform: rotate(-8deg); animation-delay: -1.5s; padding: 0; }
.t-dec2 { grid-area: 1 / 4 / 2 / 5; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6C9, #FFC94D 45%, #FF8A3D); animation-delay: -3.5s; padding: 0; transform: scale(.78); }
.t-dec3 { grid-area: 5 / 1 / 6 / 2; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #D2FFF2, #14B8A6 60%); transform: scale(.7); animation-delay: -2.5s; padding: 0; }
.t-dec4 { grid-area: 5 / 6 / 7 / 7; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #4D7CFF, #8BE0FF); animation-delay: -4.5s; padding: 0; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px;
}
.hero-meta div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.hero-meta i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; }
.hero-meta strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.hero-meta span { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 60px; }
.section-head h2 { font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; margin-top: 18px; }
.section-head h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.015em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 520px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.about-copy p { font-size: 18.5px; color: var(--text); margin-bottom: 22px; }
.about-copy p.lede { font-weight: 600; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.22; color: var(--ink); letter-spacing: -0.025em; margin-top: 18px; }
.facts {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 10px 30px; box-shadow: 0 30px 60px -40px rgba(11,18,32,.3); overflow: hidden;
}
.facts::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--brand-grad); }
.facts h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 24px 0 8px; font-weight: 700; }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.facts a { color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 3px; }

/* Services */
.services { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; padding: 36px 34px 40px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, background .3s;
}
.svc:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 30px 50px -30px rgba(11,18,32,.25); }
.svc-num { position: absolute; top: 34px; right: 32px; font-size: 13px; font-weight: 700; color: #B9B2A5; letter-spacing: .08em; }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; color: #fff; display: grid; place-items: center; margin-bottom: 26px; box-shadow: 0 14px 24px -12px var(--sh, rgba(0,0,0,.3)); }
.svc-icon svg { width: 25px; height: 25px; }
.svc h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 16px; }
.g1 { background: linear-gradient(135deg, #FF9A3D, #FF4F6D); --sh: rgba(255,79,109,.55); }
.g2 { background: linear-gradient(135deg, #7B8CFF, #8B5CFF); --sh: rgba(139,92,255,.55); }
.g3 { background: linear-gradient(135deg, #FF5CA8, #C04BFF); --sh: rgba(192,75,255,.5); }
.g4 { background: linear-gradient(135deg, #3DDC97, #0FA3B1); --sh: rgba(15,163,177,.5); }
.g5 { background: linear-gradient(135deg, #4D9BFF, #2F5BFF); --sh: rgba(47,91,255,.5); }
.g6 { background: linear-gradient(135deg, #FFCB2F, #FF8A3D); --sh: rgba(255,138,61,.55); }

/* Products */
.products { background: var(--ink); color: #fff; overflow: hidden; }
.products::before {
  content: ""; position: absolute; width: 1100px; height: 1100px; left: -300px; top: -600px;
  background: radial-gradient(circle, rgba(139,92,255,.28), transparent 60%); pointer-events: none;
}
.products::after {
  content: ""; position: absolute; width: 1000px; height: 1000px; right: -400px; bottom: -600px;
  background: radial-gradient(circle, rgba(255,92,108,.22), transparent 60%); pointer-events: none;
}
.products .container { position: relative; z-index: 1; }
.products .section-head h2 { color: #fff; }
.products .section-head p { color: var(--muted-dark); }
.products .eyebrow { color: #FF8FA0; }
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.prod {
  grid-column: span 2;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; text-decoration: none; color: #fff;
  background: #151E31; border: 1px solid var(--line-dark);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s;
}
.prod:nth-child(1), .prod:nth-child(2) { grid-column: span 3; }
.prod:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); box-shadow: 0 40px 60px -40px rgba(0,0,0,.8); }
.prod-art { position: relative; height: 190px; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; }
.prod:nth-child(1) .prod-art, .prod:nth-child(2) .prod-art { height: 220px; }
.prod-art::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .35; mix-blend-mode: overlay; }
.prod-art .big {
  position: absolute; right: -10px; top: -30px; font-weight: 800; font-size: 210px; line-height: 1; letter-spacing: -0.06em;
  color: rgba(255,255,255,.2); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.prod:hover .prod-art .big { transform: translate(-10px, 8px) rotate(-4deg); }
.prod-art .ic { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); }
.prod-art .ic svg { width: 26px; height: 26px; }
.prod-art .ic.logo { width: 68px; height: 68px; border-radius: 20px; background: #fff; border-color: rgba(255,255,255,.8); box-shadow: 0 16px 30px -14px rgba(0,0,0,.45); }
.prod-art .ic.logo img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; }
.a-veda    { background: radial-gradient(at 15% 10%, #FFA27A 0, transparent 50%), radial-gradient(at 90% 95%, #C93A1F 0, transparent 60%), #E9643F; }
.a-explain { background: radial-gradient(at 20% 10%, #9FB3FF 0, transparent 50%), radial-gradient(at 90% 95%, #C04BFF 0, transparent 60%), #6A5BFF; }
.a-cheese  { background: radial-gradient(at 20% 15%, #FFF2A8 0, transparent 50%), radial-gradient(at 90% 90%, #FF9F1C 0, transparent 60%), #FFCB2F; color: var(--ink); }
.a-cheese .big { color: rgba(11,18,32,.12); }
.a-cheese .ic { background: rgba(11,18,32,.1); border-color: rgba(11,18,32,.15); }
.a-pageko  { background: radial-gradient(at 20% 10%, #4FA57E 0, transparent 50%), radial-gradient(at 95% 100%, rgba(242,160,61,.85) 0, transparent 50%), #1A4D3A; }
.a-ne      { background: radial-gradient(at 85% 10%, rgba(255,179,71,.95) 0, transparent 50%), radial-gradient(at 10% 95%, #3A2F7A 0, transparent 60%), #0B0F2E; }
.a-ne .big { color: rgba(255,179,71,.22); }
.prod-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.prod-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.prod h3 { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.prod-tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #C9CFDB; border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.prod p { color: rgba(255,255,255,.68); font-size: 15.5px; }
.prod-links { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.prod-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; }
.prod-link::after { content: ""; position: absolute; inset: 0; border-radius: 26px; }
.play {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px 8px 12px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s;
}
.play:hover { background: #FFF1DD; transform: translateY(-1px); }
.play svg { width: 14px; height: 14px; color: #1FA463; }
.prod-link svg { width: 18px; height: 18px; transition: transform .25s; }
.prod:hover .prod-link svg { transform: translate(3px, -3px); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 32px 28px 34px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c, var(--coral)); }
.step-n { font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -0.05em; color: var(--c); }
.step h3 { font-size: 21px; font-weight: 700; margin: 22px 0 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Principles */
.principles { background: var(--paper-2); }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pr { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.pr h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.pr p { color: var(--muted); font-size: 16px; }
.pr .dot { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 24px; }

/* AI CTA */
.ai-cta { padding: 0 0 120px; background: var(--paper-2); }
.ai-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 84px 72px;
  color: #fff;
  background:
    radial-gradient(60% 80% at 0% 0%, #FF8A3D 0%, transparent 60%),
    radial-gradient(50% 70% at 100% 100%, #4D7CFF 0%, transparent 60%),
    radial-gradient(50% 60% at 70% 0%, #C04BFF 0%, transparent 60%),
    #FF4F7A;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center;
}
.ai-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .3; mix-blend-mode: overlay; }
.ai-card .eyebrow { color: #fff; }
.ai-card .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.ai-card h2 { color: #fff; font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; margin-top: 18px; }
.ai-card h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.015em; }
.ai-card p { color: rgba(255,255,255,.9); font-size: 18px; margin-top: 20px; max-width: 560px; }
.ai-mail {
  justify-self: end; text-align: left; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 26px; padding: 32px;
}
.ai-mail .label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 8px; display: block; font-weight: 700; }
.ai-mail a.mail { display: block; font-weight: 700; letter-spacing: -0.03em; font-size: clamp(28px, 3vw, 40px); color: #fff; text-decoration: none; margin-bottom: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; position: relative; overflow: hidden; }
.c-card::before { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: var(--c); opacity: .18; filter: blur(10px); }
.c-card .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.c-card .v { font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 14px; line-height: 1.35; letter-spacing: -0.015em; }
.c-card .v a { text-decoration: none; }
.c-card .v a:hover { color: #E2475B; }
.c-card .s { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 88px 0 36px; font-size: 15px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-grad); }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: #FF8FA0; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.f-grid h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-bottom: 18px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-grid a { text-decoration: none; color: var(--muted-dark); transition: color .2s; }
.f-grid a:hover { color: #fff; }
.f-about p { margin-top: 20px; max-width: 360px; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 28px; font-size: 14px; }
.f-bottom a { color: var(--muted-dark); text-decoration: none; }
.f-bottom a:hover { color: #fff; }

/* Legal pages */
.page-hero { padding: 104px 0 0; }
.page-hero .hero-panel { display: block; padding: 72px 64px; }
.page-hero h1 { font-weight: 700; font-size: clamp(42px, 5.6vw, 72px); letter-spacing: -0.045em; margin-top: 18px; }
.page-hero p { color: var(--muted); margin-top: 12px; }
.legal { padding: 72px 0 120px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 24px; font-weight: 700; margin: 48px 0 14px; }
.legal p, .legal li { color: #333B4D; margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--ink); text-decoration-color: var(--coral); text-underline-offset: 3px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-panel { grid-template-columns: 1fr; padding: 72px 48px; }
  .art { justify-self: center; max-width: 520px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .prod, .prod:nth-child(1), .prod:nth-child(2) { grid-column: span 3; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .ai-card { grid-template-columns: 1fr; padding: 64px 48px; }
  .ai-mail { justify-self: start; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(251,248,243,.98); padding: 12px 28px 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { display: inline-block; margin-top: 18px; border: 0; padding: 12px 22px; }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .site-header { background: rgba(251,248,243,.98); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section-head, .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .pr-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding-top: 92px; }
  .hero-panel { padding: 48px 22px 28px; border-radius: 28px; }
  .page-hero .hero-panel { padding: 48px 24px; }
  .art { gap: 8px; }
  .tile { padding: 10px; border-radius: 16px; }
  .tile svg.ic { width: 20px; height: 20px; }
  .tile .lg { width: 32px; height: 32px; border-radius: 10px; }
  .tile .lg img { width: 22px; height: 22px; border-radius: 6px; }
  .tile .nm { font-size: 13px; }
  .tile .nm small { display: none; }
  .t-ne .nm { font-size: 15px; }
  .t-core { border-radius: 20px; }
  .section { padding: 84px 0; }
  .svc-grid, .process-grid, .hero-meta { grid-template-columns: 1fr; }
  .prod, .prod:nth-child(1), .prod:nth-child(2) { grid-column: span 6; }
  .f-grid { grid-template-columns: 1fr; gap: 36px; }
  .facts .row { grid-template-columns: 1fr; gap: 2px; }
  .ai-card { padding: 48px 24px; border-radius: 28px; }
  .ai-mail { padding: 24px; width: 100%; }
  .ai-cta { padding-bottom: 84px; }
}
