:root {
    --bg: #f3f0e8;
    --surface: #faf8f2;
    --surface-strong: #e8e4da;
    --ink: #111c26;
    --muted: #68717a;
    --line: #cfcac0;
    --header: rgba(243, 240, 232, .94);
    --accent: #ef6547;
    --dark: #111c26;
    --dark-text: #f6f3ec;
    --coral: #ef6547;
    --lilac: #a59acf;
    --lime: #b3c64b;
    --max: 1380px;
    --ease: cubic-bezier(.2, .75, .25, 1);
}

html[data-theme="dark"] {
    --bg: #10171d;
    --surface: #171f26;
    --surface-strong: #222b32;
    --ink: #f2f0e9;
    --muted: #aab0b4;
    --line: #354049;
    --header: rgba(16, 23, 29, .94);
    --dark: #f2f0e9;
    --dark-text: #111c26;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    transition: background-color .35s ease, color .35s ease;
}

body.menu-open {
    overflow: hidden;
}

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

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

button {
    color: inherit;
    font: inherit;
}

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

.scroll-progress {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--accent);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 88px;
    padding: 0 max(28px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid var(--line);
    background: var(--header);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font: 900 20px/1 "Roboto", sans-serif;
    transition: transform .4s var(--ease), background-color .3s ease, color .3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(-12deg);
    background: var(--ink);
    color: var(--bg);
}

.brand-copy {
    display: grid;
    line-height: 1;
}

.brand-copy strong {
    font: 900 19px/1 "Roboto", sans-serif;
    letter-spacing: .08em;
}

.brand-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .24em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s var(--ease);
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.theme-toggle,
.menu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.theme-icon {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.theme-icon::after {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--ink);
    content: "";
    clip-path: inset(0 50% 0 0);
    transition: transform .35s var(--ease);
}

html[data-theme="dark"] .theme-icon::after {
    transform: rotate(180deg);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    font: 700 13px/1 "Open Sans", sans-serif;
    transition: color .25s ease, background-color .25s ease, transform .25s var(--ease);
}

.header-cta:hover,
.button:hover {
    transform: translateY(-3px);
}

.header-cta {
    background: var(--ink);
    color: var(--bg);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 12px 9px;
}

.menu-toggle span {
    display: block;
    height: 1px;
    margin: 6px 0;
    background: currentColor;
    transition: transform .3s ease;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .55fr);
    width: min(calc(100% - 56px), var(--max));
    min-height: calc(100vh - 88px);
    margin: 0 auto;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 110px 8.5% 140px;
    border-right: 1px solid var(--line);
}

.kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
}

.kicker::before {
    display: block;
    width: 32px;
    height: 1px;
    background: currentColor;
    content: "";
}

.hero h1,
.section-heading h2,
.principles h2,
.stack-copy h2,
.closing h2 {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .92;
}

.hero h1 {
    max-width: 870px;
    font-size: clamp(64px, 7.4vw, 118px);
}

.hero h1 span {
    display: block;
}

.hero h1 span:last-child {
    color: var(--accent);
}

.hero-lead {
    max-width: 650px;
    margin: 44px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 42px;
}

.button-primary {
    min-width: 216px;
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.availability i,
.live-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #56a56b;
    box-shadow: 0 0 0 5px rgba(86, 165, 107, .15);
    animation: statusPulse 2s ease infinite;
}

.hero-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 9%;
}

.aside-label {
    margin: 0 0 44px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.aside-statement {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.aside-statement:last-child {
    border-bottom: 1px solid var(--line);
}

.aside-number {
    color: var(--accent);
    font: 700 12px/1.8 "Roboto", sans-serif;
}

.aside-statement p {
    margin: 0;
    font: 500 16px/1.55 "Roboto", sans-serif;
}

.hero-index {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 82px;
    padding: 0 5.3%;
    border-top: 1px solid var(--line);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-index i {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.hero-index strong {
    color: var(--accent);
    font: 900 24px/1 "Roboto", sans-serif;
}

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    color: var(--bg);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 72px;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    padding: 0 35px;
    font: 700 12px/1 "Open Sans", sans-serif;
    letter-spacing: .16em;
    white-space: nowrap;
}

.marquee-track i {
    color: var(--accent);
    font-size: 8px;
    font-style: normal;
}

.work-section,
.principles,
.stack-section {
    width: min(calc(100% - 56px), var(--max));
    margin: 0 auto;
}

.work-section {
    padding: 150px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(320px, .56fr);
    align-items: end;
    gap: 80px;
    margin-bottom: 80px;
}

.section-heading h2,
.principles h2,
.stack-copy h2 {
    font-size: clamp(48px, 6vw, 88px);
}

.section-heading > p {
    max-width: 520px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 17px;
}

.demo-list {
    display: grid;
    gap: 110px;
}

.demo-card {
    --card-accent: var(--coral);
}

.demo-card--lilac {
    --card-accent: var(--lilac);
}

.demo-card--lime {
    --card-accent: var(--lime);
}

.demo-visual {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
}

.demo-visual::after {
    position: absolute;
    inset: 0;
    border: 0 solid var(--card-accent);
    content: "";
    pointer-events: none;
    transition: border-width .35s var(--ease);
}

.demo-visual:hover::after {
    border-width: 9px;
}

.demo-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 2.1 / 1;
    object-fit: cover;
    object-position: top;
    transition: transform .75s var(--ease), filter .5s ease;
}

.demo-visual:hover img {
    transform: scale(1.025);
}

.live-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    background: var(--surface);
    color: var(--ink);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
}

.visual-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 50%;
    background: var(--card-accent);
    color: #111c26;
    font: 400 26px/1 "Roboto", sans-serif;
    transition: transform .35s var(--ease);
}

.demo-visual:hover .visual-arrow {
    transform: rotate(45deg);
}

.demo-info {
    display: grid;
    grid-template-columns: .42fr 1.15fr .8fr;
    gap: 50px;
    padding-top: 36px;
}

.demo-index {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.demo-index span {
    color: var(--card-accent);
    font: 900 36px/1 "Roboto", sans-serif;
}

.demo-index small {
    max-width: 100px;
    padding-top: 4px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .15em;
}

.demo-brand {
    margin: 0 0 8px !important;
    color: var(--card-accent) !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.demo-copy h3 {
    margin: 0;
    font: 900 clamp(30px, 3vw, 46px)/1.05 "Roboto", sans-serif;
    letter-spacing: -.035em;
}

.demo-copy > p {
    max-width: 630px;
    margin: 20px 0 0;
    color: var(--muted);
}

.demo-meta {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.demo-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.demo-meta li {
    padding: 7px 10px;
    border: 1px solid var(--line);
    font-size: 10px;
    font-weight: 700;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    transition: transform .25s ease;
}

.text-link:hover span {
    transform: translate(4px, -4px);
}

.principles {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 90px;
    padding: 140px 0;
    border-top: 1px solid var(--line);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    border-top: 1px solid var(--line);
}

.principle {
    min-height: 320px;
    padding: 30px 28px;
    border-right: 1px solid var(--line);
    transition: background-color .3s ease, transform .3s var(--ease);
}

.principle:first-child {
    border-left: 1px solid var(--line);
}

.principle:hover {
    z-index: 1;
    background: var(--surface);
    transform: translateY(-8px);
}

.principle span {
    color: var(--accent);
    font: 700 12px/1 "Roboto", sans-serif;
}

.principle h3 {
    margin: 80px 0 15px;
    font: 700 22px/1.15 "Roboto", sans-serif;
    letter-spacing: -.025em;
}

.principle p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.stack-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 670px;
    margin-bottom: 150px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.stack-stamp {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background: var(--surface-strong);
}

.stack-stamp::before,
.stack-stamp::after {
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px solid var(--line);
    border-radius: 50%;
    content: "";
}

.stack-stamp::after {
    width: 310px;
    height: 310px;
    border-color: var(--accent);
}

.stack-stamp span,
.stack-stamp i {
    position: relative;
    z-index: 1;
}

.stack-stamp span {
    font: 900 clamp(66px, 8vw, 116px)/.78 "Roboto", sans-serif;
    letter-spacing: -.08em;
}

.stack-stamp i {
    margin: 26px 0;
    color: var(--accent);
    font: 400 34px/1 "Roboto", sans-serif;
}

.stack-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8%;
}

.stack-copy > p:not(.kicker) {
    max-width: 580px;
    margin: 34px 0;
    color: var(--muted);
    font-size: 17px;
}

.stack-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.stack-facts span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.closing {
    display: flex;
    min-height: 650px;
    padding: 110px max(28px, calc((100vw - var(--max)) / 2));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ef6547;
    color: #fff;
    text-align: center;
}

.closing .kicker {
    color: #fff;
}

.closing h2 {
    max-width: 1200px;
    font-size: clamp(46px, 6.1vw, 90px);
}

.closing h2 em {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

.button-light {
    min-width: 250px;
    margin-top: 50px;
    border-color: #fff;
    background: #fff;
    color: #111c26;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    min-height: 170px;
    padding: 35px max(28px, calc((100vw - var(--max)) / 2));
    background: #111c26;
    color: #f6f3ec;
}

.site-footer .brand-mark {
    border-color: #f6f3ec;
}

.site-footer .brand-copy small,
.site-footer > p {
    color: #9ba4aa;
}

.site-footer > p {
    margin: 0;
    text-align: center;
    font-size: 12px;
}

.footer-meta {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    color: #9ba4aa;
    font-size: 11px;
}

.footer-meta a {
    color: #fff;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes statusPulse {
    50% { box-shadow: 0 0 0 9px rgba(86, 165, 107, 0); }
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        grid-column: 2;
    }

    .hero {
        grid-template-columns: 1.35fr .65fr;
    }

    .hero-main {
        padding-right: 6%;
        padding-left: 6%;
    }

    .demo-info {
        grid-template-columns: .35fr 1fr;
    }

    .demo-meta {
        grid-column: 2;
        padding-left: 0;
        border-left: 0;
    }

    .principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 72px;
        padding: 0 18px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small,
    .theme-label,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        z-index: 20;
        top: 71px;
        right: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        width: 100vw;
        height: calc(100vh - 71px);
        padding: 45px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        overflow-y: auto;
        border-top: 1px solid var(--line);
        background: var(--bg);
        opacity: 0;
        transform: translateY(-16px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
    }

    .main-nav a {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font: 900 31px/1 "Roboto", sans-serif;
    }

    body.menu-open .main-nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    body.menu-open .menu-toggle span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    body.menu-open .menu-toggle span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .hero {
        display: block;
        width: calc(100% - 28px);
        min-height: auto;
    }

    .hero-main {
        min-height: calc(100vh - 72px);
        padding: 95px 22px 130px;
        border-right: 0;
    }

    .hero h1 {
        font-size: clamp(54px, 17vw, 78px);
    }

    .hero-lead {
        margin-top: 32px;
        font-size: 16px;
    }

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

    .hero-aside {
        display: none;
    }

    .hero-index {
        padding: 0 22px;
    }

    .work-section,
    .principles,
    .stack-section {
        width: calc(100% - 28px);
    }

    .work-section {
        padding: 90px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 48px;
    }

    .section-heading h2,
    .principles h2,
    .stack-copy h2 {
        font-size: clamp(45px, 14vw, 66px);
    }

    .section-heading > p {
        font-size: 15px;
    }

    .demo-list {
        gap: 78px;
    }

    .demo-visual {
        min-height: 210px;
    }

    .demo-visual img {
        min-height: 230px;
        aspect-ratio: 1.25 / 1;
    }

    .live-badge {
        top: 14px;
        left: 14px;
    }

    .visual-arrow {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }

    .demo-info {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 25px;
    }

    .demo-index {
        align-items: center;
    }

    .demo-index small {
        max-width: none;
    }

    .demo-meta {
        grid-column: auto;
    }

    .principles {
        gap: 55px;
        padding: 95px 0;
    }

    .principle-grid {
        grid-template-columns: 1fr;
    }

    .principle {
        min-height: 240px;
        border-bottom: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .principle h3 {
        margin-top: 60px;
    }

    .stack-section {
        grid-template-columns: 1fr;
        margin-bottom: 90px;
    }

    .stack-stamp {
        min-height: 440px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stack-stamp::before {
        width: 340px;
        height: 340px;
    }

    .stack-stamp::after {
        width: 230px;
        height: 230px;
    }

    .stack-copy {
        padding: 70px 24px;
    }

    .closing {
        min-height: 590px;
        padding: 90px 22px;
    }

    .closing h2 {
        font-size: clamp(44px, 13vw, 63px);
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 55px 22px;
    }

    .site-footer > p {
        text-align: left;
    }

    .footer-meta {
        justify-content: flex-start;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
    }
}
