:root {
    --bg: #061017;
    --bg-soft: #0d1822;
    --panel: rgba(9, 19, 28, 0.72);
    --panel-strong: rgba(14, 27, 39, 0.9);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f5f3eb;
    --muted: #aeb8c3;
    --blue: #5fa8ff;
    --ink: #7bc6b9;
    --cyan: #8ce5d2;
    --gold: #e7c98d;
    --rose: #b87686;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    --radius: 28px;
    --container: min(1220px, calc(100% - 32px));
    --motif-angle: 36deg;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(95, 168, 255, 0.18), transparent 26%),
        radial-gradient(circle at 86% 8%, rgba(184, 118, 134, 0.14), transparent 24%),
        radial-gradient(circle at 50% 75%, rgba(140, 229, 210, 0.1), transparent 22%),
        linear-gradient(145deg, #051018 0%, #08131c 38%, #050b11 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
}

body::before {
    top: 110px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 201, 141, 0.08), transparent 68%);
    filter: blur(10px);
}

body::after {
    left: -160px;
    bottom: 140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 168, 255, 0.1), transparent 70%);
    filter: blur(10px);
}

body.is-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

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

.page-shell {
    position: relative;
    isolation: isolate;
}

.brand-motif {
    position: absolute;
    display: grid;
    gap: 10px;
    pointer-events: none;
    opacity: 0.5;
}

.brand-motif span {
    display: block;
    width: 88px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(231, 201, 141, 0.85), rgba(95, 168, 255, 0.5));
    transform: rotate(var(--motif-angle));
    transform-origin: left center;
}

.brand-motif span:nth-child(2) {
    width: 58px;
}

.brand-motif span:nth-child(3) {
    width: 34px;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(95, 168, 255, 0.14), transparent 34%),
        radial-gradient(circle at bottom, rgba(184, 118, 134, 0.14), transparent 30%),
        linear-gradient(145deg, #041018 0%, #0a151d 100%);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.page-loader-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-family: 'Syne', sans-serif;
    background: linear-gradient(135deg, var(--gold), var(--blue));
    box-shadow: 0 14px 26px rgba(95, 168, 255, 0.28);
}

.page-loader-copy strong,
.page-loader-copy small {
    display: block;
}

.page-loader-copy small {
    margin-top: 4px;
    color: var(--muted);
}

.page-loader-status {
    min-width: 120px;
    margin-left: 6px;
}

.page-loader-percent {
    display: block;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    text-align: right;
}

.page-loader-bar {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.page-loader-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--rose));
}

.noise-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.grain-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0.7px, transparent 0.7px);
    background-size: 12px 12px;
    mix-blend-mode: soft-light;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section-pad {
    padding: 116px 0;
    position: relative;
}

.section-pad::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.section-slim {
    padding: 36px 0 80px;
}

.glass-panel,
.glass-pill {
    background: linear-gradient(180deg, rgba(17, 31, 44, 0.9), rgba(8, 18, 28, 0.72));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    position: relative;
    overflow: hidden;
}

.glass-panel::before,
.glass-pill::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
    pointer-events: none;
}

.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 22px 0 0;
    transition: padding 0.3s ease;
}

.site-header.scrolled {
    padding-top: 12px;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 22px;
    position: relative;
    overflow: visible;
    background: linear-gradient(180deg, rgba(13, 25, 36, 0.94), rgba(9, 18, 28, 0.86));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--blue));
    box-shadow: 0 0 18px rgba(231, 201, 141, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong,
.hero-copy h1,
.section-head h2,
.trust-band-intro h2,
.founder-copy h2 {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.04em;
}

.brand-text small,
.site-nav a,
.hero-intro,
.hero-role,
.hero-description,
.section-tag,
.about-content p,
.timeline-card p,
.project-content p,
.highlight-card p,
.contact-card p,
.footer-copy,
.footer-bottom,
.contact-links a,
.trust-card p,
.featured-project p,
.principle-card p {
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(231, 201, 141, 0.18), rgba(95, 168, 255, 0.18));
    border: 1px solid rgba(231, 201, 141, 0.24);
    color: #fff7e4;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--rose));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
}

.hero-section {
    padding-top: 84px;
    overflow: clip;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: min(1080px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-cursor-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(140, 229, 210, 0.18) 0%, rgba(95, 168, 255, 0.12) 34%, transparent 72%);
    filter: blur(10px);
    opacity: 0.7;
    transform: translate3d(-50%, -50%, 0);
    z-index: 0;
}

.hero-storyline {
    position: absolute;
    top: 132px;
    right: max(12px, calc((100vw - 1220px) / 2));
    width: 10px;
    height: 320px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 3;
}

.hero-story-progress {
    display: block;
    width: 100%;
    height: 22%;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--gold), var(--cyan), var(--blue));
    box-shadow: 0 0 22px rgba(140, 229, 210, 0.35);
    transform-origin: top;
}

.signature-strip {
    position: relative;
    overflow: hidden;
    padding: 14px 0 2px;
}

.signature-track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding-left: 24px;
    animation: ticker 26s linear infinite;
}

.signature-track span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #edf0e4;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-grid,
.about-grid,
.founder-grid,
.contact-grid {
    display: grid;
    gap: 34px;
    align-items: center;
}

.hero-grid-elite {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    min-height: calc(100vh - 148px);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-intro {
    margin: 28px 0 10px;
    font-size: 1.06rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.6rem, 8vw, 7rem);
    line-height: 0.9;
    background: linear-gradient(180deg, #fff8e9 0%, #e8d6a8 48%, #9dbddf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.hero-role {
    margin: 18px 0;
    font-size: clamp(1.2rem, 2.3vw, 1.85rem);
    color: #dde4e8;
}

.typed-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.typed-text {
    color: #fff3d5;
    min-width: 180px;
}

.typed-text::after {
    content: '|';
    margin-left: 4px;
    animation: blink 0.8s steps(1) infinite;
}

.hero-description {
    max-width: 640px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #d7dde4;
}

.hero-copy {
    max-width: 680px;
}

.hero-ledger {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 10px;
}

.hero-ledger span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1e7ca;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin: 34px 0 30px;
}

.hero-editorial-note {
    max-width: 410px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 24px;
    border-color: rgba(231, 201, 141, 0.16);
    background:
        radial-gradient(circle at top right, rgba(231, 201, 141, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(16, 28, 39, 0.96), rgba(8, 18, 28, 0.84));
}

.hero-editorial-note span {
    display: block;
    margin-bottom: 12px;
    color: #fff0c8;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-editorial-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.hero-editorial-note li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.hero-editorial-note li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--blue));
}

.hero-logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    color: #eff5ec;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 162px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn span {
    display: inline-block;
    transition: transform 0.24s ease;
}

.btn:hover,
.project-link:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--blue));
    color: #061017;
    box-shadow: 0 18px 34px rgba(95, 168, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line-strong);
}

.magnetic-btn {
    will-change: transform;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-story-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.story-metric {
    padding: 20px;
    border-radius: 24px;
}

.story-metric span {
    display: block;
    color: #e8d7a8;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.story-metric strong {
    display: block;
    margin: 10px 0 8px;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
}

.story-metric p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    color: #dce3ff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-portrait-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 24px;
    border-radius: 34px;
    overflow: hidden;
    transition: transform 0.28s ease;
    background:
        radial-gradient(circle at top left, rgba(231, 201, 141, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(16, 28, 39, 0.96), rgba(8, 18, 28, 0.82));
}

.brand-motif--hero {
    top: 32px;
    right: 26px;
}

.hero-portrait-badge {
    position: absolute;
    left: 22px;
    right: auto;
    top: auto;
    bottom: 170px;
    max-width: 260px;
    padding: 18px 20px;
    border-radius: 24px;
    z-index: 2;
    background: linear-gradient(180deg, rgba(12, 22, 32, 0.94), rgba(10, 18, 28, 0.84));
}

.hero-portrait-badge span {
    display: block;
    color: #fff0c8;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-portrait-badge strong {
    display: block;
    margin-top: 8px;
    line-height: 1.5;
}

.hero-portrait-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 640px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(5, 8, 14, 0.18)),
        url('../images/nikhlesh-portrait.jpg') center top / cover no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-portrait-frame::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 14, 0.74));
    z-index: 1;
}

.hero-portrait-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    object-position: center top;
}

.hero-portrait-cards {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    z-index: 2;
}

.mini-proof {
    padding: 16px 18px;
    border-radius: 22px;
}

.mini-proof span,
.featured-label,
.timeline-duration,
.project-meta span,
.skill-top span {
    display: block;
    color: #ead8a6;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mini-proof strong {
    display: block;
    margin-top: 8px;
    font-size: 0.96rem;
    line-height: 1.55;
}

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-icons span {
    position: absolute;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatUp 6.5s ease-in-out infinite;
}

.floating-icons span:nth-child(1) { top: 12%; left: -3%; }
.floating-icons span:nth-child(2) { top: 28%; right: -4%; animation-delay: 1s; }
.floating-icons span:nth-child(3) { bottom: 28%; left: -4%; animation-delay: 2s; }
.floating-icons span:nth-child(4) { bottom: 18%; right: 10%; animation-delay: 2.5s; }
.floating-icons span:nth-child(5) { top: 8%; right: 20%; animation-delay: 1.7s; }

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.8;
}

.orb-one {
    width: 260px;
    height: 260px;
    top: 16%;
    right: 9%;
    background: radial-gradient(circle, rgba(95, 168, 255, 0.24), transparent 72%);
}

.orb-two {
    width: 280px;
    height: 280px;
    bottom: 8%;
    left: 3%;
    background: radial-gradient(circle, rgba(184, 118, 134, 0.18), transparent 72%);
}

.metrics-grid,
.proof-strip-grid,
.positioning-grid {
    display: grid;
    gap: 22px;
}

.metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trusted-strip {
    position: relative;
}

.trusted-strip-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(95, 168, 255, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(231, 201, 141, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(14, 27, 39, 0.98), rgba(9, 18, 28, 0.88));
}

.trusted-strip-copy h2 {
    margin: 12px 0 12px;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 1.08;
}

.trusted-strip-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.trusted-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-content: start;
}

.trusted-logo-card {
    position: relative;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.trusted-logo-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--blue));
    opacity: 0.85;
}

.trusted-logo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.trusted-logo-card:nth-child(2n) {
    transform: translateY(18px);
}

.trusted-logo-card:nth-child(2n):hover {
    transform: translateY(14px);
}

.trusted-logo-card strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1.12rem;
    line-height: 1.2;
    color: #fff4d4;
}

.trusted-logo-card span {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.metric-card,
.proof-strip-card,
.positioning-card {
    padding: 24px;
    border-radius: var(--radius);
}

.metric-card strong {
    display: block;
    margin-bottom: 12px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff0c8;
}

.metric-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.metric-card p,
.proof-strip-card p,
.positioning-card p,
.contact-note p,
.contact-form-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.proof-strip-card h3,
.cta-copy h2 {
    margin: 0 0 14px;
}

.positioning-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.positioning-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #fff0c8;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.positioning-card h3,
.contact-form-intro h3 {
    margin: 0 0 14px;
    font-size: 1.28rem;
}

.trust-band-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.trust-band-intro,
.trust-card {
    padding: 26px;
    border-radius: var(--radius);
}

.trust-band-intro {
    grid-column: 1 / -1;
    min-height: 0;
    display: block;
}

.trust-band-intro h2 {
    max-width: 900px;
    margin: 14px 0 16px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.06;
}

.trust-band-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.trust-card {
    min-height: 220px;
}

.trust-card p {
    max-width: 100%;
}

.trust-card h3 {
    min-height: 64px;
    line-height: 1.3;
}

.trust-card,
.proof-strip-card,
.positioning-card,
.ideal-fit-card,
.skill-card,
.timeline-card,
.featured-project,
.project-card,
.highlight-card,
.principle-card,
.contact-panel,
.contact-form-wrap,
.metric-card {
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.trust-card:hover,
.proof-strip-card:hover,
.positioning-card:hover,
.ideal-fit-card:hover,
.skill-card:hover,
.timeline-card:hover,
.featured-project:hover,
.project-card:hover,
.highlight-card:hover,
.principle-card:hover,
.contact-panel:hover,
.contact-form-wrap:hover,
.metric-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.trust-band-intro h2,
.section-head h2,
.founder-copy h2 {
    margin: 12px 0 0;
    font-size: clamp(2.1rem, 4.8vw, 3.4rem);
    line-height: 1.05;
}

.section-head {
    max-width: 860px;
    margin-bottom: 44px;
}

.section-head .section-tag {
    position: relative;
    padding-left: 18px;
}

.section-head .section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--gold), var(--blue));
    box-shadow: 0 0 18px rgba(231, 201, 141, 0.4);
}

.trust-card h3,
.about-photo-copy strong,
.about-card h3,
.skill-top h3,
.timeline-card h3,
.featured-project h3,
.project-content h3,
.highlight-card h3,
.contact-card h3 {
    margin: 0 0 12px;
    font-size: 1.16rem;
}

.elite-about-grid {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.about-photo-card {
    padding: 18px;
    border-radius: 30px;
    overflow: hidden;
}

.about-photo-card img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
}

.about-photo-copy {
    padding: 18px 8px 6px;
}

.about-photo-copy span {
    display: block;
    margin-bottom: 8px;
    color: #d3ddff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.about-content p,
.founder-copy p {
    margin: 0 0 18px;
    font-size: 1.03rem;
    line-height: 1.9;
}

.founder-note {
    position: relative;
    margin-top: 28px;
    padding: 24px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(231, 201, 141, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(18, 29, 41, 0.96), rgba(9, 18, 28, 0.88));
    overflow: hidden;
}

.founder-note::before {
    content: '"';
    position: absolute;
    top: 8px;
    right: 18px;
    font-family: 'Syne', sans-serif;
    font-size: 7rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
}

.founder-note::after {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold), var(--cyan), var(--blue));
}

.founder-note h3 {
    margin: 12px 0 12px;
    font-size: 1.42rem;
    line-height: 1.3;
    max-width: 620px;
}

.founder-note-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.founder-note-points span {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #edf0e4;
    line-height: 1.6;
}

.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.about-stat,
.skill-card,
.timeline-card,
.featured-project,
.project-card,
.highlight-card,
.principle-card,
.contact-card,
.contact-form-wrap {
    border-radius: var(--radius);
}

.about-stat,
.skill-card,
.timeline-card,
.featured-project,
.highlight-card,
.principle-card,
.contact-card,
.contact-form-wrap {
    padding: 24px;
}

.about-stat strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 1.55rem;
}

.about-stat span {
    color: var(--muted);
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.skill-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.skill-list {
    display: grid;
    gap: 16px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.skill-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.skill-bar span {
    display: block;
    height: 100%;
    width: var(--skill-width);
    background: linear-gradient(90deg, var(--cyan), var(--blue), var(--rose));
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s ease;
}

.reveal.is-visible .skill-bar span {
    transform: scaleX(1);
}

.timeline {
    position: relative;
    display: grid;
    gap: 24px;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(84, 230, 255, 0.9), rgba(127, 92, 255, 0.2));
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 26px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--rose));
    box-shadow: 0 0 18px rgba(84, 230, 255, 0.44);
}

.timeline-card h4 {
    margin: 10px 0 12px;
    font-size: 1rem;
    color: #e3e9ff;
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.featured-project {
    position: relative;
    overflow: hidden;
    padding: 30px;
    min-height: 0;
}

.featured-project::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(231, 201, 141, 0.07), transparent 42%, rgba(95, 168, 255, 0.09));
}

.featured-project > * {
    position: relative;
    z-index: 1;
}

.featured-project strong {
    display: block;
    margin-top: 18px;
    color: #f0f3ff;
    line-height: 1.6;
}

.featured-project h3 {
    font-size: 1.3rem;
}

.featured-project-top,
.featured-project-body {
    display: grid;
    gap: 22px;
}

.featured-project-top {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.featured-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    color: #fff3d2;
}

.featured-project-body {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
}

.featured-project-main {
    display: grid;
    gap: 16px;
    max-width: 680px;
}

.featured-project-main p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
}

.case-study-meta {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.featured-project .case-study-meta {
    margin-top: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-project .case-study-meta > div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-project .case-study-meta > div:first-child {
    padding-top: 0;
}

.featured-project .case-study-meta > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.case-study-meta span {
    display: block;
    margin-bottom: 7px;
    color: #fff0c8;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.case-study-meta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.featured-project--corporate {
    background:
        radial-gradient(circle at top right, rgba(95, 168, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(16, 29, 42, 0.98), rgba(10, 19, 29, 0.88));
}

.featured-project--product {
    background:
        radial-gradient(circle at top right, rgba(231, 201, 141, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(21, 25, 41, 0.98), rgba(10, 18, 28, 0.88));
}

.featured-project--growth {
    background:
        radial-gradient(circle at top right, rgba(123, 198, 185, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(12, 28, 34, 0.98), rgba(10, 18, 28, 0.88));
}

.spotlight-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(231, 201, 141, 0.12), transparent 40%),
        radial-gradient(220px circle at calc(var(--spot-x, 50%) + 10%) calc(var(--spot-y, 50%) + 8%), rgba(95, 168, 255, 0.1), transparent 42%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.spotlight-card:hover::after {
    opacity: 1;
}

.spotlight-card > * {
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.22);
}

.projects-grid .project-card:nth-child(3n + 2) {
    transform: translateY(22px);
}

.projects-grid .project-card:nth-child(3n + 2):hover {
    transform: translateY(14px);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 201, 141, 0.1), transparent 46%, rgba(95, 168, 255, 0.14));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    height: 230px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.project-image::before,
.project-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
}

.project-image::before {
    width: 140px;
    height: 140px;
    right: -24px;
    top: -26px;
    background: rgba(255, 255, 255, 0.14);
}

.project-image::after {
    width: 180px;
    height: 180px;
    left: -48px;
    bottom: -64px;
    background: rgba(255, 255, 255, 0.08);
}

.project-badge,
.project-visual {
    position: relative;
    z-index: 1;
}

.project-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 10, 20, 0.28);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-visual {
    width: min(172px, 72%);
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 10, 20, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.project-visual-title {
    display: block;
    margin-bottom: 14px;
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
}

.project-visual-lines {
    display: grid;
    gap: 8px;
}

.project-visual-lines span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.project-visual-lines span:nth-child(1) { width: 88%; }
.project-visual-lines span:nth-child(2) { width: 68%; }
.project-visual-lines span:nth-child(3) { width: 52%; }

.project-image-art {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 56%;
    max-width: 210px;
    z-index: 0;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.35s ease;
}

.project-card:hover .project-image-art {
    transform: translateY(-4px) scale(1.03);
}

.project-image--cinema {
    background: linear-gradient(160deg, rgba(8, 14, 40, 0.98), rgba(72, 26, 96, 0.9));
}

.project-image--fashion {
    background: linear-gradient(160deg, rgba(25, 10, 20, 0.98), rgba(106, 47, 85, 0.9));
}

.project-image--hospital {
    background: linear-gradient(160deg, rgba(8, 25, 42, 0.98), rgba(17, 109, 142, 0.88));
}

.project-image--commerce {
    background: linear-gradient(160deg, rgba(15, 18, 42, 0.98), rgba(49, 83, 180, 0.9));
}

.project-image--learning {
    background: linear-gradient(160deg, rgba(18, 18, 42, 0.98), rgba(59, 76, 166, 0.9));
}

.project-image--desktop {
    background: linear-gradient(160deg, rgba(14, 18, 26, 0.98), rgba(77, 89, 113, 0.88));
}

.project-image--bakery {
    background: linear-gradient(160deg, rgba(41, 20, 10, 0.98), rgba(171, 101, 63, 0.88));
}

.project-image--salon {
    background: linear-gradient(160deg, rgba(34, 14, 28, 0.98), rgba(158, 78, 140, 0.9));
}

.project-image--plugin {
    background: linear-gradient(160deg, rgba(7, 24, 44, 0.98), rgba(21, 100, 171, 0.9));
}

.project-image--bakeryui {
    background: linear-gradient(160deg, rgba(58, 24, 14, 0.98), rgba(194, 121, 78, 0.88));
}

.project-image--blog {
    background: linear-gradient(160deg, rgba(14, 14, 30, 0.98), rgba(65, 76, 124, 0.9));
}

.project-image--portfolio {
    background: linear-gradient(160deg, rgba(12, 14, 30, 0.98), rgba(97, 74, 191, 0.9));
}

.project-image--ai {
    background: linear-gradient(160deg, rgba(7, 19, 30, 0.98), rgba(18, 138, 146, 0.88));
}

.project-image--corporate {
    background: linear-gradient(160deg, rgba(8, 14, 28, 0.98), rgba(21, 60, 125, 0.92));
}

.project-content {
    position: relative;
    padding: 24px;
    background: linear-gradient(180deg, rgba(11, 20, 30, 0.1), rgba(11, 20, 30, 0.38));
}

.project-content p {
    min-height: 90px;
    line-height: 1.7;
}

.project-meta {
    margin: 18px 0;
}

.project-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.founder-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.cta-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px;
    border-radius: 34px;
    align-items: start;
    background:
        radial-gradient(circle at top right, rgba(231, 201, 141, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(15, 28, 39, 0.98), rgba(9, 18, 28, 0.9));
    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-motif--cta {
    top: 28px;
    right: 28px;
}

.ideal-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ideal-fit-card {
    padding: 24px;
    border-radius: var(--radius);
}

.ideal-fit-card h3 {
    margin: 0 0 14px;
    font-size: 1.18rem;
}

.ideal-fit-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.cta-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.cta-actions,
.cta-pill-list,
.cta-buttons {
    display: grid;
    gap: 16px;
}

.cta-actions {
    max-width: 760px;
    justify-self: start;
    width: 100%;
}

.cta-pill-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-pill-list span,
.contact-direct-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cta-copy h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.04;
}

.cta-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.founder-grid-elite {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.founder-highlights,
.principle-grid {
    display: grid;
    gap: 20px;
}

.highlight-card strong,
.principle-card strong {
    display: inline-block;
    margin-bottom: 14px;
    color: #fff0c8;
    letter-spacing: 0.14em;
}

.principle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-card p {
    margin: 0;
    line-height: 1.7;
}

.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.contact-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: stretch;
}

.contact-panel {
    padding: 28px;
    border-radius: 34px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(95, 168, 255, 0.09), transparent 28%),
        linear-gradient(180deg, rgba(12, 25, 36, 0.98), rgba(9, 18, 28, 0.88));
}

.contact-panel-copy h3 {
    margin: 12px 0 12px;
    font-size: 1.55rem;
}

.contact-panel-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.contact-panel-copy h3,
.contact-form-intro h3,
.trusted-strip-copy h2,
.cta-copy h2 {
    letter-spacing: -0.03em;
}

.social-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-family: 'Syne', sans-serif;
    font-size: 0.92rem;
    background: linear-gradient(135deg, rgba(231, 201, 141, 0.2), rgba(95, 168, 255, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.social-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.social-meta strong {
    font-size: 0.95rem;
}

.social-meta small {
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-links {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 10px;
}

.contact-form span {
    color: #d9dfff;
    font-size: 0.94rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(84, 230, 255, 0.58);
    box-shadow: 0 0 0 4px rgba(84, 230, 255, 0.08);
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 16px;
}

.form-alert.success {
    background: rgba(72, 209, 139, 0.12);
    border: 1px solid rgba(72, 209, 139, 0.2);
}

.form-alert.error {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.contact-note,
.contact-form-intro {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-note strong {
    display: block;
    margin-bottom: 10px;
    color: #fff0c8;
}

.contact-direct-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.contact-direct-link {
    color: #eff5ec;
}

.contact-direct-link--primary {
    width: 100%;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.22), rgba(95, 168, 255, 0.16));
    border-color: rgba(37, 211, 102, 0.34);
    color: #f5fff7;
}

.form-followup {
    display: grid;
}

.site-footer {
    padding: 30px 0 42px;
}

.footer-shell {
    padding: 0 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(95, 168, 255, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(12, 24, 35, 0.98), rgba(9, 18, 28, 0.9));
}

.footer-grid,
.footer-bottom {
    display: grid;
    gap: 22px;
}

.footer-grid {
    grid-template-columns: 1.2fr 0.4fr 0.4fr;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    margin: 0 0 10px;
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
}

.footer-logo {
    display: block;
    width: 148px;
    height: auto;
    margin-bottom: 14px;
}

.footer-copy {
    margin: 0;
    max-width: 560px;
    line-height: 1.8;
}

.footer-tagline {
    margin: 14px 0 0;
    color: #f0dfb5;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1180px) {
    .trust-band-grid,
    .metrics-grid,
    .proof-strip-grid,
    .positioning-grid,
    .trusted-logo-grid,
    .ideal-fit-grid,
    .skills-grid,
    .projects-grid,
    .principle-grid,
    .founder-note-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-band-intro {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .hero-grid-elite,
    .elite-about-grid,
    .founder-grid-elite,
    .trusted-strip-shell,
    .contact-stage,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-storyline {
        display: none;
    }

    .trusted-logo-card:nth-child(2n),
    .trusted-logo-card:nth-child(2n):hover {
        transform: none;
    }
}

@media (max-width: 860px) {
    .site-header {
        padding-top: 14px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        z-index: 41;
        width: var(--container);
        margin: 0 auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        border-radius: 20px;
        background: rgba(8, 18, 28, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hero-grid-elite,
    .trust-band-grid,
    .metrics-grid,
    .proof-strip-grid,
    .positioning-grid,
    .trusted-logo-grid,
    .ideal-fit-grid,
    .skills-grid,
    .projects-grid,
    .principle-grid,
    .about-stat-grid,
    .hero-story-metrics,
    .social-grid,
    .hero-portrait-cards,
    .founder-note-points,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(2.9rem, 12vw, 4.8rem);
    }

    .cta-shell,
    .cta-buttons,
    .contact-direct-actions,
    .cta-pill-list {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-editorial-note,
    .hero-ledger {
        max-width: none;
    }

    .nav-cta {
        display: none;
    }

    .hero-logo-row {
        margin-bottom: 18px;
    }

    .hero-portrait-frame,
    .hero-portrait-image {
        min-height: 520px;
    }

    .hero-portrait-badge {
        position: static;
        max-width: none;
        margin: 18px 0 0;
    }

    .brand-motif {
        display: none;
    }

    .hero-cursor-light {
        display: none;
    }

    .featured-project-body {
        grid-template-columns: 1fr;
    }

    .featured-project .case-study-meta {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 18px;
    }

    .projects-grid .project-card:nth-child(3n + 2),
    .projects-grid .project-card:nth-child(3n + 2):hover {
        transform: none;
    }
}

@media (max-width: 560px) {
    .section-pad {
        padding: 92px 0;
    }

    .section-pad::before {
        top: 24px;
    }

    .nav-wrap,
    .hero-portrait-wrap,
    .trust-band-intro,
    .trust-card,
    .metric-card,
    .proof-strip-card,
    .positioning-card,
    .about-photo-card,
    .about-stat,
    .skill-card,
    .timeline-card,
    .featured-project,
    .project-content,
    .highlight-card,
    .principle-card,
    .contact-card,
    .contact-form-wrap {
        padding: 20px;
    }

    .hero-portrait-frame,
    .hero-portrait-image {
        min-height: 440px;
    }

    .footer-logo {
        width: 132px;
    }

    .featured-project {
        padding: 22px;
    }

    .project-image {
        height: 190px;
    }

    .typed-text {
        min-width: 0;
    }

    .metric-card strong {
        font-size: 2.3rem;
    }

    .page-loader-inner {
        flex-direction: column;
        align-items: stretch;
        width: min(320px, calc(100% - 32px));
    }

    .page-loader-status {
        margin-left: 0;
        min-width: 0;
    }

    .brand-mark {
        min-width: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text small {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.hero-identity-line {
    margin: -4px 0 18px;
    color: rgba(245, 243, 235, 0.78);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.timeline-highlights {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.timeline-highlights li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.timeline-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
    box-shadow: 0 0 12px rgba(140, 229, 210, 0.28);
}

.leadership-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    padding: 30px;
}

.leadership-copy h2 {
    margin: 10px 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.06;
}

.leadership-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
    max-width: 760px;
}

.leadership-point-list,
.leadership-stats-grid {
    display: grid;
    gap: 16px;
}

.leadership-point-list {
    margin-top: 24px;
}

.leadership-point-list span {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: #e6edf5;
    line-height: 1.6;
}

.leadership-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
}

.leadership-stat {
    padding: 22px;
    border-radius: 24px;
}

.leadership-stat strong {
    display: block;
    margin-bottom: 10px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.leadership-stat p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 860px) {
    .leadership-shell,
    .leadership-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .leadership-shell,
    .leadership-stat {
        padding: 20px;
    }
}

@media (max-width: 860px) {
    .hero-grid-elite {
        min-height: auto;
    }

    .hero-visual {
        order: -1;
    }

    .hero-portrait-cards {
        position: static;
        margin-top: 16px;
    }
}

@media (max-width: 560px) {
    .hero-portrait-frame,
    .hero-portrait-image {
        min-height: 360px;
    }
}

/* Production motion, accessibility, and interaction layer */
::selection {
    color: #061017;
    background: var(--cyan);
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

html {
    scrollbar-color: rgba(140, 229, 210, 0.62) #071119;
    scrollbar-width: thin;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #071119;
}

body::-webkit-scrollbar-thumb {
    border: 2px solid #071119;
    border-radius: 999px;
    background: linear-gradient(var(--gold), var(--cyan), var(--blue));
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 200;
    padding: 12px 18px;
    border-radius: 12px;
    color: #061017;
    background: var(--cyan);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 3px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--cyan), var(--blue), var(--rose));
    box-shadow: 0 0 18px rgba(140, 229, 210, 0.55);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

.page-loader {
    display: none;
}

.js .page-loader {
    display: grid;
}

.page-loader-mark {
    position: relative;
    overflow: hidden;
    animation: loaderBreath 1.8s ease-in-out infinite;
}

.page-loader-mark::after,
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -100% -45%;
    background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.7) 50%, transparent 58%);
    transform: translateX(-70%) rotate(12deg);
    animation: sheen 2.6s ease-in-out infinite;
    pointer-events: none;
}

.page-loader-fill {
    transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.scrolled .nav-wrap {
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(10, 22, 32, 0.96), rgba(7, 15, 23, 0.94));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-dot {
    animation: brandPulse 2.8s ease-in-out infinite;
}

.site-nav a.is-active {
    color: #fff7e4;
}

.site-nav a.is-active::after {
    transform: scaleX(1);
}

.menu-toggle span {
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.hero-copy h1 {
    background-size: 100% 160%;
    animation: titleGlow 7s ease-in-out infinite alternate;
}

.hero-portrait-wrap::after {
    content: '';
    position: absolute;
    inset: -35% auto -35% -42%;
    z-index: 3;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(16deg) translateX(-300%);
    animation: portraitSweep 7s 1.8s ease-in-out infinite;
    pointer-events: none;
}

.hero-portrait-image {
    filter: saturate(0.92) contrast(1.04);
    transform: scale(1.015);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.hero-portrait-wrap:hover .hero-portrait-image {
    filter: saturate(1) contrast(1.02);
    transform: scale(1.035);
}

.glass-panel,
.glass-pill {
    transform-style: preserve-3d;
}

.reveal {
    filter: blur(8px);
    transform: translateY(34px) scale(0.985);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        filter 0.8s ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.js body:not(.is-loaded) .hero-copy > *,
.js body:not(.is-loaded) .hero-visual {
    opacity: 0;
    transform: translateY(28px);
}

.hero-copy > *,
.hero-visual {
    transition: opacity 0.85s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-loaded .hero-copy > *:nth-child(2) { transition-delay: 80ms; }
.is-loaded .hero-copy > *:nth-child(3) { transition-delay: 140ms; }
.is-loaded .hero-copy > *:nth-child(4) { transition-delay: 200ms; }
.is-loaded .hero-copy > *:nth-child(5) { transition-delay: 260ms; }
.is-loaded .hero-copy > *:nth-child(6) { transition-delay: 320ms; }
.is-loaded .hero-copy > *:nth-child(n+7) { transition-delay: 380ms; }
.is-loaded .hero-visual { transition-delay: 180ms; }

.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary::after {
    animation-duration: 3.8s;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.project-link,
.social-card,
.contact-direct-link,
.trusted-logo-card {
    outline-offset: 3px;
}

.project-image-art {
    will-change: transform;
}

.form-privacy {
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.form-alert[hidden] {
    display: none;
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
    border-color: rgba(255, 107, 107, 0.62);
}

@supports (content-visibility: auto) {
    main > section:not(.hero-section) {
        content-visibility: auto;
        contain-intrinsic-size: auto 720px;
    }
}

@keyframes loaderBreath {
    0%, 100% { transform: scale(1); box-shadow: 0 14px 26px rgba(95, 168, 255, 0.28); }
    50% { transform: scale(1.06); box-shadow: 0 18px 38px rgba(140, 229, 210, 0.35); }
}

@keyframes sheen {
    0%, 45% { transform: translateX(-80%) rotate(12deg); }
    70%, 100% { transform: translateX(180%) rotate(12deg); }
}

@keyframes brandPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(231, 201, 141, 0.35); }
    50% { transform: scale(1.18); box-shadow: 0 0 26px rgba(140, 229, 210, 0.48); }
}

@keyframes titleGlow {
    from { background-position: 50% 0%; filter: brightness(1); }
    to { background-position: 50% 100%; filter: brightness(1.08); }
}

@keyframes portraitSweep {
    0%, 62% { transform: rotate(16deg) translateX(-320%); opacity: 0; }
    70% { opacity: 1; }
    86%, 100% { transform: rotate(16deg) translateX(760%); opacity: 0; }
}

@media (max-width: 860px) {
    .site-nav a {
        width: 100%;
        padding: 8px 2px;
    }

    .site-nav a::after {
        bottom: 2px;
        width: 42px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .js body:not(.is-loaded) .hero-copy > *,
    .js body:not(.is-loaded) .hero-visual {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .signature-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }

    .floating-icons span {
        animation: none;
    }
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.error-card {
    width: min(680px, 100%);
    padding: clamp(28px, 6vw, 64px);
    border-radius: 34px;
    text-align: center;
}

.error-code {
    display: block;
    margin: 18px 0 6px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(5rem, 18vw, 10rem);
    line-height: 0.9;
    color: transparent;
    background: linear-gradient(135deg, var(--gold), var(--cyan), var(--blue));
    background-clip: text;
    -webkit-background-clip: text;
}

.error-card h1 {
    margin: 22px 0 12px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.error-card p {
    margin: 0 auto 28px;
    max-width: 520px;
    color: var(--muted);
    line-height: 1.8;
}
