/* Homepage cover and editorial sections, built on the shared site styles. */
body[data-page="home"] {
  --bg: #f5f4f0;
  --ink: #20211f;
  --muted: #62635e;
  --line: #d2d2ca;
  --interactive: #353e32;
  background: var(--bg);
}
body[data-page="home"]::before { display: none; }
[data-page="home"] main :is(h1, h2, h3) { font-family: var(--sans); font-weight: 400; }
[data-page="home"] main h2 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.04em; }
[data-page="home"] .shell { width: min(1440px, calc(100% - 80px)); }
[data-page="home"] .site-header { background: var(--bg); backdrop-filter: none; border: 0; }
[data-page="home"] .header-inner { min-height: 96px; border-bottom: 1px solid var(--line); }
[data-page="home"] .brand { font-size: 22px; }
[data-page="home"] .brand-square { border-radius: 0; box-shadow: none; }
[data-page="home"] .header-inner nav { gap: 30px; font-size: 13px; }
[data-page="home"] .header-inner nav .nav-contact { color: var(--ink); margin-left: 36px; }
.nav-contact span { margin-left: 22px; }
.cover { padding-top: 28px; }
.cover-title { font-size: clamp(60px, 7vw, 104px); font-weight: 400; letter-spacing: -.065em; line-height: 1.08; margin: 18px 0 26px; }
.cover-title strong { font-weight: 600; }
.cover-image { margin: 0; }
.cover-image img { width: 100%; height: auto; aspect-ratio: 2.8; object-fit: cover; object-position: center; }
.cover-image, .practice-image { position: relative; isolation: isolate; }
.cover-image::after, .practice-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("/assets/film-grain.svg") repeat;
  mix-blend-mode: soft-light;
  opacity: .6;
}
.cover-image::after { opacity: .75; }
.stack-band { display: grid; grid-template-columns: 1fr 2.4fr; align-items: center; gap: 55px; padding-block: 33px 30px; border-bottom: 1px solid var(--line); }
[data-page="home"] .stack-intro h2 { font-size: 29px; }
.stack-intro p { max-width: 250px; margin-top: 12px; font-size: 12px; line-height: 1.5; }
.stack-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 25px; padding: 0; margin: 0; list-style: none; }
.stack-logos li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.stack-logos img { flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
.cover-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.cover-index a { display: flex; gap: 18px; align-items: center; font-size: 13px; padding-block: 8px; }
.cover-index a:hover { text-decoration: underline; text-underline-offset: 5px; }
.practice-intro { padding-block: 40px; background: #29322e; color: #f5f4f0; }
.practice-intro-inner { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 72px; }
[data-page="home"] .practice-intro h2 { max-width: 500px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.2; color: #c0cbbd; }
.practice-intro h2 strong { font-weight: 550; color: #f5f4f0; }
[data-page="home"] .story-intro h2 { font-size: clamp(30px, 2.6vw, 36px); }
.intro-copy p { font-size: 17px; line-height: 1.6; color: #f5f4f0; }
.intro-copy p + p { margin-top: 16px; padding-top: 14px; border-top: 1px solid #536057; font-size: 13px; color: #c0cbbd; }
.feature-story { padding-block: 36px 40px; background: #e9e9e2; }
.editorial-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid #c6c7be; padding-bottom: 20px; }
.editorial-heading > span { font-size: 11px; color: var(--muted); }
.story-intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; margin-bottom: 24px; }
.story-intro p { font-size: 16px; line-height: 1.6; }
.workflow-figure { margin: 0 0 16px; }
.workflow-figure picture { display: block; }
.workflow-figure img { width: 100%; height: auto; }
.workflow-figure figcaption { padding-top: 13px; color: var(--muted); font-size: 10px; }
.story-detail { border-bottom: 1px solid #c6c7be; }
.story-detail summary { cursor: pointer; padding: 14px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; list-style: none; }
.story-detail summary::-webkit-details-marker { display: none; }
.story-detail summary > span { font-size: 19px; line-height: 1; transition: transform .2s; }
.story-detail[open] summary > span { transform: rotate(45deg); }
.story-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 10px 0 30px; margin: 0; list-style: none; counter-reset: steps; }
.story-steps li { counter-increment: steps; }
.story-steps li::before { content: "0" counter(steps); display: block; font: 10px var(--mono); color: var(--muted); margin-bottom: 14px; }
.story-steps h3 { font-size: 20px; }
.story-steps p { font-size: 13px; margin-top: 10px; }
.service-index { display: grid; grid-template-columns: 1fr 1.75fr; gap: 100px; padding-block: 100px; }
.service-intro > p { max-width: 290px; margin-top: 24px; font-size: 16px; }
.service-intro .text-link { margin-top: 28px; font-size: 13px; }
.service-row { display: grid; grid-template-columns: 1fr 44px; gap: 30px; align-items: start; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; border: 0; }
.service-row:last-child { padding-bottom: 0; }
.service-row h3 { font-size: 34px; }
.service-row p { max-width: 510px; margin-top: 15px; font-size: 15px; }
.service-row > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; transition: background .2s, color .2s; }
.service-row:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.service-row:hover > span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.practice-note { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); background: #29322e; color: #f5f4f0; }
.practice-image { margin: 0; min-height: 100%; }
.practice-image img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.practice-note-copy { padding: 58px; align-self: center; }
.practice-note-copy .eyebrow { color: #c0cbbd; }
.practice-note h2 { margin-top: 32px; }
.practice-note-copy > p { margin-top: 22px; font-size: 16px; color: #d8ddd5; max-width: 420px; }
.practice-note .text-link { margin-top: 30px; font-size: 13px; }
.practice-note .text-link:hover { color: #d0dec5; }
.practice-note :focus-visible { outline-color: #f5f4f0; }
.field-notes { padding-block: 100px 90px; }
.notes-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; margin-top: 36px; align-items: stretch; }
.note-heading { margin-bottom: 26px; }
.note-heading h3 { font-size: 30px; line-height: 1.15; margin-top: 16px; }
.note-heading p { margin-top: 13px; font-size: 15px; }
.film-note { min-width: 0; }
.film-note .lifecycle-video { width: 100%; aspect-ratio: 8 / 5; border: 0; background: #20211f; }
.film-note .text-link { margin-top: 18px; font-size: 13px; }
.checklist-note { padding: 40px; background: #e9e2d3; display: flex; flex-direction: column; align-items: flex-start; }
.checklist-note h3 { font-size: clamp(32px, 3vw, 42px); line-height: 1.12; margin-top: 24px; }
.checklist-note p { font-size: 15px; margin-top: 20px; max-width: 270px; }
.checklist-preview { padding: 0; margin: 32px 0; list-style: none; width: 100%; }
.checklist-preview li { position: relative; border-top: 1px solid #c7c0b0; padding: 16px 0 16px 27px; font-size: 14px; line-height: 1.5; }
.checklist-preview li::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; border: 1px solid #858375; }
.checklist-note .text-link { margin-top: auto; font-size: 13px; }
[data-page="home"] #faq { padding-block: 0 90px; display: grid; grid-template-columns: 1fr 1.75fr; gap: 100px; }
[data-page="home"] #faq .section-heading { margin: 0; }
[data-page="home"] #faq .faq-list { width: 100%; margin: 0; }
[data-page="home"] .faq-list summary { font-size: 15px; }
[data-page="home"] .faq-list p { font-size: 14px; }
[data-page="home"] .contact-section { background: #dde4d6; padding-block: 80px; border: 0; }
[data-page="home"] .contact-grid { grid-template-columns: 1fr 1.35fr; gap: 80px; }
[data-page="home"] .contact-card { padding: 36px; border: 0; background: var(--bg); border-radius: 0; box-shadow: none; backdrop-filter: none; }
[data-page="home"] .contact-card-head { display: block; margin-bottom: 25px; }
[data-page="home"] .contact-card-head .small { display: block; margin-top: 8px; font-size: 11px; }
[data-page="home"] .form-grid label { font-size: 12px; }
[data-page="home"] .form-bottom .small { font-size: 11px; }
[data-page="home"] input, [data-page="home"] textarea { background: #fffefa; border: 1px solid #a9ada1; border-radius: 0; }
[data-page="home"] .button-primary { border-radius: 0; background: #30352e; border-color: #30352e; box-shadow: none; }
[data-page="home"] .button-primary span { color: inherit; }
[data-page="home"] .button-primary:hover { background: #454e3e; }
[data-page="home"] .site-footer { background: var(--bg); }
[data-page="home"] .footer-top > p { max-width: 270px; }
@media (min-width: 1600px) {
  .cover { padding-top: 35px; }
  .cover-title { margin-block: 24px 30px; }
}
@media (max-width: 1000px) {
  [data-page="home"] .shell { width: calc(100% - 48px); }
  [data-page="home"] .header-inner nav { gap: 20px; }
  [data-page="home"] .header-inner nav .nav-contact { margin-left: 8px; }
  .stack-band { grid-template-columns: 1fr 2fr; gap: 30px; }
  [data-page="home"] .stack-intro h2 { font-size: 25px; }
  .stack-logos { gap: 23px 16px; }
  .stack-logos li { flex-direction: column; align-items: flex-start; gap: 9px; font-size: 13px; }
  .practice-intro-inner, .story-intro { gap: 36px; }
  .service-index, [data-page="home"] #faq { gap: 50px; }
  .practice-note-copy { padding: 36px; }
  .practice-note h2 { font-size: 36px; }
  .notes-grid { gap: 28px; }
  .checklist-note { padding: 30px; }
  .workflow-figure { max-width: 480px; margin-inline: auto; }
  .service-row h3 { font-size: 30px; }
  [data-page="home"] .contact-grid { gap: 40px; }
}
@media (max-width: 700px) {
  [data-page="home"] .shell { width: calc(100% - 40px); }
  [data-page="home"] .header-inner { min-height: 78px; }
  [data-page="home"] .brand { font-size: 20px; }
  [data-page="home"] .header-inner nav { background: var(--bg); gap: 4px; }
  [data-page="home"] .header-inner nav .nav-contact { margin-left: 0; }
  .cover { padding-top: 22px; }
  .cover-title { font-size: clamp(44px, 9.5vw, 65px); line-height: 1; margin-block: 29px 30px; }
  .cover-title strong { display: block; }
  .cover-image img { aspect-ratio: 1.15; }
  .stack-band { grid-template-columns: 1fr; gap: 28px; padding-block: 30px; }
  [data-page="home"] .stack-intro h2 { font-size: 29px; }
  .stack-intro p { max-width: none; margin-top: 10px; }
  .stack-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 18px; }
  .stack-logos li { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; }
  .stack-logos img { flex-basis: 24px; width: 24px; height: 24px; }
  .cover-index { gap: 14px; }
  .cover-index a { font-size: 11px; gap: 8px; flex-wrap: wrap; line-height: 1.3; }
  .practice-intro { padding-block: 28px; }
  .practice-intro-inner { display: block; }
  .practice-intro .intro-copy { margin-top: 18px; }
  .intro-copy p { font-size: 15px; }
  .feature-story { padding-block: 28px; }
  .editorial-heading { gap: 15px; }
  .editorial-heading > span { font-size: 10px; }
  .story-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
  .story-intro p { font-size: 15px; }
  .story-steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .service-index { grid-template-columns: 1fr; gap: 35px; padding-block: 58px; }
  .service-intro > p { max-width: 430px; margin-top: 18px; font-size: 15px; }
  .service-intro .text-link { margin-top: 14px; }
  .service-row { gap: 18px; padding-block: 26px; }
  .service-row:first-child { padding-top: 26px; border-top: 1px solid var(--line); }
  .service-row h3 { font-size: 28px; }
  .service-row p { font-size: 14px; }
  .practice-note { grid-template-columns: 1fr; }
  .practice-image { min-height: 0; }
  .practice-image img { aspect-ratio: 1.35; height: auto; }
  .practice-note-copy { padding: 32px 26px 38px; }
  .practice-note h2 { margin-top: 24px; }
  .practice-note-copy > p { font-size: 15px; margin-top: 22px; }
  .field-notes { padding-block: 58px; }
  .notes-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 28px; }
  .note-heading h3 { font-size: 28px; }
  .checklist-note { padding: 30px 26px; }
  .checklist-note h3 { font-size: 36px; }
  .checklist-preview { margin-block: 26px; }
  [data-page="home"] #faq { grid-template-columns: 1fr; gap: 28px; padding-block: 0 58px; }
  [data-page="home"] .contact-section { padding-block: 48px; }
  [data-page="home"] .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  [data-page="home"] .contact-card { padding: 28px 22px; }
  [data-page="home"] .form-grid { grid-template-columns: 1fr; }
  [data-page="home"] .form-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .service-row > span, .story-detail summary > span { transition: none; }
}
