@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');:root{--navy:#101e43;--cream:#fbf8f2;--sand:#f2ebdf;--line:#e6dccb;--muted:#586480;--gold:#c59639}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--navy);font:15px/1.75 'DM Sans',sans-serif}h1,h2,h3,.brand{font-family:'Libre Baskerville',Georgia,serif;font-weight:400;line-height:1.25}h1{font-size:clamp(2.6rem,4.7vw,4.5rem);letter-spacing:-.055em;margin:16px 0 25px}h2{font-size:clamp(1.9rem,3vw,2.7rem);letter-spacing:-.045em;margin:0 0 20px}h3{font-size:1.12rem;margin:0 0 13px}p{margin:0 0 17px;color:var(--muted)}a{color:inherit;text-decoration:none}.wrap{max-width:1150px;margin:auto;padding-left:32px;padding-right:32px}.header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:17px;white-space:nowrap}.brand-icon{width:33px;height:33px;border-radius:8px;background:var(--navy);display:grid;place-items:center}.brand-icon img{width:28px;height:28px;object-fit:contain}.nav{display:flex;align-items:center;gap:30px;font-size:13px}.nav a:not(.btn):hover{color:#a4751d}.btn{display:inline-block;padding:12px 23px;font:600 13px 'DM Sans',sans-serif}.eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:11px;font-weight:700;color:#69738d}.hero{display:grid;grid-template-columns:1fr .93fr;align-items:center;gap:70px;padding-top:82px;padding-bottom:96px}.hero p{max-width:460px;font-size:16px}.translation{background:#fff;border:1px solid var(--line);border-radius:9px;padding:34px 38px;box-shadow:0 16px 35px #2222220d;transform:translateY(10px)}.translation .eyebrow{font-size:10px;letter-spacing:.13em}.translation .sample{font:20px/1.65 'Libre Baskerville',Georgia,serif;color:var(--navy);margin:6px 0}.translation .chinese{font-family:Georgia,'Noto Serif CJK SC',serif}.translation hr{border:0;border-top:1px solid var(--line);margin:23px 0}.stats-band{background:var(--sand)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;padding-top:31px;padding-bottom:31px}.stats strong{display:block;font:19px 'Libre Baskerville',serif}.stats small{color:var(--muted);display:block;line-height:1.6;margin-top:8px}.section{padding-top:82px;padding-bottom:88px}.center{text-align:center}.rule{width:37px;height:2px;background:var(--gold);margin:20px auto 34px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{border:1px solid var(--line);background:white;border-radius:8px;padding:28px 24px;min-height:255px}.card .symbol{font-size:27px;margin-bottom:23px;display:block}.card p{font-size:13px;line-height:1.75}.project-section{background:#fffdf9}.project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:34px}.project{height:110px;border:1px solid var(--line);border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;padding:17px}.project img{max-width:100%;max-height:78px;object-fit:contain}.project-placeholder{color:#7b8293;font-size:12px;text-align:center}.quote-section{background:var(--sand);padding:75px 25px;text-align:center}.quote-section blockquote{font:clamp(20px,2.3vw,29px)/1.65 'Libre Baskerville',serif;max-width:850px;margin:0 auto 20px}.quote-section .quote-mark{font:700 60px/.9 Georgia,serif;color:var(--gold);height:48px}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:35px}.review{padding:25px;background:#fff;border:1px solid var(--line);border-radius:7px}.review p{font-size:14px}.review strong{font-size:12px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:start}.contact form{display:grid;gap:13px}.contact label{font-size:12px;color:var(--muted);display:block}.contact input,.contact textarea{display:block;width:100%;padding:12px;border:1px solid #d9cdb9;border-radius:5px;background:white;font:14px 'DM Sans',sans-serif;color:var(--navy)}.contact textarea{resize:vertical;min-height:110px}.contact button{justify-self:start}.notice{font-size:12px}.footer{border-top:1px solid var(--line);padding:23px;text-align:center;color:var(--muted);font-size:12px}.about-hero{padding-top:90px;padding-bottom:90px;max-width:850px}.about-panel{background:var(--sand);padding:35px;border-radius:8px}.about-panel h3{margin-bottom:18px}.mobile-menu{display:none}@media(max-width:760px){.wrap{padding-left:22px;padding-right:22px}.header{height:76px}.brand{font-size:14px}.nav{gap:13px;font-size:12px}.nav .nav-optional{display:none}.nav .btn{padding:9px 12px}.hero{grid-template-columns:1fr;gap:30px;padding-top:50px;padding-bottom:65px}.translation{transform:none;padding:24px}.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(3,1fr)}.reviews-grid{grid-template-columns:1fr}.contact{grid-template-columns:1fr;gap:30px}.section{padding-top:65px;padding-bottom:65px}}@media(max-width:430px){.cards{grid-template-columns:1fr}.project-grid{grid-template-columns:repeat(2,1fr)}.nav{gap:9px}.nav a:not(.btn){display:none}}
/* Clean Minimal refinement */
:root{--navy:#0c164c;--cream:#fbf8f2;--sand:#eee7da;--gold:#a98544;--muted:#545b72}
body{font-size:16px}.header{height:100px;border-bottom:1px solid var(--line)}
.hero{gap:84px;padding-top:94px;padding-bottom:105px}.hero h1{font-size:clamp(2.7rem,4.5vw,4.15rem);line-height:1.14;letter-spacing:-.055em}.hero>div>p{margin-bottom:30px;line-height:1.85}
.translation{background:#f4eee4;border-radius:2px;box-shadow:14px 14px 0 #eee6d8;padding:38px;border-top:3px solid var(--gold)}.translation .sample{font-size:22px}.translation .chinese{line-height:1.9}.translation .eyebrow{color:#746346}
.stats{padding-top:35px;padding-bottom:35px}.stats>div+div{border-left:1px solid #d8cdbb;padding-left:24px}.stats strong{font-size:20px}.stats small{font-size:12px;max-width:190px}
.section{padding-top:90px;padding-bottom:90px}.card,.review{border-radius:2px;background:transparent}.card{padding:30px 23px;min-height:270px}.card .symbol{color:var(--gold)}.card h3{font-size:18px;line-height:1.45}.card p{font-size:14px}.project-section{background:#f5f0e7}.project{border-radius:2px;background:transparent}.project-placeholder{font-size:11px;color:#737383}.quote-section{padding:72px 24px}.reviews-grid .review{padding:30px 25px}.review p{font-size:16px;line-height:1.85}.review strong{font-size:12px;line-height:1.8;display:block}.contact{border-top:1px solid var(--line)}.contact h2{max-width:380px;font-size:42px;line-height:1.2}.contact label{font-size:13px}.contact input,.contact textarea{border-radius:2px;padding:14px;background:#fffdf9}.contact textarea{min-height:145px}.contact input:focus,.contact textarea:focus{outline:2px solid var(--gold);outline-offset:3px}.about-panel{border-radius:2px;border-top:3px solid var(--gold)}.about-hero{max-width:1150px;padding-bottom:65px}.about-hero p{max-width:650px;font-size:20px}.about-panel h3{font-size:19px}.about-panel p{font-size:14px}section[id]{scroll-margin-top:25px}a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.menu-toggle{display:none}
@media(max-width:1000px){.hero{gap:40px}.cards{grid-template-columns:repeat(2,1fr)}.contact{gap:45px}.nav{gap:20px}.brand{font-size:16px}}
@media(max-width:760px){.header{position:relative;height:82px}.menu-toggle{display:flex;flex-direction:column;gap:6px;padding:12px}.menu-toggle span{width:20px;height:1px;background:currentColor}.nav{display:none;position:absolute;top:81px;left:0;right:0;z-index:10;background:var(--cream);padding:22px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #0c164c0a;align-items:stretch;gap:5px}.nav.open{display:flex;flex-direction:column}.nav a,.nav .nav-optional,.nav a:not(.btn){display:block;padding:10px}.nav .btn{text-align:center;margin-top:8px;padding:14px}.hero{padding-top:55px;padding-bottom:65px;gap:40px}.hero h1{max-width:580px}.hero p{max-width:none}.translation{transform:none;padding:28px;box-shadow:7px 7px 0 #eee6d8}.stats>div+div{border:0;padding-left:0}.stats{gap:28px}.section{padding-top:65px;padding-bottom:65px}.contact h2{font-size:35px}.about-hero{padding-top:60px;padding-bottom:45px}.brand{font-size:16px}.project-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:430px){.cards{grid-template-columns:1fr}.card{min-height:0}.project-grid{grid-template-columns:repeat(2,1fr)}.translation .sample{font-size:19px}.hero h1{font-size:2.65rem}.stats strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* Readability and softer shapes */
.btn,.nav .btn{font-size:15px;padding:14px 26px}
.translation,.card,.review,.project,.about-panel{border-radius:10px}
.contact input,.contact textarea{border-radius:6px;font-size:16px}
.translation .chinese{font-family:HeiTi,"Heiti SC","STHeiti","Microsoft YaHei","PingFang SC",sans-serif;font-weight:400;font-size:24px}
.nav{font-size:15px}.eyebrow{font-size:12px}.translation .eyebrow{font-size:12px}
.hero p{font-size:18px}.stats small{font-size:14px}.card p{font-size:15px}
.card h3{font-size:20px}.project-placeholder{font-size:13px}
.review strong{font-size:14px}
.contact label{font-size:15px}.notice{font-size:14px}.footer{font-size:16px;font-weight:500}
.footer-home{border-top:0}
.about-panel p{font-size:16px}
@media(max-width:760px){.nav .btn{padding:14px 26px}.hero p{font-size:17px}.translation .sample{font-size:21px}.translation .chinese{font-size:24px}.stats small{font-size:13px}}

/* Remove navigation divider on both pages. */
.header{border-bottom:0}

/* Header brand */
.brand { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 22px; }
.brand-icon { width: 50px; height: 50px; flex: none; border-radius: 10px; background: #09114f; }
.brand-icon img { width: 100%; height: 100%; }
@media (max-width: 1000px) {
  .brand { font-size: 19px; gap: 10px; }
  .brand-icon { width: 42px; height: 42px; }
}

.hero > div:first-child > .eyebrow {
  color: var(--navy);
  /* Align the visible letters with the serif headline below. */
  margin-inline-start: 2px;
}

/* Homepage credentials band */
.stats-band,
.quote-section {
  background: #080f33;
  color: var(--cream);
}
.stats-band .stats {
  gap: 0;
  padding-block: 42px;
}
.stats-band .stats > div {
  position: relative;
  min-width: 0;
  padding-inline: clamp(10px, 2vw, 24px);
  text-align: center;
  border: 0;
}
.stats-band .stats strong {
  color: #d9ba80;
}
.stats-band .stats small {
  color: var(--cream);
  margin-inline: auto;
}
.stats-band .stats > div + div::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  width: 1px;
  height: 52px;
  transform: translateY(-50%);
  background: #a88648;
}
@media (max-width: 760px) {
  .stats-band .stats {
    row-gap: 24px;
    padding-block: 32px;
  }
  .stats-band .stats > div:nth-child(odd)::before {
    content: none;
  }
}

/* Services folio */
#services .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
}
#services .card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  min-height: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 0;
  border-radius: 0;
  background: var(--cream);
}
#services .card:nth-child(2),
#services .card:nth-child(3) {
  background: var(--sand);
}
#services .card .symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 7px;
  background: var(--navy);
  color: #edd9a8;
}
#services .card h3 { margin: 0 0 8px; }
#services .card p { margin: 0; }
@media (max-width: 600px) {
  #services .cards { grid-template-columns: minmax(0, 1fr); }
  #services .card:nth-child(n) { background: var(--cream); }
  #services .card:nth-child(even) { background: var(--sand); }
}

/* Landing page hero proportions */
.hero h1 {
  text-wrap: balance;
}
@media (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
    align-items: center;
    column-gap: clamp(32px, 4vw, 54px);
    padding-top: 80px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.375rem);
  }
  .hero .translation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
    margin-top: 0;
    padding: clamp(32px, 4vw, 48px);
    transform: none;
  }
  .hero .translation .sample {
    font-size: clamp(22px, 2.2vw, 26px);
    line-height: 1.6;
  }
  .hero .translation .chinese {
    font-size: clamp(24px, 2.4vw, 28px);
    line-height: 1.8;
    text-wrap: wrap;
  }
  .hero .translation hr {
    width: 100%;
    margin-block: 28px;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero p { max-width: none; }
  .hero .translation { min-height: 0; }
}

/* Selected Projects logo grid */
#projects .project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
#projects .project {
  height: clamp(112px, 13vw, 152px);
  background: #fff;
  padding: clamp(12px, 2vw, 24px);
}
#projects .project img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 158px;
  max-height: 92px;
  object-fit: contain;
}
@media (max-width: 700px) {
  #projects .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #projects .project { height: 106px; }
  #projects .project img { max-width: 128px; max-height: 72px; }
}


/* Client testimonials */
#reviews-heading,
.quote-section .quote-mark {
  color: #d9ba80;
}

.review-slider {
  max-width: 850px;
  margin-inline: auto;
}

.review-track figure {
  margin: 0;
  padding-block-end: 24px;
}

.review-track blockquote {
  font-size: clamp(16px, 2vw, 23px);
  margin-block-end: 16px;
}

.review-track figcaption {
  color: #e2d6be;
  font-size: 15px;
  line-height: 1.5;
}

.review-slider.is-ready .review-window {
  overflow: hidden;
}

.review-slider.is-ready .review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  align-items: center;
  transition: transform 380ms ease;
}

.review-slider.is-ready .review-track.is-wrapping {
  transition: none;
}

.review-controls:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-block-start: 8px;
}

.review-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 12px;
  font: inherit;
}

.review-controls [data-review-count] {
  min-width: 3em;
  color: #e2d6be;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .review-slider.is-ready .review-track { transition: none; }
}

/* Outlined buttons */
.btn,
.menu-toggle,
.review-controls button {
  --button-ink: var(--navy);
  --button-outline: var(--navy);
  --button-fill: var(--navy);
  --button-fill-ink: #fff;
  --button-shadow: #101e4326;
  color: var(--button-ink);
  background-color: transparent;
  border: 2px solid var(--button-outline);
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s, background-color .18s, border-color .18s, box-shadow .18s, transform .18s;
}

.review-controls button {
  --button-ink: var(--cream);
  --button-outline: #a88648;
  --button-fill: #d9ba80;
  --button-fill-ink: #080f33;
  --button-shadow: #0006;
}

:is(.btn, .menu-toggle, .review-controls button):focus-visible,
:is(.btn, .menu-toggle, .review-controls button):active {
  color: var(--button-fill-ink);
  background-color: var(--button-fill);
  border-color: var(--button-fill);
}

.review-controls button:focus-visible {
  outline: 2px solid #d9ba80;
  outline-offset: 3px;
}

@media (hover: hover) {
  :is(.btn, .menu-toggle, .review-controls button):hover {
    color: var(--button-fill-ink);
    background-color: var(--button-fill);
    border-color: var(--button-fill);
    box-shadow: 0 5px 12px var(--button-shadow);
    transform: translateY(-2px);
  }

  :is(.btn, .menu-toggle, .review-controls button):active {
    box-shadow: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.btn, .menu-toggle, .review-controls button) {
    transition: none;
  }

  :is(.btn, .menu-toggle, .review-controls button):hover {
    transform: none;
  }
}

/* About Me */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 365px);
  align-items: start;
  gap: clamp(30px, 5vw, 76px);
}

.about-hero h1 { margin-top: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.about-copy h2,
.about-copy .about-name { font-size: clamp(23px, 3vw, 32px); }
.about-copy p { font-size: 17px; }
.about-copy .about-lead { color: var(--navy); }

.about-approach {
  border-top: 1px solid var(--line);
  margin-block: 32px 22px;
  padding-top: 28px;
}

.about-approach p:last-child { margin-bottom: 0; }

.about-sidebar {
  display: grid;
  gap: 20px;
}

.about-panel { padding: clamp(22px, 3vw, 32px); }
.about-panel .eyebrow {
  font: 700 12px/1.5 'DM Sans', sans-serif;
  color: #746346;
  margin-bottom: 14px;
}
.about-panel .about-role {
  font: 19px/1.4 'Libre Baskerville', Georgia, serif;
  color: var(--navy);
  margin-bottom: 10px;
}
.about-ethics {
  background: #fffdf9;
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-ethics h2 {
  font-size: clamp(21px, 2.3vw, 26px);
  margin-bottom: 15px;
}
.about-card-list {
  margin: 0;
  padding-inline-start: 1.15em;
  color: var(--muted);
  font-size: 16px;
}
.about-card-list li::marker { color: var(--gold); }
.about-card-list li + li { margin-top: 8px; }
.about-ethics li + li { margin-top: 12px; }

@media (max-width: 760px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .about-copy p { font-size: 16px; }
}

/* Align the source text with both panel labels and the English translation. */
.translation .chinese {
  text-align: left;
}
.translation .chinese span {
  display: inline-block;
}

/* Reserve matching heading rows across the credentials band. */
.stats-band .stats > div { display: grid; grid-template-rows: minmax(3.25rem, auto) auto; align-content: start; }
.stats-band .stats strong { align-self: center; line-height: 1.25; }
.stats-band .stats small { align-self: start; margin-top: 12px; }
/* Invisible Turnstile spam check: keep it out of the form's grid so layout and spacing are unchanged. */
.cf-turnstile{position:absolute}
