/* Aqua Art Studio — colours and type follow the original Wix design */
:root {
  --paper: #f7f5f0;      /* page background */
  --ink: #1a2e26;        /* headings, dark green-black */
  --text: #4d5c56;       /* body text */
  --pine: #2a5a52;       /* buttons, links */
  --line: #e2ded5;       /* hairlines */
  --mist: #eceae3;       /* alternate band */
  --font-display: "Wix Madefor Display", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-text: "Wix Madefor Text", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; font-weight: 500; }
p { margin: 0; max-width: 62ch; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.lang { font-size: 0.9rem; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 14px; color: var(--ink); text-decoration: none; }
.lang:hover { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 14px; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Buttons */
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 999px; border: 1px solid var(--pine); background: var(--pine); color: #fff; text-decoration: none; font-size: 0.95rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn:hover { opacity: .88; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section.band { background: var(--mist); }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); margin-bottom: 14px; }
.stack { display: grid; gap: 22px; }
.section-head { display: grid; gap: 16px; margin-bottom: 44px; }

.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
@media (max-width: 860px) {
  .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero img { aspect-ratio: 4 / 3; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: grid; gap: 14px; align-content: start; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.card .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; white-space: nowrap; }
.ticker span { display: inline-block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); letter-spacing: 0.08em; animation: drift 40s linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker span { animation: none; } }

/* Numbered list (Wix "collaborations" list) */
.list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.list div { border-top: 1px solid var(--line); padding-block: 22px; display: grid; gap: 6px; }
.list small { color: var(--pine); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .list { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: grid; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Split rows (programs, partners) */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 40px; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.row.flip > :first-child { order: 2; }
.note { font-size: 0.92rem; color: var(--pine); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 24px; } .row.flip > :first-child { order: 0; } }

.person { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.88rem; color: var(--ink); }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; gap: 28px; } }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.contact div { display: grid; gap: 6px; align-content: start; }
.contact .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); }
.contact .value { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0d1f1c; color: #c9d3cf; padding-block: 48px; font-size: 0.92rem; }
.site-footer .wrap { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-footer img { width: 200px; }
.site-footer a { color: #e6efe9; }

/* Header order: brand, menu, language switch */
.nav { order: 1; }
.lang { order: 2; }
.menu-btn { order: 3; }
@media (max-width: 860px) { .nav { order: 4; } }
@media (max-width: 860px) { .site-header .wrap { gap: 12px; } }
:lang(zh) h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); letter-spacing: 0.02em; }
.list.team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .list.team { grid-template-columns: 1fr; } }
