* {
  box-sizing: border-box;
}

:root {
  --ink: #202521;
  --muted: #5c665f;
  --paper: #f7f6ef;
  --white: #ffffff;
  --line: #d8d5c8;
  --green: #2f6b4f;
  --amber: #b7791f;
  --blue: #316a8c;
  --cyan: #4fb9b2;
  --cyan-soft: rgba(79, 185, 178, 0.18);
  --grid: rgba(49, 106, 140, 0.09);
  --red: #a23d35;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  background-image:
    linear-gradient(90deg, transparent 0, transparent 31px, var(--grid) 32px),
    linear-gradient(0deg, transparent 0, transparent 31px, rgba(183, 121, 31, 0.045) 32px);
  background-size: 32px 32px;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  color: #ffffff;
  background: rgba(12, 18, 17, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(79, 185, 178, 0.22);
}

.site-header.compact {
  position: sticky;
  color: var(--ink);
  background: rgba(247, 246, 239, 0.92);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: #f9fbf7;
  text-shadow: 0 0 18px rgba(79, 185, 178, 0.16);
}

.site-header.compact .brand {
  color: var(--ink);
  text-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  background: #151a17 url("geevis-portfolio-hero.png") center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
  max-width: 100vw;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 13, 0.97) 0%, rgba(10, 17, 16, 0.9) 42%, rgba(10, 18, 17, 0.68) 100%),
    linear-gradient(0deg, rgba(79, 185, 178, 0.08), rgba(183, 121, 31, 0.08));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(79, 185, 178, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(79, 185, 178, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.22;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(980px, 88vw);
  max-width: calc(100% - 12vw);
  min-width: 0;
  padding: 132px 0 72px;
  margin-left: 6vw;
  z-index: 1;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  text-shadow: 0 0 18px rgba(183, 121, 31, 0.18);
}

.hero h1,
.paper-shell h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subhead {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 1.35rem;
  color: #f4f1e6;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: 1.04rem;
  color: #e4e2d8;
  overflow-wrap: anywhere;
}

.availability {
  margin: 18px 0 0;
  color: #e9d9ba;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin-top: 28px;
  border: 1px solid rgba(79, 185, 178, 0.28);
  background: rgba(79, 185, 178, 0.18);
  backdrop-filter: blur(10px);
}

.hero-proof-strip span {
  min-height: 64px;
  padding: 14px 16px;
  background: rgba(8, 13, 13, 0.62);
  color: #f4f1e6;
  font-weight: 700;
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #267c78);
  border-color: rgba(79, 185, 178, 0.72);
  box-shadow: 0 10px 24px rgba(47, 107, 79, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button.secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.metrics-band {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  width: min(1120px, 88vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.metric {
  background: linear-gradient(180deg, #ffffff, #f8faf5);
  padding: 24px;
}

.metric strong {
  display: block;
  font-size: 1.8rem;
  color: var(--green);
}

.metric span {
  color: var(--muted);
}

.section,
.contact-section,
.paper-shell {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 76px 0;
}

.section.contrast {
  width: 100%;
  max-width: none;
  padding-left: max(6vw, calc((100vw - 1120px) / 2));
  padding-right: max(6vw, calc((100vw - 1120px) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.section-copy {
  color: var(--muted);
  max-width: 640px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-grid,
.first-week-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}

.why-card,
.first-week-list li,
.sample-pack-list {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid color-mix(in srgb, var(--line) 74%, var(--cyan) 26%);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 18px 42px rgba(18, 29, 25, 0.06);
}

.why-card p {
  color: var(--muted);
}

.service-card,
.proof-card,
.tool-group {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--cyan) 22%);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 18px 42px rgba(18, 29, 25, 0.06);
}

.service-card p,
.card-note,
.contact-note,
.paper-summary {
  color: var(--muted);
}

.service-card ul,
.tool-group ul,
.boundary-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.evidence-list {
  display: grid;
  gap: 12px;
}

.evidence-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.evidence-row span {
  color: #1f7781;
  font-weight: 700;
}

.evidence-row p {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.sample-pack {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.sample-pack-list ul,
.first-week-list {
  list-style: none;
}

.sample-pack-list li,
.first-week-list li {
  position: relative;
}

.sample-pack-list li + li {
  margin-top: 10px;
}

.sample-pack-list li::before,
.first-week-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(79, 185, 178, 0.42);
}

.proof-list,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-card p {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
}

.proof-card a {
  color: var(--ink);
  text-decoration-color: var(--amber);
  text-underline-offset: 5px;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-list li {
  min-height: 150px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--cyan) 22%);
  background: linear-gradient(180deg, #ffffff, #f8faf5);
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.workflow-node {
  position: relative;
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(79, 185, 178, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 245, 0.96)),
    linear-gradient(90deg, rgba(79, 185, 178, 0.1), transparent);
}

.workflow-node::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -13px;
  width: 13px;
  height: 1px;
  background: rgba(79, 185, 178, 0.5);
}

.workflow-node:last-child::after {
  display: none;
}

.workflow-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: #1f7781;
  font-weight: 700;
  font-size: 0.8rem;
}

.workflow-node p {
  color: var(--muted);
}

.boundaries {
  padding-top: 44px;
}

.boundary-list li + li {
  margin-top: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  color: #ffffff;
  background: linear-gradient(135deg, #111816, #1c2825);
  font-size: 0.92rem;
  border-top: 1px solid rgba(79, 185, 178, 0.24);
}

.paper-page {
  background: #ffffff;
}

.paper-shell {
  padding-top: 110px;
}

.paper-section,
.paper-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.paper-section p,
.paper-note p {
  max-width: 780px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero h1,
  .paper-shell h1 {
    font-size: 3rem;
  }

  .metrics-grid,
  .service-grid,
  .why-grid,
  .workflow-diagram,
  .method-list,
  .first-week-list,
  .contact-section,
  .sample-pack,
  .split {
    grid-template-columns: 1fr;
  }

  .workflow-node::after {
    left: 34px;
    top: auto;
    right: auto;
    bottom: -13px;
    width: 1px;
    height: 13px;
  }

  .proof-list,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .evidence-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .hero {
    display: block;
    min-height: 72vh;
    background-position: 63% center;
  }

  .hero-overlay {
    background: rgba(12, 16, 14, 0.88);
  }

  .hero-inner {
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 154px;
    padding-bottom: 48px;
  }

  .hero-proof-strip {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .paper-shell h1 {
    font-size: 2.05rem;
  }

  .kicker,
  .hero-subhead,
  .hero-copy,
  .availability {
    max-width: 100%;
  }

  .hero-subhead {
    font-size: 1.08rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section,
  .contact-section,
  .paper-shell {
    padding: 54px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
