/* Farisaurus: native CSS, editorial typography, a single orange accent.
   Design variance 6 / motion 5 / density 2. No runtime dependencies. */
:root {
  color-scheme: light;
  --paper: #f3f3ee;
  --ink: #252621;
  --muted: #62635c;
  --line: #d0d1c8;
  --field-border: #85867d;
  --line-strong: #85867d;
  --accent: #ba421f;
  --shell: min(1360px, calc(100% - 112px));
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: white; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* One header layout and brand treatment across every page. */
.site-header { width: min(1240px, calc(100% - 80px)); min-height: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px; }
.brand { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; font-size: 42px; font-weight: 600; letter-spacing: -.055em; }
.brand > span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.brand-logo { width: 120px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; flex: 0 0 auto; }
@media (max-width: 1100px) {
  .site-header { width: calc(100% - 64px); padding-block: 24px; }
}
@media (max-width: 700px) {
  .site-header { width: calc(100% - 40px); flex-direction: column; align-items: stretch; }
  .brand { align-self: flex-start; font-size: 38px; gap: 8px; }
  .brand-logo { width: 96px; }
}
@media (max-width: 359px) {
  .brand { font-size: 32px; gap: 12px; }
  .brand-logo { width: 84px; }
}
.site-nav { display: flex; gap: 36px; align-items: center; }
.site-nav a, .site-footer a, .legal-back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; }
.site-nav a:hover, .site-footer a:hover, .legal-back:hover { color: var(--accent); }
.site-nav a { text-underline-offset: 6px; }
.site-nav a:hover { text-decoration: underline; }
.hero { position: relative; padding-top: 62px; padding-bottom: 100px; }
.intro { font-size: 16px; margin-bottom: 30px; }
h1 { font-size: clamp(55px, 6.7vw, 106px); line-height: 1.04; letter-spacing: -.066em; }
.kinetic { color: var(--accent); display: inline-block; white-space: nowrap; }
.kinetic-letter { display: inline-block; }
.kinetic-letter.space { width: .24em; }
.hero-portrait {
  --portrait-size: clamp(330px, 26.5vw, 400px);
  position: absolute;
  top: auto;
  bottom: 37.5%;
  right: 0;
  width: var(--portrait-size);
  height: var(--portrait-size);
  max-width: none;
  aspect-ratio: 1 / 1;
  flex: 0 0 var(--portrait-size);
  overflow: hidden;
  border: 0;
  border-radius: 50%;
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 33%;
  transform: scale(1.3);
  transform-origin: 50% 35%;
}
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 38px; }
.hero-bottom p { color: var(--muted); font-size: 18px; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 48px; padding-block: 12px; border-bottom: 1px solid var(--ink); font-size: 16px; white-space: nowrap; }
.text-link span, .contact-email span, .project-caption h3 span { display: inline-block; transition: transform .35s var(--ease); }
.text-link:hover span { transform: translateY(4px); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.section-label { font-size: 14px; font-weight: 400; }
.work > .section-label { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 32px; }
.project-visual { position: relative; display: block; overflow: hidden; }
.field-visual { min-height: 625px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 32px; padding: 52px 7%; background: #e8e9df; }
.field-title { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
.field-title > span:first-child { font-size: clamp(70px, 7.4vw, 120px); line-height: .89; letter-spacing: -.075em; }
.field-subtitle { font-size: 16px; }
.demo-frame { width: 100%; max-width: 550px; margin-left: auto; transform: rotate(-3deg); transition: transform .8s var(--ease); box-shadow: 0 16px 30px -18px #27291b66; }
.demo-frame img { width: 100%; height: auto; }
.field-visual:hover .demo-frame, .field-visual:focus-visible .demo-frame { transform: rotate(0deg) translateY(-5px); }
.project-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 24px; }
.project-caption h3 { font-size: 25px; letter-spacing: -.04em; }
.project-caption h3 a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-right: 25%; }
.project-caption h3 span { font-size: 23px; }
.project-caption h3 a:hover { color: var(--accent); }
.project-caption h3 a:hover span { transform: translate(3px,-3px); }
.project-caption p { max-width: 420px; font-size: 17px; line-height: 1.5; }
.project-note { display: block; font-size: 12px; color: var(--muted); margin-top: 12px; }
.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 70px; }
.artwork-visual { aspect-ratio: 1.3; background: #242230; }
.artwork-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.artwork-visual:hover img, .artwork-visual:focus-visible img { transform: scale(1.045); }
.project-pair .project-caption { display: block; }
.project-pair .project-caption h3 { margin-bottom: 14px; }
.project-pair .project-caption h3 a { padding-right: 0; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 150px; padding-top: 36px; border-top: 1px solid var(--line); }
.name { margin-top: 38px; font-size: clamp(60px, 6.2vw, 94px); line-height: 1; letter-spacing: -.065em; }
.name span { color: var(--accent); }
.about-content { padding-top: 58px; }
.about-lead { font-size: clamp(25px, 2.25vw, 34px); line-height: 1.3; letter-spacing: -.03em; margin-bottom: 25px; }
.about-content > p:not(.about-lead) { font-size: 17px; color: var(--muted); max-width: 480px; }
.capabilities { margin-top: 36px; }
.capabilities h3 { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.capabilities ul { list-style: none; margin: 0; padding: 0; }
.capabilities li { padding-left: 22px; position: relative; margin-top: 9px; font-size: 16px; }
.capabilities li::before { content: '+'; position: absolute; left: 0; color: var(--accent); }
.principle { grid-column: 1 / -1; margin-top: 34px; padding-block: 45px; }
.principle p { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.14; letter-spacing: -.055em; }
.principle span { color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 92px; padding-block: 54px 100px; border-top: 1px solid var(--line); align-items: end; }
.contact h2 { font-size: clamp(40px, 4.8vw, 74px); line-height: 1.06; letter-spacing: -.06em; }
.contact-details p { font-size: 17px; color: var(--muted); margin-bottom: 30px; }
.contact-email { display: flex; justify-content: space-between; gap: 15px; width: fit-content; min-height: 44px; align-items: center; border-bottom: 1px solid var(--accent); padding-bottom: 5px; color: var(--accent); font-size: clamp(20px, 2.2vw, 33px); letter-spacing: -.035em; }
.contact-email span { margin-left: 20px; }
.contact-email:hover span { transform: translate(3px,-3px); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; align-items: center; gap: 28px; }
.site-footer a { font-size: 13px; }
.copyright { margin-left: 12px; }
.site-footer .back-top { justify-content: center; font-size: 21px; width: 44px; }
/* Content remains visible without JavaScript. The single hero gesture is enhanced in JS. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 701px) {
    .artwork-visual img { animation: image-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    @keyframes image-settle { from { scale: 1.09; } to { scale: 1; } }
  }
}
/* Legal pages share the same typography, spacing and navigation. */
.legal-main { width: min(720px, calc(100% - 48px)); margin: 72px auto 110px; }
.legal-main h1 { font-size: clamp(48px, 7vw, 80px); margin-bottom: 22px; }
.legal-main > p { color: var(--muted); font-size: 14px; }
.legal-main section { margin-top: 36px; }
.legal-main h2 { font-size: 23px; letter-spacing: -.035em; margin-bottom: 12px; }
.legal-main section p { color: var(--muted); line-height: 1.75; }
.legal-main a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1600px) { .hero { padding-top: 82px; } }
@media (max-width: 1000px) {
  :root { --shell: calc(100% - 64px); }
  .hero { padding-top: 46px; padding-bottom: 76px; }
  h1 { font-size: 7.1vw; }
  .field-visual { min-height: 480px; padding: 40px 5%; }
  .field-title > span:first-child { font-size: 8.2vw; }
  .project-pair { gap: 28px; }
  .about, .contact { gap: 38px; }
  .about { margin-top: 110px; }
  .contact { margin-top: 64px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-portrait {
    --portrait-size: clamp(300px, 30vw, 330px);
    top: 13%;
    bottom: auto;
    right: -12px;
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  .hero-portrait {
    --portrait-size: clamp(240px, 28vw, 280px);
    top: 18%;
    bottom: auto;
    right: 0;
  }
}
@media (max-width: 840px) and (min-width: 701px) {
  .hero-portrait {
    --portrait-size: clamp(230px, 28vw, 240px);
    right: -18px;
  }
}
@media (max-width: 700px) {
  :root { --shell: calc(100% - 40px); }
  html { scroll-padding-top: 20px; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 13px; }
  .site-nav a span { display: none; }
  .hero { padding-top: 45px; padding-bottom: 64px; }
  .intro { font-size: 13px; margin-bottom: 27px; }
  h1 { font-size: clamp(42px, 8.7vw, 60px); line-height: 1.07; letter-spacing: -.06em; }
  .hero-portrait {
    --portrait-size: clamp(190px, 54vw, 230px);
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    margin-top: 28px;
  }
  .desktop-break { display: none; }
  .hero-bottom { display: block; margin-top: 27px; }
  .hero-bottom p { font-size: 16px; }
  .text-link { font-size: 14px; gap: 32px; margin-top: 24px; padding-block: 8px; }
  .work > .section-label { padding-top: 16px; margin-bottom: 24px; }
  .field-visual { min-height: 0; grid-template-columns: 1fr; padding: 28px 25px 35px; gap: 28px; }
  .field-title { flex-direction: row; align-items: end; gap: 20px; justify-content: space-between; }
  .field-title > span:first-child { font-size: 57px; }
  .field-subtitle { font-size: 12px; max-width: 85px; padding-bottom: 4px; }
  .demo-frame { width: 91%; margin-inline: auto; transform: rotate(-2deg); }
  .project-caption { display: block; padding-top: 20px; }
  .project-caption h3 { font-size: 24px; margin-bottom: 10px; }
  .project-caption h3 a { padding-right: 0; }
  .project-caption p { font-size: 16px; max-width: 440px; }
  .project-note { margin-top: 10px; font-size: 11px; }
  .project-pair { grid-template-columns: 1fr; gap: 44px; margin-top: 44px; }
  .artwork-visual { aspect-ratio: 1.2; }
  .about { grid-template-columns: 1fr; gap: 28px; margin-top: 82px; padding-top: 24px; }
  .name { margin-top: 24px; font-size: 66px; }
  .about-content { padding-top: 0; }
  .about-lead { font-size: 27px; max-width: 520px; }
  .about-content > p:not(.about-lead) { font-size: 16px; }
  .capabilities { margin-top: 30px; }
  .capabilities li { font-size: 15px; }
  .principle { margin-top: 18px; padding-block: 16px; }
  .principle p { font-size: clamp(29px, 6.8vw, 43px); }
  .contact { grid-template-columns: 1fr; gap: 30px; margin-top: 65px; padding-block: 30px 65px; }
  .contact h2 { font-size: 51px; }
  .contact-details p { font-size: 16px; margin-bottom: 25px; }
  .contact-email { font-size: 25px; }
  .site-footer { display: block; padding-block: 22px; }
  .site-footer nav { justify-content: space-between; gap: 16px; margin-top: 15px; }
  .site-footer .back-top { margin-left: auto; }
  .legal-header { flex-wrap: wrap; }
  .legal-main { margin-top: 44px; }
}
@media (max-width: 360px) {
  .site-nav { gap: 12px; }
  .intro { font-size: 12px; }
  h1 { font-size: 39px; }
  .contact-email { font-size: 22px; }
  .contact-email span { margin-left: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .kinetic-letter { transform: none !important; }
  .demo-frame, .field-visual:hover .demo-frame, .field-visual:focus-visible .demo-frame { transform: none; }
  .artwork-visual img { transform: none !important; }
}

/* Dedicated pages retain the site's editorial rhythm without a long home-page scroll. */
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.home-route { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 110px; padding-top: 36px; border-top: 1px solid var(--line); }
.home-route h2 { max-width: 740px; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.06em; }
.home-route h2 span, .page-intro h1 span { color: var(--accent); }
.home-route .text-link { margin-top: 34px; }
.page-main { min-height: calc(100vh - 190px); }
.page-intro { padding-top: 68px; padding-bottom: 82px; }
.page-intro .section-label { margin-bottom: 28px; }
.page-intro h1 { margin-bottom: 30px; }
.page-intro > p { max-width: 420px; color: var(--muted); font-size: 18px; }
.work-page { padding-bottom: 20px; }
.project-caption h2 { font-size: 25px; letter-spacing: -.04em; }
.project-caption h2 a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-right: 25%; }
.page-closing { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 100px; padding-block: 35px 90px; border-top: 1px solid var(--line); }
.page-closing p { font-size: clamp(28px, 3.6vw, 49px); line-height: 1.1; letter-spacing: -.05em; }
.about-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 0; border-top: 1px solid var(--line); }
.about-page .principle { grid-column: auto; align-self: end; margin: 0; }
.contact-page { min-height: 56vh; margin-top: 34px; border-top: 0; }
.contact-page .section-label { margin-bottom: 25px; }
.contact-page h1 { font-size: clamp(50px, 6.3vw, 98px); }
.contact-note { padding-block: 28px 100px; border-top: 1px solid var(--line); color: var(--muted); }

/* The homepage is a measured two-part composition: proposition first, method second. */
.home-page {
  --shell: min(1240px, calc(100% - 80px));
  overflow-x: hidden;
}
.home-page .hero {
  position: relative;
  min-height: calc(100vh - 112px);
  min-height: calc(100svh - 112px);
  padding-block: 56px;
}
.home-page .intro {
  margin-bottom: 34px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.home-page .hero h1 {
  max-width: 880px;
  font-size: clamp(68px, 6vw, 92px);
  line-height: .96;
  letter-spacing: -.064em;
}
.home-page .hero-portrait {
  --portrait-size: clamp(350px, 26vw, 400px);
  top: 23px;
  right: 0;
  bottom: auto;
}
.home-page .hero-bottom {
  display: block;
  margin-top: 18px;
}
.home-page .hero-bottom > p {
  font-size: 18px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 22px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 340px;
  min-height: 56px;
  padding: 15px 27px;
  background: var(--accent);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.2;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.primary-link span { transition: transform .35s var(--ease); }
.primary-link:hover { background: #9f3618; transform: translateY(-2px); }
.primary-link:hover span { transform: translateX(4px); }
.primary-link:active { transform: translateY(0) scale(.99); }
.home-page .hero-actions .text-link {
  min-height: 44px;
  padding-block: 10px;
}
.home-page .hero-actions .text-link:hover span { transform: translateX(4px); }
.home-problems {
  width: min(1380px, calc(100% - 80px));
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.home-problems__inner { padding: 55px 0 98px; }
.home-problems__intro h2 {
  font-size: clamp(40px, 3.75vw, 58px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.home-problems__intro h2 span { color: var(--accent); }
.home-problems__intro > p {
  max-width: 650px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 27px 0 0;
  padding: 0;
}
.problem-grid li {
  display: grid;
  grid-template-rows: minmax(51px, auto) 24px auto;
  min-width: 0;
  padding: 0 34px 1px;
  border-left: 1px solid var(--line);
}
.problem-grid li:first-child { padding-left: 10px; border-left: 0; }
.problem-grid li:last-child { padding-right: 0; }
.problem-grid p {
  max-width: 255px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
  text-wrap: pretty;
}
.problem-arrow {
  align-self: end;
  color: var(--muted);
  font-size: 17px;
}
.problem-grid strong {
  align-self: end;
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.035em;
}
@media (max-width: 1100px) and (min-width: 701px) {
  .home-page { --shell: calc(100% - 64px); }
  .home-page .hero h1 { max-width: 650px; font-size: clamp(58px, 6.5vw, 72px); }
  .home-page .hero-portrait {
    --portrait-size: clamp(250px, 28vw, 310px);
    top: 52px;
  }
  .home-problems { width: calc(100% - 64px); }
  .home-problems__inner { width: 100%; }
  .problem-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .problem-grid li:nth-child(3) { padding-left: 10px; border-left: 0; }
  .problem-grid p { max-width: 340px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .home-page .hero h1 { max-width: calc(100% - 290px); }
  .home-page .hero-bottom > p { max-width: 420px; }
}
@media (min-width: 701px) {
  .home-page .hero {
    display: grid;
    align-content: center;
  }
  .home-page .hero-portrait {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: end;
    justify-self: end;
    top: auto;
    bottom: auto;
    translate: none;
  }
}
@media (max-width: 700px) {
  .home-page { --shell: calc(100% - 40px); }
  .home-page .hero {
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
    padding-top: 38px;
    padding-bottom: 52px;
  }
  .home-page .intro { margin-bottom: 29px; font-size: 24px; font-weight: 600; line-height: 1.2; }
  .home-page .hero h1 {
    max-width: none;
    font-size: clamp(42px, 12.5vw, 60px);
    line-height: 1;
  }
  .home-page .hero-portrait {
    --portrait-size: clamp(190px, 58vw, 250px);
    position: relative;
    top: auto;
    right: auto;
    margin-top: 30px;
  }
  .home-page .hero-bottom { margin-top: 28px; }
  .home-page .hero-bottom > p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 25px; }
  .primary-link { width: 100%; min-width: 0; min-height: 54px; padding-inline: 22px; font-size: 15px; }
  .home-page .hero-actions .text-link { margin-top: 0; }
  .home-problems { width: calc(100% - 40px); }
  .home-problems__inner { width: 100%; padding: 39px 0 52px; }
  .home-problems__intro h2 { max-width: 340px; font-size: clamp(38px, 11vw, 50px); }
  .home-problems__intro > p { font-size: 16px; }
  .home-problems__intro > p br { display: none; }
  .problem-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .problem-grid li,
  .problem-grid li:first-child,
  .problem-grid li:last-child {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 5px 20px;
    padding: 18px 0 19px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .problem-grid p { max-width: 315px; font-size: 15px; }
  .problem-arrow { grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .problem-grid strong { grid-column: 1; font-size: 21px; }
  .home-route { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; padding-top: 24px; }
  .page-intro { padding-top: 42px; padding-bottom: 60px; }
  .page-intro > p { font-size: 16px; }
  .project-caption h2 { font-size: 24px; margin-bottom: 10px; }
  .project-caption h2 a { padding-right: 0; }
  .page-closing { display: block; margin-top: 62px; padding-block: 27px 60px; }
  .page-closing .text-link { margin-top: 24px; }
  .about-page { grid-template-columns: 1fr; margin-top: 0; }
  .contact-page { min-height: 0; margin-top: 12px; padding-block: 30px 65px; }
}

/* Work is a growing index: one reusable card pattern, two columns, no filler. */
.work-body { overflow-x: hidden; }
.work-intro {
  padding-top: clamp(42px, 4vw, 56px);
  padding-bottom: clamp(48px, 4.5vw, 64px);
}
.work-intro h1 { max-width: 1080px; }
.work-intro > p:last-child { max-width: 620px; text-wrap: pretty; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 4vw, 62px);
  row-gap: clamp(74px, 8vw, 118px);
  align-items: start;
}
.work-card { min-width: 0; }
.work-card__link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.work-card__link:focus-visible { outline-offset: 8px; }
.work-card__topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  min-height: 56px;
  padding-top: 15px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.work-card__topline b {
  margin-right: 15px;
  color: var(--accent);
  font-weight: 500;
}
.work-card__arrow {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  transition: transform .35s var(--ease);
}
.work-card h2 {
  font-size: clamp(40px, 4.25vw, 63px);
  line-height: .98;
  letter-spacing: -.06em;
  transition: color .3s var(--ease);
}
.work-card__outcome {
  max-width: 540px;
  min-height: 3.05em;
  margin-top: 19px;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.35;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.work-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 3 / 2;
  margin-top: 31px;
  overflow: hidden;
  border: 1px solid #c9cabf;
}
.work-card__media img {
  transition: transform .7s var(--ease);
  will-change: transform;
}
.work-card__media--bilafya { background: #e8dc9d; }
.work-card__media--storyquest { background: #ddd9ce; }
.work-card__media--bilafya img,
.work-card__media--storyquest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.work-card__media--field-guides {
  place-items: end center;
  padding: 30px 30px 0;
  background: #e8e9df;
}
.work-card__media--field-guides img {
  width: auto;
  height: 94%;
  max-width: 82%;
  object-fit: contain;
  object-position: bottom center;
  border: 1px solid #cccdc2;
}
.work-card__meta {
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .01em;
}
.work-card__meta span { margin-inline: 5px; color: #a2a398; }
.work-closing { margin-top: clamp(110px, 13vw, 180px); }
.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;
}

@media (hover: hover) {
  .work-card__link:hover { border-color: var(--ink); }
  .work-card__link:hover h2 { color: var(--accent); }
  .work-card__link:hover .work-card__arrow { transform: translate(3px, -3px); }
  .work-card__link:hover .work-card__media img { transform: scale(1.022); }
}

@media (max-width: 1000px) {
  .work-grid { column-gap: 30px; }
  .work-card__outcome { min-height: 3.45em; }
  .work-card__media--field-guides { padding: 24px 24px 0; }
}

@media (max-width: 820px) {
  .work-grid { grid-template-columns: 1fr; row-gap: 76px; }
  .work-card__outcome { min-height: 0; max-width: 580px; }
  .work-card__media { margin-top: 27px; }
}

@media (max-width: 700px) {
  .work-intro { padding-top: 48px; padding-bottom: 74px; }
  .work-intro h1 { font-size: clamp(41px, 10.6vw, 68px); }
  .work-grid { row-gap: 66px; }
  .work-card__topline { min-height: 48px; padding-top: 13px; font-size: 11px; }
  .work-card h2 { font-size: clamp(37px, 10vw, 49px); }
  .work-card__outcome { margin-top: 15px; font-size: 18px; }
  .work-card__media { aspect-ratio: 4 / 3; margin-top: 24px; }
  .work-card__media--field-guides { padding: 22px 18px 0; }
  .work-card__media--field-guides img { height: 94%; max-width: 88%; }
  .work-card__meta { margin-top: 14px; font-size: 11px; }
  .work-card__meta span { margin-inline: 3px; }
  .work-closing { margin-top: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .problem-copy__text { transform: none !important; }
  .work-card__link,
  .work-card h2,
  .work-card__arrow,
  .work-card__media img { transition: none; }
  .work-card__link:hover .work-card__arrow,
  .work-card__link:hover .work-card__media img { transform: none; }
}

/* About: the business problem leads; the tools stay in their proper place. */
.about-body { overflow-x: hidden; }
.about-intro {
  padding-top: clamp(38px, 4vw, 58px);
  padding-bottom: clamp(48px, 5.5vw, 76px);
}
.about-intro h1 { margin-bottom: 0; }
.section-kicker {
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.about-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  gap: clamp(54px, 8vw, 128px);
  padding-top: 34px;
  padding-bottom: clamp(82px, 8vw, 118px);
  border-top: 1px solid var(--line);
}
.about-opening__copy h2 {
  max-width: 850px;
  font-size: clamp(31px, 3.15vw, 48px);
  line-height: 1.14;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.about-opening__copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  text-wrap: pretty;
}
.about-opening__copy h2 + p { margin-top: 30px; }
.about-opening__copy p + p {
  margin-top: 14px;
  color: var(--ink);
  font-weight: 500;
}
.decision-path {
  align-self: end;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}
.decision-path li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.55vw, 22px);
  letter-spacing: -.025em;
}
.decision-path li span {
  padding-top: 3px;
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.constraint-section {
  padding-bottom: clamp(90px, 9vw, 128px);
}
.constraint-section > .section-kicker { margin-bottom: 26px; }
.constraint-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}
.constraint-list li {
  display: grid;
  grid-template-columns: 33px 1fr;
  gap: 12px;
  min-height: 128px;
  padding: 19px 24px 26px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.28;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.constraint-list li:nth-child(odd) {
  padding-right: clamp(30px, 4vw, 60px);
  border-right: 1px solid var(--line);
}
.constraint-list li:nth-child(even) { padding-left: clamp(24px, 3vw, 46px); }
.constraint-list li span {
  padding-top: 4px;
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.tool-principle { padding-bottom: clamp(96px, 10vw, 142px); }
.tool-principle__content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: clamp(54px, 8vw, 128px);
  align-items: end;
  margin-top: clamp(46px, 5vw, 72px);
}
.tool-principle h2 {
  font-size: clamp(49px, 5.7vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
}
.tool-principle h2 span { color: var(--accent); }
.tool-principle__copy {
  max-width: 530px;
  padding-bottom: 7px;
}
.tool-principle__copy p {
  font-size: 20px;
  line-height: 1.55;
}
.tool-principle__copy .tool-list {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 17px;
}
.tool-principle__copy p + p { margin-top: 13px; }
.value-test .section-kicker { color: var(--ink); }
.value-test__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 29px;
  border-block: 1px solid var(--ink);
}
.value-test__grid p {
  min-width: 0;
  padding: clamp(38px, 5vw, 70px) clamp(24px, 4vw, 60px) clamp(46px, 6vw, 82px) 0;
  font-size: clamp(53px, 6.6vw, 101px);
  line-height: .9;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.value-test__grid p + p {
  padding-right: 0;
  padding-left: clamp(24px, 4vw, 60px);
  border-left: 1px solid var(--line);
}
.value-test__grid span {
  display: block;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}
.value-test__result {
  margin-top: 21px;
  color: var(--accent);
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.045em;
  text-align: right;
}
.no-solution {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  gap: clamp(54px, 8vw, 128px);
  align-items: start;
  margin-top: clamp(92px, 10vw, 148px);
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.no-solution h2 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.no-solution h2 span { color: var(--accent); }
.no-solution__copy {
  max-width: 550px;
  padding-top: 8px;
}
.no-solution__copy p {
  font-size: 20px;
  line-height: 1.55;
  text-wrap: pretty;
}
.no-solution__copy p:first-child { color: var(--muted); }
.no-solution__copy p + p { margin-top: 26px; }
.no-solution__copy p:last-child {
  margin-top: 4px;
  font-size: 24px;
  letter-spacing: -.03em;
}
.about-closing {
  margin-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 108px);
}
.about-closing p { max-width: 620px; text-wrap: balance; }

@media (max-width: 900px) {
  .about-opening,
  .constraint-section,
  .tool-principle__content,
  .no-solution { gap: 48px; }
  .constraint-list li { min-height: 142px; }
}

@media (max-width: 700px) {
  .about-intro { padding-top: 39px; padding-bottom: 47px; }
  .about-intro .section-label { margin-bottom: 25px; }
  .about-opening,
  .constraint-section,
  .tool-principle__content,
  .no-solution { grid-template-columns: 1fr; }
  .about-opening {
    gap: 50px;
    padding-top: 25px;
    padding-bottom: 74px;
  }
  .about-opening__copy h2 { font-size: clamp(29px, 8vw, 38px); }
  .about-opening__copy > p { font-size: 18px; }
  .about-opening__copy h2 + p { margin-top: 27px; }
  .decision-path { align-self: auto; }
  .decision-path li { font-size: 19px; }
  .constraint-section { padding-bottom: 80px; }
  .constraint-section > .section-kicker { margin-bottom: 22px; }
  .section-kicker { padding-top: 14px; font-size: 14px; }
  .constraint-list { grid-template-columns: 1fr; }
  .constraint-list li {
    min-height: 0;
    padding: 17px 0 20px;
    font-size: 20px;
  }
  .constraint-list li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .constraint-list li:nth-child(even) { padding-left: 0; }
  .tool-principle { padding-bottom: 80px; }
  .tool-principle__content { gap: 36px; margin-top: 38px; }
  .tool-principle h2 { font-size: clamp(42px, 12.5vw, 61px); }
  .tool-principle__copy { max-width: 500px; padding-bottom: 0; }
  .tool-principle__copy p { font-size: 18px; }
  .tool-principle__copy .tool-list { margin-bottom: 22px; font-size: 16px; }
  .value-test__grid { grid-template-columns: 1fr; margin-top: 23px; }
  .value-test__grid p {
    padding: 35px 0 42px;
    font-size: clamp(53px, 17vw, 76px);
  }
  .value-test__grid p + p {
    padding: 35px 0 42px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .value-test__grid span { font-size: 15px; }
  .value-test__result { margin-top: 16px; font-size: 29px; }
  .no-solution {
    gap: 34px;
    margin-top: 78px;
    padding-top: 25px;
  }
  .no-solution h2 { font-size: clamp(39px, 11vw, 53px); }
  .no-solution__copy { padding-top: 0; }
  .no-solution__copy p { font-size: 18px; }
  .no-solution__copy p + p { margin-top: 23px; }
  .no-solution__copy p:last-child { margin-top: 3px; font-size: 22px; }
  .about-closing { margin-top: 72px; padding-bottom: 62px; }
}

@media (max-width: 360px) {
  .value-test__grid p { font-size: 48px; }
}

/* On the homepage, the principle and outcome read as one compact continuation. */
.home-page .section-kicker {
  padding-top: 16px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.25;
}
.home-page .tool-principle {
  padding-bottom: clamp(68px, 6vw, 84px);
}
.home-page .tool-principle__content {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(48px, 6vw, 86px);
  margin-top: clamp(30px, 3vw, 42px);
}
.home-page .tool-principle__copy { padding-bottom: 3px; }
.home-page .tool-principle__copy .tool-list { margin-bottom: 20px; }
.home-page .tool-principle__copy p + p { margin-top: 10px; }
.home-page .value-test { padding-bottom: clamp(66px, 6vw, 82px); }
.home-page .value-test__grid { margin-top: 22px; }
.home-page .value-test__grid p {
  padding-top: clamp(34px, 4vw, 50px);
  padding-bottom: clamp(42px, 4.8vw, 60px);
}
.home-page .value-test__grid span {
  margin-bottom: 13px;
  font-size: clamp(18px, 1.45vw, 20px);
}
.home-page .value-test__result { margin-top: 16px; }

@media (max-width: 760px) {
  .home-page .tool-principle__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .home-page .section-kicker {
    padding-top: 13px;
    font-size: 16px;
  }
  .home-page .tool-principle { padding-bottom: 52px; }
  .home-page .tool-principle__content {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 27px;
  }
  .home-page .tool-principle h2 {
    font-size: clamp(40px, 11.5vw, 56px);
  }
  .home-page .tool-principle__copy p { font-size: 17px; }
  .home-page .tool-principle__copy .tool-list {
    margin-bottom: 18px;
    font-size: 15px;
  }
  .home-page .value-test { padding-bottom: 54px; }
  .home-page .value-test__grid { margin-top: 18px; }
  .home-page .value-test__grid p,
  .home-page .value-test__grid p + p {
    padding: 27px 0 32px;
    font-size: clamp(47px, 15vw, 66px);
  }
  .home-page .value-test__grid span {
    margin-bottom: 12px;
    font-size: 17px;
  }
  .home-page .value-test__result {
    margin-top: 14px;
    font-size: 27px;
  }
}

@media (max-width: 360px) {
  .home-page .value-test__grid p,
  .home-page .value-test__grid p + p { font-size: 45px; }
}

/* Scroll motion: editorial pacing, with a no-JS and reduced-motion safe baseline. */
@media (prefers-reduced-motion: no-preference) {
  html.motion-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity .5s var(--ease) var(--reveal-delay, 0ms),
      transform .5s var(--ease) var(--reveal-delay, 0ms);

    will-change: opacity, transform;
  }
  html.motion-ready [data-reveal="soft"] {
    transform: translate3d(0, 12px, 0);
  }
  html.motion-ready [data-reveal="slide"] {
    transform: translate3d(24px, 0, 0);
  }
  html.motion-ready [data-reveal="mask"] {
    opacity: 1;
    transform: translate3d(0, 18px, 0);
    filter: none;
    clip-path: inset(0 0 100% 0);
    transition:
      clip-path .5s var(--ease) var(--reveal-delay, 0ms),
      transform .5s var(--ease) var(--reveal-delay, 0ms);
    will-change: clip-path, transform;
  }
  html.motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  html.motion-ready [data-reveal="mask"].is-visible { clip-path: inset(-.2em -.12em -.28em); }

  html.motion-ready [data-rule] { position: relative; }
  html.motion-ready [data-rule]::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--ink);
    opacity: .58;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s var(--ease) var(--reveal-delay, 0ms);
    pointer-events: none;
  }
  html.motion-ready [data-rule].is-visible::before { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  html.motion-ready .about-body [data-reveal="slide"] { transform: translate3d(0, 12px, 0); }
  html.motion-ready .about-body [data-reveal="slide"].is-visible { transform: translate3d(0, 0, 0); }
}

@media print {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

/* Keep the homepage's off-screen reveal inside narrow viewports. */
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  html.motion-ready .home-page .value-test__result[data-reveal="slide"] {
    transform: translate3d(0, 12px, 0);
  }
  html.motion-ready .home-page .value-test__result[data-reveal="slide"].is-visible {
    transform: translate3d(0, 0, 0);
  }
}

/* 2026-10-07: refinements within the paper/ink/orange design system. */
[hidden] { display: none !important; }
h1, h2 { text-wrap: balance; }
.site-nav a { min-width: 44px; justify-content: center; }
.site-nav a[href="/contact.html"] { border: 1px solid var(--ink); padding: 10px 16px; }
.site-nav a[href="/contact.html"]:is(:hover,:focus-visible) { color: var(--accent); border-color: var(--accent); }
.site-nav a:is(:hover,:focus-visible), .site-footer a:is(:hover,:focus-visible), .legal-back:is(:hover,:focus-visible) { color: var(--accent); }
.text-link:is(:hover,:focus-visible) { color: var(--accent); border-color: var(--accent); }
.text-link { min-height: 44px; }
.text-link:is(:hover,:focus-visible) > span[aria-hidden] { transform: translateX(4px); }
.primary-link:focus-visible { background: #9f3618; transform: translateY(-2px); }
.primary-link:focus-visible > span[aria-hidden] { transform: translateX(4px); }
.site-footer { flex-wrap: wrap; font-size: 14px; }
.site-footer a { font-size: 14px; }
.footer-region { display: block; }
.site-footer nav { flex-wrap: wrap; gap: 12px 24px; }
.todo { background: transparent; color: var(--accent); outline: 1px dashed var(--accent); outline-offset: 2px; padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; overflow-wrap: anywhere; }
.owner-detail { padding-bottom: 32px; font-size: 13px; }
.home-page .intro { max-width: 45ch; font-size: clamp(17px,1.6vw,23px); font-weight: 400; line-height: 1.4; }
.home-page .hero-bottom > p { max-width: 54ch; }
.hero-portrait picture, .personal-portrait picture { display: block; width: 100%; height: 100%; }
.hero-actions { flex-wrap: wrap; }
.home-page .hero-actions .text-link { gap: 24px; }
.problem-grid > li { display: block; }
.problem-link { display: flex; flex-direction: column; gap: 24px; height: 100%; padding: 4px 0; }
.problem-statements { list-style: disc; padding-left: 18px; margin: 0; color: var(--muted); font-size: 16px; }
.problem-grid .problem-statements > li { display: list-item; padding: 0; border: 0; line-height: 1.5; }
.problem-grid .problem-statements > li + li { margin-top: 12px; }
.problem-grid strong { align-self: start; margin-top: auto; font-size: 22px; }
.problem-arrow { display: inline-block; margin-right: 5px; transition: transform .25s var(--ease); }
.problem-link:is(:hover,:focus-visible) .problem-arrow { color: var(--accent); transform: translateX(4px); }
.problem-link:is(:hover,:focus-visible) .problem-statements { color: var(--ink); }
.recent-work { margin-bottom: clamp(64px,8vw,110px); }
.recent-work__row { display: grid; grid-template-columns: 120px minmax(0,1fr) 24px; align-items: center; gap: 28px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.recent-work__row:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.recent-work__row picture { display: block; }
.recent-work__row img { width: 120px; height: 84px; object-fit: cover; object-position: top; }
.recent-work__row strong { font-weight: 500; }
.recent-work__row > span { line-height: 1.7; }
.recent-work__arrow { transition: transform .25s var(--ease); }
.recent-work__row:is(:hover,:focus-visible) { color: var(--accent); }
.recent-work__row:is(:hover,:focus-visible) .recent-work__arrow { transform: translateX(4px); }
.tool-principle__content { margin-top: 32px; }
.tool-principle .value-test { margin-top: 50px; }
.value-test__grid p { letter-spacing: -.045em; }
.home-page .value-test__result { margin-top: 24px; }
/* Keep this short conclusion visible even when a tall mobile section is skipped. */
html.motion-ready .home-page .value-test__result[data-reveal] { opacity: 1; transform: none; }
.home-work-link, .home-offer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--ink); padding-block: 28px 48px; }
.home-work-link p, .home-offer p { color: var(--muted); font-size: 18px; }
.home-offer p { max-width: 57ch; }
.home-offer strong { color: var(--ink); }
.legal-main h3 { margin-block: 20px 8px; font-size: 18px; }
.legal-main section a { display: inline-flex; align-items: center; min-height: 44px; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.not-found-links .primary-link { min-width: 160px; }
/* Arial/Android fallback: relax tracking without adding runtime fonts. */
@supports not (font: -apple-system-body) {
  h1, h2, .home-page .hero h1, .tool-principle h2 { letter-spacing: -.045em; }
}
@media (min-width: 701px) {
  .home-page .hero { grid-template-columns: minmax(0,1fr) auto; column-gap: 32px; align-content: center; }
  .home-page .hero .intro, .home-page .hero h1 { grid-column: 1; }
  .home-page .hero .intro { grid-row: 1; margin-bottom: 26px; }
  .home-page .hero h1 { grid-row: 2; max-width: none; font-size: clamp(43px,5.9vw,90px); }
  .home-page .hero-portrait { position: static; grid-column: 2; grid-row: 1 / 3; align-self: center; --portrait-size: clamp(200px,26vw,400px); }
  .home-page .hero-bottom { grid-column: 1 / -1; grid-row: 3; margin-top: 30px; }
}
@media (max-width: 700px) {
  .site-nav { gap: 10px; }
  .site-nav a[href="/contact.html"] { padding: 9px 12px; }
  .home-page .hero { min-height: 0; }
  .home-page .intro { font-size: 17px; margin-bottom: 24px; }
  .home-page .value-test__result { text-align: left; margin-top: 24px; }
  .problem-grid > li, .problem-grid > li:first-child, .problem-grid > li:last-child { display: block; padding: 20px 0; }
  .problem-grid .problem-statements > li { padding: 0; border: 0; }
  .problem-link { gap: 18px; }
  .recent-work__row { grid-template-columns: 84px minmax(0,1fr) 18px; gap: 14px; }
  .recent-work__row img { width: 84px; height: 68px; }
  .recent-work__row > span { font-size: 14px; }
  .home-work-link, .home-offer { flex-direction: column; align-items: flex-start; }
  .site-footer { align-items: flex-start; }
}
@media (max-width: 359px) {
  .site-nav { gap: 8px; }
  .site-nav a[href="/contact.html"] { border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .text-link span, .primary-link, .primary-link span, .problem-arrow, .recent-work__arrow { transform: none !important; }
}

/* A shared compact arrow matches the contact link throughout the site. */
.ui-arrow { display: inline-flex; width: 12px; height: 12px; flex: 0 0 12px; align-items: center; justify-content: center; vertical-align: middle; line-height: 0; }
.ui-arrow svg { display: block; width: 12px; height: 12px; }
/* Staggered example pairs reserve space so service links never move. */
.home-problems__intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.problem-pause { min-width: 44px; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.problem-pause:is(:hover,:focus-visible) { color: var(--ink); border-color: var(--ink); }
.problem-pause[hidden] { display: none; }
.problem-cycle { display: grid; transition: opacity 330ms ease-in-out, transform 330ms ease-in-out; }
.problem-statements.problem-variant { grid-area: 1 / 1; align-self: start; visibility: hidden; }
.problem-variant.is-active { visibility: visible; }
.problem-link.is-changing .problem-cycle { opacity: 0; transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .problem-cycle { transition: none; transform: none !important; } }

/* Compact Home rhythm, without stretching copy to the portrait height. */
.home-page .hero { min-height: 0; padding-block: 32px 40px; }
.home-page .hero .intro { margin-bottom: 18px; }
.home-page .hero-actions { margin-top: 18px; gap: 14px 28px; }
.home-page .recent-work { margin-bottom: clamp(28px,3vw,44px); }
@media (min-width: 701px) {
  .home-page .hero .intro, .home-page .hero h1 { align-self: start; }
  .home-page .hero-portrait { grid-row: 1 / 4; }
  .home-page .hero-bottom { grid-column: 1; grid-row: 3; margin-top: 22px; }
}
@media (max-width: 700px) {
  .home-page .hero { padding-block: 24px 32px; }
  .home-page .hero-portrait { margin-top: 22px; }
  .home-page .hero-bottom { margin-top: 22px; }
}

/* Keep the outcome and the next step close together. */
.home-page .value-test { padding-bottom: 0; }
.home-page .tool-principle { padding-bottom: 32px; }
@media (max-width: 700px) { .home-page .tool-principle { padding-bottom: 24px; } }

/* Compact spacing for Home's single changing examples. */
.home-problems__inner { padding-block: 32px 40px; }
.home-problems .problem-grid { margin-top: 18px; }
.home-problems .problem-link { gap: 14px; }
@media (max-width: 700px) {
  .home-problems__inner { padding-block: 24px 28px; }
  .home-problems .problem-grid { margin-top: 16px; }
  .home-problems .problem-grid > li { padding-block: 14px; }
  .home-problems .problem-link { gap: 12px; }
}

/* Spread navigation links across the shared mobile header. */
@media (max-width: 700px) {
  .site-nav { justify-content: space-between; }
}
