/* ==========================================================================
   /ai (AI & Automation) page styles. Loaded after main.css + route-b.css
   and scoped to body.concept-f.
   Same tokens, colours and rail grid as the shared system; new patterns only
   where the copy needs them (observations, situations).
   ========================================================================== */

/* Hero: longer headline than the approved site; same display role, slightly
   smaller ceiling so each sentence holds one or two lines. */
.concept-f .cf-hero__title { font-size: clamp(2.1375rem, 1.14rem + 4.18vw, 4.9875rem); }   /* 5% smaller */
.concept-f .cf-hero__lead { max-width: 44ch; font-size: calc(var(--fs-body) * 1.1); }   /* 10% larger */
.concept-f .hero__content { max-width: none; }   /* longer sentences: let each hold one line on desktop */
/* Hero sits on the bottom of the first screen (overrides the final design's centered hero) */
:root[data-route="b"] .concept-f .hero__inner {
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
:root[data-route="b"] .concept-f .hero__content { margin-top: auto; }

/* Shared content styles ------------------------------------------------- */
.concept-f .cf-section { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.concept-f .cf-content { margin-top: var(--space-6); }

.concept-f .cf-statement {
  max-width: 26ch;
  font-size: var(--fs-subheading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: balance;
}
.concept-f .cf-statement--strong {
  max-width: 20ch;
  margin-top: var(--space-7);
  font-size: var(--fs-section);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.concept-f .cf-lead {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  text-wrap: pretty;
}
.concept-f .cf-lead--measure { max-width: 46ch; }
.concept-f .cf-body {
  max-width: var(--measure-wide);
  margin-top: var(--space-5);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/* 2. Observations: numbered, ruled, read like case notes ---------------- */
.concept-f .cf-observations {
  margin-top: var(--space-7);
  list-style: none;
  padding: 0;
}
.concept-f .cf-observation {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line);
}
.concept-f .cf-observation:last-child { border-bottom: 1px solid var(--color-line); }
.concept-f .cf-observation__index {
  padding-top: 0.35em;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-label);
  color: var(--color-accent);
}
.concept-f .cf-observation p {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--color-text);
  text-wrap: pretty;
}

/* 3. Situations: three rows, plain-language entry points ----------------- */
.concept-f .cf-situations { list-style: none; padding: 0; }
.concept-f .cf-situation {
  display: grid;
  gap: var(--space-3);
  padding-block: clamp(1.25rem, 1rem + 1vw, 2rem);
  border-top: 1px solid var(--color-line);
}
.concept-f .cf-situation:last-child { border-bottom: 1px solid var(--color-line); }
.concept-f .cf-situation__name {
  font-size: var(--fs-subheading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: balance;
}
.concept-f .cf-situation__text {
  max-width: 44ch;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text-muted);
  text-wrap: pretty;
}
.concept-f .cf-follow-through {
  max-width: 34ch;
  margin-top: var(--space-7);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-accent);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-wrap: balance;
}
@media (min-width: 48rem) {
  .concept-f .cf-situation {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    align-items: baseline;
  }
  .concept-f .cf-situation__name { grid-column: 1 / span 5; }
  .concept-f .cf-situation__text { grid-column: 7 / -1; }
}

/* 8. You own it: the page's second large statement ----------------------- */
.concept-f .cf-own__statement {
  max-width: 18ch;
  font-size: var(--fs-statement);
  font-weight: 350;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-wrap: balance;
}

/* 9. Close ---------------------------------------------------------------- */
.concept-f .cf-close__title {
  font-size: var(--fs-section);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.concept-f .cf-close .cf-lead { margin-top: var(--space-5); }
.concept-f .cf-close__action { margin-top: var(--space-6); }
.concept-f .cf-button {
  min-height: 3.25rem;
  background-color: rgb(72 171 196 / 0.14);
  text-align: left;
}
.concept-f .cf-button:hover,
.concept-f .cf-button:focus-visible { background-color: rgb(72 171 196 / 0.26); }

.concept-f .site-footer__legal { margin-top: var(--space-6); }

/* Rail grid (desktop): same discipline as the final design ---------------- */
@media (min-width: 64rem) {
  .concept-f .cf-section > .container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
    row-gap: var(--space-5);
  }
  .concept-f .cf-section > .container::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    height: 1px;
    background: var(--color-line);
  }
  .concept-f .cf-section .section-head {
    grid-column: 1 / span 3;
    grid-row: 2;
    padding-top: 0;
    border-top: 0;
  }
  .concept-f .cf-content { grid-column: 4 / -1; grid-row: 2; margin-top: 0; }
  .concept-f .cf-situation:first-child { border-top: 0; padding-top: 0; }
  .concept-f .cf-build .direction__aside { grid-column: 1 / span 3; }
  .concept-f .cf-build .direction__content { grid-column: 4 / -1; }
}

/* Nav jump target inside the reused R&D layout */
.concept-f .direction__aside { scroll-margin-top: var(--space-6); }


/* Menu in the section-label type (mono, uppercase, tracked, cyan) */
.concept-f .site-nav__link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.concept-f .site-nav__link:hover,
.concept-f .site-nav__link:focus-visible { color: var(--color-text); }
@media (max-width: 47.99rem) {
  .concept-f .site-nav__link { font-size: 1.125rem; line-height: 1.4; }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  /* tablet widths: same type, slightly smaller so logo and menu keep their space */
  .concept-f .site-nav__link { font-size: 0.75rem; letter-spacing: 0.12em; }
  .concept-f .site-nav__list { gap: 1.5rem; }
}

/* How we build: one chapter, three movements --------------------------- */
/* Movements share the chapter's content column; a hairline marks each turn */
.concept-f .cf-movement {
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--color-line);
}
.concept-f .cf-movement__label {
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent);
}
/* Your data: the quieter middle movement */
.concept-f .cf-movement--data .cf-lead { color: var(--color-text-muted); }
/* You own it: the chapter's closing statement */
.concept-f .cf-movement--own .cf-own__statement { margin-bottom: var(--space-6); }
.concept-f .cf-build .direction__copy { max-width: 46ch; }
/* Chapter spacing: one section, so no extra space between movements and Contact */
.concept-f .cf-build { padding-bottom: clamp(4.5rem, 3rem + 4vw, 7rem); }
@media (max-width: 63.99rem) {
  /* keep the construction drawing in the space below the chapter, clear of the text */
  .concept-f .cf-build { padding-bottom: clamp(10rem, 8rem + 6vw, 12rem); }
  .concept-f .cf-build .direction__geometry { height: clamp(10rem, 8rem + 6vw, 12rem); }
}

/* Content starts on the row below the cyan section label, in every section,
   so the gap is identical however many lines the label takes */
@media (min-width: 64rem) {
  .concept-f .cf-content { grid-row: 3; margin-top: 0; }
  .concept-f .cf-build .direction__grid { row-gap: var(--space-5); }
  .concept-f .cf-build .direction__aside { grid-row: 1; }
  .concept-f .cf-build .direction__content { grid-row: 2; margin-top: 0; }
}
/* Framing statement: one sentence per line */
.concept-f .cf-statement--split { max-width: none; }
.concept-f .cf-statement--split span { display: block; }

/* You own it: same type as the chapter headline ("We try to break it…") */
.concept-f .cf-movement--own .cf-own__statement {
  max-width: none;
  font-size: var(--fs-section);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
/* Section labels sit on their own row, so they can run full width (one line) */
@media (min-width: 64rem) {
  .concept-f .cf-section .section-head { grid-column: 1 / -1; }
  .concept-f .cf-build .direction__aside { grid-column: 1 / -1; }
}
/* Phones: section labels slightly smaller and tighter so they stay on one line (all labels, for consistency) */
@media (max-width: 29.99rem) {
  :root[data-route="b"] .concept-f .eyebrow--section {
    gap: 0.75rem;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }
  :root[data-route="b"] .concept-f .eyebrow--section::before { width: 1.5rem; }
}
/* Legal page: links in body text must read as links (same treatment as other inline links) */
.concept-f .prose a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 0.25em;
  transition: color var(--dur-fast);
}
.concept-f .prose a:hover,
.concept-f .prose a:focus-visible { color: var(--color-accent-hover); }
.concept-f .prose__address { margin-top: var(--space-7); color: var(--color-text-muted); }

/* Launch (/ai) ------------------------------------------------------------- */
/* Minimal motion: the page is a still composition. No entrance, line drawing,
   scroll drift or reveals; hover and focus feedback stay. */
:root[data-route="b"] .concept-f .hero__line,
:root[data-route="b"] .concept-f .hero__lead,
:root[data-route="b"] .concept-f .hero__guides,
:root[data-route="b"] .concept-f .hero__dot { animation: none; }
:root[data-route="b"] .concept-f .hero__lines line { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
:root[data-route="b"] .concept-f .hero__geometry,
:root[data-route="b"] .concept-f .direction__geometry { transform: none; }

/* Footer logo: same size and optical offset as the header logo */
.concept-f .site-footer__logo { margin-left: -0.65rem; }
.concept-f .site-footer__logo img { height: 3.25rem; }
@media (min-width: 48rem) {
  .concept-f .site-footer__logo { margin-left: -0.66rem; }
  .concept-f .site-footer__logo img { height: 3.85rem; }
}

/* Footer readability (2026-10-20): mono labels 12px -> 13px, details 14px -> 15px */
.concept-f .site-footer__meta dt, .concept-f .site-footer__legal { font-size: 0.8125rem; }
.concept-f .site-footer__meta dd { font-size: 0.9375rem; }


/* Engagement expectations, closing the How we build chapter: body text in the chapter's measure */
.concept-f .cf-build__terms { margin-top: var(--space-7); max-width: none; }

/* Return-to-homepage callout (2026-10-20): closes How we build. Same cyan vertical rule, indent and
   type as "And we don't stop at recommendations."; small cyan label above a larger white link. */
.concept-f .cf-callout {
  margin-top: var(--space-7);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-accent);
}
.concept-f .cf-callout__label { margin-bottom: var(--space-2); }
.concept-f .cf-callout__text {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.concept-f .cf-callout__text a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast);
}
.concept-f .cf-callout__text a:hover,
.concept-f .cf-callout__text a:focus-visible { color: var(--color-accent-hover); }
@media (min-width: 48rem) { .concept-f .cf-callout__text a { white-space: nowrap; } }

/* Day two hundred: about half the gap between example 03 and "Where we come in" */
.concept-f .cf-section--day200 { padding-bottom: 0; } /* the next section's top padding and rule carry the transition */

/* Space between the How we build callout and Contact (2026-10-20): about half of what it was.
   Only the padding outside Contact's divider changes; Contact's own spacing below the divider is untouched.
   Tablet/phone: the construction drawing keeps a smaller band below the chapter instead of 160-192px. */
.concept-f .cf-build + .cf-close { padding-top: clamp(2rem, 1.5rem + 2vw, 4rem); }
@media (min-width: 64rem) {
  :root[data-route="b"] .concept-f .cf-build { padding-bottom: clamp(2.5rem, 1.5rem + 2vw, 3.5rem); }
}
@media (max-width: 63.99rem) {
  :root[data-route="b"] .concept-f .cf-build { padding-bottom: clamp(5rem, 4rem + 3vw, 6rem); } /* outranks route-b's .direction 9-11rem */
  .concept-f .cf-build .direction__geometry { height: clamp(5rem, 4rem + 3vw, 6rem); }
  /* the shorter band would cut the circle; raise the drawing (in SVG units) so the whole circle shows */
  .concept-f .cf-build .direction__geometry > g { transform: translateY(-95px); }
  /* keep the drawing at its phone scale on tablets too, centred, so the band frames it the same way */
  .concept-f .cf-build .direction__geometry { width: min(100%, 24rem); left: 0; right: 0; margin-inline: auto; }
}

/* Footer (2026-10-20): Hearth's compact structure, Concept F's palette and type.
   Logo · SudoAgentic LLC · Atlanta, Georgia · email · Privacy · (c) 2026, in one row on desktop, wrapping on phones. */
.concept-f .site-footer { padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }
.concept-f .site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-3) var(--space-7);
  padding-top: var(--space-6);
}
.concept-f .site-footer__logo { margin-right: auto; margin-top: 0; }
.concept-f .site-footer__company,
.concept-f .site-footer__links { margin: 0; font-size: 0.9375rem; color: var(--color-text-muted); }
.concept-f .site-footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); list-style: none; padding: 0; }
.concept-f .site-footer__link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-block: 0;
  color: var(--color-text-muted);
  text-decoration: underline; text-decoration-color: var(--color-line-strong); text-underline-offset: 0.25em;
}
.concept-f .site-footer__link:hover,
.concept-f .site-footer__link:focus-visible { color: var(--color-text); text-decoration-color: var(--color-accent); }
.concept-f .site-footer__legal { margin: 0; }

/* Navigation: secondary link back to the main site (2026-10-20). Unnumbered and quieter than the
   three section links; desktop "Business site", menu "Back to SudoAgentic". */
.concept-f .site-nav__home-menu { display: none; }
:root[data-route="b"] .concept-f .site-nav__link--home { color: var(--color-text-muted); }
:root[data-route="b"] .concept-f .site-nav__link--home:hover,
:root[data-route="b"] .concept-f .site-nav__link--home:focus-visible { color: var(--color-text); }
@media (min-width: 64rem) {
  .concept-f .site-nav__home {
    margin-left: clamp(0rem, 0.5vw, 0.5rem);
    padding-left: clamp(1.25rem, 2vw, 2rem);
    border-left: 1px solid var(--color-line-strong);
  }
}
@media (max-width: 63.99rem) {
  .concept-f .site-nav__home-bar { display: none; }
  .concept-f .site-nav__home-menu { display: inline; }
  /* the three section rows keep their rules; the home row sits apart, below them */
  .concept-f .site-nav__list li:nth-last-child(2) { border-bottom: 1px solid var(--color-line); }
  .concept-f .site-nav__list li.site-nav__home { border: 0; margin-top: var(--space-6); }
  :root[data-route="b"] .concept-f .site-nav__link--home { padding-block: var(--space-3); font-size: 0.875rem; letter-spacing: var(--tracking-label); }
}

/* Contact button (2026-10-20): "Let's talk" as a rounded pill in the page's own palette
   (cyan-tinted fill, cyan hairline, white label, cyan arrow); the address stays visible below it. */
.concept-f .cf-button {
  border-radius: 999px;
  border: 1px solid rgb(72 171 196 / 0.55);
  padding-inline: 1.75rem;
  font-weight: 500;
}
.concept-f .cf-button:hover,
.concept-f .cf-button:focus-visible { border-color: var(--color-accent); }
.concept-f .cf-close__email { margin-top: var(--space-5); }
.concept-f .cf-close__email a {
  color: var(--color-text);
  text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
.concept-f .cf-close__email a:hover,
.concept-f .cf-close__email a:focus-visible { color: var(--color-accent-hover); }
@media (min-width: 64rem) and (max-width: 79.99rem) {
  /* laptop widths: a little less space between links so the extra link never crowds the logo */
  .concept-f .site-nav__list { gap: 1.25rem; }
  .concept-f .site-nav__home { margin-left: 0; padding-left: 1.25rem; }
}
@media (min-width: 64rem) and (max-width: 71.99rem) {
  /* small laptops (1024-1151px): slightly tighter nav type keeps a clear gap after the logo */
  :root[data-route="b"] .concept-f .site-nav__link { font-size: 0.8125rem; letter-spacing: 0.1em; }
}

/* LinkedIn footer link (2026-10-22): a 16px monochrome "in" mark in the footer link colour, with a 44px square
   click area; the negative side margin keeps the spacing between footer links as it was. */
.link-in { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; margin-inline: -0.625rem; text-decoration: none; }
.link-in svg { width: 1.05em; height: 1.05em; fill: currentColor; }
