:root {
  --bg: #0b1117;
  --bg-soft: #0f171e;
  --bg-elevated: #131d25;
  --line: rgba(203, 232, 226, 0.12);
  --line-strong: rgba(203, 232, 226, 0.22);
  --text: #eef7f4;
  --muted: #9bb0ad;
  --muted-2: #6f8584;
  --lime: #9aff3d;
  --green: #44e58e;
  --teal: #16d6d0;
  --accent-gradient: linear-gradient(120deg, var(--lime), var(--green) 46%, var(--teal));
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --shell: min(1180px, calc(100% - 40px));
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
::selection { color: #07100d; background: var(--green); }

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .09;
  pointer-events: none;
}
.ambient-one { background: var(--lime); top: -280px; right: -120px; }
.ambient-two { background: var(--teal); bottom: -340px; left: -160px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: linear-gradient(to bottom, rgba(11, 17, 23, .94), rgba(11, 17, 23, .72));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 44px; height: 44px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-copy strong { font-size: .94rem; letter-spacing: .01em; }
.brand-copy span { margin-top: 3px; color: var(--muted-2); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 30px; color: #b9c9c6; font-size: .91rem; }
.primary-nav > a:not(.nav-contact) { position: relative; transition: color .2s ease; }
.primary-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--green); transition: right .25s ease; }
.primary-nav > a:hover { color: white; }
.primary-nav > a:hover::after { right: 0; }
.nav-contact {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.nav-contact:hover { background: rgba(255,255,255,.04); border-color: rgba(68,229,142,.55); }
.nav-toggle { display: none; }

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
  padding-top: clamp(70px, 9vh, 110px);
  padding-bottom: clamp(85px, 11vh, 130px);
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b9cfca;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(68,229,142,.8); }
.hero h1 {
  max-width: 760px;
  margin: 20px 0 24px;
  font-size: clamp(3.25rem, 7.4vw, 6.85rem);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 690;
}
.gradient-text {
  color: transparent;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead { max-width: 710px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 680;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #08120e; background: var(--accent-gradient); box-shadow: 0 12px 40px rgba(68,229,142,.12); }
.button-primary:hover { box-shadow: 0 16px 46px rgba(68,229,142,.22); }
.button-quiet { color: #d7e5e1; background: rgba(255,255,255,.025); border-color: var(--line); }
.button-quiet:hover { border-color: rgba(68,229,142,.4); background: rgba(255,255,255,.04); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.hero-proof span { padding: 7px 10px; color: #839996; border: 1px solid var(--line); border-radius: 999px; font-size: .71rem; letter-spacing: .04em; }

.hero-visual { position: relative; perspective: 1200px; }
.signal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20,32,39,.96), rgba(10,16,21,.97));
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.signal-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 88% 8%, rgba(154,255,61,.18), transparent 24%), radial-gradient(circle at 10% 100%, rgba(22,214,208,.14), transparent 27%);
}
.signal-topbar, .browser-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font: 600 .68rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #405058; }
.window-dots i:nth-child(2) { background: #526a6a; }
.window-dots i:nth-child(3) { background: #608c75; }
.status-pill { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: #a8bbb7; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(68,229,142,.9); }
.signal-content { position: relative; z-index: 1; padding: 34px 32px 28px; }
.signal-index { color: #66807a; font: 650 .67rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .13em; }
.signal-headline { margin: 20px 0 34px; font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.22; letter-spacing: -.035em; font-weight: 560; }
.signal-headline em { color: var(--green); font-style: normal; }
.code-panel { padding: 19px 20px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: rgba(3,9,12,.56); color: #a7b8b5; font: 500 .78rem/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; box-shadow: inset 0 1px rgba(255,255,255,.02); }
.code-key { color: #78d9c4; }.code-string { color: #b7e887; }.code-value { color: #49ddd2; }.code-punc { color: #647d78; }
.signal-footer { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.signal-footer span { padding: 16px 8px; text-align: center; color: #607671; font: 650 .62rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .07em; border-right: 1px solid var(--line); }
.signal-footer span:last-child { border-right: 0; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 32px; padding: 16px 0; animation: marquee 26s linear infinite; color: #718885; font-size: .68rem; font-weight: 680; letter-spacing: .15em; }
.marquee-track b { color: var(--green); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-top: 120px; padding-bottom: 120px; }
.section-dim { background: #0d151b; border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.035); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; margin-bottom: 52px; }
.section-heading h2 { max-width: 720px; margin: 14px 0 0; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 640; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.8; }
.kicker { color: var(--green); }

.project-feature { display: grid; grid-template-columns: .83fr 1.17fr; min-height: 660px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 30px; background: linear-gradient(135deg, #131d24, #0f171d 55%, #10191f); box-shadow: 0 30px 110px rgba(0,0,0,.18); }
.project-copy { padding: clamp(32px, 5vw, 58px); display: flex; flex-direction: column; align-items: flex-start; }
.project-meta { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.project-number { color: #586f6b; font: 650 .68rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: #b9c9c5; border: 1px solid var(--line); border-radius: 999px; font-size: .69rem; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(68,229,142,.8); }
.tiny-brand { width: min(250px, 74%); min-height: 48px; display: flex; align-items: center; margin-bottom: 28px; }
.tiny-brand img { max-height: 58px; width: auto; object-fit: contain; object-position: left center; }
.project-copy h3 { margin: 0 0 20px; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.04; letter-spacing: -.05em; }
.project-copy > p { margin: 0; color: var(--muted); line-height: 1.8; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.project-tags span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: #88a09c; font-size: .69rem; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: auto; padding-top: 28px; color: white; font-weight: 700; }
.text-link span { color: var(--green); transition: transform .2s ease; }.text-link:hover span { transform: translate(3px,-3px); }

.project-preview { position: relative; min-height: 600px; padding: clamp(24px, 4vw, 52px); display: flex; align-items: center; background: radial-gradient(circle at 52% 44%, rgba(68,229,142,.12), transparent 48%), linear-gradient(150deg, rgba(255,255,255,.015), rgba(255,255,255,0)); perspective: 1400px; }
.browser-frame { width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: #f6f0e5; box-shadow: 0 40px 90px rgba(0,0,0,.34); transform: rotateY(-4deg) rotateX(2deg); transform-style: preserve-3d; }
.browser-bar { min-height: 46px; padding: 0 14px; background: #111a20; }
.browser-url { min-width: 240px; padding: 7px 18px; text-align: center; border-radius: 9px; background: #0a1116; color: #839895; }
.browser-open { justify-self: end; color: #718783; }
.lock { color: #61db94; font-size: .55rem; }
.tiny-preview { min-height: 475px; padding: 30px; color: #1a2931; background: linear-gradient(160deg, #fffaf0, #f7f1e7); font-family: "Segoe UI Variable", "Segoe UI", sans-serif; }
.tiny-preview-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.tiny-mark { display: flex; align-items: center; gap: 9px; font-size: 1.08rem; }
.moon { width: 28px; height: 28px; border: 6px solid #21313b; border-left-color: transparent; border-radius: 50%; transform: rotate(-25deg); }
.tiny-sync { padding: 6px 9px; border-radius: 999px; background: #eaf4ed; color: #4d7b5b; font-size: .67rem; }
.tiny-date { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.tiny-date span { color: #73828a; font-size: .71rem; }.tiny-date strong { font-size: .82rem; }
.tiny-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.tiny-stats div { padding: 13px; border: 1px solid #eadfce; border-radius: 12px; background: rgba(255,255,255,.7); }
.tiny-stats span, .tiny-stats small { display: block; color: #7c888d; font-size: .64rem; }.tiny-stats strong { display: block; margin: 4px 0 1px; font-size: 1.3rem; }.tiny-stats small { color: #9aa5a8; }
.tiny-timeline { border: 1px solid #eadfce; border-radius: 13px; background: rgba(255,255,255,.72); overflow: hidden; }
.timeline-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 11px; align-items: center; padding: 12px 13px; border-bottom: 1px solid #eee5d7; }
.timeline-row:last-child { border-bottom: 0; }.timeline-row i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-style: normal; }.feed-icon { color: #8b6c26; background: #fbefcc; }.nappy-icon { color: #4b7380; background: #e5f1f3; }.sleep-icon { color: #6f668c; background: #ece8f7; }
.timeline-row div { display: flex; flex-direction: column; }.timeline-row strong { font-size: .73rem; }.timeline-row span, .timeline-row time { color: #849096; font-size: .62rem; }.timeline-row time { font-variant-numeric: tabular-nums; }
.tiny-privacy { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 13px; border-radius: 12px; background: #1f3038; color: #f7faf9; }.tiny-privacy > span { color: #e1bd62; }.tiny-privacy div { display: flex; flex-direction: column; }.tiny-privacy strong { font-size: .72rem; }.tiny-privacy small { color: #a9b8b8; font-size: .62rem; }

.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.expertise-card { position: relative; min-height: 330px; display: flex; flex-direction: column; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.018); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.expertise-card:hover { transform: translateY(-5px); border-color: rgba(68,229,142,.28); background: rgba(255,255,255,.028); }
.card-index { position: absolute; top: 28px; right: 30px; color: #4e6661; font: 650 .67rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.expertise-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 60px; border: 1px solid var(--line-strong); border-radius: 13px; color: var(--green); background: rgba(68,229,142,.045); font: 700 .8rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.expertise-card h3 { margin: 0 0 10px; font-size: 1.45rem; letter-spacing: -.025em; }
.expertise-card p { max-width: 490px; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.tech-line { margin-top: auto; padding-top: 26px; color: #69817c; font-size: .71rem; letter-spacing: .035em; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 140px); align-items: start; }
.about-statement { position: sticky; top: 110px; }
.about-statement h2 { margin: 15px 0 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.06em; }
.about-copy { padding-top: 8px; }.about-copy p { color: var(--muted); line-height: 1.9; }.about-copy .about-lead { margin-top: 0; color: #dce9e5; font-size: 1.2rem; line-height: 1.75; }
.principles { margin-top: 44px; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.principles span { color: var(--green); font: 650 .68rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.principles strong { font-size: .96rem; font-weight: 570; line-height: 1.55; }

.contact-section { padding: 120px 0; background: linear-gradient(180deg, #0d151b, #0c1419); border-top: 1px solid rgba(255,255,255,.04); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 120px); align-items: start; }
.contact-copy h2 { margin: 14px 0 22px; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.06em; }
.contact-copy > p { max-width: 580px; margin: 0; color: var(--muted); line-height: 1.8; }
.contact-meta { display: grid; gap: 8px; margin-top: 34px; color: #6f8782; font-size: .76rem; }.contact-meta span::before { content: "—"; margin-right: 8px; color: var(--green); }
.contact-form { position: relative; padding: 32px; border: 1px solid var(--line-strong); border-radius: 24px; background: rgba(255,255,255,.02); }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }.form-row label { color: #a7bbb7; font-size: .76rem; font-weight: 650; letter-spacing: .03em; }
.form-row input, .form-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #0a1116; color: white; padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-row textarea { resize: vertical; min-height: 135px; }.form-row input::placeholder, .form-row textarea::placeholder { color: #50635f; }
.form-row input:focus, .form-row textarea:focus { border-color: rgba(68,229,142,.55); box-shadow: 0 0 0 3px rgba(68,229,142,.07); }
.form-row input.invalid, .form-row textarea.invalid { border-color: #df806f; }
.form-submit { width: 100%; border: 0; }.form-note { margin: 12px 0 0; color: #5e746f; text-align: center; font-size: .69rem; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }

.site-footer { padding: 44px 0 26px; border-top: 1px solid var(--line); background: #091015; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }.footer-brand img { width: 46px; height: 46px; }.footer-brand div { display: flex; flex-direction: column; line-height: 1.25; }.footer-brand strong { font-size: .87rem; }.footer-brand span { margin-top: 2px; color: #60746f; font-size: .68rem; }
.footer-grid p { margin: 0; color: #5f746f; font-size: .74rem; }.footer-grid > a { color: #9cb1ad; font-size: .75rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.045); color: #445953; font-size: .67rem; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translate(-50%, 130px); max-width: min(560px, calc(100% - 30px)); padding: 13px 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: #142027; color: #dce8e5; box-shadow: 0 16px 50px rgba(0,0,0,.35); font-size: .83rem; opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }.toast.success { border-color: rgba(68,229,142,.35); }.toast.error { border-color: rgba(223,128,111,.35); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    background: rgba(13, 20, 24, 0.9);
    color: #ffffff;

    font: inherit;
    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: rgba(152, 255, 58, 0.5);
    background: rgba(20, 32, 28, 0.96);
}

.back-to-top:focus-visible {
    outline: 2px solid #98ff3a;
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;

        width: 44px;
        height: 44px;

        border-radius: 12px;
    }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 820px; }
  .hero-visual { max-width: 720px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .project-feature { grid-template-columns: 1fr; }
  .project-copy { min-height: 520px; }
  .project-preview { min-height: 620px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: 820px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { padding: 9px 0; }
  .nav-toggle { position: relative; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; gap: 0; border: 1px solid var(--line); border-radius: 11px; background: #0d151b; color: white; cursor: pointer; }
  .nav-toggle span { position: absolute; width: 17px; height: 1px; background: #cedbd8; transition: transform .2s ease, top .2s ease; }.nav-toggle span:first-child { top: 17px; }.nav-toggle span:last-child { top: 23px; }
  .nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
  .primary-nav { position: fixed; top: 66px; left: 14px; right: 14px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(12,20,26,.98); box-shadow: var(--shadow); transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; transition: .2s ease; }
  .primary-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav > a { padding: 13px 12px; }.primary-nav > a:not(.nav-contact)::after { display: none; }.nav-contact { margin-top: 4px; }
  .hero { gap: 48px; padding-top: 70px; padding-bottom: 82px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .signal-content { padding: 28px 22px 24px; }
  .signal-footer { grid-template-columns: repeat(2,1fr); }.signal-footer span:nth-child(2) { border-right: 0; }.signal-footer span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section, .contact-section { padding-top: 84px; padding-bottom: 84px; }
  .section-heading { margin-bottom: 36px; }
  .project-copy { min-height: 0; padding: 28px 22px; }.project-preview { min-height: 500px; padding: 22px 14px 30px; }.browser-frame { transform: none; }.browser-url { min-width: 0; width: 58%; padding-inline: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tiny-preview { min-height: 420px; padding: 19px; }.tiny-stats { gap: 6px; }.tiny-stats div { padding: 10px 8px; }.tiny-date { align-items: start; flex-direction: column; gap: 2px; }
  .expertise-grid { grid-template-columns: 1fr; }.expertise-card { min-height: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }.about-statement { position: static; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand-copy span { display: none; }
  .signal-topbar { grid-template-columns: 1fr auto; }.signal-topbar > span:nth-child(2) { display: none; }
  .project-preview { min-height: 455px; }.tiny-preview { padding: 14px; min-height: 380px; }.tiny-preview-header { margin-bottom: 18px; }.tiny-stats strong { font-size: 1.05rem; }.tiny-stats span, .tiny-stats small { font-size: .56rem; }.timeline-row { grid-template-columns: 28px 1fr auto; gap: 8px; padding: 9px; }.timeline-row i { width: 27px; height: 27px; }
}

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