/* =====================================================
   Three Flights + FieldLight Lab — shared styles
   Colors come from the Nov 2026 brand kit. Change them here.
   ===================================================== */
:root {
  --mist: #C2D9E2;      /* mist blue */
  --sage: #C9E2CE;      /* silvery green */
  --overlap: #8CB6AE;   /* where the petals overlap */
  --charcoal: #303735;  /* text */
  --muted: #5d6764;     /* secondary text */
  --line: #dfe5e3;      /* thin rules */
  --wash: #f5f8f7;      /* pale section background */
  --white: #ffffff;
  --serif: "Libre Baskerville", Baskerville, Georgia, serif;
  --sans: "Figtree", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 15px; color: var(--muted); letter-spacing: .01em; }

/* ---------- Header (sits on the hero photo) ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding: 28px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; }
.brand img { height: 40px; width: auto; }
.brand small { font-size: 15px; opacity: .9; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { color: #fff; text-decoration: none; font-size: 17px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn-outline {
  border: 1.5px solid rgba(255,255,255,.9); border-radius: 3px; padding: 10px 18px;
}
.nav .btn-outline:hover { background: rgba(255,255,255,.12); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 860px); display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
/* soft dark wash on the left so white text stays readable over bright sky */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25,40,50,.55) 0%, rgba(25,40,50,.28) 45%, rgba(25,40,50,0) 75%),
              linear-gradient(180deg, rgba(25,40,50,.35) 0%, rgba(25,40,50,0) 22%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 110px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(44px, 7vw, 86px); letter-spacing: -.01em; max-width: 11ch; }
.hero p.lede { font-size: clamp(18px, 2vw, 22px); max-width: 34ch; margin-top: 26px; line-height: 1.5; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 38px; }
.btn {
  display: inline-block; background: #d7ece0; color: var(--charcoal);
  padding: 14px 28px; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 17px;
}
.btn:hover { background: #fff; }
.link-underline { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 7px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-head p { margin-top: 14px; font-size: 20px; max-width: 46ch; }

/* Intro with petal mark */
.intro .wrap { display: grid; grid-template-columns: 1fr 200px; gap: 48px; align-items: center; }
.intro h2 { font-size: clamp(34px, 4.5vw, 52px); }
.intro p { margin-top: 18px; font-size: 21px; max-width: 44ch; }
.intro img { width: 170px; justify-self: end; }

/* Three columns (services, steps) */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.col { border-top: 1px solid var(--line); padding-top: 26px; }
.col .num { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.col h3 { font-size: 27px; margin-bottom: 14px; }
.col p { color: var(--charcoal); }
.col.lead h3::after {
  content: ""; display: block; width: 44px; height: 3px; background: var(--overlap); margin-top: 14px;
}

/* Second row: other areas of work */
.also { margin-top: 72px; }
.also > h3 { font-size: 24px; margin-bottom: 26px; }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.also-grid > div { border-top: 1px solid var(--line); padding-top: 18px; }
.also h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.also p { font-size: 16px; color: var(--muted); }
@media (max-width: 880px) { .also-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .also-grid { grid-template-columns: 1fr; } }

/* Thoughtful AI strip under the services */
.ai-note {
  margin-top: 56px; padding: 26px 30px; background: var(--wash); border-left: 3px solid var(--overlap);
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: baseline;
}
.ai-note h3 { font-size: 22px; }
.ai-note p { max-width: 70ch; }

/* Client logos: quiet grayscale row, color on hover */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; margin-top: 56px; }
.logos img { max-height: 54px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }
.logos img.tall { max-height: 70px; }

/* Proof numbers */
.proof { background: var(--wash); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; color: #4f7f77; }
.stat span { display: block; margin-top: 14px; font-size: 16px; color: var(--charcoal); }
.proof .note { margin-top: 44px; font-size: 16px; color: var(--muted); max-width: 70ch; }

/* FieldLight band */
.band .wrap { display: grid; grid-template-columns: 180px 1fr auto; gap: 48px; align-items: center; }
.band img { width: 160px; }
.band h2 { font-size: 36px; }
.band .from { color: var(--muted); font-size: 16px; margin-top: 6px; }
.band p.what { margin-top: 14px; font-size: 20px; max-width: 46ch; }
.btn-dark {
  display: inline-block; border: 1.5px solid var(--charcoal); color: var(--charcoal);
  padding: 12px 22px; border-radius: 3px; text-decoration: none; font-weight: 600; white-space: nowrap;
}
.btn-dark:hover { background: var(--charcoal); color: #fff; }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.about h2 { font-size: clamp(32px, 4vw, 44px); }
.about .role { margin-top: 12px; color: var(--muted); }
.about .bio p + p { margin-top: 20px; }

/* Contact */
.contact { background: var(--wash); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact h2 { font-size: clamp(32px, 4vw, 44px); }
.contact .intro-text p { margin-top: 18px; max-width: 36ch; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
input, textarea {
  font: inherit; font-weight: 400; font-size: 17px; color: var(--charcoal);
  border: 1px solid #c9d3d0; border-radius: 3px; padding: 12px 14px; background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--overlap); outline-offset: 1px; border-color: var(--overlap); }
textarea { min-height: 150px; resize: vertical; }
form button {
  justify-self: start; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--charcoal); color: #fff; border: 0; border-radius: 3px; padding: 14px 30px;
}
form button:hover { background: #1d2221; }
.form-status { font-size: 16px; }
.hidden { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 28px; width: auto; }
.site-footer .small { font-size: 15px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 880px) {
  .nav a:not(.btn-outline) { display: none; }
  .cols, .stats { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cols { grid-template-columns: 1fr; }
  .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .band .wrap { grid-template-columns: 1fr; gap: 24px; }
  .band img { width: 120px; }
  .intro .wrap { grid-template-columns: 1fr; }
  .intro img { justify-self: start; width: 120px; order: -1; }
  .ai-note { grid-template-columns: 1fr; gap: 10px; }
  .logos { gap: 28px 36px; }
  .logos img { max-height: 42px; max-width: 120px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .site-header { padding: 18px 0; }
  .brand img { height: 30px; }
  .nav .btn-outline { padding: 8px 12px; font-size: 15px; }
  section { padding: 64px 0; }
  .hero { min-height: min(92vh, 760px); }
  .hero::before { background: linear-gradient(180deg, rgba(25,40,50,.45) 0%, rgba(25,40,50,.35) 60%, rgba(25,40,50,.15) 100%); }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat strong { font-size: 40px; }
}
