/* Hinter public site — shared styles (converted from Claude Design "Hinter Website Redesign") */

:root {
  --ink: #161B1F;
  --ink-deep: #0E1214;
  --navy: #0E2436;
  --blue: #245C8A;
  --blue-link: #2E6DA4;
  --blue-soft: #7FB0DC;
  --green: #1E6B52;
  --green-soft: #8FBFA9;
  --mist: #F4F6F8;
  --line: #E3E8ED;
  --line-dark: #2A3238;
  --text: #232B31;
  --text-2: #47525C;
  --muted: #64707B; /* AA contrast on #fff (5.1:1) */
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; }

:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; }
.sec :focus-visible, .sec-alt :focus-visible, .sec-note :focus-visible { outline-color: var(--blue); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 4px 0;
  font-size: 14px;
}
.skip:focus-visible { left: 0; color: #fff; }

/* pre-i18n paint guard: head inline script sets data-lang; site.js clears it */
html[data-i18n-pending] body { visibility: hidden; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: var(--sans);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

a { color: var(--blue-link); text-decoration: none; }
a:hover { color: var(--blue); }

img { max-width: 100%; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 48px;
  border-bottom: 2px solid var(--blue);
}

.nav-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-brand img { height: 26px; width: auto; display: block; }

/* text wordmark (interim until official logo PNGs land in assets/site/img/) */
.brand-word {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.015em;
}
.foot-brand .brand-word { display: block; font-size: 21px; margin-bottom: 12px; }

.nav-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #7E8A94;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid #333C43;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: #C0C8CE; padding-bottom: 3px; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--blue); }
.nav-links a.active.active-green { border-bottom-color: var(--green); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang { display: flex; gap: 4px; }
.lang button {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  background: transparent;
  border: none;
  padding: 8px 8px 9px;
  color: #fff;
  opacity: 0.5;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.lang button.on { opacity: 1; font-weight: 700; border-bottom-color: #fff; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  font-size: 15px;
  padding: 14px 26px;
  white-space: nowrap;
}
.btn:hover { background: #1E4F77; color: #fff; }
.btn-sm { font-size: 13px; padding: 9px 16px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #3E474E;
  border-radius: 4px;
  padding: 12px 13px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #C0C8CE; }

/* ===== HERO ===== */
.hero { position: relative; height: 400px; background: var(--ink); }
.hero-tall { height: 560px; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 18, 0.94) 0%, rgba(11, 15, 18, 0.72) 50%, rgba(11, 15, 18, 0.18) 100%);
  pointer-events: none;
}
.hero-shade-green {
  background: linear-gradient(90deg, rgba(10, 20, 16, 0.94) 0%, rgba(10, 20, 16, 0.72) 50%, rgba(10, 20, 16, 0.2) 100%);
}
.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
}
.hero-inner > div { max-width: 660px; }
.hero h1 {
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 700;
}
.hero-tall h1 { font-size: 48px; line-height: 1.11; margin-bottom: 22px; }
.hero-sub { font-size: 16px; line-height: 1.6; color: #C8D0D6; margin: 0; }
.hero-tall .hero-sub { font-size: 17px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin: 0 0 16px;
}
.eyebrow-dark { color: var(--blue); margin-bottom: 8px; }
.eyebrow-green { color: var(--green); margin-bottom: 8px; }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-soft);
  background: rgba(30, 107, 82, 0.35);
  padding: 6px 12px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

/* ===== SECTIONS ===== */
.sec { background: #fff; padding: 72px 48px; }
.sec-alt { background: var(--mist); }
.sec-dark { background: var(--ink); }
.sec-note { background: #F6F8F7; padding: 56px 48px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-md { max-width: 1100px; }
.wrap-sm { max-width: 1000px; }

.sec h2 {
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sec-dark h2, .band h2 { color: #fff; }
.sec-lede {
  font-size: 15px;
  color: var(--text-2);
  margin: -24px 0 36px;
  max-width: 660px;
  line-height: 1.65;
}

/* ===== GRIDS & CARDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: #fff; }
.card-num { font-family: var(--mono); font-size: 12px; color: var(--blue); margin-bottom: 14px; }
.card h3, .card-title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.card p, .card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.card-lg { padding: 28px; }
.card-lg .card-title { font-size: 18px; }
.card-lg .card-desc { font-size: 14px; }
.card-top-green { border-top: 3px solid var(--green); }

/* photo tile cards */
.tile { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.tile-dark { background: var(--ink-deep); border: none; }
.tile-img { height: 150px; position: relative; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-body { padding: 18px; }
.tile-tag { font-family: var(--mono); font-size: 11px; color: var(--blue-soft); margin-bottom: 6px; }
.tile-tag-green { color: var(--green-soft); }
.tile-title { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 5px; }
.tile-dark .tile-title { color: #fff; }
.tile-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }
.tile-dark .tile-desc { color: #9AA4AC; }

/* numbered process grid (joined cells) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #DCE2E8;
  border: 1px solid #DCE2E8;
  border-radius: 6px;
  overflow: hidden;
}
.step { background: #fff; padding: 28px; }
.step-num { font-family: var(--mono); font-size: 22px; color: #C3D0DB; margin-bottom: 12px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* numbered rows (trading support) */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: 56px 1fr 1.5fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row-num { font-family: var(--mono); font-size: 14px; color: var(--blue); }
.row-title { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0; }
.row-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* dash bullet lists */
.dashes { display: flex; flex-direction: column; gap: 14px; }
.dash { display: flex; gap: 12px; }
.dash-mark { color: var(--blue); font-weight: 700; flex-shrink: 0; }
.dash-mark-green { color: var(--green); }
.dash-mark-soft { color: var(--blue-soft); }
.dash-mark-softgreen { color: var(--green-soft); }
.dash span:last-child { font-size: 14px; color: var(--text); line-height: 1.55; }
.dash span.dash-dim { color: #C8D0D6; }
.dash span.dash-body { color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  color: #D5DEE6;
  border: 1px solid #3E474E;
  padding: 8px 12px;
  border-radius: 4px;
}

/* ===== SPLIT BANDS ===== */
.band { background: var(--navy); display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.band-rev { grid-template-columns: 0.9fr 1.1fr; }
.band-ops { background: transparent; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.band-gray { background: var(--mist); }
.band-slate { background: #232B31; }
.band-body { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.band-body h2 { font-size: 28px; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.01em; }
.band-gray .band-body h2 { color: var(--navy); font-size: 30px; margin-bottom: 18px; }
.band-text { font-size: 15px; color: #AEBECB; line-height: 1.7; margin: 0 0 24px; }
.band-gray .band-text { color: var(--text-2); }
.band-img { position: relative; min-height: 340px; }
.band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.stats { display: flex; gap: 40px; }
.stat-v { font-size: 26px; font-weight: 700; color: #fff; }
.stat-l { font-family: var(--mono); font-size: 11px; color: #7E93A8; margin-top: 4px; letter-spacing: 0.06em; }

/* ===== CTA STRIPS ===== */
.cta-strip { position: relative; padding: 72px 48px; background: var(--navy); }
.cta-strip .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: rgba(11, 20, 30, 0.84); pointer-events: none; }
.cta-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: 30px; color: #fff; margin: 0 0 8px; font-weight: 700; }
.cta-inner p { font-size: 15px; color: #C8D0D6; margin: 0; }

.cta-green { background: var(--green); padding: 56px 48px; }
.cta-green .cta-inner h2 { font-size: 26px; }
.cta-green .cta-inner p { color: #CFE6DB; }
.btn-on-green { background: #fff; color: var(--green); font-weight: 700; padding: 15px 28px; }
.btn-on-green:hover { background: #E8F2ED; color: var(--green); }

.link-green {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-soft);
  border-bottom: 2px solid #2E5E4A;
  padding-bottom: 3px;
}
.link-green:hover { color: #B5D8C6; }

/* ===== CONTACT ===== */
.contact-hero { background: var(--navy); padding: 64px 48px; }
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-grid h1 { font-size: 36px; line-height: 1.16; letter-spacing: -0.02em; color: #fff; margin: 0 0 18px; font-weight: 700; }
.contact-sub { font-size: 15px; line-height: 1.65; color: #AEBECB; margin: 0 0 32px; }
.kv { display: flex; gap: 12px; align-items: baseline; }
.kv-k { font-family: var(--mono); font-size: 11px; color: #7E93A8; letter-spacing: 0.1em; width: 64px; flex-shrink: 0; }
.kv-v { font-size: 14px; color: #D5DEE6; }
.kv-v a { color: #D5DEE6; text-decoration: underline; }
.kv-v a:hover { color: #fff; }

.contact-panel { background: #fff; border-radius: 8px; padding: 36px; }
.contact-panel h2 { font-size: 22px; color: var(--navy); margin: 0 0 10px; font-weight: 700; }
.contact-panel > p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin: 0 0 20px; }
.contact-panel .dashes { margin-bottom: 26px; }
.contact-note { font-size: 12px; color: #5F6B76; margin-top: 12px; text-align: center; }

.mail-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 0;
  flex-wrap: wrap;
}
.mail-row code { font-family: var(--mono); font-size: 13px; color: var(--navy); }
.copy-btn {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 12px;
}
.copy-btn:hover { border-color: var(--blue); }
.btn-block { display: block; width: 100%; text-align: center; font-weight: 700; }

.office { border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.office-t { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.office-d { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== FOOTER ===== */
.foot { background: var(--ink); padding: 44px 48px; }
.foot-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.foot-brand { max-width: 280px; }
.foot-brand img { height: 24px; width: auto; display: block; margin-bottom: 14px; }
.foot-brand p { font-size: 13px; color: #8A949D; line-height: 1.6; margin: 0; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7E93A8;
  text-transform: uppercase;
  margin: 0 0 4px;
  font-weight: 500;
}
.foot-col a { font-size: 13px; color: #C0C8CE; }
.foot-col a:hover { color: #fff; }
.foot-col span { font-size: 13px; color: #8A949D; }
.foot-bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 11px;
  color: #7E93A8;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-bottom a { color: #7E93A8; display: inline-block; padding: 6px 0; }
.foot-bottom a:hover { color: #C0C8CE; }

/* ===== 404 ===== */
.err-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: #fff; padding: 72px 24px; text-align: center; }
.err-wrap h1 { font-size: 34px; color: var(--navy); margin: 0 0 12px; }
.err-wrap p { font-size: 15px; color: var(--text-2); margin: 0 0 28px; }
.err-code { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 14px 24px; }
  .nav-tag { display: none; }
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 2px solid var(--blue);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav-links a.active { border-bottom-color: var(--line-dark); color: var(--blue-soft); }
  .nav-links .nav-menu-cta {
    display: inline-block;
    width: auto;
    background: var(--blue);
    color: #fff;
    border-radius: 4px;
    border-bottom: none;
    padding: 11px 18px;
    margin: 14px 0 6px;
    font-weight: 600;
  }
  .nav-toggle { display: flex; }

  .hero-shade, .hero-shade-green { background: rgba(11, 15, 18, 0.78); }
  .band-ops { grid-template-columns: 1fr; gap: 28px; }

  .sec, .cta-strip, .cta-green, .contact-hero, .sec-note { padding-left: 20px; padding-right: 20px; }
  .sec { padding-top: 52px; padding-bottom: 52px; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: 30px; }
  .hero-tall { height: 480px; }
  .hero-tall h1 { font-size: 32px; }
  .sec h2 { font-size: 24px; }

  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .band, .band-rev { grid-template-columns: 1fr; }
  .band-img { min-height: 240px; order: -1; }
  .band-body { padding: 44px 20px; }
  .row { grid-template-columns: 40px 1fr; }
  .row-desc { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot { padding: 36px 20px; }
}

@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .stats { gap: 24px; }
}

/* desktop: menu CTA lives in .nav-right instead */
@media (min-width: 901px) {
  .nav-links .nav-menu-cta { display: none; }
}
