:root {
  --ink: #071526;
  --muted: #58708a;
  --blue: #0d6efd;
  --blue-deep: #053a7d;
  --cyan: #4fc3ff;
  --salt: #f5f9fc;
  --line: rgba(9, 36, 64, 0.12);
  --paper: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 80px rgba(6, 28, 58, 0.14);
  --radius: 28px;
  font-family: Charter, "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(79, 195, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, #f9fcff 0%, #eef7ff 42%, #ffffff 100%);
  font-family: Avenir Next, "PingFang SC", "Hiragino Sans GB", sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 252, 255, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 240px; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.2);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }

.site-nav { display: flex; gap: 24px; color: #20364c; font-size: 14px; }
.site-nav a { transition: color .2s ease, transform .2s ease; }
.site-nav a:hover { color: var(--blue); transform: translateY(-1px); }
.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}
.language-switch button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #274765;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.language-switch button.is-active {
  color: white;
  background: var(--ink);
}
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 110px clamp(20px, 5vw, 72px) 82px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.045em; }
h1 {
  max-width: 820px;
  font-family: Charter, "Iowan Old Style", "Songti SC", serif;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
}
h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.02; font-family: Charter, "Iowan Old Style", "Songti SC", serif; }
h3 { font-size: 23px; }

.hero-lede {
  max-width: 670px;
  margin: 28px 0 0;
  color: #304b66;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.72;
}
.hero-lede.english { color: var(--muted); font-size: 18px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}
.button.primary { color: white; background: var(--ink); box-shadow: 0 18px 42px rgba(7, 21, 38, .2); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.66); }

.studio-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}
.card-label { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.studio-card h2 { margin-top: 10px; font-size: 38px; line-height: 1.02; }
.studio-card p { color: #415e78; font-size: 18px; line-height: 1.78; }
.studio-logo {
  display: block;
  width: min(260px, 78%);
  margin: -8px auto 18px;
  filter: drop-shadow(0 24px 42px rgba(6, 44, 94, .18));
}
.studio-points { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
.studio-points span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--blue-deep);
  background: rgba(255,255,255,.58);
  font-weight: 900;
}

.smoke-field { position: absolute; inset: 0; overflow: hidden; filter: blur(20px); opacity: .78; }
.smoke {
  position: absolute;
  display: block;
  width: 54vw;
  height: 54vw;
  min-width: 480px;
  min-height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 192, 255, .42) 0%, rgba(12, 101, 219, .15) 34%, transparent 68%);
  mix-blend-mode: multiply;
  animation: drift 18s ease-in-out infinite alternate;
}
.smoke-one { top: -20%; right: -12%; }
.smoke-two { bottom: 2%; left: -20%; animation-duration: 24s; background: radial-gradient(circle, rgba(5, 58, 125, .24), rgba(79, 195, 255, .15) 38%, transparent 70%); }
.smoke-three { top: 24%; left: 44%; animation-duration: 21s; animation-delay: -8s; opacity: .65; }
.smoke-four { width: 38vw; height: 38vw; min-width: 320px; min-height: 320px; right: 18%; bottom: -12%; animation-duration: 27s; animation-delay: -4s; }
@keyframes drift {
  from { transform: translate3d(-4%, 2%, 0) scale(1) rotate(0deg); }
  to { transform: translate3d(5%, -4%, 0) scale(1.14) rotate(16deg); }
}

.section { max-width: 1180px; margin: 0 auto; padding: 88px clamp(20px, 5vw, 72px); }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-strip span {
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #274765;
  background: rgba(255,255,255,.68);
  font-weight: 800;
}
.split { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.split > *, .proof > *, .contact > *, .hero-grid > * { min-width: 0; }
.section-copy p, .section-heading p, .proof-panel p, .contact p {
  color: #415e78;
  font-size: 18px;
  line-height: 1.85;
}
.section-copy p:first-child { margin-top: 0; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 52px rgba(7, 21, 38, .07);
}
.service-card span { color: var(--blue); font-weight: 900; }
.service-card h3 { margin-top: 26px; }
.service-card p { color: var(--muted); line-height: 1.75; }

.proof { display: grid; grid-template-columns: .72fr 1fr; gap: 28px; align-items: stretch; }
.proof-panel, .work-list, .contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow);
}
.proof-panel { padding: 34px; }
.work-list { overflow: hidden; }
.work-list article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.work-list article:last-child { border-bottom: 0; }
.work-list strong { color: var(--blue-deep); }
.work-list span { color: #29465f; line-height: 1.65; }

.contact { display: grid; grid-template-columns: 1fr .82fr; gap: 34px; align-items: center; }
.contact-card { padding: 34px; }
.contact-card a { color: var(--blue-deep); font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -0.04em; }
.contact-card a { overflow-wrap: anywhere; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: #48627a;
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 6px 0 0; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.policy-page { min-height: 100vh; background: #f7fbff; }
.policy-main { max-width: 880px; margin: 0 auto; padding: 92px 24px; }
.policy-main h1 { font-size: clamp(42px, 7vw, 76px); }
.policy-main section { margin-top: 42px; }
.policy-main p, .policy-main li { color: #415e78; font-size: 17px; line-height: 1.85; }
.policy-main a { color: var(--blue-deep); font-weight: 800; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .language-switch { order: 3; }
  .site-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-grid, .split, .proof, .contact { grid-template-columns: 1fr; }
  .trust-strip, .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .site-nav { gap: 16px; font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-strip, .service-grid { grid-template-columns: 1fr; }
  .work-list article { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
