/* V6: real wedding drawings, a shorter mobile chapter, and clear section routes. */
.line-art { background: transparent; object-fit: contain; pointer-events: none; }
.workbook-wedding { display: flex; align-items: center; gap: 24px; }
.workbook-wedding .line-art { width: 66px; height: 78px; opacity: .85; }
.workbook-margin-note { position: relative; }
.budget-drawing { float: right; width: 62px; height: 64px; margin: 0 0 12px 10px; opacity: .8; }
.comparison-illustration { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); padding: 0 0 22px; margin-bottom: 22px; }
.comparison-illustration img { width: 64px; height: 74px; opacity: .9; }
.comparison-wedding-scene { position: relative; flex: 0 0 124px; height: 128px; }
.comparison-wedding-scene > img { position: absolute; top: 14px; left: 0; }
.comparison-wedding-scene > .comparison-couple { top: auto; left: auto; right: 0; bottom: 0; width: 68px; height: 128px; }
.comparison-illustration p { font: 500 24px/1.1 var(--serif); }
.comparison-illustration em { display: inline-block; max-width: 100%; font-weight: 400; text-wrap: balance; }
.kit-price { position: relative; padding-right: 64px; }
.kit-drawing { position: absolute; right: 0; top: 4px; width: 58px; height: 62px; opacity: .85; }
.detail-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.detail-card:first-child .detail-image { height: 385px; }
.detail-card:nth-child(2) { padding-top: 100px; }
.detail-card:nth-child(2) .detail-image { height: 265px; }
.detail-card:nth-child(3) { padding-top: 32px; }
.detail-card:nth-child(3) .detail-image { height: 300px; }
@media (min-width: 641px) and (max-width: 899px) {
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-card:first-child { grid-column: 1/-1; grid-row: auto; }
  .detail-card:nth-child(n+2) { padding: 0; grid-column: auto; }
}
@media (max-width: 640px) {
  .hero-bottom { margin-top: 25px; }
  .inside-section, .details-section, .comparison-section, .kits-section, .faq-section { padding-block: 44px; }
  .inside-section .section-heading { margin-bottom: 24px; }
  .workbook-heading { display: flex; gap: 12px; padding: 19px 14px; align-items: center; }
  .workbook-heading h3 { font-size: 31px; }
  .workbook-wedding { flex: 0 0 51px; }
  .workbook-wedding .line-art { width: 51px; height: 62px; }
  .workbook-edition { display: none; }
  .workbook-toolbar { padding-block: 9px; }
  .workbook-panel { padding-block: 18px; }
  .workbook-page-heading { margin-bottom: 12px; }
  .workbook-table tbody th:first-child { padding-top: 9px; }
  .workbook-table td { padding-bottom: 9px; }
  .workbook-page-layout { gap: 16px; }
  .workbook-margin-note { padding-top: 16px; }
  .product-demo .workbook-margin-note p { font-size: 26px; }
  .workbook-margin-note > div, .workbook-margin-note > blockquote { line-height: 1.7; }
  .budget-drawing { width: 65px; height: 68px; }
  .demo-introduction { margin-bottom: 12px; }
  .demo-controls { padding-block: 12px; }
  .demo-below { padding-top: 12px; }
  .demo-sample-link { margin-top: 0; }
  .product-demo { margin-bottom: 32px; }
  .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .detail-card:first-child { grid-column: 1/-1; }
  .detail-card:nth-child(n) { width: auto; margin: 0; padding: 0; }
  .detail-card:first-child .detail-image { height: 250px; width: calc(100% + 40px); margin-left: -20px; aspect-ratio: auto; }
  .detail-card:nth-child(n+2) .detail-image { height: 170px; aspect-ratio: auto; }
  .detail-card h3 { font-size: 26px; margin-top: 17px; }
  .detail-card:first-child h3 { font-size: 30px; }
  .detail-card p { font-size: 14px; line-height: 1.75; margin-top: 10px; }
  .details-section .section-heading { margin-bottom: 26px; }
  .details-outro { font-size: 27px; margin-top: 28px; }
  .comparison-copy { text-align: left; }
  .comparison-copy h2 { font-size: 44px; }
  .comparison-copy h2 br:nth-of-type(1) { display: none; }
  .comparison-copy > p:not(.eyebrow) { margin-top: 17px; }
  .scenario { text-align: left; margin-block: 22px; padding-block: 16px; }
  .comparison-layout { gap: 28px; }
  .comparison-illustration { padding-bottom: 14px; margin-bottom: 14px; gap: 18px; }
  .comparison-illustration img { width: 48px; height: 57px; }
  .comparison-wedding-scene { flex-basis: 104px; height: 112px; }
  .comparison-wedding-scene > img { top: 10px; }
  .comparison-wedding-scene > .comparison-couple { width: 60px; height: 112px; }
  .comparison-illustration p { font-size: 22px; }
  .comparison-table td { padding-block: 8px; }
  .breathing-space { min-height: 295px; }
  .breathing-copy { padding: 43px 24px; }
  .breathing-copy h2 { font-size: 36px; }
  .kit-card { padding: 24px 23px; }
  .kit-card h3 { font-size: 35px; }
  .kit-description { margin-top: 10px; }
  .kit-price { margin-top: 16px; padding-bottom: 16px; }
  .kit-price > strong { font-size: 62px; }
  .kit-price > span { font-size: 12px; }
  .kit-price > span > span { font-size: 10px; }
  .kit-features { padding-top: 16px; padding-bottom: 20px; font-size: 14px; }
  .kit-features li + li { margin-top: 8px; }
  .complete-card { margin-top: 32px; padding-top: 28px; }
  .guarantee { display: grid; grid-template-columns: 62px 1fr; gap: 20px; text-align: left; margin-top: 24px; padding-top: 24px; }
  .guarantee-seal { width: 62px; height: 62px; margin: 4px 0 0; }
  .guarantee-seal > strong { font-size: 31px; }
  .guarantee-seal > span { font-size: 6px; }
  .guarantee h3 { font-size: 29px; }
  .guarantee p { font-size: 14px; line-height: 1.75; }
  .guarantee .text-link { line-height: 1.7; }
  .cancellation-note { margin-top: 16px; }
  .faq-intro { padding-top: 0; }
  .faq-intro .faq-photo { margin-top: 22px; }
  .faq-list summary { padding-block: 16px; }
  .closing-section { padding-block: 40px 30px; }
  .closing-flourish { display: flex; width: 100%; align-items: center; justify-content: center; gap: 15px; margin: 24px 0 0; transform: none; }
  .closing-flourish svg { width: 48px; height: 44px; }
  .closing-flourish span { font-size: 18px; }
}
@media (max-width: 359px) {
  .detail-card:first-child .detail-image { width: calc(100% + 32px); margin-left: -16px; }
  .detail-card:nth-child(n+2) .detail-image { height: 145px; }
  .detail-card h3 { font-size: 24px; }
  .kit-drawing { width: 42px; height: 50px; }
  .kit-price { padding-right: 45px; gap: 12px; }
}
@media print { .line-art { max-height: 60px; } }

/* Native anchors stay usable with scripts disabled. One compact route at the top. */
html { scroll-padding-top: 66px; }
.section-nav { position: sticky; top: 0; z-index: 25; background: var(--ivory); border-bottom: 1px solid #cdb8ad; }
.section-nav > div { display: flex; justify-content: center; }
.section-nav a { display: flex; align-items: center; justify-content: center; min-height: 48px; min-width: 90px; padding: 10px 20px; color: var(--wine); font-size: 12px; text-decoration: none; border-bottom: 2px solid transparent; }
.section-nav a:hover, .section-nav a:focus-visible { background: #eee2db; }
.section-nav a[aria-current] { border-bottom-color: var(--wine); background: #f0e6df; }
.section-nav a:focus-visible { outline-offset: -4px; }
#included, #materials, #demo, #kits, #questions { scroll-margin-top: 14px; }
#included:focus, #materials:focus, #demo:focus, #kits:focus, #questions:focus { outline: none; }
.quick-navigation { position: relative; align-self: stretch; border-right: 1px solid #ccb7a7; }
.quick-navigation summary { min-height: 50px; min-width: 100px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 15px; color: var(--wine); font-size: 13px; }
.quick-navigation summary::after, .quick-navigation summary::marker, .quick-navigation summary::-webkit-details-marker { display: none; content: ''; }
.quick-navigation[open] summary > span { transform: rotate(180deg); }
.quick-navigation nav { position: absolute; bottom: calc(100% + 12px); left: -1px; width: 210px; padding: 8px; background: var(--paper); border: 1px solid #a78580; box-shadow: 3px 4px 0 #d9c6ba, 0 7px 24px #35272b24; }
.quick-navigation nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; color: var(--wine); text-decoration: none; font-size: 14px; }
.quick-navigation nav a:hover, .quick-navigation nav a:focus-visible { background: #eee2db; }
.sticky-choice:not([hidden]) { display: flex; align-items: center; }
.sticky-choice > a { flex: 1; gap: 12px; min-height: 50px; padding: 8px 14px; }
.sticky-choice strong { font-size: 21px; }
.sticky-arrow { font-size: 23px; }
.sticky-choice::after { display: none; }
@media (min-width: 900px) { .sticky-choice { display: none!important; } }
@media (max-width: 899px) {
  .section-nav > div { width: 100%; }
  .section-nav a { flex: 1; min-width: 0; padding-inline: 8px; }
  .sticky-choice { left: 14px; right: 14px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-height: 600px) { .sticky-choice { display: none!important; } }
@media (max-width: 359px) {
  .section-nav a { font-size: 11px; padding-inline: 5px; }
  .quick-navigation summary { min-width: 84px; padding-inline: 10px; }
  .sticky-choice > a { padding-inline: 10px; }
  .sticky-choice strong { font-size: 20px; }
}
@media print { .section-nav, .quick-navigation { display: none; } }

/* Put the two editions side by side; the contents are shown in the material spread. */
@media (min-width: 360px) and (max-width: 640px) {
  .kits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 15px; align-items: stretch; }
  .kit-card { padding: 20px 14px 16px; min-width: 0; }
  .kit-card > .eyebrow { font-size: 8px; letter-spacing: 1px; min-height: 28px; }
  .kit-card h3 { font-size: 30px; line-height: 1.04; min-height: 63px; }
  .kit-description { font-size: 13px; line-height: 1.65; min-height: 86px; }
  .kit-price { display: block; padding-right: 0; margin-top: 14px; }
  .kit-price > strong { display: block; font-size: 54px; }
  .kit-price > span { display: block; margin-top: 7px; font-size: 11px; line-height: 1.6; }
  .kit-price > span > span { display: block; font-size: 10px; line-height: 1.6; }
  .kit-price > span br { display: none; }
  .kit-drawing { width: 38px; height: 43px; top: 10px; right: -2px; }
  .kit-features { font-size: 13px; line-height: 1.65; padding-block: 16px 20px; }
  .kit-features li { padding-left: 0; }
  .kit-features li::before { display: none; }
  .kit-features li + li { margin-top: 11px; }
  .everything-line { font-size: 12px; line-height: 1.7; }
  .kit-card .button { font-size: 11px; line-height: 1.65; padding: 9px 7px; min-height: 66px; }
  .purchase-unavailable { font-size: 10px; line-height: 1.65; }
  .complete-card { margin-top: 0; padding-top: 20px; }
  .complete-ribbon { top: -18px; left: 7px; right: 7px; padding: 5px; font-size: 9px; line-height: 1.4; }
}
@media (min-width: 360px) and (max-width: 640px) {
  .kit-card .button { min-width: 0; width: 100%; white-space: normal; }
  .kit-card h3 { min-height: 63px; }
}
/* The starting amounts stay in view; the full inclusions remain one tap away. */
.comparison-pending-total { font-size: 12px; line-height: 1.75; margin-top: 15px; }
.comparison-pending-total strong { display: block; color: var(--wine); font-weight: 500; }
.comparison-more { border-block: 1px solid var(--line); margin-block: 15px; }
.comparison-more summary { display: flex; align-items: center; min-height: 52px; padding: 12px 24px 12px 0; font-size: 12px; color: var(--wine); }
.comparison-more summary:hover { background: #efe0d64d; }
.comparison-more .comparison-table { margin-bottom: 16px; }
.comparison-more summary::after { content: '+'; margin-left: auto; padding-left: 12px; font-size: 20px; line-height: 1; }
.comparison-more[open] summary::after { content: '−'; }
