.home-intro {
  isolation: isolate;
  display: grid;
  min-height: clamp(530px, 72vh, 690px);
  padding-block: clamp(46px, 5.65vw, 79px);
}
.intro-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}
.home-intro::before {
  z-index: 1;
  background: linear-gradient(94deg, #141210fa 0%, #141210ee 35%, #21160eb8 58%, #20151030 100%),
    linear-gradient(0deg, #100b09e0, transparent 65%);
  mask-image: none;
}
.home-intro h1 {
  font-size: clamp(4.15rem, 7.2vw, 7.5rem);
  line-height: .91;
}
.home-intro h1 span { color: var(--orange); }
.home-intro .wrap {
  z-index: 2;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-areas: "heading portrait" "copy portrait" "actions portrait";
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  gap: 0 clamp(24px, 5vw, 74px);
}
.intro-heading { grid-area: heading; }
.intro-copy { grid-area: copy; }
.intro-actions { grid-area: actions; }
.intro-portrait {
  grid-area: portrait;
  position: relative;
  justify-self: center;
  width: min(calc(100% - 16px), 350px);
  margin: 0;
  padding: 8px;
  border: 1px solid #f4e4cb75;
  background: #24201c;
  box-shadow: 10px 10px 0 #eb6838, 20px 27px 55px #000a;
  transform: rotate(-3deg);
}
.intro-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.home-intro .lede {
  max-width: 45ch;
  color: #f3e7d5;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}
.intro-actions .actions { margin-top: 25px; }
.intro-arrow {
  flex: none;
  width: .61em;
  height: .61em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  background: linear-gradient(135deg, transparent 43%, currentColor 45% 55%, transparent 57%);
}
.intro-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  margin-top: 8px;
  color: var(--mist);
  font-size: .88rem;
}
.intro-help a, .ask-jake:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.intro-help a:hover, .ask-jake:hover { color: var(--orange); }
.ask-jake, .explain-link, .explain-topics button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.ask-jake {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}
.ask-jake span { color: var(--orange); }
.home-intro + .free-band { padding-block: clamp(19px, 3vw, 30px); }
.home-intro + .free-band .wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr);
  gap: 5px 24px;
}
.home-intro + .free-band .eyebrow { grid-column: auto; }
.home-intro + .free-band .free-line { max-width: none; }
.explain-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--rust);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.jake-dialog {
  width: min(480px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--ink);
  border-top: 6px solid var(--orange);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 #0008;
}
.jake-dialog::backdrop { background: #120d09c4; }
.jake-dialog-controls { display: flex; align-items: center; gap: 12px; }
.jake-dialog-controls form { margin-left: auto; }
.jake-dialog h2 { font-size: clamp(2.2rem, 7vw, 3rem); margin: 5px 0 13px; }
.jake-dialog h2:focus { outline: none; }
.jake-dialog p + a { display: inline-block; margin-top: 12px; font-weight: 600; }
.explain-topics { margin: 0; padding: 0; list-style: none; }
.explain-topics button {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid #78645178;
  background: none;
  color: var(--rust);
  text-align: left;
}
.home-editorial, .home-project-lead {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: start;
}
.home-editorial h2, .home-portfolio h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
  font-size: clamp(2.35rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.047em;
  text-wrap: initial;
}
.home-editorial p, .home-projects .detail { color: var(--ink-soft); max-width: 64ch; }
.home-editorial p.eyebrow { color: var(--rust); }
.home-editorial p + p, .home-editorial h2 + p, .home-projects .detail { margin-top: 15px; }
.home-approach, .home-case { padding-block: clamp(48px, 7vw, 94px); }
.approach-heading { align-items: end; }
.approach-heading p { max-width: 42ch; }
.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  padding: 2px;
  margin: 32px 0 0;
  list-style: none;
  background: var(--ink);
  counter-reset: approach-step;
}
.approach-steps li {
  counter-increment: approach-step;
  padding: clamp(17px, 3vw, 34px);
  background: #fff7e9;
}
.approach-steps li::before {
  content: "0" counter(approach-step);
  display: block;
  width: fit-content;
  margin-bottom: 16px;
  padding: 3px 7px;
  background: var(--orange);
  font: 500 .85rem/1.4 var(--mono);
}
.approach-steps h3 { line-height: 1.05; }
.home-case .home-editorial { align-items: center; }
.home-case .home-editorial p { color: var(--mist); }
.home-case .home-editorial p.eyebrow, .home-case .story-links a { color: var(--orange); }
.case-workflow {
  padding: clamp(18px, 3vw, 34px);
  background: #f9ead4;
  color: var(--ink);
  box-shadow: 6px 6px 0 #b24d2b;
}
.case-workflow ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.case-workflow li {
  padding: 9px 11px;
  background: #e8d8c1;
  border-left: 3px solid var(--rust);
  font-weight: 600;
}
.case-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  color: var(--rust);
  font-weight: 600;
  text-underline-offset: .2em;
}
.case-brochures { margin-top: clamp(30px, 5vw, 58px); }
.case-brochures > h3 { margin-bottom: 15px; }
.case-brochure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 14px;
}
.case-brochure {
  position: relative;
  display: grid;
  grid-template-columns: clamp(72px, 14vw, 114px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 3vw, 26px);
  padding: clamp(13px, 2vw, 22px);
  color: var(--ink);
  background: #f9ead4;
}
.case-brochure-cover { display: block; width: 100%; height: auto; box-shadow: 3px 4px 0 #a95b39; }
.case-brochure-pdf::after { content: ""; position: absolute; inset: 0; }
.case-brochure-pdf:focus-visible::after { outline: 3px solid var(--orange); outline-offset: 3px; }
.case-brochure-site { position: relative; }
.case-brochure h4 { margin: 0 0 8px; font: 700 clamp(1.2rem, 3vw, 1.85rem)/1.05 var(--heading); }
.case-brochure div a {
  display: block;
  width: fit-content;
  margin-top: 4px;
  color: var(--rust);
  font-size: .85rem;
  font-weight: 600;
  text-underline-offset: .2em;
}
.story-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; }
.story-links a, .service-list a { color: var(--rust); text-underline-offset: .22em; font-weight: 600; }
.community-giving {
  padding-block: clamp(46px, 7vw, 88px);
  background: radial-gradient(circle, #78482c26 1px, transparent 1px) 0 0 / 8px 8px, #eadbc6;
  border-block: 1px solid #33251835;
}
.community-giving h2 span {
  display: block;
  color: var(--rust);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: .9;
  margin-bottom: .07em;
}
.giving-pledge { margin-top: 18px; max-width: 42ch; }
.community-giving .home-editorial > div + div {
  padding: clamp(16px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid #39251542;
  box-shadow: 5px 5px 0 #a95b39;
}
.giving-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(195px, 100%), 1fr));
  gap: 0 24px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.giving-list li { padding: 11px 0; border-top: 1px solid #78645178; }
.giving-list a { color: var(--rust); text-underline-offset: .2em; }
.giving-list li > a { display: flex; gap: 9px; align-items: center; font-weight: 600; }
.giving-list img {
  flex: 0 0 64px;
  width: 64px;
  height: 36px;
  padding: 3px;
  object-fit: contain;
  border: 1px solid #78645133;
  background: #fff;
}
.giving-list .logo-haven { background: #35322f; }
.giving-list .logo-sucasa { background: #24769b; }
.giving-list span { display: block; font-size: .88rem; color: var(--ink-soft); }
.service-list { margin: 0; }
.service-list div { padding: 17px 0; border-top: 1px solid #78645178; scroll-margin-top: 18px; }
.service-list div:last-child { border-bottom: 1px solid #78645178; }
.service-list dt { font: 700 1.85rem/1.1 var(--heading); }
.service-list dd { margin: 6px 0 0; color: var(--ink-soft); }
.home-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 27px;
}
.home-project-lead {
  grid-column: 1/-1;
  padding: 24px 0 30px;
  border-block: 1px solid #78645178;
}
.home-project-lead h3 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.home-project h3 { font-size: 2rem; }
.home-projects .pick { display: inline-block; color: var(--rust); margin-top: 14px; font-weight: 600; text-underline-offset: .22em; }
.kawaii-story-intro .home-editorial { align-items: center; }
.kawaii-story-intro .lede { color: var(--mist); }
.kawaii-story-intro figure {
  width: min(100%, 360px);
  justify-self: center;
  padding: clamp(16px, 5vw, 36px);
  background: radial-gradient(ellipse at 70% 20%, #f7d4e4, #ceb9ef);
  border: 1px solid #e9c4e0;
  box-shadow: 7px 7px 0 #986cc2;
}
.kawaii-story-intro img { display: block; width: 100%; height: auto; }
.kawaii-story-section { padding-block: clamp(44px, 7vw, 96px); }
.kawaii-story-copy { max-width: 720px; }
@media (max-width: 820px) {
  .home-editorial, .home-project-lead { grid-template-columns: 1fr; }
  .home-intro { min-height: 0; }
  .home-intro .wrap {
    grid-template-columns: minmax(0, 1fr) clamp(78px, 23vw, 150px);
    grid-template-areas: "heading heading" "copy portrait" "actions actions";
    gap: 20px clamp(12px, 4vw, 28px);
  }
  .home-intro h1 { font-size: clamp(3.65rem, 10.5vw, 5.5rem); }
  .intro-background { object-position: 64% center; }
  .home-intro::before {
    background: linear-gradient(153deg, #13100ef5 15%, #17120fc9 56%, #15100de9);
  }
  .intro-portrait {
    width: calc(100% - 8px);
    padding: 4px;
    box-shadow: 5px 5px 0 #eb6838, 9px 12px 28px #000b;
  }
  .intro-copy .lede { margin-top: 0; }
  .intro-actions .actions { margin-top: 0; }
}
@media (max-width: 680px) {
  .home-intro + .free-band .wrap { grid-template-columns: 1fr; }
  .kawaii-story-intro figure { width: min(100%, 240px); justify-self: start; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-steps li::before { margin-bottom: 8px; }
  .home-projects { grid-template-columns: 1fr; }
  .home-project + .home-project { padding-top: 18px; border-top: 1px solid #78645178; }
}
@media (max-width: 390px) {
  .intro-actions .actions { gap: 9px; }
  .intro-actions .btn { padding-inline: 10px; }
}
@media (max-width: 350px) {
  .home-intro h1 { font-size: 2.85rem; }
}
