/* Selected identity B + type system T2: typography, brand and CTAs. */
:root { --font-sans: 'ZFSA Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif; --brand-ink: #173d4e; --brand-accent: #188599; }
body { font-family: var(--font-sans); }
.brand { gap: 11px; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { gap: 4px; }
.brand-name, .brand-text .brand-name, .footer-brand .brand-name { font: 600 23px/1.3 var(--font-sans); letter-spacing: .035em; color: #1a3e4e; }
.brand-sub { font: 450 8px/1.4 var(--font-sans); letter-spacing: .18em; color: #587680; }
.primary-nav a { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: .01em; }

/* A consistent type family, with accent colour reserved for key words. */
.section-tag, .contact .section-tag, .hero--observatory .hero-eyebrow {
  display: block; padding: 0; margin-bottom: 22px; border: 0; color: #258296;
  background: none; box-shadow: none; font: 500 12px/1.6 var(--font-sans); letter-spacing: .08em; text-shadow: none;
}
.section-tag::before, .section-tag::after, .hero--observatory .hero-eyebrow::before { display: none; }
.hero--observatory .display {
  font-family: var(--font-sans); font-size: clamp(40px, 4.2vw, 58px); font-weight: 650; line-height: 1.34;
  letter-spacing: -.045em; color: var(--brand-ink); text-shadow: none;
}
.hero--observatory .display-line--accent { margin-top: 0; color: var(--brand-ink); -webkit-text-fill-color: currentColor; background: none; filter: none; }
.text-accent { color: var(--brand-accent); font-style: normal; -webkit-text-fill-color: currentColor; }
.hero--observatory .lede { font: 400 16px/1.95 var(--font-sans); color: #516f80; margin-top: 26px; max-width: 460px; text-shadow: none; }
.section-title, .services--bento .section-title {
  color: var(--brand-ink); font: 600 clamp(28px, 2.75vw, 38px)/1.4 var(--font-sans); letter-spacing: -.035em; text-shadow: none;
}
.section .section-title .title-accent { display: inline; margin: 0; color: var(--brand-accent); background: none; -webkit-text-fill-color: currentColor; animation: none; filter: none; }
.title-rest { margin-left: .2em; }
.about .title-rest, .process .title-rest { display: block; margin: 3px 0 0; }
.section-lede { font: 400 15px/1.9 var(--font-sans); color: #5a7586; margin-top: 17px; }
.services--bento .service-card h3, .solution-row h3 { font-family: var(--font-sans); font-weight: 600; font-size: 21px; letter-spacing: -.02em; line-height: 1.45; }
.process-step h3 { font: 600 18px/1.5 var(--font-sans); letter-spacing: -.015em; }
.services--bento .service-card p, .solution-row p, .process-step p, .about-copy > p { font: 400 14px/1.95 var(--font-sans); letter-spacing: .005em; }
.services--bento .service-card-list li { font: 400 13px/1.8 var(--font-sans); }
.scene-photo figcaption strong { font: 500 15px/1.6 var(--font-sans); }
.scene-photo figcaption span { font: 400 12px/1.7 var(--font-sans); }
.contact .contact-title { font: 650 clamp(32px, 3.6vw, 51px)/1.34 var(--font-sans); letter-spacing: -.045em; color: var(--brand-ink); text-shadow: none; margin-bottom: 25px; }
.contact-title .contact-title-line { display: block; color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.contact-title .text-accent { color: var(--brand-accent); -webkit-text-fill-color: currentColor; }
.contact .contact-lede { font: 400 15px/1.95 var(--font-sans); color: #597584; margin-bottom: 32px; letter-spacing: .025em; }
.hero-actions, .contact-actions { align-items: center; gap: 20px 28px; }

/* Glass action with a fuller rounded SVG arrow; the secondary stays light. */
.hero--observatory .btn, .contact .btn { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.hero--observatory .btn-primary, .contact .btn-primary {
  min-height: 52px; gap: 23px; padding: 8px 10px 8px 20px; color: #205164;
  border: 1px solid #fff; border-radius: 11px;
  background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(255,255,255,.56));
  box-shadow: 0 0 0 1px rgba(150,191,197,.34), inset 0 1px #fff, 0 7px 19px -11px rgba(55,109,125,.32);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-shadow: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero--observatory .btn-primary:hover, .contact .btn-primary:hover {
  color: #164e61;
  /* Keep the CTA solid while hovering; the grid should never show through the action. */
  background: linear-gradient(120deg, #ffffff 0%, #f0f9fc 100%);
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(120,171,181,.5), inset 0 1px #fff, 0 10px 22px -12px rgba(55,109,125,.36);
  transform: translateY(-1px);
}
.btn-arrow-disc { display: grid; place-items: center; flex: 0 0 33px; width: 33px; height: 33px; border-radius: 50%; background: #e1f0f3; box-shadow: inset 0 1px rgba(255,255,255,.8); color: #18788c; }
.btn .btn-arrow { width: 20px; height: 20px; flex: 0 0 20px; }
.btn:hover .btn-arrow { transform: translate(1px, -1px); }
.hero--observatory .btn-soft, .contact .btn-ghost {
  min-height: 46px; gap: 13px; padding: 8px 0; border: 0; border-radius: 0; background: transparent;
  color: #365c6c; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 12px; font-weight: 400;
}
.hero--observatory .btn-soft:hover, .contact .btn-ghost:hover { background: transparent; color: #167d91; box-shadow: none; transform: none; }
.hero--observatory .btn-soft .btn-arrow, .contact .btn-ghost .btn-arrow { width: 18px; height: 18px; flex-basis: 18px; }
.hero--observatory .btn-soft:hover .btn-arrow, .contact .btn-ghost:hover .btn-arrow { transform: translateX(2px); }
.hero--observatory .btn::before, .hero--observatory .btn::after, .contact .btn::before, .contact .btn::after { display: none; }
.hero--observatory .btn:active, .contact .btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid #188599; outline-offset: 5px; }
/* Keep the two footer information columns together at the right edge. */
@media (min-width: 721px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) clamp(80px, 8vw, 112px) minmax(0, clamp(260px, 34vw, 400px));
    column-gap: clamp(24px, 3.9vw, 56px);
  }
}
@media (max-width: 860px) {
  .brand-name, .brand-text .brand-name, .footer-brand .brand-name { font-size: 21px; }
  .brand-mark { width: 42px; height: 42px; }
}
@media (max-width: 620px) {
  .brand { gap: 9px; }
  .brand-name, .brand-text .brand-name, .footer-brand .brand-name { font-size: 20px; }
  .brand-sub { font-size: 7px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero--observatory .display { font-size: clamp(32px, 8.8vw, 43px); line-height: 1.35; }
  .hero--observatory .lede { font-size: 14px; line-height: 1.9; margin-top: 22px; }
  .section-tag, .contact .section-tag, .hero--observatory .hero-eyebrow { font-size: 11px; margin-bottom: 18px; }
  .section-title, .services--bento .section-title { font-size: clamp(26px, 7.2vw, 31px); line-height: 1.42; }
  .title-rest { display: block; margin: 2px 0 0; }
  .section-lede { font-size: 14px; }
  .services--bento .service-card h3, .solution-row h3 { font-size: 20px; }
  .scene-photo figcaption strong { font-size: 14px; }
  .contact .contact-title { font-size: clamp(29px, 8vw, 38px); }
  .contact .contact-lede { font-size: 14px; margin-bottom: 26px; }
  .hero-actions, .contact-actions { gap: 12px 22px; }
  .hero--observatory .btn-primary, .contact .btn-primary { gap: 16px; padding-left: 15px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn-arrow { transition: none; } }
