:root {
  color-scheme: light;
  --bg: #f6f8fc;
  --surface: #fff;
  --ink: #16223b;
  --muted: #5d6b83;
  --line: #e1e7f0;
  --brand: #315efb;
  --brand-dark: #2148d3;
  --accent: #c6f76d;
  --radius: 20px;
  --shadow: 0 18px 50px rgb(31 48 83 / 5%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body, button, a { font-size: 16px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
::selection { background: #d8e2ff; color: #12234d; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 106px; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 16px; background: var(--surface); z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(246 248 252 / 91%); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; font-size: 15px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; background: var(--ink); color: var(--accent); width: 40px; height: 40px; border-radius: 11px; font-size: 17px; letter-spacing: -.1em; padding-right: 3px; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .18s ease; }
.header-nav a:hover { color: var(--ink); }
.header-cta { padding: 12px 17px; border-radius: 11px; background: var(--ink); color: white; font-size: 14px; font-weight: 650; white-space: nowrap; }
.header-cta span { margin-left: 8px; }
.header-cta:hover { color: white; background: var(--brand-dark); }
.hero { padding-top: 126px; padding-bottom: 126px; position: relative; overflow: hidden; }
.hero:before { content: ""; position: absolute; z-index: -1; top: -170px; right: -220px; width: 850px; height: 750px; pointer-events: none; background: radial-gradient(ellipse, rgb(196 211 254 / 38%), transparent 67%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .75fr); gap: 72px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--brand-dark); font-size: 12px; font-weight: 800; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-line { width: 28px; height: 2px; background: var(--brand); flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { margin: 23px 0 24px; font-size: clamp(53px, 6.2vw, 86px); line-height: 1.04; font-weight: 760; max-width: 740px; }
.hero-dot { color: var(--brand); }
.hero-summary { max-width: 570px; font-size: clamp(18px, 2vw, 21px); line-height: 1.75; color: var(--muted); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 50px; padding: 13px 23px; border-radius: 12px; font-size: 14px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: white; box-shadow: 0 8px 20px rgb(49 94 251 / 15%); }
.button-primary:hover { background: var(--brand-dark); color: white; }
.button-secondary { border: 1px solid #cbd4e3; background: white; }
.hero-social { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 25px; margin-top: 28px; }
.hero-social a, .hero-social span { color: var(--muted); font-size: 13px; font-weight: 700; }
.hero-social a:hover { color: var(--brand-dark); }
.hero-social span { opacity: .48; }
.availability { display: flex; gap: 8px; align-items: center; color: var(--muted); margin: 25px 0 0; font-size: 13px; }
.availability-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #25a46c; box-shadow: 0 0 0 4px #d8f5e6; }
.hero-aside { background: var(--ink); color: white; padding: 32px; border-radius: 24px; box-shadow: 0 30px 58px rgb(23 36 75 / 14%); transform: rotate(1.2deg); position: relative; overflow: hidden; }
.hero-aside:after { content: ""; position: absolute; width: 220px; height: 220px; background: #324975; filter: blur(75px); opacity: .4; right: -100px; bottom: -120px; pointer-events: none; }
.hero-aside-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 37px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #9faec8; }
.hero-aside-row { display: flex; align-items: center; gap: 20px; min-height: 73px; border-top: 1px solid #354159; font-size: 16px; font-weight: 650; }
.aside-index { font-size: 11px; color: #a8b8d0; font-weight: 550; }
.aside-arrow { margin-left: auto; color: var(--accent); }
.hero-aside-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 31px; padding-top: 24px; border-top: 1px solid #354159; font-size: 11px; letter-spacing: .15em; font-weight: 750; color: #a9bad2; }
.hero-aside-bottom span { font-size: 26px; color: var(--accent); }
.section-about { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 47px; }
.section-number { display: block; margin-bottom: 16px; color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
h2 { font-size: clamp(34px, 4vw, 50px); font-weight: 760; line-height: 1.15; margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 16px; margin-top: 15px; }
.about-layout { display: grid; grid-template-columns: 1.25fr .65fr; gap: 100px; margin-bottom: 58px; }
.about-lead { font-size: clamp(21px, 2.5vw, 28px); line-height: 1.65; letter-spacing: -.02em; margin: 0; }
.about-details { align-self: start; color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-details p:last-child { margin-bottom: 0; }
.about-location span { display: block; font-size: 10px; color: var(--brand); font-weight: 800; letter-spacing: .16em; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.focus-card { min-height: 232px; padding: 31px; background: var(--bg); border: 1px solid var(--line); border-radius: 19px; }
.focus-index { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--brand); }
.focus-card h3 { margin: 28px 0 13px; font-size: 21px; font-weight: 750; }
.focus-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.section-work { background: var(--bg); }
.projects-subtitle { margin: 0 0 22px; font-size: 23px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { display: flex; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: white; flex-direction: column; box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.project-card:hover { transform: translateY(-4px); border-color: #bac9ec; color: var(--ink); }
.project-art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(120deg, #dde8ff, #eaf4f0); }
.project-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-art-contain { background: white; }
.project-art-contain img { object-fit: contain; }
.project-art-symbol { color: #7189bf; font-weight: 800; font-size: 80px; letter-spacing: -.12em; }
.project-info { padding: 26px; }
.project-type { color: var(--brand-dark); font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.project-info h3 { margin: 10px 0 8px; font-size: 25px; }
.project-info p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.project-more { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 750; margin-top: 12px; color: var(--brand-dark); }
.projects-subheading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 62px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-button { border-radius: 999px; padding: 10px 17px; font-weight: 650; font-size: 13px; color: var(--muted); background: white; border: 1px solid var(--line); }
.filter-button.is-active { background: var(--ink); color: white; border-color: var(--ink); }
.no-results { color: var(--muted); margin-top: 24px; }
.section-contact { padding-top: 105px; padding-bottom: 105px; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: clamp(34px, 5vw, 75px); background: #172441; color: white; border-radius: 25px; position: relative; overflow: hidden; }
.contact-panel:before { content: ""; position: absolute; height: 330px; width: 330px; border-radius: 50%; right: -180px; top: -170px; background: #304882; filter: blur(65px); opacity: .5; pointer-events: none; }
.contact-panel .section-number { color: var(--accent); }
.contact-intro { z-index: 1; }
.contact-intro h2 { font-size: clamp(38px, 4vw, 54px); }
.contact-intro h2 em { color: var(--accent); font-style: normal; }
.contact-intro > p { color: #b8c3d9; font-size: 16px; line-height: 1.8; max-width: 340px; margin-top: 24px; }
.social-grid { z-index: 1; display: grid; grid-template-columns: 1fr; gap: 10px; align-content: start; }
.social-link { border: 1px solid #3a4967; border-radius: 12px; min-height: 79px; padding: 15px 17px; display: flex; align-items: center; gap: 15px; color: white; background: rgb(255 255 255 / 4%); }
.social-link:not(.is-placeholder):hover { color: white; background: rgb(255 255 255 / 10%); border-color: #677998; }
.social-link.is-placeholder { opacity: .53; cursor: default; }
.social-link > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.social-link strong { font-size: 15px; }
.social-link small { font-size: 12px; color: #b8c3d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgb(198 247 109 / 10%); color: var(--accent); font-size: 16px; font-weight: 800; }
.social-arrow { margin-left: auto; color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 44px; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.footer-brand, .footer-role { display: block; }
.footer-brand { font-size: 15px; font-weight: 760; margin-bottom: 7px; }
.footer-role { font-size: 12px; color: var(--muted); }
.footer-meta { display: flex; align-items: center; gap: 32px; font-size: 12px; color: var(--muted); }
.footer-meta a { color: var(--ink); font-weight: 650; white-space: nowrap; }
.detail-page { min-height: calc(100vh - 270px); padding-top: 80px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 650; color: var(--muted); margin-bottom: 56px; }
.detail-header { margin-bottom: 44px; }
.detail-header h1 { font-size: clamp(46px, 7vw, 78px); margin-top: 12px; }
.detail-description { font-size: 20px; color: var(--muted); line-height: 1.6; max-width: 760px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 650; }
.detail-cover { display: block; width: 100%; max-height: 580px; object-fit: cover; border-radius: 17px; margin: 0 0 55px; }
.prose { max-width: 820px; font-size: 17px; line-height: 1.85; }
.prose h2 { font-size: 32px; margin: 52px 0 22px; }
.prose h3 { font-size: 23px; margin: 34px 0 13px; }
.prose p, .prose ul, .prose ol { margin: 0 0 22px; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose img, .prose video, .prose iframe { border-radius: 12px; max-width: 100%; }
.prose .case-video { display: block; width: 100%; max-height: 720px; object-fit: contain; background: #172441; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0 0 30px; }
.project-gallery figure { margin: 0; }
.project-gallery img { display: block; width: 100%; background: var(--surface); }
.project-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.prose iframe { width: 100%; aspect-ratio: 16/9; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--brand-dark); }
.prose pre { max-width: 100%; overflow: auto; padding: 20px; border-radius: 12px; background: #172441; color: white; font-size: 14px; }
.prose code { overflow-wrap: anywhere; }
.related-cases { margin-top: 85px; padding-top: 43px; border-top: 1px solid var(--line); }
.related-cases h2 { font-size: 32px; margin-bottom: 27px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-card { padding: 28px; border-radius: 15px; border: 1px solid var(--line); display: grid; gap: 15px; background: white; }
.related-card > span:first-child { font-size: 11px; letter-spacing: .1em; color: var(--brand-dark); }
.related-card > strong { font-size: 21px; }
.related-card > span:last-child { justify-self: end; font-size: 22px; }
@media (max-width: 960px) {
  .header-inner { gap: 24px; }
  .header-nav { gap: 20px; }
  .section { padding-block: 85px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero { padding-top: 100px; }
  .hero-main { max-width: 700px; }
  .hero-aside { max-width: 650px; width: 100%; transform: none; }
  .contact-panel { grid-template-columns: 1fr; gap: 28px; }
  .about-layout { gap: 38px; }
  .focus-grid { gap: 12px; }
  .focus-card { padding: 23px; }
}
@media (max-width: 800px) {
  .header-nav { display: none; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 36px, 1160px); }
  .header-inner { min-height: 70px; gap: 14px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-symbol { width: 34px; height: 34px; font-size: 14px; }
  .brand-name { font-size: 13px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
  .header-nav { gap: 14px; }
  .header-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .hero { padding-top: 76px; }
  .hero h1 { font-size: clamp(47px, 10vw, 64px); }
  .hero-summary { font-size: 17px; }
  .eyebrow { font-size: 10px; }
  .hero-aside { padding: 25px; }
  .about-layout { grid-template-columns: 1fr; gap: 25px; }
  .focus-grid, .projects-grid, .related-grid, .project-gallery { grid-template-columns: 1fr; }
  .focus-card { min-height: auto; }
  .focus-card h3 { margin-top: 22px; }
  .contact-panel { padding: 30px 21px; border-radius: 18px; }
  .contact-intro h2 { font-size: 39px; }
  .footer-inner, .footer-meta { flex-direction: column; gap: 16px; }
  .detail-page { padding-top: 45px; }
  .back-link { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  flex-shrink: 0;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 36px;
  min-height: 30px;

  padding: 5px 8px;
  border-radius: 7px;

  font-size: 12px;
  font-weight: 750;
  text-decoration: none;

  color: var(--muted);
}

.language-link:hover {
  color: var(--ink);
}

.language-link.is-active {
  color: white;
  background: var(--ink);
}

@media (max-width: 650px) {
  .language-link {
    min-width: 30px;
    padding: 5px;
  }
}

.article-card {
  display: grid;
  grid-template-columns: 35% 1fr;

  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;

  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.article-card:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__content {
  padding: 24px;
}

.article-card__source {
  color: var(--muted);
  font-size: 13px;
}

.article-card__title {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.article-card__description {
  margin: 10px 0;
  color: var(--muted);
  font-size: 14px;
}

.article-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

@media (max-width: 650px) {
  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card__image {
    aspect-ratio: 16 / 9;
  }
}
