/* MG Cosmetics Project Factory — mobile-first stylesheet. Palette from the brochure. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/dmsans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/dmsans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #22123d;
  --ink-soft: #4a3a66;
  --plum: #2a1a48;
  --plum-2: #3a2465;
  --lav: #a487f5;
  --lav-text: #6545cf;
  --lav-200: #d9ccfb;
  --lav-100: #ece5fc;
  --lav-50: #f6f2fd;
  --orange: #ff7a1a;
  --orange-text: #d85a00;
  --cream: #fbf7f1;
  --white: #fff;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px -24px rgba(42, 26, 72, .45);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.5vw, 44px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--lav-50); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 6.4vw, 56px); font-weight: 900; }
h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.kicker { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--lav-text); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 62ch; }
.sec-head { margin-bottom: clamp(36px, 6vw, 64px); max-width: 860px; }
.sec-head.light h2, .sec-head.light .lead { color: var(--white); }
.sec-head.light .lead { color: var(--lav-200); }
.sec-head.light .kicker { color: var(--lav); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-family: var(--head); font-weight: 800; font-size: 15px; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(255, 122, 26, .8); }
.btn-orange:hover { background: #ff8c3a; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-ghost { border-color: var(--lav-200); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(42, 26, 72, .86); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 136px; height: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--lav-100); transition: background-color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.lang { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .35); }
.lang a { text-decoration: none; color: var(--lav-200); padding: 8px 4px; opacity: .75; }
.lang a[aria-current] { color: var(--white); opacity: 1; }
.lang a:hover { opacity: 1; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { position: absolute; left: 12px; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; content: ''; }
.menu-btn .bars { top: 22px; }
.menu-btn .bars::before { top: -7px; left: 0; }
.menu-btn .bars::after { top: 7px; left: 0; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--plum); padding: 8px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { font-family: var(--head); font-size: 22px; font-weight: 800; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a:hover { background: none; }
}

/* Hero */
.hero { background: radial-gradient(120% 90% at 85% 0%, #4b2d86 0%, var(--plum) 55%, #1f1236 100%); color: var(--white); padding-top: clamp(36px, 7vw, 84px); overflow: hidden; position: relative; }
.hero-in { display: grid; gap: 36px; align-items: center; }
.hero-in > * { min-width: 0; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--lav-200); margin-bottom: 18px; font-weight: 600; }
.hero h1 { font-size: clamp(42px, 11vw, 84px); font-weight: 900; text-transform: uppercase; line-height: .93; letter-spacing: -.02em; margin-bottom: 24px; }
.hl { display: block; }
.hl-ink { color: var(--white); }
.hl-lav { color: var(--lav); }
.hl-orange { color: var(--orange); }
.lang-en .hero h1 { font-size: clamp(38px, 9.6vw, 76px); }
.hero .lead { color: var(--lav-100); margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero-tag { position: absolute; left: -6px; bottom: 22px; background: var(--white); color: var(--ink); font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(15px, 2vw, 19px); line-height: 1.1; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.hero-tag span { display: block; }
.hero-tag span + span { color: var(--lav-text); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(40px, 7vw, 72px); background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--plum); padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { white-space: nowrap; font-family: var(--head); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); line-height: 1; color: var(--white); }
.stats li:nth-child(2) strong { color: var(--lav); }
.stats li:nth-child(3) strong { color: var(--orange); }
.stats span { font-size: 14px; color: var(--lav-200); }
.ticker { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 16px; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 22px; align-items: center; animation: ticker 40s linear infinite; font-family: var(--head); font-weight: 800; letter-spacing: .24em; font-size: 14px; color: var(--lav-200); }
.ticker-track i { color: var(--orange); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* What */
.what { background: var(--white); }
.what-grid { display: grid; gap: 40px; }
.what .big { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--ink); }
.what p { color: var(--ink-soft); }
.what-aside { background: var(--lav-50); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--lav-100); }
.what-aside h3 { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips li { background: var(--white); border: 1px solid var(--lav-200); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-family: var(--head); }
.closing { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.1; margin: 0; }
.closing span { display: block; color: var(--ink); }
.closing span + span { color: var(--orange-text); }

/* Services */
.services { background: var(--lav-50); }
.svc-grid { display: grid; gap: 14px; counter-reset: s; }
.svc { border-radius: var(--radius); padding: 22px 22px 22px; min-height: 0; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(42, 26, 72, .04); transition: transform .25s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-n { font-family: var(--head); font-weight: 900; font-size: 32px; line-height: 1; margin-bottom: auto; padding-bottom: 14px; }
.svc h3 { font-size: 19px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 8px; }
.svc p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.svc-feature { background: linear-gradient(120deg, var(--plum) 0%, var(--plum-2) 60%, #5a2f8f 100%); color: var(--white); position: relative; overflow: hidden; }
.svc-feature::after { content: ''; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: var(--orange); right: -34px; top: -34px; opacity: .9; }
.svc-feature .svc-n { color: var(--orange); position: relative; z-index: 1; }
.svc-feature .svc-body { position: relative; z-index: 1; }
.svc-feature p { color: var(--lav-100); max-width: 78ch; }
.svc-feature .svc-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: var(--lav-200); font-style: italic; }
.svc-cream { background: var(--cream); border: 1px solid #efe6da; }
.svc-cream .svc-n { color: var(--ink); }
.svc-lav { background: var(--lav-200); }
.svc-lav .svc-n { color: var(--plum); }
.svc-plum { background: var(--plum); color: var(--white); }
.svc-plum .svc-n { color: var(--lav); }
.svc-plum p { color: var(--lav-100); }
.svc-orange { background: var(--orange); color: var(--ink); }
.svc-orange .svc-n { color: var(--white); }

/* Process */
.process { background: linear-gradient(180deg, var(--plum) 0%, #1f1236 100%); color: var(--white); overflow: hidden; }
.steps { display: grid; gap: 14px; position: relative; }
.step { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px 22px 22px 64px; }
.step-dot { position: absolute; left: 22px; top: 28px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255, 122, 26, .18); }
.step-en { font-family: var(--head); font-weight: 800; letter-spacing: .24em; font-size: 12px; color: var(--lav); margin-bottom: 4px; }
.step h3 { font-size: 26px; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.step p { color: var(--lav-100); margin: 0; }
.step .step-items { margin-top: 12px; font-size: 14px; color: var(--lav-200); opacity: .85; }
.engine { margin-top: clamp(40px, 6vw, 64px); background: var(--orange); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.engine-title { font-family: var(--head); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; margin-bottom: 14px; }
.chain { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-family: var(--head); font-weight: 800; font-size: clamp(15px, 1.8vw, 18px); margin-bottom: 18px; }
.chain span { background: rgba(255, 255, 255, .55); padding: 6px 12px; border-radius: 10px; }
.chain span:last-child { background: var(--plum); color: var(--white); }
.chain i { font-style: normal; opacity: .7; }
.engine-text { margin: 0; font-size: 17px; max-width: 70ch; }
.process-closing { margin: clamp(40px, 6vw, 64px) 0 0; font-family: var(--head); font-weight: 900; font-size: clamp(24px, 4vw, 44px); line-height: 1.08; text-transform: uppercase; }
.process-closing span { display: block; }
.process-closing span + span { color: var(--lav); }

/* Define */
.define { background: var(--white); }
.define-grid { display: grid; gap: 32px; }
.questions { counter-reset: q; display: grid; gap: 10px; }
.questions li { counter-increment: q; display: flex; gap: 14px; align-items: baseline; font-family: var(--head); font-weight: 800; font-size: clamp(19px, 2.4vw, 24px); padding: 14px 0; border-bottom: 1px solid var(--lav-100); line-height: 1.2; }
.questions li::before { content: counter(q, decimal-leading-zero); font-size: 13px; color: var(--orange-text); letter-spacing: .1em; flex: none; width: 26px; }
.define-closing { background: var(--plum); color: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.define-closing p { color: var(--lav-200); }
.define-closing .strong { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3vw, 32px); line-height: 1.1; margin: 0; color: var(--white); }
.define-closing .strong span { display: block; }
.define-closing .strong span + span { color: var(--lav); }

/* Production lines */
.lines { background: var(--lav-50); }
.line-item { display: grid; gap: 26px; align-items: center; padding-block: clamp(28px, 5vw, 56px); border-top: 1px solid var(--lav-100); }
.line-item:first-of-type { border-top: 0; padding-top: 0; }
.line-media { margin: 0; }
.line-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.line-body h3 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; }
.line-body p { color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--lav-200); color: var(--ink); }
.line-body .outro { margin-top: 20px; font-family: var(--head); font-weight: 900; text-transform: uppercase; color: var(--orange-text); font-size: 18px; letter-spacing: .01em; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--head); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 0; }
.flow span { color: var(--ink); }
.flow i { font-style: normal; color: var(--lav-text); }

/* How */
.how { background: var(--white); }
.big-flow { font-size: clamp(16px, 2.4vw, 24px); margin-bottom: clamp(32px, 5vw, 48px); gap: 10px 16px; }
.big-flow span { background: var(--lav-50); border: 1px solid var(--lav-100); padding: 10px 18px; border-radius: 999px; }
.big-flow span:last-child { background: var(--orange); border-color: var(--orange); }
.how-cards { display: grid; gap: 14px; }
.how-cards li { border-radius: var(--radius); padding: 28px 24px; background: var(--lav-50); border: 1px solid var(--lav-100); }
.how-cards li:nth-child(2) { background: var(--lav-200); border-color: var(--lav-200); }
.how-cards li:nth-child(3) { background: var(--plum); color: var(--white); border-color: var(--plum); }
.how-cards li:nth-child(3) p { color: var(--lav-100); }
.how-cards h3 { text-transform: uppercase; font-size: 20px; }
.how-cards p { margin: 0; color: var(--ink-soft); }

/* Gallery */
.gallery { background: var(--lav-50); padding-bottom: clamp(56px, 8vw, 100px); }
.g-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--lav) transparent; padding-bottom: 14px; scroll-padding-inline: max(var(--gutter), calc((100vw - 1220px) / 2 + var(--gutter))); }
.g-track { display: flex; gap: 14px; padding-inline: max(var(--gutter), calc((100vw - 1220px) / 2 + var(--gutter))); width: max-content; }
.g-track li { scroll-snap-align: start; width: min(64vw, 300px); }
.g-item { display: block; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px -22px rgba(42, 26, 72, .6); transition: transform .25s ease; }
.g-item:hover { transform: translateY(-4px) rotate(-.4deg); }
.g-item img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* About */
.about { background: var(--white); }
.about-grid { display: grid; gap: 40px; align-items: start; }
.about-copy p { color: var(--ink-soft); }
.about-copy .intro { font-size: clamp(18px, 2vw, 21px); color: var(--ink); }
.sector { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.05; margin: 28px 0; }
.sector span { display: block; color: var(--ink) !important; }
.sector span + span { color: var(--orange-text) !important; }
.sub-title { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lav-text) !important; margin: 0; }
.person { margin: 0; background: var(--plum); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 420px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.person figcaption { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.person strong { font-family: var(--head); font-size: 26px; font-weight: 900; }
.person span { color: var(--lav); font-weight: 600; }
.person small { color: var(--lav-200); font-size: 13px; }
.person a { margin-top: 10px; display: inline-flex; gap: 8px; align-items: center; color: var(--orange); font-weight: 700; text-decoration: none; }
.person a svg { width: 18px; height: 18px; }
.recognition { margin-top: clamp(72px, 10vw, 120px); }
.rec-grid { display: grid; gap: 14px; }
.rec-card { border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); background: var(--lav-50); border: 1px solid var(--lav-100); display: flex; flex-direction: column; }
.rec-card:nth-child(2) { background: var(--plum); color: var(--white); border-color: var(--plum); }
.rec-card:nth-child(2) .rec-cats, .rec-card:nth-child(2) .rec-l, .rec-card:nth-child(2) .rec-note { color: var(--lav-200); }
.rec-card:nth-child(2) .rec-v { color: var(--orange); }
.rec-card:nth-child(2) .rec-figs > div + div .rec-v { color: var(--lav); }
.rec-scope { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.rec-cats { font-size: 14px; color: var(--ink-soft); }
.rec-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 18px; }
.rec-v { white-space: nowrap; font-family: var(--head); font-weight: 900; font-size: clamp(38px, 5.2vw, 60px); line-height: 1; margin: 0 0 6px; color: var(--plum); letter-spacing: -.03em; }
.rec-figs > div + div .rec-v { color: var(--lav-text); }
.rec-l { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0; color: var(--ink-soft); font-weight: 600; }
.rec-note { font-size: 15px; color: var(--ink-soft); }
.rec-src { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; padding: 6px 0; cursor: pointer; font-weight: 700; color: var(--orange-text); font-size: 15px; }
.rec-card:nth-child(2) .rec-src { color: var(--orange); }
.rec-src svg { width: 18px; height: 18px; }
.rec-table { margin-top: 14px; border-radius: var(--radius-lg); border: 1px solid var(--lav-100); padding: clamp(22px, 3.4vw, 34px); }
.rec-table-title { font-family: var(--head); font-weight: 800; font-size: 16px; }
.table-scroll { overflow-x: auto; margin-bottom: 8px; }
.rec-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.rec-table th, .rec-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--lav-100); }
.rec-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.rec-table tbody th { font-weight: 600; }
.rec-table .now { color: var(--lav-text); font-weight: 800; }
.rec-source { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* Contact */
.contact { background: radial-gradient(110% 80% at 10% 0%, #4b2d86 0%, var(--plum) 55%, #1f1236 100%); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .lead { color: var(--lav-100); }
.contact .kicker { color: var(--lav); }
.contact-grid { display: grid; gap: 40px; }
.contact-list { display: grid; gap: 4px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; color: var(--lav); }
.contact-list small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--lav-200); }
.contact-list a { color: var(--white); font-weight: 600; text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: var(--orange); }
.todo-pill { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 3px 10px; border: 1.5px dashed var(--orange); color: var(--orange); border-radius: 8px; background: rgba(255, 122, 26, .08); }
.legal .todo-pill { color: var(--orange-text); border-color: var(--orange-text); }
.contact-form { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); padding: clamp(22px, 3.6vw, 36px); display: grid; gap: 14px; }
.field-row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--lav-200); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--white); background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 13px 14px; transition: border-color .2s, background-color .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lav) 50%), linear-gradient(135deg, var(--lav) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lav); background-color: rgba(0, 0, 0, .28); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--lav-200); margin: 0; }
.form-error { color: #ffb37a; font-weight: 600; margin: 0; }

/* Footer */
.site-footer { background: #170c2a; color: var(--lav-200); padding-block: 48px 36px; }
.footer-in { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 180px; height: auto; }
.claim { margin: 0; font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(18px, 3vw, 26px); color: var(--white); line-height: 1.1; }
.claim .c1 { color: var(--lav); }
.claim .c2 { color: var(--orange); }
.site-footer .line { margin: 0; font-family: var(--head); font-weight: 800; letter-spacing: .22em; font-size: 12px; }
.site-footer .line i { color: var(--orange); font-style: normal; margin-inline: 6px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; }
.footer-meta a { text-decoration: none; color: var(--lav-100); }
.footer-meta a:hover { color: var(--orange); }
.footer-meta span { opacity: .7; }

/* Simple pages (KVKK, 404) */
.simple { padding-block: clamp(40px, 8vw, 96px); background: var(--white); min-height: 60vh; }
.legal h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; }
.legal h2 { font-size: clamp(20px, 2.6vw, 24px); font-weight: 800; margin-top: 2em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .5em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--lav-text); }
.muted { color: var(--ink-soft); font-size: 14px; }
.draft-banner { background: #fff3e8; border: 1.5px dashed var(--orange); color: #8a3a00; padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.notfound { text-align: center; padding-block: 40px; }
.notfound h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 900; }
.notfound .btn { margin: 6px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 10, 36, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; border-radius: 18px; margin: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-close, .lb-nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: var(--orange); color: var(--ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-nav { display: none; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ≥ 600px */
@media (min-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-feature { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .rec-grid { grid-template-columns: 1fr 1fr; }
  .how-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ≥ 900px */
@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .brand img { width: 160px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .what-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
  .svc-grid { grid-template-columns: repeat(5, 1fr); }
  .svc { min-height: 250px; padding: 26px 24px 24px; }
  .svc-n { font-size: 40px; padding-bottom: 22px; }
  .svc-feature { grid-column: 1 / -1; min-height: 0; flex-direction: row; gap: 40px; align-items: flex-start; padding: 34px 36px; }
  .svc-feature .svc-n { font-size: 64px; padding: 0; margin: 0; }
  .svc-feature::after { width: 180px; height: 180px; right: -60px; top: -60px; }
  .svc-feature .svc-body { padding-right: 90px; }
  .svc-feature h3 { font-size: 24px; }
  .svc-feature p { font-size: 17px; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 38px; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); opacity: .55; }
  .step { padding: 70px 20px 24px; text-align: center; background: rgba(255, 255, 255, .04); }
  .step-dot { left: 50%; top: 28px; transform: translateX(-50%); }
  .define-grid { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .define-grid > :first-child { grid-row: span 2; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .line-item { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .line-item.flip { grid-template-columns: 1.1fr .9fr; }
  .line-item.flip .line-media { order: 2; }
  .about-grid { grid-template-columns: 1.25fr .75fr; gap: 72px; }
  .person { position: sticky; top: calc(var(--header-h) + 32px); }
  .contact-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
  .footer-in { grid-template-columns: 1fr auto; align-items: center; }
  .footer-meta { grid-column: 1 / -1; }
  .g-track li { width: 300px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .svc, .g-item { transition: none; }
}

/* lang="en" spans injected into Turkish pages (see markEnglish in src/templates.mjs):
   inherit everything from the parent so broad `span` rules don't restyle them. */
html span.en[lang] { display: inline; color: inherit; background: none; opacity: 1; padding: 0; margin: 0; border: 0; border-radius: 0; font: inherit; letter-spacing: inherit; }
