/* Ants Project site styles. Fonts are self-hosted (fonts/), no third-party requests. */
@font-face{font-family:"Inter";src:url("/fonts/inter.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("/fonts/source-serif-4.woff2") format("woff2");font-weight:200 900;font-style:normal;font-display:swap}

:root{
  --ink:#17201c;          /* headings, body text */
  --text:#2e3833;
  --muted:#55605b;        /* 6.6:1 on white */
  --line:#e3e7e4;
  --surface:#f5f6f2;      /* warm off-white sections */
  --surface-2:#ebefe9;
  --brand:#2f5d50;        /* 7.3:1 on white */
  --brand-dark:#234639;
  --brand-tint:#e4ede8;
  --accent:#b8752d;       /* small highlights only */
  --radius:10px;
  --shadow:0 1px 2px rgba(23,32,28,.05),0 6px 20px rgba(23,32,28,.06);
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{font-family:var(--sans);font-size:17px;color:var(--text);line-height:1.65;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--brand-dark)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
h1,h2,h3{color:var(--ink);line-height:1.2}
h1,h2{font-family:var(--serif);font-weight:600;letter-spacing:-.01em}
h3{font-weight:600;letter-spacing:-.005em}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.narrow{max-width:740px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:6px;z-index:100}
.skip:focus{left:16px}
.eyebrow{display:block;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:14px}
.muted{color:var(--muted)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(8px);-webkit-backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center;min-height:68px;gap:16px;flex-wrap:wrap}
.logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:var(--ink);text-decoration:none;letter-spacing:-.01em}
.logo svg{flex:none}
.site-nav{display:flex;gap:4px;flex-wrap:wrap}
.site-nav a{padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--muted);font-size:15px;font-weight:500;transition:background .15s,color .15s}
.site-nav a:hover{background:var(--surface);color:var(--ink)}
.site-nav a[aria-current="page"]{color:var(--brand);background:var(--brand-tint)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--brand);color:#fff;padding:13px 22px;border-radius:8px;text-decoration:none;font-weight:600;font-size:16px;transition:background .15s,transform .15s;min-height:48px}
.btn:hover{background:var(--brand-dark);color:#fff}
.btn-ghost{background:transparent;color:var(--brand);box-shadow:inset 0 0 0 1.5px var(--brand)}
.btn-ghost:hover{background:var(--brand-tint);color:var(--brand-dark)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

/* Hero */
.hero{background:var(--surface);padding:88px 0 96px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(34px,4.6vw,52px);line-height:1.1;max-width:19ch}
.hero .lead{font-size:19px;color:var(--muted);max-width:56ch;margin-top:22px}
.hero-media{margin:0;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;background:var(--surface-2)}
.hero-media img{width:100%;height:100%;object-fit:cover}
.hero-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:var(--shadow)}
.hero-panel h2{font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:16px}
.facts{list-style:none;display:grid;gap:14px}
.facts li{display:flex;gap:12px;align-items:flex-start;color:var(--text);font-size:16px}
.facts svg{flex:none;margin-top:3px;color:var(--brand)}

/* Sections */
section{padding:88px 0}
.section-head{max-width:640px;margin-bottom:44px}
.section-head h2{font-size:clamp(28px,3.4vw,38px)}
.section-head p{color:var(--muted);margin-top:12px;font-size:18px}
.alt{background:var(--surface)}

/* Service cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;transition:border-color .15s,box-shadow .15s}
.card:hover{border-color:#cdd6d1;box-shadow:var(--shadow)}
.card h3{font-size:19px;margin:16px 0 8px}
.card p{color:var(--muted);font-size:16px}
.icon{width:44px;height:44px;border-radius:10px;background:var(--brand-tint);color:var(--brand);display:grid;place-items:center}

/* Audience */
.audience{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none}
.audience li{background:#fff;border-radius:var(--radius);padding:24px 24px 24px 24px;border-top:3px solid var(--brand);font-size:17px;color:var(--text)}
.audience strong{display:block;color:var(--ink);font-size:18px;margin-bottom:6px}

/* Steps */
.steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:step}
.steps li{counter-increment:step;position:relative;padding-top:56px}
.steps li:before{content:counter(step);position:absolute;top:0;left:0;width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;display:grid;place-items:center;font-size:16px}
.steps li:after{content:"";position:absolute;top:20px;left:52px;right:-8px;height:2px;background:var(--line)}
.steps li:last-child:after{display:none}
.steps strong{display:block;color:var(--ink);font-size:18px;margin-bottom:6px}
.steps span{color:var(--muted);font-size:16px}

/* Photo band */
.photo-band{margin:0;border-radius:16px;overflow:hidden;aspect-ratio:21/8;background:var(--surface-2)}
.photo-band img{width:100%;height:100%;object-fit:cover;object-position:center 75%}

/* Post cards */
.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;list-style:none}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .15s,box-shadow .15s;position:relative}
.post-card:hover{border-color:#cdd6d1;box-shadow:var(--shadow)}
.post-card .thumb{aspect-ratio:16/9;background:var(--surface-2);overflow:hidden}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.post-card h3{font-family:var(--serif);font-size:21px;line-height:1.25}
.post-card h3 a{color:var(--ink);text-decoration:none}
.post-card h3 a:after{content:"";position:absolute;inset:0}
.post-card h3 a:focus-visible{outline:none}
.post-card:focus-within{outline:3px solid var(--accent);outline-offset:2px}
.post-card p{color:var(--muted);font-size:15.5px}
.post-meta{font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.tag{display:inline-block;font-size:12.5px;font-weight:600;color:var(--brand);background:var(--brand-tint);padding:3px 9px;border-radius:999px}
.post-card .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:8px}
.post-feature{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr}
.post-feature .thumb{aspect-ratio:4/3;min-height:0}
.post-feature .body{padding:36px;justify-content:center}
.post-feature h3{font-size:clamp(24px,3vw,32px)}
.post-feature:not(:has(.thumb)){grid-template-columns:1fr}
.more{margin-top:32px}

/* Page header (blog index, legal) */
.page-head{background:var(--surface);padding:64px 0 56px;border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(32px,4.5vw,46px)}
.page-head p{color:var(--muted);font-size:18px;margin-top:12px;max-width:60ch}
.page-body{padding:56px 0 88px}

/* Articles and legal docs */
.doc{max-width:740px;margin:0 auto;padding:0 24px}
.doc>*+*{margin-top:1.1em}
.doc h2{font-size:28px;margin-top:2em}
.doc h3{font-size:20px;margin-top:1.6em}
.doc p,.doc li{color:var(--text)}
.doc ul,.doc ol{padding-left:1.3em}
.doc li+li{margin-top:.45em}
.doc li::marker{color:var(--brand)}
.doc blockquote{border-left:3px solid var(--brand);padding:4px 0 4px 20px;color:var(--muted);font-family:var(--serif);font-size:20px;font-style:italic}
.doc pre{background:var(--surface);padding:14px;border-radius:8px;overflow-x:auto;font-size:14px}
.doc code{font-size:.9em;background:var(--surface);padding:1px 5px;border-radius:4px}
.doc pre code{background:none;padding:0}
.doc img{border-radius:10px;margin:8px 0}
.doc figure figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.doc hr{border:0;border-top:1px solid var(--line);margin:2.4em 0 1.4em}
.doc table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.doc th,.doc td{border-bottom:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.doc th{color:var(--ink);font-weight:600}
.legal h2{font-size:22px;margin-top:1.8em}

.article-head{padding:64px 0 32px}
.article-head .doc>*+*{margin-top:0}
.article-head h1{font-size:clamp(32px,4.6vw,48px);line-height:1.12;margin:6px 0 18px}
.article-head .summary{font-size:20px;color:var(--muted);line-height:1.55;margin-bottom:20px}
.back{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:500;text-decoration:none;margin-bottom:22px}
.cover{max-width:1040px;margin:0 auto 12px;padding:0 24px}
.cover img{width:100%;border-radius:16px;aspect-ratio:2/1;object-fit:cover;background:var(--surface-2)}
.article-body{padding:24px 0 72px;font-size:18px;line-height:1.75}
.article-body .doc h2{font-size:30px}
.sources,.doc .sources li{font-size:15px;color:var(--muted)}
.post-contact{margin-top:48px!important;padding:24px 28px;background:var(--surface);border-radius:var(--radius);color:var(--text)}
.post-contact strong{color:var(--ink)}

/* Contact block */
.contact{background:var(--brand);color:#e9f1ed}
.contact h2{color:#fff}
.contact .section-head p{color:#d4e2db}
.contact-row{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px}
.contact .btn{background:#fff;color:var(--brand-dark)}
.contact .btn:hover{background:var(--brand-tint)}
.contact .addr{color:#d4e2db;font-size:15px}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:40px 0;font-size:14px;color:var(--muted)}
.site-footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;align-items:center}
.site-footer nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.site-footer a{color:var(--muted);text-decoration:none;padding:6px 0}
.site-footer a:hover{color:var(--ink);text-decoration:underline}

/* Responsive */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-media{aspect-ratio:16/10}
  .steps{grid-template-columns:repeat(2,1fr);row-gap:36px}
  .steps li:nth-child(2):after{display:none}
  .audience{grid-template-columns:1fr}
  .post-feature{grid-template-columns:1fr}
  .post-feature .thumb{min-height:0;aspect-ratio:16/9}
  .post-feature .body{padding:24px}
}
@media (max-width:640px){
  body{font-size:16.5px}
  .wrap,.doc,.cover{padding-left:20px;padding-right:20px}
  .site-header{position:static}
  .site-header .wrap{padding-top:10px;padding-bottom:6px;min-height:0}
  .site-nav{width:calc(100% + 16px);margin:0 -8px;gap:0}
  .site-nav a{padding:12px 8px;font-size:15px}
  .hero{padding:56px 0 64px}
  section{padding:64px 0}
  .steps{grid-template-columns:1fr}
  .steps li:after{display:none}
  .grid,.post-grid{grid-template-columns:1fr}
  .article-head{padding:40px 0 20px}
  .article-body{font-size:17px}
  .photo-band{aspect-ratio:4/3}
}

/* Photo credits */
.hero-media,.photo-band{position:relative}
.hero-media figcaption,.photo-band figcaption{position:absolute;right:10px;bottom:10px;background:rgba(23,32,28,.7);color:#fff;font-size:12px;padding:3px 9px;border-radius:999px}
.hero-media figcaption a,.photo-band figcaption a{color:#fff}
.cover figcaption{font-size:13px;color:var(--muted);text-align:right;margin-top:8px}

/* Full-width photo hero */
.hero-full{position:relative;min-height:min(86vh,760px);display:flex;align-items:flex-end;padding:140px 0 96px;background:#1e2b25;color:#fff;isolation:isolate}
.hero-full .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;z-index:-2}
.hero-full .hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(14,22,18,.66) 0%,rgba(14,22,18,.4) 42%,rgba(14,22,18,0) 72%),linear-gradient(0deg,rgba(14,22,18,.5) 0%,rgba(14,22,18,0) 40%)}
.hero-full .hero-content{position:relative;width:100%}
.hero-full h1{color:#fff;font-size:clamp(36px,4.8vw,62px);max-width:20ch;text-shadow:0 2px 24px rgba(0,0,0,.25)}
.hero-full .lead{color:#e8eee9;max-width:52ch;font-size:20px}
.hero-full .eyebrow{color:#cfe3d8}
.hero-full .btn{background:#fff;color:var(--brand-dark)}
.hero-full .btn:hover{background:var(--brand-tint);color:var(--brand-dark)}
.hero-full .btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85)}
.hero-full .btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.hero-full :focus-visible{outline-color:#f2c38b}
.hero-credit{position:absolute;right:16px;bottom:12px;margin:0;font-size:12px;color:rgba(255,255,255,.85)}
.hero-credit a{color:#fff}
@media (max-width:640px){
  .hero-full{min-height:620px;padding:96px 0 64px}
  .hero-full .hero-bg{object-position:65% center}
  .hero-full .hero-shade{background:linear-gradient(0deg,rgba(14,22,18,.85) 0%,rgba(14,22,18,.55) 55%,rgba(14,22,18,.25) 100%)}
  .hero-full .lead{font-size:18px}
}

/* Full-width photo bands */
.photo-band{margin:0;border-radius:0;aspect-ratio:auto;height:clamp(280px,42vw,560px);position:relative}
.photo-band img{object-position:center 60%}
.cover{max-width:none;padding:0;margin:0 0 12px;position:relative}
.cover img{border-radius:0;aspect-ratio:auto;height:clamp(260px,46vw,620px);width:100%}
.cover figcaption{position:absolute;right:12px;bottom:10px;margin:0;background:rgba(23,32,28,.7);color:#fff;font-size:12px;padding:3px 9px;border-radius:999px}
.cover figcaption a{color:#fff}
@media (max-width:640px){.photo-band{aspect-ratio:auto;height:260px}.cover{padding:0}}
.about p{max-width:68ch;color:var(--text);font-size:18px}
