/* AlbumChapters theme. Shared album behavior and DOM live in album-platform. */
:root[data-theme="chapters"]{color-scheme:light;--bg:#faf8f4;--ink:#242b3a;--muted:#6c6c70;--line:#e3dfd7;--paper:#fffefd;--tech:#ae5035;--tech-dark:#853b28;--green:#ae5035;--gold:#c88d65;--teal:#a66c50;--photo:#242b3a;--photo-soft:#353e51;--shadow:0 24px 70px #242b3a14;--card-shadow:0 10px 30px #242b3a09;--header-bg:#faf8f4f5;--header-border:#e3dfd7;--nav-text:#454953;--nav-hover-bg:#eee9e1;--metric-bg:#f0ebe3;--metric-border:#e3dfd7;--icon-bg:#f6e9e1;--media-bg:#eee9e1;--tag-bg:#f5eae3;--tag-border:#e9d9ce;--tag-text:#843e29;--panel-light-bg:#f2ede6;--panel-light-border:#e3dfd7;--field-label:#454953;--field-bg:#fffefd;--field-border:#d8d4cc;--focus-ring:#ae503526;--footer-bg:#f0ebe3;--dark-panel:#242b3a;--dark-panel-border:#454953}
.chapters-theme{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.65}
.chapters-theme .site-header{display:flex;min-height:92px;padding:20px max(5vw,24px);gap:36px;box-shadow:none;border-bottom:1px solid var(--line)}
.chapters-brand{gap:11px;white-space:nowrap;color:var(--ink);text-decoration:none;min-width:0}
.chapters-brand img{width:38px;height:38px;flex:none}.chapters-brand>span{font-size:25px;font-weight:750;letter-spacing:-1.2px;line-height:1.1}.chapters-wordmark-accent{font-weight:400}.chapters-brand small{display:block;font-size:8px;font-weight:600;letter-spacing:2.1px;margin-top:6px;color:var(--muted)}
.chapters-theme .site-nav{gap:28px;margin-left:auto}.chapters-theme .header-tools{margin-left:auto}.chapters-theme .site-nav>a{font-size:13px;font-weight:500}.chapters-theme .site-nav .chapters-nav-login{border-left:1px solid var(--line);padding-left:28px;margin-left:12px;color:var(--tech)}
.chapters-theme .button{border-radius:7px;background:var(--ink);border:1px solid var(--ink);color:white;min-height:48px;padding:12px 21px;font-size:13px;gap:28px;box-shadow:none}.chapters-theme .button:hover{background:#3c465c;color:white}.chapters-theme .button--ghost{color:var(--ink);background:transparent;border-color:var(--line)}
.chapters-theme a:focus-visible,.chapters-theme button:focus-visible{outline:3px solid #ae503577;outline-offset:4px}.chapters-theme h1,.chapters-theme h2,.chapters-theme h3{letter-spacing:-.04em}.chapters-theme .eyebrow{color:var(--tech)}
.chapters-home h1,.chapters-home h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.08;letter-spacing:-.055em}.chapters-home em{font-weight:400;color:var(--tech)}
.chapters-hero{max-width:1440px;margin:auto;padding:72px max(5vw,24px) 64px;display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center}.chapters-hero-copy{padding-bottom:30px}.chapters-kicker{font-size:10px;letter-spacing:1.6px;font-weight:650;color:var(--tech);display:block;line-height:1.6}.chapters-kicker>span{display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--tech);margin-right:8px;vertical-align:middle}.chapters-hero h1{font-size:clamp(54px,5.7vw,83px);margin:25px 0}.chapters-intro{font-size:16px;max-width:405px;color:var(--muted);line-height:1.9}.chapters-actions{display:flex;gap:24px;align-items:center;margin-top:30px;flex-wrap:wrap}.chapters-text-link{font-size:12px;text-decoration:none;color:var(--ink);font-weight:650;border-bottom:1px solid var(--line);padding:6px 0}.chapters-text-link span{margin-left:16px}.chapters-hero-note{display:flex;gap:13px;align-items:center;margin-top:42px;font-size:11px;color:var(--muted);line-height:1.6}.chapters-hero-note strong{font-weight:500;color:var(--ink)}.chapters-note-mark{font-size:33px;color:var(--tech)}
.chapters-story{position:relative;background:#fffefd;border:1px solid #e5dfd3;padding:18px;transform:rotate(2deg);box-shadow:0 22px 70px #3d342417}.chapters-story-top{display:flex;justify-content:space-between;gap:10px;font-size:8px;font-weight:650;letter-spacing:1.6px;padding:2px 1px 15px}.chapters-story-photo{position:relative;margin:0;height:400px;overflow:hidden;background:#e8dad0}.chapters-story-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}.chapters-story-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,#15151e9c)}.chapters-story-photo figcaption{position:absolute;inset:auto 25px 25px;color:#fff;z-index:1}.chapters-story-photo figcaption>span{font-size:8px;letter-spacing:2px;line-height:1.8;display:block;margin-bottom:12px}.chapters-story-photo figcaption strong{font-family:Georgia,serif;font-size:38px;line-height:1.1;font-weight:400;letter-spacing:-1.5px}.chapters-story-bottom{display:flex;justify-content:space-between;align-items:center;padding:17px 4px 1px}.chapters-story-bottom>div>span{font-size:8px;letter-spacing:2px;color:var(--muted);display:block}.chapters-story-bottom strong{font-family:Georgia,serif;font-size:21px;font-weight:400}.chapters-story-seal{border:1px solid #d6c5b5;border-radius:50%;font-family:Georgia,serif;font-size:22px;font-style:italic;color:var(--tech);width:44px;height:44px;text-align:center;line-height:40px}.chapters-sample-label{font-size:8px;color:var(--muted);position:absolute;bottom:-24px;right:3px}
.chapters-occasion-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 5vw;display:flex;justify-content:center;align-items:center;gap:50px}.chapters-occasion-strip>span{font-size:9px;letter-spacing:1.4px;color:var(--muted)}.chapters-occasion-strip p{font-family:Georgia,serif;font-size:20px;margin:0;word-spacing:8px}.chapters-occasion-strip i{font-size:13px;color:var(--tech);font-style:normal;margin:0 10px}
.chapters-section{max-width:1440px;margin:auto;padding:90px max(5vw,24px)}.chapters-section-heading{display:flex;justify-content:space-between;gap:40px;align-items:flex-end;margin-bottom:40px}.chapters-section h2,.chapters-how h2,.chapters-next h2{font-size:clamp(35px,3.6vw,51px);margin:16px 0 0}.chapters-section-heading>p{max-width:280px;font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:3px}.chapters-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.chapters-feature-art{height:210px;margin-bottom:25px;overflow:hidden;position:relative;background:#e9e5dd;border-radius:3px}.chapters-feature-number{font-size:9px;color:var(--tech);letter-spacing:1.4px}.chapters-feature-grid h3{font-size:19px;line-height:1.4;margin:10px 0}.chapters-feature-grid p{font-size:13px;line-height:1.9;color:var(--muted);max-width:330px}.chapters-art-folders{display:flex;align-items:center;justify-content:center;background:#ebe5da}.chapters-folder-back{background:#cbbb9f;width:200px;height:112px;border-radius:7px;transform:rotate(-8deg);font-size:8px;letter-spacing:1.4px;padding:14px;position:absolute;top:38px}.chapters-folder-front{background:#faf7ef;width:216px;height:112px;border:1px solid #dcd1be;border-radius:7px;transform:rotate(4deg);position:absolute;top:68px;left:22%;padding:15px;font-size:9px;color:var(--tech);box-shadow:0 8px 20px #5d4b3e14}.chapters-folder-front strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:24px;letter-spacing:-.5px;color:var(--ink)}.chapters-folder-front small{font-size:8px;color:var(--muted)}.chapters-art-favorites{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#e8e5e9}.chapters-art-favorites>span{font-size:46px;line-height:1.2;color:#9f5c69}.chapters-art-favorites>strong{font-family:Georgia,serif;font-size:25px;font-weight:400}.chapters-art-favorites>small{font-size:10px;margin-top:4px;color:var(--muted)}.chapters-art-delivery{display:flex;align-items:center;justify-content:center;gap:12px;background:#e1e7e4}.chapters-art-delivery>span{font-size:36px;color:#5a766b}.chapters-art-delivery>div{background:#faf8f4;padding:17px 12px;border-radius:6px;box-shadow:0 6px 16px #2440340e}.chapters-art-delivery strong,.chapters-art-delivery small{display:block}.chapters-art-delivery strong{font-size:13px}.chapters-art-delivery small{font-size:8px;color:var(--muted);margin-top:3px}.chapters-art-delivery b{font-size:12px;color:#486456;border:1px solid #a9bcb1;border-radius:50%;width:22px;height:22px;text-align:center}
.chapters-how{background:#efeae1;display:grid;grid-template-columns:1fr 1fr;gap:10vw;padding:70px max(10vw,24px)}.chapters-how>div>p:not(.chapters-kicker){max-width:300px;color:var(--muted);font-size:13px;margin:22px 0}.chapters-how ol{padding:0;list-style:none;margin:0}.chapters-how li{display:flex;gap:24px;padding:23px 0;border-bottom:1px solid #d9d2c7}.chapters-how li:first-child{padding-top:0}.chapters-how li>span{font-family:Georgia,serif;font-style:italic;color:var(--tech);font-size:27px;line-height:1.4}.chapters-how h3{font-size:18px;margin:0 0 6px}.chapters-how li p{font-size:12px;color:var(--muted);margin:0;max-width:350px}
.chapters-next{text-align:center;padding:85px 24px;max-width:760px;margin:auto}.chapters-next>p{font-size:14px;color:var(--muted);max-width:500px;margin:25px auto;line-height:1.9}.chapters-status{display:inline-block;border:1px solid var(--line);border-radius:24px;font-size:10px;padding:7px 13px;color:var(--muted)}.chapters-contact{background:var(--ink);color:#faf8f4;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:40px max(10vw,24px)}.chapters-contact h2{font-family:Georgia,serif;font-size:35px;margin:8px 0}.chapters-contact .chapters-kicker{color:#db9975}.chapters-contact .button{background:#faf8f4;color:var(--ink)}.chapters-footer{padding:45px max(5vw,24px);display:flex;justify-content:space-between;gap:30px}.chapters-footer p{font-size:10px;color:var(--muted);margin:15px 0 0}.chapters-footer a{color:inherit}.chapters-footer .privacy-links{justify-content:flex-start;font-size:10px;gap:14px;max-width:520px}.chapters-footer>div:last-child{max-width:55%}
/* Application: same controls, deliberately different visual hierarchy. */
.chapters-theme.album-page .albums-shell{max-width:1360px;padding-top:26px}.chapters-theme.album-page h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em}.chapters-theme .album-browser-heading h1{font-size:clamp(38px,5vw,64px)}.chapters-theme .album-access,.chapters-theme .album-login,.chapters-theme .admin-album-card,.chapters-theme .album-browser-card{border-radius:9px;box-shadow:var(--card-shadow)}.chapters-theme .album-browser-cover{background:#ebe5da}.chapters-theme .album-tag{background:#f3e4d9;color:#85452f}.chapters-theme .album-steps li.is-active{background:#f3e4d9;color:#85452f}.chapters-theme .album-site-footer{font-size:11px;color:var(--muted)}.chapters-theme .admin-tab.is-active{border-color:var(--tech);color:var(--tech)}.chapters-theme .album-code-entry input:focus{border-color:var(--tech);box-shadow:0 0 0 3px var(--focus-ring)}.chapters-theme .album-preview-banner{border-color:#c58a60;background:#f6ebdc;color:#68462b}.chapters-theme .album-delete-button{background:#9f382b;border-color:#9f382b}.chapters-theme .privacy-document{max-width:850px;margin:45px auto;padding:0 24px}.chapters-theme .privacy-document h1{font-family:Georgia,serif;font-size:44px;font-weight:400}.chapters-theme .privacy-document h2{font-size:22px;margin-top:35px}.chapters-theme .cookie-actions button{background:var(--ink)}
@media(min-width:1440px){.chapters-hero{gap:90px}.chapters-story-photo{height:460px}}
@media(max-width:1050px){.chapters-theme .site-header{gap:18px}.chapters-theme .site-nav{gap:14px}.chapters-theme .site-nav .chapters-nav-login{padding-left:12px;margin-left:0}.chapters-hero{gap:36px}.chapters-story-photo{height:360px}.chapters-story-top{font-size:7px;letter-spacing:.8px}.chapters-occasion-strip{gap:24px}.chapters-occasion-strip p{font-size:17px;word-spacing:1px}.chapters-occasion-strip i{margin:0 5px}.chapters-feature-grid{gap:20px}.chapters-art-delivery{gap:6px}.chapters-art-delivery>span{font-size:25px}}
@media(max-width:800px){.chapters-theme .site-header{min-height:76px;padding:16px 22px}.chapters-theme .chapters-brand>span{font-size:23px}.chapters-theme .chapters-brand small{font-size:7px}.chapters-theme .site-nav{background:var(--bg)}.chapters-theme .site-nav .chapters-nav-login{border-left:0;padding-left:16px}.chapters-hero{grid-template-columns:1fr;padding-top:42px;padding-bottom:60px;gap:32px}.chapters-hero-copy{padding:0}.chapters-hero h1{font-size:66px}.chapters-intro{max-width:470px}.chapters-hero-note{margin-top:24px}.chapters-story{max-width:540px;width:100%;justify-self:center}.chapters-story-photo{height:360px}.chapters-occasion-strip{flex-direction:column;gap:7px;text-align:center;padding:18px}.chapters-section{padding-top:60px;padding-bottom:60px}.chapters-section-heading{align-items:flex-start;flex-direction:column;gap:18px}.chapters-section-heading>p{max-width:440px}.chapters-feature-grid{grid-template-columns:1fr;gap:25px}.chapters-feature-grid article{display:grid;grid-template-columns:1fr 1fr;gap:0 25px;align-content:center}.chapters-feature-art{grid-row:1/5;height:195px;margin-bottom:0}.chapters-feature-grid h3{font-size:18px}.chapters-feature-grid p{font-size:12px;margin-top:0}.chapters-feature-number{align-self:end}.chapters-how{gap:45px;padding-top:55px;padding-bottom:55px}.chapters-how h2{font-size:37px}.chapters-how li{gap:16px}.chapters-how h3{font-size:16px}.chapters-footer{flex-direction:column}.chapters-footer>div:last-child{max-width:100%}.chapters-contact h2{font-size:29px}}
@media(max-width:520px){.chapters-hero h1{font-size:56px}.chapters-hero{padding-left:24px;padding-right:24px}.chapters-kicker{font-size:9px;letter-spacing:1.3px}.chapters-intro{font-size:14px}.chapters-actions{gap:18px}.chapters-story{padding:12px;transform:rotate(1deg)}.chapters-story-photo{height:325px}.chapters-story-photo figcaption{inset:auto 17px 20px}.chapters-story-photo figcaption strong{font-size:34px}.chapters-story-top{font-size:6px}.chapters-occasion-strip p{font-size:14px}.chapters-occasion-strip i{font-size:10px;margin:0 3px}.chapters-feature-grid article{display:block}.chapters-feature-art{height:210px;margin-bottom:20px}.chapters-feature-grid{gap:28px}.chapters-feature-grid p{max-width:none;font-size:13px}.chapters-feature-grid h3{font-size:20px}.chapters-how{grid-template-columns:1fr;gap:30px}.chapters-how h2{font-size:42px}.chapters-next{padding:60px 24px}.chapters-next h2{font-size:37px}.chapters-contact{align-items:flex-start;flex-direction:column;padding:32px 24px}.chapters-contact h2{font-size:32px}.chapters-theme.album-page .albums-shell{padding-left:18px;padding-right:18px}.chapters-theme .album-access{padding:25px 20px}.chapters-theme .album-code-entry{gap:7px}.chapters-theme .album-code-entry input{min-width:0}.chapters-status{font-size:9px}.chapters-footer .privacy-links{gap:12px}}
@media(prefers-reduced-motion:reduce){.chapters-theme *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
