:root {
  --paper: #fff4dd;
  --surface: #fffdf7;
  --surface-muted: #f1e3c4;
  --ink: #26201a;
  --ink-muted: #5c5347;
  --ink-faint: #877b6b;
  --line: #26201a;
  --event: #ff5c2b;
  --highlight: #ffd84d;
  --rose: #ffb9cc;
  --sky: #a5dcff;
  --peach: #ffb07a;
  --positive: #b9e6a6;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-small: 3px 3px 0 var(--ink);
  --radius: 16px;
  --max: 1180px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #26211b;
  --surface: #342d25;
  --surface-muted: #43382d;
  --ink: #fff4dd;
  --ink-muted: #ded0b9;
  --ink-faint: #b4a68f;
  --line: #fff4dd;
  --event: #ff7a50;
  --highlight: #e7bd2d;
  --rose: #df8fa8;
  --sky: #79bce4;
  --peach: #dc8c5c;
  --positive: #8fc27d;
  --shadow: 5px 5px 0 #120f0c;
  --shadow-small: 3px 3px 0 #120f0c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(38, 32, 26, .12) .75px, transparent .75px);
  background-size: 13px 13px;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
}
html[data-theme="dark"] body { background-image: radial-gradient(rgba(255, 244, 221, .08) .75px, transparent .75px); }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 50; top: 10px; left: 10px; padding: 9px 13px; color: var(--ink); background: var(--highlight); border: 2px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-small); transform: translateY(-150%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }

.masthead { position: sticky; z-index: 30; top: 12px; padding-top: 12px; pointer-events: none; }
.masthead-inner { min-height: 66px; padding: 8px 10px 8px 13px; display: flex; align-items: center; gap: 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); pointer-events: auto; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: var(--event); border: 2px solid var(--line); border-radius: 10px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 24px; font-weight: 800; line-height: 1; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: "Space Mono", monospace; font-size: 14px; letter-spacing: .08em; }
.brand-text small { margin-top: 4px; color: var(--ink-muted); font-family: "Space Mono", monospace; font-size: 8px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a, .theme-toggle { padding: 9px 12px; border: 2px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 800; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.site-nav a:hover, .site-nav a.active { background: var(--highlight); border-color: var(--line); transform: translateY(-1px); }
.site-nav .nav-contact { background: var(--event); border-color: var(--line); }
.theme-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; cursor: pointer; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-small); }
.theme-toggle:hover { transform: translate(-1px, -1px); }
.theme-toggle:active { box-shadow: none; transform: translate(3px, 3px); }
.theme-toggle-label { font-size: 11px; }
.theme-toggle-state { padding: 1px 5px; color: var(--ink); background: var(--sky); border-radius: 5px; font-family: "Space Mono", monospace; font-size: 9px; }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 0; background: var(--surface); border: 2px solid var(--line); border-radius: 9px; cursor: pointer; }
.nav-toggle span { width: 19px; height: 2px; display: block; margin: 4px auto; background: var(--ink); transition: transform .15s ease, opacity .15s ease; }

.hero { min-height: 680px; padding-top: 78px; padding-bottom: 58px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: 72px; }
.eyebrow, .mono-label, .section-label, .hero-meta, .card-index, .case-no { font-family: "Space Mono", monospace; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--ink-muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.eyebrow-rule { width: 28px; height: 3px; background: var(--event); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; }
.hero h1 { max-width: 730px; margin-bottom: 23px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: clamp(3.8rem, 7vw, 6.7rem); font-weight: 800; line-height: .98; letter-spacing: -.06em; }
h1 em, h2 em { color: var(--event); font-style: normal; }
.hero-intro { max-width: 650px; margin: 0; color: var(--ink-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tactile-button { min-height: 49px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 2px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-small); font-size: 14px; font-weight: 900; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.tactile-button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.tactile-button:active { transform: translate(3px, 3px); box-shadow: none; }
.button-event { color: var(--ink); background: var(--event); }
.button-paper { background: var(--surface); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; color: var(--ink-faint); font-size: 9px; letter-spacing: .04em; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { width: 7px; height: 7px; display: inline-block; content: ""; background: var(--positive); border: 1px solid var(--line); border-radius: 50%; }

.hero-stack { min-height: 580px; position: relative; display: flex; align-items: center; justify-content: center; }
.paper-card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-card { width: min(100%, 430px); position: relative; z-index: 2; padding: 17px 19px 18px; transform: rotate(-1.2deg); }
.card-header, .status-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-header { padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.mono-label { color: var(--ink-muted); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.status-stamp { padding: 5px 7px; background: var(--highlight); border: 2px solid var(--line); border-radius: 5px; font-family: "Space Mono", monospace; font-size: 8px; font-weight: 700; }
.status-body { padding: 44px 4px 42px; }
.status-body h2 { margin: 9px 0 13px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; line-height: .95; letter-spacing: -.05em; }
.status-body p { max-width: 320px; margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.8; }
.status-footer { padding-top: 13px; border-top: 2px solid var(--line); }
.status-footer strong { font-size: 12px; }
.portrait-card { width: 205px; position: absolute; z-index: 3; right: -2px; bottom: 55px; padding: 9px; transform: rotate(4deg); }
.portrait-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--line); border-radius: 10px; }
.portrait-card figcaption { padding: 10px 3px 3px; display: grid; gap: 2px; }
.portrait-card figcaption strong { font-size: 13px; }
.portrait-card figcaption span { color: var(--ink-muted); font-family: "Space Mono", monospace; font-size: 7px; line-height: 1.4; }
.sticker { position: absolute; z-index: 4; left: 0; bottom: 68px; padding: 12px 15px; background: var(--sky); border: 2px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-small); font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 17px; font-weight: 800; line-height: 1.05; transform: rotate(-5deg); }

.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; padding-bottom: 106px; }
.stat-tile { min-height: 150px; padding: 18px 19px; border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); }
.stat-tile strong { display: block; margin-top: 22px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 53px; font-weight: 800; line-height: .8; letter-spacing: -.06em; }
.stat-tile strong span { color: var(--event); font-size: 31px; }
.stat-tile p { margin: 13px 0 0; font-size: 12px; font-weight: 800; }
.stat-yellow { background: var(--highlight); }
.stat-sky { background: var(--sky); }
.stat-rose { background: var(--rose); }
.stat-peach { background: var(--peach); }

.section { padding: 108px 0; }
.section-tinted { background: color-mix(in srgb, var(--surface-muted) 48%, transparent); border-block: 2px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 9px; color: var(--ink-muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.section-label span:first-child { color: var(--event); }
.split-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; margin-top: 34px; }
.split-heading h2, .section-topline h2, .value-intro h2, .contact-card h2 { margin: 0; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 800; line-height: .98; letter-spacing: -.06em; }
.section-copy { max-width: 700px; }
.section-copy p { margin: 0 0 17px; color: var(--ink-muted); font-size: 15px; line-height: 1.9; }
.section-copy .lead { color: var(--ink); font-size: 21px; font-weight: 800; line-height: 1.45; }
.tag-list, .case-tags, .course-topics { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list { margin-top: 26px; }
.tag-list span, .case-tags span, .course-topics span { padding: 6px 9px; border: 2px solid var(--line); border-radius: 7px; background: var(--surface); font-family: "Space Mono", monospace; font-size: 9px; font-weight: 700; }
.fact-grid { margin-top: 65px; display: grid; grid-template-columns: 1fr 1.4fr .7fr; overflow: hidden; }
.fact-grid div { min-height: 130px; padding: 19px 21px; display: grid; align-content: space-between; gap: 19px; }
.fact-grid div + div { border-left: 2px solid var(--line); }
.fact-grid strong { font-size: 14px; line-height: 1.6; }

.section-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 45px; }
.section-topline > div { flex: 0 1 auto; }
.section-topline h2 { margin-top: 25px; }
.section-topline > p { max-width: 430px; margin: 0 0 4px; color: var(--ink-muted); font-size: 14px; line-height: 1.85; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service-card { min-height: 425px; position: relative; padding: 22px 21px 20px; border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.service-card h3 { margin: 66px 0 13px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 27px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.service-card > p { min-height: 50px; margin: 0; font-size: 13px; line-height: 1.7; }
.service-card ul { margin: 26px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.service-card li { padding: 9px 0 8px 14px; position: relative; border-bottom: 1px solid color-mix(in srgb, var(--line) 38%, transparent); font-size: 11px; font-weight: 700; line-height: 1.4; }
.service-card li::before { position: absolute; top: 14px; left: 0; width: 6px; height: 6px; content: ""; background: var(--ink); border-radius: 50%; }
.card-index { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; }
.card-symbol { position: absolute; top: 18px; left: 20px; font-family: "Space Mono", monospace; font-size: 20px; font-weight: 700; }
.service-sky { background: var(--sky); }
.service-yellow { background: var(--highlight); }
.service-rose { background: var(--rose); }
.service-peach { background: var(--peach); }

.timeline { position: relative; max-width: 980px; margin: 64px auto 0; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 32%; width: 2px; content: ""; background: var(--line); }
.timeline-row { min-height: 158px; position: relative; display: grid; grid-template-columns: minmax(120px, .65fr) 65px 1.35fr; align-items: start; gap: 0; }
.timeline-date { padding: 20px 20px 0 0; color: var(--ink-muted); font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700; text-align: right; }
.timeline-pin { width: 42px; height: 42px; z-index: 2; display: grid; place-items: center; margin: 12px auto 0; color: var(--ink); background: var(--highlight); border: 2px solid var(--line); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); font-family: "Space Mono", monospace; font-size: 10px; font-weight: 700; }
.timeline-row:nth-child(2) .timeline-pin { background: var(--sky); }
.timeline-row:nth-child(3) .timeline-pin { background: var(--rose); }
.timeline-row:nth-child(4) .timeline-pin { background: var(--peach); }
.timeline-row:nth-child(5) .timeline-pin { background: var(--positive); }
.timeline-card { margin: 0 0 17px; padding: 19px 21px; }
.timeline-card h3 { margin: 8px 0 7px; font-size: 19px; line-height: 1.3; }
.timeline-card p { margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.7; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.case-card { min-height: 315px; position: relative; padding: 25px 24px 23px; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-small); transition: transform .15s ease, box-shadow .15s ease; }
.case-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.case-card .case-no { position: absolute; top: 12px; right: 19px; color: color-mix(in srgb, var(--ink) 26%, transparent); font-size: 43px; font-weight: 700; letter-spacing: -.08em; }
.case-card .mono-label { max-width: 75%; color: var(--ink); }
.case-card h3 { margin: 42px 0 13px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 31px; font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.case-card p { max-width: 480px; margin: 0; font-size: 13px; line-height: 1.75; }
.case-tags { margin-top: auto; padding-top: 22px; }
.case-tags span { background: color-mix(in srgb, var(--surface) 40%, transparent); }
.case-featured { background: var(--event); }
.case-sky { background: var(--sky); }
.case-yellow { background: var(--highlight); }
.case-paper { background: var(--surface); }
.case-rose { background: var(--rose); }
.case-event { background: var(--peach); }

.teaching-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; }
.landscape-card { min-height: 405px; position: relative; overflow: hidden; padding: 10px; transform: rotate(-1deg); }
.landscape-card img { width: 100%; height: 100%; min-height: 385px; object-fit: cover; border: 2px solid var(--line); border-radius: 9px; }
.landscape-card::after { position: absolute; inset: 10px; content: ""; border: 2px solid var(--line); border-radius: 9px; pointer-events: none; }
.landscape-card figcaption { position: absolute; z-index: 2; right: 24px; bottom: 25px; left: 24px; padding: 13px 14px; display: grid; gap: 3px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-small); }
.landscape-card figcaption strong { font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 23px; line-height: 1; }
.teaching-panel { padding: 10px 23px 23px; }
.teaching-list article { padding: 20px 0; display: grid; grid-template-columns: 42px 1fr; gap: 12px; border-bottom: 2px solid var(--line); }
.teaching-list article > span { color: var(--event); font-family: "Space Mono", monospace; font-size: 11px; font-weight: 700; }
.teaching-list h3 { margin: -3px 0 4px; font-size: 17px; line-height: 1.35; }
.teaching-list p { margin: 0; color: var(--ink-muted); font-size: 12px; }
.course-topics { margin-top: 24px; }
.course-topics span { background: var(--highlight); }

.value-section { padding-top: 75px; }
.value-intro { max-width: 800px; margin: 32px 0 49px; }
.value-intro h2 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 2px solid var(--line); }
.value-grid article { min-height: 235px; padding: 23px 20px; }
.value-grid article + article { border-left: 2px solid var(--line); }
.value-grid strong { color: var(--event); font-family: "Space Mono", monospace; font-size: 11px; }
.value-grid h3 { margin: 50px 0 10px; font-family: "Baloo 2", "Noto Sans TC", sans-serif; font-size: 25px; line-height: 1; }
.value-grid p { margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.75; }

.contact-section { padding: 38px 0 112px; }
.contact-card { padding: 47px 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; background: var(--highlight); border: 2px solid var(--line); border-radius: 20px; box-shadow: 7px 7px 0 var(--ink); }
.contact-card h2 { margin-top: 28px; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.contact-card > div:first-child > p { max-width: 600px; margin: 22px 0 0; color: var(--ink-muted); font-size: 14px; line-height: 1.85; }
.contact-actions { display: grid; gap: 12px; }
.email-card { min-height: 82px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 2px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-small); transition: transform .15s ease, box-shadow .15s ease; }
.email-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.email-card small { display: block; color: var(--ink-muted); font-family: "Space Mono", monospace; font-size: 9px; }
.email-card strong { display: block; margin-top: 4px; font-size: 14px; word-break: break-all; }
.email-card > span:last-child { color: var(--event); font-size: 25px; font-weight: 900; }
.full-button { width: 100%; }
.contact-actions > p { margin: 2px 3px 0; color: var(--ink-muted); font-size: 11px; line-height: 1.7; }

.site-footer { padding: 29px 0 43px; border-top: 2px solid var(--line); }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.footer-inner > div { display: grid; gap: 3px; }
.footer-inner strong { font-size: 14px; }
.footer-inner span, .footer-inner p { margin: 0; color: var(--ink-muted); font-family: "Space Mono", monospace; font-size: 9px; line-height: 1.5; }

:focus-visible { outline: 3px solid var(--event); outline-offset: 4px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { gap: 40px; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 360px; }
  .service-card h3 { font-size: 25px; }
  .split-heading { gap: 55px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .masthead { top: 6px; padding-top: 7px; }
  .masthead-inner { width: min(calc(100% - 20px), var(--max)); }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; padding: 9px; display: grid; gap: 3px; visibility: hidden; opacity: 0; background: var(--surface); border: 2px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); transform: translateY(-6px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
  .site-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav a { padding: 12px; }
  .site-nav .nav-contact { text-align: center; }
  .theme-toggle { margin-left: 0; }
  .hero { min-height: 0; padding-top: 75px; grid-template-columns: 1fr; gap: 16px; }
  .hero-copy { order: 1; }
  .hero-stack { order: 0; min-height: 510px; }
  .hero h1 { max-width: 680px; font-size: clamp(3.6rem, 10vw, 5.7rem); }
  .stats-strip { padding-bottom: 70px; }
  .split-heading, .teaching-layout { grid-template-columns: 1fr; gap: 35px; }
  .section-topline { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-topline > p { max-width: 640px; }
  .fact-grid { grid-template-columns: repeat(3, 1fr); }
  .fact-grid div { padding-inline: 15px; }
  .teaching-layout { gap: 28px; }
  .landscape-card { min-height: 300px; }
  .landscape-card img { min-height: 280px; }
  .contact-card { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 30px), var(--max)); }
  .masthead-inner { padding-left: 8px; gap: 8px; }
  .brand-text small { display: none; }
  .theme-toggle { padding: 8px 9px; }
  .theme-toggle-label { display: none; }
  .hero { padding-top: 60px; padding-bottom: 42px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-intro { font-size: .97rem; }
  .hero-actions .tactile-button { flex: 1 1 145px; }
  .hero-meta { margin-top: 27px; flex-direction: column; gap: 8px; }
  .hero-stack { min-height: 430px; }
  .status-card { width: calc(100% - 35px); padding: 13px 14px 15px; }
  .status-body { padding: 31px 2px 35px; }
  .status-body h2 { font-size: 2.8rem; }
  .portrait-card { width: 145px; right: -1px; bottom: 25px; }
  .sticker { left: 2px; bottom: 34px; padding: 9px 11px; font-size: 14px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 9px; padding-bottom: 32px; }
  .stat-tile { min-height: 123px; padding: 13px 14px; }
  .stat-tile strong { margin-top: 16px; font-size: 42px; }
  .stat-tile strong span { font-size: 24px; }
  .stat-tile p { margin-top: 9px; font-size: 11px; }
  .section { padding: 73px 0; }
  .section-topline h2, .split-heading h2, .contact-card h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid div { min-height: 100px; }
  .fact-grid div + div { border-top: 2px solid var(--line); border-left: 0; }
  .expertise-grid, .case-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .case-card { min-height: 300px; }
  .timeline { margin-top: 40px; }
  .timeline::before { left: 20px; }
  .timeline-row { min-height: 0; display: grid; grid-template-columns: 42px 1fr; gap: 0 12px; margin-bottom: 19px; }
  .timeline-date { grid-column: 2; grid-row: 1; padding: 0 0 7px; text-align: left; }
  .timeline-pin { grid-column: 1; grid-row: 1 / span 2; width: 42px; height: 42px; margin: 0; }
  .timeline-card { grid-column: 2; grid-row: 2; margin: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 0; padding: 21px 0; }
  .value-grid article + article { border-top: 2px solid var(--line); border-left: 0; }
  .value-grid h3 { margin-top: 22px; }
  .contact-section { padding-top: 20px; padding-bottom: 76px; }
  .contact-card { padding: 30px 22px; border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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