@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@350;400;500;600;700&family=Outfit:wght@400;500;600;650;700;750&display=swap');

:root {
    --paper: #e2e1e1;
    --ink: #070910;
    --blue: #313f8b;
    --ease: cubic-bezier(.625, .05, 0, 1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px
}

html.lenis,
html.lenis body {
    height: auto
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important
}

.lenis.lenis-stopped {
    overflow: hidden
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: clamp(14px, 1.11vw, 18px);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip
}

body:has(dialog[open]) {
    overflow: hidden
}

h1,
h2,
h3,
p {
    margin: 0
}

h2,
h3 {
    font-family: 'Outfit', Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer;
    color: inherit;
    border: 0;
    background: none
}

a,
button {
    -webkit-tap-highlight-color: transparent
}

img {
    display: block;
    max-width: 100%
}

svg {
    display: block
}

::selection {
    background: var(--blue);
    color: var(--paper)
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #9db4ff;
    outline-offset: 6px
}

.sr-only {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap
}

.skip-link {
    position: fixed;
    top: -90px;
    left: 20px;
    background: white;
    padding: 12px;
    z-index: 9999
}

.skip-link:focus {
    top: 15px
}

.eyebrow {
    font-size: 9px;
    letter-spacing: .08em;
    line-height: 1.5
}

.blue {
    color: var(--blue)
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    padding: 15px 2.22vw;
    z-index: 80;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--ink);
    transition: color .3s
}

.header.is-dark {
    color: var(--paper)
}

.brand {
    position: absolute;
    left: 2.22vw;
    top: 15px;
    width: calc(100% - 4.44vw);
    transform: translateY(67px);
    transform-origin: 0 0;
    z-index: 1
}

.brand svg {
    width: 100%;
    overflow: visible;
    pointer-events: none
}

.brand text {
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 140px;
    font-weight: 350;
    fill: currentColor
}

.header nav {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border-radius: 99px;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    isolation: isolate;
    transition: color .4s, background .4s;
    min-height: 36px
}

.button span {
    position: relative;
    z-index: 2
}

.button:before {
    content: '';
    position: absolute;
    inset: -30%;
    border-radius: 45%;
    transform: translate(-110%, 50%) rotate(-30deg);
    background: var(--ink);
    transition: transform .7s var(--ease);
    z-index: 1
}

.button:hover:before,
.button:focus-visible:before {
    transform: translate(0, 0) rotate(15deg)
}

.button-blue {
    background: var(--blue);
    color: var(--paper)
}

.button-dark {
    background: var(--ink);
    color: var(--paper)
}

.button-dark:before {
    background: var(--blue)
}

.button-light {
    background: var(--paper);
    color: var(--ink)
}

.button-light:hover {
    color: var(--paper)
}

.button-group {
    display: flex;
    gap: 12px
}

.menu-toggle {
    height: 32px;
    width: 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 4px
}

.menu-toggle i {
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform .4s
}

.menu-toggle:hover i:first-child {
    transform: translateX(3px)
}

.menu-toggle:hover i:last-child {
    transform: translateX(-3px)
}

.hero {
    height: 100svh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background: #e2e1e1
}

.hero-photo {
    position: absolute;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    height: calc(100% + 200px);
    width: min(65vw, 800px);
    mix-blend-mode: multiply;
    mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent);
    will-change: transform
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000)
}

.hero-bottom {
    position: absolute;
    bottom: 32px;
    left: 2.22vw;
    right: 2.22vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.hero-badge {
    font-size: 12px;
    border: 1px solid currentColor;
    border-radius: 99px;
    padding: 3px 7px;
    line-height: 1.2
}

.hero-badge b {
    font-size: 9px;
    margin: 0 5px
}

.hero-location {
    display: flex;
    gap: 15px;
    align-items: center;
    text-align: right;
    font-size: 12px;
    line-height: 1.2
}

.globe {
    width: 38px;
    transition: rotate .8s var(--ease)
}

.globe:hover {
    rotate: 90deg
}

.portrait-note {
    position: absolute;
    bottom: 9px;
    left: 2.22vw;
    font-size: 7px;
    letter-spacing: .07em;
    color: #68686a
}

.about {
    padding: 140px 2.22vw 0;
    min-height: 800px
}

.about-heading {
    position: relative;
    max-width: 750px
}

.about-heading h2 {
    font-size: 5vw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em
}

.about-heading p {
    position: absolute;
    left: 58%;
    top: 62%;
    width: 330px;
    font-size: 15px;
    line-height: 1.45
}

.about-copy {
    width: 50%;
    margin: 105px 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 38px
}

.bracket-heading {
    font-size: 4.85vw;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.045em
}

.bracket-heading span {
    display: inline-block
}

.about-copy p {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.5
}

.about-copy .button {
    margin-top: 3px
}

.draw-transition {
    position: relative;
    height: 100svh;
    min-height: 540px;
    isolation: isolate;
    overflow: hidden
}

.statement {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px
}

.statement>p {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 5.6vw;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.1
}

.statement strong {
    font-size: 1.73em;
    font-weight: 750;
    line-height: 1.08;
    display: inline-block
}

.statement .bracket-heading {
    margin-top: 12px
}

.paint-svg {
    position: absolute;
    inset: -15%;
    height: 130%;
    width: 130%;
    pointer-events: none
}

.paint-path {
    fill: none;
    stroke: var(--blue);
    stroke-width: 4%;
    stroke-linecap: round;
    stroke-linejoin: round
}

.scroll-paint {
    display: none;
    z-index: 3
}

.motion-ready .scroll-paint {
    display: block
}

.services {
    background: var(--blue);
    color: var(--paper);
    position: relative;
    overflow: hidden;
    padding-top: 70px
}

.service-list {
    position: relative
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid #e2e1e170;
    border-bottom: 1px solid #e2e1e170;
    padding: 15px 2.22vw;
    height: 91px
}

.service-row>span {
    font-size: 48px;
    letter-spacing: -3px;
    font-weight: 400
}

.service-row h3 {
    font-size: 2.8vw;
    font-weight: 700;
    letter-spacing: -.025em;
    text-align: right;
    line-height: 1.1
}

.service-visual {
    height: 520px;
    position: relative;
    overflow: hidden
}

.service-description {
    position: absolute;
    left: 2.22vw;
    bottom: 30px;
    width: 24%;
    z-index: 1
}

.service-description .eyebrow {
    opacity: .58;
    display: block;
    margin-bottom: 18px
}

.service-description p {
    font-size: 16px;
    line-height: 1.6
}

.service-image {
    position: absolute;
    left: 29%;
    width: 71%;
    height: 100%;
    top: 0;
    overflow: hidden;
    z-index: 2
}

.service-image-cream {
    background: #eeeee9
}

.service-image-sky {
    background: #b3bdd2
}

.service-image-lilac {
    background: #cec9e3
}

.service-image-night {
    background: #131625
}

.mockup-collage {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 650px
}

.mockup-collage img {
    position: absolute;
    width: 64%;
    box-shadow: 0 20px 35px #00000035;
    will-change: transform
}

.mockup-one {
    top: 12%;
    left: 6%;
    z-index: 2;
    transform: rotate(-3deg)
}

.mockup-two {
    top: 42%;
    left: 38%;
    z-index: 3;
    transform: rotate(4deg)
}

.visual-note {
    position: absolute;
    bottom: 10px;
    left: 18px;
    font-size: 8px;
    letter-spacing: .06em;
    color: #18233d;
    z-index: 4;
    background: #ffffff90;
    padding: 4px 6px
}

.service-image-night .visual-note {
    color: var(--paper);
    background: #151728b0
}

.data-stat {
    position: absolute;
    right: 5%;
    bottom: 14%;
    width: 35%;
    padding: 27px;
    background: #243777;
    color: #e1e6f7;
    box-shadow: 0 20px 35px #00000022;
    transform: rotate(5deg);
    z-index: 3
}

.data-stat>span,
.data-stat small {
    font-size: 8px;
    letter-spacing: .1em
}

.data-stat strong {
    display: block;
    font-size: 55px;
    letter-spacing: -3px;
    font-weight: 400;
    line-height: 1.4
}

.data-stat strong span {
    font-size: 30px
}

.data-stat svg {
    width: 100%;
    margin-top: 25px
}

.service-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    z-index: 10;
    background: #ffffff15
}

.service-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: #d5ddfc;
    transform: scaleX(0);
    transform-origin: left
}

.portfolio {
    padding: 110px 2.22vw 90px;
    overflow: clip
}

.portfolio-heading {
    text-align: center
}

.portfolio-heading>p {
    font-family: 'Outfit', sans-serif;
    font-size: 4.4vw;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 40px 0 25px
}

.project-disclaimer {
    opacity: .55
}

.orbit {
    display: grid;
    grid-template-columns: 34% 66%;
    position: relative;
    height: 85svh;
    min-height: 550px;
    max-height: 820px;
    margin-top: 60px;
    isolation: isolate
}

.orbit-info {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 8px 30px
}

.orbit-count {
    display: flex;
    font-size: 4.7vw;
    letter-spacing: -.055em;
    gap: 5px;
    overflow: hidden;
    line-height: 1.1;
    font-weight: 400
}

.orbit-count span {
    display: inline-block
}

.orbit-count .divider {
    font-weight: 350
}

.orbit-info-bottom {
    max-width: 340px
}

.project-copy h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px
}

.project-copy p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 22px
}

.project-copy .eyebrow {
    opacity: .6;
    font-size: 8px
}

.orbit-controls {
    display: flex;
    gap: 30px;
    margin-top: 55px;
    align-items: center
}

.orbit-controls button {
    padding: 8px 0
}

.orbit-controls svg {
    height: 28px;
    width: 65px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transition: transform .3s
}

.orbit-controls button:hover svg {
    transform: translateX(5px)
}

.orbit-controls button:first-child:hover svg {
    transform: translateX(-5px)
}

.orbit-controls .orbit-pause {
    font-size: 14px;
    padding: 6px 9px;
    border: 1px solid #07091035;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    margin-left: 5px
}

.orbit-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    touch-action: pan-y
}

.orbit-plane {
    position: relative;
    width: 1px;
    height: 1px
}

.orbit-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(290px, 30vw, 480px);
    aspect-ratio: 1.5;
    transform: translate(-50%, -50%);
    will-change: transform, filter
}

.orbit-card {
    padding: 0;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    background: #babec7;
    box-shadow: 0 10px 25px #00000016
}

.orbit-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease)
}

.orbit-card:hover img {
    transform: scale(1.045)
}

.card-open {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 11px;
    border-radius: 20px;
    background: var(--paper);
    color: var(--ink);
    font-size: 9px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .35s
}

.orbit-card:hover .card-open,
.orbit-card:focus-visible .card-open {
    opacity: 1;
    transform: none
}

.orbit-hint {
    position: absolute;
    bottom: 20px;
    font-size: 8px;
    letter-spacing: .08em;
    opacity: .5
}

.portfolio-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px
}

.learning {
    padding: 130px 3vw 120px;
    min-height: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow: clip
}

.learning h2 {
    font-size: 8.1vw;
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.08;
    text-align: center
}

.learning p {
    max-width: 600px;
    text-align: center;
    font-size: 17px
}

.learning-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin: 30px 0
}

.learning-logos>span {
    font-family: 'Outfit', sans-serif;
    font-size: 53px;
    font-weight: 600;
    letter-spacing: -3px;
    text-align: center
}

.learning-logos small {
    font: 8px 'DM Sans', sans-serif;
    letter-spacing: .14em;
    display: block;
    margin-top: 8px
}

.learning>.eyebrow {
    opacity: .45
}

.contact {
    height: 250svh;
    background: var(--ink);
    color: var(--paper);
    position: relative
}

.contact-sticky {
    position: sticky;
    top: 0;
    display: grid;
    place-items: center;
    height: 100svh;
    perspective: 900px;
    transform-style: preserve-3d;
    overflow: hidden
}

.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px
}

.contact-content h2 {
    font-size: 13vw;
    line-height: .9;
    letter-spacing: -.055em;
    font-weight: 700
}

.contact-content p {
    font-size: 17px;
    line-height: 1.6
}

.contact-note {
    opacity: .3;
    font-size: 8px
}

.contact-words {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    pointer-events: none;
    z-index: 3;
    overflow: hidden
}

.contact-words span {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 4vw, 65px);
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    will-change: transform, opacity;
    line-height: 1
}

.footer-wrap {
    position: relative;
    overflow: hidden;
    background: var(--blue);
    color: var(--paper)
}

.footer {
    padding: 60px 2.22vw 0;
    background: var(--blue)
}

.footer-frame {
    border-left: 12px solid var(--paper);
    border-right: 12px solid var(--paper);
    padding: 35px 45px 40px;
    position: relative
}

.footer-frame:before,
.footer-frame:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    border-top: 12px solid var(--paper);
    border-bottom: 12px solid var(--paper)
}

.footer-frame:before {
    left: 0
}

.footer-frame:after {
    right: 0
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 40px
}

.footer-links>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px
}

.footer-links>div>span {
    font-size: 24px;
    margin-bottom: 18px
}

.footer-links a,
.footer-links p,
.footer-links button {
    font-size: 15px;
    line-height: 1.5;
    padding: 0
}

.footer-links button:hover,
.footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

.footer-links p {
    opacity: .65
}

.footer-statement {
    font: 700 6vw/1.05 'Outfit', sans-serif;
    letter-spacing: -.04em;
    margin-top: 85px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 0 20px;
    font-size: 9px
}

.footer-bottom>span:nth-child(2) {
    opacity: .5
}

.loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    overflow: hidden
}

.loader-paint {
    color: var(--blue)
}

.loader-sign {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    color: var(--paper);
    text-align: center
}

.loader-sign svg {
    width: 100%;
    overflow: visible
}

.loader-sign path {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round
}

.loader-sign>span {
    font-size: 9px;
    letter-spacing: .22em;
    margin-top: 25px;
    display: block
}

.loader-count {
    position: absolute;
    bottom: 30px;
    right: 35px;
    color: var(--paper);
    font-size: 15px
}

dialog {
    border: 0;
    background: var(--paper);
    color: var(--ink);
    max-height: 88svh;
    overscroll-behavior: contain;
    padding: 55px;
    width: min(850px, 92vw)
}

dialog::backdrop {
    background: #070910a8;
    backdrop-filter: blur(10px)
}

dialog[open] {
    animation: dialog-in .5s var(--ease)
}

.close-dialog {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    line-height: 1;
    padding: 4px 8px;
    z-index: 2
}

.dialog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 30px
}

.menu-dialog {
    max-width: 650px
}

.menu-dialog nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px
}

.menu-dialog nav a {
    font-size: 55px;
    letter-spacing: -2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #aaa9a960;
    padding: 10px 0;
    transition: padding .3s, color .3s
}

.menu-dialog nav a:hover {
    padding-left: 10px;
    color: var(--blue)
}

.menu-dialog nav a span {
    font-size: 12px;
    letter-spacing: 0
}

.content-dialog h2 {
    font-size: 50px;
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 20px 0 30px
}

.content-dialog>img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 25px
}

.case-intro {
    font-size: 19px
}

.portfolio-cta { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:16px }
.case-subtitle { max-width:620px; font-size:18px; line-height:1.5; margin:-12px 0 24px }
#case-live { margin-bottom:28px }
#case-image { height:auto; aspect-ratio:8/5; object-fit:contain; background:#fff }
.case-section { margin:36px 0; padding-top:28px; border-top:1px solid #aaa9a970 }
.case-section>h3 { font-size:22px; margin-bottom:22px; letter-spacing:-.02em }
.case-workflow,.case-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; list-style:none; padding:0 }
.case-workflow { counter-reset:step }
.case-workflow li { counter-increment:step }
.case-workflow li:before { content:counter(step,decimal-leading-zero); display:block; color:var(--blue); font-size:14px; margin-bottom:10px }
.case-section h4 { font-size:15px; margin-bottom:8px }
.case-section p { color:#505056; font-size:14px; line-height:1.65 }
#project-dialog .case-grid p { color:#505056; font-size:14px }
#project-dialog>.eyebrow { display:block; padding-right:32px }
@media(max-width:600px) {
    .case-workflow,.case-features { grid-template-columns:1fr; gap:22px }
    .case-subtitle { font-size:16px }
    .portfolio-cta { gap:12px }
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px
}

.case-grid h3 {
    font-size: 16px;
    margin-bottom: 12px
}

.case-grid p {
    font-size: 13px;
    line-height: 1.7;
    color: #747477
}

.case-note {
    border-top: 1px solid #aaa9a970;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 12px;
    color: #757578
}

.contact-dialog {
    max-width: 650px
}

.contact-dialog>p {
    font-size: 16px;
    line-height: 1.6
}

.close-dialog-button {
    margin-top: 25px
}

.contact-dialog .case-note {
    font-size: 12px
}

@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(25px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.no-motion .contact {
    height: 100svh
}

.no-motion .brand {
    width: 270px;
    transform: none
}

.no-motion .hero:before {
    content: 'KANISHKA [DILHARA]';
    position: absolute;
    top: 100px;
    left: 2.22vw;
    font-size: 8.1vw;
    z-index: 2;
    letter-spacing: -.05em
}

.no-motion .orbit-item {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    display: none
}

.no-motion .orbit-item.is-active {
    display: block
}

.no-motion .orbit-plane {
    width: 85%;
    height: auto
}

@media(min-width:1700px) {
    .hero-photo {
        width: 950px;
        top: 150px
    }

    .header {
        height: 85px
    }

    .button {
        font-size: 15px;
        padding: 13px 21px
    }

    .about {
        padding-top: 180px;
        min-height: 1000px
    }

    .about-copy p {
        font-size: 20px;
        max-width: 850px
    }

    .about-heading p {
        font-size: 20px;
        width: 480px
    }

    .service-row {
        height: 115px
    }

    .service-row>span {
        font-size: 60px
    }

    .service-description p {
        font-size: 20px
    }

    .service-description .eyebrow {
        font-size: 11px
    }

    .project-copy h3 {
        font-size: 32px
    }

    .project-copy p {
        font-size: 20px
    }

    .orbit-info-bottom {
        max-width: 420px
    }

    .learning {
        min-height: 900px
    }
}

@media(max-width:991px) {
    .hero {
        min-height: 650px
    }

    .hero-photo {
        width: 83vw
    }

    .hero-badge {
        font-size: 10px
    }

    .hero-location {
        font-size: 10px
    }

    .about {
        padding-top: 120px;
        min-height: 800px
    }

    .about-heading h2 {
        font-size: 6.5vw
    }

    .about-heading p {
        left: 55%;
        top: 67%;
        font-size: 14px
    }

    .about-copy {
        width: 56%;
        gap: 30px
    }

    .about-copy p {
        font-size: 15px
    }

    .bracket-heading {
        font-size: 6vw
    }

    .statement>p {
        font-size: 6vw
    }

    .statement strong {
        font-size: 1.55em
    }

    .services {
        height: auto;
        padding-top: 70px
    }

    .service-row {
        height: 85px
    }

    .service-row>span {
        font-size: 40px
    }

    .service-row h3 {
        font-size: 3.5vw
    }

    .service-visual {
        height: 540px
    }

    .service-description {
        width: 30%;
        bottom: 30px
    }

    .service-description p {
        font-size: 14px
    }

    .service-image {
        left: 36%;
        width: 64%
    }

    .mockup-collage {
        min-width: 600px
    }

    .portfolio-heading>p {
        font-size: 5.2vw
    }

    .orbit {
        grid-template-columns: 32% 68%;
        min-height: 520px;
        height: 75svh
    }

    .orbit-item {
        width: clamp(240px, 32vw, 340px)
    }

    .orbit-count {
        font-size: 6vw
    }

    .project-copy p {
        font-size: 14px
    }

    .project-copy h3 {
        font-size: 22px
    }

    .orbit-controls {
        gap: 20px
    }

    .orbit-controls svg {
        width: 45px
    }

    .orbit-controls .orbit-pause {
        margin-left: 0
    }

    .learning {
        min-height: 650px;
        padding: 90px 3vw
    }

    .learning-logos {
        gap: 55px
    }

    .learning-logos>span {
        font-size: 45px
    }

    .footer-links>div>span {
        font-size: 21px
    }

    .footer-links p,
    .footer-links a,
    .footer-links button {
        font-size: 13px
    }

    .footer-frame {
        padding: 25px 35px
    }

    .footer-bottom {
        font-size: 8px
    }
}

@media(max-width:600px) {
    body {
        font-size: 14px
    }

    .header {
        padding: 15px 5%;
        height: 62px
    }

    .brand {
        left: 5%;
        width: 90%;
        transform: translateY(78px)
    }

    .header nav {
        gap: 8px
    }

    .button {
        font-size: 10px;
        padding: 10px 13px;
        min-height: 34px
    }

    .header .button-dark {
        display: none
    }

    .menu-toggle {
        width: 22px
    }

    .hero {
        height: 100svh;
        min-height: 650px
    }

    .hero-photo {
        top: 150px;
        width: 130%;
        height: calc(100% - 70px);
        mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent)
    }

    .hero-photo img {
        object-fit: cover;
        object-position: 50% 0;
        mask-image: linear-gradient(to bottom, transparent, #000 12%, #000)
    }

    .hero-bottom {
        left: 5%;
        right: 5%;
        bottom: 33px;
        gap: 15px;
        align-items: flex-end
    }

    .hero-badge {
        font-size: 7px;
        padding: 4px 6px;
        max-width: 155px;
        background: #e2e1e1a0
    }

    .hero-badge b {
        font-size: 6px;
        margin: 0 2px
    }

    .hero-location {
        font-size: 8px;
        gap: 7px
    }

    .globe {
        width: 26px
    }

    .portrait-note {
        left: 5%;
        font-size: 6px
    }

    .about {
        padding: 90px 5% 40px;
        min-height: auto
    }

    .about-heading h2 {
        font-size: 10.5vw
    }

    .about-heading p {
        position: relative;
        left: auto;
        top: auto;
        font-size: 14px;
        width: 90%;
        margin-top: 22px
    }

    .about-copy {
        width: 100%;
        margin-top: 70px;
        gap: 28px
    }

    .bracket-heading {
        font-size: 10vw
    }

    .about-copy p {
        font-size: 15px;
        line-height: 1.6
    }

    .draw-transition {
        /* Cover the viewport throughout the pin, including collapsed mobile browser chrome. */
        height: 100vh;
        height: 100lvh;
        min-height: 500px
    }

    .statement {
        padding: 20px
    }

    .statement>p {
        font-size: 8vw
    }

    .statement strong {
        font-size: 1.25em;
        white-space: nowrap;
        line-height: 1.2
    }

    .statement .bracket-heading {
        margin-top: 20px
    }

    .services {
        padding-top: 60px
    }

    .service-row {
        height: 80px;
        padding: 15px 5%;
        gap: 14px
    }

    .service-row>span {
        font-size: 33px;
        letter-spacing: -2px
    }

    .service-row h3 {
        font-size: 5vw;
        max-width: 75%
    }

    .service-visual {
        height: auto;
        display: flex;
        flex-direction: column-reverse
    }

    .service-description {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        padding: 27px 5% 38px
    }

    .service-description .eyebrow {
        margin-bottom: 12px;
        font-size: 8px
    }

    .service-description p {
        font-size: 15px;
        max-width: 460px
    }

    .service-image {
        position: relative;
        left: 0 !important;
        width: 100% !important;
        height: 340px
    }

    .mockup-collage {
        min-width: 420px
    }

    .mockup-one {
        top: 12%;
        left: 5%;
        width: 70% !important
    }

    .mockup-two {
        top: 44%;
        left: 33%;
        width: 70% !important
    }

    .visual-note {
        font-size: 6px;
        bottom: 8px;
        left: 10px
    }

    .data-stat {
        padding: 15px;
        right: 5%;
        bottom: 10%;
        width: 38%
    }

    .data-stat strong {
        font-size: 32px
    }

    .data-stat strong span {
        font-size: 18px
    }

    .data-stat>span,
    .data-stat small {
        font-size: 5px
    }

    .data-stat svg {
        margin-top: 15px
    }

    .portfolio {
        padding: 80px 5% 65px
    }

    .portfolio-heading>p {
        font-size: 8.1vw;
        line-height: 1.1;
        margin: 25px 0 20px
    }

    .project-disclaimer {
        font-size: 7px
    }

    .orbit {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
        min-height: 0;
        max-height: none;
        margin-top: 25px
    }

    .orbit-stage {
        height: 430px;
        width: 100%
    }

    .orbit-item {
        width: clamp(210px, 58vw, 300px)
    }

    .orbit-hint {
        bottom: 10px;
        font-size: 7px
    }

    .orbit-info {
        padding: 20px 0 0
    }

    .orbit-count {
        font-size: 43px;
        margin-bottom: 30px
    }

    .orbit-info-bottom {
        max-width: none
    }

    .project-copy h3 {
        font-size: 26px;
        margin-bottom: 12px
    }

    .project-copy p {
        font-size: 15px;
        max-width: 380px
    }

    .orbit-controls {
        margin-top: 30px;
        gap: 35px
    }

    .orbit-controls svg {
        width: 60px
    }

    .orbit-controls .orbit-pause {
        margin-left: auto
    }

    .portfolio-cta {
        justify-content: flex-start;
        margin-top: 30px
    }

    .learning {
        padding: 90px 5%;
        min-height: 650px;
        gap: 30px
    }

    .learning h2 {
        font-size: 11.2vw;
        letter-spacing: -.055em
    }

    .learning p {
        font-size: 15px;
        line-height: 1.6
    }

    .learning-logos {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
        margin: 12px 0
    }

    .learning-logos>span {
        font-size: 31px;
        letter-spacing: -1px;
        min-width: 38%
    }

    .learning-logos small {
        font-size: 6px
    }

    .learning>.eyebrow {
        font-size: 6px
    }

    .contact {
        height: 200svh
    }

    .contact-content {
        gap: 25px
    }

    .contact-content h2 {
        font-size: 17vw
    }

    .contact-content p {
        font-size: 14px;
        max-width: 315px
    }

    .contact .button-group {
        gap: 8px
    }

    .contact-words span {
        font-size: 26px
    }

    .contact-note {
        font-size: 7px
    }

    .footer {
        padding: 35px 5% 0
    }

    .footer-frame {
        border-width: 7px;
        padding: 28px 22px
    }

    .footer-frame:before,
    .footer-frame:after {
        width: 17px;
        border-width: 7px
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 28px 15px
    }

    .footer-links>div:last-child {
        grid-column: 1/-1
    }

    .footer-links>div>span {
        font-size: 17px;
        margin-bottom: 10px
    }

    .footer-links a,
    .footer-links p,
    .footer-links button {
        font-size: 12px
    }

    .footer-statement {
        font-size: 8vw;
        margin-top: 45px
    }

    .footer-bottom {
        font-size: 7px;
        padding: 25px 0 18px
    }

    .footer-bottom>span:nth-child(2) {
        display: none
    }

    dialog {
        padding: 55px 25px 30px
    }

    .content-dialog h2 {
        font-size: 35px;
        letter-spacing: -1px
    }

    .content-dialog>.eyebrow {
        font-size: 7px
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .case-grid h3 {
        margin-bottom: 8px
    }

    .case-intro {
        font-size: 16px
    }

    .menu-dialog nav a {
        font-size: 40px
    }

    .menu-dialog {
        padding: 35px 25px
    }

    .no-motion .brand {
        width: 185px
    }

    .no-motion .hero:before {
        top: 125px;
        left: 5%;
        font-size: 7.7vw
    }

    .no-motion .orbit-stage {
        height: 280px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    .contact {
        height: 100svh
    }

    .brand {
        width: 270px;
        transform: none
    }

    .hero:before {
        content: 'KANISHKA [DILHARA]';
        position: absolute;
        top: 100px;
        left: 2.22vw;
        font-size: 8.1vw;
        z-index: 2;
        letter-spacing: -.05em
    }

    .contact-words {
        display: none
    }
}

/* Progressive glass: strongest behind the navigation, feathered into the page. */
.header-glass {
    position: fixed;
    inset: 0 0 auto;
    height: 112px;
    z-index: 75;
    pointer-events: none;
    isolation: isolate;
    opacity: 0;
    transition: opacity .2s;
    transform: translateZ(0);
    contain: paint
}

.header-glass:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(#e2e1e130, #e2e1e100 90%);
    transition: background .4s
}

.header-glass.is-dark:before {
    background: linear-gradient(#07091020, #07091000 90%)
}

.header-glass i {
    position: absolute;
    inset: 0;
    display: block
}

.header-glass i:nth-child(1) {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    mask-image: linear-gradient(#000 0 25%, transparent 50%);
    -webkit-mask-image: linear-gradient(#000 0 25%, transparent 50%)
}

.header-glass i:nth-child(2) {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    mask-image: linear-gradient(#000 0 40%, transparent 65%);
    -webkit-mask-image: linear-gradient(#000 0 40%, transparent 65%)
}

.header-glass i:nth-child(3) {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    mask-image: linear-gradient(#000 0 55%, transparent 78%);
    -webkit-mask-image: linear-gradient(#000 0 55%, transparent 78%)
}

.header-glass i:nth-child(4) {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    mask-image: linear-gradient(#000 0 68%, transparent 90%);
    -webkit-mask-image: linear-gradient(#000 0 68%, transparent 90%)
}

.header-glass i:nth-child(5) {
    backdrop-filter: blur(.5px);
    -webkit-backdrop-filter: blur(.5px);
    mask-image: linear-gradient(#000 0 75%, transparent);
    -webkit-mask-image: linear-gradient(#000 0 75%, transparent)
}

/* One feathered glass layer keeps the effect without five overlapping
   backdrop passes over the portrait during native touch scrolling. */
@media (max-width:991px), (hover:none), (pointer:coarse) {
    .hero-photo { will-change:auto }
    .header-glass i:first-child {
        mask-image:linear-gradient(#000 0 30%,transparent 100%);
        -webkit-mask-image:linear-gradient(#000 0 30%,transparent 100%)
    }
    .header-glass i:not(:first-child) { display:none }
}

@media(max-width:600px) {
    .header-glass {
        height: 96px
    }

    .brand {
        top: 20px
    }

    .header nav {
        align-self: center
    }
}

@media(max-width:600px) {
    .brand {
        transform: translateY(38px)
    }

    .hero-photo {
        top: 130px;
        width: 165%;
        height: calc(100% + 260px)
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-end;
        gap: 18px;
        bottom: 32px
    }

    .hero-badge {
        order: 2;
        font-size: 9px;
        max-width: none;
        padding: 5px 8px;
        background: var(--paper)
    }

    .hero-location {
        order: 1;
        background: var(--paper);
        border: 1px solid var(--ink);
        border-radius: 99px;
        padding: 5px 10px;
        font-size: 9px
    }

    .globe {
        width: 28px
    }
}

.button-ink {
    position: absolute;
    inset: -25%;
    width: 150%;
    height: 150%;
    z-index: 1;
    pointer-events: none
}

.button-ink path {
    fill: none;
    stroke: var(--ink);
    stroke-linecap: round;
    stroke-linejoin: round
}

.button-dark .button-ink path,
.button-light .button-ink path {
    stroke: var(--blue)
}

.button:has(.button-ink):before {
    display: none
}
