:root {
    --ink: #191918;
    --ink-soft: #42413e;
    --muted: #77736d;
    --paper: #f5f3ef;
    --paper-deep: #ebe8e2;
    --warm: #fbfaf7;
    --white: #fff;
    --line: #d9d5ce;
    --red: #e31d2b;
    --red-dark: #b90f1c;
    --radius: 4px;
    --shadow: 0 28px 70px rgba(26, 24, 20, .13);
    --container: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 4%, rgba(227, 29, 43, .07), transparent 26rem),
        linear-gradient(180deg, var(--warm), var(--paper) 42rem);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(calc(100% - 64px), var(--container));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 8px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

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

.site-header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(25, 25, 24, .12);
    background: rgba(251, 250, 247, .9);
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
    position: sticky;
    top: 0;
    box-shadow: 0 10px 35px rgba(25, 25, 24, .06);
}

.header-inner {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    min-height: 88px;
    align-items: center;
    gap: 42px;
}

.brand {
    display: inline-flex;
    width: 205px;
}

.brand img {
    width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 38px;
}

.site-nav a {
    position: relative;
    padding: 30px 0 26px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 600;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

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

.site-nav a.is-active {
    color: var(--ink);
}

.header-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 20px;
    color: var(--white);
    background: var(--ink);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease;
}

.header-cta:hover {
    background: var(--red);
}

.nav-toggle {
    display: none;
    width: 78px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(25, 25, 24, .18);
    background: rgba(255, 255, 255, .56);
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.nav-toggle i {
    display: flex;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    font-style: normal;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: background .2s ease, transform .2s ease;
}

.nav-toggle b {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.nav-open .nav-toggle {
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
}

.nav-open .nav-toggle span {
    background: var(--white);
}

.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 1px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

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

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

.button-dark:hover {
    background: var(--red);
}

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

.button-light:hover {
    color: var(--white);
    background: var(--red);
}

.button-ghost,
.button-outline {
    border-color: var(--ink);
    background: transparent;
}

.button-ghost:hover,
.button-outline:hover {
    color: var(--white);
    background: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 13px;
}

.text-link.strong {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.eyebrow,
.section-kicker {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
}

.eyebrow span {
    width: 28px;
    height: 2px;
    background: var(--red);
}

.section-kicker.light {
    color: rgba(255, 255, 255, .56);
}

.section-title {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.18;
}

.section-title.light {
    color: var(--white);
}

.section {
    padding: 96px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 54px;
}

.section-head.compact {
    margin-bottom: 42px;
}

.section-side-copy {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 0;
    background:
        radial-gradient(circle at 70% 18%, rgba(227, 29, 43, .1), transparent 24rem),
        linear-gradient(90deg, transparent 49.94%, rgba(25, 25, 24, .06) 50%, transparent 50.06%),
        transparent;
}

.hero::before {
    position: absolute;
    top: 8%;
    left: -8%;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(25, 25, 24, .08);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    display: grid;
    min-height: 610px;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 64px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 72px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(52px, 5.6vw, 86px);
    font-weight: 700;
    /* letter-spacing: -.06em; */
    line-height: 1;
}

.hero-copy h1 em {
    color: var(--red);
    font-style: normal;
}

.hero-lead {
    max-width: 570px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.9;
}

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

.hero-stats {
    display: flex;
    gap: 58px;
    margin: 48px 0 0;
}

.hero-stats div {
    min-width: 92px;
}

.hero-stats dt {
    font-family: Arial, sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
}

.hero-stats sup {
    color: var(--red);
    font-size: 13px;
    vertical-align: top;
}

.hero-stats dd {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    min-height: 590px;
}

.hero-visual::before {
    position: absolute;
    top: 54px;
    right: 38px;
    width: 430px;
    height: 430px;
    background: radial-gradient(circle, rgba(227, 29, 43, .12), transparent 68%);
    content: "";
}

.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(25, 25, 24, .16);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hero-orbit::before,
.hero-orbit::after {
    position: absolute;
    border: 1px solid rgba(25, 25, 24, .09);
    border-radius: 50%;
    content: "";
}

.hero-orbit::before {
    inset: 80px;
}

.hero-orbit::after {
    inset: 170px;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--white);
    box-shadow: 0 24px 55px rgba(26, 24, 20, .13);
}

.hero-photo .image-main,
.case-card-image .image-main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.hero-photo .image-main {
    padding: 0;
}

.hero-photo:hover .image-main {
    transform: scale(1.025);
}

.hero-photo-1 {
    z-index: 3;
    top: 42px;
    left: 2%;
    width: 57%;
    height: 500px;
}

.hero-photo-2 {
    z-index: 2;
    top: 60px;
    right: 3%;
    width: 31%;
    height: 226px;
    transform: translateY(-8px);
}

.hero-photo-3 {
    z-index: 4;
    right: 6%;
    bottom: 54px;
    width: 30%;
    height: 226px;
    transform: translateY(8px);
}

.hero-photo-label {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    min-width: 0;
    padding: 11px 14px;
    color: var(--white);
    background: rgba(25, 25, 24, .9);
    font-size: 12px;
}

.hero-photo-label b {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.hero-stamp {
    position: absolute;
    z-index: 5;
    bottom: 44px;
    left: 0;
    display: flex;
    width: 126px;
    height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    line-height: 1;
    transform: rotate(-10deg);
}

.hero-stamp span,
.hero-stamp b {
    font-size: 21px;
    letter-spacing: .1em;
}

.hero-stamp small {
    margin-top: 9px;
    font-family: inherit;
    font-size: 9px;
    letter-spacing: .18em;
}

.hero-marquee {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
    padding: 17px 0 15px;
    color: rgba(255, 255, 255, .2);
    background: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .26em;
    white-space: nowrap;
}

.hero-marquee div {
    display: flex;
    min-width: 200%;
    width: max-content;
    gap: 42px;
    animation: marquee 34s linear infinite;
}

.hero-marquee span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.trust-strip-section {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding: 0 0 36px;
    background: var(--white);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 22px 55px rgba(25, 25, 24, .07);
}

.trust-strip div {
    min-height: 132px;
    padding: 26px 28px;
    border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip span {
    color: var(--red);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.trust-strip strong {
    display: block;
    margin-top: 17px;
    font-size: 18px;
}

.trust-strip p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
}

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

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 180px 1fr .72fr;
    align-items: start;
    gap: 55px;
}

.intro-copy {
    padding-top: 55px;
}

.intro-copy p {
    margin: 0 0 32px;
    color: var(--ink-soft);
    line-height: 2;
}

.cases-showcase {
    background: var(--paper);
}

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

.case-card {
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(25, 25, 24, .06);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.case-card:hover {
    background: var(--white);
    box-shadow: 0 24px 58px rgba(25, 25, 24, .12);
    transform: translateY(-4px);
}

.case-card-image {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--white);
}

.case-card-image::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .18), transparent 45%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    content: "";
    opacity: 0;
    transition: opacity .3s ease;
}

.case-card-image .image-main {
    padding: 0;
}

.case-card:hover .case-card-image .image-main {
    transform: scale(1.015);
}

.case-card:hover .case-card-image::after {
    opacity: 1;
}

.case-category {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    color: var(--white);
    background: rgba(25, 25, 24, .82);
    font-size: 11px;
    font-weight: 700;
}

.image-count {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--white);
    background: rgba(25, 25, 24, .68);
    border-radius: 50%;
}

.image-count svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.case-card-body {
    padding: 20px 18px 16px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
}

.case-meta span + span {
    position: relative;
}

.case-meta span + span::before {
    position: absolute;
    top: 50%;
    left: -8px;
    width: 2px;
    height: 2px;
    background: currentColor;
    content: "";
}

.case-card h3 {
    min-height: 56px;
    margin: 10px 0 17px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.7;
}

.case-card h3 a {
    transition: color .2s ease;
}

.case-card:hover h3 a {
    color: var(--red);
}

.case-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}

.category-section,
.principles-section {
    color: var(--white);
    background: var(--ink);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.category-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    transition: background .3s ease;
}

.category-card:hover {
    background: var(--red);
}

.category-number {
    color: rgba(255, 255, 255, .42);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.category-card h3 {
    margin: 0 0 17px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.category-card p {
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: 14px;
}

.category-card:hover p {
    color: rgba(255, 255, 255, .78);
}

.category-count {
    font-size: 12px;
}

.category-arrow {
    position: absolute;
    right: 30px;
    bottom: 28px;
    font-size: 25px;
}

.process-section {
    background: var(--white);
}

.process-list {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ink);
    list-style: none;
}

.process-list li {
    min-height: 230px;
    padding: 26px 34px 28px 0;
    border-right: 1px solid var(--line);
}

.process-list li:not(:first-child) {
    padding-left: 34px;
}

.process-list li:last-child {
    border-right: 0;
}

.process-list span {
    color: var(--red);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.process-list h3 {
    margin: 47px 0 13px;
    font-size: 21px;
}

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

.home-cta {
    padding-top: 0;
    background: var(--white);
}

.contact-section {
    padding-top: 0;
    background: var(--white);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 60px;
    padding: 58px 64px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 85% 15%, rgba(227, 29, 43, .08), transparent 20rem),
        var(--paper);
}

.contact-panel p {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--ink-soft);
}

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

.wechat-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 22px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(25, 25, 24, .08);
}

.wechat-card img,
.wechat-placeholder {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 1px solid var(--line);
    background: var(--white);
}

.wechat-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.wechat-placeholder small {
    display: block;
    font-size: 11px;
}

.wechat-card strong {
    font-size: 18px;
}

.wechat-card span {
    color: var(--muted);
    font-size: 12px;
}

.cta-panel {
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 72px 8%;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, .12), transparent 30%),
        linear-gradient(135deg, var(--red), var(--red-dark));
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(32px, 3.4vw, 50px);
    letter-spacing: -.045em;
    line-height: 1.2;
}

.page-hero {
    padding: 72px 0 66px;
    color: var(--white);
    background:
        radial-gradient(circle at 75% 10%, rgba(227, 29, 43, .28), transparent 23rem),
        linear-gradient(90deg, transparent 49.95%, rgba(255, 255, 255, .08) 50%, transparent 50.05%),
        var(--ink);
}

.page-hero-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.page-hero .eyebrow {
    color: rgba(255, 255, 255, .5);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(44px, 5.6vw, 76px);
    /* letter-spacing: -.06em; */
    line-height: 1;
}

.page-hero-inner > p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 15px;
}

.cases-content {
    padding: 0 0 120px;
}

.quick-case-nav {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
}

.quick-case-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.quick-case-inner span {
    margin-right: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.quick-case-inner a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.quick-case-inner a:hover,
.quick-case-inner a.is-active {
    border-color: var(--ink);
    color: var(--white);
    background: var(--ink);
}

.case-filters {
    position: relative;
    z-index: 3;
    margin: 30px 0 46px;
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(25, 25, 24, .08);
    box-shadow: 0 24px 65px rgba(25, 25, 24, .09);
}

.filter-search > label,
.filter-row label > span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.search-control {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    min-height: 56px;
    align-items: center;
    padding-left: 17px;
    border: 1px solid var(--line);
}

.search-control:focus-within {
    border-color: var(--ink);
}

.search-control svg {
    width: 19px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.7;
}

.search-control input {
    min-width: 0;
    height: 54px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
}

.search-control button {
    align-self: stretch;
    min-width: 90px;
    border: 0;
    color: var(--white);
    background: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.search-control button:hover {
    background: var(--red);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.filter-row select {
    width: 100%;
    height: 48px;
    padding: 0 38px 0 13px;
    border: 1px solid var(--line);
    outline: 0;
    background-color: var(--white);
    font-size: 13px;
}

.filter-row select:focus {
    border-color: var(--ink);
}

.result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.result-bar p {
    margin: 0;
}

.result-bar strong {
    color: var(--ink);
    font-size: 18px;
}

.result-bar a {
    color: var(--red);
    font-weight: 700;
}

.pagination {
    display: grid;
    min-height: 54px;
    margin-top: 70px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 13px;
}

.page-next {
    justify-self: end;
}

.page-numbers {
    display: flex;
    gap: 6px;
}

.page-numbers a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
}

.page-numbers a.is-current,
.page-numbers a:hover {
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
}

.empty-state {
    padding: 100px 20px;
    text-align: center;
}

.empty-state > span {
    color: var(--red);
    font-family: Arial, sans-serif;
    font-size: 90px;
    font-weight: 700;
}

.empty-state h2 {
    margin: 0;
    font-size: 32px;
}

.empty-state p {
    margin: 12px 0 28px;
    color: var(--muted);
}

.detail-head {
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumb a:hover {
    color: var(--red);
}

.case-detail {
    padding: 70px 0 0;
    background: var(--white);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    align-items: start;
    gap: 78px;
}

.gallery-main {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 0;
    background: var(--paper-deep);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main > span {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 7px 10px;
    color: var(--white);
    background: rgba(25, 25, 24, .72);
    font-size: 11px;
}

.gallery-thumbs {
    display: grid;
    margin-top: 12px;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.gallery-thumbs button {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 2px solid transparent;
    background: var(--paper-deep);
}

.gallery-thumbs button.is-active {
    border-color: var(--red);
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    position: sticky;
    top: 115px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tags span,
.detail-tags a {
    padding: 6px 10px;
    color: var(--ink-soft);
    background: var(--paper);
    font-size: 11px;
    font-weight: 700;
}

.detail-tags a {
    color: var(--white);
    background: var(--red);
}

.detail-info h1 {
    margin: 25px 0 19px;
    font-size: clamp(28px, 2.6vw, 40px);
    letter-spacing: -.035em;
    line-height: 1.35;
}

.detail-summary {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.prescription-card {
    display: grid;
    margin: 32px 0 0;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--line);
}

.prescription-card div {
    min-height: 82px;
    padding: 15px 17px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.prescription-card dt {
    color: var(--muted);
    font-size: 10px;
}

.prescription-card dd {
    margin: 7px 0 0;
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
}

.detail-notice {
    display: grid;
    margin-top: 21px;
    grid-template-columns: 21px 1fr;
    gap: 11px;
    padding: 14px;
    color: #796745;
    background: #faf5e8;
}

.detail-notice svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.6;
}

.detail-notice p {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 10px;
}

.detail-back {
    width: 100%;
    margin-top: 27px;
}

.case-story {
    display: grid;
    margin-top: 130px;
    padding-top: 80px;
    grid-template-columns: 1fr .65fr;
    align-items: end;
    gap: 60px;
    border-top: 1px solid var(--line);
}

.case-story > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.detail-image-list {
    display: grid;
    margin-top: 55px;
    padding-bottom: 120px;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.detail-image-list figure {
    margin: 0;
}

.detail-image-list figure:nth-child(3n) {
    grid-column: 1 / -1;
}

.detail-image-list img {
    width: 100%;
    max-height: 900px;
    object-fit: contain;
    background: var(--paper);
}

.detail-image-list figcaption {
    padding: 9px 0;
    color: var(--muted);
    font-size: 10px;
}

.similar-section {
    background: var(--paper);
}

.lightbox {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
    padding: 18px;
    background: rgba(8, 8, 8, .94);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-stage {
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: auto;
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 82vh;
    object-fit: contain;
    transform-origin: center;
    transition: transform .18s ease;
}

.lightbox-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.lightbox-toolbar button,
.lightbox-close {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    font-size: 14px;
    cursor: pointer;
}

.editorial-hero {
    padding: 96px 0 88px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 18%, rgba(227, 29, 43, .42), transparent 25%),
        var(--ink);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 200px 1fr .65fr;
    align-items: end;
    gap: 50px;
}

.editorial-grid .eyebrow {
    align-self: start;
    color: rgba(255, 255, 255, .48);
}

.editorial-grid h1 {
    margin: 0;
    font-size: clamp(38px, 4.5vw, 66px);
    /* letter-spacing: -.055em; */
    line-height: 1.16;
}

.editorial-lead {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    line-height: 2;
}

.about-values,
.guide-content {
    background: var(--white);
}

.about-stats {
    display: grid;
    margin-bottom: 110px;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--line);
}

.about-stats div {
    min-height: 180px;
    padding: 31px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-stats strong {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 56px;
    line-height: 1;
}

.about-stats span {
    display: block;
    margin-top: 39px;
    color: var(--muted);
    font-size: 12px;
}

.about-copy-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 110px;
}

.prose {
    padding-top: 38px;
}

.prose p {
    margin: 0 0 25px;
    color: var(--ink-soft);
    line-height: 2.1;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .17);
}

.principles-grid article {
    min-height: 285px;
    padding: 29px 36px 34px 0;
    border-right: 1px solid rgba(255, 255, 255, .17);
}

.principles-grid article:not(:first-child) {
    padding-left: 36px;
}

.principles-grid article:last-child {
    border-right: 0;
}

.principles-grid span {
    color: var(--red);
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.principles-grid h3 {
    margin: 62px 0 14px;
    font-size: 25px;
}

.principles-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    align-items: start;
    gap: 100px;
}

.guide-aside {
    position: sticky;
    top: 125px;
    padding: 25px 0;
    border-top: 2px solid var(--red);
    border-bottom: 1px solid var(--line);
}

.guide-aside > span {
    font-size: 13px;
    font-weight: 800;
}

.guide-aside p {
    margin: 17px 0 27px;
    color: var(--muted);
    font-size: 13px;
}

.guide-articles article {
    display: grid;
    padding: 45px 0 58px;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    border-top: 1px solid var(--line);
}

.guide-articles article:first-child {
    padding-top: 0;
    border-top: 0;
}

.guide-number {
    color: var(--red);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.guide-articles h2 {
    margin: 0 0 20px;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: -.04em;
}

.guide-articles p {
    max-width: 720px;
    margin: 0;
    color: var(--ink-soft);
    line-height: 2.05;
}

.guide-articles .button {
    margin-top: 30px;
}

.status-page {
    display: grid;
    min-height: 65vh;
    place-items: center;
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.status-code {
    display: block;
    color: var(--red);
    font-family: Arial, sans-serif;
    font-size: clamp(100px, 18vw, 220px);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: .8;
}

.status-page h1 {
    margin: 35px 0 10px;
    font-size: 35px;
}

.status-page p {
    margin: 0 0 30px;
    color: var(--muted);
}

.site-footer {
    padding: 80px 0 24px;
    color: rgba(255, 255, 255, .58);
    background: #10100f;
}

.footer-grid {
    display: grid;
    padding-bottom: 68px;
    grid-template-columns: 1.4fr .6fr .6fr 1fr;
    gap: 70px;
}

.footer-brand img {
    width: 210px;
    filter: invert(1) grayscale(1) brightness(2);
    opacity: .84;
}

.footer-brand p,
.footer-note p {
    max-width: 340px;
    margin: 25px 0 0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.footer-links strong,
.footer-note strong {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
}

@media (max-width: 1150px) {
    .header-inner {
        grid-template-columns: 180px 1fr auto;
        gap: 25px;
    }

    .brand {
        width: 180px;
    }

    .site-nav {
        gap: 24px;
    }

    .hero-grid {
        grid-template-columns: .9fr 1.1fr;
        gap: 20px;
    }

    .hero-photo-1 {
        top: 38px;
        left: 1%;
        width: 58%;
        height: 492px;
    }

    .hero-photo-2 {
        right: 2%;
        width: 32%;
    }

    .hero-photo-3 {
        right: 4%;
        width: 31%;
    }

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

    .editorial-grid {
        grid-template-columns: 1fr 2fr;
    }

    .editorial-lead {
        grid-column: 2;
    }

    .detail-grid {
        gap: 44px;
    }

    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .header-inner {
        min-height: 74px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }

    .brand {
        width: 172px;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        position: relative;
        z-index: 110;
        display: inline-flex;
        justify-self: end;
    }

    .site-nav {
        position: fixed;
        z-index: 90;
        top: 74px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        height: calc(100vh - 74px);
        height: calc(100dvh - 74px);
        overflow-y: auto;
        padding: 26px 20px 36px;
        background: var(--warm);
        box-shadow: inset 0 1px 0 rgba(25, 25, 24, .08), 0 28px 70px rgba(25, 25, 24, .16);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    }

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

    .site-nav a {
        display: flex;
        min-height: 64px;
        align-items: center;
        padding: 0 4px;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
        font-size: 22px;
        font-weight: 800;
    }

    .site-nav a.is-active {
        color: var(--red);
    }

    .site-nav a::after {
        display: none;
    }

    .section {
        padding: 74px 0;
    }

    .hero {
        padding-top: 55px;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 20px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-photo-1 {
        left: 2%;
        width: 58%;
        height: 480px;
    }

    .hero-photo-2 {
        right: 2%;
        width: 32%;
    }

    .hero-photo-3 {
        right: 4%;
        width: 32%;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .intro-copy {
        padding-top: 18px;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip div:nth-child(2) {
        border-right: 0;
    }

    .trust-strip div:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .category-card {
        min-height: 260px;
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list li:nth-child(2) {
        border-right: 0;
    }

    .process-list li:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .cta-panel {
        min-height: 340px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        padding: 42px;
    }

    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-case-nav {
        overflow-x: auto;
        padding: 14px 0;
    }

    .quick-case-inner {
        width: max-content;
        min-width: calc(100vw - 40px);
        flex-wrap: nowrap;
    }

    .quick-case-inner span {
        display: none;
    }

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

    .detail-info {
        position: static;
    }

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

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

    .editorial-lead {
        grid-column: auto;
    }

    .about-copy-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .guide-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .guide-aside {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .brand {
        width: 158px;
    }

    .nav-toggle {
        width: 78px;
        height: 40px;
        gap: 6px;
        padding: 0 10px;
    }

    .nav-toggle i {
        width: 22px;
        height: 16px;
        gap: 6px;
    }

    .nav-toggle span {
        width: 22px;
    }

    .site-nav {
        top: 68px;
        height: calc(100vh - 68px);
        height: calc(100dvh - 68px);
        padding: 18px 14px 32px;
    }

    .site-nav a {
        min-height: 58px;
        font-size: 20px;
    }

    .site-header.is-scrolled {
        position: relative;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 12vw, 46px);
        line-height: 1.08;
    }

    .hero-lead {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.85;
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 15px;
    }

    .hero-stats dt {
        font-size: 28px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-orbit {
        width: 370px;
        height: 370px;
    }

    .hero-photo-1 {
        top: 28px;
        left: 2%;
        width: 64%;
        height: 350px;
    }

    .hero-photo-2 {
        top: 20px;
        right: 0;
        width: 34%;
        height: 160px;
    }

    .hero-photo-3 {
        right: 0;
        bottom: 22px;
        width: 36%;
        height: 175px;
    }

    .hero-stamp {
        bottom: 15px;
        width: 92px;
        height: 92px;
    }

    .hero-stamp span,
    .hero-stamp b {
        font-size: 15px;
    }

    .section {
        padding: 62px 0;
    }

    .section-head,
    .page-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
    }

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

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-strip div,
    .trust-strip div:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .trust-strip div:first-child {
        border-top: 0;
    }

    .quick-case-inner {
        min-width: calc(100vw - 28px);
    }

    .case-card h3 {
        min-height: auto;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-list li,
    .process-list li:not(:first-child) {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-list li:nth-child(n+3) {
        border-top: 0;
    }

    .process-list h3 {
        margin-top: 22px;
    }

    .cta-panel {
        padding: 50px 28px;
    }

    .contact-panel {
        padding: 30px 22px;
    }

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

    .contact-actions .button {
        width: 100%;
    }

    .page-hero {
        padding: 54px 0 58px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .case-filters {
        padding: 18px;
    }

    .search-control {
        grid-template-columns: 21px 1fr;
    }

    .search-control button {
        grid-column: 1 / -1;
        min-height: 45px;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .pagination {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .page-numbers {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: center;
    }

    .detail-grid {
        gap: 35px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .prescription-card {
        grid-template-columns: 1fr;
    }

    .detail-image-list {
        grid-template-columns: 1fr;
    }

    .detail-image-list figure:nth-child(3n) {
        grid-column: auto;
    }

    .lightbox {
        padding: 50px 12px;
    }

    .editorial-hero {
        padding: 68px 0 62px;
    }

    .editorial-grid h1 {
        font-size: 36px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stats div {
        min-height: 140px;
    }

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

    .principles-grid article,
    .principles-grid article:not(:first-child) {
        min-height: auto;
        padding: 28px 0 35px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .17);
    }

    .principles-grid h3 {
        margin-top: 30px;
    }

    .guide-articles article {
        grid-template-columns: 42px 1fr;
        gap: 10px;
    }

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

    .footer-brand,
    .footer-note {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
