:root {
  --ink: #0b2233;
  --ink-soft: #17384d;
  --paper: #f6f2e9;
  --paper-bright: #fffdf8;
  --gold: #765315;
  --gold-light: #e3c37c;
  --text-soft: #52616b;
  --line: rgba(11, 34, 51, 0.16);
  --line-dark: rgba(246, 242, 233, 0.2);
  --shadow: 0 28px 70px rgba(11, 34, 51, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 0.7rem; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-soft); border: 0.16rem solid var(--paper); border-radius: 1rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero :focus-visible, .partnerships :focus-visible { outline-color: var(--gold-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 0.8rem; left: 0.8rem; transform: translateY(-160%); background: var(--paper-bright); color: var(--ink); padding: 0.7rem 1rem; border-radius: 0.45rem; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 5.25rem;
  padding: 0.75rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 240ms ease, background 240ms ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 36px rgba(11, 34, 51, 0.09); background: rgba(255, 253, 248, 0.985); }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; min-width: max-content; }
.brand-mark { font-family: var(--display); font-size: 2.25rem; font-weight: 600; letter-spacing: -0.12em; color: var(--gold); line-height: 1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.84rem; }
.brand-copy small { margin-top: 0.35rem; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-soft); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.4rem); }
.site-nav > a { font-size: 0.84rem; font-weight: 600; text-decoration: none; position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.55rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.site-nav > a:hover::after, .site-nav > a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { background: var(--ink); color: var(--paper-bright); padding: 0.82rem 1.2rem; border-radius: 0.45rem; }
.nav-cta span { color: var(--gold-light); margin-left: 0.4rem; }
.menu-toggle { display: none; }

.hero {
  min-height: 44rem;
  height: clamp(44rem, calc(100svh - 5.25rem), 56rem);
  background: var(--ink);
  color: var(--paper-bright);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 0.94fr);
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.hero-copy { padding: clamp(5rem, 10vh, 8rem) clamp(1.4rem, 5vw, 5.4rem) clamp(5rem, 8vh, 7rem); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; letter-spacing: -0.032em; }
.hero h1 { font-size: clamp(3.7rem, 7.25vw, 6rem); line-height: 0.91; max-width: 13ch; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); font-weight: 500; }
.section-heading h2 em, .about h2 em { color: var(--gold); font-weight: 500; }
.hero-lede { max-width: 42rem; margin: 2.1rem 0 0; color: rgba(255, 253, 248, 0.78); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.3rem; }
.button { min-height: 3.25rem; padding: 0.84rem 1.2rem; border-radius: 0.5rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; font-size: 0.83rem; font-weight: 700; text-decoration: none; transition: transform 180ms var(--ease), box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.button-gold { background: var(--gold-light); color: var(--ink); }
.text-link { display: inline-flex; gap: 0.7rem; align-items: center; width: fit-content; color: var(--ink); font-weight: 700; font-size: 0.82rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.16rem; }
.text-link span { transition: transform 180ms var(--ease); }
.text-link:hover span { transform: translateX(0.25rem); }
.text-link-light { color: var(--paper-bright); }
.hero-portrait { min-height: 42rem; position: relative; overflow: hidden; background: #cdbda8; isolation: isolate; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,51,0.5), transparent 28%); z-index: 1; pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.portrait-note { position: absolute; z-index: 2; right: 2rem; top: 2.4rem; margin: 0; color: var(--gold-light); font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.1; max-width: 9ch; transform: rotate(-7deg); text-shadow: 0 2px 8px rgba(11,34,51,0.3); }
.hero-route { position: absolute; z-index: 3; width: min(42vw, 39rem); height: 7rem; right: -2rem; bottom: 1rem; pointer-events: none; opacity: 0.8; }
.hero-route svg { width: 100%; height: 100%; }
.hero-route path { fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 540; stroke-dashoffset: 0; }
.is-ready .hero-copy > * { animation: heroCopy 720ms var(--ease) both; }
.is-ready .hero-copy > *:nth-child(2) { animation-delay: 90ms; }
.is-ready .hero-copy > *:nth-child(3) { animation-delay: 170ms; }
.is-ready .hero-copy > *:nth-child(4) { animation-delay: 240ms; }
.is-ready .hero-portrait { animation: portraitReveal 820ms var(--ease) both; }
.is-ready .hero-route path { animation: routeDraw 1100ms 520ms var(--ease) both; }
@keyframes heroCopy { from { opacity: 0.01; transform: translateY(1.7rem); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes portraitReveal { from { clip-path: inset(0 0 100% 0); transform: scale(1.035); } to { clip-path: inset(0); transform: scale(1); } }
@keyframes routeDraw { from { stroke-dashoffset: 540; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }

.proof-band { background: var(--paper-bright); min-height: 7.5rem; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); padding: 0 clamp(1.4rem, 5vw, 5.4rem); border-bottom: 1px solid var(--line); }
.proof-item { padding: 1.75rem clamp(1rem, 2.5vw, 2rem); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 0.25rem; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.proof-item span { color: var(--text-soft); font-size: 0.76rem; }
.proof-primary { flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.9rem; }
.proof-primary strong { color: var(--gold); font-size: 3.3rem; font-variant-numeric: tabular-nums; }
.proof-primary span { max-width: 8rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.4rem, 5vw, 5.4rem); }
.portfolio { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: clamp(3.5rem, 6vw, 6rem); }
.section-heading h2, .about h2, .contact h2 { font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: 0.94; }
.section-heading p { margin: 0 0 0.45rem; color: var(--text-soft); max-width: 34rem; font-size: 1.02rem; }

.venture-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.8rem, 5vw, 5.2rem) clamp(1.4rem, 3vw, 2.8rem); }
.venture { grid-column: span 6; min-width: 0; }
.venture-wide { grid-column: span 7; }
.venture-compact { grid-column: span 5; }
.venture-half { grid-column: span 6; }
.venture-media { position: relative; display: block; overflow: hidden; background: var(--paper-bright); aspect-ratio: 4 / 3; color: var(--paper-bright); text-decoration: none; }
.venture-wide .venture-media { aspect-ratio: 16 / 10; }
.venture-media::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(to top, rgba(11,34,51,0.48), transparent); pointer-events: none; }
.venture-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease), filter 350ms ease; }
.venture:hover .venture-media img { transform: scale(1.035); }
.venture-index { position: absolute; z-index: 2; left: 1.1rem; bottom: 0.85rem; font-family: var(--display); font-size: 1.65rem; font-variant-numeric: tabular-nums; }
.venture-copy { padding: 1.35rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: end; }
.venture-category { grid-column: 1 / -1; margin: 0 0 0.5rem; color: var(--gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.venture h3 { grid-column: 1 / -1; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; }
.venture-copy > p:not(.venture-category) { margin: 0.85rem 0 0; color: var(--text-soft); max-width: 38rem; }
.venture-copy .text-link { margin-top: 1rem; white-space: nowrap; }
.venture-blue .venture-media { background: #d8ecf4; }
.venture-dark .venture-media { background: var(--ink); }
.venture-pale .venture-media { background: #eae6db; }
.venture-warm .venture-media { background: #d7c4aa; }
.venture-kids .venture-media { background: #e8dfca; }

.about { background: var(--paper-bright); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr); gap: clamp(3rem, 9vw, 9rem); }
.about-copy { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 4rem); }
.about-copy p { color: var(--text-soft); max-width: 40rem; }
.about-copy .about-lede { color: var(--ink); font-size: clamp(1.18rem, 1.8vw, 1.42rem); line-height: 1.65; margin-top: 0; }
.signature { margin-top: 2.5rem; display: flex; flex-direction: column; width: fit-content; }
.signature span { font-family: var(--display); font-style: italic; font-size: 2rem; transform: rotate(-3deg); }
.signature small { margin-top: 0.25rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.58rem; }

.partnerships { background: var(--ink); color: var(--paper-bright); padding: clamp(5rem, 9vw, 8rem) clamp(1.4rem, 5vw, 5.4rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr); gap: clamp(3rem, 10vw, 10rem); align-items: center; position: relative; overflow: hidden; }
.partnerships::after { content: ""; position: absolute; width: 30rem; height: 30rem; right: -15rem; bottom: -21rem; border: 1px solid rgba(227,195,124,0.32); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(227,195,124,0.03), 0 0 0 8rem rgba(227,195,124,0.02); }
.partnership-copy { position: relative; z-index: 1; }
.partnerships h2 { font-size: clamp(3.5rem, 6.5vw, 5.8rem); line-height: 0.94; }
.partnerships p { color: rgba(255,253,248,0.75); max-width: 42rem; margin: 1.5rem 0 2rem; font-size: 1.04rem; }
.opportunity-list { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.opportunity-list li { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.opportunity-list span { color: var(--gold-light); font-family: var(--display); font-variant-numeric: tabular-nums; }

.contact { background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-intro p { color: var(--text-soft); max-width: 33rem; }
.contact-details { border-top: 1px solid var(--line); }
.contact-details > * { margin: 0; padding: 1.15rem 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; text-decoration: none; }
.contact-details span { color: var(--text-soft); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; }
.contact-details strong { text-align: right; font-size: 0.94rem; }
.contact-details a:hover strong { color: var(--gold); }
.social-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.social-link { min-height: 3rem; display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.5rem 1rem 0.5rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit; font: inherit; text-decoration: none; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease); }
.social-link:hover { background: var(--ink); color: var(--paper-bright); transform: translateY(-2px); }
.social-link svg { width: 2rem; height: 2rem; padding: 0.42rem; border-radius: 50%; background: var(--gold-light); fill: var(--ink); flex: none; }

.wechat-dialog { width: min(92vw, 34rem); max-height: 92vh; margin: auto; padding: 0; border: 0; border-radius: 1rem; background: var(--paper-bright); color: var(--ink); box-shadow: 0 2rem 7rem rgba(4, 18, 29, 0.36); overflow: auto; }
.wechat-dialog[open] { animation: dialog-in 260ms var(--ease) both; }
.wechat-dialog::backdrop { background: rgba(4, 18, 29, 0.74); backdrop-filter: blur(8px); animation: backdrop-in 220ms ease both; }
.wechat-dialog-inner { position: relative; padding: clamp(1.35rem, 4vw, 2.4rem); text-align: center; }
.wechat-dialog .eyebrow { margin: 0 0 0.75rem; color: var(--gold); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.wechat-dialog h2 { max-width: 12ch; margin: 0 auto; font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 0.98; }
.wechat-instruction { max-width: 31rem; margin: 1rem auto 1.4rem; color: var(--text-soft); line-height: 1.65; }
.wechat-dialog img { width: min(100%, 25rem); height: auto; border: 1px solid var(--line); border-radius: 0.7rem; cursor: zoom-in; }
.wechat-tip { margin: 0.85rem 0 0; color: var(--text-soft); font-size: 0.72rem; }
.wechat-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.wechat-close:hover { background: var(--ink); color: var(--paper-bright); }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(1rem) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-footer { background: var(--paper-bright); border-top: 1px solid var(--line); padding: 2rem clamp(1.4rem, 5vw, 5.4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--text-soft); }
.brand-footer { color: var(--ink); }
.site-footer p { margin: 0; font-size: 0.72rem; }

@media (max-width: 980px) {
  .site-header { min-height: 4.75rem; }
  .brand-copy strong { font-size: 0.76rem; }
  .site-nav { gap: 1rem; }
  .hero { min-height: auto; grid-template-columns: 1fr 0.82fr; }
  .hero-copy { padding-top: 5rem; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(3.4rem, 7.5vw, 5rem); }
  .hero-portrait { min-height: 38rem; }
  .hero-route { display: none; }
  .proof-band { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .venture, .venture-wide, .venture-compact, .venture-half { grid-column: span 6; }
  .venture-media, .venture-wide .venture-media { aspect-ratio: 4 / 3; }
  .site-footer { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 4.75rem; }
  .site-header { padding-inline: 1rem; }
  .brand-mark { font-size: 2rem; }
  .menu-toggle { width: 2.85rem; height: 2.85rem; padding: 0.8rem; background: var(--ink); border: 0; border-radius: 0.45rem; display: flex; flex-direction: column; justify-content: center; gap: 0.38rem; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; width: 100%; background: var(--paper-bright); transition: transform 220ms var(--ease); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(0.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.2rem) rotate(-45deg); }
  .site-nav { position: fixed; inset: 4.75rem 0 auto; min-height: calc(100vh - 4.75rem); background: var(--paper-bright); padding: 3rem 1.4rem; flex-direction: column; align-items: flex-start; gap: 1.3rem; transform: translateX(100%); visibility: hidden; transition: transform 340ms var(--ease), visibility 340ms; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav > a { font-family: var(--display); font-size: 2.6rem; font-weight: 600; }
  .site-nav .nav-cta { margin-top: 1rem; width: 100%; font-family: var(--body); font-size: 0.9rem; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-copy { padding: 4.8rem 1.35rem 3.5rem; min-height: 34rem; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 4.7rem); max-width: 10ch; }
  .hero-lede { font-size: 1rem; line-height: 1.7; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-portrait { min-height: 37rem; }
  .hero-portrait::after { background: linear-gradient(0deg, rgba(11,34,51,0.45), transparent 35%); }
  .proof-band { grid-template-columns: 1fr 1fr; padding-inline: 0.7rem; }
  .proof-item { padding: 1.3rem 0.7rem; }
  .proof-primary { flex-direction: column; align-items: flex-start; gap: 0; }
  .proof-primary strong { font-size: 2.7rem; }
  .section { padding: 5.5rem 1.35rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading h2, .about h2, .contact h2 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .venture-grid { display: block; }
  .venture { margin-bottom: 4.2rem; }
  .venture:last-child { margin-bottom: 0; }
  .venture-media, .venture-wide .venture-media { aspect-ratio: 4 / 3; }
  .venture-copy { display: block; }
  .venture h3 { font-size: 2.4rem; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-copy { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
  .partnerships { grid-template-columns: 1fr; gap: 3.5rem; padding: 5.5rem 1.35rem; }
  .partnerships h2 { font-size: clamp(3.2rem, 14vw, 4.8rem); }
  .contact { grid-template-columns: 1fr; }
  .contact-details > * { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
  .contact-details strong { text-align: left; }
  .social-links { grid-column: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 2rem 1.35rem; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .hero h1 { font-size: 3.35rem; }
  .proof-band { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .proof-primary { flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .is-ready .hero-copy > *, .is-ready .hero-portrait { animation: none; }
  .hero-route path { stroke-dashoffset: 0; }
  .venture:hover .venture-media img, .button:hover, .social-link:hover { transform: none; }
}
