:root {
    --bg: #081018;
    --bg-deep: #060c13;
    --bg-soft: #0f1720;

    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.06);

    --text: #f3f4f6;
    --muted: #a8b3bf;
    --muted-strong: #c6d0da;

    --line: rgba(255, 255, 255, 0.10);

    --orange: #ff8a3d;
    --teal: #2d8f8b;
    --green: #7dff9b;

    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.34);
    --radius-md: 20px;
    --radius-lg: 32px;

    --max-width: 1200px;
    --header-height: 104px;

    --hero-scrub-progress: 0;
    --hero-scrub-percent: 0%;
    --hero-panel-tilt: 0deg;
    --hero-column-shift: 0px;
    --hero-orbit-rotate: 0deg;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(45, 143, 139, 0.14), transparent 26%),
        radial-gradient(circle at 84% 8%, rgba(255, 138, 61, 0.12), transparent 24%),
        radial-gradient(circle at 78% 32%, rgba(125, 255, 155, 0.05), transparent 20%),
        linear-gradient(180deg, #071018 0%, #0a1017 44%, #0b131b 100%);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

main {
    overflow: clip;
}

section {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 16px;
    background: linear-gradient(180deg, rgba(6, 12, 19, 0.82), rgba(6, 12, 19, 0.22) 72%, transparent);
}

.header-bar {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    background: rgba(8, 16, 24, 0.62);
    backdrop-filter: blur(18px);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    white-space: nowrap;
}

.brand-name {
    font-size: 0.98rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--text);
    line-height: 1.05;
}

.brand-meta {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.1;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 0;
}

.site-nav a {
    position: relative;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: rgba(255, 138, 61, 0.8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.site-nav a:hover {
    color: var(--text);
}

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

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.hero {
    position: relative;
    padding: 50px 0 110px;
}

.hero-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 72px;
    align-items: end;
    min-height: calc(100vh - var(--header-height) - 50px);
}

.hero-stage::before {
    content: "";
    position: absolute;
    top: 2%;
    right: 5%;
    width: min(36vw, 470px);
    height: min(36vw, 470px);
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255, 138, 61, 0.28) 0%, rgba(255, 138, 61, 0.12) 34%, transparent 72%);
    filter: blur(18px);
    pointer-events: none;
    z-index: -3;
    transform: translate3d(0, calc(var(--hero-scrub-progress) * -42px), 0) scale(calc(1 + var(--hero-scrub-progress) * 0.06));
}

.hero-stage::after {
    content: "";
    position: absolute;
    right: 12%;
    top: 18%;
    width: min(18vw, 220px);
    height: min(18vw, 220px);
    border-radius: 50%;
    border: 1px solid rgba(125, 255, 155, 0.16);
    box-shadow:
        0 0 0 24px rgba(125, 255, 155, 0.03),
        0 0 0 56px rgba(125, 255, 155, 0.02);
    pointer-events: none;
    z-index: -2;
    transform: translate3d(0, calc(var(--hero-scrub-progress) * 26px), 0) rotate(calc(var(--hero-scrub-progress) * 16deg));
}

.hero-orbit {
    position: absolute;
    right: min(5%, 48px);
    top: 8%;
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    pointer-events: none;
    z-index: -1;
    transform: rotate(var(--hero-orbit-rotate));
    transform-origin: 50% 50%;
}

.hero-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.hero-orbit-ring-1 {
    border: 1px solid rgba(255, 255, 255, 0.07);
    transform: scale(1);
}

.hero-orbit-ring-2 {
    border: 1px solid rgba(125, 255, 155, 0.12);
    transform: scale(0.78) rotate(18deg);
}

.hero-orbit-dot {
    position: absolute;
    border-radius: 50%;
}

.hero-orbit-dot-1 {
    width: 10px;
    height: 10px;
    background: var(--orange);
    top: 9%;
    left: 74%;
    box-shadow: 0 0 22px rgba(255, 138, 61, 0.45);
}

.hero-orbit-dot-2 {
    width: 8px;
    height: 8px;
    background: var(--green);
    top: 74%;
    left: 10%;
    box-shadow: 0 0 18px rgba(125, 255, 155, 0.4);
}

.hero-column {
    position: relative;
    max-width: 800px;
    padding: 74px 0 24px;
    transform: translate3d(0, var(--hero-column-shift), 0);
}

.eyebrow,
.section-label,
.card-number,
.hero-panel-kicker,
.hero-metric-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.68rem;
    font-weight: 700;
}

.eyebrow,
.section-label,
.hero-panel-kicker,
.hero-metric-label {
    color: var(--green);
}

.eyebrow,
.section-label {
    position: relative;
    display: inline-block;
    padding-left: 18px;
}

.eyebrow::before,
.section-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 8px;
    height: 1px;
    background: currentColor;
    opacity: 0.9;
}

.hero-title {
    margin: 14px 0 0;
    max-width: 10.5ch;
    font-size: clamp(3.9rem, 8vw, 7.8rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
    font-weight: 700;
    text-wrap: balance;
}

.hero-title span {
    display: block;
    margin-top: 22px;
    max-width: 10.5ch;
    font-size: clamp(1.08rem, 1.5vw, 1.34rem);
    line-height: 1.48;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: var(--muted-strong);
}

.hero-summary {
    margin: 36px 0 0;
    max-width: 54ch;
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--muted-strong);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 650;
    letter-spacing: 0.03em;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--orange), #ff9e5c);
    color: #101010;
    box-shadow: 0 12px 28px rgba(255, 138, 61, 0.22);
}

.button-primary:hover {
    box-shadow: 0 18px 34px rgba(255, 138, 61, 0.24);
}

.button-secondary {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.hero-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: center;
    padding-top: 42px;
}

.hero-panel {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        linear-gradient(150deg, rgba(45, 143, 139, 0.14), rgba(255, 138, 61, 0.08));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform:
        perspective(1200px)
        rotateX(calc(var(--hero-scrub-progress) * 3deg))
        rotateY(var(--hero-panel-tilt))
        translate3d(0, calc(var(--hero-scrub-progress) * -10px), 0);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 28%),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.01));
    pointer-events: none;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        linear-gradient(
            110deg,
            transparent 38%,
            rgba(255, 255, 255, 0.03) 46%,
            rgba(255, 255, 255, 0.07) 50%,
            rgba(255, 255, 255, 0.02) 54%,
            transparent 62%
        );
    transform: translateX(calc((var(--hero-scrub-progress) - 0.5) * 32%));
    pointer-events: none;
}

.hero-panel-kicker {
    position: relative;
    margin: 0 0 18px;
    z-index: 1;
}

.hero-scrub-copy {
    position: relative;
    display: grid;
    margin-bottom: 28px;
    padding-right: 14px;
    min-height: 3.35em;
}

.hero-scrub-base,
.hero-scrub-active {
    grid-area: 1 / 1;
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 4.1rem);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 700;
    max-width: 9ch;
}

.hero-scrub-base {
    color: rgba(255, 255, 255, 0.16);
}

.hero-scrub-active {
    position: relative;
    color: var(--text);
    white-space: normal;
    clip-path: inset(0 calc(100% - var(--hero-scrub-percent)) 0 0);
    text-shadow:
        0 0 24px rgba(255, 138, 61, 0.18),
        0 0 42px rgba(125, 255, 155, 0.08);
}

.hero-scrub-beam {
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: var(--hero-scrub-percent);
    width: 3px;
    background: linear-gradient(
        180deg,
        rgba(125, 255, 155, 0),
        rgba(125, 255, 155, 1),
        rgba(255, 138, 61, 0)
    );
    box-shadow:
        0 0 20px rgba(125, 255, 155, 0.55),
        0 0 46px rgba(255, 138, 61, 0.24),
        0 0 80px rgba(255, 138, 61, 0.10);
    transform: translateX(-1px);
}

.hero-scrub-glow {
    position: absolute;
    top: -16%;
    bottom: -16%;
    left: var(--hero-scrub-percent);
    width: 96px;
    background: radial-gradient(circle at center, rgba(255, 138, 61, 0.18), rgba(125, 255, 155, 0.10) 30%, transparent 72%);
    filter: blur(14px);
    transform: translateX(-48px);
    pointer-events: none;
}

.hero-panel-text {
    position: relative;
    margin: 0;
    max-width: 24ch;
    font-size: clamp(1rem, 1.2vw, 1.08rem);
    line-height: 1.7;
    letter-spacing: -0.01em;
    font-weight: 500;
    color: var(--muted-strong);
    z-index: 1;
}

.hero-panel-divider {
    width: 100%;
    height: 1px;
    margin: 28px 0 22px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.03));
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.hero-metric {
    display: grid;
    gap: 5px;
}

.hero-metric-value {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--muted-strong);
}

.hero-note {
    margin: 0;
    max-width: 34ch;
    padding-left: 4px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.section {
    position: relative;
    padding: 124px 0;
}

.intro-band {
    padding-top: 10px;
    padding-bottom: 96px;
}

.intro-layout,
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.section-shell {
    display: flex;
    flex-direction: column;
    gap: 54px;
}

.section-heading {
    max-width: 760px;
}

.section-heading.narrow {
    max-width: 620px;
}

.section-title,
.contact-title {
    margin: 14px 0 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 680;
    text-wrap: balance;
}

.section-text,
.about-right p,
.contact-text {
    max-width: 62ch;
    color: var(--muted-strong);
    font-size: 1.04rem;
    line-height: 1.82;
}

.about-right p,
.contact-text,
.section-text {
    margin-top: 20px;
}

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

.service-card,
.approach-block,
.portfolio-card,
.mini-card,
.contact-card {
    padding: 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--panel), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.service-card h3,
.approach-block h3,
.portfolio-card h3 {
    margin: 12px 0 12px;
    max-width: 20ch;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 620;
}

.service-card p:last-child,
.approach-block p,
.clean-list li,
.portfolio-card p,
.mini-card span,
.contact-card span {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

.card-number {
    color: var(--orange);
    font-size: 0.72rem;
}

.section-dark {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, #0b141d 0%, #0f1821 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.portfolio-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.portfolio-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(125, 255, 155, 0.08), transparent 34%);
    pointer-events: none;
}

.portfolio-card > * {
    position: relative;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.project-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--muted-strong);
    font-size: 0.76rem;
    font-weight: 650;
}

.project-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 22px;
    color: var(--green);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-link:hover {
    color: var(--text);
}

.daily-flyer-layout .about-right {
    max-width: 68ch;
}

.mini-card-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.mini-card {
    padding: 20px;
    display: grid;
    gap: 6px;
}

.mini-card strong {
    font-size: 0.92rem;
    color: var(--text);
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.contact-card {
    display: grid;
    gap: 6px;
    padding: 24px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.contact-card strong {
    color: var(--text);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

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

.clean-list {
    margin: 18px 0 0;
    padding-left: 18px;
}

.clean-list li {
    margin-bottom: 12px;
}

.about-right {
    max-width: 62ch;
}

.about-right p:first-child {
    margin-top: 0;
}

.contact-section {
    padding-top: 136px;
    padding-bottom: 136px;
}

.contact-shell {
    max-width: 900px;
}

.contact-title {
    max-width: 12ch;
}

.contact-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translate3d(0, 28px, 0);
}

.reveal-on-load {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
}

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

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.stagger-group .stagger-item:nth-child(1) { transition-delay: 0.02s; }
.stagger-group .stagger-item:nth-child(2) { transition-delay: 0.08s; }
.stagger-group .stagger-item:nth-child(3) { transition-delay: 0.14s; }
.stagger-group .stagger-item:nth-child(4) { transition-delay: 0.20s; }
.stagger-group .stagger-item:nth-child(5) { transition-delay: 0.26s; }
.stagger-group .stagger-item:nth-child(6) { transition-delay: 0.32s; }

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

    .reveal,
    .reveal-up,
    .reveal-on-load,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-stage::before,
    .hero-stage::after,
    .hero-panel,
    .hero-column,
    .hero-orbit {
        transform: none;
    }

    .hero-scrub-active {
        clip-path: inset(0 0 0 0);
    }

    .hero-scrub-beam {
        left: 100%;
    }

    .hero-scrub-glow {
        left: 100%;
    }
}

@media (max-width: 1120px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .hero-stage,
    .intro-layout,
    .about-layout,
    .service-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 92px;
    }

    .hero-stage {
        min-height: auto;
        gap: 34px;
    }

    .hero-stage::before {
        top: 2%;
        right: 8%;
        width: min(52vw, 380px);
        height: min(52vw, 380px);
    }

    .hero-stage::after {
        display: none;
    }

    .hero-orbit {
        width: min(52vw, 360px);
        height: min(52vw, 360px);
        right: 2%;
        top: 4%;
    }

    .hero-column {
        padding: 28px 0 0;
        max-width: 100%;
    }

    .hero-title {
        max-width: 10ch;
    }

    .hero-title span {
        max-width: 24ch;
    }

    .hero-aside {
        align-self: start;
        max-width: 760px;
        padding-top: 0;
    }

    .section,
    .contact-section {
        padding: 96px 0;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 120px;
    }

    .site-header {
        padding-top: 10px;
    }

    .header-bar {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 24px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .hero-orbit {
        opacity: 0.55;
        width: min(70vw, 300px);
        height: min(70vw, 300px);
        right: -2%;
        top: 6%;
    }

    .hero-title {
        font-size: clamp(2.9rem, 12vw, 4.6rem);
    }

    .hero-title span {
        margin-top: 16px;
        font-size: 1.04rem;
        max-width: 22ch;
    }

    .hero-summary,
    .section-text,
    .about-right p,
    .contact-text {
        font-size: 1rem;
        line-height: 1.72;
    }

    .hero-panel {
        padding: 26px 22px 24px;
    }

    .hero-scrub-copy {
        min-height: 2.8em;
    }

    .hero-scrub-base,
    .hero-scrub-active {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
    }

    .hero-scrub-glow {
        width: 72px;
        transform: translateX(-36px);
    }

    .section-title,
    .contact-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .service-card,
    .approach-block,
    .portfolio-card {
        padding: 24px 22px;
    }

    .portfolio-grid,
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
}