/* Netconvert – static site stylesheet */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #092c8a;
  --navy-900: #061a52;
  --orange: #ff8a00;
  --orange-600: #e67a00;
  --ink: #0f172a;
  --muted: #5b6577;
  --line: #e5e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 650;
  color: var(--orange-600);
  margin-bottom: .75rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  background: var(--navy); color: #fff;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--navy-900); transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: #1b1200; box-shadow: 0 6px 20px rgba(255, 138, 0, .35); }
.btn-accent:hover { background: #ffa033; }
.btn-sm { padding: .55em 1.15em; font-size: .92rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(15, 23, 42, .05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; }
.site-nav a:not(.btn):hover { color: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; justify-content: center; }
  .brand img { height: 38px; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 26, 82, .92) 0%, rgba(9, 44, 138, .72) 45%, rgba(9, 44, 138, .25) 100%);
}
.hero-inner { padding: 96px 0 104px; }
.hero .eyebrow { color: var(--orange); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  max-width: 14ch;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}
.hero-points { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: .7rem; }
.hero-points li { display: flex; align-items: center; gap: .75rem; font-size: 1.12rem; font-weight: 500; color: rgba(255, 255, 255, .92); }
.hero-points svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.photo-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.photo-credit a { color: inherit; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 40px rgba(15, 23, 42, .1); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), #1f4fd1);
  margin-bottom: 22px;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin-inline: auto; }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start;
}
.person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.person h3 { margin-bottom: .15em; }
.role { color: var(--orange-600); font-weight: 600; font-size: .92rem; margin-bottom: .8em; }
.person p:not(.role) { color: var(--muted); font-size: .98rem; }
.contact-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; font-size: .95rem; word-break: break-all; }
.contact-link:hover { text-decoration: underline; }
.contact-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 460px) { .person { grid-template-columns: 1fr; text-align: center; } .person img { margin-inline: auto; } .contact-link { justify-content: center; } }

/* Contact */
.contact { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; }
.contact .eyebrow { color: var(--orange); }
.contact p { color: rgba(255, 255, 255, .8); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hours { margin: 1.8rem 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: rgba(255, 255, 255, .8); text-align: right; }
.contact-cards { display: grid; gap: 14px; }
.ccard {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem;
  transition: background-color .15s ease, transform .15s ease;
}
.ccard:hover { background: rgba(255, 255, 255, .13); transform: translateX(3px); }
.ccard svg { width: 44px; height: 44px; padding: 10px; flex: none; border-radius: 12px; background: var(--orange); fill: none; stroke: #1b1200; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ccard span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.ccard small { font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner img { height: 30px; width: auto; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--navy); }
