/* Octant's visual case study. Screens come directly from the supplied Figma file. */
body.cs-octant { --accent: #333; }
.octant-head { padding: 80px 0 48px; }
.octant-head h1 { font-family: var(--sans); font-size: clamp(64px, 9vw, 112px); line-height: 1; font-weight: 500; letter-spacing: -.055em; margin: 0 0 24px; }
.octant-intro { font-family: var(--sans); font-size: clamp(24px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.025em; max-width: 32ch; margin: 0; color: #333; }
.octant-links { display: flex; flex-wrap: wrap; gap: 12px; }
.octant-design-link { background: var(--grey-light); color: var(--black); }
.cs-octant .cs-meta { gap: 24px; }
.cs-octant .cs-meta dt { color: #666; }
.octant-hero-stage { padding: clamp(20px, 3.5vw, 44px); background: #eeece7; display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 22%); gap: 28px; align-items: start; border-radius: 16px; }
.octant-image { margin: 0; min-width: 0; }
.octant-image-link { display: block; background: #171715; border-radius: 8px; overflow: hidden; }
.octant-image img { display: block; width: 100%; height: auto; }
.octant-hero-desktop .octant-image-link { aspect-ratio: 1.3; }
.octant-hero-desktop img { height: 100%; object-fit: cover; object-position: top; }
.octant-hero-mobile .octant-image-link { max-height: 560px; }
.octant-image figcaption { font-family: var(--mono); font-size: 11px; line-height: 1.7; color: #555; margin-top: 14px; display: flex; gap: 8px 20px; justify-content: space-between; flex-wrap: wrap; }
.octant-image figcaption a { white-space: nowrap; text-underline-offset: 4px; }
.octant-section-nav { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 28px 0; border-bottom: 1px solid #e5e5e5; }
.octant-section-nav a { font-family: var(--mono); font-size: 12px; color: #555; text-decoration: none; }
.octant-section-nav a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.cs-octant a:focus-visible { outline: 2px solid #222; outline-offset: 5px; }
.octant-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 88px 0; scroll-margin-top: 110px; }
.octant-story .eyebrow, .octant-close .eyebrow { font-size: 11px; letter-spacing: .12em; color: #666; margin-bottom: 20px; }
.octant-story h2, .octant-close h2 { font-family: var(--sans); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; margin: 0; max-width: 18ch; }
.octant-story-copy { padding-top: 32px; color: #444; font-size: 17px; line-height: 1.75; }
.octant-story-copy p { margin: 0 0 18px; }
.octant-story-copy p:last-child { margin-bottom: 0; }
.octant-chapter { border-top: 1px solid #e5e5e5; padding-bottom: 80px; scroll-margin-top: 100px; }
.octant-story--compact { padding: 64px 0 40px; }
.octant-screen-pair, .octant-application-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 28px; align-items: start; }
.octant-source-note { font-family: var(--mono); font-size: 11px; line-height: 1.7; color: #666; margin: 28px 0 0; }
.octant-close { border-top: 1px solid #e5e5e5; padding: 72px 0; }
.octant-close p:not(.eyebrow) { color: #444; font-size: 17px; max-width: 54ch; }
@media (max-width: 899.98px) {
 .octant-hero-stage { grid-template-columns: minmax(0, 1fr) minmax(110px, 22%); gap: 16px; }
 .octant-story { gap: 28px; }
 .octant-story-copy { font-size: 16px; }
}
@media (max-width: 599.98px) {
 .octant-head { padding-top: 44px; padding-bottom: 32px; }
 .octant-head .eyebrow { font-size: 10px; line-height: 1.8; letter-spacing: .08em; }
 .octant-desktop-break { display: none; }
 .octant-hero-stage { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 24px; }
 .octant-hero-desktop .octant-image-link { aspect-ratio: 1; }
 .octant-hero-mobile { max-width: 220px; justify-self: center; }
 .octant-hero-mobile .octant-image-link { max-height: none; }
 .octant-story { grid-template-columns: minmax(0, 1fr); padding: 48px 0; gap: 20px; }
 .octant-story-copy { padding-top: 0; }
 .octant-story h2 { max-width: 23ch; }
 .octant-story--compact { padding-bottom: 28px; }
 .octant-screen-pair, .octant-application-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .octant-chapter { padding-bottom: 48px; }
 .octant-close { padding: 48px 0; }
 .octant-section-nav { gap: 12px 20px; }
}
