﻿/* ==========================================================================
   Alden & Tan — v3
   Sans-serif throughout. Black type on white. One accent, used only for
   interaction. No captions, no micro-labels, no secondary grey text.
   ========================================================================== */

:root{
  --paper:#FFFFFF;
  --band:#F5F5F6;
  --ink:#0A0A0B;
  --body:#1B1B1F;
  --rule:#E4E4E7;
  --rule-dark:#0A0A0B;
  --accent:#1B3FA8;

  --sans:"Inter","Segoe UI Variable Text",-apple-system,BlinkMacSystemFont,
         "Segoe UI","Helvetica Neue",Arial,
         "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Source Han Sans SC",
         "Noto Sans CJK SC",sans-serif;
  --mono:"SF Mono","Cascadia Mono",Consolas,"Liberation Mono",monospace;

  --gutter:3rem;
  --max:80rem;
}

*,*::before,*::after{box-sizing:border-box}

html{
  -webkit-text-size-adjust:100%;
  font-size:16px;
}

body{
  margin:0;
  background:var(--paper);
  color:var(--body);
  font-family:var(--sans);
  font-size:1.1875rem;     /* 19px */
  line-height:1.62;
  font-weight:400;
  letter-spacing:0;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
p{margin:0}
ul,ol,dl,dd{margin:0;padding:0}
li{list-style:none}

::selection{background:var(--ink);color:#fff}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
main:focus{outline:none}

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--ink);color:#fff;padding:.8rem 1.2rem;font-size:.95rem;
}
.skip:focus{left:1rem;top:1rem}

/* ---------- layout -------------------------------------------------- */

.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}

.bleed{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:hidden}

/* ---------- type ---------------------------------------------------- */

h1,h2,h3,h4{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  font-weight:700;
  letter-spacing:-.022em;
  line-height:1.06;
  text-wrap:balance;
}

.h1{font-size:clamp(2.8rem,5vw,4.1rem);line-height:1.05;letter-spacing:-.03em}
.h2{font-size:clamp(2.05rem,3.5vw,2.95rem);line-height:1.1;letter-spacing:-.026em}
.h3{font-size:clamp(1.3rem,1.8vw,1.6rem);line-height:1.25;letter-spacing:-.014em;font-weight:700}

.lede{font-size:clamp(1.2rem,1.4vw,1.4rem);line-height:1.58;color:var(--body);max-width:36rem}
.text{font-size:1.125rem;line-height:1.66;color:var(--body);max-width:40rem}
.text p+p{margin-top:1rem}
.small{font-size:1rem;line-height:1.55;color:var(--body)}

.link{
  display:inline-flex;align-items:baseline;gap:.5rem;
  font-size:1.125rem;font-weight:700;color:var(--ink);
  border-bottom:2px solid var(--ink);padding-bottom:.15rem;
  transition:color .15s ease,border-color .15s ease;
}
.link .arw{transition:transform .2s ease}
.link:hover{color:var(--accent);border-color:var(--accent)}
.link:hover .arw{transform:translateX(4px)}


/* wordmark: lighter ampersand, the way a logotype is set */
.brand-name .amp{font-weight:300;font-size:.92em;padding:0 .05em}
/* ---------- header -------------------------------------------------- */

.site-header{
  position:sticky;top:0;z-index:40;background:var(--paper);
  border-bottom:1px solid var(--rule);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:2rem;min-height:5rem;
}
.brand{display:flex;align-items:baseline;gap:.85rem}
.brand-name{
  font-size:2.05rem;font-weight:600;letter-spacing:-.038em;color:var(--ink);
  line-height:1;
}
.brand-meta{
  font-size:1rem;color:var(--body);font-weight:400;
  padding-left:1rem;border-left:1px solid var(--rule);
}

.header-right{display:flex;align-items:center;gap:2.4rem;margin-left:auto}

.nav{display:flex;align-items:center;gap:2rem}
.nav a{
  font-size:1.0625rem;font-weight:500;color:var(--body);
  padding:.35rem 0;border-bottom:2px solid transparent;
  transition:color .15s ease,border-color .15s ease;
}
.nav a:hover{color:var(--ink);border-color:var(--ink)}
.nav a[aria-current="page"]{color:var(--ink);font-weight:700;border-color:var(--ink)}

.langs{display:flex;align-items:center;gap:1rem;padding-left:2rem;border-left:1px solid var(--rule)}
.langs a{font-size:1rem;color:var(--body);transition:color .15s ease}
.langs a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
.langs a[aria-current="true"]{color:var(--ink);font-weight:700}

/* ---------- hero ---------------------------------------------------- */

.hero{padding:4.5rem 0 3rem}
.hero-grid{
  display:grid;grid-template-columns:minmax(0,6.1fr) minmax(0,4.9fr);
  gap:clamp(2.5rem,4vw,3.5rem);align-items:start;
}
.hero h1{margin-bottom:1.7rem}
.hero-sub{max-width:34rem;font-size:1.3125rem;line-height:1.6;color:var(--body)}
.hero-actions{display:flex;align-items:center;gap:2.2rem;flex-wrap:wrap;margin-top:2.4rem}

.hero-media{margin:0;overflow:hidden}
.hero-media img{
  width:100%;aspect-ratio:3/4;object-fit:cover;
}

/* facts */
.facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;margin-top:3.5rem;border-top:1px solid var(--rule-dark);
}
.facts>div{padding:1.5rem 2rem 1.5rem 0}
.facts>div+div{padding-left:2rem;border-left:1px solid var(--rule)}
.facts dt{font-size:1.0625rem;font-weight:500;color:var(--body);margin-bottom:.4rem}
.facts dd{font-size:1.45rem;font-weight:700;color:var(--ink);line-height:1.25;letter-spacing:-.018em}

/* ---------- sections ------------------------------------------------ */

.section{padding:4.5rem 0}
.section--band{background:var(--band);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.section--tight{padding:3.5rem 0}

.section-head{
  display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);
  gap:clamp(2rem,4vw,4rem);align-items:start;
  padding-bottom:2rem;border-bottom:2px solid var(--rule-dark);
}
.section-head .lede{padding-top:.35rem;max-width:30rem}

/* ---------- service rows -------------------------------------------- */

.rows{border-top:1px solid var(--rule)}
.row-svc{
  display:grid;grid-template-columns:minmax(0,4fr) minmax(0,5.4fr);
  gap:clamp(1.5rem,3vw,3.5rem);
  padding:2rem 0;border-bottom:1px solid var(--rule);
  align-items:start;
}
.row-svc .n{font-size:1rem;font-weight:700;color:var(--accent);padding-top:.45rem;font-variant-numeric:tabular-nums}
.row-svc .t{font-size:clamp(1.5rem,2.2vw,1.95rem);font-weight:700;color:var(--ink);letter-spacing:-.022em;line-height:1.2}
.row-svc .d{font-size:1.125rem;line-height:1.6;color:var(--body)}

/* ---------- split --------------------------------------------------- */

.split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(2.5rem,6vw,6rem)}
.split-head .h2{margin-bottom:1.4rem}
.split-head .lede{max-width:26rem}

.items{border-top:1px solid var(--rule)}
.item{padding:2rem 0;border-bottom:1px solid var(--rule)}
.item h3{font-size:1.45rem;margin-bottom:.7rem;letter-spacing:-.02em}
.item p{font-size:1.125rem;line-height:1.64;color:var(--body);max-width:34rem}

/* ---------- quote --------------------------------------------------- */

.quote-band{background:var(--ink);color:#fff;padding:6rem 0}
.quote-band blockquote{margin:0;max-width:58rem}
.quote-band blockquote p{
  font-size:clamp(1.6rem,2.8vw,2.4rem);
  font-weight:600;line-height:1.38;letter-spacing:-.025em;color:#fff;
  text-wrap:balance;
}
.quote-band footer{margin-top:1.8rem;font-size:1.0625rem;color:#fff}
.quote-band cite{font-style:normal;font-weight:700}
.quote-band footer cite::after{content:"·";margin:0 .55rem;font-weight:400;opacity:.7}
.quote-band footer span{font-weight:400}

/* ---------- cta ----------------------------------------------------- */

.cta{padding:4.5rem 0;border-top:1px solid var(--rule)}
.cta-grid{display:grid;grid-template-columns:minmax(0,6.5fr) minmax(0,4fr);gap:clamp(2.5rem,5vw,5rem);align-items:end}
.cta .h2{margin-bottom:1.4rem}
.cta-actions{display:flex;flex-direction:column;gap:1.4rem;align-items:flex-start;padding-bottom:.5rem}
.cta-mail{font-size:1.3rem;font-weight:600;color:var(--ink);border-bottom:2px solid var(--ink);padding-bottom:.1rem}
.cta-mail:hover{color:var(--accent);border-color:var(--accent)}

/* ---------- footer -------------------------------------------------- */

.site-footer{background:var(--ink);color:#fff;padding:4.5rem 0 3rem}
.footer-main{display:grid;grid-template-columns:minmax(0,4.5fr) minmax(0,2.6fr) minmax(0,2.6fr) minmax(0,2.4fr);gap:3rem}
.footer-brand .brand-name{color:#fff;font-size:1.85rem;font-weight:600}
.footer-brand p{margin-top:1.1rem;font-size:1.0625rem;line-height:1.6;color:#fff;max-width:22rem}
.footer-block h3{font-size:1rem;font-weight:700;color:#fff;margin-bottom:.9rem}
.footer-block address{font-style:normal;font-size:1.0625rem;line-height:1.7;color:#fff}
.footer-block a,.footer-block p{display:block;font-size:1.0625rem;line-height:1.7;color:#fff}
.footer-block a:hover{text-decoration:underline;text-underline-offset:.2em}
.footer-base{
  display:flex;justify-content:space-between;gap:2rem;align-items:baseline;
  margin-top:3.5rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.22);
  font-size:1rem;color:#fff;
}

/* ---------- page head ----------------------------------------------- */

.page-head{padding:4.5rem 0 2.5rem}
.page-head-grid{display:grid;grid-template-columns:minmax(0,6.5fr) minmax(0,4.5fr);gap:clamp(2.5rem,5vw,5rem);align-items:start}
.page-head .h1{margin-bottom:0}
.page-head .text{padding-top:.6rem}
.page-head .text p+p{margin-top:1.1rem}

/* ---------- steps --------------------------------------------------- */

.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--rule-dark);margin-top:3rem}
.step{padding:1.8rem 2.5rem 0 0;border-right:1px solid var(--rule)}
.step+.step{padding-left:2.5rem}
.step:last-child{border-right:0;padding-right:0}
.step .n{display:block;font-size:1rem;font-weight:700;color:var(--accent);margin-bottom:1rem}
.step h3{font-size:1.4rem;margin-bottom:.6rem;letter-spacing:-.018em}
.step p{font-size:1.125rem;line-height:1.6;color:var(--body)}

/* ---------- service blocks (services page) -------------------------- */

.svc{padding:3.4rem 0;border-bottom:1px solid var(--rule)}
.svc:first-of-type{border-top:1px solid var(--rule-dark)}
.svc-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,5.5fr) minmax(0,3.5fr);gap:clamp(1.5rem,3.5vw,3.5rem)}
.svc-head .n{display:block;font-size:1rem;font-weight:700;color:var(--accent);margin-bottom:1rem}
.svc-head h2{font-size:clamp(1.7rem,2.4vw,2.15rem);letter-spacing:-.022em}
.svc-body p{font-size:1.125rem;line-height:1.66;color:var(--body)}
.svc-body p+p{margin-top:1rem}
.svc-side h3{font-size:1.0625rem;font-weight:700;color:var(--ink);margin-bottom:.9rem}
.svc-side li{font-size:1.0625rem;line-height:1.55;color:var(--body);padding:.5rem 0;border-bottom:1px solid var(--rule)}
.svc-side li:last-child{border-bottom:0}
.svc-side .fee{margin-top:1.5rem;font-size:1.0625rem;line-height:1.6;color:var(--body)}

/* ---------- team ---------------------------------------------------- */

.directory{border-top:2px solid var(--rule-dark);margin-top:2.5rem}
.directory .row{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,3.4fr) minmax(0,5fr);gap:2rem;padding:1.3rem 0;border-bottom:1px solid var(--rule);align-items:baseline}
.directory .row.head{border-bottom:1px solid var(--rule-dark);padding:.9rem 0}
.directory .row.head span{font-size:1rem;font-weight:700;color:var(--ink)}
.directory .who{font-size:1.25rem;font-weight:650;color:var(--ink);letter-spacing:-.012em}
.directory .role{font-size:1.0625rem;color:var(--body)}
.directory .does{font-size:1.0625rem;line-height:1.55;color:var(--body)}

/* ---------- contact ------------------------------------------------- */

.contact-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(2.5rem,5vw,6rem);align-items:start;padding-top:4.5rem}
.contact-grid .h1{margin-bottom:1.8rem}
.mail{display:inline-block;font-size:clamp(1.6rem,2.5vw,2.2rem);font-weight:650;color:var(--ink);letter-spacing:-.02em;border-bottom:2px solid var(--ink);padding-bottom:.15rem;margin-bottom:2.5rem}
.mail:hover{color:var(--accent);border-color:var(--accent)}

.details{border-top:1px solid var(--rule-dark)}
.details>div{display:grid;grid-template-columns:9rem minmax(0,1fr);gap:2rem;padding:1.4rem 0;border-bottom:1px solid var(--rule)}
.details dt{font-size:1rem;font-weight:700;color:var(--ink);padding-top:.2rem}
.details dd{font-size:1.125rem;line-height:1.6;color:var(--body)}
.details dd a{border-bottom:1px solid var(--rule-dark)}
.details dd a:hover{color:var(--accent);border-color:var(--accent)}

.person{margin-top:2.2rem;padding-top:1.6rem;border-top:1px solid var(--rule)}
.person .n{font-size:1.3rem;font-weight:650;color:var(--ink);display:block;margin-bottom:.2rem}
.person .r{font-size:1.0625rem;color:var(--body)}

.list-block{margin-top:2.6rem;border-top:1px solid var(--rule);padding-top:1.6rem}
.list-block h3{font-size:1.0625rem;font-weight:700;color:var(--ink);margin-bottom:1rem}
.list-block li{font-size:1.125rem;line-height:1.6;color:var(--body);padding:.35rem 0}
.note{margin-top:2.6rem;font-size:1.125rem;line-height:1.65;color:var(--body);max-width:38rem;border-top:1px solid var(--rule);padding-top:1.6rem}

/* ---------- responsive ---------------------------------------------- */

@media (max-width:1120px){
  :root{--gutter:2.25rem}
  .footer-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}
  .footer-brand{grid-column:1/-1}
  .svc-grid{grid-template-columns:minmax(0,3fr) minmax(0,5fr) minmax(0,3fr);gap:1.75rem}
}

@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:2.8rem}
  .hero-media img{aspect-ratio:16/10}
  .page-head-grid{grid-template-columns:1fr;gap:2rem}
  .page-head .text{padding-top:0}
  .section-head{grid-template-columns:1fr;gap:1.4rem;align-items:start}
  .split{grid-template-columns:1fr;gap:2.6rem}
  .cta-grid{grid-template-columns:1fr;gap:2.4rem}
  .contact-grid{grid-template-columns:1fr;gap:3rem}
  .row-svc{grid-template-columns:1fr;gap:.55rem}
  .svc-grid{grid-template-columns:1fr;gap:1.6rem}
  .steps{grid-template-columns:1fr}
  .step,.step+.step{border-right:0;border-bottom:1px solid var(--rule);padding:1.6rem 0}
  .step:last-child{border-bottom:0}
  .directory .row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem 1.5rem}
  .directory .row.head{display:none}
  .directory .does{grid-column:1/-1}
}

@media (max-width:720px){
  :root{--gutter:1.35rem}
  body{font-size:1.125rem}
  .header-inner{min-height:0;padding-top:1.1rem;padding-bottom:1.1rem;flex-wrap:wrap;gap:.9rem}
  .brand{order:1}
  .admin{order:2;margin-left:auto;border-left:0;padding-left:0;font-size:1rem}
  .header-right{order:3;width:100%;margin-left:0;justify-content:space-between;gap:1rem}
  .brand-meta{display:none}
  .nav{gap:1.4rem}
  .nav a{font-size:.95rem}
  .langs{padding-left:0;border-left:0;margin-left:auto;gap:.85rem}
  .hero{padding:3rem 0 2.5rem}
  .h1{font-size:2.5rem;line-height:1.1}
  .h2{font-size:1.9rem}
  .facts{grid-template-columns:1fr 1fr;margin-top:3rem}
  .facts>div{padding:1.2rem 1rem 1.2rem 0}
  .facts>div+div{padding-left:0;border-left:0}
  .facts>div:nth-child(2n){padding-left:1rem}
  .facts dd{font-size:1.25rem}
  .facts>div:nth-child(1),.facts>div:nth-child(2){border-bottom:1px solid var(--rule)}
  .section{padding:3.4rem 0}
  .row-svc{grid-template-columns:1fr;padding:1.4rem 0}
  .svc{padding:2.4rem 0}
  .details>div{grid-template-columns:1fr;gap:.3rem}
  .footer-main{grid-template-columns:1fr;gap:2rem}
  .footer-base{flex-direction:column;gap:.6rem;align-items:flex-start}
  .quote-band{padding:3.6rem 0}
  .cta{padding:3.6rem 0}
}

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

@media print{
  .site-header,.cta{display:none}
  body{background:#fff;color:#000}
}

/* ---------- Chinese typography --------------------------------------
   Latin tracking and single-line leading do not survive translation. */

html[lang="zh-Hans"] .h1{font-size:clamp(2.2rem,4.1vw,3.55rem);line-height:1.22;letter-spacing:0}
html[lang="zh-Hans"] .h2{line-height:1.3;letter-spacing:0}
html[lang="zh-Hans"] .h3,
html[lang="zh-Hans"] .row-svc .t,
html[lang="zh-Hans"] .directory .who,
html[lang="zh-Hans"] .brand-name,
html[lang="zh-Hans"] .cta-mail,
html[lang="zh-Hans"] .mail{letter-spacing:0}

html[lang="zh-Hans"] .hero-sub,
html[lang="zh-Hans"] .text,
html[lang="zh-Hans"] .lede,
html[lang="zh-Hans"] .row-svc .d,
html[lang="zh-Hans"] .item p,
html[lang="zh-Hans"] .svc-body p,
html[lang="zh-Hans"] .step p{line-height:1.78}

html[lang="zh-Hans"] .quote-band blockquote p{line-height:1.55;letter-spacing:0}
html[lang="zh-Hans"] .facts dd{letter-spacing:0}

@media (max-width:720px){
  html[lang="zh-Hans"] .h1{font-size:2.1rem;line-height:1.24}
  html[lang="zh-Hans"] .h2{font-size:1.6rem}
}



.terms p{font-size:1.125rem;line-height:1.66;color:var(--body);max-width:34rem}
.terms p+p{margin-top:1.1rem}
/* ---------- admin link + access page -------------------------------- */

.admin{
  font-size:1rem;font-weight:600;color:var(--ink);
  padding:.35rem 0 .35rem 1.6rem;border-left:1px solid var(--rule);
}
.admin:hover{color:var(--accent)}

.auth{max-width:30rem;margin:0 auto;padding:6rem 1.5rem 7rem}
.auth h1{font-size:clamp(2rem,3vw,2.6rem);line-height:1.15;margin-bottom:1rem}
.auth .lead{font-size:1.125rem;line-height:1.6;color:var(--body)}
.field{margin-top:2.2rem}
.field label{display:block;font-size:1rem;font-weight:700;color:var(--ink);margin-bottom:.65rem}
.field input{
  width:100%;font:inherit;font-size:1.125rem;color:var(--ink);
  background:none;border:0;border-bottom:1px solid var(--rule-dark);
  padding:.65rem 0;outline:none;border-radius:0;
}
.field input:focus{border-bottom-color:var(--accent);border-bottom-width:2px}
.auth button{
  margin-top:2.7rem;width:100%;font:inherit;font-size:1.125rem;font-weight:700;
  color:#fff;background:var(--ink);border:0;border-radius:0;
  padding:1.1rem;cursor:pointer;transition:background-color .15s ease;
}
.auth button:hover{background:var(--accent)}
.err{
  margin-top:1.7rem;padding:1rem 1.1rem;font-size:1.0625rem;font-weight:600;
  color:#8C1D18;background:#FBEDEC;border-left:3px solid #8C1D18;
}
.err[hidden]{display:none}
.auth .back{display:inline-block;margin-top:3rem;font-size:1rem;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:.25em}
.auth .back:hover{color:var(--accent)}






/* admin styles are declared last, so the mobile override has to be too */
@media (max-width:720px){
  .admin{border-left:0;padding-left:0;font-size:1rem}
}

/* ---------- motion --------------------------------------------------
   Reveal + hover. Only active when the system does not ask for less. */

@media (prefers-reduced-motion: no-preference){

  html.js-motion{scroll-behavior:smooth}

  html.js-motion :where(
    .hero-copy, .hero-media,
    .facts > div,
    .page-head-grid > *,
    .section-head, .split-head,
    .row-svc, .item, .step, .svc,
    .directory .row,
    .quote-band blockquote,
    .contact-grid > *,
    .cta-grid > *
  ){
    opacity:0;
    transform:translateY(16px);
    transition:opacity .7s cubic-bezier(.22,1,.36,1),
               transform .7s cubic-bezier(.22,1,.36,1);
    transition-delay:var(--d,0ms);
  }

  html.js-motion .is-in{opacity:1;transform:none}
  .row-svc{transition:background-color .25s ease}
  .row-svc:hover{background:#FAFAFB}

  .hero-media img,
  .bleed img{transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
  .hero-media:hover img,
  .bleed:hover img{transform:scale(1.02)}

  .site-header{transition:border-bottom-color .35s ease}
  .site-header.is-scrolled{border-bottom-color:var(--ink)}

  .link .arw,.nav a,.langs a,.admin,.footer-block a,
  .mail,.cta-mail,.details dd a{transition:color .2s ease,border-color .2s ease,transform .25s ease}

  .svc-side li{transition:border-color .2s ease}
}



