:root {
    --ink: #161915;
    --paper: #f3efe6;
    --paper-deep: #e7e0d3;
    --acid: #d9ff43;
    --orange: #ff6b35;
    --line: rgba(22, 25, 21, 0.18);
    --muted: #62665d;
    --shell: min(1180px, calc(100% - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.6;
}

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

button {
    font: inherit;
}

.site-header {
    width: var(--shell);
    height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--paper);
    background: var(--ink);
    font-size: 18px;
    letter-spacing: 0;
}

.main-nav {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
}

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

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

.section-shell {
    width: var(--shell);
    margin: 0 auto;
}

.hero {
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 7vw;
    padding: 80px 0;
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.eyebrow > span {
    display: inline-block;
    width: 26px;
    height: 2px;
    margin-right: 8px;
    vertical-align: middle;
    background: var(--orange);
}

.hero h1,
.section-heading h2,
.contact h2 {
    margin: 0;
    font-family: Georgia, "Noto Serif SC", serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(52px, 7.4vw, 102px);
}

.hero h1 span {
    position: relative;
    z-index: 0;
}

.hero h1 span::after {
    position: absolute;
    z-index: -1;
    right: -4px;
    bottom: 8px;
    left: -3px;
    height: 20%;
    background: var(--acid);
    content: "";
}

.hero-intro {
    max-width: 610px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.55vw, 20px);
}

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

.button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border: 1px solid var(--ink);
    font-size: 14px;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 var(--acid);
}

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

.text-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.hero-art {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: var(--ink);
}

.art-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 42px 42px;
}

.art-disc {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(62%, 270px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--acid);
    transform: translate(-50%, -50%);
}

.art-disc::before,
.art-disc::after {
    position: absolute;
    border: 1px solid var(--ink);
    border-radius: 50%;
    content: "";
}

.art-disc::before { inset: 13%; }
.art-disc::after { inset: 27%; }

.art-disc span {
    font: 700 96px/1 Georgia, serif;
}

.hero-art > p {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 28px;
    margin: 0;
    color: var(--paper);
    font: 700 13px/1.35 Arial, sans-serif;
    letter-spacing: 0.16em;
}

.art-index {
    position: absolute;
    right: 24px;
    bottom: 18px;
    color: var(--paper);
    font: 700 11px/1 Arial, sans-serif;
    letter-spacing: 0.14em;
}

.ticker {
    overflow: hidden;
    color: var(--paper);
    background: var(--ink);
    transform: rotate(-1deg) scale(1.02);
}

.ticker div {
    width: max-content;
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.ticker i {
    color: var(--acid);
    font-style: normal;
}

.about,
.work {
    display: grid;
    grid-template-columns: 80px 0.78fr 1.15fr;
    gap: 42px;
    padding: 140px 0;
    border-bottom: 1px solid var(--line);
}

.section-number {
    padding-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.section-heading h2 {
    font-size: clamp(40px, 5vw, 70px);
}

.about-copy {
    align-self: end;
}

.about-copy p {
    color: var(--muted);
}

.about-copy .lead {
    margin-top: 0;
    color: var(--ink);
    font-family: Georgia, "Noto Serif SC", serif;
    font-size: clamp(22px, 2.2vw, 31px);
    line-height: 1.5;
}

.facts {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.facts div {
    padding: 18px 12px 0 0;
}

.facts span,
.facts strong {
    display: block;
}

.facts span {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
}

.facts strong {
    font-size: 14px;
}

.work {
    grid-template-columns: 80px 0.7fr 1.4fr;
}

.focus-list {
    display: grid;
    gap: 12px;
}

.focus-card {
    position: relative;
    min-height: 190px;
    padding: 28px 30px 28px 96px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.16);
    transition: transform 180ms ease, background 180ms ease;
}

.focus-card:hover {
    z-index: 1;
    background: #fffaf0;
    transform: translateX(-8px);
}

.focus-card-accent {
    background: var(--acid);
}

.focus-card-accent:hover {
    background: var(--acid);
}

.focus-no {
    position: absolute;
    top: 28px;
    left: 28px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.focus-icon {
    position: absolute;
    top: 54px;
    left: 25px;
    font: 700 36px/1 Georgia, serif;
}

.focus-card h3 {
    margin: 0 0 12px;
    font: 700 26px/1.2 Georgia, "Noto Serif SC", serif;
}

.focus-card p {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
}

.contact {
    width: 100%;
    max-width: none;
    min-height: 470px;
    padding: 100px max(24px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 8vw;
    color: var(--paper);
    background: var(--ink);
}

.eyebrow.light {
    color: rgba(243,239,230,.56);
}

.contact h2 {
    font-size: clamp(52px, 7vw, 94px);
}

.contact-side {
    padding-bottom: 8px;
}

.contact-side p {
    color: rgba(243,239,230,.62);
}

.contact-side a {
    margin-top: 32px;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(243,239,230,.5);
    font-weight: 800;
}

.site-footer {
    min-height: 110px;
    padding: 20px max(24px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    background: var(--paper-deep);
    font-size: 12px;
}

.site-footer p {
    margin: 0;
}

.site-footer > a {
    justify-self: end;
}

.footer-sigil {
    width: 30px;
    height: 30px;
    border: 0;
    color: var(--paper-deep);
    background: var(--ink);
    cursor: default;
    font-weight: 900;
}

.entry-toast {
    position: fixed;
    z-index: 10;
    right: 24px;
    bottom: 24px;
    padding: 12px 18px;
    color: var(--paper);
    background: var(--ink);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.entry-toast.show {
    opacity: 1;
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    :root { --shell: min(100% - 36px, 720px); }
    .hero { grid-template-columns: 1fr; gap: 50px; padding: 70px 0; }
    .hero-art { min-height: 380px; }
    .about, .work { grid-template-columns: 48px 1fr; gap: 26px; padding: 100px 0; }
    .about-copy, .focus-list { grid-column: 2; }
    .contact { grid-template-columns: 1fr; align-items: center; }
}

@media (max-width: 620px) {
    .site-header { height: 76px; }
    .brand > span:last-child { display: none; }
    .main-nav { gap: 18px; font-size: 13px; }
    .hero { min-height: auto; padding-top: 58px; }
    .hero h1 { font-size: clamp(47px, 14vw, 68px); }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-art { min-height: 320px; }
    .about, .work { display: block; }
    .section-number { margin-bottom: 18px; }
    .about-copy, .focus-list { margin-top: 44px; }
    .facts { grid-template-columns: 1fr; }
    .facts div { padding: 15px 0; border-bottom: 1px solid var(--line); }
    .focus-card { padding-left: 76px; }
    .focus-no { left: 20px; }
    .focus-icon { left: 18px; }
    .contact { min-height: 540px; padding-top: 70px; padding-bottom: 70px; }
    .site-footer { grid-template-columns: auto 1fr; }
    .site-footer > a { grid-column: 1 / -1; justify-self: start; }
}

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