/* Underdog Media. Palette and layout follow the approved Homepage Visual Concept (Drive, 2026-09-25). */
:root {
  --ink: #2d201a;
  --ink-deep: #201713;
  --orange: #b6532f;
  --orange-deep: #a94c2c;
  --orange-light: #e4865e;
  --paper: #fff;
  --soft: #f8f4ef;
  --sand: #eadac7;
  --line: #ddcfc3;
  --gutter: clamp(22px, 5.8vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 900; margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: block; flex: none; }
.logo img { width: 200px; transform-origin: 0 60%; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 700; }
.nav a:not(.pill):hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav .pill { background: var(--orange); color: #fff; padding: 13px 24px; border-radius: 40px; transition: background .2s; }
.nav .pill:hover { background: var(--ink); }

/* Hero */
.hero { overflow-x: clip; }
.hero-grid { min-height: 612px; display: grid; grid-template-columns: 54% 46%; align-items: center; padding-top: 10px; padding-bottom: 38px; padding-right: 0; }
.copy { position: relative; z-index: 4; padding-bottom: 36px; }
.eyebrow, .kicker { font-size: 13px; letter-spacing: .23em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin: 0 0 20px; }
.copy h1 { font-size: clamp(40px, 4vw, 58px); letter-spacing: -.035em; line-height: .98; max-width: 690px; margin: 0 0 27px; }
.copy h1 em { font-style: normal; color: var(--orange); }
@media (min-width: 1100px) { .copy h1 span { white-space: nowrap; } }
.intro { font-size: 19px; line-height: 1.5; max-width: 550px; margin: 0 0 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; gap: 8px; text-decoration: none; padding: 16px 23px; border-radius: 40px; border: 2px solid var(--orange); color: var(--orange); font-weight: 800; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--orange); color: #fff; }
.btn.solid { background: var(--orange); color: #fff; }
.btn.solid:hover { background: var(--ink); border-color: var(--ink); }

/* Hero: BIG drops in letter by letter, the pup trots in, turns, and bums it out of the way.
   Geometry is in container units; site.js measures the G and sets --contact (the pup left
   at which his rump meets the G). Without JS, or with reduced motion, this CSS is the
   finished scene: word shoved and tipped, pup standing his ground. */
.visual { position: relative; align-self: end; container-type: inline-size; aspect-ratio: 1 / .74; --contact: 71cqw; }
.scene { position: absolute; inset: 0; }
/* Pause / play / replay for the hero scene (WCAG 2.2.2: motion over 5s needs a way to stop it). */
.scene-btn { position: absolute; right: 0; bottom: 2cqw; z-index: 4; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 14px 7px 12px; border: 2px solid var(--ink); border-radius: 30px; background: #fff; color: var(--ink); font: 700 13px/1 Archivo, "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
.scene-btn:hover { background: var(--ink); color: #fff; }
.scene-ico { width: 10px; height: 12px; display: inline-block; }
.scene-btn[data-state="playing"] .scene-ico { border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.scene-btn[data-state="paused"] .scene-ico, .scene-btn[data-state="done"] .scene-ico { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }
.ground { position: absolute; height: 2px; background: #dbcbbb; bottom: 14.5cqw; left: 0; right: -10cqw; }
.word {
  position: absolute; left: 7cqw; bottom: 16cqw;
  font-weight: 900; font-size: 38cqw; letter-spacing: -.09em; line-height: .74;
  transform: translateX(-10cqw) rotate(-4deg); transform-origin: 0 100%;
  filter: drop-shadow(2.2cqw 2.4cqw 0 #d0b9a852);
  z-index: 1; white-space: nowrap; user-select: none;
}
.word span { display: inline-block; transform-origin: 50% 100%; }
.pup { position: absolute; left: var(--contact); bottom: 12.1cqw; width: 30cqw; z-index: 2; cursor: pointer; transform: translateX(-9cqw); }
.pup-body { position: relative; aspect-ratio: 760 / 891; transform-origin: 50% 93%; }
.pup-body img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; }
.pup-body .pup-stand { opacity: 1; }
/* The walk frames face right in the renders; he walks in facing left, so mirror them.
   Walk B is framed ~9% larger with its feet lower, so pull it into line with walk A. */
.pup-walk-a { transform: scaleX(-1); }
.pup-walk-b { transform: scaleX(-1) translateY(-5.6%) scale(.92); transform-origin: 50% 100%; }
.js .pup-body .pup-stand { opacity: 0; }
.js .word, .js .pup { transform: none; }
.js .word span { opacity: 0; }
.js .pup { visibility: hidden; }
.js .hero.ready .pup { visibility: visible; }
.puff { position: absolute; width: 9cqw; height: 2.6cqw; margin-left: -4.5cqw; border-radius: 50%; background: radial-gradient(closest-side, #d9c6b5, #d9c6b500); pointer-events: none; z-index: 3; }

/* Sections */
.section { padding: 105px 0; }
.section h1, .section h2 { font-size: clamp(43px, 5vw, 73px); line-height: 1.02; letter-spacing: -.035em; max-width: 880px; }
.lead { font-size: 20px; line-height: 1.5; max-width: 660px; }
.text-link { font-weight: 900; color: var(--orange-deep); text-decoration: none; border-bottom: 2px solid var(--orange-deep); padding-bottom: 6px; white-space: nowrap; }
.text-link:hover { color: var(--ink); border-color: var(--ink); }

/* Work */
.work { background: var(--soft); }
/* Orange on cream is 4.49:1, a hair under AA; the deeper orange is 5.10:1. */
.work .kicker, .team .kicker { color: var(--orange-deep); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-card { position: relative; min-height: 360px; border-radius: 7px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; color: #fff; background: var(--ink); }
.work-card { min-height: 240px; }
.work-card.featured { min-height: 0; text-decoration: none; background: #0a0a0d; gap: 26px; transition: transform .25s, box-shadow .25s; }
.work-card.beaver { background: #0b1220; }
.work-card.imhr { background: #0d3324; }
.work-card.featured:hover { transform: translateY(-4px); box-shadow: 0 24px 50px #2d201a40; }
.work-card.orange { background: var(--orange-deep); }
.work-card.cream { background: var(--sand); color: var(--ink); }
.work-card .no { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.work-card.your .no, .work-card.your p { color: #fff; opacity: 1; }
.work-card .graphic { position: absolute; right: -30px; top: 16%; font-size: clamp(120px, 14vw, 230px); font-weight: 900; line-height: .8; letter-spacing: -.11em; opacity: .15; transform: rotate(-13deg); pointer-events: none; }
.work-card .live { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 20px; background: var(--orange); color: #fff; letter-spacing: .12em; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.work-card .shot { width: 100%; border-radius: 6px; border: 1px solid #ffffff1f; box-shadow: 0 18px 40px #0008; }
.work-card .tags { display: block; margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.work-card .see { display: inline-block; margin-top: 20px; font-weight: 900; color: var(--orange-light); border-bottom: 2px solid var(--orange-light); padding-bottom: 4px; }
.work-card.featured:hover .see { color: #fff; border-color: #fff; }
.work-card.featured p { max-width: 520px; }
.work-card h3 { position: relative; font-size: clamp(34px, 3.5vw, 54px); line-height: 1.03; letter-spacing: -.03em; margin: 0 0 14px; }
.work-card p { position: relative; font-size: 16px; line-height: 1.5; max-width: 400px; margin: 0; opacity: .85; }

/* Card 04: the open slot. The pup charges out of a cream spotlight (an alpha cutout, so no multiply). */
.work-card.your { background: var(--orange); text-decoration: none; gap: 20px; }
.work-card.your .live { background: #fff; color: var(--orange); }
.your-art { position: relative; flex: 1; min-height: 280px; display: grid; place-items: center; }
.your-art .spot { position: absolute; width: min(82%, 400px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fbf6ef 0 62%, #f8f4ef00 71%); }
.your-art img { position: relative; width: min(88%, 430px); transform: translateX(-4%) rotate(-3deg); transition: transform .35s cubic-bezier(.2,.8,.2,1.2); filter: drop-shadow(0 18px 14px #5a22104d); }
.work-card.your:hover .your-art img { transform: translateX(6%) rotate(-1deg) scale(1.04); }
.work-card.your h3 { font-size: clamp(36px, 3.6vw, 56px); }
.your-cta { display: inline-flex; gap: 8px; margin-top: 24px; padding: 15px 24px; border-radius: 40px; background: #fff; color: var(--ink); font-weight: 900; font-size: 15px; transition: background .2s, color .2s; }
.work-card.your:hover .your-cta { background: var(--ink); color: #fff; }
/* Capabilities */
.capabilities .top { display: grid; grid-template-columns: auto minmax(0, 430px) 230px; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 55px; }
.capabilities .top .lead { margin: 0; }
/* Feet land on the service grid's top rule: paws sit ~79% down the render. */
.charge { width: 230px; margin-bottom: -124px; mix-blend-mode: multiply; pointer-events: none; position: relative; z-index: 1; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.service { padding: 34px 30px 60px 0; border-right: 1px solid var(--line); }
.service:not(:first-child) { padding-left: 30px; }
.service:last-child { border-right: 0; }
.service span { display: block; color: var(--orange); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 44px; }
.service h3 { font-size: 38px; letter-spacing: -.03em; margin: 0 0 16px; }
.service p { font-size: 16px; line-height: 1.55; margin: 0; max-width: 330px; }

/* Proof */
.proof { background: var(--ink); color: #fff; overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 350px; gap: 30px; align-items: center; }
.proof .kicker { color: var(--orange-light); }
.proof h2 { font-size: clamp(47px, 5.4vw, 82px); }
.proof p { font-size: 19px; line-height: 1.55; max-width: 580px; }
.rings { position: relative; height: 410px; }
.rings::before, .rings::after { content: ''; position: absolute; border: 3px solid #af5637; border-radius: 50%; height: 380px; width: 380px; left: 15%; top: 7%; transform: rotate(-20deg) scaleX(1.2); }
.rings::after { left: 27%; top: -3%; border-color: #ffffff47; transform: rotate(20deg) scaleX(.7); }
.rings b { position: absolute; z-index: 2; top: 26%; left: 9%; font-size: 215px; line-height: 1; letter-spacing: -.08em; transform: rotate(-11deg); text-shadow: 16px 16px var(--orange); }

/* Team */
.team { background: var(--soft); padding-bottom: 0; }
.team-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 45px; align-items: end; }
.team-grid > div { padding-bottom: 105px; }
.quote { margin: 44px 0 0; background: #fff; padding: 48px 44px; transform: rotate(2deg); font-size: clamp(26px, 2.8vw, 37px); font-weight: 900; line-height: 1.13; letter-spacing: -.03em; box-shadow: 14px 14px #e8d4c5; max-width: 560px; }
.shadow-dog { width: 100%; max-width: 520px; justify-self: center; mix-blend-mode: multiply; }

/* Contact */
.contact { background: var(--orange); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.contact .kicker { color: #fff; opacity: .75; }
.contact h2 { font-size: clamp(51px, 7vw, 110px); max-width: 810px; }
.contact p { font-size: 20px; max-width: 650px; line-height: 1.5; }
.contact .cta { display: inline-flex; gap: 6px; text-decoration: none; color: var(--ink); background: #fff; border-radius: 50%; width: 150px; height: 150px; align-items: center; justify-content: center; text-align: center; font-weight: 900; transform: rotate(-10deg); font-size: 18px; transition: transform .25s, background .2s, color .2s; }
.contact .cta:hover { transform: rotate(0) scale(1.05); background: var(--ink); color: #fff; }
/* The default orange focus ring vanishes on the orange section. */
.contact :focus-visible { outline-color: #fff; }

/* Big brother: Be More Purple, in their own palette (BMP-08 tokens: #8b5cff on #0b0b14). */
.brother { background: #0b0b14; color: #faf8f3; overflow: hidden; }
.brother-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.brother .kicker { color: #8b5cff; }
.brother h2 em { font-style: normal; color: #8b5cff; }
.brother .lead { color: #faf8f3d9; margin: 22px 0 0; }
.btn.bmp { margin-top: 34px; border-color: #6a2dff; background: #6a2dff; color: #fff; }
.btn.bmp:hover { background: #fff; border-color: #fff; color: #0b0b14; }
.brother-mark { display: grid; justify-items: center; gap: 30px; }
.brother-mark .emblem { width: min(100%, 380px); transform: rotate(-6deg); transition: transform .4s cubic-bezier(.2,0,0,1); }
.brother-mark .wordmark { width: min(100%, 360px); opacity: .9; }
.footer .bmp-link { color: #b79bff; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { background: var(--ink-deep); color: #fff; font-size: 14px; }
.footer .wrap { padding-top: 34px; padding-bottom: 34px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-logo { width: 150px; }

/* Mobile, per the concept's 390px layout */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 83px; }
  .logo img { width: 154px; }
  .nav a:not(.pill) { display: none; }
  .nav .pill { padding: 10px 14px; font-size: 13px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; padding-top: 23px; padding-bottom: 0; padding-right: var(--gutter); min-height: 0; }
  .copy { padding: 0; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .copy h1 { font-size: clamp(38px, 11vw, 48px); line-height: 1; margin-bottom: 18px; }
  .intro { font-size: 16px; line-height: 1.45; margin-bottom: 20px; }
  .btn { padding: 12px 16px; font-size: 13px; }
  .visual { width: 100%; align-self: auto; margin-top: 12px; }

  .section { padding: 70px 0; }
  .section h1, .section h2 { font-size: 44px; }
  .lead { font-size: 17px; }
  .section-heading, .capabilities .top { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 20px; }
  .work-grid { display: block; }
  .work-card { min-height: 260px; margin-bottom: 12px; padding: 25px; }
  .work-card.featured { min-height: 0; }
  .your-art { min-height: 230px; }
  .work-card .graphic { font-size: 190px; top: 15%; }
  .work-card h3 { font-size: 40px; }
  .capabilities .top { position: relative; margin-bottom: 30px; }
  .capabilities .top .lead { margin-top: 20px; padding-right: 42%; }
  .charge { position: absolute; right: -10px; bottom: -86px; width: 150px; margin: 0; }
  .service-grid { display: block; }
  .service, .service:not(:first-child) { padding: 24px 0 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service span { margin-bottom: 18px; }
  .service h3 { font-size: 35px; }
  .proof-grid, .team-grid, .contact-grid, .brother-grid { display: block; }
  .brother-mark { margin-top: 50px; }
  .brother-mark .emblem { width: 220px; }
  .brother-mark .wordmark { width: 260px; }
  .rings { height: 230px; }
  .rings::before, .rings::after { width: 190px; height: 190px; }
  .rings b { font-size: 120px; }
  .team-grid > div { padding-bottom: 20px; }
  .quote { font-size: 27px; padding: 36px 28px; margin-top: 36px; }
  .shadow-dog { max-width: 330px; margin: 10px auto 0; }
  .contact .cta { width: 118px; height: 118px; font-size: 15px; margin-top: 26px; }
  .footer .wrap { display: grid; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* The renders carry a soft grey floor that stops at the image edge; feather it out. */
.shadow-dog, .charge {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
}

/* Journal (2026-10-27) */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.post-head { padding: 60px 0 40px; }
.post-head .kicker a { color: inherit; text-decoration: none; }
.post-head .kicker a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.post-head h1 em { font-style: normal; color: #6a2dff; }
.standfirst { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; margin: 26px 0 22px; }
.byline { font-size: 15px; color: #5b4a40; margin: 0; }
.byline a { color: inherit; font-weight: 800; }
.post-feature { margin: 0 auto 10px; }
.post figure { margin: 40px 0; }
.post figure img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.post figcaption { font-size: 14px; color: #5b4a40; margin-top: 10px; }
.post-body { padding-top: 20px; padding-bottom: 40px; }
.post-body p, .post-body li { font-size: 19px; line-height: 1.65; }
.post-body .lede { font-size: 22px; line-height: 1.55; }
.post-body h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 56px 0 14px; }
.post-body h3 { font-size: 22px; letter-spacing: -.01em; margin: 34px 0 6px; }
.post-body a { color: var(--orange-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink); }
.made { padding-left: 22px; }
.made li { margin: 0 0 12px; }
.made li::marker { color: var(--orange-deep); }
.author { border-top: 2px solid var(--ink); padding-top: 26px; padding-bottom: 80px; }
.author h2 { font-size: 30px; margin: 0 0 10px; }
.author p { font-size: 17px; line-height: 1.6; max-width: 640px; }
.journal .lead { margin-top: 20px; }
.post-list { margin-top: 50px; display: grid; gap: 18px; }
.post-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px #2d201a1f; }
.post-card img { width: 100%; border-radius: 6px; }
.post-card .meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); font-weight: 800; margin: 0 0 12px; }
.post-card h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.025em; }
.post-card p { font-size: 17px; line-height: 1.55; }
.post-card .see { display: inline-block; margin-top: 6px; font-weight: 900; color: var(--orange-deep); border-bottom: 2px solid var(--orange-deep); padding-bottom: 4px; }
@media (max-width: 760px) {
  .post-head { padding-top: 34px; }
  .post-body p, .post-body li { font-size: 17px; }
  .post-body .lede { font-size: 19px; }
  .post-card { grid-template-columns: 1fr; gap: 18px; }
}

/* Cards: the real link is the visible "See it live" / "Start your project" text, stretched over the whole card,
   so the accessible name matches what's on screen (WCAG 2.5.3) and the whole card still clicks. */
.work-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.work-card .see.stretched { text-decoration: none; }
.work-card:has(.stretched:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.work-card .stretched:focus-visible { outline: none; }
.work-card.your .your-cta { text-decoration: none; }
.author .role { margin: -4px 0 14px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--orange-deep); }
.post-head h1 em.lt { color: #b85a00; }
.post .narrow-fig { max-width: 480px; }
.post .rg-note { font-size: 15px; color: #5b4a40; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }
