/* Public presentation only. ROOT Control retains its own stylesheet and access flow. */
:root {
  --ink: #414b57;
  --muted: #707b86;
  --blue: #123f66;
  --orange: #ed881e;
  --line: #e1e7ec;
  --soft: #f3f6f8;
}

.site-body { color: var(--ink); }
.site-body h1, .site-body h2, .site-body h3 { color: var(--blue); letter-spacing: 0; }
.site-body .accent-dot { color: var(--orange); }
.site-body .button-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-body .button-primary:hover { background: #20567e; transform: translateY(-2px); }
.site-body .text-link { color: var(--blue); }
.site-header { border-bottom: 1px solid var(--line); }
.site-header a { color: var(--ink); }
.site-header a:hover { color: #cf6b12; }

.root-hero {
  min-height: 730px;
  isolation: isolate;
  background: #f7fafc;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.root-hero-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.root-hero-wordmark {
  position: absolute;
  inset: auto 0 -95px;
  font: 900 300px/1 Arial, sans-serif;
  color: #e7eef3;
  text-align: center;
  white-space: nowrap;
  z-index: -1;
  user-select: none;
}
.root-hero .studio-intro { width: min(850px, calc(100% - 48px)); padding: 64px 0 145px; }
.root-hero .studio-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.studio-kicker i { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.root-hero h1 { margin: 20px 0 24px; font-size: 58px; font-weight: 700; line-height: 1.5; }
.root-hero h1 > span { display: block; }
.root-hero h1 .root-name { font-size: 106px; line-height: 1.15; margin-bottom: 12px; }
.root-hero h1 em { font-style: normal; color: #cf6b12; }
.root-hero .studio-intro > p { max-width: 660px; margin: auto; font-size: 17px; line-height: 2; color: var(--muted); }
.root-hero-actions { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 30px; }
.root-hero .studio-bottom { color: var(--blue); bottom: 32px; font-size: 13px; gap: 22px; }
.root-hero .studio-bottom i { background: var(--orange); width: 4px; height: 4px; }
.agency-section { padding-block: 82px; }
.section-top { margin-bottom: 38px; }
.section-top h2 { font-size: 34px; }
.section-label { color: var(--muted); font-size: 13px; }

.work-entry { border-block: 1px solid var(--line); }
.work-entry-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px; }
.work-entry h2 { margin: 0; font-size: 30px; }
.work-entry .text-link { gap: 24px; }
.work-entry .text-link svg { width: 34px; height: 34px; }

.studio-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 0; }
.studio-services > a { padding: 30px 0; display: flex; align-items: flex-start; gap: 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.studio-services .service-index { color: #b5c1cb; font-size: 13px; padding-top: 6px; }
.studio-services .service-content { flex: 1; min-width: 0; }
.studio-services h3 { margin: 0 0 12px; font-size: 21px; transition: color .2s; }
.studio-services p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--muted); }
.service-arrow { color: var(--blue); padding: 7px; transition: background .2s, transform .2s; border-radius: 50%; }
.studio-services > a:hover h3 { color: #cf6b12; }
.studio-services > a:hover .service-arrow { background: #fff0df; transform: translate(-3px, -3px); }
.studio-products-band { background: #f3f6f8; }
.solutions-panel { background: none; border: 0; padding: 0; }
.solutions-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.solution-card { border: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 28px #173b5b06; transition: transform .25s, box-shadow .25s; }
.solution-card > a { padding: 32px; border-top: 3px solid #c5d6e2; gap: 26px; height: 100%; }
.solution-card:nth-child(3n + 2) > a { border-top-color: #ed881e; }
.solution-card:nth-child(3n + 3) > a { border-top-color: #6e96b5; }
.solution-card:hover { transform: translateY(-5px); box-shadow: 0 14px 35px #173b5b12; }
.solution-visual { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.solution-card .card-icon { background: none; width: 42px; height: 42px; color: var(--blue); padding: 0; }
.solution-card .card-icon svg { width: 34px; height: 34px; }
.solution-card .solution-type, .solution-title-line { display: none; }
.solution-copy h3 { margin: 0; font-size: 20px; line-height: 1.75; }
.solution-body { display: flex; flex: 1; flex-direction: column; }
.solution-body p { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.solution-action { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--blue); }
.solution-action i { color: #cf6b12; }
.studio-contact h2 { font-size: 42px; }
.contact-email { color: var(--blue); overflow-wrap: anywhere; }
.home-contact-form input, .home-contact-form select, .home-contact-form textarea { background: #f7f9fb; border-color: #dce4eb; color: var(--ink); border-radius: 6px; }

.agency-footer { padding: 48px 0 22px; background: #f2f6f9; border-top: 1px solid var(--line); }
.agency-footer-top { align-items: flex-start; gap: 36px; padding-bottom: 38px; }
.footer-brand p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.agency-footer nav { max-width: 700px; row-gap: 15px; }
.agency-footer-bottom { border-top: 1px solid #dbe4eb; padding-top: 22px; }
.footer-socials { display: flex; align-items: center; gap: 10px; }
.footer-socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d1dce5; border-radius: 50%; color: var(--blue); transition: color .2s, background .2s; }
.footer-socials a:hover { background: var(--blue); color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }

.portfolio-tile, .portfolio-tile img, .work-tile, .work-tile img { border-radius: 8px; }
.work-dialog-media img { border-radius: 8px; }
.work-tile:hover img { transform: none; }
.work-tile-open { color: var(--blue); }
.work-categories a[aria-current] { background: var(--blue); color: #fff; }
.work-dialog, .work-dialog-toolbar { background: #263b4d; }
.single-work-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
html[data-theme="dark"] .root-hero { background: #20384c; }
html[data-theme="dark"] .root-hero-wordmark { color: #29465c; }
html[data-theme="dark"] .root-hero h1 { color: #e2edf5; }
html[data-theme="dark"] .root-hero h1 em { color: #ffb46b; }
html[data-theme="dark"] .root-hero .studio-intro > p,
html[data-theme="dark"] .root-hero .studio-kicker,
html[data-theme="dark"] .root-hero .studio-bottom { color: #b8cad8; }
html[data-theme="dark"] .studio-products-band,
html[data-theme="dark"] .agency-footer { background: #20384c; }
html[data-theme="dark"] .solution-card { background: #28465c; }
html[data-theme="dark"] .home-contact-form input,
html[data-theme="dark"] .home-contact-form select,
html[data-theme="dark"] .home-contact-form textarea { background: #28465c; }
.root-enter { animation: root-enter .7s both; animation-delay: var(--root-delay, 0ms); }
@keyframes root-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 1600px) { .root-hero { min-height: 800px; } }
@media (max-width: 1000px) {
  .solutions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-card:last-child { grid-column: auto; }
  .studio-services { column-gap: 36px; }
  .root-hero h1 { font-size: 48px; }
}
@media (max-width: 640px) {
  .root-hero { min-height: 650px; }
  .root-hero .studio-intro { width: calc(100% - 36px); padding: 52px 0 105px; }
  .root-hero h1 { font-size: 32px; line-height: 1.6; margin: 22px 0; }
  .root-hero h1 .root-name { font-size: 80px; }
  .root-hero .studio-intro > p { font-size: 14px; line-height: 2; }
  .root-hero .studio-kicker { font-size: 12px; }
  .root-hero-actions { gap: 22px; margin-top: 26px; }
  .root-hero-actions .button { font-size: 13px; padding-inline: 18px; }
  .root-hero-actions .text-link { font-size: 13px; }
  .root-hero-wordmark { font-size: 142px; bottom: -25px; }
  .root-hero .studio-bottom { gap: 10px; font-size: 10px; bottom: 25px; }
  .agency-section { padding-block: 50px; }
  .section-top { align-items: flex-start; gap: 18px; }
  .section-top h2 { font-size: 25px; }
  .section-top .text-link { font-size: 12px; }
  .work-entry-inner { padding-block: 28px; gap: 18px; }
  .work-entry h2 { font-size: 23px; }
  .work-entry .text-link { gap: 12px; font-size: 12px; }
  .work-entry .text-link svg { width: 25px; height: 25px; }
  .studio-services { grid-template-columns: minmax(0, 1fr); }
  .studio-services > a { gap: 16px; padding: 24px 0; }
  .studio-services h3 { font-size: 18px; }
  .studio-services p { font-size: 13px; }
  .solutions-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .solution-card > a { padding: 26px; gap: 18px; }
  .solution-copy h3 { font-size: 19px; }
  .studio-contact h2 { font-size: 30px; }
  .agency-footer-top { flex-direction: column; gap: 28px; }
  .agency-footer nav { gap: 14px 20px; font-size: 13px; }
  .agency-footer-bottom { gap: 18px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .root-enter { animation: none; }
  .site-body *, .site-body *::before, .site-body *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
