/* Icarus Technologies: icarustech.com */
:root {
  --ink: #102a33;
  --text: #4a5a60;
  --teal: #086b82;
  --paper: #f6eee2;
  --card: #fbf6ee;
  --line: #e3d5c2;
  --sky: #f3e2c6;
  --night: #0f2930;
  --night-line: #27454e;
  --night-text: #c9d6da;
  --cyan: #5cc8e2;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: Jost, Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
a:hover { color: var(--night); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p, ul { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header and logo */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--logo); font-size: 27px; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { display: flex; align-items: center; gap: 5px; font-family: var(--logo); font-size: 8.5px; letter-spacing: 0.42em; line-height: 1; }
.brand-sub::before { content: ""; width: 8px; height: 1px; background: currentColor; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: var(--teal); }
.top nav a.strong { font-weight: 600; }

/* Hero */
.hero, .topbar { background: var(--sky); }
.hero-copy { display: flex; flex-direction: column; gap: 20px; padding-top: 36px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.01em; max-width: 760px; }
.lede { font-size: 18px; color: var(--text); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.btn:hover { background: var(--teal); color: #fff; }
.caption { font-size: 13px; line-height: 1.5; color: var(--text); max-width: 380px; }

.art { position: relative; overflow-x: clip; margin-top: calc(-1 * clamp(24px, 7.6vw, 110px)); }
.hills-art { display: block; width: 100%; height: auto; }

/* Illustration motion */
.waves { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.55; } }
.link { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.blink { animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* Connectivity markers */
.hs { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; cursor: pointer; font: inherit; border-radius: 50%; }
.hs::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; border: 2px solid #fff6e8; background: rgba(16, 42, 51, 0.35); animation: ring 2.6s ease-in-out infinite; }
@keyframes ring { 50% { transform: scale(1.25); opacity: 0.7; } }
.hs:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hs-fiber { left: 29.03%; top: 52.27%; }
.hs-fwa { left: 59.03%; top: 64.39%; }
.hs-leo { left: 95.9%; top: 65.15%; }
.tip { position: absolute; bottom: 40px; left: 50%; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; white-space: nowrap; background: var(--ink); color: var(--paper); font-size: 12.5px; line-height: 1.4; padding: 8px 11px; border-radius: 6px; text-align: left; }
.tip strong { display: block; font-weight: 600; }
.tip.r { left: auto; right: 6px; transform: translate(0, 4px); }
.hs:hover .tip, .hs:focus .tip { opacity: 1; transform: translate(-50%, 0); }
.hs:hover .tip.r, .hs:focus .tip.r { transform: none; }

/* Sections */
section.block { padding-top: 88px; padding-bottom: 72px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
h2 { font-size: clamp(38px, 4.5vw, 52px); line-height: 1; }
.intro { font-size: 16px; color: var(--text); max-width: 440px; }

.services { display: flex; flex-wrap: wrap; gap: 0 56px; }
.service { flex: 1 1 420px; min-width: 0; display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.service .num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--teal); min-width: 52px; }
.service h3 { font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.service p { color: var(--text); line-height: 1.65; }
.service .tags { font-size: 13px; letter-spacing: 0.04em; margin-top: 10px; }

.approach { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach .wrap { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-top: 72px; padding-bottom: 72px; }
.approach h2 { flex: 1 1 260px; }
.principles { flex: 999 1 560px; min-width: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.principle { flex: 1 1 200px; min-width: 0; }
.principle h3 { font-size: 26px; color: var(--teal); margin-bottom: 8px; }
.principle p { font-size: 15px; color: var(--text); line-height: 1.65; }

.experience { background: var(--night); color: #f3f6f6; }
.experience .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.experience .intro { color: var(--night-text); font-size: 17px; max-width: 720px; margin-top: 14px; }
.columns { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.columns > div { flex: 1 1 320px; min-width: 0; }
.experience h3 { font-size: 26px; color: var(--cyan); margin-bottom: 8px; }
.experience ul { list-style: none; padding: 0; }
.experience li { padding: 11px 0; border-top: 1px solid var(--night-line); font-size: 15px; line-height: 1.5; }
.platforms { font-size: 14px; color: var(--night-text); }
.experience a { color: var(--cyan); }

.contact { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; padding-top: 88px; padding-bottom: 88px; }
.contact > div { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact > div:first-child { flex: 1 1 420px; }
.contact > div:last-child { flex: 1 1 300px; gap: 10px; font-size: 15px; color: var(--text); }
.contact .intro { font-size: 17px; max-width: 480px; }
.email { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 36px); color: var(--teal); overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 13px; color: var(--text); }

/* 404 */
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }

@media (max-width: 640px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  section.block { padding-top: 64px; padding-bottom: 48px; }
  .service { gap: 16px; }
  .service .num { font-size: 34px; min-width: 40px; }
  .hs-leo .tip { right: 0; }
  .hs::before { inset: 17px; border-width: 1.5px; }
  .tip { bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves, .link, .blink, .hs::before { animation: none !important; }
  .tip { transition: none; }
}
