:root {
  --paper: #f6f8fb;
  --text: #192431;
  --muted: #506071;
  --line: #d9e2eb;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(24px, 5.7vw, 100px);
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, ol { margin: 0; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus, var(--brand-light)); outline-offset: 5px; }
::selection { color: var(--ink); background: #b9d6fa; }
.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .service-icon { display: block; flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.skip-link { position: fixed; z-index: 30; left: 1rem; top: 0.8rem; padding: 0.8rem 1rem; background: white; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 10; top: 0; color: #f1f6fc; background: rgb(11 16 23 / 94%); border-bottom: 1px solid #27303c; }
@supports (backdrop-filter: blur(15px)) {
  .site-header { background: rgb(11 16 23 / 88%); backdrop-filter: blur(15px); }
}
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; column-gap: 2.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { width: 155px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.75rem); }
.main-nav > a { position: relative; font-size: 0.91rem; font-weight: 500; padding: 10px 0; }
.main-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--brand-light); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav > a:hover::after, .main-nav > a[aria-current="location"]::after { transform: scaleX(1); }
.main-nav .nav-contact { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.77rem 1.02rem; border: 1px solid #485765; border-radius: 6px; color: #f5f9ff; line-height: 1.2; transition: border-color .2s, background .2s; }
.nav-contact:hover { background: #182a40; border-color: var(--brand-light); }
.nav-contact .icon { color: var(--brand-light); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: #f4f7fc; background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 79% 44%, #14243a 0%, rgb(16 32 53 / 42%) 29%, transparent 57%); }
.hero-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; min-height: clamp(466px, 36.6vw, 610px); padding-block: clamp(40px, 4.6vw, 80px); }
.hero-content { min-width: 0; z-index: 1; position: relative; }
.overline { display: flex; align-items: center; gap: 0.72rem; color: var(--brand); font: 600 0.76rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.overline > span { display: block; width: 29px; height: 2px; background: currentColor; flex: none; }
.hero .overline, .contact-band .overline { color: var(--brand-light); }
h1, h2, .case-lead { font-weight: 500; letter-spacing: -.066em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.036em; }
.hero h1 { margin: 1.4rem 0 1.3rem; font-size: clamp(5rem, 7.95vw, 8.6rem); line-height: .94; }
.hero h1 em { color: var(--brand-light); }
.hero-content > p { color: #c3cedb; font-size: clamp(1rem, 1.22vw, 1.18rem); line-height: 1.65; max-width: 30rem; text-wrap: pretty; }
.actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 1.85rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .68rem; min-height: 48px; padding: .8rem 1.25rem; border-radius: 5px; font-size: .93rem; font-weight: 600; line-height: 1.45; transition: background .22s, transform .22s, box-shadow .22s; }
.primary { color: #fff; background: var(--brand); }
.primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 5px 25px #3566a63b; }
.text-link { font-size: .92rem; font-weight: 500; padding: .5rem 0; text-decoration: underline; text-underline-offset: .36rem; text-decoration-color: #708399; transition: color .2s; }
.text-link:hover { color: var(--brand-light); }
.hero-art { pointer-events: none; position: absolute; right: -1%; top: 3%; bottom: 1%; width: 51%; display: grid; place-items: center; }
.art-grid { position: absolute; inset: 0 -10% 0 -6%; opacity: .48; background-image: linear-gradient(#4776a738 1px,transparent 1px), linear-gradient(90deg,#4776a738 1px,transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse, #000 23%, transparent 71%); }
.hero-sculpture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: contrast(1.075); mix-blend-mode: screen; transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--turn, 0deg)); transition: transform .55s cubic-bezier(.21,.55,.31,1); mask-image: linear-gradient(to right,transparent,#000 12%,#000 88%,transparent); }
.register { position: absolute; width: 11px; height: 11px; z-index: 1; color: #7b92ab; }
.register::before, .register::after { position: absolute; content: ""; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.register::after { transform: rotate(90deg); }
.reg-a { left: 8%; top: 14%; } .reg-b { right: 7%; top: 14%; } .reg-c { left: 8%; bottom: 11%; } .reg-d { right: 7%; bottom: 11%; }
.hero-foot { border-top: 1px solid #283544; min-height: 57px; display: flex; align-items: center; justify-content: space-between; color: #b5c4d4; font: 400 .76rem/1.5 var(--mono); }
.hero-foot > span,.hero-foot a { display: inline-flex; align-items: center; gap: .57rem; }
.hero-foot .icon { width: 14px; height: 14px; color: var(--brand-light); }
.hero-foot i { width: 12px; height: 1px; background: #5e7187; }
.hero-foot a:hover { color: #fff; }
.scroll-track { display: inline-grid; width: 11px; height: 17px; border: 1px solid #8498af; border-radius: 7px; justify-content: center; }
.scroll-track::after { content: ""; width: 1px; height: 4px; background: var(--brand-light); margin-top: 3px; }
.section-light, .case-section { --focus: var(--brand); }
.section-light { background: var(--paper); }
.expertise,.agency,.case-section { padding-block: clamp(62px, 6.05vw, 104px); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(220px, 26%); gap: 2rem; align-items: end; margin-bottom: clamp(30px, 3vw, 50px); }
.section-intro h2, .agency h2, .contact-band h2, .case-content h2 { margin-top: .8rem; font-size: clamp(3.2rem, 4.55vw, 5rem); line-height: 1.04; }
.section-intro h2 em, .agency h2 em { color: var(--brand); }
.section-intro > p, .agency-copy > p:last-child, .case-content > p:not(.overline):not(.case-lead) { color: var(--muted); line-height: 1.65; }
.section-intro > p { padding-bottom: .12rem; text-wrap: pretty; }
.expertise-families {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(24px, 2.8vw, 42px) 16px;
}
.expertise-family:first-child { grid-column: 1 / -1; }
.expertise-family > h3 {
  display: flex; align-items: center; gap: .85rem; margin: 0 0 .85rem;
  font-size: clamp(1.13rem,1.45vw,1.38rem); font-weight: 600; line-height: 1.3;
  letter-spacing: -.035em; color: #2a4767;
}
.expertise-family > h3::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.service-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 16px; align-items: start; }
.service { min-width: 0; background: #fff; border: 1px solid #d4dfe9; border-radius: 9px; overflow: clip; transition: border-color .22s, box-shadow .22s; }
.service:hover,.service[open] { border-color: #7c9fc9; box-shadow: 0 6px 20px #153c6e0d; }
.service summary { list-style: none; display: flex; flex-direction: column; cursor: pointer; padding: clamp(19px, 2vw, 31px); border-radius: inherit; }
summary::-webkit-details-marker { display: none; }
.service summary:focus-visible { outline-offset: -4px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.65rem; }
.service-icon { width: 2rem; height: 2rem; color: var(--brand); stroke-width: 1.55; transition: color .2s; }
.plus { position: relative; width: 23px; height: 23px; border: 1px solid #d8e2ed; border-radius: 50%; transition: background .2s, border-color .2s; }
.plus::before,.plus::after { content: ""; background: #536f8c; position: absolute; left: 6px; right: 6px; top: 10px; height: 1px; transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
.service[open] .plus::after { transform: rotate(0); }
.service:hover .plus, .service[open] .plus { background: var(--brand-mist); border-color: #bad0e8; }
.card-title { font-size: clamp(1.18rem, 1.6vw, 1.55rem); font-weight: 550; line-height: 1.22; letter-spacing: -.045em; }
.card-desc { display: block; min-height: 3em; margin-top: .55rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.service-detail { padding: 0 clamp(19px, 2vw, 31px) 24px; color: #43596e; font-size: 1rem; line-height: 1.6; }
.service-detail p { padding-top: 16px; border-top: 1px solid #d9e4f0; }
.case-section { background: #eaf1f8; border-block: 1px solid #d2deeb; }
.case-grid { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(36px,7vw,120px); }
.case-figure { min-width: 0; margin: 0; }
.case-figure figcaption { margin: .65rem .15rem 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.case-visual { position: relative; isolation: isolate; min-height: 290px; height: clamp(355px,33vw,478px); overflow: hidden; border: 1px solid #bdcfe1; border-radius: 9px; background-color: #cedfee; background-image: radial-gradient(circle at 45% 80%,#93b3d6,transparent 56%), linear-gradient(135deg,#e0edf8,#c1d3e6); display: flex; justify-content: center; align-items: center; }
.case-visual { cursor: zoom-in; container-type: inline-size; }
.capture-zoom {
  position: absolute; right: 1rem; bottom: 1rem; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid #b5c8dd;
  background: #f5faff; color: var(--brand); transition: background .2s, color .2s;
}
.case-visual:hover .capture-zoom, .case-visual:focus-visible .capture-zoom { background: var(--brand); color: white; }
.capture-zoom .icon { width: 20px; height: 20px; }
.capture-dialog {
  color: #f5f8fc; background: #122030; border: 1px solid #49637d;
  max-width: calc(100vw - 28px); max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px);
  margin: auto; padding: 12px; border-radius: 12px; box-shadow: 0 24px 90px #06101c80;
}
.capture-dialog:not([open]) { display: none; }
.capture-dialog::backdrop { background: rgb(5 13 23 / 87%); }
.capture-dialog form { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 0 10px; }
.capture-dialog h3 { font-size: 1rem; letter-spacing: -.02em; }
.capture-dialog button { color: #f4f8fd; background: #20374d; border: 1px solid #617b95; border-radius: 5px; cursor: pointer; padding: 6px 12px; }
.capture-dialog img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 115px); max-height: calc(100dvh - 115px); margin: auto; }
.orbit { position: absolute; z-index: -1; border: 1px solid #3566a648; border-radius: 50%; }
.orbit-a { width: 76%; aspect-ratio: 1; top: 19%; left: 14%; } .orbit-b { width: 115%; aspect-ratio: 1; top: -5%; left: -5%; }
.device {
  flex: none; box-sizing: content-box; height: calc(100% - 66px); width: auto;
  border: 5px solid #253646; border-radius: 22px; padding: 4px; background: #101923;
  transform: rotate(-3deg); box-shadow: -8px 14px 24px #12345042, 0 0 0 1px #8295a8;
}
.device img { width: auto; height: 100%; border-radius: 13px; }
.stock-detail { display: none; }
@container (min-width: 450px) {
  .device { margin-right: 30%; }
  .stock-detail {
    display: block; position: absolute; box-sizing: content-box; width: 52%; aspect-ratio: 3.29;
    top: 43%; right: 3.5%; overflow: hidden; background: white; border: 3px solid white;
    border-radius: 10px; box-shadow: 0 12px 28px #14365038, 0 0 0 1px #749abd;
  }
  .stock-detail img { position: absolute; top: 0; left: -6%; width: 112%; max-width: none; height: auto; transform: translateY(-34.3%); }
}
.case-content h2 { font-size: clamp(4rem,6.4vw,6.6rem); }
.accent { color: var(--brand); }
.stock-location { white-space: nowrap; }
.case-lead { max-width: 26ch; margin-top: 1rem; font-size: clamp(1.5rem,2.35vw,2.5rem); letter-spacing: -.045em; line-height: 1.2; text-wrap: balance; }
.case-content > p:not(.overline):not(.case-lead) { margin: .85rem 0 0; max-width: 47ch; }
.case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.35rem; margin-top: 1.55rem; }
.case-actions .button { text-align: center; }
.case-actions .text-link { color: var(--brand); text-decoration-color: #809bb7; }
.case-actions .text-link:hover { color: #244975; text-decoration-color: currentColor; }
.dark-button { background: var(--brand); color: #fff; }
.dark-button:hover { background: #294f81; transform: translateY(-2px); }
.agency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,150px); align-items: start; }
.agency h2, .contact-band h2 { font-size: clamp(3.7rem,5.4vw,5.9rem); }
.agency-copy > p:last-child { margin-top: 1.2rem; max-width: 46ch; }
.method h3 { font-size: 1.4rem; letter-spacing: -.04em; font-weight: 550; margin: .2rem 0 1.2rem; }
.method ol { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: minmax(103px,30%) 1fr; gap: 15px; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.method strong { font-size: 1.05rem; letter-spacing: -.03em; font-weight: 600; }
.method li span { font-size: 1rem; color: var(--muted); line-height: 1.6; }
.contact-band { background: radial-gradient(ellipse at 14% 130%,#142a43,transparent 65%),var(--ink); color: #f1f6fc; padding-block: clamp(62px,6.2vw,105px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,150px); align-items: center; }
.contact-band h2 em { color: var(--brand-light); }
.contact-band .button { margin-top: 1.65rem; }
.contact-info { font-style: normal; border-top: 1px solid #304153; }
.contact-info > * { display: grid; grid-template-columns: 1.4rem 1fr; gap: 1.2rem; padding-block: 1.12rem; border-bottom: 1px solid #304153; align-items: baseline; line-height: 1.5; }
.contact-info > a { font-size: clamp(1.12rem,1.7vw,1.55rem); letter-spacing: -.035em; }
.contact-info > a:hover { color: var(--brand-light); }
.contact-info .icon { color: var(--brand-light); width: 1.1rem; height: 1.1rem; align-self: start; margin-top: .29rem; }
.contact-info > span { color: #c5d2df; }
.site-footer { background: var(--ink); color: #b7c7d8; border-top: 1px solid #293745; }
.footer-row { display: flex; justify-content: space-between; gap: 1.2rem; align-items: baseline; padding: 1.6rem 0; font-size: .85rem; }
.footer-row .brand { align-self: flex-start; }
.footer-row img { width: 119px; }
.company { margin-left: auto; }
.company summary { cursor: pointer; }
.company > div { margin-top: 1rem; font-size: .85rem; line-height: 1.65; }
.footer-row a:hover, .company summary:hover { color: #eee; }
@media (min-width: 941px) and (prefers-reduced-motion: no-preference) {
  .hero-content { animation: enter .65s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 1100px) {
  .expertise-family:not(:first-child) .card-title { min-block-size: 2lh; }
  .expertise-family:not(:first-child) .card-desc { min-block-size: 3lh; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .expertise-family { grid-column: 1 / -1; }
}
@media (max-width: 940px) {
  :root { --gutter: clamp(24px, 4.5vw, 55px); }
  .hero-stage { min-height: 450px; }
  .hero h1 { font-size: clamp(3.8rem,8.25vw,5.25rem); }
  .hero-content > p { max-width: 26rem; }
  .hero-art { right: -4%; }
  .main-nav { gap: 1.35rem; }
  .section-intro { grid-template-columns: 1fr minmax(180px,26%); gap: 1.25rem; }
  .case-grid,.agency-grid,.contact-grid { gap: 2.5rem; }
  .method li { grid-template-columns: 1fr; gap: .35rem; }
}
@media (max-width: 720px) {
  :root { --gutter: clamp(20px,5.2vw,34px); scroll-padding-top: 80px; }
  .nav-inner { min-height: 65px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 134px; }
  .main-nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; padding: .3rem 0 .85rem; }
  .main-nav > a { font-size: .86rem; }
  .menu-ready .menu-toggle { display: inline-flex; align-items: center; gap: .65rem; margin-left: auto; background: transparent; border: 1px solid #435260; border-radius: 5px; color: #fff; padding: .54rem .75rem; font: 500 .88rem var(--sans); cursor: pointer; }
  .hamburger { display: block; width: 16px; height: 10px; border-block: 1.5px solid currentColor; }
  .menu-ready .menu-toggle[aria-expanded="true"] .hamburger { height: 0; border-bottom: 0; }
  .menu-ready .main-nav { display: none; }
  .menu-ready .main-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: .25rem 0 1rem; }
  .main-nav.is-open > a { padding: .86rem .05rem; }
  .main-nav.is-open .nav-contact { justify-content: center; margin-top: .5rem; }
  .hero-stage { grid-template-columns: 1fr; min-height: auto; padding: 43px 0 0; }
  .hero .overline { font-size: .70rem; letter-spacing: .082em; }
  .hero h1 { font-size: clamp(3.12rem,16.4vw,6.1rem); margin: 1.2rem 0 1rem; }
  .hero-content > p { font-size: 1rem; max-width: 34rem; }
  .actions { margin-top: 1.3rem; gap: 1.35rem; }
  .hero-art { position: relative; inset: auto; width: min(100%,490px); height: clamp(235px,58vw,325px); margin: 7px auto 12px; }
  .hero-foot { min-height: 48px; }
  .section-intro,.case-grid,.agency-grid,.contact-grid { grid-template-columns: 1fr; }
  .section-intro { gap: .9rem; }
  .section-intro > p { max-width: 43ch; }
  .section-intro h2 { max-width: 11ch; }
  .expertise,.agency,.case-section,.contact-band { padding-block: 53px; }
  .case-grid { gap: 1.9rem; }
  .case-visual { height: clamp(290px,60vw,375px); }
  .device { height: calc(100% - 44px); }
  .agency-grid { gap: 2rem; }
  .method li { grid-template-columns: minmax(98px,27%) 1fr; gap: .85rem; }
  .contact-grid { gap: 2rem; }
  .footer-row { flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 1rem 1.75rem; }
  .footer-row .brand { width: 100%; }
  .footer-row .brand img { width: 110px; }
  .company { margin-left: 0; }
  .expertise-families { grid-template-columns: 1fr; gap: 1.65rem; }
  .service-grid { grid-auto-flow: row; grid-template-columns: minmax(0,1fr); gap: 10px; }
  .service summary { position: relative; padding: 1.15rem 2.9rem 1.15rem 4.25rem; min-height: 100px; justify-content: center; }
  .card-head { display: contents; }
  .service-icon { position: absolute; left: 1.2rem; top: 1.35rem; width: 1.85rem; height: 1.85rem; }
  .plus { position: absolute; right: 1rem; top: 1.42rem; }
  .card-desc { margin-top: .3rem; min-height: 0; }
  .section-intro { margin-bottom: 1.35rem; }
}
@media (max-width: 355px) {
  .hero .overline { font-size: .67rem; }
  .actions { gap: .95rem; } .actions .text-link { font-size: .85rem; }
  .button { padding-inline: 1rem; }
  .hero-foot { font-size: .7rem; }
}

@supports (animation-timeline: view()) {
  @media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
    .case-visual { view-timeline-name: --case; }
    .device {
      animation: phone-enter 1s ease-out both;
      animation-timeline: --case;
      animation-range: entry 5% cover 55%;
    }
    @keyframes phone-enter {
      from { transform: translateY(10px) rotate(-5deg); }
      to { transform: translateY(0) rotate(-3deg); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .primary:hover, .dark-button:hover, .hero-sculpture { transform: none; }
}
