/* ===== GlidePoint LLC — editorial bold ===== */
:root {
  --ink: #0e0d12;
  --ink-2: #15131b;
  --surface: #1a1722;
  --surface-2: #221e2c;
  --line: rgba(244, 239, 230, 0.12);
  --line-soft: rgba(244, 239, 230, 0.07);
  --cream: #f6f1e8;
  --text: #ece8e0;
  --muted: #a8a298;
  --coral: #ff6a5f;
  --amber: #f1b568;
  --grad: linear-gradient(100deg, #ff6a5f 0%, #ff8a5f 45%, #f1b568 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 106, 95, 0.14), rgba(241, 181, 104, 0.12));
  --radius: 16px;
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
  --max: 1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ambient warmth + faint grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 45% at 78% -8%, rgba(255, 106, 95, 0.20), transparent 62%),
    radial-gradient(45% 40% at 8% 6%, rgba(241, 181, 104, 0.12), transparent 60%),
    radial-gradient(60% 50% at 50% 115%, rgba(255, 138, 95, 0.10), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(var(--max), 92%); margin-inline: auto; }

/* selection */
::selection { background: rgba(255, 106, 95, 0.3); color: var(--cream); }

/* ===== nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(14, 13, 18, 0.66);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--cream); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 6px 18px -4px rgba(255, 106, 95, 0.6);
  position: relative; flex: none;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 7px 7px auto auto;
  width: 9px; height: 9px; border-radius: 50%; background: var(--cream); opacity: 0.92;
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em; transition: color 0.2s; }
.nav__links a:hover { color: var(--cream); }
.nav__toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.93rem; letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #2a1410; box-shadow: 0 14px 34px -12px rgba(255, 106, 95, 0.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(255, 106, 95, 0.8); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { background: rgba(246, 241, 232, 0.06); border-color: rgba(246,241,232,0.28); transform: translateY(-2px); }
.btn--sm { padding: 10px 19px; font-size: 0.86rem; }

/* ===== kicker / overline ===== */
.kicker, .eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--coral);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); padding-bottom: 4px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line); letter-spacing: 0.2em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px var(--coral); }

/* ===== hero ===== */
.hero { padding: clamp(72px, 12vw, 150px) 0 clamp(60px, 8vw, 110px); position: relative; }
.hero h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 540;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 16ch;
  margin-bottom: 30px;
}
.hero h1 .grad { font-style: italic; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--muted); max-width: 56ch; margin-bottom: 40px; line-height: 1.7; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 0; margin-top: 64px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.stat { padding: 22px 40px 0 0; margin-right: 40px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--font-display); font-weight: 500; font-size: 2rem; display: block; letter-spacing: -0.01em; color: var(--cream); }
.stat span { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.02em; }

/* ===== sections ===== */
section { padding: clamp(66px, 9vw, 124px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head .kicker { display: block; margin-bottom: 18px; }
.section-head h2 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 18px; color: var(--cream); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; margin-inline: auto; }

/* ===== about ===== */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about h2 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.02em; line-height: 1.07; margin-bottom: 20px; color: var(--cream); }
.about p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; line-height: 1.75; }
.about__card {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  backdrop-filter: blur(6px);
}
.about__card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 22px; color: var(--cream); }
.pill-list { display: flex; flex-direction: column; gap: 0; }
.pill-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); padding: 16px 0; border-top: 1px solid var(--line-soft); }
.pill-list li:first-child { border-top: 0; padding-top: 0; }
.pill-list li:first-letter { color: var(--coral); }
.pill-list strong { color: var(--cream); display: block; font-weight: 600; }

/* ===== services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad); opacity: 0; transition: opacity 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255,106,95,0.4); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 22px; font-size: 1.5rem;
}
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-bottom: 12px; color: var(--cream); }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; line-height: 1.7; }
.services-cta { text-align: center; margin-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.services-cta__note { color: var(--muted); font-size: 0.93rem; max-width: 44ch; }

/* ===== insights — editorial index ===== */
.index { border-top: 1px solid var(--line); }
.entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding-left 0.25s;
}
.entry:hover { background: rgba(246, 241, 232, 0.03); padding-left: 20px; }
.entry__num { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1.5rem; color: var(--muted); width: 44px; }
.entry__body { max-width: 62ch; }
.entry__cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); }
.entry__body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.14; letter-spacing: -0.01em; color: var(--cream); margin: 8px 0 10px; transition: color 0.2s; }
.entry:hover .entry__body h3 { color: #fff; }
.entry__body p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; margin-bottom: 12px; }
.entry__meta { font-size: 0.84rem; color: var(--muted); letter-spacing: 0.01em; }
.entry__meta em { color: var(--text); font-style: normal; }
.entry__thumb { width: 120px; height: 120px; border-radius: 14px; background: var(--grad); flex: none; position: relative; overflow: hidden; }
.entry__thumb.v2 { background: linear-gradient(120deg, #f1b568, #ff8a5f); }
.entry__thumb.v3 { background: linear-gradient(120deg, #ff6a5f, #c98ad8); }
.entry__thumb span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; }
.entry__arrow { color: var(--cream); font-size: 1.3rem; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s; }
.entry:hover .entry__arrow { opacity: 1; transform: none; }

/* ===== contact / CTA ===== */
.cta {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(44px, 6vw, 78px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta .kicker { display: block; margin-bottom: 18px; }
.cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; margin-bottom: 18px; color: var(--cream); }
.cta h2 em { font-style: italic; color: var(--coral); }
.cta p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 34px; line-height: 1.7; }
.cta__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== footer ===== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 44px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__brand { max-width: 32ch; }
.footer__brand p { color: var(--muted); font-size: 0.94rem; margin-top: 16px; line-height: 1.65; }
.footer__col h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--coral); margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 11px; opacity: 0.82; transition: opacity 0.2s; }
.footer__col a:hover { opacity: 1; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom em { font-family: var(--font-display); font-style: italic; color: var(--text); }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== article page ===== */
.article { padding-top: 64px; padding-bottom: 96px; }
.article__head { max-width: 760px; margin: 0 auto 44px; }
.article__head .post__tag, .article__head .entry__cat { display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); }
.article__head h1 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.08; margin: 14px 0 20px; color: var(--cream); }
.article__meta { color: var(--muted); font-size: 0.95rem; display: flex; gap: 14px; align-items: center; }
.article__hero { max-width: 900px; margin: 0 auto 52px; height: clamp(200px, 34vw, 360px); border-radius: 20px; background: var(--grad); }
.article__hero.v2 { background: linear-gradient(120deg, #f1b568, #ff8a5f); }
.article__hero.v3 { background: linear-gradient(120deg, #ff6a5f, #c98ad8); }
.prose { max-width: 700px; margin: 0 auto; }
.prose p { color: #cdc8bf; font-size: 1.12rem; line-height: 1.78; margin-bottom: 24px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; letter-spacing: -0.01em; color: var(--cream); margin: 44px 0 16px; }
.prose ul { margin: 0 0 24px 22px; color: #cdc8bf; }
.prose li { margin-bottom: 11px; line-height: 1.7; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose em { font-style: italic; }
.prose blockquote { border-left: 2px solid var(--coral); padding-left: 24px; margin: 32px 0; font-size: 1.5rem; line-height: 1.4; color: var(--cream); font-family: var(--font-display); font-style: italic; font-weight: 400; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 32px; font-weight: 500; font-size: 0.92rem; }
.back-link:hover { color: var(--cream); }

/* ===== responsive ===== */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ink-2); padding: 24px 6%; gap: 20px; border-bottom: 1px solid var(--line);
  }
  .about { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .entry { grid-template-columns: auto 1fr; gap: 20px; padding: 26px 4px; }
  .entry__thumb { display: none; }
  .entry__arrow { display: none; }
}
