/* terarogers.com: clean, framed, all-sans layout (matches the approved homepage reference). */
:root {
  /* Tera's green: the sage from the mentorship brand (#8CC387), with deeper shades for text and buttons. */
  --green: #8cc387;
  --green-deep: #2f6b3a;      /* white text on this passes WCAG AA */
  --green-ink: #1d3a23;
  --green-soft: #eef6ec;
  --green-soft-2: #deeedb;
  --bg: #eef6ec;
  --page: #ffffff;
  --ink: #18201a;
  --ink-2: #39443b;
  --muted: #66706a;
  --line: #e2ebe0;
  --soft: var(--green-soft);
  --soft-2: var(--green-soft-2);
  --focus: #2f6b3a;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame: 1180px;
  --pad: clamp(16px, 2.4vw, 28px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); line-height: 1.25; letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; }
h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; }
h3 { font-size: 1.05rem; font-weight: 500; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.test-banner { margin: 0; background: var(--green-ink); color: #eef6ec; text-align: center; font-size: .78rem; padding: 6px 12px; }
.ico { width: .8em; height: .8em; display: inline-block; vertical-align: -.02em; margin-left: .45em; }

/* ---------- the frame: one white column with hairline sides */
.frame { max-width: var(--frame); margin: 0 auto; background: var(--page); border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100vh; }
.wrap { padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); margin-bottom: .6em; }
.muted { color: var(--muted); }
.lede { color: var(--muted); max-width: 70ch; }

/* ---------- header: uppercase text nav with pipes, wordmark on the right */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: inset 0 3px 0 var(--green); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 0 var(--pad); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; }
.primary-nav ul { flex-wrap: nowrap; }
.primary-nav li + li::before { content: "|"; color: var(--ink-2); margin: 0 clamp(4px, .7vw, 7px); }
.primary-nav a { font-size: clamp(.8rem, 1.55vw, 1.02rem); white-space: nowrap; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wordmark { font-size: clamp(.8rem, 1.4vw, .95rem); font-weight: 700; letter-spacing: .22em; text-decoration: none; color: var(--green-deep); white-space: nowrap; margin: 0; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span[aria-hidden], .burger span[aria-hidden]::before, .burger span[aria-hidden]::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); content: ""; transition: transform .2s; }
.burger span[aria-hidden] { top: 21px; }
.burger span[aria-hidden]::before { left: 0; top: -7px; }
.burger span[aria-hidden]::after { left: 0; top: 7px; }
.nav-open .burger span[aria-hidden] { background: transparent; }
.nav-open .burger span[aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span[aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 600px) {
  .burger { display: block; }
  .wordmark { order: -1; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--page); border-bottom: 1px solid var(--line); display: none; }
  .nav-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: 4px var(--pad) 12px; }
  .primary-nav li + li::before { display: none; }
  .primary-nav li { border-top: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 14px 0; }
}

/* ---------- buttons: soft grey and outlined, rounded rectangles */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 10px; font: 400 1.02rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; color: var(--ink); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-soft, .btn-solid { background: var(--green-deep); color: #fff; }
.btn-soft:hover, .btn-solid:hover { background: var(--green-ink); color: #fff; }
.btn-line, .btn-outline { background: var(--page); color: var(--green-deep); border-color: var(--green); }
.btn-line:hover, .btn-outline:hover { background: var(--green-soft); border-color: var(--green-deep); }
.btn-ghost-light { background: transparent; color: #fff; border-color: var(--green); }
.btn-ghost-light:hover { background: var(--green); color: var(--green-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.text-link { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* ---------- hero: full-width photo, copy panel below */
.hero { border-bottom: 1px solid var(--line); }
.hero-media { margin: 0; position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; background: #dfe3e6; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-interim::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover no-repeat; filter: blur(36px) saturate(.9) brightness(1.05); transform: scale(1.1); }
.hero-interim > img { position: relative; width: auto; height: 100%; margin: 0 auto; object-fit: contain; }
.hero-copy { padding: 22px var(--pad) 28px; }
.hero-copy h1 { margin-bottom: .7em; }
.hero-roles { color: var(--ink); margin-bottom: .9em; }
.hero-intro { color: var(--muted); max-width: 76ch; margin-bottom: 1.1em; }

/* ---------- sections */
.section { padding: clamp(24px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { display: none; }
.section-dark { background: var(--green-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
@media (max-width: 820px) { .split, .split-5-7 { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; color: var(--ink-2); }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.page-head { padding: clamp(24px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 26ch; }

/* ---------- Explore My Work: 2x2 photo cards */
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.work-card a { display: block; text-decoration: none; color: inherit; }
.work-art { aspect-ratio: 5 / 3; border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: var(--soft); }
.work-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card a:hover .work-art img { transform: scale(1.03); }
.card-mark { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--muted); }
.work-title { font-size: 1.05rem; font-weight: 500; margin: 0 0 2px; }
.work-kicker { color: var(--muted); margin: 0; }
.work-site { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.work-more { margin: 6px 0 0; font-size: .92rem; }
.work-summary { color: var(--ink-2); font-size: .95rem; margin: 8px 0 0; max-width: 54ch; }
.work-card a:hover .work-title { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--green); }
.work-art { box-shadow: inset 0 -4px 0 var(--green); }

/* ---------- background / credibility */
.portrait { margin: 0; }
.portrait img { border-radius: 12px; width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; }
.logo-row { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.logo-row li { font-size: .95rem; padding: 8px 14px; background: var(--green-soft); border: 1px solid var(--green-soft-2); border-radius: 999px; color: var(--green-ink); }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding: 14px 0; }
.facts dt { font-weight: 500; }
.facts dd { margin: 2px 0 0; color: var(--muted); }

/* ---------- approach */
.approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.approach li { background: var(--green-soft); border-top: 3px solid var(--green); border-radius: 12px; padding: 18px; }
.approach .num { font-size: .78rem; font-weight: 600; color: var(--green-deep); }
.approach h3 { margin: 8px 0 6px; }
.approach p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 980px) { .approach { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .approach { grid-template-columns: 1fr; } }

/* ---------- insights */
.article-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 820px) { .article-grid { grid-template-columns: 1fr; } }
.article-card a { display: block; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.article-card a:hover { border-color: var(--green); }
.article-card .meta { color: var(--muted); font-size: .85rem; margin: 0; }
.empty-state { background: var(--soft); border-radius: 12px; padding: 20px; color: var(--ink-2); max-width: 820px; }
.empty-state p:last-child { margin: 0; }
.article header { padding: clamp(24px, 4vw, 48px) 0 8px; }
.article h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.byline { color: var(--muted); font-size: .92rem; }
.article > p, .article > ul, .article > ol, .article > h2, .article > h3 { max-width: 70ch; }
.takeaway { background: var(--soft); padding: 16px 20px; margin: 20px 0; border-radius: 12px; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 20px; margin: 40px 0; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- topics + Q&A rows */
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.topic-list li { border-top: 1px solid var(--line); padding: 14px 0; }
.topic-list h3 { margin-bottom: 2px; }
.topic-list p { margin: 0; color: var(--muted); }
.qa { border-top: 1px solid var(--line); }
.qa > div { display: grid; grid-template-columns: 1fr 1.7fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; }
.qa p { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { .qa > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- forms */
.lead-form { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 500; font-size: .92rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #d6d6d2; border-radius: 10px; padding: 11px 13px; min-height: 46px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field [aria-invalid="true"] { border-color: #a23b2a; }
.field .err { color: #a23b2a; font-size: .85rem; margin: 0; }
.check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--ink); }
.check label { font-weight: 400; font-size: .84rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-error { color: #a23b2a; margin: 0; }
.lead-form .btn { justify-self: start; }
.check input { accent-color: var(--green-deep); }
.form-success { background: var(--soft); border-radius: 10px; padding: 16px 18px; }
.lead-form.sent > :not(.form-success) { display: none; }
.lead-form.sent .form-success { display: block; }

/* ---------- breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: none; }

/* ---------- footer */
.site-footer { padding: 36px 0 20px; background: var(--green-ink); color: #d5e6d2; }
.site-footer .wordmark { color: #fff; }
.site-footer .eyebrow { color: var(--green); }
.site-footer .muted, .footer-legal { color: #a9c3a6 !important; }
.footer-legal { border-top-color: rgba(140,195,135,.25) !important; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; padding: 0 var(--pad); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.site-footer .wordmark { margin-bottom: 8px; }
.footer-legal { margin-top: 28px; padding: 16px var(--pad) 0; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.footer-legal p { margin: 0; }
.footer-legal a { margin-right: 12px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- misc */
.callout { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.price { font-size: 1.8rem; font-weight: 600; }
