/* Home art direction. Loaded only by index.html; shared styles stay intact. */
.home-page .content-section { border-top: 0; }

/* Portfolio: a lead case, a smaller companion, then a landscape format. */
.home-page .projects-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.home-page .projects-grid .project-card { aspect-ratio: 4 / 5; }
.home-page .projects-grid .indre-card { aspect-ratio: 6 / 5; }
.home-page .projects-grid .project-card:nth-child(2) { margin-top: 8vw; }
.home-page .projects-grid .project-card:nth-child(3) { grid-column: 1 / -1; width: 62%; margin-left: auto; aspect-ratio: 2 / 1; }
.home-page .projects-grid .project-card:nth-child(n+4) { grid-column: auto; width: auto; margin: 0; }
.home-page .indre-card-mark { width: 27%; top: 37%; }
.home-page .indre-card-art { padding: clamp(1.5rem, 3.5vw, 3.5rem); }
.home-page .projects-intro { margin-bottom: 3.5rem; }

/* Services: full-width, native disclosure rows; no dependency on hover. */
.home-page .services-section { background: var(--navy); }
.home-page .services-section > .editorial-layout { display: block; }
.home-page .services-section .section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 4rem; align-items: end; }
.home-page .services-section .eyebrow { grid-column: 1 / -1; }
.home-page .services-section .section-copy { margin: 0 0 .2rem; max-width: 25rem; justify-self: end; }
.home-page .service-list { margin-top: 4rem; }
.home-page .service-list > li { display: block; padding: 0; border-top: 1px solid var(--line); }
.home-page .service-list > li:last-child { border-bottom: 1px solid var(--line); }
.home-page .service-detail { transition: background-color 350ms ease; }
.home-page .service-detail[open] { background: rgba(255,255,255,.035); }
.home-page .service-detail summary { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 2rem; align-items: center; gap: 1.5rem; min-height: 100px; padding: 1.7rem 1.5rem; cursor: pointer; list-style: none; }
.home-page .service-detail summary::-webkit-details-marker { display: none; }
.home-page .service-detail summary:focus-visible { outline: 2px solid white; outline-offset: -5px; }
.home-page .service-detail h3 { font-size: clamp(1.4rem, 2.8vw, 2.8rem); line-height: 1.2; transition: transform 350ms ease; }
.home-page .service-detail[open] h3 { transform: translateX(6px); }
.home-page .service-detail .item-number { padding: 0; }
.home-page .service-symbol { font-size: 1.5rem; color: #f0787b; transition: transform 350ms ease; }
.home-page .service-detail[open] .service-symbol { transform: rotate(45deg); }
.home-page .service-description { padding: 0 5rem 2rem 7rem; }
.home-page .service-description p { max-width: 37rem; margin: 0; font-size: 1rem; animation: service-copy-in 350ms ease both; }
.home-page .future-note { border: 0; font-size: .8rem; justify-content: flex-end; }
@keyframes service-copy-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Typographic pause: motion comes from the existing once-only scroll reveal. */
.home-interlude { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) var(--page-gutter); background: #071326; }
.interlude-note { margin: 0 0 3rem; color: var(--muted); font-size: .7rem; letter-spacing: .07em; }
.home-interlude h2 { margin: 0; font: 600 clamp(3.5rem, 10.8vw, 11.5rem)/1.02 "Manrope", Arial, sans-serif; letter-spacing: -.075em; }
.home-interlude h2 > span { display: block; }
.home-interlude h2 > span:last-child { margin-left: 14%; }
.interlude-line { display: block; width: 14%; height: 2px; background: var(--red); margin: 3rem 0 0 auto; }

/* Vertical process: all copy is readable independently of the sticky counter. */
.home-page .process-section { background: var(--background); }
.process-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8vw; align-items: start; }
.process-anchor { position: sticky; top: 3rem; }
.process-anchor .section-title { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.process-readout { position: relative; height: clamp(11rem, 24vw, 24rem); margin-top: 2rem; font: 600 clamp(11rem, 24vw, 24rem)/1 "Manrope", Arial, sans-serif; letter-spacing: -.1em; color: #e54246; }
.process-readout > span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(8px); transition: opacity 350ms ease, transform 350ms ease; }
.process-readout > .is-current { opacity: 1; transform: none; }
.process-progress { margin: 1rem 0 0; color: var(--muted); text-transform: uppercase; font-size: .65rem; letter-spacing: .15em; }
.home-page .process-list { display: block; margin: 0; }
.home-page .process-list li, .home-page .process-list li:last-child { display: flex; flex-direction: column; justify-content: center; min-height: 55svh; padding: 3rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.17); gap: 0; }
.home-page .process-list li::before { display: none; }
.home-page .step-number { margin: 0 0 1.5rem; color: #ec898b; font-size: .75rem; }
.home-page .process-list h3 { font-size: clamp(1.7rem, 3.2vw, 3.2rem); line-height: 1.2; }
.home-page .process-list p { margin: 1.4rem 0 0; max-width: 27rem; font-size: 1rem; }
.home-page .process-list .is-current { border-bottom-color: var(--red); }

/* About: a light editorial spread with a large headline and offset copy. */
.home-page .about-section { background: #f2f0ec; color: var(--navy); padding-block: clamp(5rem, 10vw, 10rem); }
.home-page .about-section .eyebrow { color: var(--navy); }
.home-page .about-layout { display: block; }
.home-page .about-section .section-title { font-size: clamp(3.5rem, 8.5vw, 9rem); max-width: 65rem; line-height: 1.03; }
.home-page .about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 4rem; margin: 4rem 0 0 22%; }
.home-page .about-lead { grid-row: span 3; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.5; }
.home-page .about-copy .section-copy { margin: 0; color: #344459; font-size: .94rem; }
.home-page .about-copy .text-link { justify-self: start; margin-top: 0; }
.home-page .about-section a:focus-visible { outline-color: var(--navy); }

/* Principles: staggered statements, with no row or card treatment. */
.home-page .differences-section > .editorial-layout { display: block; }
.home-page .differences-section .section-heading { max-width: 35rem; }
.home-page .differences-section .section-title { font-size: clamp(2rem, 3vw, 3rem); }
.home-page .difference-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4.5rem 2rem; margin-top: 5rem; counter-reset: principles; }
.home-page .difference-list > div { counter-increment: principles; grid-column: 1 / 9; border: 0; padding: 0; }
.home-page .difference-list > div::before { content: "0" counter(principles); position: static; display: block; width: auto; height: auto; background: none; color: #ec898b; margin-bottom: 1.2rem; font-size: .65rem; letter-spacing: .12em; }
.home-page .difference-list > div:nth-child(2) { grid-column: 5 / -1; }
.home-page .difference-list > div:nth-child(3) { grid-column: 1 / 6; }
.home-page .difference-list > div:nth-child(4) { grid-column: 7 / -1; padding-top: 6rem; }
.home-page .difference-list > div:nth-child(5) { grid-column: 2 / 11; }
.home-page .difference-list dt { font-size: clamp(2.3rem, 5.4vw, 5.7rem); line-height: 1.08; letter-spacing: -.065em; }
.home-page .difference-list > div:nth-child(3) dt, .home-page .difference-list > div:nth-child(4) dt { font-size: clamp(2rem, 3.8vw, 4rem); }
.home-page .difference-list dd { max-width: 26rem; margin-top: 1.5rem; }

/* Contact remains functional; the final red invitation leads into the footer. */
.home-page .contact-section { background: var(--navy); }
.home-page .contact-cta { background: var(--red); color: #fff; padding-block: clamp(5rem, 9vw, 10rem); }
.home-page .contact-cta .eyebrow { color: #fff; }
.home-page .contact-cta .eyebrow span { background: white; }
.home-page .contact-cta .brand-dot { color: #fff; }
.home-page .contact-cta .section-title { font-size: clamp(3rem, 8.5vw, 9rem); }
.home-page .contact-cta .section-copy { color: #fff; }
.home-page .contact-cta .cta { background: var(--background); color: white; padding: 1.25rem 1.75rem; }
.home-page .contact-cta .cta:hover { background: var(--navy); }
.home-page .site-footer { border-top: 0; padding-block: 2rem; }

@media (max-width: 1000px) {
  .home-page .services-section .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-page .services-section .section-copy { justify-self: start; max-width: 34rem; }
  .home-page .services-section .eyebrow { margin-bottom: 0; }
  .home-page .about-copy { margin-left: 10%; gap: 2rem; }
  .process-story { gap: 4vw; }
}
@media (max-width: 720px) {
  .home-page .projects-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-page .projects-grid .project-card, .home-page .projects-grid .project-card:nth-child(3) { grid-column: auto; width: 100%; margin: 0; aspect-ratio: 4 / 3; }
  .home-page .projects-grid .indre-card { aspect-ratio: 1; }
  .home-page .indre-card-mark { width: 30%; }
  .home-page .service-detail summary { grid-template-columns: 1.5rem minmax(0, 1fr) 1rem; gap: .8rem; min-height: 92px; padding: 1.4rem .5rem; }
  .home-page .service-detail h3 { font-size: clamp(1.15rem, 5vw, 1.6rem); }
  .home-page .service-description { padding: 0 1rem 1.5rem 2.8rem; }
  .home-page .service-description p { font-size: .9rem; }
  .home-page .service-list { margin-top: 2.5rem; }
  .home-interlude { min-height: 65svh; }
  .home-interlude h2 { font-size: clamp(2.7rem, 10vw, 5rem); }
  .home-interlude h2 > span:last-child { margin-left: 5%; }
  .process-story { display: block; }
  .process-anchor { position: static; }
  .process-readout, .process-progress { display: none; }
  .home-page .process-list { margin-top: 2.5rem; }
  .home-page .process-list li, .home-page .process-list li:last-child { min-height: 240px; padding-block: 2.5rem; }
  .home-page .process-list h3 { font-size: 2rem; }
  .home-page .step-number { font-size: 2.8rem; font-family: "Manrope", Arial, sans-serif; letter-spacing: -.06em; }
  .home-page .about-section .section-title { font-size: clamp(3rem, 11vw, 5rem); }
  .home-page .about-copy { display: block; margin: 3rem 0 0; }
  .home-page .about-copy .section-copy { margin-top: 1.5rem; }
  .home-page .about-copy .text-link { margin-top: 1.5rem; }
  .home-page .difference-list { display: block; margin-top: 3.5rem; }
  .home-page .difference-list > div, .home-page .difference-list > div:nth-child(4) { margin-bottom: 3.5rem; padding: 0; }
  .home-page .difference-list > div:nth-child(even) { margin-left: 8%; }
  .home-page .difference-list dt, .home-page .difference-list > div:nth-child(3) dt, .home-page .difference-list > div:nth-child(4) dt { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-height: 700px) and (min-width: 721px) {
  .process-anchor { top: 1.5rem; }
  .process-readout { font-size: 9rem; height: 9rem; margin-top: 1rem; }
  .process-anchor .section-title { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .service-description p { animation: none; }
  .home-page .process-readout > span { transition: none; transform: none; }
}
