/* Skyfire Digital, dev-v.0001: a redesign in a light, editorial style.
   White page, near-black type, hairline rules, square buttons, small uppercase labels in a monospaced face.
   The two logo colours (red and blue) are used only as small accents. */

:root {
  --paper: #ffffff;
  --tint: #f6f6f4;
  --ink: #0b0b0c;
  --body: #3a3a3d;
  --muted: #76767c;
  --line: #e3e3e0;
  --line-dark: #cfcfcb;
  --red: #e34d29;
  --blue: #314ee3;
  --head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1344px;
  --gutter: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 500; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow.center { text-align: center; }
.body-lg { font-size: 19px; line-height: 1.5; color: var(--body); max-width: 34em; }

/* Buttons: square, uppercase, with a small arrow in the logo's red */
.btn { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 17px 24px; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; white-space: nowrap; transition: background .18s, color .18s, border-color .18s; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #2a2a2e; border-color: #2a2a2e; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn .arrow { color: var(--red); font-size: 16px; line-height: 0; transition: transform .18s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* Navigation: a dark navy bar, deepest at the edges, with the light logo and white links */
.nav { position: sticky; top: 0; z-index: 40; background: linear-gradient(90deg, #050b24 0%, #0c1b52 50%, #050b24 100%); color: #fff; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font: 500 12.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #eef1fb; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav-links a:not(.btn):hover { color: #fff; border-bottom-color: #fff; }
.nav-links .btn { padding: 13px 18px; margin-left: 6px; }
.nav .btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 7px auto; transition: transform .2s; }
.nav :focus-visible { outline-color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
/* It fades out towards the headline, so nothing runs behind the words. */
.hero-field { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 30%); mask-image: linear-gradient(to right, transparent 4%, #000 30%); }
.hero-field svg { width: 100%; height: 100%; }
.hero-field .rings circle { fill: none; stroke: #c9c9cf; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-field .rings circle:nth-child(odd) { stroke-dasharray: 2 7; stroke: #b4b4bd; }
.hero-field .spokes path { fill: none; stroke: #b9b9c2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-field .node { fill: var(--ink); }
.hero-field .n-red { fill: var(--red); }
.hero-field .n-blue { fill: var(--blue); }
.hero-field .n-red, .hero-field .n-blue { animation: node-pulse 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-field .n-blue { animation-delay: 1.6s; }
@keyframes node-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .55; } }
.hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: min(780px, calc(100vh - 76px)); padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; letter-spacing: -.045em; max-width: 9.4em; }
.lede { font-size: 20px; line-height: 1.45; color: var(--body); max-width: 27em; margin-top: 30px; }
.lead { display: flex; flex-wrap: wrap; margin-top: 40px; max-width: 520px; }
.lead input { flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 18px; font: 400 16px var(--text); color: var(--ink); background: #fff; border: 1px solid #9a9a96; border-right: 0; border-radius: 0; }
.lead input::placeholder { color: #77777b; }
.lead input:focus { outline: none; border-color: var(--ink); }
.lead .btn { height: 52px; padding-top: 0; padding-bottom: 0; }
.form-note { flex: 1 1 100%; min-height: 22px; margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.form-note.ok { color: #1c7a4b; }
.form-note.bad { color: #b3261e; }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 640px; }
.hero-screen { position: relative; width: 100%; filter: drop-shadow(0 30px 50px rgba(15, 20, 40, .16)); }
.hero-tile { position: absolute; width: 19%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 1px var(--line-dark), 0 14px 30px rgba(15, 20, 40, .14); filter: saturate(.9) contrast(1.04); }
.tile-a { right: -5%; top: -15%; }
.tile-b { left: -10%; bottom: 3%; }

/* Customers */
.logos { padding: 54px 0 58px; border-bottom: 1px solid var(--line); }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-right: 0; }
.logo-row li { display: flex; align-items: center; justify-content: center; height: 124px; padding: 0 30px; border-right: 1px solid var(--line); }
.logo-row img { max-height: 44px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-row li:hover img { filter: none; opacity: 1; }
/* a pale logo needs darkening to sit level with the others once it is grey */
.logo-row img.is-pale { filter: grayscale(1) brightness(.62) contrast(1.5); opacity: .8; }

/* Sections */
.section { padding: 112px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.02; letter-spacing: -.04em; }
.section-head { max-width: 780px; margin-bottom: 60px; }
.section-head .body-lg, .split-copy .body-lg { margin-top: 24px; }

/* Platform: copy on the left, diagram on the right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.points { margin-top: 44px; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.points .num, .card-num { font: 500 12.5px/1.6 var(--mono); letter-spacing: .1em; color: var(--muted); }
.points h3 { font-size: 21px; letter-spacing: -.02em; }
.points p { margin-top: 6px; font-size: 16px; color: var(--body); max-width: 30em; }

.diagram { position: relative; display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; border: 1px solid var(--line); background: linear-gradient(var(--tint), var(--tint)) padding-box; padding: 40px 28px; min-height: 440px; }
.diagram-col { position: relative; z-index: 2; display: grid; gap: 14px; }
.diagram-label { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.chip { background: #fff; border: 1px solid var(--line-dark); padding: 13px 14px; font: 500 14px/1.25 var(--text); color: var(--ink); }
.chip-out { border-color: var(--ink); }
.diagram-core { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.diagram-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram-lines path { fill: none; stroke: #a9a9a5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.core { position: relative; z-index: 2; background: var(--ink); color: #fff; padding: 22px 20px 18px; text-align: center; width: 78%; }
.core img { width: 100%; max-width: 150px; margin: 0 auto 12px; }
.core span { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #c9c9c6; }

/* Solutions: four numbered cards with a photograph each */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line-dark); border-top: 1px solid var(--line-dark); background: #fff; }
.card { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 0 0 30px; display: flex; flex-direction: column; }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); transition: transform .6s ease, filter .4s; }
.card:hover .card-photo img { transform: scale(1.04); filter: none; }
.card-num { padding: 24px 26px 0; }
.card h3 { font-size: 27px; letter-spacing: -.03em; padding: 8px 26px 0; }
.card ul { margin: 18px 26px 0; border-top: 1px solid var(--line); }
.card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--body); }

/* Why: three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pillar { padding: 34px 40px 8px 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.pillar-mark { display: block; width: 10px; height: 10px; background: var(--red); margin-bottom: 26px; }
.pillar:nth-child(2) .pillar-mark { background: var(--blue); }
.pillar:nth-child(3) .pillar-mark { background: var(--ink); }
.pillar h3 { font-size: 27px; letter-spacing: -.03em; }
.pillar p { margin-top: 12px; font-size: 16.5px; max-width: 24em; }

/* Band: a wide photograph with one line and one button */
.band { position: relative; overflow: hidden; background: #0e1116; color: #fff; }
.band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(.7); }
.band-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 110px; padding-bottom: 110px; flex-wrap: wrap; }
.band h2 { color: #fff; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.03; letter-spacing: -.04em; max-width: 13em; }

/* Contact */
.split-contact { align-items: start; }
.contact-list { margin: 44px 0 0; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 500 12px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; color: var(--ink); }
.contact-list a { text-underline-offset: 4px; }
.contact-form { border: 1px solid var(--line-dark); padding: 40px; background: var(--tint); }
.field { margin-bottom: 20px; }
.field label { display: block; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; font: 400 16px/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid #a9a9a5; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .form-note { margin-top: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 0; font-size: 15px; }
.footer-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 22em; color: var(--muted); }
.footer-head { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col a { display: block; text-decoration: none; color: var(--ink); padding: 5px 0; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col p:not(.footer-head) { color: var(--ink); }
.footer-base { border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted); }
.footer-base .wrap { padding-top: 22px; padding-bottom: 26px; }

/* Things ease in as they are scrolled to. Without scripts, or with reduced motion, they are simply there. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .card-photo img, .btn .arrow { transition: none; } .hero-field .node { animation: none; } }

/* Narrower screens */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-row { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; gap: 56px; }
  .hero-field { width: 100%; opacity: .6; -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 60%); mask-image: linear-gradient(to bottom, transparent 30%, #000 60%); }
  .hero-art { justify-self: center; max-width: 620px; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 88px 0; }
  .footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav-row { height: 64px; }
  .nav-logo img { height: 28px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 64px; background: #081238; border-top: 1px solid rgba(255, 255, 255, .14); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav-links .btn { margin: 18px 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }
  .hero-row { padding-top: 48px; padding-bottom: 56px; }
  .lede, .body-lg { font-size: 17.5px; }
  .lead input { border-right: 1px solid #9a9a96; flex-basis: 100%; }
  .lead .btn { flex: 1 1 100%; justify-content: center; margin-top: 10px; }
  .tile-a { right: 0; top: -9%; }
  .tile-b { left: 0; bottom: -4%; }
  .logos { padding: 40px 0; }
  .logo-row { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .logo-row li { height: 96px; border-bottom: 1px solid var(--line); padding: 0 18px; }
  .logo-row img { max-height: 34px; max-width: 130px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .diagram { grid-template-columns: 1fr; gap: 26px; padding: 26px 20px; min-height: 0; }
  .diagram-lines { display: none; }
  .core { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 30px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .band-row { padding-top: 72px; padding-bottom: 72px; }
  .contact-form { padding: 24px 20px; }
  .contact-list div { grid-template-columns: 84px 1fr; }
  .footer-row { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
}
