:root {
  color-scheme: dark;
  --bg: #08090d;
  --bg-soft: #10121a;
  --card: #151824;
  --text: #f5f7fa;
  --muted: #a3a8b8;
  --purple: #7c5cff;
  --cyan: #00d4ff;
  --border: rgba(255,255,255,.09);
  --content: min(1180px, calc(100% - 40px));
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 12% 2%, rgba(124,92,255,.15), transparent 28rem), radial-gradient(ellipse at 90% 65%, rgba(0,212,255,.08), transparent 32rem), var(--bg);
  font: 16px/1.65 Inter, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.container { width: var(--content); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 124px) 0; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; line-height: 1.15; letter-spacing: -.045em; margin: 16px 0; }
h1 { font-size: clamp(2.75rem, 6vw, 5.2rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); margin: 0 0 1rem; }
.section-label, .eyebrow {
  display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid var(--border);
  border-radius: 999px; color: var(--cyan); background: rgba(255,255,255,.025);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.gradient-text { background: linear-gradient(110deg, var(--purple), #b596ff 50%, var(--cyan)); color: transparent; background-clip: text; -webkit-background-clip: text; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; font-weight: 600; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s, background-position .4s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(120deg, var(--purple), #9b79ff 45%, #32cfff 85%, var(--purple)); background-size: 220% 220%; background-position: 0 50%; box-shadow: 0 14px 32px rgba(124,92,255,.2); }
.button-primary:hover { background-position: 100% 50%; box-shadow: 0 18px 42px rgba(0,212,255,.24); }
.button-secondary { border-color: var(--border); background: rgba(255,255,255,.025); }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(8,9,13,.63); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: background .2s, border-color .2s; }
.site-header.scrolled { background: rgba(8,9,13,.9); border-color: var(--border); }
.nav { min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 15px; font-size: .9rem; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.brand-mark { display: block; width: 104px; height: 104px; aspect-ratio: 1; flex: 0 0 auto; border: 3px solid rgba(0,212,255,.78); border-radius: 50%; background: var(--bg-soft); object-fit: cover; object-position: center 28%; box-shadow: 0 0 0 5px rgba(0,212,255,.1), 0 0 34px rgba(0,212,255,.25); transition: border-color .25s, box-shadow .25s, transform .25s; }
.brand:hover .brand-mark { transform: scale(1.06); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(0,212,255,.12), 0 0 30px rgba(0,212,255,.34); }
.scroll-progress { position: absolute; z-index: 1; inset: 0 auto auto 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--purple), var(--cyan)); box-shadow: 0 0 12px rgba(0,212,255,.7); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; }
.nav-menu { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); }
.nav-menu > a:not(.button) { color: var(--muted); font-size: .85rem; transition: color .2s; }
.nav-menu > a:hover { color: var(--text); }
.nav-cta { min-height: 42px; padding: 9px 16px; font-size: .8rem; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--text); transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:last-child { transform: translateY(-6px) rotate(-45deg); }
.hero { min-height: 680px; padding-top: clamp(64px, 9vw, 120px); }
.hero-grid, .about-grid, .contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px, 7vw, 88px); }
.hero-copy h1 { max-width: 760px; }
.lead { max-width: 660px; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-meta { display: inline-flex; padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px; font-size: .86rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.visual-shell { position: relative; min-height: 450px; overflow: hidden; border: 1px solid var(--border); border-radius: 32px; background: linear-gradient(155deg, #171a28, #0b0d13); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, #000 30%, transparent 85%); }
.orb { position: absolute; width: 250px; height: 250px; border-radius: 50%; filter: blur(12px); }
.orb-one { top: 8%; right: 3%; background: radial-gradient(circle, rgba(124,92,255,.58), transparent 70%); animation: orb-drift 12s ease-in-out infinite alternate; }
.orb-two { bottom: 3%; left: 0; background: radial-gradient(circle, rgba(0,212,255,.4), transparent 70%); animation: orb-drift 15s ease-in-out -4s infinite alternate-reverse; }
.terminal-card { position: absolute; top: 20%; left: 10%; width: 80%; padding: 0 0 28px; border: 1px solid var(--border); border-radius: 18px; background: rgba(9,11,16,.88); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.terminal-topbar, .window-bar { display: flex; gap: 7px; padding: 13px; border-bottom: 1px solid var(--border); }
.terminal-topbar i, .window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6259; }
.terminal-topbar i:nth-child(2), .window-bar i:nth-child(2) { background: #ffc044; }
.terminal-topbar i:nth-child(3), .window-bar i:nth-child(3) { background: #30c968; }
.terminal-card code { display: block; padding: 22px 18px 0; color: #e0e5f4; font-size: clamp(.65rem, 1vw, .8rem); line-height: 2; }
.terminal-card code span { color: #79baff; }
.floating-stat { position: absolute; min-width: 150px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 14px; background: rgba(9,11,16,.83); backdrop-filter: blur(12px); animation: stat-float 6s ease-in-out infinite; }
.floating-stat strong, .floating-stat span { display: block; }
.floating-stat span { color: var(--muted); font-size: .75rem; }
.stat-1 { right: 8%; bottom: 13%; }.stat-2 { left: 6%; bottom: 6%; animation-delay: -3s; }
.about-visual { padding: 14px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(145deg, #151824, #0a0c12); box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.about-gallery { display: grid; min-height: 390px; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-image-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.about-image-card-featured { grid-row: span 2; }
.about-image-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.about-image-card:hover img { transform: scale(1.04); }
.about-image-caption { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 5px; padding: 30px 15px 15px; background: linear-gradient(transparent, rgba(8,9,13,.88)); }
.about-image-caption span { color: #d1d5df; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-image-caption strong { font: 600 1rem/1.3 Sora, sans-serif; }
.section-heading { max-width: 800px; margin-bottom: 36px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card, .project-card, .faq-item, .contact-form-wrap { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(21,24,36,.78); }
.card { padding: 25px; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, background-color .3s; }
.card:hover { transform: translateY(-7px); border-color: rgba(0,212,255,.35); box-shadow: 0 20px 46px rgba(0,0,0,.24), 0 0 28px rgba(124,92,255,.1); }
.card ul, .project-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.card li, .project-card li { position: relative; padding-left: 15px; color: var(--muted); }
.card li::before, .project-card li::before { position: absolute; top: .7em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); content: ""; }
.approach, .pricing { background: rgba(255,255,255,.015); }
.timeline { display: grid; gap: 14px; }
.timeline article { display: grid; grid-template-columns: 68px 1fr; gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.02); transition: transform .3s, border-color .3s, background-color .3s; }
.timeline article:hover { transform: translateX(6px); border-color: rgba(124,92,255,.42); background: rgba(124,92,255,.06); }
.timeline article > span { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid var(--border); border-radius: 16px; background: rgba(124,92,255,.13); font-weight: 700; }
.timeline h3, .timeline p { margin: 0; }.timeline p { margin-top: 5px; }
.index { color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.project-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; padding: 18px; }
.project-gallery { display: grid; min-width: 0; aspect-ratio: 1.04; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); gap: 10px; padding: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: radial-gradient(ellipse at 18% 18%, rgba(0,212,255,.12), transparent 38%), radial-gradient(ellipse at 88% 82%, rgba(124,92,255,.14), transparent 42%), #0b0d13; }
.portfolio-tile { position: relative; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; color: inherit; background: var(--card); box-shadow: 0 12px 30px rgba(0,0,0,.24); font: inherit; text-align: left; cursor: zoom-in; isolation: isolate; }
.portfolio-tile-one { grid-area: 1 / 1 / 8 / 8; }
.portfolio-tile-two { grid-area: 1 / 8 / 6 / 13; }
.portfolio-tile-three { grid-area: 8 / 1 / 13 / 8; }
.portfolio-tile-four { grid-area: 6 / 8 / 13 / 13; }
.portfolio-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.portfolio-tile::before { position: absolute; z-index: 1; top: -42%; left: 0; width: 100%; height: 38%; background: linear-gradient(180deg, transparent, rgba(0,212,255,.28), rgba(255,255,255,.12), transparent); content: ""; opacity: 0; pointer-events: none; }
.portfolio-tile::after { position: absolute; z-index: 0; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(7,8,13,.83)); content: ""; transition: inset .35s ease; }
.portfolio-tile:hover { border-color: rgba(0,212,255,.72); box-shadow: 0 0 0 1px rgba(0,212,255,.22), 0 20px 45px rgba(0,0,0,.35), 0 0 30px rgba(0,212,255,.12); }
.portfolio-tile:hover img { transform: scale(1.075); filter: saturate(1.08) contrast(1.04); }
.portfolio-tile:hover::before { animation: portfolio-scan 1.05s ease-in-out; opacity: 1; }
.portfolio-tile:focus-visible { z-index: 2; outline: 2px solid #e4d1aa; outline-offset: 3px; }
.portfolio-tile-caption { position: absolute; z-index: 2; right: 12px; bottom: 12px; left: 13px; display: grid; gap: 4px; color: #fff; pointer-events: none; }
.portfolio-tile-caption span { color: rgba(255,255,255,.76); font: 700 .58rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-tile-caption strong { font: 600 .95rem/1.25 Sora, sans-serif; text-wrap: balance; }
.project-card.reveal.visible .portfolio-tile { animation: portfolio-card-enter .8s cubic-bezier(.2,.8,.2,1) both; }
.project-card.reveal.visible .portfolio-tile-two { animation-delay: 110ms; }
.project-card.reveal.visible .portfolio-tile-three { animation-delay: 220ms; }
.project-card.reveal.visible .portfolio-tile-four { animation-delay: 330ms; }
.project-copy { min-width: 0; }
.portfolio-lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; overflow: auto; border: 0; color: var(--text); background: transparent; }
.portfolio-lightbox::backdrop { background: rgba(4,5,9,.9); backdrop-filter: blur(16px) saturate(.8); }
.portfolio-lightbox[open] { animation: lightbox-appear .35s cubic-bezier(.2,.8,.2,1) both; }
.lightbox-shell { display: grid; width: min(1520px, 100%); min-height: 100%; grid-template-rows: auto 1fr auto; margin-inline: auto; padding: 22px clamp(18px, 4vw, 64px) 18px; }
.lightbox-header, .lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lightbox-brand { display: flex; align-items: center; gap: 10px; margin: 0; color: rgba(245,247,250,.72); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.lightbox-brand > span { width: 7px; height: 7px; border-radius: 50%; background: #e4d1aa; box-shadow: 0 0 16px rgba(228,209,170,.8); }
.lightbox-brand i, .lightbox-signature i { color: #e4d1aa; font-style: normal; }
.lightbox-close, .lightbox-arrow { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--text); background: rgba(255,255,255,.045); transition: border-color .25s, color .25s, background-color .25s, transform .25s; }
.lightbox-close:hover, .lightbox-arrow:hover { transform: scale(1.06); border-color: #e4d1aa; color: #e4d1aa; background: rgba(228,209,170,.08); }
.lightbox-close span { font-size: 1.8rem; line-height: 1; }
.lightbox-content { display: grid; width: 100%; max-width: 1370px; grid-template-columns: 48px minmax(0, 1.3fr) minmax(280px, .7fr) 48px; align-items: center; gap: clamp(12px, 2vw, 28px); margin: auto; padding: 24px 0; }
.lightbox-arrow { width: 44px; height: 44px; font-size: 1.2rem; }
.lightbox-visual { position: relative; display: grid; min-width: 0; height: auto; max-height: 72vh; min-height: 0; aspect-ratio: 16 / 9; place-items: center; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.07), transparent 68%), #07080b; box-shadow: 0 30px 100px rgba(0,0,0,.42); }
.lightbox-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox-image-mark { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 2px; color: rgba(255,255,255,.86); background: rgba(6,7,10,.68); backdrop-filter: blur(8px); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lightbox-image-mark i { color: #e4d1aa; font-style: normal; }
.lightbox-story { display: grid; gap: 16px; padding: 10px 0 10px clamp(20px, 3vw, 42px); border-left: 1px solid rgba(228,209,170,.3); }
.lightbox-counter { display: flex; align-items: center; gap: 9px; margin: 0; color: rgba(255,255,255,.42); font: 700 .75rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.lightbox-counter span:first-child { color: #e4d1aa; font-size: 1.05rem; }
.lightbox-category { margin: 0; color: #e4d1aa; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lightbox-story h2 { margin: 0; color: #f5f0e5; font: 400 2.35rem/1.12 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.lightbox-description { margin: 0; color: rgba(245,247,250,.72); font-size: 1rem; line-height: 1.8; }
.lightbox-progress { height: 2px; margin-top: 8px; overflow: hidden; background: rgba(255,255,255,.16); }
.lightbox-progress span { display: block; width: 100%; height: 100%; background: #e4d1aa; transform: scaleX(.25); transform-origin: left center; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.lightbox-signature { margin: 0; color: rgba(255,255,255,.46); font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lightbox-footer { width: 100%; max-width: 1370px; margin: 0 auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .7rem; letter-spacing: .08em; }
.lightbox-footer kbd { display: inline-grid; min-width: 22px; height: 22px; place-items: center; margin-right: 4px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; color: rgba(255,255,255,.76); font: inherit; }
.project-tag, .badge { display: inline-block; padding: 7px 11px; border: 1px solid rgba(124,92,255,.3); border-radius: 999px; color: #d7cdff; background: rgba(124,92,255,.12); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.featured { border-color: rgba(124,92,255,.5); background: linear-gradient(160deg, rgba(124,92,255,.1), var(--card)); }
.badge { margin-bottom: 12px; }.price { color: var(--text); font: 700 1.7rem Sora, sans-serif; }
.price-card { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; cursor: pointer; }
.price-card ul { width: 100%; margin-bottom: 24px; }
.price-card:hover, .card.reveal.visible.price-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.85); box-shadow: 0 18px 48px rgba(0,0,0,.3), 0 0 30px rgba(124,58,237,.2); }
.price-card.selected { border-color: #8b5cf6; background: linear-gradient(155deg, rgba(124,58,237,.2), rgba(21,24,36,.94) 62%); box-shadow: 0 0 0 1px rgba(139,92,246,.35), 0 18px 50px rgba(76,29,149,.24); }
.price-card.is-choosing { animation: plan-select-pulse .65s cubic-bezier(.2,.8,.2,1); }
.plan-select { width: 100%; justify-content: center; margin-top: auto; }
.plan-select:focus-visible, .change-plan:focus-visible, .price-card:focus-visible { outline: 2px solid #a78bfa; outline-offset: 4px; }
.plan-selected-status { margin: 0 0 12px; color: #c4b5fd; font-size: .82rem; font-weight: 700; }
.selected-plan-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 16px; padding: 14px 16px; border: 1px solid rgba(139,92,246,.5); border-radius: 12px; background: rgba(124,58,237,.1); }
.selected-plan-summary > span { color: var(--muted); font-size: .75rem; }
.selected-plan-summary strong { grid-column: 1; overflow-wrap: anywhere; }
.change-plan { grid-column: 2; grid-row: 1 / span 2; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.04); font: inherit; cursor: pointer; }
.change-plan:hover { border-color: #8b5cf6; background: rgba(124,58,237,.14); }
.form-note.is-success { color: #86efac; }
.form-note.is-error { color: #fca5a5; }
.button:disabled { cursor: wait; opacity: .68; }
.addons { margin-top: 22px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.addons p:last-child { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; padding: 0 20px; transition: border-color .3s, background-color .3s, transform .3s; }
.faq-item:hover { transform: translateY(-2px); border-color: rgba(0,212,255,.28); }
.faq-item h3 { margin: 0; }
.faq-item button { display: flex; width: 100%; justify-content: space-between; gap: 20px; padding: 20px 0; border: 0; color: var(--text); background: transparent; text-align: left; font-weight: 600; }
.faq-item button::after { content: "+"; color: var(--cyan); font-size: 1.4rem; }
.faq-item button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer p { overflow: hidden; margin: 0; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding-bottom: 18px; }
.contact-grid { align-items: start; }
.contact-list, .footer-links { display: grid; gap: 10px; margin-top: 22px; }
.contact-list a, .contact-list span, .footer-links a, .footer-links span { color: var(--muted); overflow-wrap: anywhere; }
.contact-list a:hover, .footer-links a:hover { color: var(--cyan); }
.not-configured { opacity: .65; cursor: not-allowed; }
.contact-form-wrap { padding: 24px; }
#project-form { display: grid; gap: 15px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .checkbox-wrap label { font-size: .87rem; font-weight: 500; }
input, textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); background: rgba(255,255,255,.025); }
textarea { resize: vertical; }
.has-error input, .has-error textarea { border-color: #ff7777; }
.error-message { min-height: 1.1em; color: #ff9696; font-size: .75rem; }
.checkbox-wrap { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-wrap input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--purple); }
.checkbox-wrap label { color: var(--muted); }
.form-note { margin: 0; font-size: .82rem; }
.site-footer { padding: 44px 0 20px; border-top: 1px solid var(--border); background: rgba(8,9,13,.8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-bottom: 28px; }
.footer-grid p { margin-top: 12px; }
.footer-links { align-content: start; margin: 0; }
.footer-links h2 { margin: 0 0 4px; color: var(--muted); font: 700 .75rem Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.reveal { opacity: 0; filter: blur(8px); transform: translate3d(0, 28px, 0) scale(.985); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1), filter .75s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.visible { opacity: 1; filter: none; transform: none; }
.button.reveal.visible:hover { transform: translateY(-2px); }
.card.reveal.visible:hover { transform: translateY(-7px); }
.card.reveal.visible.price-card:hover { transform: translateY(-4px); }
.timeline article.reveal.visible:hover { transform: translateX(6px); }
.faq-item.reveal.visible:hover { transform: translateY(-2px); }
@keyframes orb-drift { from { transform: translate3d(-12px, -8px, 0) scale(.94); } to { transform: translate3d(18px, 14px, 0) scale(1.08); } }
@keyframes stat-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes portfolio-scan { from { transform: translateY(0); } to { transform: translateY(390%); } }
@keyframes portfolio-card-enter { 0% { opacity: 0; transform: translate3d(0, 22px, 0) scale(.96); clip-path: inset(8% 10% 12% round 18px); } 72% { opacity: 1; transform: translate3d(0, -3px, 0) scale(1.01); clip-path: inset(0 round 15px); } 100% { opacity: 1; transform: none; clip-path: inset(0 round 15px); } }
@keyframes lightbox-appear { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes plan-select-pulse { 0% { transform: scale(.985); box-shadow: 0 0 0 0 rgba(139,92,246,.45); } 65% { transform: scale(1.012); box-shadow: 0 0 0 8px rgba(139,92,246,0); } 100% { transform: scale(1); } }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: calc(100% + 8px); right: 20px; left: 20px; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: rgba(12,14,20,.98); box-shadow: 0 20px 55px rgba(0,0,0,.4); }
  .nav-menu.is-open { display: flex; }
  .nav-menu > a:not(.button) { padding: 8px; }
  .nav-cta { margin-top: 6px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-shell { padding-inline: 22px; }
  .lightbox-content { grid-template-columns: 42px minmax(0, 1fr) 42px; grid-template-areas: "previous visual next" "story story story"; gap: 14px; }
  .lightbox-previous { grid-area: previous; }
  .lightbox-visual { grid-area: visual; width: 100%; height: auto; max-height: 62vh; aspect-ratio: 16 / 9; }
  .lightbox-story { width: min(660px, 100%); grid-area: story; grid-template-columns: minmax(0, 1fr); margin: 0 auto; padding: 18px 0 0; border-top: 1px solid rgba(228,209,170,.3); border-left: 0; }
  .lightbox-next { grid-area: next; }
}
@media (max-width: 700px) {
  :root { --content: min(100% - 32px, 560px); }
  .nav { min-height: 92px; }
  .brand-mark { width: 76px; height: 76px; }
  .section { padding: 72px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-gallery { aspect-ratio: 1.08; gap: 7px; padding: 7px; border-radius: 18px; }
  .portfolio-tile { border-radius: 11px; }
  .portfolio-tile-caption { right: 7px; bottom: 8px; left: 8px; gap: 3px; }
  .portfolio-tile-caption span { font-size: .5rem; letter-spacing: .08em; }
  .portfolio-tile-caption strong { font-size: .68rem; }
  .lightbox-shell { padding: 14px; }
  .lightbox-brand { gap: 7px; font-size: .6rem; letter-spacing: .1em; }
  .lightbox-close { width: 42px; height: 42px; }
  .lightbox-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "visual visual" "previous next" "story story"; gap: 10px 12px; padding: 12px 0; }
  .lightbox-visual { max-height: 48vh; border-radius: 8px; }
  .lightbox-arrow { width: 38px; height: 38px; }
  .lightbox-story { gap: 10px; padding-top: 14px; }
  .lightbox-story h2 { font-size: 1.75rem; }
  .lightbox-description { font-size: .9rem; line-height: 1.65; }
  .lightbox-footer { gap: 8px; font-size: .58rem; letter-spacing: 0; }
  .lightbox-footer kbd { min-width: 19px; height: 20px; }
  .lightbox-previous { justify-self: start; }
  .lightbox-next { justify-self: end; }
  .field-grid { grid-template-columns: 1fr; gap: 12px; }
  .timeline article { grid-template-columns: 1fr; gap: 12px; }
  .visual-shell { min-height: 370px; }
  .terminal-card { top: 16%; }
  .floating-stat { min-width: 130px; }
  .about-gallery { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 165px; }
  .about-image-card-featured { grid-row: auto; grid-column: 1 / -1; }
  .about-image-caption { padding: 26px 11px 11px; }
  .about-image-caption strong { font-size: .88rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal { opacity: 1; filter: none; transform: none; }
}
