/* Unified Niteco-inspired redesign for Anchenry.com */
:root {
    --bg: #141618;
    --surface: #17191c;
    --surface-2: #1d2024;
    --accent: #f9d022;
    --text: #ffffff;
    --muted: #848e9c;
    --border: rgba(230, 232, 236, 0.1);
    --border-strong: rgba(249, 208, 34, 0.34);
    --max: 1240px;
    --radius: 22px;
    --font: "Plus Jakarta Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;
    font-family: var(--font);
    background:
        radial-gradient(circle at 82% 18%, rgba(249, 208, 34, 0.08), transparent 26rem),
        radial-gradient(circle at 10% 34%, rgba(255, 255, 255, 0.04), transparent 24rem),
        var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.aura-background-component {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: luminosity;
    filter: saturate(0.5);
    overflow: hidden;
    contain: layout paint style;
    will-change: opacity;
    mask-image: linear-gradient(to bottom, transparent, black 0%, black 70%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 0%, black 70%, transparent);
}

.aura-background-component > div {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease;
}

.aura-background-component::before,
.aura-background-component::after {
    content: "";
    position: absolute;
    inset: -18%;
    opacity: 0.9;
    background:
        repeating-radial-gradient(ellipse at 72% 30%, transparent 0 36px, rgba(249, 208, 34, 0.18) 37px 38px, transparent 39px 72px),
        radial-gradient(circle at 70% 32%, rgba(249, 208, 34, 0.2), transparent 24rem);
    transform-origin: center;
    animation: aura-drift 18s ease-in-out infinite alternate;
    transition: opacity 0.6s ease;
}

.aura-background-component::after {
    opacity: 0.55;
    background:
        repeating-linear-gradient(120deg, transparent 0 42px, rgba(249, 208, 34, 0.12) 43px 44px, transparent 45px 84px),
        radial-gradient(circle at 34% 68%, rgba(255, 255, 255, 0.12), transparent 22rem);
    animation-duration: 24s;
    animation-delay: -8s;
}

.aura-background-component.is-live::before,
.aura-background-component.is-live::after {
    opacity: 0;
    animation-play-state: paused;
}

.aura-background-component.is-paused > div[data-us-project],
.aura-background-component.has-video > div[data-us-project] {
    opacity: 0;
    visibility: hidden;
}

.aura-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.aura-background-component.has-video .aura-video {
    opacity: 1;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.18;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, black 58%, transparent);
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

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

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #33383f;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

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

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

button,
input {
    font: inherit;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 22, 24, 0.82);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.site-main,
.logo-strip,
.bottom-cta,
.footer,
.lightbox,
.article-modal {
    position: relative;
    z-index: 1;
}

.logo-strip,
.section,
.case-grid,
.content-section,
.blog-section,
.bottom-cta,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.nav-inner {
    width: min(var(--max), calc(100% - 32px));
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.nav-links,
.page-switcher-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    color: rgba(255,255,255,0.86);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a,
.page-switcher-link {
    transition: color 0.25s ease;
}

.nav-links a:hover,
.page-switcher-link:hover,
.page-switcher-link.active {
    color: var(--accent);
}

.nav-action,
.button,
.search-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    cursor: pointer;
    font-weight: 600;
    padding: 0 26px;
    transition: transform 0.28s var(--ease), background 0.28s ease, color 0.28s ease;
}

.nav-action:hover,
.button:hover,
.search-button:hover {
    transform: translateY(-2px);
    background: #fff;
}

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

.button.secondary:hover {
    background: #fff;
    color: var(--bg);
}

.page-switcher {
    display: none;
}

.site-main {
    min-height: 100vh;
}

.container,
.section,
.hero,
.page-hero,
.content-section,
.blog-section,
.footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}

.hero {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: clamp(36px, 7vw, 96px);
    align-items: center;
    padding: clamp(72px, 10vw, 128px) 0;
}

.hero-single {
    min-height: calc(82vh - 80px);
    grid-template-columns: minmax(0, 0.82fr);
    justify-content: start;
}

.hero-single .hero-copy {
    max-width: 920px;
}

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

.kicker,
.hero-label,
.section-kicker,
.current-tag,
.current-province,
.blog-card-date,
.blog-card-category,
.tag-cloud-item,
.blog-card-tag,
.article-date,
.article-category,
.article-tag,
.map-label,
.photo-title {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-title,
.hero-title,
.blog-card-title,
.article-title,
.widget-title,
.metric-number,
.office-card h3,
.feature-card h3 {
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(3.7rem, 8vw, 7rem);
}

.hero h1 span,
.section-title span,
.page-hero h1 span {
    color: var(--accent);
}

.hero-lead,
.hero-description,
.page-description,
.section-lead,
.feature-card p,
.blog-card-excerpt,
.article-body,
.footer-note,
.photo-empty-text,
.metric-label,
.office-card p {
    color: var(--muted);
    font-weight: 400;
}

.hero-lead,
.hero-description {
    max-width: 560px;
    margin-top: 28px;
    font-size: 1.05rem;
}

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

.map-graphic {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.04), transparent 48%),
        var(--surface);
    border: 1px solid var(--border);
}

.map-graphic::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.44;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 55% 48%, #000, transparent 72%);
}

.hero-lines {
    position: absolute;
    inset: 0;
    color: var(--accent);
}

.hero-line {
    animation: subtle-drift 14s ease-in-out infinite alternate;
    transform-origin: center;
}

.hero-line:nth-child(2) { animation-delay: -2s; }
.hero-line:nth-child(3) { animation-delay: -4s; }
.hero-line:nth-child(4) { animation-delay: -6s; }

.hero-glow {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.04;
    filter: blur(86px);
}

.hero-card {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.hero-card div {
    padding: 22px;
    background: rgba(20,22,24,0.76);
    backdrop-filter: blur(18px);
}

.hero-card span,
.metric-label {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-card strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 1rem;
}

.logo-strip {
    border-block: 1px solid var(--border);
    background: rgba(20,22,24,0.72);
}

.logo-strip-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 22px;
    color: rgba(255,255,255,0.38);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.section {
    padding: clamp(76px, 10vw, 124px) 0;
    border-top: 1px solid var(--border);
}

.section-heading {
    max-width: 720px;
    margin-bottom: clamp(48px, 7vw, 82px);
}

.section-title {
    margin-top: 16px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.section-lead {
    max-width: 620px;
    margin-top: 18px;
}

.feature-grid,
.metrics-grid,
.office-grid,
.blog-list {
    display: grid;
    gap: clamp(24px, 3vw, 44px);
}

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

.feature-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 0 0 28px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 34px;
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 50%;
}

.feature-card h3 {
    margin-top: auto;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.feature-card p {
    margin-top: 18px;
    font-size: 0.94rem;
}

.feature-list {
    margin-top: 34px;
    list-style: none;
    border-top: 1px solid var(--border);
}

.feature-list li,
.office-card {
    border-bottom: 1px solid var(--border);
}

.feature-list a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-list a:hover {
    color: var(--accent);
}

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

.metric-number {
    color: var(--accent);
    font-size: clamp(3.2rem, 7vw, 6rem);
}

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

.case-card {
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(26px, 4vw, 48px);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(20,22,24,0.8);
}

.case-card.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 560px;
}

.case-card.photo-preview {
    background-image:
        linear-gradient(180deg, rgba(20,22,24,0.08), rgba(20,22,24,0.82)),
        var(--case-image);
    background-position: center;
    background-size: cover;
}

.case-card h3 {
    position: relative;
    z-index: 1;
    max-width: 460px;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
    line-height: 1.16;
}

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

.case-label {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.64);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-hero {
    min-height: 42vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    gap: 46px;
    align-items: center;
    padding: clamp(76px, 9vw, 116px) 0 clamp(54px, 7vw, 86px);
}

.page-hero h1 {
    margin-top: 18px;
    font-size: clamp(3.5rem, 7vw, 6.4rem);
}

.page-description {
    max-width: 560px;
    margin-top: 24px;
}

.current-province,
.current-tag {
    width: fit-content;
    margin-top: 28px;
    padding: 10px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(249, 208, 34, 0.08);
}

.content-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    padding-bottom: 96px;
}

.photos-container,
.blog-list-container,
.sidebar-widget,
.map-container,
.article-modal-content {
    border: 1px solid var(--border);
    background: rgba(23, 25, 28, 0.72);
    border-radius: var(--radius);
}

.photos-container,
.blog-list-container {
    padding: clamp(18px, 2.5vw, 28px);
}

.photos-grid {
    columns: 3 240px;
    column-gap: 16px;
}

.photo-item {
    position: relative;
    break-inside: avoid;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--surface-2);
    cursor: zoom-in;
}

.photo-item img {
    width: 100%;
    transition: transform 0.65s var(--ease), filter 0.65s ease;
    filter: saturate(0.78) contrast(1.05);
}

.photo-item:hover img {
    transform: scale(1.045);
    filter: saturate(1) contrast(1.08);
}

.photo-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 42px 16px 16px;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(20,22,24,0.88));
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.map-container {
    position: sticky;
    top: 104px;
    height: calc(100vh - 128px);
    min-height: 520px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    filter: grayscale(0.7) contrast(1.05) brightness(0.78);
}

.map-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 500;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.side-nav {
    position: fixed;
    left: 24px;
    top: 50%;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
}

.side-nav-link,
.side-nav-item {
    max-width: 148px;
    color: rgba(255,255,255,0.52);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.side-nav-link:hover,
.side-nav-link.active,
.side-nav-item:hover,
.side-nav-item.active {
    color: var(--accent);
}

.blog-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    padding-bottom: 96px;
}

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

.blog-card {
    display: block;
    padding: clamp(24px, 4vw, 42px);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s var(--ease);
}

.blog-card:last-child {
    border-bottom: 0;
}

.blog-card:hover {
    background: rgba(255,255,255,0.035);
    transform: translateX(8px);
}

.blog-card-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.blog-card-title {
    max-width: 820px;
    font-size: clamp(1.7rem, 4vw, 3.2rem);
}

.blog-card-excerpt {
    max-width: 760px;
    margin-top: 18px;
}

.blog-card-tags,
.article-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.blog-card-tag,
.article-tag,
.tag-cloud-item {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    letter-spacing: 0.08em;
}

.tag-cloud-item.active,
.tag-cloud-item:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.blog-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    align-content: start;
    gap: 18px;
    height: fit-content;
}

.sidebar-widget {
    padding: 24px;
}

.widget-title {
    margin-bottom: 18px;
    font-size: 1.18rem;
}

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

.search-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: none;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    padding: 0 16px;
}

.search-input:focus {
    border-color: var(--accent);
}

.article-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    overflow-y: auto;
    background: rgba(20,22,24,0.94);
    backdrop-filter: blur(22px);
}

.article-modal.active {
    display: block;
}

.article-modal-content {
    max-width: 900px;
    margin: 72px auto;
    padding: clamp(28px, 5vw, 58px);
}

.article-close,
.lightbox-close,
.lightbox-prev,
.lightbox-next,
.back-to-top {
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.article-close,
.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    z-index: 3010;
}

.article-title {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.article-body {
    margin-top: 34px;
    font-size: 1rem;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 2rem 0 1rem;
    color: #fff;
    letter-spacing: -0.03em;
}

.article-body p,
.article-body li {
    margin-bottom: 1rem;
}

.article-body a {
    color: var(--accent);
}

.article-body pre {
    overflow-x: auto;
    margin: 1.4rem 0;
    padding: 18px;
    border-radius: 16px;
    background: #0f1113;
}

.article-body code {
    font-family: "JetBrains Mono", Consolas, monospace;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20,22,24,0.94);
    backdrop-filter: blur(20px);
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: min(92vw, 1180px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 18px;
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.custom-marker {
    border-radius: 50%;
}

.marker-default {
    background: var(--accent);
    border: 3px solid #141618;
    box-shadow: 0 0 0 3px rgba(249,208,34,0.18);
}

.marker-active {
    background: #fff;
    border: 4px solid var(--accent);
    box-shadow: 0 0 0 12px rgba(249,208,34,0.16);
}

.no-photos,
.no-posts {
    padding: 72px 20px;
    color: var(--muted);
    text-align: center;
}

.no-photos-icon,
.no-posts-icon {
    display: none;
}

.office-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.office-card {
    min-height: 220px;
    padding: 34px;
    border-right: 1px solid var(--border);
    background: rgba(20,22,24,0.34);
}

.office-card h3 {
    font-size: 1.5rem;
}

.office-card p {
    margin-top: 10px;
    font-size: 0.9rem;
}

.bottom-cta {
    margin-top: 32px;
    padding: clamp(72px, 10vw, 118px) 16px;
    background: var(--accent);
    color: var(--bg);
    text-align: center;
}

.bottom-cta h2 {
    max-width: 920px;
    margin: 0 auto 36px;
    color: var(--bg);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1.02;
}

.bottom-cta .button {
    background: var(--bg);
    color: #fff;
}

.bottom-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 50px 0;
}

.footer-name {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.footer-copyright,
.footer-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.identity-panel {
    min-height: 520px;
    display: flex;
    align-items: stretch;
}

.identity-panel-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px, 4vw, 42px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(20,22,24,0.78)),
        rgba(20,22,24,0.28);
}

.identity-tag,
.project-meta {
    width: fit-content;
    padding: 10px 14px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(249, 208, 34, 0.08);
}

.identity-panel h2,
.identity-panel h3,
.detail-card h3,
.project-card h3 {
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.identity-panel h2,
.identity-panel h3 {
    max-width: 12ch;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.identity-panel p,
.detail-card p,
.project-card p,
.project-points li,
.identity-notes li,
.about-copy p {
    color: var(--muted);
}

.identity-stats {
    display: grid;
    gap: 10px;
}

.identity-stats div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: rgba(20,22,24,0.86);
}

.identity-stats span {
    display: block;
    color: rgba(255,255,255,0.52);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.identity-stats strong {
    display: block;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
}

.identity-stats a {
    color: inherit;
    text-decoration: none;
}

.identity-stats a:hover {
    color: var(--accent);
}

.identity-notes,
.project-points {
    list-style: none;
}

.identity-notes {
    display: grid;
    gap: 10px;
}

.identity-notes li {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
    gap: clamp(24px, 4vw, 42px);
}

.about-copy {
    display: grid;
    gap: 22px;
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(249, 208, 34, 0.045), transparent 46%),
        rgba(20,22,24,0.42);
}

.about-copy p {
    font-size: 1.02rem;
}

.about-copy p + p {
    margin-top: 0;
}

.about-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 8px;
    border: 1px solid var(--border);
    background: var(--border);
}

.about-focus-grid div {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    background: rgba(20,22,24,0.86);
}

.about-focus-grid span {
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-focus-grid strong {
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.detail-stack {
    display: grid;
    gap: 20px;
}

.detail-card,
.project-card {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%),
        rgba(20,22,24,0.4);
}

.detail-card h3 {
    margin-top: 14px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.detail-card p {
    margin-top: 12px;
    font-size: 0.94rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 34px);
}

.project-grid-single {
    grid-template-columns: minmax(0, 760px);
}

.project-card h3 {
    margin-top: 22px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.project-card p {
    margin-top: 16px;
    font-size: 0.98rem;
}

.project-points {
    margin-top: 30px;
    border-top: 1px solid var(--border);
}

.project-points li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 34px);
}

.timeline-card,
.honor-panel {
    position: relative;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 44%),
        rgba(20,22,24,0.4);
}

.timeline-card::before,
.honor-panel::before,
.project-card-featured::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.82;
}

.timeline-time {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.timeline-card h3,
.honor-panel h3 {
    margin-top: 16px;
    color: var(--text);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.timeline-card p,
.honor-list li {
    color: var(--muted);
}

.timeline-card p {
    margin-top: 14px;
}

.compact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.compact-strip span {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
    font-weight: 500;
}

.project-card-featured {
    min-height: 560px;
}

.honor-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 34px);
}

.honor-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}

.honor-list li {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.92rem;
}

.about-identity {
    min-height: 100%;
}

.archive-grid {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 34px);
}

.archive-grid .case-card.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 460px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    width: 52px;
    height: 52px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fade-in,
.fade-in-left,
.fade-in-right,
.fade-in-scale {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-scale.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@keyframes subtle-drift {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.26; }
    50% { transform: translateY(-20px) rotate(2deg); opacity: 0.55; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
}

@keyframes aura-drift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate3d(-2%, -3%, 0) rotate(2deg) scale(1.04);
    }
    100% {
        transform: translate3d(2%, 2%, 0) rotate(-1deg) scale(1.02);
    }
}

@media (max-width: 1120px) {
    .nav-links {
        display: none;
    }

    .page-switcher {
        display: block;
        position: fixed;
        left: 50%;
        top: 18px;
        z-index: 1200;
        transform: translateX(-50%);
    }

    .page-switcher-toggle {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: rgba(20,22,24,0.86);
        color: #fff;
        cursor: pointer;
        backdrop-filter: blur(18px);
    }

    .page-switcher-name {
        padding: 0 12px;
        color: #fff;
        font-weight: 600;
    }

    .page-switcher-divider-main,
    .page-switcher-divider {
        width: 1px;
        height: 16px;
        background: var(--border);
    }

    .page-switcher-links {
        max-width: 0;
        overflow: hidden;
        gap: 0;
        opacity: 0;
        transition: max-width 0.28s ease, opacity 0.2s ease;
    }

    .page-switcher-toggle.active .page-switcher-links,
    .page-switcher-toggle:hover .page-switcher-links {
        max-width: 240px;
        opacity: 1;
    }

    .page-switcher-link {
        padding: 0 9px;
        font-size: 0.82rem;
    }

    .hero,
    .page-hero,
    .content-section,
    .blog-section {
        grid-template-columns: 1fr;
    }

    .about-layout,
    .project-grid,
    .timeline-grid,
    .honor-layout {
        grid-template-columns: 1fr;
    }

    .map-graphic {
        min-height: 360px;
    }

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

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

    .case-card.large {
        grid-column: span 2;
    }

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

    .identity-stats div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .map-container,
    .blog-sidebar {
        position: relative;
        top: auto;
        height: 420px;
    }

    .blog-sidebar {
        height: auto;
    }
}

@media (max-width: 720px) {
    .nav-inner {
        height: 72px;
    }

    .nav-action {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 54px 0 76px;
    }

    .hero h1,
    .page-hero h1,
    .bottom-cta h2 {
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .hero-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        margin: 22px;
    }

    .feature-grid,
    .metrics-grid,
    .office-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .identity-panel {
        min-height: auto;
    }

    .identity-panel h2,
    .identity-panel h3,
    .project-card h3 {
        max-width: none;
    }

    .project-card-featured {
        min-height: auto;
    }

    .compact-strip {
        gap: 8px;
    }

    .compact-strip span {
        width: 100%;
    }

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

    .case-card.large {
        grid-column: span 1;
        min-height: 420px;
    }

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

    .content-section,
    .blog-section {
        width: min(100% - 24px, var(--max));
    }

    .side-nav {
        display: none;
    }

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

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;
    }
}

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

    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-scale {
        opacity: 1;
        transform: none;
    }
}
