:root {
  --ink: #000;
  --link: #3a97bb;
  --font-heading: 'Vracar Sans', 'Vracar Fallback', 'Source Sans Pro', 'Source Sans 3', Arial, sans-serif;
  --font-body: 'Vracar Sans', 'Vracar Fallback', 'Source Sans Pro', 'Source Sans 3', Arial, sans-serif;
}
/* Self-hosted Source Sans (Regular 400, Semibold 600, Bold 700), Latin + Latin Extended-A */
@font-face { font-family: 'Vracar Sans'; font-weight: 400; font-style: normal; font-display: swap;
  src: url("iml-assets/fonts/SourceSans-Regular.woff2") format("woff2"); }
@font-face { font-family: 'Vracar Sans'; font-weight: 600; font-style: normal; font-display: swap;
  src: url("iml-assets/fonts/SourceSans-Semibold.woff2") format("woff2"); }
@font-face { font-family: 'Vracar Sans'; font-weight: 700; font-style: normal; font-display: swap;
  src: url("iml-assets/fonts/SourceSans-Bold.woff2") format("woff2"); }
/* Fallback if the woff2 files fail to load: Arial rescaled to Source Sans widths so nothing overflows/clips */
@font-face { font-family: 'Vracar Fallback'; font-weight: 400; font-style: normal;
  src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 94.0%; ascent-override: 106.4%; descent-override: 34.7%; line-gap-override: 0%; }
@font-face { font-family: 'Vracar Fallback'; font-weight: 600; font-style: normal;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold');
  size-adjust: 89.5%; ascent-override: 111.7%; descent-override: 36.4%; line-gap-override: 0%; }
@font-face { font-family: 'Vracar Fallback'; font-weight: 700; font-style: normal;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold');
  size-adjust: 92.0%; ascent-override: 108.7%; descent-override: 35.4%; line-gap-override: 0%; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; }
body { min-height: 100svh; font-family: var(--font-body); color: var(--ink); }
.page { min-height: 100svh; display: flex; align-items: center; justify-content: center; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover, a:focus-visible { color: #21677c; }

/* The Illustrator SVG is the background (logo, blue rules, die-cut artwork).
   Artboard is 1920 x 1080; text sizes/positions below are in cqi (1cqi = 1% of
   artboard width = 19.2 design px), so the layout scales exactly with the art. */
.artboard {
  position: relative;
  width: min(100vw, 177.7778svh);
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  margin: auto;
  overflow: hidden;
  container-type: inline-size;
  background-image: url("iml-assets/site-01.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
h1 { margin: 0; font-family: var(--font-heading); font-weight: 700; }
.intro-copy p { margin: 0; font-weight: 600; }
.company h2, .company p { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.br-d { display: inline; }

/* ===== Desktop / large tablet: exact replica of the design (positions measured from the PNG) ===== */
@media (min-width: 1025px) {
  h1 {
    position: absolute;
    left: 3.4896cqi;
    top: 12.6354cqi;
    margin: 0;
    font-size: 3.6667cqi;
    font-weight: 700;
    line-height: 4.8620cqi;
    white-space: nowrap;
  }
  .intro-copy p:nth-child(1) {
    position: absolute;
    left: 3.4896cqi;
    top: 20.5193cqi;
    margin: 0;
    font-size: 2.0849cqi;
    font-weight: 600;
    line-height: 2.7646cqi;
    white-space: nowrap;
  }
  .intro-copy p:nth-child(2) {
    position: absolute;
    left: 3.4896cqi;
    top: 23.5433cqi;
    margin: 0;
    font-size: 1.9271cqi;
    font-weight: 600;
    line-height: 3.1771cqi;
    white-space: nowrap;
  }
  .intro-copy p:nth-child(3) {
    position: absolute;
    left: 3.4896cqi;
    top: 29.8922cqi;
    margin: 0;
    font-size: 2.2432cqi;
    font-weight: 600;
    line-height: 2.9745cqi;
    white-space: nowrap;
  }
  .company {
    position: absolute;
    left: 3.4896cqi;
    top: 46.0690cqi;
    margin: 0;
    font-size: 1.0781cqi;
    font-weight: 400;
    line-height: 1.5625cqi;
    white-space: nowrap;
    color: #302944;
  }
  .company a {
    position: absolute;
    left: 0;
    top: 7.0456cqi;
    font-size: 1.2083cqi;
    font-weight: 600;
    line-height: 1.6023cqi;
    text-decoration: none;
    color: var(--link);
  }
  .contact-lead {
    position: absolute;
    left: 48.7500cqi;
    top: 46.1979cqi;
    margin: 0;
    font-size: 1.1458cqi;
    font-weight: 600;
    line-height: 1.5194cqi;
    white-space: nowrap;
  }
  .person-1 {
    position: absolute;
    left: 48.7500cqi;
    top: 48.1278cqi;
    margin: 0;
    font-size: 1.1198cqi;
    font-weight: 400;
    line-height: 1.0938cqi;
    white-space: nowrap;
  }
  .person-2 {
    position: absolute;
    left: 48.7500cqi;
    top: 50.8362cqi;
    margin: 0;
    font-size: 1.1198cqi;
    font-weight: 400;
    line-height: 1.0938cqi;
    white-space: nowrap;
  }
  .closing {
    position: absolute;
    left: 48.7500cqi;
    top: 53.3089cqi;
    margin: 0;
    font-size: 1.1703cqi;
    font-weight: 700;
    line-height: 1.5518cqi;
    white-space: nowrap;
  }
  .topnav {
    position: absolute;
    top: 2.0833cqi;
    right: 3.4896cqi;
    display: flex;
    gap: 1.6667cqi;
    font-size: 1.1458cqi;
    line-height: 1;
    font-weight: 600;
  }
  .topnav a { text-decoration: none; }
  .topnav a:hover, .topnav a:focus-visible { text-decoration: underline; }
  .role { font-size: 0.9167cqi; line-height: 0; }
  .people a { color: inherit; text-decoration: none; }
}

/* ===== Phones / small tablets: stacked, flowing layout ===== */
@media (max-width: 1024px) {
  .page { align-items: flex-start; }
  .artboard {
    max-width: none;
    aspect-ratio: auto;
    overflow: visible;
    background: none;
    display: flex;
    flex-direction: column;
  }
  .artboard::before {
    content: "";
    display: block;
    height: 126px;
    flex: 0 0 126px;
    background: #fff url("iml-assets/site-01.svg") left top / auto 600px no-repeat;
  }
  .br-d { display: none; }
  .topnav {
    order: -1;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 12px 22px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
  }
  .topnav a { text-decoration: none; }
  .intro {
    padding: 28px 22px;
    border-top: 5px solid #3a97bb;
    border-bottom: 5px solid #3a97bb;
    background: #fff;
  }
  h1 { font-size: clamp(27px, 7vw, 38px); line-height: 1.16; margin-bottom: 22px; letter-spacing: -.02em; }
  .intro-copy p { font-size: 18px; line-height: 1.42; margin-bottom: 13px; }
  .intro-copy p:last-child { margin-bottom: 0; }
  .contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px 34px;
    /* white layer hides the logo part of the SVG; only the die-cut art at the bottom shows */
    background:
      linear-gradient(#fff, #fff) left top / 100% max(0px, calc(100% - 237px)) no-repeat,
      url("iml-assets/site-01.svg") left bottom / auto 600px no-repeat,
      #fff;
    font-size: 15px;
    line-height: 1.38;
  }
  .contact p { margin-bottom: .5em; }
  .company h2 { font-weight: 600; margin-bottom: .4em; }
  .contact .contact-lead { font-weight: 600; margin-bottom: 12px; }
  .contact .closing { font-weight: 600; margin: 12px 0 0; }
  .role { font-size: .85em; }
  .company a { font-weight: 600; }
}
