/* ============================================================
   Intercontinental Trade LLC — ict-aero.com
   Design tokens and layout. Light editorial direction:
   white ground, navy ink, one orange band, serif display type.
   ============================================================ */

:root {
  --ink: #0F1D2E;        /* navy from the logo: text, rules, buttons */
  --ink-2: #3A4556;      /* body copy on white */
  --muted: #5D6878;      /* overlines, captions, labels (≥4.5:1 on panels) */
  --rule: #D6DAE1;       /* light hairlines */
  --panel: #F2F4F7;      /* light grey section background */
  --white: #FFFFFF;
  --accent: #F57C0A;     /* orange from the logo: the quote band, markers, routes */
  --accent-ink: #B85A00; /* orange that passes 4.5:1 on white — link hover only */
  --on-dark-muted: #A9B6C7;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1400px;
  --gutter: 40px;
  --section-y: 56px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }
a:hover { color: var(--accent-ink); }
a.quiet { text-decoration: none; }
a.ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; color: var(--ink); }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0 64px; }
.section--panel { background: var(--panel); border-top: 1px solid var(--ink); }
.section--white { background: var(--white); border-top: 1px solid var(--ink); }

/* ---------- type helpers ---------- */
.overline {
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-display { font-size: clamp(48px, 5.6vw, 88px); line-height: 0.98; letter-spacing: -0.015em; }
.h-section { font-size: clamp(36px, 3.4vw, 54px); line-height: 1.02; letter-spacing: -0.01em; }
.h-row { font-size: 34px; line-height: 1.05; }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-2); }
.body { font-size: 16px; line-height: 26px; color: var(--ink-2); }
.small { font-size: 15px; line-height: 24px; color: var(--ink-2); }
.caption { font-size: 13px; line-height: 18px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: var(--white); background: #1A2D45; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- list marker: orange hairline dash ---------- */
.dash-list { display: grid; gap: 10px 32px; font-size: 15px; line-height: 23px; color: var(--ink); }
.dash-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 1px;
  margin-top: 11px;
  background: var(--accent);
}

/* ============================================================
   Header / nav
   ============================================================ */
/* Editorial masthead: thin top strip, logo centred, links on both sides */
.mast { background: var(--white); border-bottom: 1px solid var(--ink); position: relative; }
.mast__strip { border-bottom: 1px solid var(--rule); }
.mast__strip .container {
  height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.mast__row { height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.mast__links { display: flex; gap: 28px; align-items: center; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mast__links--left { justify-self: start; }
.mast__logo { justify-self: center; display: flex; align-items: center; }
.mast__logo img { height: 44px; width: auto; }
.mast__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.mast__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); cursor: pointer;
}
.mast__menu { display: none; }

/* ============================================================
   Hero — centred statement over a globe "horizon"
   ============================================================ */
.hero { padding: 72px 0 0; }
.hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero__text h1 { max-width: 1120px; font-size: clamp(44px, 6vw, 92px); }
.hero__text .lead { max-width: 760px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 4px; }
.hero__actions .ul { font-size: 15px; font-weight: 600; }
/* The horizon is the top ~third of the globe SVG, cropped by its viewBox, full width. */
.horizon { margin-top: 48px; line-height: 0; }
.horizon svg, .horizon img { display: block; width: 100%; height: auto; }

/* ============================================================
   Services — ledger rows
   ============================================================ */
.ledger { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 32px 64px; }
.ledger__intro { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.ledger__rows { display: flex; flex-direction: column; }
.ledger__row {
  border-top: 1px solid var(--ink);
  padding: 28px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px 40px;
}
.ledger__row:last-child { border-bottom: 1px solid var(--ink); }
.ledger__head { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   Orange band — what to send for a quote
   ============================================================ */
.quote { background: var(--accent); color: var(--ink); padding: 56px 0; }
.quote__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.quote__head h2 { flex: 1 1 480px; color: var(--ink); }
.quote__head p { flex: 1 1 320px; max-width: 460px; font-size: 16px; line-height: 25px; }
.quote__grid {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px 40px;
}
.quote__item { display: flex; flex-direction: column; gap: 10px; }
.quote__item .overline { color: var(--ink); font-weight: 700; }
.quote__item p { font-size: 16px; line-height: 25px; }

/* ============================================================
   Lifecycle — three chapters
   ============================================================ */
.chapters { margin-top: 40px; border-bottom: 1px solid var(--ink); }
.chapter {
  border-top: 1px solid var(--ink);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 20px 40px;
}
.chapter__num { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--ink); }
.chapter__title { display: flex; flex-direction: column; gap: 8px; }
.chapter__title h3 { font-size: 32px; line-height: 1.05; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.section__head > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }
.section__head > p { flex: 1 1 320px; max-width: 460px; }

/* ============================================================
   Navigation IT — schematic
   ============================================================ */
.navit { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.navit__text { display: flex; flex-direction: column; gap: 16px; }
.schematic { display: flex; align-items: center; }
.schematic__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.schematic__col .overline { margin-bottom: 4px; }
.node { background: var(--white); border: 1px solid var(--ink); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.node__t { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.node__c { font-size: 13px; line-height: 18px; color: var(--muted); }
.node--core { background: var(--ink); border-color: var(--ink); padding: 14px 16px; }
.node--core .node__t { color: var(--white); }
.node--core .node__c { color: var(--on-dark-muted); }
.link { flex: 0 0 56px; display: flex; align-items: center; align-self: stretch; padding-top: 22px; }
.link::before { content: ""; flex: 1; height: 1px; background: var(--ink); }
.link::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   Company
   ============================================================ */
.company { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; }
.company__text { display: flex; flex-direction: column; gap: 16px; }
.company__text .body--ink { font-size: 17px; line-height: 27px; color: var(--ink); }
.todo {
  margin-top: 8px;
  font-size: 14px; line-height: 20px; color: var(--muted);
  border: 1px dashed #9AA4B2; padding: 10px 12px; max-width: 560px;
}
.facts { margin: 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; align-self: start; }
.facts > div {
  display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.facts > div:last-child { border-bottom: 1px solid var(--ink); }
.facts dt { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink); }

/* ============================================================
   Contact
   ============================================================ */
.contact { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px 64px; }
.contact__text { display: flex; flex-direction: column; gap: 20px; }
.details { border-top: 1px solid var(--ink); margin-top: 8px; font-size: 15px; line-height: 22px; }
.details > div { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.details span:first-child { color: var(--muted); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; align-content: start; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  padding: 0; border: none; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
}
.field input { height: 44px; }
.field textarea { padding: 10px 0; line-height: 26px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--white); border-top: 1px solid var(--ink); color: var(--muted); }
.footer__inner { padding: 28px 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer__inner img { height: 34px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__legal { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; line-height: 20px; border-top: 1px solid var(--rule); padding-top: 16px; }
.footer__legal span:last-child { margin-left: auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger__intro { max-width: 640px; }
  .navit, .company, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .mast__strip .container span:first-child { display: none; }
  .mast__strip .container { justify-content: center; height: 30px; font-size: 11px; }
  .mast__row { grid-template-columns: auto 1fr; height: 60px; }
  .mast__links { display: none; }
  .mast__cta { display: none; }
  .mast__logo { justify-self: start; }
  .mast__logo img { height: 32px; }
  .mast__burger { display: inline-flex; }
  .mast.is-open .mast__menu {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--ink); padding: 8px var(--gutter) 16px; z-index: 10;
    font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mast__menu a { padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
  .hero { padding-top: 40px; }
  .hero__text h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero__text h1 br { display: none; }
  .horizon { margin-top: 28px; }
  .ledger__row { grid-template-columns: 1fr; }
  .chapter { grid-template-columns: 48px minmax(0, 1fr); }
  .chapter .dash-list { grid-column: 2; }
  .schematic { flex-direction: column; align-items: stretch; }
  .link { flex: 0 0 36px; flex-direction: column; align-items: center; padding: 6px 0; }
  .link::before { width: 1px; height: auto; }
  .form { grid-template-columns: 1fr; }
  .footer__legal span:last-child { margin-left: 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --section-y: 36px; }
  .mast__logo img { height: 30px; }
  .hero { padding-top: 32px; }
  .hero__text h1 { font-size: 44px; }
  .hero__actions { flex-direction: column; align-self: stretch; }
  .hero__actions .btn { width: 100%; }
  .h-row { font-size: 28px; }
  .chapter__num { font-size: 40px; }
  .chapter__title h3 { font-size: 26px; }
  .lead { font-size: 16px; line-height: 25px; }
  .btn--wide { width: 100%; }
  .facts > div, .details > div { grid-template-columns: 1fr; gap: 2px; }
}
