:root {
  color-scheme: light;
  --ink: #0b1821;
  --navy: #102c43;
  --red: #c8102e;
  --red-hover: #a50d27;
  --muted: #485966;
  --line: #dfe6ed;
  --tint: #f5f8fb;
  --white: #fff;
  --radius: 1.15rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: 1.2rem; letter-spacing: -.025em; }
a:focus-visible { outline: 3px solid #5489c6; outline-offset: 4px; }
[id] { scroll-margin-top: 6rem; }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 3;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  border-radius: .4rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  min-height: 4.85rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { width: 1.78rem; }
.brand span { display: grid; gap: .25rem; line-height: 1; }
.brand strong { font-size: 1.05rem; font-weight: 850; letter-spacing: .14em; }
.brand small { color: var(--muted); font-size: .58rem; font-weight: 650; letter-spacing: .16em; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(.7rem, 2.7vw, 2.25rem); }
.header-inner nav a { padding-block: .5rem; font-size: .92rem; font-weight: 650; white-space: nowrap; }
.header-inner nav a:hover { color: var(--red); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse at 74% 10%, #224d70 0, transparent 54%),
    radial-gradient(ellipse at 16% 85%, #61243e 0, transparent 41%),
    linear-gradient(155deg, #14344d, #0b1821 72%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .35;
  background-image: linear-gradient(#b7d5ee1c 1px, transparent 1px),
    linear-gradient(90deg, #b7d5ee1c 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: radial-gradient(ellipse at top, #000 20%, transparent 74%);
}
.hero-inner { padding-block: clamp(4.1rem, 9.3vw, 7.5rem); text-align: center; }
.kicker { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .145em; }
.hero .kicker { color: #ffb6c4; }
.hero h1 {
  margin: 1.05rem auto 1.2rem;
  font-size: clamp(2.65rem, 6vw, 5rem);
  line-height: 1.04;
  font-weight: 825;
  letter-spacing: -.061em;
}
.hero-copy {
  max-width: 41rem;
  margin-inline: auto;
  color: #dbe7f1;
  font-size: clamp(1rem, 1.8vw, 1.19rem);
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  min-height: 3.1rem;
  padding: .55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  font-size: .95rem;
  font-weight: 750;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-hover); }
.button-secondary { border-color: #7896b0; background: #ffffff0d; color: var(--white); }
.button-secondary:hover { border-color: #c7d8e5; background: #ffffff22; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: #b6dcff; }

.section { padding-block: clamp(3.25rem, 6.75vw, 5.35rem); }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-heading { max-width: 44rem; margin: 0 auto clamp(1.75rem, 4vw, 3rem); text-align: center; }
.section-heading p { margin-top: .68rem; color: var(--muted); }
.profile { max-width: 55rem; text-align: center; }
.profile img { width: 8.5rem; margin: 0 auto 1.45rem; }
.profile h2::after {
  display: block;
  width: 2.65rem;
  height: .22rem;
  margin: .8rem auto 1rem;
  border-radius: 1rem;
  background: var(--red);
  content: "";
}
.profile p { max-width: 45rem; margin-inline: auto; color: var(--muted); }
.focus-grid, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
.focus-card, .service-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 20px #102c430a;
}
.focus-card { transition: border-color .18s ease, box-shadow .18s ease; }
.focus-card:hover { border-color: var(--tone); box-shadow: 0 9px 28px #102c4313; }
.focus-card .service-icon { margin-bottom: 1.05rem; }
.focus-card p, .service-card p, .process p { margin-top: .55rem; color: var(--muted); }
.service-card { scroll-margin-top: 7rem; }
.service-card:target { border-color: var(--tone); box-shadow: 0 0 0 3px var(--tone-soft); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; margin-bottom: 1.2rem; }
.tone-design { --tone: #9c1734; --tone-soft: #fbeaf0; }
.tone-build { --tone: #205387; --tone-soft: #eaf2fc; }
.tone-release { --tone: #176348; --tone-soft: #e8f6ef; }
.category {
  padding: .27rem .65rem;
  border-radius: 999px;
  color: var(--tone);
  background: var(--tone-soft);
  font-size: .73rem;
  font-weight: 750;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: .75rem;
  color: var(--tone);
  background: var(--tone-soft);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
}
.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process li { padding: 1rem 1.25rem 0; border-top: 2px solid #c7d3df; }
.process li:first-child { border-color: var(--red); }
.contact-section {
  padding-block: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  background: linear-gradient(135deg, #183c58, var(--ink));
}
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; }
.contact-inner p { margin-top: .65rem; color: #dbe7f1; }
.contact-inner .contact-location { margin-top: .3rem; font-size: .88rem; }
.contact-inner a:focus-visible { outline-color: #b6dcff; }
.site-footer { padding-block: 2.1rem; color: var(--white); background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.15rem; }
.footer-inner strong { font-size: .87rem; letter-spacing: .04em; }
.footer-inner p, .footer-inner nav a { color: #bbcbd8; font-size: .88rem; }
.footer-inner nav a:hover { color: var(--white); text-decoration: underline; }
.error-page { padding-block: 5rem; }
.error-page h1 { margin: .5rem 0 1.3rem; font-size: clamp(2.25rem, 6vw, 4rem); }

@media (max-width: 760px) {
  .shell { width: min(100% - 2rem, 70rem); }
  .focus-grid, .service-grid, .process { grid-template-columns: minmax(0, 1fr); }
  .process li { padding: .9rem 0 0; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 761px) and (max-width: 1090px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  [id] { scroll-margin-top: 7.5rem; }
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: .45rem; padding-top: .7rem; }
  .header-inner nav { flex-wrap: wrap; justify-content: space-between; width: 100%; gap: .4rem; }
  .header-inner nav a { font-size: .78rem; }
  .wide-break { display: none; }
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.1rem); }
  .button { min-height: 3rem; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
