:root {
  --ink: #07111f;
  --ink-2: #0b1728;
  --surface: #101e31;
  --surface-2: #13253d;
  --line: rgba(157, 191, 218, .16);
  --text: #f4f8fc;
  --muted: #9eb1c5;
  --cyan: #27d8ff;
  --cyan-2: #1da7ff;
  --orange: #ff9e44;
  --green: #59e5a3;
  --violet: #aa82ff;
  --font-body: "Manrope", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; background: var(--cyan); color: var(--ink); padding: .7rem 1rem; border-radius: .5rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.navbar { padding: 1rem 0; transition: .3s ease; }
.navbar.scrolled { background: rgba(7, 17, 31, .9); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: .65rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .7rem; color: var(--text); font-family: var(--font-display); font-weight: 700; }
.navbar-brand:hover { color: var(--text); }
.brand-mark { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); color: var(--ink); border-radius: .7rem; font-size: .75rem; letter-spacing: -.04em; box-shadow: 0 0 30px rgba(39, 216, 255, .25); }
.brand-text span { color: var(--cyan); }
.nav-link { color: #bdcbd9; font-size: .9rem; font-weight: 600; padding: .6rem .75rem !important; }
.nav-link:hover, .nav-link.active { color: var(--cyan); }
.navbar-toggler { border-color: var(--line); }

.btn { border-radius: .75rem; font-weight: 800; font-size: .9rem; padding: .8rem 1.2rem; }
.btn-lg { padding: 1rem 1.4rem; font-size: .95rem; }
.btn-accent { background: linear-gradient(135deg, var(--cyan), var(--cyan-2)); color: #03111d; border: 0; box-shadow: 0 10px 35px rgba(29, 167, 255, .2); }
.btn-accent:hover, .btn-accent:focus { color: #03111d; transform: translateY(-2px); box-shadow: 0 14px 42px rgba(39, 216, 255, .3); }
.btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; margin-left: .35rem; }
.btn-outline-light { border-color: rgba(255,255,255,.23); }
.btn-outline-light:hover { color: var(--ink); }

.hero-section { position: relative; min-height: 100vh; overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(107, 150, 182, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 150, 182, .07) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom, #000, transparent 90%); z-index: -3; }
.hero-section::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .18; z-index: -2; }
.glow-one { width: 35rem; height: 35rem; background: var(--cyan-2); right: -10rem; top: 5rem; }
.glow-two { width: 25rem; height: 25rem; background: var(--orange); left: 5%; bottom: -15rem; opacity: .09; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: .65rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 800; }
.eyebrow::before, .section-kicker::before { content: ""; width: 2rem; height: 1px; background: var(--cyan); }
.display-title { max-width: 850px; margin: 1.2rem 0 .75rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: .95; letter-spacing: -.06em; }
.display-title span { color: transparent; background: linear-gradient(100deg, var(--cyan), #8beaff 48%, var(--orange)); background-clip: text; -webkit-background-clip: text; }
.hero-name { color: #d7e2ec; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .65rem; }
.hero-lead { max-width: 720px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2rem; color: #bfd0de; font-size: .8rem; font-weight: 700; }
.hero-meta span { display: flex; align-items: center; gap: .5rem; }
.hero-meta span::before { content: ""; width: .38rem; height: .38rem; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px var(--green); }

.identity-stage { min-height: 510px; display: grid; place-items: center; position: relative; }
.identity-card { width: min(100%, 360px); aspect-ratio: .78; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 2rem; background: linear-gradient(145deg, rgba(24, 49, 77, .92), rgba(8, 19, 33, .92)); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); backdrop-filter: blur(15px); transform: rotate(2deg); }
.identity-card::before { content: ""; position: absolute; width: 15rem; height: 15rem; border-radius: 50%; background: var(--cyan); filter: blur(70px); opacity: .15; top: -4rem; right: -5rem; }
.identity-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,.05) 50%, transparent 55%); transform: translateX(-100%); animation: sheen 7s infinite 2s; }
@keyframes sheen { 0%, 65% { transform: translateX(-100%); } 82%, 100% { transform: translateX(100%); } }
.identity-topline { color: #8ba1b5; font-size: .7rem; letter-spacing: .16em; font-weight: 800; position: relative; z-index: 1; }
.identity-topline span { display: inline-block; width: .5rem; height: .5rem; margin-right: .4rem; border-radius: 50%; background: var(--orange); }
.monogram { font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 15vw, 10rem); line-height: 1; letter-spacing: -.12em; color: transparent; -webkit-text-stroke: 2px var(--cyan); text-shadow: 0 0 50px rgba(39,216,255,.22); position: relative; left: -.3rem; }
.identity-copy { position: relative; z-index: 1; }
.identity-copy strong { display: block; color: var(--cyan); font-size: .72rem; letter-spacing: .12em; margin-bottom: .6rem; }
.identity-copy small { color: #b6c7d5; line-height: 1.6; display: block; }
.profile-card { transform: rotate(1.5deg); padding: 0; isolation: isolate; }
.profile-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.profile-card .profile-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,17,31,.02) 32%, rgba(7,17,31,.24) 58%, rgba(7,17,31,.96) 100%); z-index: -1; }
.profile-card .identity-topline { margin: 1.6rem 1.6rem 0; padding: .55rem .75rem; width: fit-content; background: rgba(7,17,31,.76); border: 1px solid rgba(255,255,255,.16); border-radius: 3rem; backdrop-filter: blur(12px); }
.profile-card .profile-copy { padding: 0 1.8rem 1.8rem; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.profile-card .profile-copy strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: .08em; }
.profile-card .profile-copy small { color: #e5eef5; font-size: .82rem; }
.orbit { position: absolute; border: 1px solid rgba(39,216,255,.16); border-radius: 50%; animation: rotate 18s linear infinite; }
.orbit-one { width: 31rem; height: 31rem; }
.orbit-two { width: 25rem; height: 25rem; animation-direction: reverse; animation-duration: 13s; }
.orbit i { position: absolute; width: .55rem; height: .55rem; border-radius: 50%; background: var(--cyan); left: 50%; top: -.3rem; box-shadow: 0 0 18px var(--cyan); }
.orbit-two i { background: var(--orange); box-shadow: 0 0 18px var(--orange); }
@keyframes rotate { to { transform: rotate(360deg); } }
.floating-label { position: absolute; padding: .6rem .9rem; background: rgba(11, 25, 42, .88); border: 1px solid var(--line); border-radius: .65rem; color: #d4e0ea; font-size: .7rem; font-weight: 800; backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.label-one { top: 13%; left: -3%; }
.label-two { right: -5%; top: 46%; }
.label-three { bottom: 11%; left: -4%; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); color: #71869a; text-decoration: none; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: .7rem; }
.scroll-cue span { display: inline-block; height: 2rem; width: 1px; background: linear-gradient(var(--cyan), transparent); }

.section-pad { padding: 8rem 0; }
.section-tinted { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; margin: 1rem 0 0; }
.section-heading { display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 3rem; }
.section-heading > p { color: var(--muted); margin: 0; }
.about-copy .lead { color: #dce7f0; font-size: 1.35rem; line-height: 1.65; }
.about-copy p:not(.lead) { color: var(--muted); }
.metric-card { min-height: 150px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(145deg, rgba(20, 42, 67, .65), rgba(10, 24, 40, .5)); }
.metric-card strong { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--cyan); line-height: 1; margin-bottom: .8rem; }
.metric-card strong::after { content: "+"; font-size: 1.2rem; color: var(--orange); }
.metric-card span { color: var(--muted); font-size: .83rem; line-height: 1.45; }

.skill-card { position: relative; overflow: hidden; padding: 2rem; background: linear-gradient(145deg, rgba(18, 37, 60, .92), rgba(11, 26, 44, .88)); border: 1px solid var(--line); border-radius: 1.2rem; transition: .35s ease; }
.skill-card:hover { transform: translateY(-8px); border-color: rgba(39,216,255,.45); box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.skill-number { position: absolute; right: 1.4rem; top: 1rem; color: rgba(39,216,255,.22); font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; }
.skill-card h3 { max-width: 80%; font-family: var(--font-display); font-size: 1.35rem; margin: 2rem 0 .9rem; }
.skill-card p { color: var(--muted); font-size: .9rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; }
.tag-list span { display: inline-flex; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 2rem; color: #bcd0df; font-size: .7rem; font-weight: 700; }
.toolbox { margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.toolbox p { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tool-strip { display: flex; flex-wrap: wrap; gap: .65rem; }
.tool-strip span { padding: .65rem .95rem; background: rgba(255,255,255,.035); border-radius: .55rem; color: #c7d6e2; font-size: .8rem; font-weight: 700; }

.sticky-heading { position: sticky; top: 8rem; color: var(--muted); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 10.25rem; top: .8rem; bottom: .8rem; width: 1px; background: linear-gradient(var(--cyan), var(--line), transparent); }
.timeline-item { display: grid; grid-template-columns: 9rem 1fr; gap: 2.5rem; position: relative; padding-bottom: 3.5rem; }
.timeline-item::before { content: ""; position: absolute; left: 9.98rem; top: .55rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.timeline-date { color: #7f96aa; font-size: .75rem; font-weight: 800; padding-top: .25rem; text-align: right; }
.timeline-body { padding-left: 1.5rem; }
.timeline-body h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: .25rem; }
.timeline-body h4 { color: var(--cyan); font-size: .85rem; font-weight: 800; margin-bottom: 1rem; }
.timeline-body p { color: var(--muted); font-size: .9rem; margin-bottom: .7rem; }
.timeline-body small { color: #7790a5; line-height: 1.6; display: block; }
.status-chip { display: inline-block; color: var(--green); font-size: .64rem; letter-spacing: .1em; font-weight: 800; margin-bottom: .6rem; }
.education-panel { display: grid; grid-template-columns: 8rem 1fr; gap: 3.5rem; margin-top: 1rem; padding: 2rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--ink-2); }
.education-label { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.education-list > div { padding: 0 0 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.education-list > div:last-child { margin: 0; padding: 0; border: 0; }
.education-list strong, .education-list span { display: block; }
.education-list strong { font-size: .9rem; }
.education-list span { color: var(--muted); font-size: .78rem; }

.media-section { position: relative; background: radial-gradient(circle at 85% 10%, rgba(39,216,255,.06), transparent 24%), var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.case-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(145deg, rgba(18,37,60,.96), rgba(10,24,40,.92)); border: 1px solid var(--line); border-radius: 1.4rem; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.case-card:hover { transform: translateY(-6px); border-color: rgba(39,216,255,.34); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.case-featured, .case-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: stretch; }
.case-wide { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
.media-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #0a1626; cursor: zoom-in; }
.media-button:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.media-button img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.media-button:hover img { transform: scale(1.035); filter: saturate(1.08); }
.case-featured > .media-button { min-height: 520px; }
.case-featured > .media-button img { aspect-ratio: 1.14; }
.view-icon { position: absolute; right: 1rem; top: 1rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: rgba(7,17,31,.78); border: 1px solid rgba(255,255,255,.22); color: white; font-size: 1rem; backdrop-filter: blur(10px); }
.case-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.case-copy > span { color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.case-copy h3 { margin: .65rem 0 .75rem; font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.case-copy p { color: var(--muted); font-size: .9rem; margin: 0; }
.case-mosaic { display: grid; height: 370px; gap: 3px; background: var(--line); }
.mosaic-three { grid-template-columns: 1.35fr .65fr; grid-template-rows: 1fr 1fr; }
.mosaic-three .media-button:first-child { grid-row: span 2; }
.case-split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; min-height: 440px; background: var(--line); }
.case-split-media .media-button img { aspect-ratio: 1; }
.logo-stage { min-height: 370px; padding: 2.4rem; background: #f8fbff; }
.logo-stage img { object-fit: contain; }
.portrait-stage { height: 370px; background: #101e31; }
.portrait-stage img { object-position: 50% 30%; }
.media-gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; overflow: hidden; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--surface); }
.media-gallery .gallery-intro { display: flex; flex-direction: column; justify-content: center; padding: 2.25rem; }
.gallery-intro > span { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.gallery-intro h3 { font-family: var(--font-display); font-size: 1.8rem; margin: .5rem 0; }
.gallery-intro p { color: var(--muted); font-size: .85rem; margin: 0; }
.media-gallery .media-button { border-left: 3px solid var(--ink); }
.media-gallery .media-button img { aspect-ratio: 1; }

.video-section { overflow: hidden; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.video-card { overflow: hidden; background: #0c1b2d; border: 1px solid var(--line); border-radius: 1.25rem; transition: transform .35s ease, border-color .35s ease; }
.video-card:hover { transform: translateY(-6px); border-color: rgba(255,158,68,.36); }
.video-card.video-landscape { grid-column: span 2; }
.video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #030a11; }
.video-card.video-landscape video { aspect-ratio: 16 / 9; }
.video-card > div { padding: 1.2rem 1.25rem 1.4rem; }
.video-card span { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; font-weight: 800; }
.video-card h3 { margin: .45rem 0 0; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.4; }

.gallery-modal .modal-content { background: rgba(7,17,31,.97); border: 1px solid rgba(255,255,255,.18); border-radius: 1.25rem; box-shadow: 0 35px 100px rgba(0,0,0,.65); }
.gallery-modal .modal-header { border-color: var(--line); }
.gallery-modal .modal-title { font-family: var(--font-display); }
.gallery-modal .modal-body { padding: 1rem; text-align: center; }
.gallery-modal .modal-body img { display: inline-block; max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: .75rem; }

.project-filters { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: flex-end; }
.project-filters button { border: 1px solid var(--line); border-radius: 3rem; padding: .55rem .85rem; color: #9fb3c5; background: transparent; font-size: .75rem; font-weight: 800; transition: .2s ease; }
.project-filters button:hover, .project-filters button.active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.project-item { transition: opacity .25s ease, transform .25s ease; }
.project-item.is-hidden { display: none; }
.project-card { min-height: 470px; padding: 2rem; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1.35rem; background: #0d1d31; transition: .35s ease; }
.project-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.3); box-shadow: 0 25px 60px rgba(0,0,0,.28); }
.project-card::before { content: ""; position: absolute; width: 20rem; height: 20rem; border-radius: 50%; background: var(--project-color); opacity: .1; filter: blur(45px); top: 15%; right: -8rem; }
.project-top { display: flex; justify-content: space-between; color: #738ba0; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.project-top em { font-style: normal; color: var(--project-color); }
.project-symbol { margin: auto; width: 9rem; height: 9rem; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--project-color) 50%, transparent); border-radius: 2rem; background: color-mix(in srgb, var(--project-color) 8%, transparent); color: var(--project-color); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; transform: rotate(-4deg); box-shadow: inset 0 0 35px color-mix(in srgb, var(--project-color) 7%, transparent); }
.project-card h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .6rem; }
.project-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.project-card .tag-list { margin-top: auto; }
.project-cyan { --project-color: var(--cyan); }
.project-orange { --project-color: var(--orange); }
.project-violet { --project-color: var(--violet); }
.project-blue { --project-color: #58a7ff; }
.project-amber { --project-color: #ffc259; }
.project-green { --project-color: var(--green); }

.narrow-heading { max-width: 760px; margin-inline: auto; }
.narrow-heading p { color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 3rem 1fr 1fr; gap: 2rem; align-items: center; padding: 1.7rem 1rem; border-bottom: 1px solid var(--line); transition: .25s ease; }
.service-row:hover { background: linear-gradient(90deg, rgba(39,216,255,.05), transparent); padding-left: 1.5rem; }
.service-row > span { color: var(--cyan); font-family: var(--font-display); font-weight: 700; }
.service-row h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0; }
.service-row p { color: var(--muted); font-size: .85rem; margin: 0; }

.contact-section { padding: 3rem 0 7rem; }
.contact-shell { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); background: linear-gradient(125deg, #122b45, #0a192b 65%, #09233b); border: 1px solid rgba(39,216,255,.24); border-radius: 2rem; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.contact-shell h2 { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.03; letter-spacing: -.05em; margin: 1rem 0 1.2rem; }
.contact-shell p { max-width: 700px; color: var(--muted); margin: 0; }
.contact-orb { position: absolute; width: 30rem; height: 30rem; right: -12rem; top: -15rem; border-radius: 50%; background: var(--cyan); filter: blur(80px); opacity: .17; }
.contact-actions { display: grid; gap: .75rem; }
.contact-actions > a:not(.btn) { text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-actions small, .contact-actions strong { display: block; }
.contact-actions small { color: #7890a4; text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 800; }
.contact-actions strong { font-size: .9rem; word-break: break-word; }
.contact-actions > a:not(.btn):hover strong { color: var(--cyan); }

footer { padding: 2rem 0; border-top: 1px solid var(--line); color: #73889b; font-size: .75rem; }
footer p { margin: 0; }
footer div > span { margin-right: 1.5rem; }
footer a { color: #adc0d0; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .navbar { background: rgba(7,17,31,.9); backdrop-filter: blur(14px); }
  .navbar-collapse { padding: 1rem 0; }
  .display-title { font-size: clamp(3.2rem, 12vw, 5.5rem); }
  .identity-stage { min-height: 470px; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-filters { justify-content: flex-start; }
  .sticky-heading { position: static; }
  .case-featured, .case-wide { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 5.5rem 0; }
  .hero-meta { gap: .55rem 1rem; }
  .identity-stage { min-height: 430px; }
  .identity-card { width: 285px; }
  .orbit-one { width: 24rem; height: 24rem; }
  .orbit-two { width: 20rem; height: 20rem; }
  .floating-label { font-size: .62rem; }
  .label-one { left: 0; }
  .label-two { right: 0; }
  .label-three { left: 2%; }
  .timeline::before { left: .27rem; }
  .timeline-item { grid-template-columns: 1fr; gap: .6rem; padding-left: 1.8rem; }
  .timeline-item::before { left: 0; top: .4rem; }
  .timeline-date { text-align: left; }
  .timeline-body { padding-left: 0; }
  .education-panel { grid-template-columns: 1fr; gap: 1rem; }
  .service-row { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .service-row p { grid-column: 2; }
  .project-card { min-height: 430px; }
  .scroll-cue { display: none; }
  .case-grid { grid-template-columns: 1fr; }
  .case-featured, .case-wide { grid-column: auto; display: flex; }
  .case-featured > .media-button { min-height: 0; }
  .case-featured > .media-button img { aspect-ratio: 1; }
  .media-gallery { grid-template-columns: 1fr 1fr; }
  .media-gallery .gallery-intro { grid-column: span 2; }
  .media-gallery .media-button { border-left: 0; border-top: 3px solid var(--ink); }
}

@media (max-width: 575.98px) {
  body { font-size: .98rem; }
  .hero-section .min-vh-100 { min-height: auto !important; padding-top: 8rem !important; padding-bottom: 3rem; }
  .display-title { font-size: clamp(2.8rem, 15vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-meta { flex-direction: column; }
  .identity-stage { min-height: 390px; }
  .identity-card { width: 250px; padding: 1.5rem; }
  .floating-label { padding: .45rem .6rem; }
  .section-title { font-size: 2.3rem; }
  .contact-shell { border-radius: 1.3rem; }
  footer div > span { display: block; margin: 0 0 .35rem; }
  .case-mosaic, .portrait-stage, .logo-stage { height: 310px; min-height: 310px; }
  .case-split-media { min-height: 0; }
  .case-copy { padding: 1.5rem; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .video-card.video-landscape { grid-column: span 2; }
  .video-card > div { padding: .9rem; }
  .video-card h3 { font-size: .9rem; }
}

@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; }
}
