/* /agency/: the hosting-for-agencies landing page. Standalone on purpose (its own
   header, footer and look: the joke is that ops people made it), so it shares no
   CSS with site.css. Design source: the claude.ai canvas "Woodshack: Hosting for
   Agencies" (Yard P-1 T-192, 2026-11-20).

   Contrast (WCAG 2 formula, computed 2026-11-20; all pass AA for body text):
   ink #1F1F23 / white 16.4    body #33343A / white 12.4   muted #55565C / tan 6.5
   purple #8B3F96 / white 6.5, / tan 5.8    blue #3A42BF / white 7.7, / tan 6.9
   red #8A1020 / white 9.7, / tan 8.6       orange #F08A3C / #1F2026 6.5
   card text #B9BAC1 / #1F2026 8.4          #F6E3E6 / red 7.8 */

:root {
  --ink: #1F1F23; --body: #33343A; --muted: #55565C; --paper: #FFFFFF; --tan: #F4F2EE;
  --purple: #8B3F96; --blue: #3A42BF; --red: #8A1020; --red-dark: #5E0A16;
  --orange: #E8731A; --orange-light: #F08A3C; --cream: #FFF8EC;
  --night: #16171B; --night-card: #1F2026; --night-line: #2E3038;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 16px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
[id] { scroll-margin-top: 16px; }

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: #fff; font-weight: 600; padding: 12px 18px; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.ag-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.ag-marker { font-family: var(--marker); font-weight: 400; }
.ag-purple { color: var(--purple); }
.ag-blue { color: var(--blue); }
.ag-red { color: var(--red); }
.ag-grey { color: var(--muted); }
.ag-ink { color: var(--ink); }
.ag-small { font-size: 15px; color: var(--muted); }

/* stacks */
.ag-stack { display: flex; flex-direction: column; gap: 48px; }
.ag-stack-md { display: flex; flex-direction: column; gap: 28px; }
.ag-stack-sm { display: flex; flex-direction: column; gap: 18px; }

/* buttons */
.ag-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.ag-btn-lg { min-height: 52px; padding: 0 26px; border-radius: 8px; font-size: 17px; }
.ag-btn-red { background: var(--red); color: #fff; }
.ag-btn-red:hover { background: var(--red-dark); color: #fff; }
.ag-btn-ghost { border-color: var(--ink); color: var(--ink); }
.ag-btn-ghost:hover { background: var(--ink); color: #fff; }
.ag-btn-blue { background: var(--blue); color: #fff; border: 0; }
.ag-btn-blue:hover { background: #2C3399; }
.ag-btn:disabled { opacity: 0.7; cursor: progress; }
.ag-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* header and footer */
.ag-header { border-bottom: 2px solid var(--ink); background: var(--paper); }
.ag-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.ag-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--red); min-height: 44px; }
.ag-brand .ag-marker { font-size: 22px; line-height: 1; letter-spacing: 0.5px; }
.ag-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.ag-nav a:not(.ag-btn) { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ag-nav a:not(.ag-btn):hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 759px) { .ag-nav a:not(.ag-btn) { display: none; } }
@media (min-width: 760px) { .ag-brand .ag-marker { font-size: 26px; } }
.ag-footer { border-top: 2px solid var(--ink); }
.ag-footer .ag-bar { padding-top: 32px; padding-bottom: 32px; }
.ag-footer-brand { font-size: 24px; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

/* hero */
.ag-hero { padding: 56px 0 64px; }
@media (min-width: 760px) { .ag-hero { padding: 56px 0 64px; } }   /* trimmed so the next section shows on a first desktop screen */
.ag-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; }
.ag-hero-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ag-eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.ag-h1 { font-size: clamp(40px, 4.4vw, 58px); line-height: 1.05; }   /* 58px keeps each line whole beside the ad at 1280+ */
.ag-h1 span { display: block; }
.ag-lede { max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--body); }
@media (min-width: 760px) { .ag-lede { font-size: 20px; } }
.ag-ad { flex: 0 1 380px; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ag-ad-frame { border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); padding: 12px; }
.ag-ad-frame img { display: block; width: 100%; }
.ag-ad figcaption { font-size: 14px; color: var(--muted); text-align: center; }

/* bands */
.ag-band { padding: 72px 0; }
@media (min-width: 760px) { .ag-band { padding: 104px 0; } }
.ag-tan { background: var(--tan); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ag-h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.ag-grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; list-style: none; padding: 0; }
@media (min-width: 760px) { .ag-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ag-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ag-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ag-card h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
.ag-card p { font-size: 17px; line-height: 1.6; color: var(--body); }

/* what we handle: the serious section */
.ag-dark { background: var(--night); color: #EDEDEF; }
.ag-orange { color: var(--orange-light); }
.ag-serious { font-family: var(--sans); font-weight: 700; letter-spacing: -0.5px; color: #fff; }
.ag-sub { max-width: 640px; font-size: 18px; line-height: 1.6; color: #A8A9B0; }
.ag-services { gap: 20px; }
.ag-service { background: var(--night-card); border: 1px solid var(--night-line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ag-service h3 { font-size: 20px; font-weight: 600; color: #fff; }
.ag-service p { font-size: 16px; line-height: 1.6; color: #B9BAC1; }
.ag-service a { color: var(--orange-light); }
.ag-service a:hover { color: #FFB27A; }

/* you do your thing, we do ours */
.ag-split { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.ag-split-main { flex: 1 1 420px; min-width: 0; }
.ag-note { flex: 1 1 320px; min-width: 0; align-self: center; border: 2px solid var(--ink); border-radius: 8px; padding: 32px; background: var(--cream); box-shadow: 8px 8px 0 var(--orange); display: flex; flex-direction: column; gap: 14px; }
.ag-note-lead { font-size: 22px; line-height: 1.45; font-weight: 600; }
.ag-compact .ag-note-lead { font-size: 18px; }
.ag-note p:not(.ag-note-lead) { font-size: 17px; line-height: 1.6; color: var(--body); }

/* how it works */
.ag-steps { gap: 32px; }
.ag-step { display: flex; flex-direction: column; gap: 12px; }
.ag-step-num { font-size: 56px; line-height: 1; }
.ag-steps h3 { font-size: 22px; font-weight: 700; }
.ag-steps p { font-size: 17px; line-height: 1.6; color: var(--body); }

/* who */
.ag-who-text { flex-grow: 999; }
.ag-who-text p:not(.ag-tagline) { font-size: 18px; line-height: 1.65; color: var(--body); }
.ag-tagline { font-size: 30px; line-height: 1.2; color: var(--red); margin-top: 8px; }
.ag-people { flex: 1 1 320px; min-width: 0; max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.ag-photo { display: flex; flex-direction: column; gap: 8px; }
.ag-photo img { display: block; width: 100%; border: 2px solid var(--ink); border-radius: 8px; }
.ag-photo figcaption { font-size: 14px; color: var(--muted); }

/* the technology list under managed hosting: supporting detail, smaller than the description */
.ag-service p.ag-tech { font-size: 14px; line-height: 1.5; color: #A8A9B0; }   /* 6.9:1 on the card */

/* responsibilities: about a third less padding than a normal band */
.ag-compact { padding: 48px 0; }
@media (min-width: 760px) { .ag-compact { padding: 70px 0; } }
.ag-roles { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--body); }
.ag-roles strong { color: var(--ink); }

/* contact */
.ag-cta { background: var(--red); color: #fff; }
.ag-cta p { font-size: 18px; line-height: 1.6; color: #F6E3E6; }
.ag-cta .ag-small { font-size: 16px; color: #F6E3E6; }
.ag-cta a { color: #fff; font-weight: 600; }
.ag-cta a:hover { color: #FFE9C7; }
.ag-h2-xl { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; color: #fff; }
.ag-form { flex: 1 1 420px; min-width: 0; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 10px 10px 0 var(--ink); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; position: relative; }
@media (min-width: 560px) { .ag-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px; } }
.ag-form-title { grid-column: 1 / -1; font-size: 20px; font-weight: 700; }
.ag-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.ag-form input, .ag-form select, .ag-form textarea { min-height: 46px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 6px; font-weight: 400; background: var(--paper); color: var(--ink); width: 100%; }
.ag-form textarea { padding: 10px 12px; resize: vertical; min-height: 120px; }
.ag-form .ag-full, .ag-form .form-error { grid-column: 1 / -1; }
.ag-form .ag-small { color: var(--muted); }
.ag-optional { font-weight: 400; color: var(--muted); }
.ag-form .ag-small a { color: var(--red); }
.ag-cta .ag-form .ag-btn-blue { color: #fff; font-weight: 600; }
.form-error { background: #FBE9E4; border: 1px solid #C2452D; color: #7A2312; padding: 12px 14px; border-radius: 6px; font-size: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
