:root {
    --ink: #101513;
    --paper: #f2efe6;
    --paper-warm: #e6dfd1;
    --accent: #76a499;
    --accent-soft: #b9d0c8;
    --project-bg: #173d36;
    --project-fg: #f2e6c2;
    --project-alt: #d2b46f;
    --line: rgba(16, 21, 19, 0.18);
    --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body[data-project="tea"] {
    --accent: #71c6a7;
    --accent-soft: #bff3d8;
    --project-bg: #102824;
    --project-fg: #f3efe4;
    --project-alt: #f2c66d;
}

body[data-project="prima"] {
    --accent: #9d765d;
    --accent-soft: #ddc8b6;
    --project-bg: #d9cbb8;
    --project-fg: #46372d;
    --project-alt: #d36f45;
}

body[data-project="ripple"] {
    --accent: #bb5e68;
    --accent-soft: #e6b4b8;
    --project-bg: #bb5e68;
    --project-fg: #f4eae9;
    --project-alt: #392c64;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: auto;
    background: var(--ink);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--paper); background: var(--project-bg); }

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.mil-progress-track {
    position: fixed;
    z-index: 160;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: rgba(16, 21, 19, 0.1);
    pointer-events: none;
}

.mil-progress {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
}

.intro {
    position: fixed;
    z-index: 220;
    inset: 0;
    color: var(--paper);
    background: var(--ink);
}

.intro.mil-hidden { pointer-events: none; }

.mil-preloader-animation {
    position: relative;
    width: 100%;
    height: 100svh;
    opacity: 0;
}

.mil-preloader .mil-pos-abs {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mil-preloader .mil-pos-abs p {
    margin: 0;
    opacity: 0;
    font-size: clamp(28px, 4vw, 60px);
    font-weight: 300;
    letter-spacing: -0.055em;
}

.mil-preloader .mil-animation-1 p { margin-right: 18px; }
.mil-preloader .mil-animation-1 p.is-strong { color: var(--accent); font-weight: 700; }

.mil-reveal-frame {
    position: relative;
    padding: 4px 30px;
    overflow: hidden;
}

.mil-preloader .mil-reveal-frame p {
    font-size: clamp(18px, 2.1vw, 30px);
    font-weight: 600;
    letter-spacing: 0.16em;
}

.mil-reveal-box {
    position: absolute;
    z-index: 4;
    inset: 0 auto 0 0;
    display: block;
    width: 0;
    opacity: 0;
    background: var(--accent);
}

.cursor {
    position: fixed;
    z-index: 190;
    top: 0;
    left: 0;
    display: none;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: var(--paper);
    background: var(--ink);
    opacity: 0.12;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.cursor span {
    opacity: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    transform: scale(0);
}

.back-to-top {
    position: fixed;
    z-index: 100;
    right: 34px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 18px;
    border: 1px solid rgba(16, 21, 19, 0.18);
    border-radius: 999px;
    background: rgba(242, 239, 230, 0.84);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
}

.back-to-top span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.back-to-top b {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: var(--paper);
    background: var(--ink);
    font-weight: 400;
}

.case-header {
    position: absolute;
    z-index: 120;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 24px 3vw;
    color: var(--project-fg);
    transition: color 0.25s ease, background-color 0.25s ease, padding 0.25s ease;
}

.case-header.is-scrolled {
    position: fixed;
    padding-top: 13px;
    padding-bottom: 13px;
    color: var(--ink);
    background: rgba(242, 239, 230, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(16, 21, 19, 0.08);
}

.brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    width: 37px;
    height: 38px;
    flex: 0 0 auto;
    transform: rotate(-5deg);
}

.brand-mark i {
    display: block;
    width: 10px;
    border-radius: 90% 8% 90% 8%;
    background: currentColor;
    transform-origin: center bottom;
}

.brand-mark i:nth-child(1) { height: 23px; transform: rotate(-20deg); }
.brand-mark i:nth-child(2) { height: 31px; transform: rotate(-4deg); }
.brand-mark i:nth-child(3) { height: 38px; transform: rotate(15deg); }

.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; }
.brand-copy small { margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: 0.16em; opacity: 0.62; }

.case-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 35px;
}

.case-nav a {
    position: relative;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.case-nav a::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.case-nav a:hover::after,
.case-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.lang-toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.lang-toggle span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    opacity: 0.42;
    transition: opacity 0.2s ease;
}

.lang-toggle span.is-active { opacity: 1; }

.lang-toggle i {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.45;
}

.case-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    color: var(--project-fg);
    background: var(--project-bg);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: 140px 3vw 80px 6vw;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8vh;
}

.hero-kicker > span {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.hero-kicker p { display: flex; flex-direction: column; margin: 0; }
.hero-kicker b { font-size: 10px; letter-spacing: 0.12em; }
.hero-kicker small { margin-top: 4px; font-size: 8px; letter-spacing: 0.08em; opacity: 0.55; }

.hero-title {
    position: relative;
    z-index: 5;
    margin: 0;
    line-height: 0.84;
    letter-spacing: -0.075em;
}

.hero-title .title-line {
    display: block;
    font-size: clamp(78px, 9.5vw, 158px);
    font-weight: 700;
    white-space: nowrap;
}

.hero-title .title-line--en {
    margin: 18px 0 0 12%;
    font-size: clamp(29px, 3.3vw, 58px);
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 0.68;
}

.hero-subtitle {
    max-width: 520px;
    margin: 7vh 0 0;
    font-size: clamp(17px, 1.4vw, 23px);
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.hero-tags span {
    padding: 7px 12px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.68;
}

.hero-art {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: color-mix(in srgb, var(--project-bg), #000 6%);
}

.art-grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(to right, currentColor 1px, transparent 1px),
        linear-gradient(to bottom, currentColor 1px, transparent 1px);
    background-size: 12.5% 12.5%;
}

.art-word {
    position: absolute;
    z-index: 8;
    right: 6%;
    bottom: 7%;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    writing-mode: vertical-rl;
}

.art-word strong {
    font-size: clamp(55px, 8vw, 128px);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.08em;
}

.art-word small {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    opacity: 0.65;
}

.art-shape { position: absolute; display: block; pointer-events: none; }

body[data-project="tea"] .art-shape--a {
    top: 16%;
    right: -8%;
    width: 76%;
    aspect-ratio: 1;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.25;
}

body[data-project="tea"] .art-shape--b {
    top: 25%;
    right: 4%;
    width: 50%;
    aspect-ratio: 1;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.33;
}

body[data-project="tea"] .art-shape--c {
    top: 19%;
    left: 8%;
    width: 28%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--project-alt);
    box-shadow: 0 0 90px color-mix(in srgb, var(--project-alt), transparent 50%);
}

body[data-project="tea"] .art-shape--d {
    bottom: 13%;
    left: -8%;
    width: 70%;
    height: 35%;
    border: 1px solid currentColor;
    border-radius: 50% 50% 0 0;
    opacity: 0.2;
}

body[data-project="prima"] .art-shape--a {
    right: 10%;
    bottom: -5%;
    width: 62%;
    height: 76%;
    border-radius: 50% 50% 0 0;
    background: rgba(70, 55, 45, 0.16);
}

body[data-project="prima"] .art-shape--b {
    top: 17%;
    right: 12%;
    width: 23%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--project-alt);
}

body[data-project="prima"] .art-shape--c {
    right: 27%;
    bottom: -14%;
    width: 30%;
    height: 72%;
    border: 1px solid rgba(70, 55, 45, 0.42);
    border-radius: 50% 50% 0 0;
}

body[data-project="prima"] .art-shape--d {
    top: 20%;
    left: 9%;
    width: 1px;
    height: 56%;
    background: currentColor;
    opacity: 0.28;
}

body[data-project="ripple"] .art-shape--a,
body[data-project="ripple"] .art-shape--b,
body[data-project="ripple"] .art-shape--c {
    top: 50%;
    left: 50%;
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

body[data-project="ripple"] .art-shape--a { width: 82%; aspect-ratio: 1; opacity: 0.25; }
body[data-project="ripple"] .art-shape--b { width: 58%; aspect-ratio: 1; opacity: 0.4; }
body[data-project="ripple"] .art-shape--c { width: 33%; aspect-ratio: 1; background: rgba(244,234,233,0.1); }

body[data-project="ripple"] .art-shape--d {
    top: 13%;
    right: 13%;
    width: 21%;
    height: 9px;
    background: currentColor;
    opacity: 0.65;
}

.hero-index {
    position: absolute;
    z-index: 10;
    right: 3vw;
    bottom: 3vh;
    left: 3vw;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-index span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    opacity: 0.5;
}

.section { padding: 145px 6vw; }
.section--ink { color: var(--paper); background: var(--ink); }
.section--warm { background: var(--paper-warm); }
.section--accent { color: var(--ink); background: var(--accent-soft); }

.section-label {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    text-transform: uppercase;
}

.section-label > span {
    display: grid;
    place-items: center;
    min-width: 37px;
    height: 37px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.section-label p {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.14em;
    opacity: 0.65;
}

.section-label--light { color: var(--paper); }

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
    gap: 10vw;
    align-items: end;
    margin: 90px 0 110px 17%;
}

.overview-grid h2,
.strategy-heading h2,
.system-heading h2,
.applications-heading h2,
.process-statement h2,
.deliverables-copy h2 {
    margin: 0;
    font-size: clamp(46px, 6.5vw, 100px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.065em;
}

.overview-grid h2 span,
.strategy-heading h2 span,
.system-heading h2 span,
.applications-heading h2 span,
.process-statement h2 span,
.deliverables-copy h2 span { font-weight: 300; }

.overview-copy .eyebrow {
    margin: 0 0 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.48;
}

.overview-copy > p:last-child {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.72;
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.project-facts div {
    min-height: 138px;
    padding: 26px 24px;
    border-left: 1px solid var(--line);
}

.project-facts div:first-child { border-left: 0; }
.project-facts dt { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.45; }
.project-facts dd { margin: 35px 0 0; font-size: 13px; font-weight: 600; }

.strategy-heading {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 8vw;
    align-items: start;
    margin: 90px 0 110px 17%;
}

.strategy-heading > p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.58;
}

.strategy-heading h2 span { color: var(--accent-soft); }

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(242,239,230,0.2);
    border-bottom: 1px solid rgba(242,239,230,0.2);
}

.strategy-card {
    min-height: 390px;
    padding: 42px 36px;
    border-left: 1px solid rgba(242,239,230,0.2);
}

.strategy-card:first-child { border-left: 0; }
.strategy-card > span { font-size: 8px; letter-spacing: 0.15em; opacity: 0.42; }
.strategy-card h3 { margin: 130px 0 26px; font-size: 27px; font-weight: 500; }
.strategy-card p { margin: 0; font-size: 14px; line-height: 1.9; opacity: 0.62; }

.system-heading,
.applications-heading {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 10vw;
    align-items: end;
    margin: 90px 0 110px 17%;
}

.system-heading > p,
.applications-heading > p {
    margin: 0;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.65;
}

.system-heading h2 span { color: var(--accent); }
.applications-heading h2 span { color: color-mix(in srgb, var(--project-bg), #000 12%); }

.brand-lab {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.2vw;
}

.lab-board {
    position: relative;
    min-height: 470px;
    overflow: hidden;
}

.lab-board--mark {
    grid-column: span 7;
    display: grid;
    place-items: center;
    color: var(--project-fg);
    background: var(--project-bg);
}

.lab-board--mark > strong {
    position: absolute;
    right: 7%;
    bottom: 10%;
    font-size: clamp(45px, 6.5vw, 94px);
    line-height: 0.85;
    letter-spacing: -0.07em;
}

.concept-mark {
    position: absolute;
    top: 12%;
    left: 8%;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    transform: rotate(-7deg);
}

.concept-mark span {
    width: 22px;
    border: 2px solid currentColor;
    border-radius: 100% 9% 100% 9%;
}

.concept-mark span:nth-child(1) { height: 55px; transform: rotate(-18deg); }
.concept-mark span:nth-child(2) { height: 78px; transform: rotate(-2deg); }
.concept-mark span:nth-child(3) { height: 102px; transform: rotate(15deg); }

.lab-board--palette {
    grid-column: span 5;
    color: var(--ink);
    background: #ded8cc;
}

.palette-stack {
    position: absolute;
    inset: 8% 8% 20%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.palette-swatch {
    position: relative;
    padding: 18px;
    background: var(--swatch);
}

.palette-swatch span {
    position: absolute;
    bottom: 14px;
    left: 16px;
    color: var(--label, #101513);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.lab-board--type {
    grid-column: 3 / span 8;
    min-height: 560px;
    color: var(--ink);
    background: #fff;
}

.type-sample {
    position: absolute;
    inset: 11% 9% 18%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.type-sample > span {
    grid-row: span 2;
    font-size: clamp(110px, 16vw, 240px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.1em;
}

.type-sample strong {
    justify-self: end;
    font-size: clamp(30px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.type-sample small {
    justify-self: end;
    align-self: end;
    font-size: 9px;
    line-height: 2;
    letter-spacing: 0.16em;
    text-align: right;
}

.board-caption {
    position: absolute;
    right: 5%;
    bottom: 4%;
    left: 5%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid currentColor;
    padding-top: 11px;
}

.board-caption span,
.board-caption p {
    margin: 0;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.58;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 100px 2.2vw;
}

.application-card { grid-column: span 6; }
.application-card--two { transform: translateY(130px); }
.application-card--three { grid-column: 3 / span 8; margin-top: 90px; }

.application-visual {
    position: relative;
    height: clamp(470px, 55vw, 720px);
    overflow: hidden;
    background: color-mix(in srgb, var(--project-bg), #fff 12%);
}

.application-caption {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 18px;
    padding-top: 22px;
}

.application-caption > span { font-size: 9px; opacity: 0.45; }
.application-caption h3 { margin: 0; font-size: 23px; font-weight: 600; }
.application-caption p { margin: 7px 0 0; font-size: 12px; opacity: 0.55; }

.mock-object {
    position: absolute;
    display: grid;
    place-items: end start;
    padding: 22px;
    box-shadow: 0 28px 70px rgba(16,21,19,0.22);
}

.mock-object--a {
    top: 15%;
    left: 15%;
    width: 42%;
    height: 61%;
    color: var(--project-fg);
    background: var(--project-bg);
    transform: rotate(-7deg);
}

.mock-object--b {
    right: 12%;
    bottom: 13%;
    width: 38%;
    height: 50%;
    color: var(--ink);
    background: var(--accent-soft);
    transform: rotate(8deg);
}

.mock-object span {
    font-size: clamp(25px, 4vw, 55px);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.06em;
}

.mock-object small { font-size: 8px; font-weight: 700; letter-spacing: 0.13em; }

.application-card--two .application-visual { background: var(--ink); }

.screen-mock {
    position: absolute;
    inset: 10%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: var(--project-fg);
    background: var(--project-bg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.screen-mock header,
.screen-mock footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid currentColor;
}

.screen-mock footer { border-top: 1px solid currentColor; border-bottom: 0; }
.screen-mock header i { width: 14px; height: 14px; border: 4px solid currentColor; border-radius: 50%; }
.screen-mock header span,
.screen-mock header b,
.screen-mock footer small { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; }

.screen-mock .screen-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 25px;
}

.screen-mock .screen-main strong {
    max-width: 80%;
    font-size: clamp(38px, 5.5vw, 76px);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.screen-mock .screen-main span {
    align-self: flex-end;
    width: 35%;
    aspect-ratio: 1;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.application-card--three .application-visual { background: #cbc4b7; }

.poster {
    position: absolute;
    width: 39%;
    height: 68%;
    padding: 24px;
    box-shadow: 0 26px 70px rgba(16,21,19,0.2);
}

.poster--back {
    top: 12%;
    left: 20%;
    color: var(--project-fg);
    background: var(--project-bg);
    transform: rotate(-8deg);
}

.poster--front {
    right: 19%;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--ink);
    background: var(--accent-soft);
    transform: rotate(5deg);
}

.poster small { font-size: 8px; font-weight: 700; letter-spacing: 0.14em; }
.poster strong { font-size: clamp(45px, 7vw, 100px); line-height: 0.75; letter-spacing: -0.09em; writing-mode: vertical-rl; }
.poster span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }

.process-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 10vw;
    margin: 90px 0 0 17%;
}

.process-statement > p {
    margin: 0 0 50px;
    max-width: 320px;
    font-size: 13px;
    opacity: 0.58;
}

.process-statement h2 { font-size: clamp(42px, 5.6vw, 82px); }
.process-statement h2 span { color: var(--accent); }

.case-process {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.case-process li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.case-process li > span { font-size: 9px; opacity: 0.42; }
.case-process h3 { margin: 0; font-size: 24px; font-weight: 500; }
.case-process p { margin: 10px 0 0; font-size: 13px; line-height: 1.8; opacity: 0.56; }

.deliverables {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 10vw;
}

.deliverables-copy .section-label { margin-bottom: 90px; }
.deliverables-copy h2 { font-size: clamp(45px, 6vw, 92px); }
.deliverables-copy h2 span { color: color-mix(in srgb, var(--project-bg), #000 15%); }

.deliverables-list {
    align-self: center;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(16,21,19,0.25);
}

.deliverables-list li {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(16,21,19,0.25);
    font-size: 13px;
    font-weight: 600;
}

.deliverables-list li span { opacity: 0.42; }

.concept-note {
    grid-column: 2;
    margin: -50px 0 0;
    font-size: 10px;
    line-height: 1.8;
    opacity: 0.52;
}

.next-case {
    position: relative;
    display: grid;
    grid-template-columns: 0.4fr 1.2fr auto;
    align-items: center;
    min-height: 68vh;
    padding: 80px 6vw;
    color: var(--project-fg);
    background: var(--project-bg);
    overflow: hidden;
}

.next-case::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 0 55%, rgba(255,255,255,0.06));
    content: "";
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(.2,.75,.2,1);
}

.next-case:hover::before,
.next-case:focus-visible::before { transform: translateX(0); }

.next-case > div span,
.next-case > div p {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.next-case > div p { margin-top: 12px; opacity: 0.5; }

.next-case h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: clamp(70px, 11vw, 175px);
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.next-case h2 span,
.next-case h2 small { display: block; }
.next-case h2 small { margin: 24px 0 0 10%; font-size: 0.22em; font-weight: 300; letter-spacing: 0.04em; opacity: 0.65; }

.next-case > b {
    position: relative;
    display: grid;
    place-items: center;
    width: 85px;
    height: 85px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.4s ease;
}

.next-case:hover > b,
.next-case:focus-visible > b {
    color: var(--project-bg);
    background: var(--project-fg);
    transform: translate(4px, -4px);
}

.case-footer {
    padding: 110px 6vw 32px;
    color: var(--paper);
    background: var(--ink);
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(242,239,230,0.2);
}

.footer-cta span { font-size: clamp(38px, 7vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -0.06em; }
.footer-cta b { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid currentColor; border-radius: 50%; font-size: 0; line-height: 0; }

.next-case > b::before,
.next-case > b::after,
.footer-cta b::before,
.footer-cta b::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
}

.next-case > b::before,
.footer-cta b::before {
    top: 50%;
    left: 50%;
    width: 24px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.next-case > b::after,
.footer-cta b::after {
    top: calc(50% - 12px);
    left: calc(50% + 3px);
    width: 9px;
    height: 9px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.case-footer > div {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 28px;
}

.case-footer > div span { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.52; }
.case-footer i { font-style: normal; }

.reveal { opacity: 0; }
.reveal.is-visible { opacity: 1; }

html[data-language="en"] .hero-title .title-line:first-child { font-size: clamp(58px, 7.5vw, 122px); letter-spacing: -0.07em; }
html[data-language="en"] .hero-title .title-line--en { display: none; }
html[data-language="en"] .hero-subtitle { max-width: 590px; }
html[data-language="en"] .art-word strong { font-size: clamp(45px, 6.5vw, 102px); }
html[data-language="en"] .next-case h2 { font-size: clamp(54px, 9vw, 145px); }
html[data-language="en"] .next-case h2 small { display: none; }

@media (pointer: fine) {
    .cursor { display: grid; }
}

@media (max-width: 1050px) {
    .case-header { grid-template-columns: 1fr auto auto; gap: 14px; }
    .case-nav { display: flex; gap: 0; }
    .case-nav a:last-child { display: none; }
    .case-hero { grid-template-columns: 1fr; }
    .hero-copy { min-height: 76svh; padding: 140px 6vw 70px; }
    .hero-art { min-height: 72svh; }
    .hero-title .title-line { font-size: clamp(70px, 15vw, 138px); }
    .hero-index { display: none; }
    .overview-grid,
    .strategy-heading,
    .system-heading,
    .applications-heading,
    .process-detail-grid { margin-left: 0; }
    .overview-grid { grid-template-columns: 1fr; gap: 50px; }
    .strategy-heading { grid-template-columns: 1fr; gap: 45px; }
    .system-heading,
    .applications-heading { grid-template-columns: 1fr; gap: 45px; }
    .lab-board--mark { grid-column: span 7; }
    .lab-board--palette { grid-column: span 5; }
    .lab-board--type { grid-column: 2 / span 10; }
    .process-detail-grid { grid-template-columns: 1fr; }
    .deliverables { grid-template-columns: 1fr; }
    .concept-note { grid-column: 1; margin: 0; }
}

@media (min-width: 761px) and (max-width: 900px) {
    .project-facts { grid-template-columns: repeat(2, 1fr); }
    .project-facts div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
    .project-facts div:nth-child(4) { border-top: 1px solid var(--line); }
    .strategy-cards { grid-template-columns: 1fr; }
    .strategy-card {
        display: grid;
        grid-template-columns: 100px 150px 1fr;
        gap: 24px;
        align-items: start;
        min-height: 0;
        padding: 36px 0;
        border-top: 1px solid rgba(242,239,230,0.2);
        border-left: 0;
    }
    .strategy-card:first-child { border-top: 0; }
    .strategy-card h3 { margin: -8px 0 0; }
    .strategy-card p { margin: 0; }
    .lab-board--mark,
    .lab-board--palette,
    .lab-board--type { grid-column: 1 / -1; }
    .lab-board--palette { min-height: 520px; }
    .lab-board--type { min-height: 540px; }
    .application-grid { display: block; }
    .application-card,
    .application-card--three {
        margin: 0 0 90px;
        transform: none;
    }
    .application-card--three { margin-bottom: 0; }
    .application-visual { height: min(78vw, 680px); }
}

@media (max-width: 760px) {
    .mil-progress-track { width: 3px; }
    .mil-preloader .mil-animation-1 { flex-direction: column; }
    .mil-preloader .mil-animation-1 p { margin: 0 0 8px; text-align: center; }
    .mil-preloader .mil-reveal-frame { padding: 4px 18px; }
    .mil-preloader .mil-reveal-frame p { font-size: 14px; letter-spacing: 0.12em; }
    .case-header {
        padding: 17px max(20px, env(safe-area-inset-right)) 17px max(20px, env(safe-area-inset-left));
    }
    .case-header.is-scrolled {
        padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
    }
    .case-nav a:first-child {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 1px solid currentColor;
        border-radius: 50%;
        font-size: 0;
    }
    .case-nav a:first-child::before { width: 17px; height: 17px; background: currentColor; content: ""; -webkit-mask: url("../assets/icons/arrow-left.svg") center / contain no-repeat; mask: url("../assets/icons/arrow-left.svg") center / contain no-repeat; }
    .case-nav a:first-child::after { display: none; }
    .brand-copy strong { font-size: 14px; }
    .brand-copy small { font-size: 7px; }
    .brand-mark { width: 31px; height: 32px; }
    .brand-mark i { width: 8px; }
    .brand-mark i:nth-child(1) { height: 19px; }
    .brand-mark i:nth-child(2) { height: 26px; }
    .brand-mark i:nth-child(3) { height: 32px; }
    .back-to-top { display: none; }
    .hero-copy {
        min-height: max(77svh, 620px);
        padding: 120px max(22px, env(safe-area-inset-right)) 55px max(22px, env(safe-area-inset-left));
    }
    .hero-kicker { margin-bottom: 7vh; }
    .hero-title .title-line { font-size: clamp(62px, 20vw, 108px); white-space: normal; }
    .hero-title .title-line--en { margin-left: 0; font-size: 27px; }
    .hero-subtitle { margin-top: 5vh; font-size: 16px; }
    .hero-art { min-height: 62svh; }
    .art-word { right: 7%; bottom: 6%; }
    .art-word strong { font-size: clamp(50px, 19vw, 90px); }
    .section { padding: 95px max(22px, env(safe-area-inset-right)) 95px max(22px, env(safe-area-inset-left)); }
    .overview-grid,
    .strategy-heading,
    .system-heading,
    .applications-heading { margin-top: 65px; margin-bottom: 72px; }
    .overview-grid h2,
    .strategy-heading h2,
    .system-heading h2,
    .applications-heading h2,
    .process-statement h2,
    .deliverables-copy h2 { font-size: clamp(38px, 12vw, 62px); }
    .project-facts { grid-template-columns: repeat(2, 1fr); }
    .project-facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
    .project-facts div:nth-child(4) { border-top: 1px solid var(--line); }
    .strategy-cards { grid-template-columns: 1fr; }
    .strategy-card { min-height: auto; padding: 32px 0; border-left: 0; border-top: 1px solid rgba(242,239,230,0.2); }
    .strategy-card:first-child { border-top: 0; }
    .strategy-card h3 { margin: 60px 0 20px; }
    .brand-lab { display: block; }
    .lab-board { min-height: 390px; margin-top: 18px; }
    .lab-board:first-child { margin-top: 0; }
    .lab-board--type { min-height: 440px; }
    .type-sample { grid-template-columns: 1fr; }
    .type-sample > span { font-size: 130px; }
    .type-sample strong { justify-self: start; font-size: 48px; }
    .type-sample small { justify-self: start; text-align: left; }
    .application-grid { display: block; }
    .application-card { margin: 0 0 72px; transform: none; }
    .application-card--three { margin-top: 0; }
    .application-visual { height: 520px; }
    .application-card--three .application-visual { height: 470px; }
    .poster { width: 48%; }
    .poster--back { left: 8%; }
    .poster--front { right: 7%; }
    .process-detail-grid { margin-top: 65px; }
    .deliverables-copy .section-label { margin-bottom: 65px; }
    .next-case {
        grid-template-columns: 1fr auto;
        min-height: max(55svh, 430px);
        padding: 70px max(22px, env(safe-area-inset-right)) max(70px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    }
    .next-case > div { grid-column: span 2; align-self: start; }
    .next-case h2 { font-size: clamp(58px, 18vw, 95px); }
    .next-case > b { width: 60px; height: 60px; }
    .case-footer {
        padding: 80px max(22px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    }
    .footer-cta { align-items: flex-end; gap: 20px; padding-bottom: 50px; }
    .footer-cta span { font-size: clamp(36px, 12vw, 64px); }
    .footer-cta b { width: 55px; height: 55px; flex: 0 0 auto; }
    .case-footer > div { flex-direction: column; gap: 12px; }
    html[data-language="en"] .hero-title .title-line:first-child { font-size: clamp(50px, 15vw, 84px); }
}

@media (max-width: 430px) {
    .case-header,
    .case-header.is-scrolled { grid-template-columns: 1fr auto auto; gap: 8px; padding-right: 14px; padding-left: 14px; }
    .brand { gap: 8px; }
    .brand-copy small { display: none; }
    .lang-toggle { gap: 6px; padding: 7px 8px; }
    .project-facts { grid-template-columns: 1fr; }
    .project-facts div { min-height: 115px; border-left: 0; border-top: 1px solid var(--line); }
    .project-facts div:first-child { border-top: 0; }
    .project-facts dd { margin-top: 25px; }
    .application-visual { height: 430px; }
    .screen-mock { inset: 7%; }
    .poster { height: 72%; }
}

@media (max-width: 1050px) and (max-height: 600px) and (orientation: landscape) {
    .hero-copy { min-height: 600px; padding-top: 112px; }
    .hero-art { min-height: 560px; }
}

@media (hover: none) {
    .back-to-top { display: none !important; }
    .next-case:hover::before { transform: translateX(100%); }
    .next-case:hover > b { color: var(--project-fg); background: transparent; transform: none; }
}

@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 { opacity: 1; }
}

/* Superdesign B — shared Swiss editorial case-study system */
.case-header,
.case-header.is-scrolled {
    padding-right: 5.2vw;
    padding-left: 5.2vw;
}

.case-hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.hero-copy {
    padding: 148px 4vw 70px 5.2vw;
    border-right: 1px solid color-mix(in srgb, currentColor, transparent 82%);
}

.hero-kicker {
    margin-bottom: 9vh;
    padding-bottom: 22px;
    border-bottom: 1px solid color-mix(in srgb, currentColor, transparent 78%);
}

.hero-kicker > span {
    width: 34px;
    height: 34px;
}

.hero-title .title-line {
    font-size: clamp(70px, 8.2vw, 136px);
    line-height: 0.9;
}

.hero-title .title-line--en {
    margin: 20px 0 0;
    font-size: clamp(25px, 2.8vw, 46px);
    line-height: 1;
    letter-spacing: 0.04em;
}

.hero-subtitle {
    max-width: 560px;
    margin-top: 6vh;
}

.hero-tags span {
    padding: 6px 10px;
    border-radius: 0;
}

.art-grid {
    background-size: 16.666% 16.666%;
    opacity: 0.09;
}

.section { padding: 128px 5.2vw; }

.section-label { gap: 16px; }

.section-label > span {
    min-width: 32px;
    height: 32px;
}

.overview-grid,
.strategy-heading,
.system-heading,
.applications-heading,
.process-detail-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    margin: 82px 0 104px;
}

.overview-grid h2 { grid-column: 1 / span 7; }
.overview-copy { grid-column: 9 / -1; align-self: end; }

.overview-grid h2,
.strategy-heading h2,
.system-heading h2,
.applications-heading h2,
.process-statement h2,
.deliverables-copy h2 {
    font-size: clamp(44px, 5.8vw, 90px);
    line-height: 1.08;
}

.project-facts div {
    min-height: 126px;
    padding: 24px 20px;
}

.project-facts dd { margin-top: 30px; }

.strategy-heading > p { grid-column: 1 / span 3; }
.strategy-heading h2 { grid-column: 5 / -1; }

.strategy-cards { border-top-color: rgba(242,239,230,0.16); border-bottom-color: rgba(242,239,230,0.16); }

.strategy-card {
    min-height: 342px;
    padding: 36px 30px;
    border-left-color: rgba(242,239,230,0.16);
}

.strategy-card h3 { margin-top: 98px; }

.system-heading h2,
.applications-heading h2 { grid-column: 1 / span 7; }

.system-heading > p,
.applications-heading > p {
    grid-column: 9 / -1;
    align-self: end;
}

.lab-board { min-height: 490px; }
.lab-board--type { min-height: 570px; }

.application-grid { gap: 104px 2.2vw; }
.application-card--two { transform: translateY(96px); }
.application-card--three { margin-top: 70px; }

.application-caption {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.process-statement { grid-column: 1 / span 6; }
.case-process { grid-column: 8 / -1; }

.case-process li {
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 28px 0;
}

.deliverables {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.deliverables-copy { grid-column: 1 / span 7; }
.deliverables-list { grid-column: 9 / -1; }
.concept-note { grid-column: 9 / -1; margin: 10px 0 0; }

.next-case {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    min-height: 64vh;
    padding: 84px 5.2vw;
}

.next-case::before { display: none; }
.next-case > div { grid-column: 1 / span 2; }
.next-case h2 { grid-column: 4 / span 8; }
.next-case > b { grid-column: 12; justify-self: end; }

.case-footer { padding: 104px 5.2vw 32px; }

@media (max-width: 1050px) {
    .case-header,
    .case-header.is-scrolled { padding-right: 4vw; padding-left: 4vw; }

    .case-hero { grid-template-columns: 1fr; }
    .hero-copy {
        min-height: 74svh;
        padding: 140px 5.5vw 66px;
        border-right: 0;
    }
    .hero-art { min-height: 70svh; }

    .section { padding: 110px 5.5vw; }

    .overview-grid,
    .strategy-heading,
    .system-heading,
    .applications-heading,
    .process-detail-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 22px;
        margin: 72px 0 92px;
    }

    .overview-grid h2 { grid-column: 1 / span 5; }
    .overview-copy { grid-column: 6 / -1; }
    .strategy-heading > p { grid-column: 1 / span 2; }
    .strategy-heading h2 { grid-column: 3 / -1; }
    .system-heading h2,
    .applications-heading h2 { grid-column: 1 / span 5; }
    .system-heading > p,
    .applications-heading > p { grid-column: 6 / -1; }
    .process-statement { grid-column: 1 / span 4; }
    .case-process { grid-column: 5 / -1; }

    .deliverables { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .deliverables-copy { grid-column: 1 / span 5; }
    .deliverables-list,
    .concept-note { grid-column: 6 / -1; }

    .next-case { min-height: 54vh; padding: 74px 5.5vw; }
    .next-case > div { grid-column: 1 / span 2; }
    .next-case h2 { grid-column: 3 / span 8; }
    .next-case > b { grid-column: 11 / -1; }
}

@media (max-width: 900px) {
    .overview-grid,
    .strategy-heading,
    .system-heading,
    .applications-heading,
    .process-detail-grid { display: block; }

    .overview-copy,
    .strategy-heading h2,
    .system-heading > p,
    .applications-heading > p,
    .case-process { margin-top: 46px; }

    .strategy-cards { grid-template-columns: 1fr; }
    .strategy-card {
        display: grid;
        grid-template-columns: 90px 140px minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
        padding: 34px 0;
        border-top: 1px solid rgba(242,239,230,0.16);
        border-left: 0;
    }
    .strategy-card:first-child { border-top: 0; }
    .strategy-card h3,
    .strategy-card p { margin: 0; }

    .deliverables { display: block; }
    .deliverables-list { margin-top: 64px; }
    .concept-note { margin-top: 34px; }
}

@media (max-width: 760px) {
    .case-header,
    .case-header.is-scrolled {
        padding-right: max(20px, env(safe-area-inset-right));
        padding-left: max(20px, env(safe-area-inset-left));
    }

    .hero-copy {
        min-height: max(76svh, 610px);
        padding: 116px max(22px, env(safe-area-inset-right)) 52px max(22px, env(safe-area-inset-left));
    }

    .hero-kicker { margin-bottom: 7vh; }
    .hero-title .title-line { font-size: clamp(58px, 18vw, 96px); }
    .hero-title .title-line--en { margin-top: 16px; font-size: 25px; }
    .hero-art { min-height: 60svh; }

    .section { padding: 88px max(22px, env(safe-area-inset-right)) 88px max(22px, env(safe-area-inset-left)); }

    .overview-grid,
    .strategy-heading,
    .system-heading,
    .applications-heading,
    .process-detail-grid { margin: 58px 0 70px; }

    .overview-grid h2,
    .strategy-heading h2,
    .system-heading h2,
    .applications-heading h2,
    .process-statement h2,
    .deliverables-copy h2 { font-size: clamp(38px, 11.5vw, 58px); }

    .strategy-card {
        display: block;
        padding: 30px 0;
    }
    .strategy-card h3 { margin: 54px 0 18px; }

    .lab-board { min-height: 390px; }
    .lab-board--type { min-height: 440px; }

    .application-card,
    .application-card--two,
    .application-card--three {
        margin: 0 0 68px;
        transform: none;
    }
    .application-card--three { margin-bottom: 0; }
    .application-caption { margin-top: 16px; }

    .deliverables-copy .section-label { margin-bottom: 58px; }

    .next-case {
        grid-template-columns: 1fr auto;
        gap: 24px;
        min-height: max(52svh, 420px);
        padding: 66px max(22px, env(safe-area-inset-right)) max(66px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    }
    .next-case > div { grid-column: 1 / -1; }
    .next-case h2 { grid-column: 1; }
    .next-case > b { grid-column: 2; }

    .case-footer {
        padding: 78px max(22px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    }
}

@media (max-width: 430px) {
    .case-header,
    .case-header.is-scrolled { padding-right: 14px; padding-left: 14px; }
    .project-facts { grid-template-columns: 1fr; }
}

/* Shared Luyu Qingang signature mark */
.brand { gap: 15px; }

.brand-mark {
    position: relative;
    display: block;
    width: 44px;
    height: 42px;
    flex: 0 0 44px;
    color: inherit;
}

.case-header .brand-mark { transform: none; }

.brand-mark i {
    position: absolute;
    bottom: 2px;
    display: block;
    width: 9px;
    background: currentColor;
    border-radius: 95% 14% 92% 12%;
    transform-origin: 50% 100%;
}

.brand-mark i:nth-child(1) {
    left: 2px;
    height: 20px;
    transform: rotate(-20deg);
}

.brand-mark i:nth-child(2) {
    left: 13px;
    height: 29px;
    transform: rotate(-8deg);
}

.brand-mark i:nth-child(3) {
    left: 25px;
    height: 37px;
    transform: rotate(3deg);
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    display: block;
    background: currentColor;
    content: "";
}

.brand-mark::before {
    top: 1px;
    right: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.brand-mark::after {
    top: 3px;
    right: -5px;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    transform: rotate(-12deg);
    transform-origin: left center;
}

.brand-copy strong { letter-spacing: 0.12em; }
.brand-copy small { margin-top: 6px; letter-spacing: 0.18em; }

@media (max-width: 760px) {
    .brand { gap: 12px; }
    .case-header .brand-mark {
        width: 40px;
        height: 38px;
        flex-basis: 40px;
    }
    .case-header .brand-mark i { width: 9px; }
    .case-header .brand-mark i:nth-child(1) { left: 1px; height: 18px; }
    .case-header .brand-mark i:nth-child(2) { left: 11px; height: 26px; }
    .case-header .brand-mark i:nth-child(3) { left: 22px; height: 34px; }
    .case-header .brand-mark::before { top: 1px; right: 3px; width: 5px; height: 5px; }
    .case-header .brand-mark::after { top: 3px; right: -4px; width: 8px; height: 1.5px; }
}

/* Case-study motion refinement */
::view-transition-old(root) {
    animation: luyu-case-out 0.24s cubic-bezier(.4, 0, 1, 1) both;
}

::view-transition-new(root) {
    animation: luyu-case-in 0.46s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes luyu-case-out {
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes luyu-case-in {
    from { opacity: 0; transform: translateY(14px); }
}

.motion-mask {
    clip-path: inset(0 0 100% 0);
}

.motion-mask.is-visible {
    animation: luyu-case-mask-open 0.9s cubic-bezier(.16, 1, .3, 1) 0.06s both;
}

@keyframes luyu-case-mask-open {
    to { clip-path: inset(0 0 0 0); }
}

.brand .brand-mark i,
.brand .brand-mark::before,
.brand .brand-mark::after {
    transition: transform 0.38s cubic-bezier(.16, 1, .3, 1);
}

.brand:hover .brand-mark i:nth-child(1),
.brand:focus-visible .brand-mark i:nth-child(1) { transform: translateY(-2px) rotate(-20deg); }
.brand:hover .brand-mark i:nth-child(2),
.brand:focus-visible .brand-mark i:nth-child(2) { transform: translateY(-5px) rotate(-8deg); }
.brand:hover .brand-mark i:nth-child(3),
.brand:focus-visible .brand-mark i:nth-child(3) { transform: translateY(-8px) rotate(3deg); }
.brand:hover .brand-mark::before,
.brand:focus-visible .brand-mark::before { transform: translate(2px, -2px); }
.brand:hover .brand-mark::after,
.brand:focus-visible .brand-mark::after { transform: translateX(3px) rotate(-12deg); }

.hero-art,
.lab-board,
.application-visual {
    isolation: isolate;
}

.hero-art::after,
.lab-board::after,
.application-visual::after {
    position: absolute;
    z-index: 40;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    content: "";
    opacity: 0.45;
    pointer-events: none;
    transform: scale(0.985);
    transition: inset 0.55s cubic-bezier(.16, 1, .3, 1), opacity 0.35s ease, transform 0.55s cubic-bezier(.16, 1, .3, 1);
}

.hero-art:hover::after,
.lab-board:hover::after,
.application-card:hover .application-visual::after {
    inset: 10px;
    opacity: 0.95;
    transform: scale(1);
}

.project-facts div {
    position: relative;
    overflow: hidden;
}

.project-facts div::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.48s cubic-bezier(.16, 1, .3, 1);
}

.project-facts dt,
.project-facts dd {
    transition: transform 0.42s cubic-bezier(.16, 1, .3, 1);
}

.project-facts div:hover::after { transform: scaleX(1); }
.project-facts div:hover dt { transform: translateY(-3px); }
.project-facts div:hover dd { transform: translateX(5px); }

.strategy-card {
    position: relative;
    overflow: hidden;
}

.strategy-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.strategy-card h3,
.strategy-card p {
    transition: transform 0.5s cubic-bezier(.16, 1, .3, 1), opacity 0.3s ease;
}

.strategy-card:hover::before { transform: scaleX(1); }
.strategy-card:hover h3 { transform: translateX(7px); }
.strategy-card:hover p { opacity: 0.92; transform: translateY(-3px); }

.application-visual {
    transition: transform 0.55s cubic-bezier(.16, 1, .3, 1);
}

.application-card:hover .application-visual {
    transform: translateY(-7px);
}

@media (max-width: 760px) {
    .hero-art::after,
    .lab-board::after,
    .application-visual::after { inset: 10px; }
}

@media (hover: none) {
    .hero-art::after,
    .lab-board::after,
    .application-visual::after { opacity: 0.28; }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) { animation: none; }
    .motion-mask,
    .motion-mask.is-visible { animation: none; clip-path: none; }
}

/* Interactive case-study layer */
.hero-title,
.art-word,
.art-grid {
    will-change: transform;
}

.case-hero.is-resetting .hero-title,
.case-hero.is-resetting .art-word,
.case-hero.is-resetting .art-grid {
    transition: transform 0.55s cubic-bezier(.16, 1, .3, 1);
}

.interaction-host {
    position: relative;
    overflow: hidden;
}

.back-to-top.interaction-host {
    position: fixed;
}

.interaction-ripple {
    position: absolute;
    z-index: 50;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.08);
    animation: luyu-case-ripple 0.72s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes luyu-case-ripple {
    22% { opacity: 0.5; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.palette-stack {
    grid-template-rows: repeat(2, 1fr);
    transition: grid-template-columns 0.55s cubic-bezier(.16, 1, .3, 1), grid-template-rows 0.55s cubic-bezier(.16, 1, .3, 1);
}

.palette-swatch {
    overflow: hidden;
    transition: filter 0.35s ease;
}

.palette-swatch::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.52);
    content: "";
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.palette-swatch:hover::after {
    opacity: 1;
    transform: scale(1);
}

.concept-mark span,
.lab-board--mark > strong,
.type-sample > span,
.type-sample strong {
    transition: transform 0.55s cubic-bezier(.16, 1, .3, 1);
}

.lab-board--mark:hover .concept-mark span:nth-child(1) { transform: translateY(-7px) rotate(-23deg); }
.lab-board--mark:hover .concept-mark span:nth-child(2) { transform: translateY(-12px) rotate(-4deg); }
.lab-board--mark:hover .concept-mark span:nth-child(3) { transform: translateY(-17px) rotate(19deg); }
.lab-board--mark:hover > strong { transform: translate(-6px, -6px); }
.lab-board--type:hover .type-sample > span { transform: translateY(-8px) rotate(-2deg); }
.lab-board--type:hover .type-sample strong { transform: translateX(-8px); }

.application-visual {
    --app-rx: 0deg;
    --app-ry: 0deg;
    --app-lift: 0px;
    transform: perspective(1000px) translateY(var(--app-lift)) rotateX(var(--app-rx)) rotateY(var(--app-ry));
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.application-card:hover .application-visual {
    --app-lift: -7px;
    transform: perspective(1000px) translateY(var(--app-lift)) rotateX(var(--app-rx)) rotateY(var(--app-ry));
}

.application-card.is-tilting .application-visual {
    transition-duration: 0.12s;
    transition-timing-function: linear;
}

.application-caption h3,
.application-caption p {
    transition: color 0.3s ease, transform 0.45s cubic-bezier(.16, 1, .3, 1), opacity 0.3s ease;
}

.application-card:hover .application-caption h3 {
    color: var(--accent);
    transform: translateX(7px);
}

.application-card:hover .application-caption p {
    opacity: 0.78;
    transform: translateX(4px);
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
    .palette-stack:has(.palette-swatch:nth-child(1):hover) { grid-template-columns: 1.28fr 0.72fr; grid-template-rows: 1.28fr 0.72fr; }
    .palette-stack:has(.palette-swatch:nth-child(2):hover) { grid-template-columns: 0.72fr 1.28fr; grid-template-rows: 1.28fr 0.72fr; }
    .palette-stack:has(.palette-swatch:nth-child(3):hover) { grid-template-columns: 1.28fr 0.72fr; grid-template-rows: 0.72fr 1.28fr; }
    .palette-stack:has(.palette-swatch:nth-child(4):hover) { grid-template-columns: 0.72fr 1.28fr; grid-template-rows: 0.72fr 1.28fr; }

    .strategy-cards:has(.strategy-card:hover) .strategy-card:not(:hover),
    .brand-lab:has(.lab-board:hover) .lab-board:not(:hover) {
        opacity: 0.62;
    }

    .strategy-card,
    .lab-board {
        transition: opacity 0.5s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .art-word,
    .art-grid,
    .application-visual { transform: none !important; }
    .interaction-ripple { display: none; }
}

/* HOME ESS / interactive procedural Three.js hero */
.energy-scene {
    position: relative;
    isolation: isolate;
}

.energy-scene canvas {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.energy-scene--detail {
    cursor: grab;
    touch-action: pan-y;
}

.energy-scene--detail.is-dragging { cursor: grabbing; }

.energy-scene--detail .art-grid {
    z-index: 1;
    color: #bff3d8;
    opacity: 0.055;
    pointer-events: none;
}

body[data-project="tea"] .energy-scene--detail .art-word {
    z-index: 4;
    top: 17%;
    right: 3.2%;
    bottom: auto;
    color: rgba(243, 239, 228, 0.16);
    pointer-events: none;
}

body[data-project="tea"] .energy-scene--detail .art-word strong {
    font-size: clamp(48px, 6.3vw, 92px);
    letter-spacing: -0.06em;
}

html[data-language="en"] body[data-project="tea"] .hero-title .title-line:first-child {
    font-size: clamp(58px, 6.4vw, 96px);
    letter-spacing: -0.065em;
}

.energy-scene__eyebrow,
.energy-scene__metric,
.energy-component-nav,
.energy-hotspot-layer,
.energy-focus-panel,
.energy-scene__controls,
.energy-scene__status,
.energy-scene__drag {
    position: absolute;
    z-index: 9;
}

.energy-scene__eyebrow {
    top: 100px;
    right: 3vw;
    left: 3vw;
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(243, 239, 228, 0.28);
    color: #bff3d8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    pointer-events: none;
}

.energy-scene--detail .energy-scene__metric {
    top: 140px;
    left: 3vw;
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    width: min(420px, calc(100% - 6vw));
    border: 1px solid rgba(243, 239, 228, 0.25);
    background: rgba(8, 31, 27, 0.28);
    backdrop-filter: blur(10px);
}

.energy-scene--detail .energy-scene__metric > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-left: 1px solid rgba(243, 239, 228, 0.18);
}

.energy-scene--detail .energy-scene__metric > span:first-child { border-left: 0; }
.energy-scene--detail .energy-scene__metric b { font-size: 14px; line-height: 1.2; }
.energy-scene--detail .energy-scene__metric small { font-size: 8px; letter-spacing: 0.1em; opacity: 0.66; }

.energy-component-nav {
    top: 244px;
    left: 3vw;
    display: grid;
    width: min(214px, 24vw);
    border-top: 1px solid rgba(243, 239, 228, 0.24);
    background: rgba(8, 31, 27, 0.24);
    backdrop-filter: blur(10px);
}

.energy-component-nav button {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(243, 239, 228, 0.16);
    color: rgba(243, 239, 228, 0.58);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.energy-component-nav button span {
    color: #71c6a7;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.energy-component-nav button b {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.energy-component-nav button:hover,
.energy-component-nav button:focus-visible {
    color: #f3efe4;
    padding-left: 14px;
    outline: none;
}

.energy-component-nav button.is-active {
    color: #102824;
    background: #bff3d8;
}

.energy-component-nav button.is-active span { color: #102824; }

.energy-hotspot-layer {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.energy-hotspot {
    --hotspot-x: 50%;
    --hotspot-y: 50%;
    position: absolute;
    top: var(--hotspot-y);
    left: var(--hotspot-x);
    display: grid;
    grid-template-columns: 6px auto;
    gap: 7px;
    align-items: center;
    min-width: max-content;
    padding: 6px 9px 6px 7px;
    border: 1px solid rgba(191, 243, 216, 0.4);
    color: #f3efe4;
    background: rgba(8, 31, 27, 0.72);
    backdrop-filter: blur(10px);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transform: translate(12px, -50%);
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.energy-hotspot::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #71c6a7;
    box-shadow: 0 0 0 4px rgba(113, 198, 167, 0.14);
    content: "";
}

.energy-hotspot::after {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 14px;
    height: 1px;
    background: rgba(191, 243, 216, 0.55);
    content: "";
}

.energy-hotspot.is-active {
    color: #102824;
    background: #bff3d8;
    transform: translate(16px, -50%);
}

.energy-hotspot.is-active::before { background: #102824; }
.energy-hotspot.is-hidden,
.energy-hotspot.is-context-hidden { opacity: 0; }

.energy-focus-panel {
    right: 3vw;
    bottom: 70px;
    width: min(270px, 28vw);
    padding: 17px 18px 16px;
    border-top: 1px solid #bff3d8;
    color: #f3efe4;
    background: rgba(8, 31, 27, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(4, 19, 17, 0.2);
}

.energy-focus-panel > span {
    display: block;
    margin-bottom: 8px;
    color: #71c6a7;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.energy-focus-panel strong {
    display: block;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.energy-focus-panel p {
    margin: 9px 0 11px;
    color: rgba(243, 239, 228, 0.72);
    font-size: 10px;
    line-height: 1.65;
}

.energy-focus-panel small {
    color: #bff3d8;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.energy-scene__controls {
    bottom: 69px;
    left: 3vw;
    display: flex;
    gap: 7px;
    padding: 6px;
    border: 1px solid rgba(243, 239, 228, 0.24);
    border-radius: 999px;
    background: rgba(8, 31, 27, 0.62);
    backdrop-filter: blur(14px);
}

.energy-scene__controls button {
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    color: rgba(243, 239, 228, 0.68);
    background: transparent;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.energy-scene__controls button:hover { color: #f3efe4; transform: translateY(-1px); }
.energy-scene__controls button.is-active { color: #102824; background: #bff3d8; }

.energy-scene__status {
    bottom: 23px;
    left: 3vw;
    margin: 0;
    color: #bff3d8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.energy-scene__drag {
    right: 3vw;
    bottom: 23px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.62;
}

.energy-scene--detail[data-energy-state="night"] .energy-scene__controls button.is-active {
    color: #102824;
    background: #8fd7df;
}

.energy-scene--detail[data-energy-state="backup"] .energy-scene__controls button.is-active {
    color: #102824;
    background: #ff9a73;
}

@media (max-width: 760px) {
    .energy-scene__eyebrow { top: 76px; right: 20px; left: 20px; }
    .energy-scene--detail .energy-scene__metric {
        top: 111px;
        left: 20px;
        width: calc(100% - 40px);
    }
    .energy-scene--detail .energy-scene__metric > span { padding: 10px 8px; }
    body[data-project="tea"] .energy-scene--detail .art-word { display: none; }
    .energy-component-nav {
        top: 181px;
        right: 20px;
        left: 20px;
        display: flex;
        width: auto;
        overflow-x: auto;
        border: 1px solid rgba(243, 239, 228, 0.22);
        scrollbar-width: none;
    }
    .energy-component-nav::-webkit-scrollbar { display: none; }
    .energy-component-nav button {
        grid-template-columns: 1fr;
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 12px;
        border-right: 1px solid rgba(243, 239, 228, 0.16);
        border-bottom: 0;
    }
    .energy-component-nav button span { display: none; }
    .energy-hotspot:not(.is-active) { display: none; }
    .energy-hotspot {
        padding: 5px 7px;
        font-size: 7px;
    }
    .energy-focus-panel {
        right: 20px;
        bottom: 112px;
        width: min(230px, calc(100% - 40px));
        padding: 12px 14px;
    }
    .energy-focus-panel p { display: none; }
    .energy-focus-panel strong { font-size: 15px; }
    .energy-scene__controls {
        right: 20px;
        bottom: 58px;
        left: 20px;
        justify-content: space-between;
    }
    .energy-scene__controls button { flex: 1; padding: 8px 6px; }
    .energy-scene__status { bottom: 19px; left: 20px; font-size: 8px; }
    .energy-scene__drag { display: none; }
}

/* HOME ESS / immersive architectural stage */
body[data-project="tea"] .case-hero {
    display: block;
    height: max(720px, 100svh);
    min-height: max(720px, 100svh);
    color: #f3efe4;
    background: #315f57;
}

body[data-project="tea"] .case-hero .hero-art.energy-scene--detail {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    background: #315f57;
}

body[data-project="tea"] .case-hero .hero-copy {
    position: relative;
    z-index: 12;
    width: clamp(390px, 32vw, 520px);
    min-height: 100%;
    height: 100%;
    padding: 136px clamp(42px, 4vw, 70px) 64px 5.2vw;
    border-right: 1px solid rgba(243, 239, 228, 0.14);
    color: #f3efe4;
    background: rgba(8, 31, 27, 0.64);
    -webkit-backdrop-filter: blur(18px) saturate(0.86);
    backdrop-filter: blur(18px) saturate(0.86);
    pointer-events: none;
}

body[data-project="tea"] .case-hero .hero-kicker {
    display: block;
    margin: 0 0 44px;
    padding: 0 0 17px;
    border-bottom: 1px solid rgba(243, 239, 228, 0.18);
}

body[data-project="tea"] .case-hero .hero-kicker > span {
    display: none;
}

body[data-project="tea"] .case-hero .hero-kicker p {
    gap: 5px;
}

body[data-project="tea"] .case-hero .hero-kicker b {
    font-size: 9px;
    letter-spacing: 0.18em;
}

body[data-project="tea"] .case-hero .hero-kicker small {
    font-size: 7px;
    letter-spacing: 0.13em;
    opacity: 0.46;
}

body[data-project="tea"] .case-hero .hero-title {
    line-height: 0.92;
}

body[data-project="tea"] .case-hero .hero-title .title-line {
    font-size: clamp(68px, 6.5vw, 108px);
    line-height: 0.9;
    letter-spacing: -0.065em;
}

body[data-project="tea"] .case-hero .hero-title .title-line--en {
    margin: 14px 0 0;
    font-size: clamp(22px, 2vw, 32px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.08em;
    opacity: 0.56;
}

body[data-project="tea"] .case-hero .hero-subtitle {
    max-width: none;
    margin: 36px 0 0;
    color: #bff3d8;
    font-size: clamp(20px, 1.6vw, 27px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.energy-hero-spec {
    margin: 32px 0 0;
    padding-top: 17px;
    border-top: 1px solid rgba(243, 239, 228, 0.18);
    color: rgba(243, 239, 228, 0.78);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.7;
}

.energy-hero-cue {
    display: block;
    margin-top: 54px;
    color: rgba(243, 239, 228, 0.45);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

body[data-project="tea"] .case-hero .hero-index,
body[data-project="tea"] .energy-scene__eyebrow,
body[data-project="tea"] .energy-scene__metric,
body[data-project="tea"] .energy-scene__status,
body[data-project="tea"] .energy-scene__drag,
body[data-project="tea"] .energy-scene--detail .art-word,
body[data-project="tea"] .energy-scene--detail .art-grid {
    display: none;
}

.energy-component-toggle {
    position: absolute;
    z-index: 14;
    top: 50%;
    right: 3.2vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 116px;
    padding: 11px 0;
    border: 0;
    border-top: 1px solid rgba(243, 239, 228, 0.3);
    border-bottom: 1px solid rgba(243, 239, 228, 0.3);
    border-radius: 0;
    color: rgba(243, 239, 228, 0.72);
    background: transparent;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: left;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.energy-component-toggle b {
    color: #bff3d8;
    font-size: 8px;
    font-weight: 700;
}

.energy-component-toggle:hover,
.energy-component-toggle:focus-visible,
.energy-scene--detail.is-components-open .energy-component-toggle {
    color: #f3efe4;
    border-color: #bff3d8;
    outline: none;
}

body[data-project="tea"] .energy-component-nav {
    top: calc(50% + 42px);
    right: 3.2vw;
    left: auto;
    width: 188px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-9px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

body[data-project="tea"] .energy-scene--detail.is-components-open .energy-component-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

body[data-project="tea"] .energy-focus-panel {
    right: 3.2vw;
    bottom: 96px;
    width: min(252px, 24vw);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}

body[data-project="tea"] .energy-scene--detail.has-energy-focus .energy-focus-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

body[data-project="tea"] .energy-hotspot {
    opacity: 0 !important;
}

body[data-project="tea"] .energy-scene--detail.has-energy-focus .energy-hotspot.is-active:not(.is-hidden) {
    opacity: 1 !important;
}

body[data-project="tea"] .energy-scene__controls {
    z-index: 14;
    right: auto;
    bottom: 28px;
    left: 62%;
    padding: 5px;
    transform: translateX(-50%);
}

body[data-project="tea"] .energy-scene__controls button {
    padding: 8px 13px;
    font-size: 8px;
}

@media (max-width: 1050px) {
    body[data-project="tea"] .case-hero .hero-copy {
        width: clamp(360px, 40vw, 450px);
        min-height: 100%;
        height: 100%;
        padding: 128px 42px 58px 5.5vw;
    }

    body[data-project="tea"] .case-hero .hero-title .title-line {
        font-size: clamp(64px, 8.6vw, 90px);
    }

    body[data-project="tea"] .energy-component-toggle,
    body[data-project="tea"] .energy-component-nav,
    body[data-project="tea"] .energy-focus-panel {
        right: 24px;
    }

    body[data-project="tea"] .energy-scene__controls {
        left: 68%;
    }
}

@media (max-width: 760px) {
    body[data-project="tea"] .case-hero {
        height: max(720px, 100svh);
        min-height: max(720px, 100svh);
    }

    body[data-project="tea"] .case-hero .hero-copy {
        position: absolute;
        inset: auto 0 0;
        justify-content: flex-end;
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 30px max(22px, env(safe-area-inset-right)) 72px max(22px, env(safe-area-inset-left));
        border-top: 1px solid rgba(243, 239, 228, 0.14);
        border-right: 0;
        background: rgba(8, 31, 27, 0.72);
        -webkit-backdrop-filter: blur(16px) saturate(0.86);
        backdrop-filter: blur(16px) saturate(0.86);
    }

    body[data-project="tea"] .case-hero .hero-kicker {
        margin-bottom: 18px;
        padding-bottom: 11px;
    }

    body[data-project="tea"] .case-hero .hero-kicker small {
        display: none;
    }

    body[data-project="tea"] .case-hero .hero-title .title-line {
        font-size: clamp(50px, 15vw, 72px);
        white-space: nowrap;
    }

    body[data-project="tea"] .case-hero .hero-title .title-line--en {
        margin-top: 8px;
        font-size: 19px;
    }

    body[data-project="tea"] .case-hero .hero-subtitle {
        margin-top: 18px;
        font-size: 18px;
    }

    .energy-hero-spec {
        margin-top: 18px;
        padding-top: 12px;
        font-size: 7px;
    }

    .energy-hero-cue {
        display: none;
    }

    body[data-project="tea"] .energy-component-toggle {
        top: 96px;
        right: 20px;
        width: 102px;
        transform: none;
    }

    body[data-project="tea"] .energy-component-nav {
        top: 141px;
        right: 20px;
        left: auto;
        display: grid;
        width: 172px;
        border: 0;
        overflow: visible;
    }

    body[data-project="tea"] .energy-component-nav button {
        grid-template-columns: 26px 1fr;
        border-right: 0;
        border-bottom: 1px solid rgba(243, 239, 228, 0.16);
    }

    body[data-project="tea"] .energy-component-nav button span {
        display: block;
    }

    body[data-project="tea"] .energy-focus-panel {
        top: 155px;
        right: 20px;
        bottom: auto;
        width: min(230px, calc(100% - 40px));
    }

    body[data-project="tea"] .energy-scene__controls {
        z-index: 16;
        right: 20px;
        bottom: 17px;
        left: 20px;
        transform: none;
    }

    body[data-project="tea"] .energy-scene__controls button {
        padding: 8px 5px;
    }
}

/* HOME ESS / approved A — open architectural stage */
body[data-project="tea"] .case-hero {
    isolation: isolate;
}

body[data-project="tea"] .case-hero::after {
    position: absolute;
    z-index: 13;
    right: 0;
    bottom: 0;
    left: 0;
    height: 84px;
    border-top: 1px solid rgba(243, 239, 228, 0.14);
    background: rgba(8, 31, 27, 0.08);
    content: "";
    pointer-events: none;
}

body[data-project="tea"] .case-hero .hero-copy {
    position: absolute;
    z-index: 12;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    border: 0;
    color: #f3efe4;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body[data-project="tea"] .case-hero .hero-copy::before {
    position: absolute;
    top: 24vh;
    left: 5.2vw;
    width: 1px;
    height: 42px;
    background: #71c6a7;
    content: "";
}

body[data-project="tea"] .case-hero .hero-kicker {
    position: absolute;
    top: calc(24vh + 64px);
    left: 5.2vw;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

body[data-project="tea"] .case-hero .hero-kicker p {
    display: block;
}

body[data-project="tea"] .case-hero .hero-kicker b {
    display: block;
    font-size: 9px;
    letter-spacing: 0.2em;
    opacity: 0.54;
}

body[data-project="tea"] .case-hero .hero-kicker small {
    display: none;
}

body[data-project="tea"] .case-hero .hero-title {
    position: absolute;
    top: calc(24vh + 98px);
    left: 5.2vw;
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    max-width: 37vw;
    line-height: 1;
}

body[data-project="tea"] .case-hero .hero-title .title-line {
    font-size: clamp(52px, 4.55vw, 66px);
    line-height: 1;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

body[data-project="tea"] .case-hero .hero-title .title-line--en {
    margin: 0;
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.46;
}

html[data-language="en"] body[data-project="tea"] .case-hero .hero-title .title-line:first-child {
    max-width: 360px;
    font-size: clamp(48px, 4.5vw, 64px);
    letter-spacing: -0.055em;
}

body[data-project="tea"] .case-hero .hero-subtitle {
    position: absolute;
    top: calc(24vh + 172px);
    left: 5.2vw;
    max-width: 360px;
    margin: 0;
    color: #bff3d8;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.3;
}

body[data-project="tea"] .case-hero .energy-hero-spec {
    position: absolute;
    top: calc(24vh + 226px);
    left: 5.2vw;
    margin: 0;
    padding: 0;
    border: 0;
    color: rgba(243, 239, 228, 0.43);
    font-size: 8px;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

body[data-project="tea"] .case-hero .energy-hero-cue {
    position: absolute;
    bottom: 32px;
    left: 5.2vw;
    margin: 0;
    color: rgba(243, 239, 228, 0.34);
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

body[data-project="tea"] .energy-component-toggle {
    top: auto;
    right: 5.2vw;
    bottom: 22px;
    width: 132px;
    padding: 10px 0;
    border: 0;
    color: #bff3d8;
    transform: none;
}

body[data-project="tea"] .energy-component-nav {
    top: auto;
    right: 5.2vw;
    bottom: 84px;
}

body[data-project="tea"] .energy-focus-panel {
    right: 5.2vw;
    bottom: 108px;
}

body[data-project="tea"] .energy-scene__controls {
    right: auto;
    bottom: 20px;
    left: 50%;
    gap: 1px;
    padding: 1px;
    border: 0;
    border-radius: 0;
    background: rgba(243, 239, 228, 0.14);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateX(-50%);
}

body[data-project="tea"] .energy-scene__controls button {
    min-height: 42px;
    padding: 10px 23px;
    border-radius: 0;
    background: rgba(8, 31, 27, 0.78);
    font-size: 8px;
}

body[data-project="tea"] .energy-scene__controls button:hover {
    transform: none;
}

@media (max-width: 1050px) {
    body[data-project="tea"] .case-hero .hero-copy {
        width: 100%;
        height: 100%;
        min-height: 100%;
        padding: 0;
    }

    body[data-project="tea"] .case-hero .hero-copy::before,
    body[data-project="tea"] .case-hero .hero-kicker,
    body[data-project="tea"] .case-hero .hero-title,
    body[data-project="tea"] .case-hero .hero-subtitle,
    body[data-project="tea"] .case-hero .energy-hero-spec {
        left: 5.5vw;
    }

    body[data-project="tea"] .case-hero .hero-title {
        max-width: 42vw;
    }

    body[data-project="tea"] .case-hero .hero-title .title-line {
        font-size: clamp(48px, 6vw, 62px);
    }

    html[data-language="en"] body[data-project="tea"] .case-hero .hero-title .title-line:first-child {
        font-size: clamp(43px, 5.5vw, 58px);
    }

    body[data-project="tea"] .case-hero .energy-hero-cue {
        left: 5.5vw;
    }

    body[data-project="tea"] .energy-component-toggle,
    body[data-project="tea"] .energy-component-nav,
    body[data-project="tea"] .energy-focus-panel {
        right: 4vw;
    }

    body[data-project="tea"] .energy-scene__controls {
        left: 55%;
    }
}

@media (max-width: 760px) {
    body[data-project="tea"] .case-hero .hero-copy {
        position: absolute;
        inset: 0;
        justify-content: initial;
        width: 100%;
        height: 100%;
        min-height: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    body[data-project="tea"] .case-hero .hero-copy::before {
        top: 116px;
        left: 20px;
        height: 30px;
    }

    body[data-project="tea"] .case-hero .hero-kicker {
        top: 162px;
        left: 20px;
    }

    body[data-project="tea"] .case-hero .hero-title {
        top: 192px;
        left: 20px;
        gap: 10px;
        max-width: calc(100% - 40px);
    }

    body[data-project="tea"] .case-hero .hero-title .title-line {
        font-size: clamp(44px, 12vw, 56px);
    }

    body[data-project="tea"] .case-hero .hero-title .title-line--en {
        margin: 0;
        font-size: 16px;
    }

    html[data-language="en"] body[data-project="tea"] .case-hero .hero-title .title-line:first-child {
        max-width: calc(100vw - 40px);
        font-size: clamp(40px, 11vw, 52px);
    }

    body[data-project="tea"] .case-hero .hero-subtitle {
        top: 255px;
        left: 20px;
        max-width: calc(100% - 40px);
        margin: 0;
        font-size: 17px;
    }

    body[data-project="tea"] .case-hero .energy-hero-spec {
        top: 294px;
        left: 20px;
        max-width: calc(100% - 40px);
        font-size: 7px;
        white-space: normal;
    }

    body[data-project="tea"] .case-hero .energy-hero-cue {
        display: none;
    }

    body[data-project="tea"] .case-hero::after {
        height: 78px;
    }

    body[data-project="tea"] .energy-component-toggle {
        top: auto;
        right: 20px;
        bottom: 18px;
        width: 38px;
        padding: 10px 0;
        justify-content: flex-end;
    }

    body[data-project="tea"] .energy-component-toggle span {
        display: none;
    }

    body[data-project="tea"] .energy-component-nav {
        top: auto;
        right: 20px;
        bottom: 78px;
    }

    body[data-project="tea"] .energy-focus-panel {
        top: auto;
        right: 20px;
        bottom: 96px;
    }

    body[data-project="tea"] .energy-scene__controls {
        right: 70px;
        bottom: 15px;
        left: 20px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        transform: none;
    }

    body[data-project="tea"] .energy-scene__controls button {
        min-width: 0;
        min-height: 42px;
        padding: 8px 3px;
        font-size: 7px;
    }
}

/* HOME ESS / product controls and real-world EV charging layout */
body[data-project="tea"] .case-hero .energy-hero-cue::after {
    display: inline-block;
    margin-left: 10px;
    color: #71c6a7;
    width: 12px; height: 12px; background: currentColor; content: ""; -webkit-mask: url("../assets/icons/arrow-down.svg") center / contain no-repeat; mask: url("../assets/icons/arrow-down.svg") center / contain no-repeat;
    font-size: 12px;
    animation: energy-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes energy-scroll-cue {
    0%, 100% { transform: translateY(-2px); opacity: 0.45; }
    50% { transform: translateY(3px); opacity: 1; }
}

@media (min-width: 761px) {
    body[data-project="tea"] .energy-component-toggle {
        top: calc(50% - 142px);
        right: 3vw;
        bottom: auto;
        width: 168px;
        padding: 11px 12px;
        border: 1px solid rgba(243, 239, 228, 0.2);
        color: #f3efe4;
        background: rgba(8, 31, 27, 0.68);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        transform: none;
    }

    body[data-project="tea"] .energy-component-toggle b {
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        color: #102824;
        background: #bff3d8;
    }

    body[data-project="tea"] .energy-component-nav,
    body[data-project="tea"] .energy-scene--detail.is-components-open .energy-component-nav {
        top: 50%;
        right: 3vw;
        bottom: auto;
        left: auto;
        display: grid;
        width: 168px;
        border: 1px solid rgba(243, 239, 228, 0.2);
        background: rgba(8, 31, 27, 0.68);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 18px 50px rgba(8, 31, 27, 0.18);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%);
    }

    body[data-project="tea"] .energy-component-nav button {
        grid-template-columns: 28px 1fr;
        min-height: 40px;
        padding: 0 12px;
    }

    body[data-project="tea"] .energy-component-nav button b {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    body[data-project="tea"] .energy-focus-panel {
        right: calc(3vw + 188px);
        bottom: 108px;
    }
}

@media (max-width: 760px) {
    body[data-project="tea"] .energy-component-toggle {
        top: auto;
        right: 20px;
        bottom: 86px;
        display: flex;
        justify-content: space-between;
        width: 118px;
        min-height: 38px;
        padding: 8px 10px;
        border: 1px solid rgba(243, 239, 228, 0.24);
        color: #f3efe4;
        background: rgba(8, 31, 27, 0.82);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        transform: none;
    }

    body[data-project="tea"] .energy-component-toggle span {
        display: inline;
    }

    body[data-project="tea"] .energy-component-nav {
        top: auto;
        right: 20px;
        bottom: 128px;
        left: 20px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: auto;
        border: 1px solid rgba(243, 239, 228, 0.2);
        background: rgba(8, 31, 27, 0.88);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        overflow: visible;
    }

    body[data-project="tea"] .energy-component-nav button {
        grid-template-columns: 1fr;
        justify-items: center;
        min-width: 0;
        min-height: 52px;
        padding: 6px 3px;
        border-right: 1px solid rgba(243, 239, 228, 0.14);
        border-bottom: 0;
        text-align: center;
    }

    body[data-project="tea"] .energy-component-nav button:last-child {
        border-right: 0;
    }

    body[data-project="tea"] .energy-component-nav button span {
        display: block;
        font-size: 7px;
    }

    body[data-project="tea"] .energy-component-nav button b {
        max-width: 100%;
        overflow: hidden;
        font-size: 7px;
        letter-spacing: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body[data-project="tea"] .energy-focus-panel {
        top: auto;
        right: 20px;
        bottom: 190px;
    }
}
