/* ============================================================
   GipperNet — style.css
   "Field Manual" — warm paper, navy ink, clay accent.
   Serif headlines (Fraunces) + clean sans body (IBM Plex Sans).
   No frameworks. One accent color. Generous whitespace.
   ============================================================ */

:root {
  --ink: #1B2A3A;          /* navy — headings and strong text */
  --ink-soft: #5C6875;     /* muted slate — body copy */
  --accent: #A85526;       /* clay — links, marks, eyebrows (AA on paper) */
  --accent-bright: #B4602F;/* clay, decorative/large use only */
  --accent-dark: #8A431C;  /* clay hover */
  --navy: #1B2A3A;
  --navy-deep: #14222F;    /* dark bands */
  --paper: #FBF9F5;        /* main background — warm off-white */
  --paper-alt: #F2ECE1;    /* alternating sections — warm sand */
  --surface: #FFFFFF;      /* cards */
  --surface-alt: #F2ECE1;  /* legacy alias */
  --line: #E3DACB;         /* warm border */
  --line-soft: #EFE8DC;
  --radius: 10px;
  --maxw: 1440px;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

section[id] { scroll-margin-top: 84px; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 2px;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 116px 0 96px;
  background: var(--paper);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.13;
  max-width: 860px;
  margin: 0 auto 24px;
}

.hero h1 .accent { color: var(--accent-bright); font-style: italic; }

.hero .sub {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 38px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */

.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: 0.18s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 2px rgba(27, 42, 58, 0.18);
}
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 4px 14px rgba(27, 42, 58, 0.22); }

.btn-ghost {
  color: var(--accent);
  border: 1.5px solid var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(168, 85, 38, 0.05); }

/* ---------- Sections ---------- */

.section { padding: 94px 0; }
.section.alt { background: var(--paper-alt); }

.section-head {
  max-width: 690px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(27, 42, 58, 0.07);
  border-color: #D6C9B4;
  transform: translateY(-2px);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: #F0E7D9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 9px;
  letter-spacing: -0.005em;
}
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card .tag {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.card.featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 6px 24px rgba(168, 85, 38, 0.10);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 4px;
}

/* Training package cards */
.pkg .duration {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.pkg .checklist { margin: 14px 0 22px; }
.pkg .checklist li { font-size: 0.92rem; margin-bottom: 9px; }
.pkg .btn { width: 100%; text-align: center; padding: 11px 0; }

/* ---------- Split (two-column) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin-bottom: 17px;
}

.split p { color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Check list ---------- */

.checklist { list-style: none; margin-top: 8px; }

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.step {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 10px;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Values strip ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  text-align: center;
}

.value h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.value p { color: var(--ink-soft); font-size: 0.93rem; }

.value .glyph {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #F0E7D9;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 94px 0;
  background: var(--navy);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FBF9F5;
}

.cta-band p {
  color: #BCC7D2;
  font-size: 1.06rem;
  max-width: 570px;
  margin: 0 auto 32px;
}

.cta-band .btn-primary {
  background: var(--accent-bright);
  color: #fff;
}
.cta-band .btn-primary:hover { background: var(--accent-dark); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  text-align: center;
  padding: 88px 0 64px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 17px;
}

.page-hero p {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 630px;
  margin: 0 auto;
}

/* ---------- Contact ---------- */

.contact-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 40px;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 13px;
}
.contact-card p { color: var(--ink-soft); margin-bottom: 28px; }

.contact-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.89rem;
  margin-top: 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 52px 0 44px;
  color: var(--ink-soft);
  font-size: 0.89rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 9px;
}

.footer-links { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

.footer-legal { margin-top: 26px; font-size: 0.83rem; color: #77828E; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav-cta { display: inline-block; margin-top: 8px; }

  .hero { padding: 74px 0 62px; }
  .section { padding: 66px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   Tints, statement band, news, info grid
   ============================================================ */

.icon.tint-blue  { background: #E3EAF1; }
.icon.tint-green { background: #E4EDE3; }
.icon.tint-amber { background: #F6EBDA; }
.icon.tint-red   { background: #F7E3D8; }

.band {
  padding: 124px 0;
  text-align: center;
  background: var(--paper-alt);
}
.band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 960px;
  margin: 0 auto;
}
.band .accent { color: var(--accent-bright); font-style: italic; }

/* News */
.news-item .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.news-item h3 { font-family: var(--font-display); font-weight: 600; margin-bottom: 8px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--accent); text-decoration: none; }
.news-item .why {
  margin-top: 12px;
  font-size: 0.89rem;
  color: var(--ink);
  background: var(--paper-alt);
  border-left: 3px solid var(--accent-bright);
  padding: 9px 13px;
  border-radius: 0 7px 7px 0;
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}
.pill.blue  { background: #E3EAF1; color: #2C4761; }
.pill.green { background: #E4EDE3; color: #3D6B3A; }
.pill.amber { background: #F6EBDA; color: #8A5A16; }
.pill.red   { background: #F7E3D8; color: #A34122; }

/* Company info */
.info-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.info-item h3 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 7px;
}
.info-item p { color: var(--ink); font-size: 0.98rem; font-weight: 500; }
.todo {
  background: #F6EBDA;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 600;
  color: #8A5A16;
}

@media (max-width: 768px) {
  .band { padding: 76px 0; }
}

/* ---------- Colored wordmark ---------- */

.wm-navy { color: #1B2A3A; }
.wm-blue { color: #A85526; }

/* ---------- Team ---------- */

.team-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

.team-card { text-align: center; }

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
}
.team-photo.placeholder.tint-blue  { background: #E3EAF1; color: #2C4761; }
.team-photo.placeholder.tint-green { background: #E4EDE3; color: #3D6B3A; }

.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.team-card p { text-align: left; margin-bottom: 10px; }
