/* ============================================================
   SWIFT Technology — stylesheet v7
   Palette: Nexus (awwwards SOTD) — deep ink-teal surfaces,
   single mint-teal accent + steel-blue gradient partner.
   Greens consolidated to ONE family (no more mixed greens/yellow).
   ============================================================ */

:root {
  /* palette — single cohesive teal family */
  --ink:        #0e2a34;   /* deep ink-teal — dark surfaces & headings */
  --ink-2:      #163a44;   /* raised dark panel */
  --paper:      #f1f5f5;   /* light mist section bg */
  --white:      #ffffff;

  --acc:        #49c5b6;   /* mint teal — primary accent & buttons */
  --acc-hi:     #63d8c6;   /* accent hover / brighter */
  --acc-bright: #7fe0d2;   /* light mint — accents on dark */
  --acc-deep:   #0d7a6c;   /* deep teal — accents & text on light */
  --acc-2:      #2779a7;   /* steel blue — gradient partner */

  --line-l:     rgba(14, 42, 52, .1);
  --line-d:     rgba(255, 255, 255, .1);
  --body-l:     #3f4f54;   /* body text on light */
  --body-d:     #9fb6bc;   /* body text on dark */

  /* type */
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  /* geometry */
  --radius:    18px;
  --shadow:    0 1px 2px rgba(14,42,52,.05), 0 12px 32px -18px rgba(14,42,52,.22);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--body-l);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--acc); color: #03201c; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--acc-deep); color: #eefbf8; padding: 8px 16px;
  border-radius: 10px; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--f-display); color: var(--acc-deep); line-height: 1.08; letter-spacing: -.02em; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--acc-deep);
  margin-bottom: 18px;
}
.hero .eyebrow, .dark .eyebrow { color: var(--acc-bright); }
.grad {
  background: linear-gradient(92deg, var(--acc) 0%, var(--acc-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; font-size: 15.5px;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--acc); color: #03201c; }
.btn-primary:hover { background: var(--acc-hi); transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(73,197,182,.55); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(11, 33, 41, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-d);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.logo-mark { width: 30px; height: 30px; }
.logo-text { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: .12em; display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-size: 8.5px; font-weight: 500; letter-spacing: .42em; opacity: .55; margin-top: 4px; font-family: var(--f-mono); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: rgba(255,255,255,.72); font-size: 14.5px; font-weight: 500;
  position: relative; transition: color .2s; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--acc); transition: width .22s ease; border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--body-d);
  padding: 178px 0 96px;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.hero-glow-a { width: 520px; height: 520px; background: rgba(73,197,182,.16); top: -180px; right: -120px; }
.hero-glow-b { width: 420px; height: 420px; background: rgba(39,121,167,.14); bottom: -200px; left: -80px; }

.hero-orbit { position: absolute; top: 8px; right: 6%; width: min(430px, 42vw); opacity: .9; pointer-events: none; }
.orbit { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1; stroke-dasharray: 3 7; transform-origin: center; }
.orbit-slow { animation: spin 60s linear infinite; }
.orbit-rev { animation: spin 40s linear infinite reverse; }
.sat { animation: spin 30s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--acc); background: rgba(73,197,182,.08);
  border: 1px solid rgba(73,197,182,.45); border-radius: 999px; padding: 6px 12px;
  animation: floaty 7s ease-in-out infinite; pointer-events: none; z-index: 1;
}
.chip-1 { top: 130px; right: 26%; animation-delay: 0s; }
.chip-2 { top: 220px; right: 4%; animation-delay: -2.2s; }
.chip-3 { top: 300px; right: 13%; animation-delay: -4s; }
.chip-4 { top: 90px; right: 40%; animation-delay: -5.4s; opacity: 0; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(44px, 6.2vw, 76px); font-weight: 700; margin-bottom: 26px; }
.hero-lead { font-size: 18.5px; line-height: 1.7; max-width: 640px; margin-bottom: 38px; color: #c2d2d6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-meta {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em;
  color: rgba(255,255,255,.42); border-top: 1px solid var(--line-d); padding-top: 20px; max-width: 640px;
}

/* ---------- hero photo layer (real-life photography) ---------- */
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; display: block; }
.hero-photo-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,42,52,.97) 4%, rgba(14,42,52,.9) 30%, rgba(14,42,52,.4) 62%, rgba(14,42,52,.6) 100%);
}
.hero-photo ~ .hero-orbit, .hero-photo ~ .chip { display: none; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; background: var(--ink);
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  padding: 16px 0;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .16em; color: rgba(255,255,255,.55);
  animation: scroll 42s linear infinite; will-change: transform;
}
.marquee-track i { color: var(--acc); font-style: normal; font-size: 9px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 118px 0; scroll-margin-top: 60px; }
.light { background: var(--paper); }
.white { background: var(--white); }
.dark { background: var(--ink); color: var(--body-d); }
.dark h2 { color: var(--acc); }
.dark h3 { color: #e6f0f1; }

.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 18px; color: var(--acc); }
.sec-lead { font-size: 18.5px; line-height: 1.7; color: var(--body-l); }
.dark .sec-lead { color: var(--body-d); }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--white);
  border: 1px solid var(--line-l); border-radius: var(--radius);
  padding: 34px 32px 30px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(14,42,52,.28); border-color: rgba(73,197,182,.55); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 22px;
  background: rgba(73,197,182,.13); color: var(--acc-deep);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-photo { height: 190px; margin: -34px -32px 26px; overflow: hidden; background: var(--paper); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card-photo img { transform: scale(1.04); }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { font-size: 15.5px; line-height: 1.72; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em;
  color: var(--body-l); background: var(--paper);
  border: 1px solid var(--line-l); border-radius: 999px; padding: 5px 11px;
}
@media (max-width: 860px) { .card-photo { height: 170px; } }

/* ---------- vision — five senses (photo editorial cards) ---------- */
.sense-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sense {
  background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sense:hover { transform: translateY(-5px); border-color: rgba(73,197,182,.55); box-shadow: 0 18px 40px -22px rgba(14,42,52,.28); }
.sense-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.sense-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.sense-body { padding: 18px 20px 22px; }
.sense-k {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: #77898e; margin-bottom: 6px;
}
.sense h3 { font-size: 19px; margin-bottom: 6px; }
.sense p { font-size: 13.5px; line-height: 1.62; color: var(--body-l); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li {
  background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius);
  padding: 38px 32px; position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.steps li:hover { transform: translateY(-4px); border-color: rgba(73,197,182,.5); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--f-display); font-size: clamp(44px, 5vw, 64px); font-weight: 700;
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(73,197,182,.85);
  display: block; margin-bottom: 26px;
}
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { font-size: 15.5px; line-height: 1.72; }

/* ---------- why / dark band ---------- */
.why-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 70px; align-items: start; }
.strengths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; margin: 10px 0 44px; }
.strengths li {
  display: flex; align-items: center; gap: 12px; color: #dce7e8; font-size: 16.5px; font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid var(--line-d);
}
.strengths svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.why-fact { display: flex; flex-wrap: wrap; gap: 12px; }
.why-fact span {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em;
  color: var(--acc); border: 1px solid rgba(73,197,182,.5); border-radius: 999px;
  padding: 7px 14px; background: rgba(73,197,182,.1);
}
.quote {
  position: sticky; top: 110px;
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius);
  padding: 40px 36px 34px;
}
.quote-mark { width: 34px; height: 34px; fill: none; stroke: var(--acc); stroke-width: 1.6; margin-bottom: 20px; }
.quote blockquote { color: #eef3f3; font-family: var(--f-display); font-weight: 500; font-size: 21px; line-height: 1.45; margin-bottom: 22px; }
.quote cite { font-family: var(--f-mono); font-size: 12px; font-style: normal; letter-spacing: .12em; color: var(--body-d); text-transform: uppercase; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 34px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; position: relative;
  background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius);
  padding: 34px 60px 34px 34px; box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; overflow: hidden;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(73,197,182,.55); box-shadow: 0 20px 44px -22px rgba(14,42,52,.28); }
.contact-label { display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--body-l); }
.contact-label svg { width: 16px; height: 16px; fill: none; stroke: var(--acc-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-value { font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 2.4vw, 25px); color: var(--ink); word-break: break-all; }
.contact-go { position: absolute; top: 50%; right: 28px; transform: translateY(-50%); color: var(--acc-deep); }
.contact-go svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-note { font-size: 14px; color: var(--body-l); }
.contact-note a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-l); }
.closing-photo {
  width: 100%; aspect-ratio: 21 / 10; max-height: 520px;
  overflow: hidden; border-radius: var(--radius); margin-bottom: 46px;
}
.closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
@media (max-width: 860px) { .closing-photo { aspect-ratio: 3 / 2.4; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--body-d); border-top: 1px solid var(--line-d); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 50px; padding-bottom: 52px; }
.logo-foot { color: #fff; margin-bottom: 18px; }
.foot-blurb { font-size: 14.5px; max-width: 320px; margin-top: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px; }
.foot-col a { font-size: 15px; color: rgba(255,255,255,.75); width: fit-content; transition: color .18s; }
.foot-col a:hover { color: var(--acc); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line-d); padding-top: 26px; font-size: 13.5px;
}
.foot-mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.35); }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .sense-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote { position: static; }
  .chip-4 { display: none; }
}
@media (max-width: 860px) {
  .nav { height: auto; flex-wrap: wrap; row-gap: 4px; padding-top: 14px; padding-bottom: 10px; }
  .nav-cta { display: none; }
  .nav-links {
    order: 2; width: 100%; display: flex; gap: 26px;
    overflow-x: auto; white-space: nowrap; padding-bottom: 6px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 13.5px; }
  .cards, .steps, .contact-grid { grid-template-columns: 1fr; }
  .sense-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
  .hero { padding: 140px 0 72px; }
  .hero-orbit { opacity: .45; }
  .chip { display: none; }
  .hero-photo img { object-position: 55% 22%; }
  .hero-photo-shade {
    background: linear-gradient(180deg, rgba(14,42,52,.92) 0%, rgba(14,42,52,.58) 45%, rgba(14,42,52,.9) 100%);
  }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 520px) {
  .sense-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .orbit, .sat, .chip { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
