:root {
  color-scheme: dark;
  --background: #0c1b26;
  --surface: #112632;
  --text: #eef4f6;
  --muted: #b5c6ce;
  --accent: #80d8c7;
  --line: #304650;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
section[id] { scroll-margin-top: 2rem; }
.page-shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 2; padding: .75rem 1rem; background: var(--accent); color: var(--background); }
.skip-link:focus { top: 1rem; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; text-decoration: none; font-size: 1rem; font-weight: 750; letter-spacing: .07em; }
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a { padding-block: .6rem; color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; padding-block: 6.5rem; }
.hero h1 { max-width: 670px; margin-top: 1.4rem; font-size: clamp(3rem, 5.7vw, 4.75rem); font-weight: 650; }
.hero h1 span { color: var(--accent); }
.intro { max-width: 470px; margin-block: 1.75rem 2rem; font-size: 1.125rem; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .7rem 1.3rem; border: 1px solid transparent; border-radius: 6px; font-size: 1rem; font-weight: 650; text-decoration: none; text-align: center; }
.button-primary { background: var(--accent); color: var(--background); }
.button-primary:hover { background: #a6ecdf; }
.hero-art { max-width: 370px; justify-self: end; color: var(--accent); }

.section-heading { margin-bottom: 2rem; }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 600; }
.section-heading h2, .about-section h2, .contact-section h2 { margin-top: .7rem; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.service-list > div { padding: 2rem; }
.service-list > div + div { border-left: 1px solid var(--line); }
dt { font-size: 1.125rem; font-weight: 650; }
dd { margin-top: .35rem; color: var(--muted); }

.about-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; padding-block: 5rem; }
.about-section > p { max-width: 560px; color: var(--muted); }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 3.25rem; border-top: 1px solid var(--line); }
.contact-section p:not(.eyebrow) { max-width: 470px; margin-top: 1rem; color: var(--muted); }
.contact-email { padding-block: .75rem; color: var(--accent); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 500; overflow-wrap: anywhere; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; }
.contact-details > a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer strong { color: var(--text); font-weight: 600; }
.site-footer span { display: block; margin-top: .25rem; }

@media (max-width: 850px) {
  .page-shell { width: calc(100% - 48px); }
  .hero { gap: 2rem; padding-block: 4rem; }
  .hero h1 { font-size: clamp(2.75rem, 6.5vw, 4rem); }
  .hero-art { max-width: 280px; }
  .service-list > div { padding: 1.5rem; }
  .about-section { gap: 2rem; padding-block: 3.5rem; }
  .contact-section { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
}

@media (max-width: 620px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; padding-block: 1.25rem; }
  .site-header nav { gap: 1.75rem; }
  .hero { grid-template-columns: 1fr; padding-block: 3rem; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-art { display: none; }
  .intro { font-size: 1rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .service-list { grid-template-columns: 1fr; }
  .service-list > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .about-section { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3rem; }
  .contact-section { padding-block: 2.5rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}
