/* Balanced hero, direct image interaction, and a connected workflow sequence. */
.collection-intro-note { max-width: 430px; padding-left: 28px; border-left: 2px solid #afc9da; }
.intro-row .collection-intro-note p { font-size: 19px; line-height: 1.65; max-width: none; }
.collection-intro-note strong { color: var(--ink); font-weight: 550; }
.intro-row .collection-intro-note p+p { margin-top: 18px; font-size: 16px; }
.collection-intro-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.library-count { margin-top: 22px; font-size: 14px; }
@media(max-width:650px) {
  .collection-intro-note { padding-left: 20px; margin-top: 24px; }
  .intro-row .collection-intro-note p { font-size: 18px; margin-top: 0; }
}
.background-carousel { --card-width: 350px; --carousel-gap: 24px; min-width: 0; }
.background-carousel-window { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; padding: 5px 0; }
.background-carousel-window::-webkit-scrollbar { display: none; }
.background-carousel-track, .background-carousel-group { display: flex; gap: var(--carousel-gap); width: max-content; }
.background-carousel-track { position: relative; }
.background-carousel .theme-card { width: var(--card-width); flex: 0 0 var(--card-width); }
.background-carousel .theme-card-info { padding-bottom: 0; }
.collection-heading { align-items: center; }
.collection-summary { max-width: 430px; }
.collection-heading .collection-summary p { max-width: none; }
.collection-summary .text-link { margin-top: 15px; color: var(--blue); }
.background-carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.background-carousel-toolbar .category-links { margin: 0; gap: 12px 24px; }
.carousel-controls { display: flex; gap: 6px; flex-shrink: 0; }
.carousel-controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 19px; }
.carousel-controls button:hover { background: #e4ebe7; border-color: #a6b9c6; }
@media(max-width:650px) {
  .background-carousel { --card-width: min(280px,76vw); --carousel-gap: 16px; }
  .background-carousel-toolbar { flex-wrap: wrap; gap: 18px; }
  .background-carousel-toolbar .category-links { flex-basis: 100%; gap: 10px 20px; }
  .background-carousel-toolbar .carousel-controls { margin-left: auto; }
}
.site-header { background: #e2e8e7; color: var(--ink); border-bottom: 1px solid #ced8d4; }
.header-inner { min-height: 82px; }
.site-header .brand, .site-header .brand img { width: 170px; }
.site-header nav { gap: 28px; font-size: 14px; }
.site-header nav>a:not(.button) { border-bottom-color: transparent; }
.site-header nav>a:hover, .site-header nav>a[aria-current] { border-bottom-color: var(--blue); }
.site-header .button { background: var(--blue); color: white; border-color: var(--blue); min-height: 42px; padding: 10px 17px; font-size: 14px; font-weight: 550; line-height: 1.35; }
.site-header .button>span { display: none; }
.site-header .button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.menu-toggle { color: var(--ink); }
.product-menu summary.current { color: var(--blue); }

.home-hero { padding-block: 66px; }
.hero-grid { grid-template-columns: 1fr 1.08fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: clamp(42px,4.1vw,56px); line-height: 1.08; letter-spacing: -.045em; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .lead { max-width: 495px; font-size: 17px; line-height: 1.75; margin-top: 25px; }
.hero-copy .actions { margin-top: 30px; gap: 25px; }
.hero-comparison { border: 0; background: none; border-radius: 0; overflow: visible; }
.hero-comparison .comparison-stage { border-radius: 5px; }
.auto-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0; min-height: 44px; margin-top: 5px; border: 0; }
.auto-footer p { color: var(--muted); font-size: 13px; }
.auto-views { display: flex; gap: 0; margin: 0; }
.auto-views button { display: grid; place-items: center; width: 36px; height: 44px; padding: 0; min-height: 44px; border: 0; background: transparent; border-radius: 3px; }
.auto-views button span { width: 6px; height: 6px; border-radius: 50%; background: #a3afaa; }
.auto-views button[aria-pressed=true] { background: transparent; border: 0; }
.auto-views button[aria-pressed=true] span { width: 19px; border-radius: 4px; background: var(--blue); }
.auto-views button:hover { border: 0; background: #e9ede8; }
.playback-control { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: #ffffffeb; color: var(--ink); border-radius: 50%; border: 1px solid #d0d7d3; font-size: 17px; line-height: 1; }
.playback-control:hover { background: white; border-color: var(--blue); }
.comparison-stage { user-select: none; -webkit-user-select: none; }
.comparison-stage img { -webkit-user-drag: none; pointer-events: none; }
.comparison-line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 44px; transform: translateX(-50%); background: transparent; pointer-events: auto; cursor: ew-resize; touch-action: none; z-index: 2; }
.comparison-line::before { content: ''; position: absolute; top: 0; bottom: 0; left: 21px; width: 2px; background: white; box-shadow: 0 0 2px #17232630; }
.comparison-line span { width: 42px; height: 42px; line-height: 42px; font-size: 21px; box-shadow: 0 1px 8px #17232630; }
.comparison-line:focus-visible { outline: none; }
.comparison-line:focus-visible span { outline: 3px solid var(--blue); outline-offset: 3px; }
.is-dragging, .is-dragging * { cursor: ew-resize; }
.is-dragging .comparison-line span { box-shadow: 0 0 0 4px #ffffff60,0 2px 10px #17232630; }

.workflow-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.workflow-intro h2 { max-width: 465px; }
.workflow-intro>p:not(.eyebrow) { font-size: 16px; max-width: 420px; margin-top: 24px; }
.workflow-intro .button { margin-top: 28px; }
.workflow-sequence { list-style: none; margin: 0; padding: 0; }
.workflow-sequence li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 25px 0; position: relative; }
.workflow-sequence li:first-child { padding-top: 0; }
.workflow-sequence li:last-child { padding-bottom: 0; }
.workflow-sequence li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 66px; bottom: -24px; border-left: 1px solid #bdccc4; }
.workflow-sequence li:first-child::after { top: 42px; }
.workflow-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #b7c8bf; border-radius: 50%; background: #f7f9f4; color: var(--blue); font-size: 13px; position: relative; z-index: 1; }
.workflow-sequence h3 { font-size: 23px; margin: 6px 0 12px; }
.workflow-sequence p { font-size: 15px; max-width: 420px; line-height: 1.7; }

.photo-output { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.output-copy { max-width: 430px; }
.output-intro { font-size: 17px; line-height: 1.75; margin-top: 24px; }
.output-view-copy { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; min-height: 142px; }
.output-view-copy h3 { font-size: 21px; margin-bottom: 12px; }
.output-view-copy p { font-size: 16px; line-height: 1.75; }
.output-hint { font-size: 14px; margin-top: 22px; max-width: 340px; }
.output-gallery { min-width: 0; }
.output-thumbnails { display: flex; gap: 14px; margin-top: 16px; }
.output-thumbnails button { width: 78px; padding: 0; border-radius: 4px; text-align: center; }
.output-thumbnails img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; border: 2px solid transparent; padding: 2px; }
.output-thumbnails span { display: block; font-size: 13px; margin-top: 4px; color: var(--muted); }
.output-thumbnails button:hover img { border-color: #a6b9c6; }
.output-thumbnails button[aria-pressed=true] img { border-color: var(--blue); }
.output-thumbnails button[aria-pressed=true] span { color: var(--blue); font-weight: 600; }

@media(max-width:1100px) {
  .photo-output { gap: 40px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-copy .lead { font-size: 16px; }
  .hero-copy .actions { gap: 16px; }
  .workflow-layout { gap: 50px; }
}
@media(max-width:900px) {
  .photo-output { grid-template-columns: 1fr; gap: 30px; max-width: 660px; }
  .output-copy { max-width: none; }
  .output-view-copy { min-height: 0; }
  .output-hint { max-width: none; }
  .header-inner { min-height: 76px; }
  .site-header .brand, .site-header .brand img { width: 154px; }
  .site-header nav { gap: 7px; }
  .site-header .button { align-self: start; margin-top: 8px; }
  .product-links { background: #f4f6f2; color: var(--ink); border-color: #cbd7cf; }
  .product-links a:hover { background: #e5ede7; }
  .product-links small { color: var(--muted); }
  .hero-grid { grid-template-columns: 1fr; max-width: 660px; gap: 34px; }
  .home-hero { padding-block: 46px; }
  .hero-copy h1 { max-width: 620px; font-size: 48px; }
  .hero-copy .lead { max-width: 580px; }
  .workflow-layout { grid-template-columns: 1fr 1.15fr; gap: 35px; }
  .workflow-intro h2 { font-size: 34px; }
  .workflow-sequence li { gap: 16px; }
}
@media(max-width:650px) {
  .output-thumbnails { gap: 10px; }
  .output-thumbnails button { width: 68px; min-width: 0; }
  .output-intro { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .site-header .brand, .site-header .brand img { width: 146px; }
  .home-hero { padding-block: 37px 40px; }
  .hero-copy h1 { font-size: clamp(36px,9.2vw,43px); line-height: 1.12; }
  .hero-copy .lead { font-size: 16px; margin-top: 22px; }
  .hero-copy .actions { gap: 16px; margin-top: 25px; }
  .hero-copy .text-link { font-size: 14px; }
  .auto-footer { gap: 12px; }
  .auto-views button { width: 32px; }
  .workflow-layout { grid-template-columns: 1fr; gap: 38px; }
  .workflow-intro h2 { font-size: 33px; }
  .workflow-intro .button { margin-top: 23px; }
  .workflow-sequence { border-top: 1px solid #c6d2ca; padding-top: 28px; }
  .workflow-sequence h3 { font-size: 22px; }
}
