:root {
  --fib-black: #020305;
  --fib-deep: #030508;
  --fib-ink: #05080d;
  --fib-navy: #080d15;
  --fib-slate: #0d1522;
  --fib-steel: #152237;
  --fib-blue: #223759;
  --fib-sky: #375990;
  --fib-light: #5990e9;
  --blue: #051B39;
  --paper: var(--fib-deep);
  --paper-alt: var(--fib-ink);
  --panel: var(--fib-navy);
  --ink: var(--fib-light);
  --muted: var(--fib-sky);
  --line: var(--fib-slate);
  --accent: #E7C467;
  --sans: "Segoe UI", Aptos, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 20; padding: .6rem .9rem; background: var(--fib-light); color: var(--fib-black); }
.skip-link:focus { top: 1rem; }
.page-frame { width: min(1440px, calc(100% - 28px)); margin: 0 auto; background: var(--paper); }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header { background: var(--blue); color: var(--fib-light); }
.header-inner { width: 100%; min-height: 92px; display: grid; grid-template-columns: min(430px, 42vw) 1fr; align-items: center; padding: 0 22px; }
.brand-link { display: block; width: min(430px, 42vw); justify-self: start; }
.brand-link img { width: 100%; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; justify-self: center; }
.site-nav a { color: var(--fib-light); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: var(--accent); }

h1, h2, h3 { margin: 0 0 1rem; color: var(--ink); font-family: var(--sans); font-weight: 500; line-height: 1.17; letter-spacing: 0; }
h1 { max-width: 850px; font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(1.85rem, 3.7vw, 3.1rem); }
p { margin: 0 0 1.25rem; }
h1, h2, p, li { overflow-wrap: anywhere; }
.label { margin-bottom: .8rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.split > * { min-width: 0; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--paper-alt); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.copy-block { max-width: 660px; }
.service-list {
  display: grid;
  gap: .75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  padding: .9rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  color: var(--fib-light);
  font-size: .92rem;
  font-weight: 600;
}

.studio-copy { max-width: 560px; }
.studio-logo-link { display: block; width: min(420px, 100%); margin-bottom: 2rem; }
.studio-logo { width: 100%; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: .75rem;
  padding: .65rem 1.05rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--fib-light);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover { background: var(--fib-steel); }

ksb-footer { display: block; }
.site-footer { background: var(--blue); color: var(--fib-light); }
.footer-grid { min-height: 112px; display: grid; grid-template-columns: 180px 1fr auto; gap: 2rem; align-items: center; padding-block: .75rem; }
.footer-logo-link { display: block; width: 170px; }
.footer-logo { width: 100%; }
.footer-copy { font-size: .72rem; line-height: 1.55; }
.footer-actions { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .85rem; }
.footer-copyright { color: var(--fib-sky); font-size: .66rem; text-align: right; }

@media (max-width: 850px) {
  .header-inner { min-height: auto; grid-template-columns: 1fr; gap: .8rem; padding: .9rem 15px; }
  .brand-link { width: min(430px, 84vw); }
  .site-nav { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 140px 1fr auto; gap: 1rem; }
  .footer-logo-link { width: 130px; }
}

@media (max-width: 600px) {
  .page-frame { width: 100%; }
  .wrap { width: min(100% - 30px, 1120px); }
  .site-nav { width: 100%; overflow-x: auto; }
  .footer-grid { min-height: auto; grid-template-columns: 1fr; }
  .footer-logo-link { display: none; }
  .footer-actions { align-items: flex-start; }
  .footer-copyright { text-align: left; }
}
