/* Orbitist — shared site styles (home + signage portfolio) */

:root {
  --blue: #2b77a0;
  --blue-light: #74afd1;
  --blue-ink: #1d5677;
  --leaf: #7fb447;
  --rose: #e9566a;
  --bg: #fbfaf7;
  --bg-alt: #f1efe9;
  --card: #ffffff;
  --ink: #1d2328;
  --ink-soft: #4a545c;
  --ink-faint: #7b858d;
  --line: #e2dfd7;
  --night: #0c1420;
  --night-card: #141f2e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 40, .06), 0 8px 24px rgba(20, 30, 40, .06);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: "Ubuntu", system-ui, sans-serif;
  --body: "Roboto", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #5fa3cb;
    --blue-light: #8cc3e2;
    --blue-ink: #a9d3ec;
    --bg: #11161b;
    --bg-alt: #171d23;
    --card: #1b232b;
    --ink: #e9edf0;
    --ink-soft: #b4bec6;
    --ink-faint: #8a959e;
    --line: #2a343d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 500 13px/1.2 var(--head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); max-width: 40em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand span { font: 500 19px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font: 500 15px/1 var(--head);
  padding: 9px 12px; border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.site-nav .nav-cta { color: #fff; background: var(--blue); }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { color: #fff; background: var(--blue-ink); }
@media (prefers-color-scheme: dark) { .site-nav .nav-cta, .site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { color: #0c1420; } }
@media (max-width: 760px) {
  .site-nav .nav-optional { display: none; }
  .brand span { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font: 500 15px/1 var(--head); text-decoration: none;
  border: 1px solid var(--blue); color: var(--blue); background: transparent;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn.solid { background: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
@media (prefers-color-scheme: dark) { .btn:hover, .btn.solid { color: #0c1420; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px); }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 500; max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--blue); }

/* ---------- sections ---------- */
section { padding: clamp(48px, 8vw, 96px) 0; }
section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 40px; max-width: 46em; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 500; }
.section-head p { color: var(--ink-soft); }

/* ---------- flagship features ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-art { order: 2; }
.feature-art {
  aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden;
}
.feature-art img { width: 46%; height: auto; }
.feature-art.gg { background: #f6f1e7; }
.feature-art.gg img { width: 62%; }
.feature-art.ef { background: linear-gradient(160deg, #f3f8ec, #e8f1dc); }
@media (prefers-color-scheme: dark) {
  .feature-art.ef { background: linear-gradient(160deg, #1f2a1b, #18221a); }
  .feature-art.gg { background: #efe9dc; }
}
.feature h3 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 500; }
.feature .tag {
  display: inline-block; font: 500 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 12px;
}
.feature p { color: var(--ink-soft); }
.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.points li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.points li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--blue-light);
}
.points strong { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-art { order: 0; }
}

/* ---------- small project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.card img { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: #fff; flex: none; }
.card img.thumb { object-fit: cover; background: var(--night); }
.card h3 { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.card .go { font: 500 14px/1 var(--head); color: var(--blue); margin-top: 12px; display: inline-block; }

/* ---------- signage teaser + gallery (dark band) ---------- */
.night {
  background: var(--night); color: #e6edf3;
  --ink: #eef3f7; --ink-soft: #b2c0cc; --ink-faint: #7d8e9c; --line: #24324a; --card: var(--night-card);
}
.night .eyebrow { color: #f2b544; }
.night a { color: #8cc3e2; }
.night .btn { border-color: #f2b544; color: #f2b544; }
.night .btn:hover, .night .btn.solid { background: #f2b544; color: #0c1420; }
.shot-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.shot-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--night-card); border: 1px solid #24324a; border-radius: var(--radius); overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.shot-card:hover { transform: translateY(-3px); border-color: #3a4f6e; color: inherit; }
.shot-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; height: auto; }
.shot-card .body { padding: 20px 22px 24px; }
.shot-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 4px; color: #fff; }
.shot-card .where { font-size: 14px; color: #f2b544; margin-bottom: 10px; font-family: var(--head); }
.shot-card p { color: #b2c0cc; font-size: 15.5px; margin: 0; }

/* signage page: case studies */
.case { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid #1d2a3d; }
.case-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.case-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 500; color: #fff; }
.case-head p { color: #b2c0cc; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts span {
  font: 500 13px/1 var(--head); padding: 8px 12px; border-radius: 999px;
  background: #18263a; color: #cfe0ee; border: 1px solid #24324a;
}
@media (max-width: 820px) { .case-head { grid-template-columns: 1fr; gap: 16px; } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: var(--night-card); border: 1px solid #24324a; border-radius: var(--radius); overflow: hidden; }
.gallery figure.wide { grid-column: span 4; }
.gallery figure.half { grid-column: span 3; }
.gallery figure.third { grid-column: span 2; }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.gallery figure.wide img { aspect-ratio: 16 / 10; }
.gallery figcaption { padding: 16px 18px 20px; }
.gallery figcaption strong { display: block; font: 500 18px/1.25 var(--head); color: #fff; margin-bottom: 4px; }
.gallery figcaption span { color: #a7b6c3; font-size: 15px; line-height: 1.5; display: block; }
.gallery figcaption a { font: 500 14px/1 var(--head); display: inline-block; margin-top: 10px; }
.gallery .stack { grid-column: span 2; display: grid; gap: 18px; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure.wide, .gallery figure.half, .gallery figure.third, .gallery .stack { grid-column: span 2; }
  .gallery .stack { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.wide, .gallery figure.half, .gallery figure.third, .gallery .stack { grid-column: span 1; }
  .gallery .stack { grid-template-columns: 1fr; }
}

.platform { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 40px; }
.platform div { background: var(--night-card); border: 1px solid #24324a; border-radius: var(--radius); padding: 20px; }
.platform h3 { font-size: 17px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.platform p { color: #a7b6c3; font-size: 15px; margin: 0; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-main h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 500; }
.contact-main p { color: var(--ink-soft); }
.contact-email { margin-top: 24px; }
.contact-email .btn { font-size: 16px; padding: 14px 22px; }
.cards-stack { grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 15px; }
.night + .site-footer, .site-footer.dark { background: var(--night); border-top-color: #1d2a3d; color: #7d8e9c; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
