/* ==========================================================================
   Intercompany.io — shared design system
   Static site. No build step. Import once per page:
   <link rel="stylesheet" href="styles.css">
   ========================================================================== */

:root {
  /* -- surfaces (light) -- */
  --bg:        #f9f8f5;
  --bg-elev:   #f2f0eb;
  --bg-card:   #ffffff;
  --rule:      #ddd9d0;
  --rule-lt:   #c7c2b6;

  /* -- ink -- */
  --ink:       #1a2233;
  --ink-mid:   #3d4f6a;
  --ink-lt:    #6b7d96;
  --ink-fnt:   #63708a;

  /* -- navy (footer, primary CTA) -- */
  --navy:      #0b1929;
  --navy-h:    #132540;

  /* -- accent -- */
  --gold:      #9a6e10;
  --gold-h:    #7d5808;
  --gold-dim:  #fdf8ec;

  /* -- type -- */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:  'DM Mono', ui-monospace, monospace;

  /* -- layout -- */
  --max:  1120px;
  --pad:  clamp(20px, 4vw, 48px);
  --r:    6px;
  --rl:   12px;

  /* -- shadow -- */
  --sh:    0 1px 3px rgba(11,25,41,.06), 0 8px 24px rgba(11,25,41,.06);
  --sh-lg: 0 16px 48px rgba(11,25,41,.12);
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-mid);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -.4px;
  line-height: 1.15;
}

/* -- eyebrow label (used above section headings) -- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249,248,245,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-i {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--r);
  font-size: 13px; font-weight: 500; color: var(--ink-mid);
  transition: all .16s;
}
.nav-link:hover { color: var(--navy); background: var(--bg-elev); }
.nav-link.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  padding: 9px 18px; border-radius: var(--r);
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; white-space: nowrap;
  transition: all .16s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--navy-h); transform: translateY(-1px); }

.lang-sw { display: flex; align-items: center; gap: 1px; }
.lang-btn {
  background: none; border: none; font-family: var(--sans);
  font-size: 11px; font-weight: 600; color: var(--ink-fnt); cursor: pointer;
  padding: 5px 6px; border-radius: 3px; letter-spacing: .8px; text-transform: uppercase;
  transition: color .14s;
}
.lang-btn:hover, .lang-btn.active { color: var(--navy); }
.lang-sep { color: var(--rule-lt); font-size: 11px; line-height: 1; user-select: none; }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer; border: none; background: none;
  padding: 4px; border-radius: var(--r); flex-shrink: 0;
}
.nav-burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: all .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(249,248,245,.98); border-top: 1px solid var(--rule); padding: 8px 0 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px var(--pad); font-size: 15px; font-weight: 500; color: var(--ink-mid); }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--navy); }
.nav-mobile-lang { display: flex; gap: 14px; padding: 6px var(--pad) 10px; }
.nav-mobile-lang button {
  background: none; border: 1px solid var(--rule); border-radius: var(--r);
  font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-mid);
  padding: 6px 12px; cursor: pointer; letter-spacing: .5px;
}
.nav-mobile-lang button.active { border-color: var(--navy); color: var(--navy); }
.nav-mobile-cta {
  margin: 6px var(--pad) 0; display: block; width: calc(100% - 2 * var(--pad));
  padding: 13px; border-radius: var(--r); background: var(--navy); color: #fff !important;
  font-size: 14px; font-weight: 600; text-align: center; transition: background .14s;
}
.nav-mobile-cta:hover { background: var(--navy-h); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r);
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all .16s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-h); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--rule); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: clamp(44px, 6vw, 76px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(154,110,16,.07), transparent 60%),
    var(--bg);
}
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -1.2px;
  margin: 14px 0 16px;
}
.hero h1 em {
  font-style: italic; color: var(--gold); font-weight: 500;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-mid); font-weight: 300;
  line-height: 1.7; max-width: 56ch;
  margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   WHO WE WORK WITH
   ========================================================================== */
.wwc { background: var(--navy); padding: clamp(28px, 4vw, 40px) 0; }
.wwc-lead {
  font-size: 14.5px; color: rgba(255,255,255,.7); font-weight: 300;
  line-height: 1.7; max-width: 760px; margin-bottom: 22px;
}
.wwc-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.wwc-stat {
  font-size: 11.5px; font-weight: 600; letter-spacing: .4px;
  color: #d9bb7d; background: rgba(201,164,92,.1);
  border: 1px solid rgba(201,164,92,.28);
  padding: 7px 15px; border-radius: 20px;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section { padding: clamp(36px, 4.5vw, 60px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(24px, 3.5vw, 36px); }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 10px;
}
.section-head p {
  font-size: 15px; color: var(--ink-mid); font-weight: 300; line-height: 1.7;
}

/* ==========================================================================
   CARD GRID
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid rgba(11,25,41,.09);
  border-radius: var(--rl);
  padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--sh);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }

.card-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim); color: var(--gold);
  margin-bottom: 20px;
}
.card-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--ink-fnt); margin-bottom: 10px;
}
.card h3 {
  font-size: 21px; margin-bottom: 14px;
}
.card ul { display: flex; flex-direction: column; gap: 9px; }
.card li {
  font-size: 13.5px; color: var(--ink-mid); font-weight: 300;
  line-height: 1.55; display: flex; align-items: baseline; gap: 9px;
}
.card li::before { content: '—'; color: var(--ink-fnt); font-size: 11px; flex-shrink: 0; }

/* ==========================================================================
   PROOF (free tool showcase)
   ========================================================================== */
.proof-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-copy h2 { font-size: clamp(24px, 3vw, 32px); margin: 14px 0 16px; }
.proof-copy p {
  font-size: 14.5px; color: var(--ink-mid); font-weight: 300;
  line-height: 1.75; margin-bottom: 26px;
}
.proof-shot {
  border-radius: var(--rl); overflow: hidden;
  box-shadow: var(--sh-lg); border: 1px solid rgba(11,25,41,.09);
}
.proof-shot img { width: 100%; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { background: var(--navy); padding: 36px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(20px, 3vw, 40px); padding-bottom: 28px;
}
.footer-brand { font-family: var(--serif); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer-loc { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: rgba(255,255,255,.28); }
.ch-flag { border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.35); flex-shrink: 0; }
.footer-col { display: flex; flex-direction: column; }
.footer-col-title { font-size: 9px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-col a { font-size: 12.5px; color: rgba(255,255,255,.6); transition: color .15s; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0;
  font-size: 11.5px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 6px;
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: underline; text-underline-offset: 2px; transition: color .15s; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 740px) {
  .nav-links, .lang-sw, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ==========================================================================
   PAGE HEADER (non-home hero, used on about / services / contact)
   ========================================================================== */
.page-header {
  padding: clamp(36px, 5vw, 56px) 0 clamp(24px, 3.5vw, 36px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(154,110,16,.07), transparent 60%),
    var(--bg);
}
.page-header h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -.8px;
  margin: 12px 0 12px;
}
.page-header p {
  font-size: 15px; color: var(--ink-mid); font-weight: 300;
  line-height: 1.7; max-width: 58ch;
}

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder-grid {
  display: grid; grid-template-columns: 220px 1fr;
  gap: clamp(28px, 4vw, 52px); align-items: start;
}
@media (max-width: 680px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-img-col { display: flex; align-items: flex-start; gap: 20px; }
}
.founder-img-wrap {
  width: 220px; height: 220px; border-radius: var(--rl); overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--rule); flex-shrink: 0;
}
@media (max-width: 680px) { .founder-img-wrap { width: 120px; height: 120px; border-radius: var(--r); } }
.founder-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: grayscale(100%) contrast(1.04) brightness(.97);
  transition: filter .4s;
}
.founder-img-wrap:hover .founder-img { filter: grayscale(80%) contrast(1.02) brightness(.99); }
.founder-img-caption {
  margin-top: 12px; font-size: 11px; color: var(--ink-fnt);
  display: flex; align-items: center; gap: 8px; line-height: 1.45;
}
.founder-img-caption::before { content: ''; width: 14px; height: 1px; background: var(--rule); }
@media (max-width: 680px) { .founder-img-caption { display: none; } }

.founder-name { font-size: clamp(26px, 3.8vw, 36px); margin-bottom: 5px; }
.founder-role { font-size: 13px; color: var(--ink-lt); margin-bottom: 18px; }
.founder-linkedin {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--ink-mid);
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: 7px 13px; transition: all .15s; margin-bottom: 26px;
}
.founder-linkedin:hover { border-color: #0077b5; color: #0077b5; background: rgba(0,119,181,.04); }
.founder-bio-text { font-size: 14.5px; color: var(--ink-mid); line-height: 1.8; font-weight: 300; }
.founder-bio-text p + p { margin-top: 16px; }
.founder-tags {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px;
  padding-top: 18px; border-top: 1px solid var(--rule);
}
.founder-tag {
  font-size: 11px; font-weight: 500; color: var(--ink-mid);
  background: var(--bg-elev); border: 1px solid var(--rule);
  padding: 4px 12px; border-radius: 20px;
}

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */
.pull-quote { max-width: 680px; margin: 0 auto; }
.pull-quote p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(24px, 3.2vw, 34px); color: var(--navy); line-height: 1.3;
  letter-spacing: -.3px; margin-bottom: 22px;
}
.pull-quote cite {
  display: block; font-style: normal; font-size: 14.5px;
  color: var(--ink-mid); font-weight: 300; line-height: 1.75;
}

/* ==========================================================================
   SERVICE DETAIL BLOCKS (services.html)
   ========================================================================== */
.svc-block { padding: clamp(32px, 4.5vw, 48px) 0; border-top: 1px solid var(--rule); }
.svc-block:first-of-type { border-top: none; }
.svc-block:nth-of-type(even) { background: var(--bg-elev); }
.svc-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 4vw, 48px); align-items: start;
}
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-index {
  font-family: var(--serif); font-size: 34px; color: var(--gold); font-weight: 600;
  margin-bottom: 6px; line-height: 1;
}
.svc-grid h2 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 10px; }
.svc-grid > div:first-child p { font-size: 14px; color: var(--ink-mid); font-weight: 300; line-height: 1.7; }
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc-list li {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-mid); font-weight: 300; line-height: 1.55;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.svc-list li:last-child { border-bottom: none; padding-bottom: 0; }
.svc-li-label { color: var(--navy); font-weight: 600; flex-shrink: 0; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step-num {
  font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--gold);
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-mid); font-weight: 300; line-height: 1.6; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: clamp(20px, 3vw, 32px); align-items: start;
}
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-main { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--bg-card); border: 1px solid rgba(11,25,41,.09);
  border-radius: var(--rl); padding: clamp(22px, 3vw, 30px); box-shadow: var(--sh);
}
.contact-card-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--ink-fnt); margin-bottom: 10px;
}
.contact-card h3 { font-size: 19px; margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; color: var(--ink-mid); font-weight: 300; line-height: 1.6; margin-bottom: 16px; }

.call-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.call-badge {
  font-size: 11.5px; font-weight: 500; color: var(--ink-mid);
  background: var(--bg-elev); border: 1px solid var(--rule);
  padding: 5px 11px; border-radius: 20px;
}
.call-checklist { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; }
.call-checklist li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13.5px; color: var(--ink-mid); font-weight: 300; line-height: 1.5;
}
.call-check { color: var(--gold); font-weight: 700; flex-shrink: 0; }

.contact-sidebar {
  background: var(--bg-card); border: 1px solid rgba(11,25,41,.09);
  border-radius: var(--rl); padding: clamp(22px, 3vw, 28px); box-shadow: var(--sh);
}
.contact-sidebar img { height: 22px; width: auto; margin-bottom: 14px; }
.contact-sidebar-tagline { font-size: 13px; color: var(--ink-mid); font-weight: 300; line-height: 1.6; margin-bottom: 18px; }
.contact-sidebar-links { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--rule); }
.contact-sidebar-links a {
  font-size: 13px; color: var(--ink-mid); padding: 7px 0; transition: color .15s;
  display: flex; align-items: center; gap: 8px;
}
.contact-sidebar-links a:hover { color: var(--gold); }
