:root {
  --color-1: #86ced2;
  --color-2: #af84d2;
  --color-3: #d28884;
  --color-4: #a7d284;
  --bg: #f5f8f7;
  --surface: #fff;
  --ink: #13252a;
  --muted: #43565b;
  --line: #cbd9db;
  --accent: #20575e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; }
}
:root[data-theme="dark"] { color-scheme: dark; }
:root {
  --bg: light-dark(#f5f8f7, #10181d);
  --surface: light-dark(#fff, #17242c);
  --ink: light-dark(#13252a, #eef7f7);
  --muted: light-dark(#43565b, #b4c7cc);
  --line: light-dark(#cbd9db, #364950);
  --accent: light-dark(#20575e, #a5e5e8);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.top, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.top { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-weight: 850; font-size: 1.35rem; letter-spacing: -.05em; }
.brand-accent { color: var(--accent); }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 2rem;
  margin-right: .4rem;
  color: var(--accent);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
.brand-mark::before,
.brand-mark::after {
  content: '';
  position: absolute;
  border: 2px solid currentColor;
  border-block-color: transparent;
  border-radius: 50%;
  animation: soundwave .6s ease-out 2 alternate;
}
.brand-mark::before { inset: .35rem .35rem; }
.brand-mark::after { inset: 0; animation-delay: .12s; }
@keyframes soundwave {
  from { opacity: .45; transform: scaleX(.85); }
  to { opacity: 1; transform: scaleX(1); }
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
nav a:hover { text-decoration: underline; }
#theme { cursor: pointer; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; width: 42px; height: 42px; font-size: 1.25rem; }
h1, h2 { margin: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(1.85rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.button { display: inline-block; padding: .68rem 1.1rem; border: 1px solid transparent; border-radius: .55rem; background: var(--color-1); color: #13252a; font-weight: 750; text-decoration: none; }
.button:hover { text-decoration: underline; }
.services { padding-block: clamp(1.5rem, 4vw, 3rem) 3rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.title-card {
  grid-column: 1 / -1;
  background: var(--color-1);
  color: #13252a;
}
.title-card,
.grid article {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1rem;
}
.grid article {
  grid-column: span 2;
  min-height: 12rem;
  background: var(--color-1);
  color: #13252a;
}
.grid article:nth-child(3) { grid-column: span 3; background: var(--color-2); }
.grid article:nth-child(4) { grid-column: span 3; background: var(--color-3); }
.grid article:nth-child(5) { background: var(--color-4); }
.grid h2 { font-size: 1.45rem; }
.grid p { max-width: 52ch; margin: .65rem 0 0; }
.contact {
  padding: clamp(1.25rem, 4vw, 2.8rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.contact-intro { color: var(--muted); margin: .75rem 0 0; }
.service-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin: 1.5rem 0;
}
.service-details > div { border-top: 1px solid var(--line); padding-top: .75rem; }
.service-details dt { font-weight: 750; }
.service-details dd { margin: .2rem 0 0; color: var(--muted); }
.footer { padding-block: 1.75rem; color: var(--muted); }
@media (max-width: 640px) {
  .grid, .service-details { grid-template-columns: minmax(0, 1fr); }
  .grid article:nth-child(n) { grid-column: auto; min-height: 0; }
}
@media (max-width: 480px) {
  nav { gap: .7rem; }
  .section-link { display: none; }
}
@media (prefers-reduced-motion: reduce) { .brand-mark::before, .brand-mark::after { animation: none; } }
