:root {
  --ink: #0a1722;
  --muted: #5c6973;
  --paper: #f4f1ea;
  --card: #fffdf8;
  --line: rgba(10, 23, 34, 0.12);
  --teal: #19c3a3;
  --teal-dark: #0a8a77;
  --navy: #07131e;
  --purple: #7c5cff;
  --orange: #ff8d5c;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(7, 19, 30, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 18px; background: white; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 11px 18px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  background: rgba(250, 248, 243, .84);
  box-shadow: 0 12px 36px rgba(7,19,30,.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: white; background: var(--navy); font-size: 12px; letter-spacing: .03em; }
.brand-name { font-size: 14px; }
.site-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 650; }
.site-nav > a:not(.nav-cta) { color: #43505a; transition: color .2s; }
.site-nav > a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: 10px 15px; border-radius: 11px; color: white; background: var(--navy); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: var(--navy); border-radius: 11px; }
.menu-button span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 5px auto; background: white; }

.section { position: relative; width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 780px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; padding: 150px 0 80px; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.glow-one { width: 520px; height: 520px; right: -240px; top: -120px; background: radial-gradient(circle, rgba(25,195,163,.18), rgba(25,195,163,0) 68%); }
.glow-two { width: 360px; height: 360px; left: -250px; bottom: 10px; background: radial-gradient(circle, rgba(124,92,255,.13), rgba(124,92,255,0) 70%); }
.hero-copy, .hero-panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 23px; display: flex; align-items: center; gap: 10px; color: #31404b; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(48px, 6vw, 78px); line-height: .99; letter-spacing: -.066em; font-weight: 770; }
h1 em { display: block; color: var(--teal-dark); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lede { max-width: 650px; margin-bottom: 31px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-size: 13px; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); box-shadow: 0 12px 25px rgba(7,19,30,.16); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.48); }
.skill-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.skill-row li, .tag-list span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 100px; color: #52606a; background: rgba(255,255,255,.45); font-size: 11px; font-weight: 650; }

.hero-panel { padding: 24px; border: 1px solid rgba(255,255,255,.72); border-radius: 28px; background: rgba(255,255,255,.56); box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: rotate(1.5deg); }
.portrait-panel { position: relative; padding: 17px 17px 21px; overflow: visible; transform: none; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 4.9; border-radius: 22px; background: #cde4ea; isolation: isolate; animation: portrait-float 7s ease-in-out infinite; }
.portrait-frame img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 23%; transform: scale(1.015); animation: portrait-breathe 9s ease-in-out infinite; }
.portrait-frame::after { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.5); border-radius: inherit; box-shadow: inset 0 -80px 90px rgba(7,19,30,.1); pointer-events: none; }
.portrait-orbit { position: absolute; z-index: 3; width: 220px; height: 220px; right: -90px; top: -95px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; box-shadow: 0 0 0 35px rgba(25,195,163,.08), 0 0 0 70px rgba(124,92,255,.055); animation: orbit-drift 8s ease-in-out infinite alternate; }
.portrait-sheen { position: absolute; z-index: 2; inset: -30% auto -30% -65%; width: 35%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); transform: rotate(12deg); animation: portrait-sheen 8s ease-in-out infinite; pointer-events: none; }
.photo-badge { position: absolute; z-index: 4; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.72); color: #33434c; background: rgba(255,255,255,.87); box-shadow: 0 14px 28px rgba(7,19,30,.13); backdrop-filter: blur(14px); }
.badge-top { top: 45px; right: -27px; gap: 8px; padding: 11px 14px; border-radius: 100px; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; animation: badge-float 5s ease-in-out infinite; }
.badge-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(25,195,163,.14); }
.badge-bottom { left: -31px; bottom: 92px; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 145px; padding: 14px 16px; border-radius: 15px; animation: badge-float 5.8s ease-in-out infinite reverse; }
.badge-bottom strong { color: var(--ink); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.badge-bottom span { color: #66737c; font-size: 8px; }
.portrait-caption { padding: 18px 8px 2px; text-align: center; }
.portrait-caption p { margin-bottom: 5px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.portrait-caption span { color: var(--muted); font-size: 9px; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }
@keyframes portrait-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes portrait-breathe { 0%, 100% { transform: scale(1.015); } 50% { transform: scale(1.045); } }
@keyframes orbit-drift { from { transform: translate3d(0,0,0) rotate(0deg); } to { transform: translate3d(-18px,16px,0) rotate(16deg); } }
@keyframes badge-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes portrait-sheen { 0%, 62% { transform: translateX(0) rotate(12deg); opacity: 0; } 70% { opacity: 1; } 86%, 100% { transform: translateX(500%) rotate(12deg); opacity: 0; } }
.panel-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; color: #69757d; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.status { display: flex; align-items: center; gap: 7px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(25,195,163,.13); }
.system-card { display: flex; align-items: center; gap: 17px; padding: 21px; margin-bottom: 15px; border-radius: 18px; color: white; background: var(--navy); box-shadow: 0 14px 30px rgba(7,19,30,.18); }
.system-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 14px; color: var(--teal); background: rgba(255,255,255,.08); }
.system-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.system-card p { margin-bottom: 5px; font-size: 15px; font-weight: 750; }
.system-card span { color: #9facb5; font-size: 10px; line-height: 1.5; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.experience-grid > div { display: flex; flex-direction: column; gap: 7px; min-height: 124px; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.56); }
.experience-grid strong { font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.experience-grid span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.mini-flow { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 14px; padding: 13px 14px; border-radius: 14px; color: #4d5a64; background: rgba(25,195,163,.09); font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.mini-flow i { color: var(--teal-dark); font-style: normal; }

.work { padding: 110px 0 120px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .contact h2 { margin: 0; font-size: clamp(37px, 5vw, 62px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.filters { display: flex; gap: 8px; margin-bottom: 22px; }
.filter { padding: 10px 14px; border: 1px solid var(--line); border-radius: 100px; color: #5f6a72; background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; }
.filter.is-active { color: white; border-color: var(--navy); background: var(--navy); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card { grid-column: span 6; overflow: hidden; border: 1px solid rgba(10,23,34,.1); border-radius: var(--radius); background: var(--card); box-shadow: 0 10px 35px rgba(7,19,30,.05); cursor: pointer; transition: transform .3s, box-shadow .3s, opacity .25s; }
.project-card:nth-child(3) { grid-column: 4 / span 6; }
.project-card:hover, .project-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); outline: none; }
.project-card.is-hidden { display: none; }
.project-visual { position: relative; height: 300px; overflow: hidden; }
.project-body { padding: 25px 27px 29px; }
.project-meta { display: flex; justify-content: space-between; margin-bottom: 24px; color: #7a858d; font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.project-body h3 { margin-bottom: 12px; font-size: 24px; letter-spacing: -.035em; }
.project-body > p { min-height: 70px; margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.text-link span { color: var(--teal-dark); }

.visual-email { padding: 28px; background: linear-gradient(145deg, #d8f0ec, #f2eafa 82%); }
.visual-email::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: rgba(124,92,255,.17); }
.visual-bar { position: relative; display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-radius: 13px 13px 0 0; background: rgba(255,255,255,.82); }
.visual-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #c1c9cd; }
.visual-bar b { margin-left: 9px; color: #627079; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.email-layout { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 165px; padding: 17px; border-radius: 0 0 13px 13px; background: rgba(255,255,255,.66); box-shadow: 0 20px 40px rgba(20,50,61,.1); }
.email-list { padding-right: 16px; border-right: 1px solid rgba(10,23,34,.09); }
.email-line { display: block; width: 100%; height: 35px; margin-bottom: 8px; border-radius: 8px; background: rgba(7,19,30,.06); }
.email-line.active { background: white; box-shadow: 0 8px 18px rgba(7,19,30,.08); }
.email-line.short { width: 72%; }
.priority-panel { display: flex; flex-direction: column; justify-content: center; padding-left: 18px; }
.priority-panel small { margin-bottom: 10px; color: #859198; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.priority-panel strong { width: fit-content; padding: 7px 10px; margin-bottom: 7px; border-radius: 8px; color: #922f38; background: #ffe1e2; font-size: 12px; }
.priority-panel span { color: #68757e; font-size: 9px; }
.human-check { position: absolute; right: 19px; bottom: 19px; padding: 8px 11px; border-radius: 100px; color: #32564e; background: white; box-shadow: 0 8px 20px rgba(7,19,30,.1); font-size: 8px; font-weight: 750; }
.human-check i { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 5px; border-radius: 50%; color: white; background: var(--teal-dark); font-style: normal; }

.visual-proof { isolation: isolate; background: linear-gradient(145deg, #0b1d29, #143344 62%, #1f4a51); }
.visual-proof-chat { background: linear-gradient(145deg, #191f32, #29354c 62%, #6d4eb4); }
.visual-proof-chat .proof-phone img { object-position: center top; }
.visual-proof::before { content: ""; position: absolute; z-index: -1; width: 330px; height: 330px; right: -120px; top: -160px; border-radius: 50%; border: 1px solid rgba(67,220,188,.25); box-shadow: 0 0 0 55px rgba(25,195,163,.035), 0 0 0 110px rgba(25,195,163,.025); }
.proof-window { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; background: #f7f8fa; box-shadow: 0 20px 40px rgba(2,9,14,.36); }
.proof-window-bar { display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; color: #65727a; background: #eef1f3; font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.proof-window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #b9c2c7; }
.proof-window-bar b { margin-left: 5px; font: inherit; }
.proof-window img { display: block; width: 100%; height: calc(100% - 24px); object-fit: cover; object-position: top left; }
.proof-primary { left: 24px; top: 25px; width: 70%; height: 205px; transform: rotate(-1deg); }
.proof-secondary { right: 21px; bottom: 23px; z-index: 2; width: 58%; height: 104px; transform: rotate(1.2deg); }
.proof-label { position: absolute; z-index: 3; left: 24px; bottom: 20px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; color: #d8e5e8; background: rgba(5,17,25,.78); box-shadow: 0 8px 20px rgba(3,11,17,.22); backdrop-filter: blur(8px); font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.proof-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(25,195,163,.14); }

.visual-chat { display: grid; place-items: end center; padding: 28px 28px 0; background: linear-gradient(160deg, #ffe7d8, #f2d9ec 58%, #d9d7f2); }
.phone-shell { width: 76%; min-height: 275px; padding: 16px; border: 7px solid var(--navy); border-bottom: 0; border-radius: 26px 26px 0 0; background: #fbfaf7; box-shadow: 0 24px 45px rgba(7,19,30,.2); }
.phone-top { display: flex; align-items: center; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.phone-top span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: white; background: var(--orange); font-size: 8px; font-weight: 800; }
.phone-top b { flex: 1; font-size: 9px; }
.phone-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.bubble { max-width: 82%; padding: 9px 11px; margin-top: 13px; border-radius: 11px; font-size: 8px; line-height: 1.5; }
.bubble.customer { margin-left: auto; color: white; background: var(--navy); border-bottom-right-radius: 3px; }
.bubble.assistant { color: #3e4b54; background: #ebece8; border-bottom-left-radius: 3px; }
.chat-tag { width: fit-content; padding: 7px 9px; margin: 14px auto 0; border-radius: 100px; color: #207966; background: #d7f5ec; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.visual-funnel { display: grid; align-content: center; padding: 33px; background: linear-gradient(145deg, #0a1924, #183649); }
.visual-funnel::after { content: ""; position: absolute; inset: auto -50px -100px auto; width: 260px; height: 260px; border: 1px solid rgba(25,195,163,.28); border-radius: 50%; }
.funnel-map { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }
.funnel-map > div { display: flex; flex-direction: column; gap: 7px; width: 29%; min-height: 86px; justify-content: center; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; color: white; background: rgba(255,255,255,.06); }
.funnel-map span { color: var(--teal); font-size: 7px; font-weight: 800; }
.funnel-map b { font-size: 9px; line-height: 1.35; }
.funnel-map i { color: #66808f; font-style: normal; }
.pipeline { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 22px; }
.pipeline span { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-radius: 9px; color: #9cabb5; background: rgba(255,255,255,.06); font-size: 7px; }
.pipeline b { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; color: white; background: rgba(25,195,163,.18); }

.contact { padding: 60px 0 32px; }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: 74px; border-radius: 31px; color: white; background: var(--navy); box-shadow: 0 25px 70px rgba(7,19,30,.2); }
.contact-card::before { content: ""; position: absolute; width: 500px; height: 500px; right: -260px; top: -270px; border: 1px solid rgba(25,195,163,.33); border-radius: 50%; box-shadow: 0 0 0 70px rgba(25,195,163,.035), 0 0 0 140px rgba(25,195,163,.025); }
.contact-copy, .availability-card { position: relative; z-index: 1; }
.eyebrow.light { color: #b7c1c7; }
.contact h2 { max-width: 720px; margin-bottom: 24px; }
.contact-copy > p:not(.eyebrow):not(.copy-status) { max-width: 650px; color: #aab6bd; font-size: 15px; line-height: 1.7; }
.contact-actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 10px; max-width: 650px; margin-top: 28px; }
.button-light { color: var(--navy); background: white; }
.button-ghost { color: white; border-color: rgba(255,255,255,.2); background: transparent; }
.contact-button { min-width: 0; min-height: 66px; justify-content: space-between; padding: 10px 14px 10px 17px; text-align: left; }
.button-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; line-height: 1.25; }
.button-copy small { color: #73818a; font-size: 7px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.button-ghost .button-copy small { color: #82949f; }
.button-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; color: white; background: var(--navy); font-size: 14px; }
.button-ghost .button-icon { color: var(--teal); background: rgba(255,255,255,.08); }
.copy-status { min-height: 18px; margin: 13px 0 0; color: #8ee8d6; font-size: 11px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; color: #8fa0aa; font-size: 10px; }
.contact-links a { color: #bdc8ce; transition: color .2s; }
.contact-links a:hover { color: white; }
.availability-card { align-self: center; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.055); }
.availability-label { color: #80919c; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.availability-card ul { display: grid; gap: 13px; padding: 0; margin: 20px 0 25px; list-style: none; }
.availability-card li { color: #d4dce0; font-size: 11px; }
.availability-card li i { color: var(--teal); margin-right: 8px; font-style: normal; }
.location { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.1); color: #81919b; font-size: 9px; }
.location b { color: #cbd4d9; }
footer { display: flex; align-items: center; gap: 30px; padding: 29px 8px 0; color: #79838a; font-size: 10px; }
.footer-brand { margin-right: auto; color: var(--ink); }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 8px; font-size: 9px; }
footer p { margin: 0; }

.modal { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,11,17,.78); backdrop-filter: blur(12px); }
.modal-dialog { position: relative; width: min(880px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 26px; background: var(--card); box-shadow: 0 35px 100px rgba(0,0,0,.32); transform: translateY(15px) scale(.985); transition: transform .25s; }
.modal.is-open .modal-dialog { transform: translateY(0) scale(1); }
.modal-close { position: sticky; z-index: 3; top: 16px; float: right; width: 40px; height: 40px; margin: 16px 16px -56px 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.9); cursor: pointer; font-size: 23px; line-height: 1; }
.modal-head { position: relative; padding: 57px 65px 44px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #e0f3ee, #f3edf8); }
.modal-head h2 { max-width: 650px; margin-bottom: 15px; font-size: 42px; line-height: 1.03; letter-spacing: -.05em; }
.modal-head > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.case-number { position: absolute; right: 65px; top: 68px; color: rgba(10,23,34,.14); font-family: Georgia, serif; font-size: 50px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tag-list span { background: rgba(255,255,255,.5); }
.modal-content { display: grid; gap: 31px; padding: 44px 65px; }
.case-block > span, .case-workflow > span, .case-columns > div > span { display: block; margin-bottom: 10px; color: var(--teal-dark); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.case-block p { margin: 0; color: #4f5c65; font-size: 14px; line-height: 1.75; }
#modal-workflow { display: flex; align-items: stretch; gap: 7px; }
#modal-workflow span { flex: 1; display: grid; place-items: center; min-height: 62px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; color: #43515a; background: #f7f5ef; text-align: center; font-size: 10px; font-weight: 750; line-height: 1.35; }
#modal-workflow i { align-self: center; color: var(--teal-dark); font-style: normal; }
.case-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.case-columns ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.case-columns li { position: relative; padding-left: 17px; color: #4f5c65; font-size: 12px; line-height: 1.5; }
.case-columns li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.case-evidence[hidden] { display: none; }
.case-evidence { display: grid; gap: 21px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(220,242,237,.52), rgba(247,244,238,.72)); }
.evidence-heading { display: grid; grid-template-columns: 1fr .85fr; gap: 28px; align-items: end; }
.evidence-kicker { display: block; margin-bottom: 8px; color: var(--teal-dark); font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.evidence-heading h3 { margin: 0; font-size: 24px; line-height: 1.1; letter-spacing: -.035em; }
.evidence-heading > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.evidence-card { overflow: hidden; min-width: 0; padding: 0; border: 1px solid rgba(7,19,30,.11); border-radius: 15px; color: var(--ink); background: white; box-shadow: 0 7px 20px rgba(7,19,30,.05); cursor: zoom-in; text-align: left; transition: transform .22s, border-color .22s, box-shadow .22s; }
.evidence-card:hover, .evidence-card:focus-visible { transform: translateY(-3px); border-color: rgba(20,158,133,.45); box-shadow: 0 12px 28px rgba(7,19,30,.1); outline: none; }
.evidence-image { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #e7ecee; }
.evidence-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.evidence-zoom { position: absolute; right: 9px; bottom: 9px; padding: 6px 8px; border-radius: 100px; color: white; background: rgba(5,17,25,.82); opacity: 0; transform: translateY(3px); font-size: 7px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: opacity .2s, transform .2s; }
.evidence-card:hover .evidence-zoom, .evidence-card:focus-visible .evidence-zoom { opacity: 1; transform: translateY(0); }
.evidence-copy { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 13px; }
.evidence-copy > b { display: grid; place-items: center; align-self: start; width: 26px; height: 26px; border-radius: 8px; color: white; background: var(--navy); font-size: 8px; }
.evidence-copy > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.evidence-copy strong { font-size: 10px; line-height: 1.3; }
.evidence-copy small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.case-note { padding: 17px 19px; border-radius: 13px; background: rgba(25,195,163,.09); }
.case-note strong { display: block; margin-bottom: 5px; font-size: 10px; }
.case-note p { margin: 0; color: #50615f; font-size: 11px; line-height: 1.5; }
.modal-footer { display: flex; justify-content: flex-end; padding: 0 65px 40px; }

.lightbox { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .22s, visibility .22s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(2,8,13,.92); backdrop-filter: blur(14px); }
.lightbox-dialog { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 48px); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 21px; background: #0b1821; box-shadow: 0 35px 100px rgba(0,0,0,.52); transform: translateY(10px) scale(.985); transition: transform .22s; }
.lightbox.is-open .lightbox-dialog { transform: translateY(0) scale(1); }
.lightbox-close { position: absolute; z-index: 2; right: 13px; top: 13px; display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(5,17,25,.82); cursor: pointer; font-size: 23px; line-height: 1; backdrop-filter: blur(8px); }
.lightbox-close:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.lightbox-frame { display: grid; place-items: center; min-height: 230px; height: min(72vh, 760px); padding: 18px; background: #061018; }
.lightbox-frame img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-copy { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; padding: 18px 22px 20px; color: white; }
.lightbox-copy > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--navy); background: var(--teal); font-size: 9px; font-weight: 850; }
.lightbox-copy h3 { margin: 0 0 5px; font-size: 15px; }
.lightbox-copy p { margin: 0; color: #9fb0b8; font-size: 10px; line-height: 1.55; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { top: 10px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: rgba(250,248,243,.97); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 135px; }
  .hero-panel { width: min(540px, 100%); margin: 0 auto; transform: none; }
  .portrait-panel { width: min(490px, calc(100% - 34px)); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .project-card, .project-card:nth-child(3) { grid-column: span 12; }
  .contact-card { grid-template-columns: 1fr; gap: 42px; padding: 55px 40px; }
}

@media (max-width: 590px) {
  .section { width: min(100% - 24px, 1200px); }
  .brand-name { display: none; }
  .hero { min-height: auto; padding: 122px 0 55px; }
  h1 { font-size: 48px; }
  .hero-lede { font-size: 16px; }
  .hero-actions .button { flex: 1; }
  .hero-panel { padding: 17px; }
  .portrait-panel { width: calc(100% - 24px); padding: 12px 12px 17px; }
  .badge-top { top: 33px; right: -13px; }
  .badge-bottom { left: -12px; bottom: 86px; }
  .panel-topline { margin-bottom: 25px; }
  .system-card { align-items: flex-start; }
  .experience-grid > div { min-height: 108px; }
  .work { padding: 80px 0 90px; }
  .filters { overflow-x: auto; padding-bottom: 4px; }
  .filter { flex: 0 0 auto; }
  .project-visual { height: 260px; }
  .visual-email, .visual-funnel { padding: 20px; }
  .proof-primary { left: 18px; top: 22px; width: 74%; height: 176px; }
  .proof-secondary { right: 16px; bottom: 22px; width: 62%; height: 89px; }
  .proof-label { left: 17px; bottom: 17px; }
  .phone-shell { width: 86%; }
  .project-body { padding: 22px; }
  .project-meta { gap: 12px; }
  .project-body > p { min-height: auto; }
  .contact { padding-top: 35px; }
  .contact-card { padding: 45px 25px; border-radius: 24px; }
  .contact-actions .button { width: 100%; }
  .contact-actions { grid-template-columns: 1fr; }
  footer { flex-wrap: wrap; gap: 12px; }
  footer p { width: 100%; order: 3; }
  .modal { padding: 0; }
  .modal-dialog { max-height: 100vh; height: 100%; border-radius: 0; }
  .modal-head { padding: 65px 24px 35px; }
  .modal-head h2 { padding-right: 20px; font-size: 34px; }
  .case-number { display: none; }
  .modal-content { padding: 35px 24px; }
  #modal-workflow { display: grid; grid-template-columns: 1fr; }
  #modal-workflow i { transform: rotate(90deg); justify-self: center; }
  .case-evidence { padding: 18px; }
  .evidence-heading { grid-template-columns: 1fr; gap: 10px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-heading h3 { font-size: 22px; }
  .case-columns { grid-template-columns: 1fr; }
  .modal-footer { padding: 0 24px 35px; }
  .lightbox { padding: 0; }
  .lightbox-dialog { width: 100%; max-height: 100vh; height: 100%; border: 0; border-radius: 0; display: grid; grid-template-rows: 1fr auto; }
  .lightbox-frame { height: auto; min-height: 0; padding: 12px; }
  .lightbox-copy { padding: 15px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .portrait-frame, .portrait-frame img, .portrait-orbit, .portrait-sheen, .photo-badge { animation: none !important; }
}
