@font-face {
  font-family: "Home Serif";
  src: url("assets/display.woff2") format("woff2");
  font-style: normal;
  font-weight: 750;
  font-display: swap;
}

@font-face {
  font-family: "Brand Name";
  src: url("assets/brand-name.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url("assets/initials.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f9f7;
  --ink: #192326;
  --muted: #505e60;
  --blue: #244f7c;
  --amber: #b4571c;
  --line: #d1d8d6;
  --night: #0d1823;
  --sans: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Home Serif", "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 6vw, 6.5rem);
  --section-space: clamp(4rem, 7.2vw, 7rem);
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #6586fa; outline-offset: 5px; }
::selection { color: #101d38; background: #dbe2ff; }
[hidden] { display: none !important; }
.wrap { width: min(83rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 750; font-synthesis: none; }
.latin { font-family: Arial, sans-serif; font-weight: 750; }
.skip { position: fixed; top: .5rem; left: 1rem; z-index: 20; padding: .5rem 1rem; color: white; background: var(--ink); transform: translateY(-170%); }
.skip:focus { transform: none; }
#main:focus { outline: none; }

.mast { position: sticky; top: 0; z-index: 6; background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-inner { position: relative; min-height: 4.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand, .footer-name { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; }
.brand { --mark-height: 2.6rem; min-height: 2.75rem; flex: none; gap: .32rem; }
.brand-image { display: block; height: var(--mark-height); width: auto; }
.brand-name { color: #172431; font-family: "Brand Name", var(--serif); font-size: calc(var(--mark-height) * .61); font-weight: 800; line-height: 1.22; letter-spacing: -.045em; }
.brand-name span { margin-inline: .055em .045em; letter-spacing: -.035em; }
.brand-symbol { display: block; width: 3.25rem; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.site-nav a { color: #475459; font-size: .94rem; font-weight: 520; padding-block: .6rem; transition: color .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="location"] { color: var(--blue); }
.mast-actions { display: flex; align-items: center; gap: .55rem; }
.mast-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.68rem; padding: .45rem 1.2rem; border-radius: .28rem; background: var(--ink); color: white; font-size: .9rem; font-weight: 600; transition: background .18s ease; }
.mast-cta:hover { background: var(--blue); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; overflow: clip; color: #faf7ec; background: radial-gradient(ellipse at 80% 18%, #172940 0, transparent 53%), radial-gradient(ellipse at 11% 111%, #292724 0, transparent 56%), var(--night); border-bottom: 3px solid #a8754c; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#c0cfd014 1px, transparent 1px), linear-gradient(90deg, #c0cfd014 1px, transparent 1px); background-size: 3.5rem 3.5rem; mask-image: linear-gradient(110deg, transparent 2%, #0006 51%, #000 100%); }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; column-gap: clamp(1.9rem, 4vw, 4.3rem); align-items: center; padding-block: clamp(3.65rem, 5.6vw, 5.8rem); }
.hero-copy, .hero-figure { min-width: 0; }
.kicker { display: flex; gap: .68rem; align-items: center; font-size: .875rem; font-weight: 650; line-height: 1.55; letter-spacing: .045em; color: var(--blue); }
.rule { width: 1.85rem; height: 2px; flex: none; background: currentColor; }
.hero h1 { margin: 1.5rem 0 1.6rem; letter-spacing: -.055em; font-size: clamp(3.45rem, 6.05vw, 6.18rem); line-height: 1.17; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero .kicker { color: #f0b583; }
.hero h1 em { font-style: normal; color: #ffbb83; }
.hero-ai { font-family: Baskervville, Georgia, serif; font-weight: 600; font-style: italic; letter-spacing: -.065em; margin-right: .07em; font-size: 1.09em; }
.hero-lede, .section-lede, .method-intro, .about-copy, .brief p, .offer > p:not(.offer-use) { color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.hero-lede { color: #d0d9df; max-width: 32em; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 1.65rem; flex-wrap: wrap; margin-top: 2rem; }
.button { min-height: 3.2rem; display: inline-flex; justify-content: center; align-items: center; padding: .7rem 1.55rem; border-radius: .28rem; font-weight: 620; font-size: 1rem; }
.primary { color: #211b16; background: #f0b381; transition: background .18s ease, transform .18s ease; }
.primary:hover { background: #ffd0a5; transform: translateY(-2px); }
.text-link { padding-block: .45rem; text-decoration: underline; text-underline-offset: .44em; text-decoration-color: #97a2a1; font-size: .98rem; font-weight: 560; }
.text-link:hover { color: #ffcd9f; text-decoration-color: currentColor; }
.hero-figure { align-self: center; }
.figure-link { display: block; cursor: zoom-in; }
.figure-link img { width: 100%; height: auto; display: block; border-radius: .36rem; }
.cover-plate img { box-shadow: 0 12px 36px rgb(0 0 0 / .22); }
.figure-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .78rem .1rem 0; font-size: .87rem; font-weight: 550; line-height: 1.5; color: var(--muted); }
.cover-plate .figure-caption { color: #ced7dc; }
.zoom-label { display: inline-flex; align-items: center; gap: .42rem; white-space: nowrap; }
.figure-link:hover .zoom-label { text-decoration: underline; text-underline-offset: .28em; }
.expand-icon { display: inline-block; width: .85rem; height: .85rem; background: linear-gradient(currentColor,currentColor) left top / 38% 1.5px, linear-gradient(currentColor,currentColor) left top / 1.5px 38%, linear-gradient(currentColor,currentColor) right bottom / 38% 1.5px, linear-gradient(currentColor,currentColor) right bottom / 1.5px 38%; background-repeat: no-repeat; }
.speaker i, .swatch { width: .52rem; height: .52rem; flex: none; border-radius: 50%; background: var(--amber); }
.speaker.artificial i { background: var(--blue); }

.method-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: start; gap: clamp(2.2rem, 6.5vw, 6.5rem); padding-block: var(--section-space); }
.method h2 { font-size: clamp(2.4rem, 3.6vw, 3.65rem); line-height: 1.25; letter-spacing: -.065em; margin: .95rem 0 .75rem; }
.method h2 br { display: none; }
.method-list { list-style: none; padding: 0; margin-top: 1.6rem; border-top: 1px solid var(--line); }
.method-list li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.step-index { font-family: var(--mono); font-size: .88rem; letter-spacing: .025em; color: var(--amber); line-height: 2rem; }
.method-list h3 { font-size: clamp(1.17rem, 1.65vw, 1.55rem); letter-spacing: -.025em; line-height: 1.45; font-weight: 620; }
.method-list p { color: var(--muted); max-width: 32em; line-height: 1.8; margin-top: .32rem; }
.gallery { min-width: 0; }
.gallery-tabs { display: flex; align-items: center; gap: 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.gallery-tabs a { color: var(--muted); font-size: .95rem; font-weight: 550; padding: .45rem 0 .62rem; border-bottom: 2px solid transparent; }
.gallery-tabs a[aria-selected="true"] { color: var(--blue); border-color: var(--blue); }
.gallery-page + .gallery-page { margin-top: 1.75rem; }
.gallery:has([role="tablist"]) .gallery-page { margin-top: 0; }
.scenarios { background: #eaf0f3; border-block: 1px solid #d5dde2; }

.scenarios, .services, .about { padding-block: var(--section-space); }
.section-title { font-size: clamp(2.25rem, 3.75vw, 3.8rem); line-height: 1.24; letter-spacing: -.055em; margin: 1rem 0 .9rem; }
.section-lede { max-width: 43em; }
.casebook { margin-top: 2.6rem; border: 1px solid var(--line); border-radius: .42rem; overflow: hidden; background: #fff; }
.case-nav { display: flex; justify-content: space-between; align-items: center; gap: .9rem; border-bottom: 1px solid var(--line); background: #f0f3f1; padding: 0 clamp(1rem, 3.4vw, 3.3rem); }
.case-tabs { display: flex; gap: clamp(.9rem, 2.3vw, 2.2rem); }
.case-tabs a { padding: .95rem .12rem .8rem; font-size: 1rem; font-weight: 540; color: #4b585b; border-bottom: 3px solid transparent; }
.case-tabs a:hover, .case-tabs a[aria-selected="true"] { color: var(--blue); }
.case-tabs a[aria-selected="true"] { border-color: var(--blue); font-weight: 700; }
.case-tabs a:focus-visible { outline-offset: -4px; }
.case-note { color: #5f6a6d; font-size: .875rem; white-space: nowrap; }
.case-pages { padding: .2rem clamp(1.3rem, 4.1vw, 4rem); }
.case-page { padding: 1.75rem 0 1.95rem; }
.case-page + .case-page { border-top: 1px solid var(--line); }
.enhanced-tabs .case-page { border: 0; }
.case-line { display: grid; grid-template-columns: minmax(5.75rem, .17fr) 1fr; column-gap: clamp(1rem, 3.5vw, 3.7rem); align-items: baseline; padding-block: .72rem; }
.case-line + .case-line { margin-top: .55rem; padding-top: 1.35rem; border-top: 1px solid #e1e6e3; }
.speaker { display: inline-flex; gap: .6rem; align-items: center; font-size: .94rem; font-weight: 580; color: var(--muted); white-space: nowrap; }
.case-question { font-size: clamp(1.24rem, 1.8vw, 1.68rem); font-weight: 600; line-height: 1.55; letter-spacing: -.025em; }
.case-answer { font-size: 1.08rem; line-height: 1.85; max-width: 43em; color: #38484c; }

.services { background: var(--paper); border-bottom: 1px solid #dbe0da; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.25rem, 6vw, 6rem); margin-top: 2.5rem; }
.offer { border-top: 2px solid var(--amber); padding-block: 1.45rem .25rem; }
.offer.team { border-color: var(--blue); }
.offer-use { display: flex; gap: .55rem; align-items: center; color: #8d441c; font-size: .88rem; font-weight: 650; }
.team .offer-use { color: var(--blue); }
.swatch { border-radius: 1px; background: var(--amber); }
.team .swatch { background: var(--blue); }
.offer h3 { font-size: clamp(1.7rem, 2.7vw, 2.6rem); line-height: 1.35; margin: .7rem 0 .65rem; letter-spacing: -.045em; font-weight: 700; }
.offer > p:not(.offer-use) { max-width: 32em; }
.offer ul { list-style: none; padding: 1.05rem 0 0; }
.offer li { position: relative; padding: .28rem 0 .28rem 1.15rem; color: #3e4c4e; }
.offer li::before { position: absolute; content: ""; width: .43rem; height: 1px; top: 1.13rem; left: .08rem; background: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2.8rem, 9vw, 9rem); align-items: start; }
.about-copy { max-width: 34em; }
.about-copy + .about-copy { margin-top: .7rem; }
.brief { border-left: 2px solid var(--blue); padding: .25rem 0 .3rem clamp(1.25rem, 2.5vw, 2.5rem); }
.brief h3 { font-size: clamp(1.25rem, 1.6vw, 1.65rem); letter-spacing: -.03em; font-weight: 650; }
.brief p { font-size: 1rem; margin: .6rem 0 .75rem; }
.brief ol { padding-left: 1.45rem; }
.brief li { line-height: 1.75; padding-block: .15rem; }
.brief li::marker { color: var(--blue); font-family: var(--mono); font-size: .87rem; }
.copy-button { display: inline-flex; align-items: center; gap: .55rem; margin-top: .95rem; border: 1px solid #aeb9b8; border-radius: .25rem; padding: .45rem .8rem; min-height: 2.75rem; background: transparent; color: var(--ink); font-size: .9rem; }
.copy-button:hover { border-color: var(--blue); color: var(--blue); }
.copy-icon { height: .79rem; width: .67rem; border: 1.35px solid currentColor; border-radius: 1px; position: relative; margin-left: 2px; }
.copy-icon::before { position: absolute; content: ""; width: .64rem; height: .72rem; border-left: 1.2px solid currentColor; border-top: 1.2px solid currentColor; top: -4px; left: -4px; }
.copy-status { color: var(--muted); font-size: .875rem; margin-left: .5rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-name { font-size: .96rem; font-weight: 600; }
.footer a { color: var(--muted); font-size: .9rem; padding: .5rem 0 .5rem 1rem; }
.footer a:hover { color: var(--blue); }

dialog { width: min(74rem, calc(100% - 1.4rem)); max-width: none; max-height: calc(100dvh - 1.4rem); overflow: hidden; margin: auto; border: 1px solid #5b686a; border-radius: .55rem; padding: 0; background: #101c27; color: white; box-shadow: 0 1.5rem 6rem #0005; }
dialog::backdrop { background: rgb(10 22 27 / .72); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; background: #15232d; }
.dialog-head h2 { font-size: 1.08rem; font-weight: 620; }
.dialog-head > div { display: flex; gap: .42rem; }
.dialog-head button { background: transparent; border: 1px solid #87989c; border-radius: .22rem; padding: .35rem .75rem; min-height: 2.5rem; color: white; font-size: .9rem; }
.dialog-head button:hover { background: #344650; }
.zoom-scroll { max-height: calc(100dvh - 5.55rem); overflow: auto; overscroll-behavior: contain; }
.zoom-scroll img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 5.55rem); object-fit: contain; }
.zoom-scroll.is-zoomed img { width: 1448px; max-height: none; }
body:has(dialog[open]) { overflow: hidden; }

@media (min-width: 1400px) {
  .hero-inner { padding-block: 4.9rem 5.1rem; }
  .hero-lede { font-size: 1.13rem; }
}
@media (max-width: 1050px) {
  :root { --gutter: 4.7vw; }
  .hero-inner { column-gap: 1rem; }
  .hero h1 { font-size: clamp(2.9rem, 5.8vw, 4.1rem); }
  .hero-lede { font-size: 1rem; }
  .method-grid { gap: 3rem; }
  .about-grid { gap: 3.5rem; }
}
@media (max-width: 850px) {
  :root { --gutter: clamp(1.25rem, 6vw, 2.4rem); }
  html { scroll-padding-top: 4.6rem; }
  .mast-inner { min-height: 3.85rem; gap: .7rem; flex-wrap: wrap; }
  .brand { --mark-height: clamp(1.65rem, 7.9vw, 2.15rem); }
  .mast-cta { min-height: 2.5rem; padding: .38rem .74rem; font-size: .88rem; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem; padding-bottom: .32rem; }
  .site-nav a { font-size: .94rem; }
  .js-menu .mast-inner { flex-wrap: nowrap; }
  .js-menu .menu-toggle { display: grid; width: 2.6rem; height: 2.6rem; gap: .3rem; place-content: center; background: transparent; border: 1px solid var(--line); border-radius: .26rem; }
  .menu-toggle span { width: 1rem; height: 1.5px; background: var(--ink); transition: transform .18s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .js-menu .site-nav { display: none; position: absolute; z-index: 4; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); width: auto; padding: .4rem var(--gutter) .8rem; background: var(--paper); border-block: 1px solid var(--line); box-shadow: 0 .6rem .65rem -1rem #000a; }
  .js-menu .site-nav.is-open { display: grid; grid-template-columns: 1fr; gap: 0; }
  .js-menu .site-nav a { padding-block: .65rem; }
  .hero-inner { grid-template-columns: 1fr; row-gap: 2rem; padding-block: 2.65rem 2.8rem; }
  .hero h1 { font-size: clamp(3.12rem, 9.8vw, 4.9rem); margin: 1.12rem 0 1.1rem; }
  .hero-lede { max-width: 31em; }
  .hero-actions { margin-top: 1.3rem; gap: 1.35rem; }
  .button { min-height: 2.95rem; padding: .55rem 1.2rem; }
  .hero-figure { width: min(100%, 36rem); margin: .15rem auto 0; }
  .method-grid, .about-grid { grid-template-columns: 1fr; }
  .method-grid { gap: 1.9rem; }
  .method h2 { font-size: clamp(2.55rem, 7.8vw, 3.4rem); margin-block: .95rem .7rem; }
  .method h2 br { display: none; }
  .method-intro { max-width: none; }
  .method-list li { grid-template-columns: 1.8rem 1fr; gap: .8rem; padding-block: 1.14rem; }
  .section-title { margin-block: .8rem .7rem; }
  .casebook { margin-top: 1.6rem; }
  .case-tabs { gap: 1rem; }
  .case-nav { flex-wrap: wrap; gap: 0; }
  .case-note { font-size: .8rem; }
  .case-page { padding: .85rem 0 1.2rem; }
  .case-line { display: block; }
  .case-line + .case-line { margin-top: .35rem; padding-top: 1rem; }
  .speaker { margin-bottom: .35rem; }
  .case-answer { font-size: 1rem; }
  .offer-grid { grid-template-columns: 1fr; gap: 1.8rem; margin-top: 1.8rem; }
  .about-grid { gap: 2rem; }
}
@media (max-width: 460px) {
  .desktop-break { display: none; }
  .hero h1 { font-size: clamp(2.45rem, 12.05vw, 3.4rem); }
  .method h2 { font-size: clamp(1.97rem, 7.7vw, 2.25rem); }
  .section-title { font-size: clamp(1.9rem, 7.55vw, 2.14rem); }
  .case-nav { padding-inline: .85rem; }
  .case-tabs { gap: .8rem; }
  .case-tabs a { font-size: .93rem; }
  .case-note { margin-block: .2rem; }
  .dialog-head { gap: .4rem; padding: .5rem; }
  .dialog-head h2 { font-size: 1rem; }
  .dialog-head button { padding: .3rem .5rem; font-size: .875rem; }
}
@media (max-width: 355px) {
  .mast-actions { gap: .26rem; }
  .case-nav { align-items: flex-start; flex-direction: column-reverse; padding-top: .55rem; }
  .case-tabs a { padding-top: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
