/* ============================================
   ANTAEUS RESEARCH GROUP — DESIGN TOKENS
   ============================================ */
:root{
  --bg:          #F3F2EC;   /* warm off-white page */
  --bg-dark:     #183C36;   /* same as forest-deep*/
  --bg-alt:      #ECEDE5;   /* alternating section band */
  --surface:     #FAF9F5;   /* cards and panels */
  --ink:         #1B1F1C;   /* near-black body text */
  --ink-muted:   #5B625C;   /* secondary text, captions */
  --line:        #D8DBD2;   /* hairline rules and borders */
  --line-strong: #C3C8BC;

  --forest:      #183C36;   /* primary accent: links, buttons, logo */
  --forest-deep: #1E3227;   /* hover states, footer */
  --forest-tint: rgba(47,74,58,0.08);
  --sage:        #A7B5A3;
  --lake:        #0A61B0;
  --red:         #66120A;
  --gray:        #262626;

  --serif: Crimson Pro, "Times New Roman", serif;
  --logo: Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1040px;
  --gutter: 32px;
  --radius: 6px;
  --radius-sm: 4px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--serif);
  font-size:18px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  font-variant-numeric:lining-nums;
}

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

a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:500;
  line-height:1.15;
  margin:0 0 0.5em 0;
  letter-spacing:-0.01em;
  color:var(--ink);
}
h3,h4{ font-weight:600; letter-spacing:0; }

p{ margin:0 0 1em 0; }

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

/* Small-caps label above headings; the only place the sans appears besides UI */
.eyebrow{
  display:block;
  font-family:var(--sans);
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--forest);
  margin-bottom:14px;
}
p + .eyebrow, ul + .eyebrow{ margin-top:36px; }

::selection{ background:var(--forest); color:var(--bg); }

/* focus visibility */
a:focus-visible, button:focus-visible, .btn:focus-visible{
  outline:2px solid var(--forest);
  outline-offset:3px;
  border-radius:var(--radius-sm);
}

/* ============================================
   HEADER — Lake Michigan scene with top bar
   ============================================ */
.site-header{
  position:relative;
  height:clamp(750px, 27.5vw, 400px);
  background:var(--bg) url("../assets/images/Chicago Skyline 1 (Jeff Brown).jpg") center top / cover no-repeat;
}
.topbar{
  display:flex;
  align-items:center;
  gap:44px;
  padding:18px 24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
}
.brand img{ height:46px; width:auto; }
.brand-name{
  font-family:var(--logo);
  font-size:1.4rem;
  font-weight:600;
  line-height:1.05;
  letter-spacing:0.005em;
}
.brand-name small{
  display:block;
  font-family:var(--serif);
  font-size:0.6rem;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--ink-muted);
  margin-top:4px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav-links a{
  font-size:1.08rem;
  color:var(--ink-muted);
  padding:4px 0;
  border-bottom:1px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.nav-links a:hover{ color:var(--forest); }
.nav-links a.active{ color:var(--ink); border-bottom-color:var(--forest); }
.nav-cta{
  margin-left:auto;
  font-family:var(--sans);
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--forest);
  background:rgba(250,249,245,0.7);
  border:1px solid var(--forest);
  padding:10px 16px;
  border-radius:var(--radius-sm);
  white-space:nowrap;
  transition:background .15s ease, color .15s ease;
}
.nav-cta:hover{ background:var(--forest); color:var(--bg); }

@media (max-width:760px){
  .topbar{ flex-wrap:wrap; gap:10px 16px; padding:14px 16px; }
  .brand img{ height:38px; }
  .brand-name{ font-size:1.2rem; }
  .nav-cta{ padding:8px 12px; font-size:0.68rem; }
  .nav{ order:3; width:100%; }
  .nav-links{ gap:22px; }
  .nav-links a{ font-size:1rem; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 22px;
  border-radius:var(--radius-sm);
  font-family:var(--sans);
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  line-height:1.2;
  cursor:pointer;
  border:1px solid var(--forest);
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--forest); color:var(--bg); }
.btn-primary:hover{ background:var(--forest-deep); border-color:var(--forest-deep); }
.btn-ghost{ color:var(--forest); }
.btn-ghost:hover{ background:var(--forest-tint); }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* ============================================
   HERO
   ============================================ */
.hero{
  padding:64px 0 80px;
}
.hero h1{
  font-size:clamp(2.3rem, 4.4vw, 3.3rem);
}
.hero h1 em{ color:var(--forest); }
.hero-sub{
  font-size:1.15rem;
  max-width:60ch;
  margin-bottom:32px;
}
@media (max-width:520px){
  .hero{ padding:40px 0 56px; }
}

/* ============================================
   SECTIONS / GENERIC
   ============================================ */
section{ padding:80px 0; }
.section-tight{ padding:56px 0; }
.section-border-top{ border-top:1px solid var(--line); }
.section-deep{ background:var(--bg-alt); }

.section-head{
  max-width:720px;
  margin-bottom:44px;
}
.section-head.tight{ margin-bottom:28px; }
.section-head:last-child{ margin-bottom:0; }
.section-head h2{ font-size:clamp(1.75rem, 3vw, 2.3rem); }
.section-head p{ font-size:1.05rem; }
.section-head p:last-child{ margin-bottom:0; }
/* Heading on the left, action on the right (stacks on narrow screens) */
.section-head.row{
  max-width:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px 40px;
  flex-wrap:wrap;
}
.section-head.row h2:last-child{ margin-bottom:0; }
.section-head.row > div{ flex:1 1 320px; max-width:600px; }

.subhead{ font-size:clamp(1.5rem, 2.4vw, 1.75rem); }

.inline-link{
  color:var(--forest);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.inline-link:hover{ color:var(--forest-deep); text-decoration-thickness:2px; }

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; gap:40px; } }

/* ============================================
   CARDS
   ============================================ */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
@media (max-width:900px){ .card-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .card-grid{ grid-template-columns:1fr; } }

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  transition:border-color .2s ease, transform .2s ease;
}
.card:hover{ border-color:var(--line-strong); transform:translateY(-2px); }
.card h3{ font-size:1.1rem; line-height:1.3; margin-bottom:10px; }
.card p{ font-size:0.95rem; margin-bottom:0; }
.card-icon{
  width:38px; height:38px;
  border-radius:var(--radius);
  background:var(--forest-tint);
  color:var(--forest);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}

/* Four-up variant for audience cards (Projects page) */
.card-grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:1000px){ .card-grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .card-grid-4{ grid-template-columns:1fr; } }

/* Two-by-two variant for the Projects brief. Fills down each column, so the
   order (context, question | hypothesis, why) matches the stacked mobile order */
.card-grid-2x2{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:auto auto;
  grid-auto-flow:column;
  gap:14px;
}
.card-grid-2x2 .card p{ font-size:1rem; }
@media (max-width:860px){ .card-grid-2x2{ grid-template-columns:1fr; grid-template-rows:none; grid-auto-flow:row; } }

/* ============================================
   APPROACH CYCLE (Home): three cards in a triangle, joined by arrows that
   draw 1 → 2 → 3 → 1 when the section scrolls into view (js/main.js)
   ============================================ */
.section-continue{ padding-top:0; }   /* carries on the band above without a seam */
.cycle{
  --cycle-gap:120px;
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-areas:"top top" "left right";
  column-gap:var(--cycle-gap);
  row-gap:96px;
}
.cycle-card{ position:relative; z-index:1; }
.cycle-card[data-step="1"]{ grid-area:top; justify-self:center; width:calc((100% - var(--cycle-gap)) / 2); }
.cycle-card[data-step="2"]{ grid-area:right; }
.cycle-card[data-step="3"]{ grid-area:left; }
.cycle-card.is-active{ border-color:var(--forest); }
.cycle-card.is-hit{ animation:cycle-push .55s ease-out; }
@keyframes cycle-push{
  35%{ transform:translate(var(--push-x, 0), var(--push-y, 0)); box-shadow:0 8px 22px rgba(30,50,39,0.12); }
}
.cycle-arrows{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
.cycle-track{ fill:none; stroke:var(--line-strong); stroke-width:1.5; stroke-dasharray:2 6; stroke-linecap:round; }
.cycle-line{ fill:none; stroke:var(--forest); stroke-width:1.8; stroke-linecap:round; }
.cycle-head{ fill:var(--forest); }
@media (max-width:760px){
  .cycle{ grid-template-columns:1fr; grid-template-areas:"top" "right" "left"; row-gap:64px; padding-right:40px; }
  .cycle-card[data-step="1"]{ width:auto; justify-self:stretch; }
}
.audience-label{
  display:block;
  font-family:var(--sans);
  font-size:0.68rem;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--forest);
  margin-bottom:8px;
}

/* ============================================
   MYTH / STORY BLOCK
   ============================================ */
.myth-block{
  display:grid;
  grid-template-columns:0.8fr 1.2fr;
  gap:56px;
  align-items:center;
}
.myth-mark{
  display:flex;
  justify-content:center;
}
.myth-mark img{ width:240px; }
@media (max-width:860px){ .myth-block{ grid-template-columns:1fr; gap:36px; } .myth-mark img{ width:165px; } }

/* ============================================
   PROJECT / TEASER STRIP
   ============================================ */
.project-teaser{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:40px;
  display:grid;
  grid-template-columns:1.25fr 0.75fr;
  gap:44px;
  align-items:center;
}
.project-teaser h3{ font-size:1.45rem; font-weight:500; line-height:1.25; }
.project-teaser p{ margin-bottom:24px; }
.mini-stats{ display:flex; flex-direction:column; gap:20px; }
.mini-stat{ border-left:2px solid var(--forest); padding-left:16px; }
.mini-stat .n{ font-family:var(--serif); font-weight:500; color:var(--forest); font-size:1.45rem; line-height:1.2; display:block; font-variant-numeric:lining-nums tabular-nums; }
.mini-stat .l{ font-size:0.88rem; line-height:1.45; color:var(--ink-muted); display:block; }
@media (max-width:860px){ .project-teaser{ grid-template-columns:1fr; padding:28px; gap:32px; } }

/* ============================================
   TEAM
   ============================================ */
.team-photo{
  aspect-ratio:4/5;
  width:100%;
  object-fit:cover;
  background:var(--bg-alt);
  display:block;
}
.team-photo-placeholder{
  aspect-ratio:4/5;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(160deg, var(--bg-alt), #DDE2D8);
}
.team-initial{
  font-family:var(--serif);
  font-size:3rem;
  color:var(--forest);
  border:1.5px solid var(--sage);
  width:88px; height:88px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.team-role{
  font-family:var(--sans);
  font-size:0.66rem;
  font-weight:600;
  letter-spacing:0.08em;
  color:var(--forest);
  text-transform:uppercase;
  display:block;
  line-height:1.5;
}

.team-full-grid{
  display:grid;
  gap:18px;
}
.team-full-card{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:28px;
  align-items:start;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
}
.team-full-card .team-photo, .team-full-card .team-photo-placeholder{
  aspect-ratio:4/5;
  width:150px;
  border-radius:var(--radius-sm);
}
.team-full-card .team-initial{ width:64px; height:64px; font-size:2rem; }
.team-full-card h3{ font-size:1.2rem; margin-bottom:4px; }
.team-full-card p{ font-size:0.98rem; line-height:1.65; margin:12px 0 0; max-width:68ch; }
@media (max-width:520px){
  .team-full-card{ grid-template-columns:1fr; }
  .team-full-card .team-photo, .team-full-card .team-photo-placeholder{ width:120px; }
}

/* ============================================
   METHOD STEPS
   ============================================ */
.method-steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.method-step{
  padding:28px 26px;
  border-right:1px solid var(--line);
}
.method-step:last-child{ border-right:none; }
.method-step .num{
  font-family:var(--sans);
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.12em;
  color:var(--forest);
  font-variant-numeric:tabular-nums;
  display:block;
  margin-bottom:14px;
}
.method-step h4{ font-size:1.08rem; margin-bottom:8px; }
.method-step p{ font-size:0.95rem; margin-bottom:0; }
@media (max-width:800px){
  .method-steps{ grid-template-columns:1fr; }
  .method-step{ border-right:none; border-bottom:1px solid var(--line); }
  .method-step:last-child{ border-bottom:none; }
}

/* ============================================
   LIST / NEEDS / TAGS
   ============================================ */
.tag-list{ display:flex; flex-wrap:wrap; gap:10px; }
.pill{
  font-family:var(--sans);
  font-size:0.74rem;
  font-weight:500;
  line-height:1.3;
  padding:7px 14px;
  border:1px solid var(--line-strong);
  background:var(--surface);
  border-radius:999px;
  color:var(--ink);
}
.check-list{ list-style:none; margin:0; padding:0; }
.check-list li{
  position:relative;
  padding-left:26px;
  margin-bottom:12px;
}
.check-list li::before{
  content:"→";
  position:absolute;
  left:0;
  color:var(--forest);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band{
  background:var(--bg-alt);
  border-top:1px solid var(--line);
  padding:72px 0;
  text-align:center;
}
.cta-band h2{ font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:14px; }
.cta-band p{ max-width:56ch; margin:0 auto 30px; }
.cta-band .btn-row{ justify-content:center; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background:var(--forest-deep);
  color:rgba(243,242,236,0.78);
  padding:56px 0 30px;
}
.site-footer .brand,
.site-footer .brand-name small{ color:var(--bg); }
.site-footer .brand img{ filter:brightness(0) invert(0.95); }
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  padding-bottom:36px;
  border-bottom:1px solid rgba(243,242,236,0.14);
  margin-bottom:24px;
}
.footer-brand{ max-width:360px; }
.footer-brand .brand{ margin-bottom:16px; }
.footer-brand p{ font-size:0.92rem; margin:0; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h5{
  font-family:var(--sans);
  font-size:0.68rem;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--sage);
  margin:0 0 16px;
}
.footer-col a{
  display:block;
  font-size:0.95rem;
  margin-bottom:10px;
  transition:color .15s ease;
}
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-family:var(--sans);
  font-size:0.76rem;
  color:rgba(243,242,236,0.6);
}
.site-footer a:focus-visible{ outline-color:var(--bg); }

/* ============================================
   PAGE HEADER (About / Projects)
   ============================================ */
.page-header{
  padding:64px 0 64px;
}
.page-header h1{
  font-size:clamp(2.1rem,4vw,2.9rem);
  max-width:22ch;
}
.page-header p{ max-width:60ch; font-size:1.12rem; }

/* Headline left, supporting paragraphs right (About intro) */
.page-header-split{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:56px;
  align-items:start;
}
.page-header-split h1{ max-width:none; margin-bottom:0; }
.page-header-split p{ font-size:1.05rem; max-width:none; }
.page-header-split p:last-child{ margin-bottom:0; }
@media (max-width:860px){ .page-header-split{ grid-template-columns:1fr; gap:28px; } }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

@media (max-width:760px){
  :root{ --gutter:16px; }
  body{ font-size:17px; }
  section{ padding:60px 0; }
  .cta-band{ padding:56px 0; }
}
