/* Medya Tasarım Premium UI · 4.0.0 */
:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-soft: #ececef;
    --text: #111113;
    --muted: #6f7077;
    --line: rgba(17, 17, 19, .12);
    --line-strong: rgba(17, 17, 19, .2);
    --dark: #08090b;
    --dark-soft: #121418;
    --dark-text: #f5f5f7;
    --dark-muted: #a6a7ad;
    --blue: #4b8dff;
    --violet: #8c67ff;
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --shell: 1360px;
    --header-height: 78px;
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #0b0c0f;
    --surface: #15171b;
    --surface-soft: #1c1f24;
    --text: #f4f4f6;
    --muted: #a3a4ab;
    --line: rgba(255, 255, 255, .13);
    --line-strong: rgba(255, 255, 255, .25);
    --dark: #f1f1f3;
    --dark-soft: #e7e7e9;
    --dark-text: #0c0d10;
    --dark-muted: #606168;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background .35s ease, color .35s ease;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.site-main { min-height: 50vh; }
.skip-link {
    position: fixed; left: 18px; top: 12px; z-index: 1000;
    padding: 10px 16px; border-radius: 99px; background: var(--text); color: var(--bg);
    transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
    margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}

/* Header */
.site-header {
    position: fixed; z-index: 100; inset: 0 0 auto;
    height: var(--header-height); border-bottom: 1px solid transparent;
    background: color-mix(in srgb, var(--bg) 76%, transparent);
    backdrop-filter: saturate(150%) blur(22px);
    -webkit-backdrop-filter: saturate(150%) blur(22px);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .04); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; font-size: 19px; line-height: 1; letter-spacing: -.055em; }
.brand span { font-weight: 400; }
.brand strong { font-weight: 700; }
.brand i { width: 5px; height: 5px; margin: 0 0 0 5px; border-radius: 50%; background: var(--blue); }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: auto; max-height: 34px; }
.main-nav { margin-left: auto; }
.main-nav ul, .main-nav .menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav li.menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; font-size: 12px; opacity: .55; }
.main-nav a { display: inline-flex; align-items: center; padding: 8px 0; color: var(--muted); font-size: 13px; letter-spacing: -.01em; transition: color .2s ease; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .2s, transform .2s; }
.theme-toggle:hover { border-color: var(--line-strong); transform: rotate(10deg); }
.theme-toggle-track { display: block; width: 17px; height: 17px; padding: 2px; border-radius: 50%; background: var(--text); }
.theme-toggle-track i { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); transition: transform .3s; }
html[data-theme="dark"] .theme-toggle-track i { transform: translateX(-2px); }
.mini-cta, .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease; }
.mini-cta { min-height: 40px; padding: 0 15px 0 17px; background: var(--text); color: var(--bg); }
.mini-cta b, .button b, .cta-button b { font-size: 16px; font-weight: 400; line-height: 1; }
.mini-cta:hover, .button:hover, .cta-button:hover { transform: translateY(-2px); }
.nav-toggle { display: none; width: 38px; height: 38px; margin-left: auto; padding: 8px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; margin: 5px 3px; background: var(--text); transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Shared editorial primitives */
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-live { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow-live i { width: 6px; height: 6px; border-radius: 50%; background: #36c87d; box-shadow: 0 0 0 5px rgba(54, 200, 125, .12); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.button { min-height: 48px; padding: 0 19px 0 22px; border: 1px solid var(--line); }
.button.primary { border-color: var(--text); background: var(--text); color: var(--bg); }
.button.ghost { background: color-mix(in srgb, var(--surface) 76%, transparent); }
.button.ghost:hover { border-color: var(--line-strong); background: var(--surface); }
.text-link { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 14px; font-weight: 600; }
.text-link b { font-size: 18px; font-weight: 400; transition: transform .25s; }
.text-link:hover b { transform: translate(4px, -4px); }

/* Premium home hero */
.home { background: var(--bg); }
.hero-premium { position: relative; min-height: max(760px, 100svh); padding: calc(var(--header-height) + 70px) 0 76px; overflow: hidden; isolation: isolate; }
.hero-premium::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 76% 44%, rgba(115, 167, 255, .16), transparent 30%), radial-gradient(circle at 10% 90%, rgba(180, 153, 255, .13), transparent 27%); pointer-events: none; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 440px; height: 440px; right: 5%; top: 15%; background: radial-gradient(circle, rgba(72, 144, 255, .12), transparent 68%); animation: drift 11s ease-in-out infinite; }
.hero-glow-two { width: 260px; height: 260px; left: 31%; bottom: 2%; background: radial-gradient(circle, rgba(144, 95, 255, .1), transparent 70%); animation: drift 14s ease-in-out -2s infinite reverse; }
@keyframes drift { 50% { transform: translate3d(-18px, 20px, 0) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(30px, 5vw, 90px); min-height: calc(100svh - var(--header-height) - 100px); }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content h1 { margin: 26px 0 28px; font-size: clamp(54px, 5.8vw, 92px); font-weight: 650; letter-spacing: -.075em; line-height: .93; }
.hero-content h1 span { display: block; }
.hero-content h1 .gradient-text { background: linear-gradient(115deg, var(--text) 10%, #66707f 58%, #387fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 510px; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 48px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.hero-proof b { color: var(--text); font-size: 9px; letter-spacing: .08em; }
.hero-stage { position: relative; min-width: 0; perspective: 1200px; }
.stage-frame { position: relative; overflow: hidden; aspect-ratio: 1.18; border: 1px solid rgba(255, 255, 255, .64); border-radius: var(--radius-lg); background: #e8e9ec; box-shadow: 0 34px 100px rgba(30, 60, 100, .16), 0 3px 0 rgba(255, 255, 255, .7) inset; transform: rotate(1.3deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.hero-stage:hover .stage-frame { transform: rotate(0) scale(1.01); }
.stage-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.38), transparent 33%, transparent 70%, rgba(40, 90, 180, .12)); pointer-events: none; }
.hero-devices { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.stage-label { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.7); border-radius: 99px; background: rgba(255,255,255,.58); color: #4a4c52; backdrop-filter: blur(14px); font-size: 10px; font-weight: 600; letter-spacing: .01em; }
.stage-label i { width: 6px; height: 6px; border-radius: 50%; background: #4b8dff; box-shadow: 0 0 0 4px rgba(75, 141, 255, .16); }
.stage-label-top { top: 20px; left: 20px; }
.stage-card { position: absolute; right: -22px; bottom: -28px; display: flex; flex-direction: column; gap: 5px; width: 164px; padding: 18px; border: 1px solid rgba(255,255,255,.56); border-radius: 18px; background: rgba(21, 23, 28, .86); box-shadow: 0 18px 50px rgba(0, 0, 0, .16); color: #fff; backdrop-filter: blur(18px); }
.stage-card span { color: #a7a8ad; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.stage-card strong { font-size: 13px; line-height: 1.2; letter-spacing: -.025em; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; display: grid; place-items: center; width: 34px; height: 44px; border: 1px solid var(--line); border-radius: 99px; transform: translateX(-50%); }
.scroll-cue span { width: 3px; height: 8px; border-radius: 99px; background: var(--text); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%, 100% { transform: translateY(-4px); opacity: .35; } 50% { transform: translateY(5px); opacity: 1; } }

/* Home statement and services */
.statement-premium { padding: 150px 0; background: var(--dark); color: var(--dark-text); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(50px, 11vw, 170px); align-items: end; }
.statement-title .eyebrow { color: var(--dark-muted); }
.statement-title h2 { max-width: 780px; margin: 23px 0 0; font-size: clamp(38px, 5.3vw, 76px); font-weight: 600; letter-spacing: -.07em; line-height: .98; }
.statement-copy > p { max-width: 430px; margin: 0 0 42px; color: var(--dark-muted); font-size: 17px; line-height: 1.65; }
.statement-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid rgba(255,255,255,.17); padding-top: 18px; }
.statement-metrics div { display: flex; flex-direction: column; gap: 6px; }
.statement-metrics strong { font-size: clamp(25px, 3vw, 42px); font-weight: 600; letter-spacing: -.06em; }
.statement-metrics span { color: var(--dark-muted); font-size: 10px; }
.services-premium { position: relative; padding: 140px 0 156px; background: var(--bg); }
.services-premium::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--dark) 0 46%, var(--bg) 46%); }
.services-premium .section-head { color: var(--dark-text); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-head h2 { max-width: 720px; margin: 18px 0 0; font-size: clamp(40px, 5vw, 70px); font-weight: 600; letter-spacing: -.07em; line-height: .97; }
.section-head > p { max-width: 350px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.services-premium .section-head > p { color: var(--dark-muted); }
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.service-card { position: relative; display: flex; min-height: 340px; overflow: hidden; border: 1px solid #2b2d32; border-radius: var(--radius-md); background: linear-gradient(135deg, #191b20, #0c0d10 78%); color: #f5f5f6; transition: border-color .35s, transform .35s, box-shadow .35s; }
.service-card-wide { grid-column: span 7; }
.service-card-compact { grid-column: span 5; }
.service-card-copy { position: relative; z-index: 2; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.service-number { color: #8e9098; font-size: 10px; letter-spacing: .12em; }
.service-card h3 { max-width: 270px; margin: 66px 0 10px; font-size: clamp(22px, 2.2vw, 31px); font-weight: 600; letter-spacing: -.05em; line-height: 1.06; }
.service-card p { max-width: 280px; margin: 0; color: #a3a5ad; font-size: 13px; line-height: 1.55; }
.circle-arrow { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #4a4c51; border-radius: 50%; color: #fff; font-size: 17px; font-weight: 400; transition: transform .3s, background .3s; }
.service-visual { position: absolute; inset: auto 0 0 auto; width: 53%; height: 100%; opacity: .67; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111216 0%, rgba(17,18,22,.32) 42%, transparent 75%); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: screen; }
.service-card:nth-child(2) .service-visual, .service-card:nth-child(3) .service-visual { width: 64%; }
.service-card:hover { border-color: #6a6e79; box-shadow: 0 24px 60px rgba(0,0,0,.2); transform: translateY(-6px); }
.service-card:hover .service-visual { opacity: .92; transform: scale(1.05); }
.service-card:hover .circle-arrow { background: #fff; color: #111; transform: translate(2px, -2px); }

/* Showcase */
.showcase-premium { padding: 150px 0 140px; background: var(--dark); color: var(--dark-text); }
.showcase-premium .section-head > p { color: var(--dark-muted); }
.showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.showcase-card { min-width: 0; }
.showcase-card i { display: block; aspect-ratio: .83; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); background-image: url('../images/project-showcase.webp'); background-size: 200% 200%; box-shadow: 0 16px 50px rgba(0,0,0,.22); transition: transform .55s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.showcase-card:hover i { border-color: rgba(255,255,255,.4); transform: translateY(-8px) scale(1.015); }
.showcase-card.pos-1 i { background-position: 0 0; }
.showcase-card.pos-2 i { background-position: 100% 0; }
.showcase-card.pos-3 i { background-position: 0 100%; }
.showcase-card.pos-4 i { background-position: 100% 100%; }
.showcase-card > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.showcase-card span { color: var(--dark-muted); font-size: 10px; }
.showcase-card b { font-size: 16px; font-weight: 400; opacity: .7; transition: transform .25s; }
.showcase-card:hover b { transform: translate(3px, -3px); }
.showcase-card h3 { margin: 7px 0 0; font-size: 18px; font-weight: 500; letter-spacing: -.035em; }
.showcase-premium .text-link { margin-top: 58px; border-color: rgba(255,255,255,.18); color: #fff; }
.showcase-premium .text-link b { color: #fff; }

/* Process */
.process-premium { padding: 150px 0; background: var(--surface); }
.process-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(45px, 10vw, 160px); }
.process-title { position: sticky; top: 120px; align-self: start; }
.process-title h2 { max-width: 500px; margin: 20px 0 22px; font-size: clamp(38px, 4.5vw, 62px); font-weight: 600; letter-spacing: -.07em; line-height: .98; }
.process-title > p:last-child { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.steps article { min-height: 245px; border-top: 1px solid var(--line); padding: 22px 15px 30px 0; }
.steps article:nth-child(even) { padding-left: 25px; border-left: 1px solid var(--line); }
.steps article > span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.steps h3 { margin: 66px 0 10px; font-size: 23px; font-weight: 600; letter-spacing: -.04em; }
.steps p { max-width: 250px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* CTA */
.cta-wrap { padding: 0 0 150px; background: var(--surface); }
.cta-visual { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 45px; overflow: hidden; padding: 70px 72px; border-radius: var(--radius-lg); background: #05070c url('../images/cta-ribbon.webp') center / cover no-repeat; color: #fff; isolation: isolate; }
.cta-visual::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3,4,8,.8), rgba(3,4,8,.22)); }
.cta-copy h2 { max-width: 680px; margin: 20px 0 18px; font-size: clamp(40px, 5vw, 70px); font-weight: 600; letter-spacing: -.07em; line-height: .97; }
.cta-copy > span { display: block; max-width: 520px; color: #b1b5c0; font-size: 15px; }
.cta-visual .eyebrow { color: #a8adb9; }
.cta-button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 190px; min-height: 52px; padding: 0 18px 0 21px; border: 1px solid rgba(255,255,255,.23); border-radius: 99px; background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(12px); font-size: 13px; font-weight: 600; transition: transform .25s, background .25s; }
.cta-button:hover { background: #fff; color: #0b0c10; transform: translateY(-3px); }

/* Footer */
.site-footer { padding: 0 0 28px; background: #07080a; color: #f1f2f4; }
.footer-lead { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 82px 0 70px; border-bottom: 1px solid #25272c; }
.footer-lead p { margin: 0; font-size: clamp(26px, 3.3vw, 45px); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.footer-lead > a { display: inline-flex; align-items: center; gap: 18px; color: #aeb0b8; font-size: 13px; }
.footer-lead > a b { font-size: 18px; font-weight: 400; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding: 70px 0 80px; }
.brand-light { color: #fff; }
.footer-brand p { max-width: 280px; margin: 20px 0 0; color: #858890; font-size: 13px; }
.footer-grid h3 { margin: 3px 0 18px; color: #696c75; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand), .footer-grid .menu { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-grid a, .footer-grid span { color: #b5b7be; font-size: 13px; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #25272c; padding-top: 20px; color: #676a72; font-size: 10px; }

/* Elementor content */
body.mt-elementor-page .site-main { padding-top: var(--header-height); }
.mt-elementor-content { width: 100%; }
.mt-elementor-content > .elementor { width: 100%; }
.elementor-editor-active .site-header { position: relative; top: 0; }
body.elementor-editor-active.mt-elementor-page .site-main { padding-top: 0; }

/* Generic page fallback */
.page-hero, .editorial-hero { padding-top: calc(var(--header-height) + 118px); padding-bottom: 120px; }
.editorial-hero h1, .page-hero h1 { max-width: 1080px; margin: 24px 0 34px; font-size: clamp(52px, 7vw, 100px); font-weight: 650; letter-spacing: -.08em; line-height: .94; }
.editorial-hero > p:last-child, .page-intro { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.page-intro p { margin: 0 0 1em; }
.page-intro a { text-decoration: underline; text-underline-offset: 3px; }
.posts { padding-bottom: 140px; }
.posts article { border-top: 1px solid var(--line); padding: 24px 0; }
.posts article h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.04em; }
.posts article p { margin: 0; color: var(--muted); }

/* Service pages */
.mt-service-page { background: #f5f5f7; color: #111113; }
.mt-service-page .site-header { background: rgba(245,245,247,.8); }
.mt-service-page .main-nav a, .mt-service-page .eyebrow { color: #72737a; }
.service-hero { position: relative; overflow: hidden; min-height: 760px; padding-top: var(--header-height); background: #f5f5f7; }
.service-hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -260px; top: 50px; border-radius: 50%; background: radial-gradient(circle, rgba(83,141,255,.16), transparent 67%); filter: blur(8px); pointer-events: none; }
.service-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: 55px; min-height: 680px; }
.service-hero-copy { padding: 70px 0; }
.service-hero-copy h1 { max-width: 700px; margin: 24px 0 28px; font-size: clamp(48px, 5.2vw, 78px); font-weight: 650; letter-spacing: -.08em; line-height: .94; }
.service-hero-copy > p:not(.eyebrow) { max-width: 520px; margin: 0; color: #67686f; font-size: 16px; line-height: 1.7; }
.service-hero-copy .button { margin-top: 28px; background: #111113; color: #fff; }
.service-hero-media { position: relative; align-self: end; height: min(70vh, 700px); min-height: 500px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 35px 80px rgba(38,58,92,.15); }
.service-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 35%); pointer-events: none; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-offer { padding: 145px 0; }
.offer-title, .deliverables-head { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; margin-bottom: 72px; }
.offer-title h2, .story-title h2, .case-head h2, .audience-title h2, .deliverables-head h2, .faq-title h2 { margin: 0; font-size: clamp(36px, 4.4vw, 62px); font-weight: 600; letter-spacing: -.07em; line-height: .98; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-grid article { position: relative; min-height: 250px; border-top: 1px solid var(--line); padding: 25px 60px 28px 0; }
.offer-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: 40px; }
.offer-grid article > span, .case-notes span, .deliverables-grid span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.offer-grid h3 { margin: 55px 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -.045em; }
.offer-grid p { max-width: 400px; margin: 0; color: var(--muted); font-size: 14px; }
.offer-grid b { position: absolute; top: 22px; right: 18px; font-size: 20px; font-weight: 400; }
.service-story { padding: 140px 0; background: #0b0c0f; color: #f3f3f5; }
.story-grid, .audience-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 10vw, 150px); }
.story-title, .faq-title { position: sticky; top: 120px; align-self: start; }
.story-title .eyebrow, .faq-title .eyebrow { color: #85878e; }
.story-copy { color: #999ca5; font-size: 15px; line-height: 1.75; }
.story-copy p { margin: 0 0 26px; }
.story-copy p:first-child { color: #f0f1f3; font-size: 20px; line-height: 1.55; }
.case-study { padding: 145px 0; }
.case-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 70px; margin-bottom: 55px; }
.case-head h2 { margin-top: 18px; }
.case-head > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.case-image { overflow: hidden; aspect-ratio: 1.8; border-radius: var(--radius-lg); background: #101115; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.case-image:hover img { transform: scale(1.025); }
.case-notes { display: grid; grid-template-columns: repeat(3, 1fr); }
.case-notes > div { border-top: 1px solid var(--line); padding: 23px 35px 0 0; }
.case-notes > div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.case-notes h3 { margin: 20px 0 8px; font-size: 17px; font-weight: 600; }
.case-notes p { margin: 0; color: var(--muted); font-size: 13px; }
.audience-section { padding: 140px 0; background: #ececef; }
.audience-title > p:last-child { max-width: 430px; margin: 25px 0 0; color: #696a70; font-size: 14px; }
.audience-list > div { display: grid; grid-template-columns: 55px 1fr; border-top: 1px solid rgba(17,17,19,.14); padding: 22px 0; }
.audience-list p { margin: 0; font-size: 18px; font-weight: 550; letter-spacing: -.03em; line-height: 1.4; }
.deliverables { padding: 145px 0; }
.deliverables-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.deliverables-grid > div { min-height: 240px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: transform .3s, box-shadow .3s; }
.deliverables-grid > div:hover { transform: translateY(-6px); box-shadow: 0 20px 55px rgba(0,0,0,.08); }
.deliverables-grid h3 { margin: 62px 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.035em; }
.deliverables-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.service-stats { padding: 80px 0; background: #090a0c; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-grid div { border-left: 1px solid #2b2d32; padding: 0 45px; }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats-grid strong { display: block; font-size: clamp(45px, 5vw, 74px); font-weight: 600; letter-spacing: -.08em; line-height: 1; }
.stats-grid span { color: #898c95; font-size: 12px; }
.service-process { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(50px, 10vw, 150px); padding: 145px 0; }
.sticky-title { position: sticky; top: 120px; align-self: start; }
.sticky-title h2 { margin: 20px 0 0; font-size: clamp(38px, 4.2vw, 60px); font-weight: 600; letter-spacing: -.07em; line-height: .98; }
.process-list article { display: grid; grid-template-columns: 60px 1fr; border-top: 1px solid var(--line); padding: 25px 0 38px; }
.process-list article > span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.process-list h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -.045em; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-section { padding: 140px 0; background: #0b0c0f; color: #f5f5f7; }
.faq-title > p:last-child { max-width: 380px; margin: 24px 0 0; color: #85878e; font-size: 14px; }
.faq-list details { border-top: 1px solid #2a2c31; }
.faq-list details:last-child { border-bottom: 1px solid #2a2c31; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 550; letter-spacing: -.035em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 24px; font-weight: 300; transition: transform .25s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: 0; padding: 0 45px 26px 0; color: #9598a1; font-size: 14px; }

/* Projects, about and contact */
.portfolio-dark, .manifesto { padding: 130px 0; background: #08090b; color: #f4f4f6; }
.portfolio-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 82px 24px; }
.portfolio-page .showcase-card i { aspect-ratio: 1.35; }
.portfolio-page .showcase-card:nth-child(even) { margin-top: 115px; }
.portfolio-page h2 { margin: 8px 0 0; font-size: 30px; font-weight: 600; letter-spacing: -.055em; }
.portfolio-page p { margin: 8px 0 0; color: #93969e; font-size: 13px; }
.manifesto-big { max-width: 1140px; margin: 0; font-size: clamp(40px, 5.6vw, 78px); font-weight: 600; letter-spacing: -.075em; line-height: .98; }
.manifesto-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 42px; max-width: 720px; margin: 90px 0 0 auto; color: #999ca4; font-size: 15px; }
.values { padding: 140px 0; }
.contact-premium { min-height: calc(100svh - var(--header-height)); padding: calc(var(--header-height) + 100px) 0 125px; background: #08090b; color: #f5f5f7; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 10vw, 150px); }
.contact-premium h1 { margin: 24px 0 32px; font-size: clamp(60px, 7vw, 110px); font-weight: 650; letter-spacing: -.09em; line-height: .88; }
.contact-grid > div > p:not(.eyebrow) { max-width: 480px; color: #9a9ca4; font-size: 16px; }
.mail-link { display: inline-flex; gap: 12px; margin-top: 40px; border-bottom: 1px solid #565960; padding-bottom: 6px; font-size: 19px; }
.contact-form { display: flex; flex-direction: column; gap: 21px; padding: 40px; border: 1px solid #2b2d32; border-radius: var(--radius-md); background: #13151a; }
.contact-form label { color: #a2a4ac; font-size: 11px; letter-spacing: .04em; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 9px; padding: 14px 16px; border: 1px solid #34373e; border-radius: 12px; outline: none; background: #0b0c0f; color: #fff; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #6f9fff; box-shadow: 0 0 0 3px rgba(111,159,255,.15); }
.contact-form .button { align-self: flex-start; background: #fff; color: #0b0c0f; }
.form-note { margin: 0; font-size: 13px; }
.success { color: #50d48d; }

/* Editor/admin-safe helpers */
.mt-bg-light { background: #f5f5f7 !important; color: #111113 !important; }
.mt-bg-dark { background: #08090b !important; color: #f4f4f6 !important; }
.mt-bg-glass { background: rgba(255,255,255,.55) !important; border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(20px); }

/* Responsive */
@media (max-width: 1180px) {
    .shell { width: min(var(--shell), calc(100% - 48px)); }
    .hero-grid { gap: 35px; }
    .hero-content h1 { font-size: clamp(50px, 6vw, 76px); }
    .service-hero-inner { gap: 35px; }
    .stage-card { right: -8px; }
}

@media (max-width: 900px) {
    :root { --header-height: 70px; }
    body.admin-bar .site-header { top: 46px; }
    .shell { width: min(var(--shell), calc(100% - 36px)); }
    .main-nav { position: fixed; inset: var(--header-height) 0 auto; display: none; max-height: calc(100svh - var(--header-height)); overflow-y: auto; padding: 10px 18px 24px; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
    .main-nav.open { display: block; }
    .main-nav ul, .main-nav .menu { display: block; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { display: flex; justify-content: space-between; padding: 16px 0; font-size: 16px; }
    .nav-actions { margin-left: auto; }
    .nav-actions .mini-cta { display: none; }
    .nav-toggle { display: block; }
    .hero-premium { min-height: 0; padding-top: calc(var(--header-height) + 58px); }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-content { max-width: 700px; }
    .hero-content h1 { max-width: 680px; }
    .hero-stage { width: min(760px, 100%); margin: 20px auto 0; }
    .stage-frame { aspect-ratio: 1.35; }
    .scroll-cue { display: none; }
    .statement-grid, .process-layout, .story-grid, .audience-grid, .faq-grid, .contact-grid, .service-process { grid-template-columns: 1fr; gap: 50px; }
    .process-title, .story-title, .faq-title, .sticky-title { position: static; }
    .process-title h2 { max-width: 680px; }
    .service-hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 45px; }
    .service-hero-copy { padding: 55px 0 25px; }
    .service-hero-copy h1 { max-width: 800px; }
    .service-hero-media { height: auto; min-height: 0; aspect-ratio: 1.45; border-radius: var(--radius-lg); }
    .case-head { grid-template-columns: 1fr; gap: 30px; }
    .deliverables-head, .offer-title { grid-template-columns: 1fr; gap: 25px; }
    .deliverables-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .shell { width: min(var(--shell), calc(100% - 30px)); }
    .site-header { height: 64px; }
    body.admin-bar .site-header { top: 46px; }
    .nav-wrap { gap: 12px; }
    .brand { font-size: 18px; }
    .theme-toggle { width: 34px; height: 34px; }
    .nav-toggle { width: 34px; height: 34px; }
    .hero-premium { padding: calc(var(--header-height) + 50px) 0 70px; }
    .hero-content h1 { margin: 22px 0 22px; font-size: clamp(43px, 12.2vw, 66px); line-height: .95; }
    .hero-copy { font-size: 14px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-actions .button { min-width: 0; padding-inline: 15px; font-size: 11px; }
    .hero-proof { gap: 14px; margin-top: 30px; }
    .hero-proof span { font-size: 10px; }
    .hero-stage { margin-top: 35px; }
    .stage-frame { aspect-ratio: 1.08; border-radius: 22px; transform: none; }
    .stage-label { top: 12px; left: 12px; padding: 8px 10px; font-size: 9px; }
    .stage-card { right: 10px; bottom: -22px; width: 140px; padding: 14px; }
    .statement-premium, .services-premium, .showcase-premium, .process-premium { padding-block: 92px; }
    .statement-title h2, .section-head h2, .process-title h2 { font-size: clamp(36px, 10.5vw, 52px); }
    .statement-grid { gap: 40px; }
    .statement-copy > p { font-size: 15px; }
    .statement-metrics { gap: 10px; }
    .statement-metrics strong { font-size: 28px; }
    .statement-metrics span { font-size: 9px; }
    .section-head { display: block; margin-bottom: 35px; }
    .section-head > p { margin-top: 24px; font-size: 13px; }
    .services-premium::before { background: linear-gradient(180deg, var(--dark) 0 34%, var(--bg) 34%); }
    .bento-grid, .showcase-grid, .steps, .offer-grid, .deliverables-grid, .stats-grid, .case-notes { grid-template-columns: 1fr; }
    .service-card-wide, .service-card-compact { grid-column: auto; min-height: 300px; }
    .service-card h3 { margin-top: 58px; font-size: 26px; }
    .service-visual { width: 62%; }
    .service-card:nth-child(2) .service-visual, .service-card:nth-child(3) .service-visual { width: 68%; }
    .showcase-card i { aspect-ratio: 1.15; }
    .showcase-card + .showcase-card { margin-top: 24px; }
    .steps article, .steps article:nth-child(even) { min-height: 205px; border-left: 0; padding: 22px 0 30px; }
    .steps h3 { margin-top: 50px; }
    .cta-wrap { padding-bottom: 80px; }
    .cta-visual { display: block; padding: 42px 27px; border-radius: 23px; }
    .cta-copy h2 { font-size: 42px; }
    .cta-button { margin-top: 30px; min-width: 170px; }
    .footer-lead { display: block; padding: 62px 0 45px; }
    .footer-lead p { font-size: 30px; }
    .footer-lead > a { margin-top: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 20px; padding: 52px 0 60px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { display: block; line-height: 1.7; }
    .footer-bottom span { display: block; }
    .footer-bottom span + span { margin-top: 5px; }
    .page-hero, .editorial-hero { padding-top: calc(var(--header-height) + 80px); padding-bottom: 80px; }
    .editorial-hero h1, .page-hero h1 { margin: 22px 0 25px; font-size: clamp(46px, 12vw, 68px); }
    .editorial-hero > p:last-child, .page-intro { font-size: 15px; }
    .service-hero { padding-top: var(--header-height); }
    .service-hero-inner { padding-top: 20px; }
    .service-hero-copy { padding: 38px 0 24px; }
    .service-hero-copy h1 { margin: 20px 0 22px; font-size: clamp(42px, 11.5vw, 58px); }
    .service-hero-copy > p:not(.eyebrow) { font-size: 14px; }
    .service-hero-media { aspect-ratio: 1.05; border-radius: 20px; }
    .service-offer, .service-story, .case-study, .audience-section, .deliverables, .service-process, .faq-section { padding-block: 88px; }
    .offer-title, .deliverables-head { margin-bottom: 48px; }
    .offer-title h2, .story-title h2, .case-head h2, .audience-title h2, .deliverables-head h2, .faq-title h2 { font-size: 36px; }
    .offer-grid article, .offer-grid article:nth-child(even) { min-height: 215px; border-left: 0; padding: 22px 0 28px; }
    .offer-grid h3 { margin-top: 50px; font-size: 22px; }
    .story-copy p:first-child { font-size: 18px; }
    .case-image { aspect-ratio: 1.05; border-radius: 20px; }
    .case-notes > div, .case-notes > div + div { border-left: 0; padding: 22px 0; }
    .audience-list p { font-size: 16px; }
    .deliverables-grid > div { min-height: 210px; }
    .stats-grid div, .stats-grid div:first-child { border-left: 0; border-top: 1px solid #2b2d32; padding: 28px 0; }
    .stats-grid div:first-child { border-top: 0; }
    .process-list article { grid-template-columns: 44px 1fr; }
    .faq-list summary { font-size: 16px; }
    .portfolio-dark, .manifesto { padding-block: 88px; }
    .portfolio-page { grid-template-columns: 1fr; gap: 52px; }
    .portfolio-page .showcase-card:nth-child(even) { margin-top: 0; }
    .portfolio-page h2 { font-size: 27px; }
    .manifesto-big { font-size: 39px; }
    .manifesto-copy { grid-template-columns: 1fr; gap: 0; margin-top: 52px; font-size: 14px; }
    .contact-premium { padding: calc(var(--header-height) + 72px) 0 80px; }
    .contact-premium h1 { font-size: clamp(58px, 16vw, 84px); }
    .contact-form { padding: 25px 20px; border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
