@import url('/styles/brand-fonts.css');
@import url('/styles/work.css');

/* An editorial brand system: warm paper, brown ink, and generous imagery. */
:root {
  --paper: #faf7f2;
  --ink: #372d28;
  --muted: #71655b;
  --line: #ded7cc;
  --accent: #806651;
  --primary: #48372f;
  --blush: #ebd9d3;
  --serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
  --pad: clamp(24px, 5.5vw, 98px);
}
body { background: var(--paper); color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
em { font-family: var(--serif); }
p { color: var(--muted); line-height: 1.8; }
.site-header { height: 124px; gap: 48px; }
.brand-mark, .brand-mark img { width: 120px; }
.site-nav { gap: 36px; }
.site-nav a { font-size: .875rem; }
.site-nav a:after { background: var(--primary); }
.language-switch a { color: var(--muted); }
.language-switch .is-active { color: var(--ink); }
.button {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fffaf4;
  padding: 18px 24px;
  gap: 30px;
  font-weight: 400;
  font-size: .9375rem;
  line-height: 1.4;
  min-height: 58px;
  transition: background .2s, border-color .2s;
}
.button:hover { background: #665044; border-color: #665044; color: white; gap: 30px; }
.button-arrow { font-size: 1.3rem; transition: transform .2s; }
.button:hover .button-arrow { transform: translate(2px, -2px); }
.hero-home {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  grid-template-rows: auto 1fr;
  column-gap: 7%;
  padding-top: 50px;
  padding-bottom: 75px;
}
.home-title-tile { grid-area: 1 / 1; padding-top: 42px; }
.hero-home h1 {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 7.3vw, 8.2rem);
  line-height: .99;
  letter-spacing: -.038em;
  font-weight: 400;
}
.hero-home h1 em { font-size: 1em; color: var(--accent); letter-spacing: -.04em; }
.home-copy-cta-tile {
  grid-area: 2 / 1;
  align-self: start;
  max-width: 465px;
  margin-top: 28px;
  padding-bottom: 36px;
}
.hero-copy { font-size: 1rem; line-height: 1.85; }
.home-copy-cta-tile .button { margin-top: 31px; }
.home-media-tile {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  height: 690px;
  min-height: 100%;
  background: #e6dfd3;
  position: relative;
}
.home-media-tile img { object-position: 50% 0%; filter: none; }
.home-service-board { column-gap: 6%; padding-top: 52px; border-top: 1px solid var(--line); }
.home-intro-tile { grid-template-columns: 1fr 2.2fr; column-gap: 9%; padding-bottom: 66px; }
.home-intro-tile h2 { font-family: 'DM Sans', sans-serif; font-size: .8125rem; letter-spacing: .14em; padding-top: 12px; }
.section-intro { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.55rem); letter-spacing: -.025em; line-height: 1.2; }
.home-service-tile { display: block; position: relative; border-top: 0; padding: 0 0 30px; }
.home-service-tile:before { content: none; }
.home-service-tile + .home-service-tile:before { content: none; }
.audience-photo { width: 100%; aspect-ratio: 1.48; overflow: hidden; margin-bottom: 28px; background: #eee7dd; }
.audience-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: none; transition: transform .6s; }
.home-service-tile:hover .audience-photo img { transform: scale(1.025); }
.home-service-tile h3 { font-size: clamp(2.25rem, 3.5vw, 3.6rem); letter-spacing: -.035em; margin-bottom: 19px; }
.home-service-tile p { max-width: 550px; font-size: 1rem; line-height: 1.8; }
.home-tag-stack-tile { padding: 25px 0 70px; }
.service-tag-stack { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); justify-content: space-between; gap: 14px 20px; padding: 25px 0; }
.service-tag { border: 0; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.home-dark-tile { background: #eee7dd; padding: 85px 15%; text-align: center; }
.home-dark-tile:before { content: none; }
.home-dark-tile p { color: var(--ink); font-family: var(--serif); font-size: clamp(2.35rem, 4vw, 4.1rem); line-height: 1.18; font-weight: 400; letter-spacing: -.028em; margin: auto; max-width: 1020px; }
.site-footer { padding-top: 54px; padding-bottom: 48px; border: 0; }
.footer-brand p { font-size: .8125rem; }
.footer-links a { font-size: .875rem; }
.hq-chatbot__launcher { background: var(--primary)!important; border-radius: 0!important; }
html[lang^=zh] h1, html[lang^=zh] h2, html[lang^=zh] h3 { font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; font-weight: 400; }
html[lang^=zh] .hero-home h1 { font-size: clamp(3rem, 4.8vw, 5.4rem); line-height: 1.45; letter-spacing: -.045em; }
html[lang^=zh] h1 em { font-family: inherit; font-style: normal; color: var(--accent); }
html[lang^=zh] .home-title-tile { padding-top: 72px; }
html[lang^=zh] .home-copy-cta-tile { margin-top: 31px; }
html[lang^=zh] .home-intro-tile h2 { font-family: 'DM Sans', 'Microsoft YaHei', sans-serif; }
html[lang^=zh] .section-intro { font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; font-size: clamp(1.6rem, 2.5vw, 2.65rem); line-height: 1.7; }
html[lang^=zh] .home-service-tile h3 { font-size: clamp(1.9rem, 2.65vw, 2.8rem); line-height: 1.4; }
html[lang^=zh] .home-dark-tile p { font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; font-size: clamp(1.7rem, 2.7vw, 2.9rem); line-height: 1.7; }

/* The same typography and materials carry through every interior page. */
.eyebrow, .case-badge { color: var(--accent); font-size: .8125rem; letter-spacing: .13em; }
.page-hero-board { grid-template-columns: .94fr 1.06fr; grid-template-rows: auto 1fr; column-gap: 7%; row-gap: 25px; padding-top: 50px; margin-bottom: 80px; }
.page-title-tile { grid-area: 1 / 1; padding-top: 28px; }
.page-title-tile h1, .page-hero h1 { font-family: var(--serif); font-size: clamp(3.7rem, 6.5vw, 7rem); letter-spacing: -.04em; line-height: 1.01; font-weight: 400; }
.page-copy-tile { grid-area: 2 / 1; align-self: start; max-width: 470px; padding-bottom: 30px; }
.page-lead { font-size: 1rem; line-height: 1.85; }
.page-media-tile { grid-area: 1 / 2 / 3 / 3; height: 610px; min-height: 100%; margin: 0; }
.page-media-tile img { object-position: 50% 50%; filter: none; }
.page-tile h2 { font-size: clamp(2rem, 3.15vw, 3.3rem); line-height: 1.1; letter-spacing: -.025em; }
.page-offer-tile { padding-top: 32px; grid-template-columns: 65px 1fr 1fr; }
.page-offer-tile h2 { font-size: 2.65rem; }
.page-offer-tile p { line-height: 1.8; }
.tile-number, .detail-number { color: var(--accent); }
.services-signal-outline, .services-signal-pill { font-family: var(--serif); font-size: 3.3rem; }
.services-signal-chip:not(.services-signal-outline):not(.services-signal-pill) { border-color: var(--line); color: var(--muted); }
.page-accent-tile { background: #eee7dd; padding: 48px; }
.page-accent-yellow { background: var(--blush); color: var(--ink); }
.page-accent-yellow p { color: var(--muted); }
.page-photo-tile img { object-position: 50% 58%; filter: none; }
.page-case-tile { padding: 28px 0 42px; }
.page-case-tile h2 { font-size: 2.7rem; min-height: 112px; }
.case-badge { line-height: 1.7; min-height: 44px; margin-bottom: 26px; }
.page-case-tile li { border-color: var(--line); }
.page-cta-board h2 { font-size: clamp(2.3rem, 4.1vw, 4.5rem); }
.contact-form-tile h2 { font-size: 3.1rem; }
.contact-form input, .contact-form select, .contact-form textarea { border-color: var(--line); background: rgba(255,255,255,.15); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #82746a; }
.contact-form .button { background: var(--primary); font-weight: 400; }
.contact-form .button:hover { background: #665044; }
.contact-side-tile { padding: 34px; }
.contact-side-tile h2 { font-size: 2.5rem; }
.contact-side-tile p { font-size: 1rem; }
.detail-card h2 { font-size: 2.65rem; }
.cta-section h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
html[lang^=zh] .page-title-tile h1, html[lang^=zh] .page-hero h1 { font-size: clamp(2.9rem, 4.6vw, 5rem); line-height: 1.45; letter-spacing: -.025em; }
html[lang^=zh] .page-title-tile { padding-top: 44px; }
html[lang^=zh] .page-tile h2, html[lang^=zh] .detail-card h2 { font-size: clamp(1.7rem, 2.5vw, 2.7rem); line-height: 1.5; }
html[lang^=zh] .page-offer-tile h2 { font-size: 2rem; }
html[lang^=zh] .page-case-tile h2 { font-size: 2rem; }
html[lang^=zh] .page-cta-board h2 { font-size: 2.7rem; line-height: 1.55; }

@media(max-width:1050px) {
  .site-header { gap: 25px; }
  .site-nav { gap: 23px; }
  .hero-home { grid-template-columns: 1fr 1fr; column-gap: 6%; padding-top: 40px; }
  .hero-home h1 { font-size: 8.6vw; }
  .home-title-tile { padding-top: 18px; }
  .home-media-tile { height: 620px; }
  .home-copy-cta-tile { margin-top: 24px; }
  .hero-copy { font-size: .9375rem; }
  .home-dark-tile { padding: 65px 10%; }
  html[lang^=zh] .home-title-tile { padding-top: 35px; }
  html[lang^=zh] .hero-home h1 { font-size: 4.9vw; }
  .page-hero-board { column-gap: 6%; row-gap: 24px; padding-top: 40px; }
  .page-title-tile h1 { font-size: 7.3vw; }
  .page-title-tile { padding-top: 15px; }
  .page-media-tile { height: 570px; }
  .page-offer-tile { grid-template-columns: 40px 1fr 1.2fr; }
  .page-offer-tile h2 { font-size: 2.25rem; }
  .page-case-tile h2 { font-size: 2.2rem; min-height: 145px; }
  .page-accent-tile { padding: 30px; }
  .contact-side-tile h2 { font-size: 2rem; }
  .page-action-tile .button { gap: 16px; padding-left: 19px; padding-right: 19px; }
  html[lang^=zh] .page-title-tile h1 { font-size: 4.8vw; }
  html[lang^=zh] .page-offer-tile h2 { font-size: 1.7rem; }
  html[lang^=zh] .page-case-tile h2 { font-size: 1.7rem; min-height: 105px; }
  html[lang^=zh] .page-cta-board h2 { font-size: 2.1rem; }
}
@media(max-width:700px) {
  .site-header { height: 96px; gap: 20px; }
  .brand-mark, .brand-mark img { width: 90px; }
  .site-nav { top: 95px; }
  .hero-home { display: flex; padding-top: 35px; padding-bottom: 45px; }
  .home-title-tile { padding-top: 0; }
  .hero-home h1 { font-size: clamp(4rem, 15.1vw, 6.2rem); line-height: 1.02; }
  .home-copy-cta-tile { margin-top: 27px; padding-bottom: 0; max-width: none; }
  .hero-copy { font-size: 1rem; line-height: 1.8; }
  .home-copy-cta-tile .button { margin-top: 25px; }
  .button { padding: 16px 20px; min-height: 54px; gap: 28px; }
  .home-media-tile { margin-top: 36px; height: 410px; min-height: 0; width: 100%; aspect-ratio: auto; }
  .home-media-tile img { object-position: 50% 0%; }
  .home-service-board { padding-top: 42px; }
  .home-intro-tile { padding-bottom: 36px; }
  .home-intro-tile h2 { margin-bottom: 23px; }
  .section-intro { font-size: 2.15rem; line-height: 1.25; }
  .home-service-tile { padding: 0 0 36px; }
  .home-service-tile h3 { font-size: 2.5rem; margin-bottom: 17px; }
  .audience-photo { aspect-ratio: 1.22; margin-bottom: 23px; }
  .home-tag-stack-tile { padding: 0 0 40px; }
  .service-tag-stack { justify-content: flex-start; gap: 18px 24px; padding: 23px 0; }
  .service-tag { font-size: .875rem; }
  .home-dark-tile { padding: 50px var(--pad); }
  .home-dark-tile p { font-size: 2.4rem; line-height: 1.22; }
  .site-footer { padding-top: 36px; padding-bottom: 75px; }
  .hq-chatbot__launcher { display: block!important; margin-left: auto!important; right: 0!important; border-radius: 0!important; }
  html[lang^=zh] .home-title-tile { padding-top: 0; }
  html[lang^=zh] .hero-home h1 { font-size: clamp(2.5rem, 10.7vw, 4.5rem); line-height: 1.45; }
  html[lang^=zh] .home-copy-cta-tile { margin-top: 24px; }
  html[lang^=zh] .section-intro { font-size: 1.65rem; line-height: 1.7; }
  html[lang^=zh] .home-service-tile h3 { font-size: 2rem; }
  html[lang^=zh] .home-dark-tile p { font-size: 1.7rem; line-height: 1.8; }
  .page-hero-board { display: flex; gap: 0; padding-top: 35px; margin-bottom: 48px; }
  .page-title-tile { padding-top: 0; }
  .page-title-tile h1, .page-hero h1 { font-size: clamp(3.4rem, 14vw, 5rem); line-height: 1.02; }
  .page-copy-tile { margin-top: 28px; padding-bottom: 0; }
  .page-media-tile { height: 350px; min-height: 0; margin-top: 32px; }
  .page-tile h2 { font-size: 2.35rem; line-height: 1.12; }
  .page-offer-tile { grid-template-columns: 30px 1fr; padding-top: 25px; }
  .page-offer-tile h2 { font-size: 2.1rem; }
  .services-signal-outline, .services-signal-pill { font-size: 2.7rem; }
  .page-accent-tile { padding: 28px; }
  .page-case-tile { padding: 25px 0 34px; }
  .page-case-tile h2 { font-size: 2.4rem; min-height: 0; }
  .case-badge { min-height: 0; margin-bottom: 22px; }
  .page-cta-board h2 { font-size: 2.65rem; }
  .page-action-tile { margin-top: 24px; }
  .contact-form-tile h2 { font-size: 2.5rem; }
  .contact-side-tile h2 { font-size: 2.35rem; }
  .detail-card h2 { font-size: 2.2rem; }
  html[lang^=zh] .page-title-tile { padding-top: 0; }
  html[lang^=zh] .page-title-tile h1, html[lang^=zh] .page-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); line-height: 1.5; }
  html[lang^=zh] .page-tile h2, html[lang^=zh] .detail-card h2 { font-size: 1.85rem; line-height: 1.5; }
  html[lang^=zh] .page-offer-tile h2 { font-size: 1.75rem; }
  html[lang^=zh] .page-case-tile h2 { min-height: 0; }
  html[lang^=zh] .page-cta-board h2 { font-size: 1.95rem; }
}
