/* Eastlantic Strategies — site styles */
:root {
  --navy: #0A1F3C;
  --turquoise: #3CC3E0;   /* Nassau Turquoise: Caribbean half, LANTIC, accents */
  --ocean: #1E6AA6;       /* Deep ocean blue: Africa half + EAST on navy; links on light */
  --foam: #F4F8FB;
  --line: #2E4E7A;
  --wave: #1C3A63;
  --text-soft: #C9D8E8;
  --text-muted: #9FB4CC;
  --ink-muted: #4A5E78;
  --field: #C3D2E2;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
}

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

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

a { color: var(--turquoise); }
a:hover { color: #8ADCEE; }

.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 48px clamp(20px, 6.5vw, 96px);
  max-width: 1600px;
  margin: 0 auto;
}

.waves {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 360px;
  fill: none;
  stroke: var(--wave);
  stroke-width: 1.5;
  pointer-events: none;
}

/* Header */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #FFFFFF; }
.brand-icon { width: 40px; height: 40px; flex: none; }
.wordmark { display: inline-flex; flex-direction: column; gap: 8px; }
.wordmark-name { font-size: 23px; font-weight: 600; letter-spacing: 0.22em; margin-right: -0.22em; line-height: 1; }
.wordmark-name .east { color: var(--ocean); }
.wordmark-name .lantic { color: var(--turquoise); }
.wordmark-sub { display: flex; justify-content: space-between; font-size: 9px; font-weight: 500; line-height: 1; color: var(--text-muted); }
.nav-link { font-size: 15px; font-weight: 500; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  flex-grow: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6.5vw, 96px);
  align-items: center;
  padding: 56px 0;
}
.intro { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--turquoise); }
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.lede { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.lede p { margin: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--text-soft); }
.lede strong { color: #FFFFFF; font-weight: 500; }

.services { list-style: none; margin: 0; padding: 8px 0 0; display: flex; gap: 32px; font-size: 15px; }
.services li { flex: 1; border-top: 1px solid var(--line); padding-top: 14px; }

/* Contact card */
.contact-card {
  justify-self: end;
  width: 100%;
  max-width: 520px;
  background: var(--foam);
  color: var(--navy);
  border-radius: 16px;
  padding: 40px;
}
.contact-card h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.contact-note { margin: 0 0 20px; font-size: 15px; color: var(--ink-muted); }
.contact-note a { color: var(--ocean); }

form { display: flex; flex-direction: column; gap: 16px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
input, textarea {
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid var(--field);
  border-radius: 8px;
  padding: 0 12px;
  height: 44px;
  width: 100%;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 120px; }
input:focus, textarea:focus { outline: 2px solid var(--ocean); outline-offset: 1px; border-color: var(--ocean); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

button {
  font: inherit;
  cursor: pointer;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}
button:hover { background: #13315C; }
button:focus-visible { outline: 2px solid var(--ocean); outline-offset: 2px; }
button[disabled] { opacity: 0.6; cursor: wait; }
.btn-outline { align-self: flex-start; height: 44px; padding: 0 20px; background: transparent; color: var(--navy); border: 1px solid var(--navy); font-size: 15px; font-weight: 500; }
.btn-outline:hover { background: rgba(10, 31, 60, 0.06); }

.form-error { margin: 0; font-size: 14px; color: #A12A2A; }
.form-error a { color: #A12A2A; }

.thanks-view { display: flex; flex-direction: column; gap: 12px; padding: 48px 0; }
.thanks-view p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
[hidden] { display: none !important; }

/* Footer */
.site-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }

/* Tablet & phone */
@media (max-width: 900px) {
  .page { padding-top: 28px; padding-bottom: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 40px 0; gap: 40px; }
  .contact-card { justify-self: stretch; max-width: none; padding: 28px 22px; }
  .services { flex-direction: column; gap: 0; }
  .services li { padding: 12px 0; }
  .services li:last-child { border-bottom: 1px solid var(--line); }
  .site-footer { flex-direction: column-reverse; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .brand-icon { width: 32px; height: 32px; }
  .wordmark-name { font-size: 18px; }
  .wordmark-sub { font-size: 8px; }
  .wordmark { gap: 6px; }
  input, textarea { font-size: 16px; }
}
