/* The same sculptural material, typography and spacing throughout the story. */
main{
 --chapter-lead:clamp(26px,3.1vw,38px);
 --chapter-detail:clamp(14px,1.25vw,16px);
 --caption-size:12px;
 --section-space:clamp(48px,6vw,80px);
 --gallery-gap:clamp(12px,2vw,24px);
 --seam-01:#e1e9df;--seam-02:#fafaf8;--seam-03:#fcf9f6;
 --seam-04:#faf7f8;--seam-05:#fcf4f7;--seam-06:#f5f8f2;
 --seam-07:#f9faed;--seam-08:#fffaf0;--seam-09:#fcf6f7;
 --seam-10:#fcf4f8;--seam-11:#fffafb;
}
#portfolio{--middle:#f5f9fb}
#bright-edit{--middle:#fffcf6}
#editorial{--middle:#fffbfc}
#more-edit{--middle:#fcf9fc}
#lip-edit{--middle:#fff0f5}
#beach-edit{--middle:#edf6e8}
#breakfast-edit{--middle:#fff9df}
#content-edit{--middle:#fff9f5}
#photo-edit,#rates{--middle:#fff6fa}
main>section:not(.cover){padding:var(--section-space) 6%;--edge-fade:clamp(150px,24vw,280px)}
#bright-edit::before{opacity:.16}
#lip-edit::before{opacity:.1;filter:saturate(.45) brightness(1.3)}
#beach-edit::before{opacity:.13;filter:saturate(.3) brightness(1.2)}
#breakfast-edit::before{opacity:.16}
/* Every section label, title slot, lead and supporting line follows one rhythm. */
main>section:not(.cover)>.section-label{
 display:flex;justify-content:space-between;align-items:start;gap:16px;
 margin:0;font:12px/1.4 Arial,sans-serif;letter-spacing:.35px;
}
main>section:not(.cover)>.section-label span:last-child{text-align:right}
main>section:not(.cover) .chapter-title.script-title{
 width:100%;max-width:780px;height:clamp(126px,35vw,260px);
 margin:24px auto;padding:0;
}
main>section:not(.cover) .chapter-title.script-title img{
 width:100%;height:100%;object-fit:contain;
 filter:saturate(.22) brightness(1.04) drop-shadow(0 4px 6px #65555b20);
}
/* Short words use the same optical letter height as the longer titles. */
#more-edit .chapter-title.script-title img,#content-edit .chapter-title.script-title img{max-height:82%}
#portfolio .chapter-title.script-title img{filter:brightness(1.04) drop-shadow(0 4px 6px #65555b20)}
#lip-edit .chapter-title.script-title img,#photo-edit .chapter-title.script-title img,
#rates .chapter-title.script-title img{filter:saturate(.65) brightness(1.08) drop-shadow(0 4px 6px #65555b20)}
main>section:not(.cover) .chapter-copy,
main>section.rates .chapter-copy{
 max-width:780px;min-height:0;margin:0 auto 32px;
 font:400 var(--chapter-lead)/1.22 Georgia,serif;letter-spacing:-.5px;
 text-align:center;color:#4c484c;text-wrap:balance;
}
main>section:not(.cover) .chapter-copy .copy-lead{
 display:block;margin:0;font:inherit;letter-spacing:inherit;text-transform:none;
}
main>section:not(.cover) .chapter-copy .copy-detail{
 display:block;margin:16px auto 0;max-width:580px;
 font:400 var(--chapter-detail)/1.6 Arial,sans-serif;letter-spacing:0;color:#716b70;
}
#rates .chapter-copy em{white-space:nowrap;color:#a77990}
#rates .services h3{font:400 var(--chapter-lead)/1.22 Georgia,serif;letter-spacing:-.5px;margin:12px 0 16px}
#rates .services p{font:400 16px/1.7 Arial,sans-serif}
#rates .services article{padding-top:24px}
#rates .services{gap:32px}
/* Compact groups have a deliberate change of scale, as in the supplied portfolio. */
#beauty-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:960px;gap:28px var(--gallery-gap)}
#beauty-grid>.film-card:nth-child(n){width:100%;grid-column:span 2;margin:0}
#beauty-grid>.film-card:nth-child(-n+6){grid-column:span 3}
#more-edit .care-story{max-width:960px}
#more-edit #more-videos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:960px;gap:28px var(--gallery-gap)}
#more-edit #more-videos>.film-card:nth-child(n){margin:0;grid-column:span 3}
#more-edit #more-videos>.film-card:first-child{grid-column:1 / span 4;grid-row:1 / span 2}
#more-edit #more-videos>.film-card:nth-child(2),#more-edit #more-videos>.film-card:nth-child(3){grid-column:5 / span 2}
#bright-videos,#lip-videos,#breakfast-videos,#beach-videos,#candle-portraits{
 gap:28px var(--gallery-gap);max-width:960px;
}
main>section:not(.cover) .film-card:not(.theme-window) .video-wrap{border-radius:3px}
main>section:not(.cover) .film-card>.video-controls{margin:8px auto 0;gap:3px}
main>section:not(.cover) .film-card>.video-controls button{
 width:32px;min-width:32px;height:32px;min-height:32px;padding:7px;
}
main>section:not(.cover) .film-card figcaption,
#photo-edit .photo-card figcaption,
#photo-edit .inspiration-film .film-card figcaption{
 font:400 var(--caption-size)/1.5 Arial,sans-serif;color:#716b70;
 letter-spacing:0;margin:8px 0 0;text-align:center;text-wrap:balance;
}
/* Two smaller photographs on the left; one uninterrupted ocean film on the right. */
#photo-edit .inspiration-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:var(--gallery-gap);max-width:900px;margin:auto;align-items:start}
#photo-edit .inspiration-layout .photo-layout{display:grid;grid-template-columns:1fr;gap:24px;width:100%;padding:0;margin:0}
#photo-edit .inspiration-layout .photo-card{width:100%;margin:0}
#photo-edit .inspiration-layout .photo-frame{border:0}
#photo-edit .inspiration-layout .photo-original{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:3px;box-shadow:none}
#photo-edit .inspiration-layout .inspiration-film{width:100%;max-width:none;margin:0}
/* Contacts stay above all decorative layers. */
#contact,.contact-panel,.contact-links,.email-copy{position:relative;z-index:5;pointer-events:auto}
#contact a,#contact button,#contact input{pointer-events:auto;touch-action:manipulation}
#rates .email-address{user-select:all;-webkit-user-select:all;-webkit-touch-callout:default}
@media(max-width:760px){
 main>section:not(.cover)>.section-label{font-size:12px;letter-spacing:0;gap:12px}
 main>section:not(.cover) .chapter-title.script-title{margin:24px auto}
 #photo-edit .inspiration-layout .photo-layout{gap:18px}
 #rates .services{padding:0}
 #rates .contact-options{margin:0 auto 40px}
 #rates .contact-panel{padding:20px 12px 14px}
}
@media(max-width:380px){
 #beauty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #beauty-grid>.film-card:nth-child(n){grid-column:auto}
 #more-edit #more-videos{grid-template-columns:repeat(2,minmax(0,1fr))}
 #more-edit #more-videos>.film-card:nth-child(n){grid-column:auto;grid-row:auto}
}

/* Restore the original full-scene mint sculpture on the final two chapters. */
main{--seam-09:#e1e9df;--seam-10:#e1e9df;--seam-11:#e1e9df}
#photo-edit,#rates{--middle:#e2e9df;color:#43564b}
main>section:is(#photo-edit,#rates)::before{
 content:''!important;position:absolute;inset:0;z-index:0;pointer-events:none;
 background-image:url('assets/hero-mint.png');background-repeat:no-repeat;
 background-size:auto 112%;background-position:50% 50%;opacity:.76;
 animation:closing-sculptures 28s ease-in-out infinite alternate!important;
}
@keyframes closing-sculptures{
 from{background-position:48% 42%}
 to{background-position:52% 58%}
}
#photo-edit .chapter-copy,#rates .chapter-copy,#rates .services h3{color:#43564b}
#photo-edit .chapter-copy .copy-detail,#photo-edit .photo-card figcaption,
#photo-edit .inspiration-film .film-card figcaption,#rates .services p{color:#4b5b52}
#rates .services{
 padding:32px;background:#f7f4ebc7;border:1px solid #fff9;border-radius:24px;
 backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
#rates .services article{border-color:#62726430}
#rates summary.contact-button{background:#4a6053;border-color:#4a6053;color:#fffaf3;border-radius:30px}
#rates .contact-panel{background:#f8f6edee;border-color:#ffffffb3}
#rates .copy-email{background:#eef2e8;border-color:#c6d0c2;color:#43564b}
#rates .email-address{border-color:#c6d0c2;color:#43564b}
body>footer{background:linear-gradient(#e1e9df,#e6ece1);color:#43564b}
.motion-paused main>section:is(#photo-edit,#rates)::before,
main>section:is(#photo-edit,#rates):not(.scene-visible)::before{animation-play-state:paused!important}
@media(max-width:760px){#rates .services{padding:24px 22px}}
@media(prefers-reduced-motion:reduce){main>section:is(#photo-edit,#rates)::before{animation:none!important}}

/* Original cover lettering: natural proportions, no enlargement past the page. */
.cover .name-art{width:100%;height:auto;aspect-ratio:auto;max-width:1296px;max-height:none;margin:16px auto 0;object-fit:contain;filter:none;mix-blend-mode:normal}
/* Two getting-ready stories, then a balanced pair of makeup and skincare films. */
#bright-edit #bright-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:780px;gap:28px var(--gallery-gap)}
#bright-edit #bright-videos>.film-card:nth-child(n){grid-column:auto;grid-row:auto;width:100%;margin:0;justify-self:center}
#bright-edit .morning-style{max-width:780px;margin:44px auto 0;text-align:center}
#bright-edit .morning-style>h3{font:400 clamp(24px,3vw,32px)/1.25 Georgia,serif;letter-spacing:-.4px;color:#4c484c;margin:0 0 24px}
#bright-edit #style-videos{display:grid;grid-template-columns:1fr;width:76%;max-width:420px;gap:0;margin:0 auto}
#bright-edit #style-videos>.film-card:nth-child(n){grid-column:auto;grid-row:auto;width:100%;min-width:0;margin:0;justify-self:center}
/* Soft cream molding echoes the window on every film. */
main>section:not(.cover) .film-card:not(.theme-window) .video-wrap{
 border:6px solid #fffdf3;border-radius:14px;box-shadow:0 0 0 1px #cbd1c2,0 0 0 3px #f7f7ec;
 background:#fffdf3;transform:none;isolation:auto;
}
main>section:not(.cover) .film-card video{backface-visibility:visible;-webkit-backface-visibility:visible}
main>section:not(.cover) .film-card>.video-controls button{width:40px;min-width:40px;height:40px;min-height:40px;padding:10px;touch-action:manipulation}
#portfolio .theme-window>.video-controls button{width:34px;min-width:34px;height:34px;min-height:34px;padding:8px}
.video-wrap .play-on-film{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border:1px solid #fff9;border-radius:50%;background:#fffdf2e6;color:#43564b;z-index:3;padding:13px;touch-action:manipulation}
.play-on-film svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.is-playing .play-on-film{display:none}
/* Each row remains a matched pair after the requested removals. */
#beauty-grid>.film-card:nth-child(n){grid-column:span 3}
#more-edit #more-videos>.film-card:nth-child(n){grid-column:span 3;grid-row:auto;margin:0}
/* Pastel color stays visible behind the films, with shared colors at every seam. */
#lip-edit{--middle:#fbeaf0}
#beach-edit{--middle:#eaf3e5}
#breakfast-edit{--middle:#fff7df}
#bright-edit::before{opacity:.1}
#lip-edit::before{opacity:.06}
#beach-edit::before{opacity:.08}
#breakfast-edit::before{opacity:.08}
/* Transform the full mint scene, avoiding an expensive background repaint. */
@keyframes closing-sculptures{from{transform:translate3d(-.7%,-.6%,0) scale(1.025)}to{transform:translate3d(.7%,.6%,0) scale(1.025)}}
#rates .services{backdrop-filter:none;-webkit-backdrop-filter:none}
#rates .chapter-title.script-title img{filter:drop-shadow(0 4px 6px #53604c18)}
#photo-edit .chapter-title.script-title img{filter:grayscale(1) sepia(.15) hue-rotate(40deg) brightness(1.12) drop-shadow(0 4px 6px #53604c18)}
/* A single direct invitation. No disclosure, email/Gmail choices or square panel. */
#rates .contact-direct{position:relative;z-index:5;max-width:640px;margin:0 auto 42px;text-align:center}
#rates .contact-direct .contact-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 20px;border:1px solid #a8b8a2;border-radius:28px;padding:15px 25px;background:#e4ecd9;color:#40543f;font:400 16px/1.4 Arial,sans-serif;letter-spacing:0;box-shadow:inset 0 1px 0 #ffffffad;min-height:48px}
#rates .contact-direct .email{display:table;margin:0 auto;max-width:100%;font:400 16px/1.5 Arial,sans-serif;color:#43564b;user-select:all;-webkit-user-select:all;-webkit-touch-callout:default;border-bottom:1px solid #71846e}
#rates .contact-direct .copy-email{background:transparent;border:0;border-radius:0;font-size:12px;min-height:44px;padding:8px 14px;margin:4px auto 0;text-decoration:underline;text-underline-offset:3px;color:#52694d}
#rates .contact-direct .copy-status{min-height:18px;font:12px/1.5 Arial,sans-serif;color:#52694d}
#contact a,#contact button,footer a{pointer-events:auto;touch-action:manipulation}
.reduce-decoration main>section::before,.reduce-decoration .chapter-title img,.reduce-decoration .scene img{animation:none!important}
@media(max-width:380px){#beauty-grid>.film-card:nth-child(n),#more-edit #more-videos>.film-card:nth-child(n){grid-column:auto}main>section:not(.cover) .film-card>.video-controls button{width:36px;min-width:36px;height:36px;min-height:36px;padding:9px}}

/* Keep the poster visible during first-load buffering, never between scroll visits. */
main>section:not(.cover) .video-poster{visibility:visible;opacity:1;transition:none;pointer-events:none}
main>section:not(.cover) .has-frame .video-poster{visibility:hidden;opacity:0}
.video-wrap .play-on-film{z-index:3}
main>section#photo-edit .film-card:not(.theme-window) .video-wrap{border:0;border-radius:3px;box-shadow:none;background:transparent}
/* Both closing titles share the original upright foil letterforms and mint color. */
#photo-edit .chapter-title.script-title img,#rates .chapter-title.script-title img{filter:drop-shadow(0 4px 6px #53604c18)}
#rates .chapter-copy em{color:#536b53}
/* Visible, gentle movement of the original complete sculptures, with no torn edges. */
@keyframes full-scene-float{0%{transform:translate3d(-1.5%,-.8%,0) scale(1.045)}100%{transform:translate3d(1.5%,.8%,0) scale(1.045)}}
html.motion-enabled main>section:is(#photo-edit,#rates)::before{animation:full-scene-float 11s ease-in-out infinite alternate!important;animation-play-state:running!important;transform-origin:center}
html.motion-enabled main>section:is(#photo-edit,#rates):not(.scene-visible)::before{animation-play-state:paused!important}
html.motion-enabled main>section:not(.cover) .chapter-title img{animation:title-breathe 12s ease-in-out infinite!important}
html.motion-enabled main>section:not(.scene-visible) .chapter-title img{animation-play-state:paused!important}

/* Plain closing headlines, matching the cover's serif and italic pairing. */
#photo-edit .closing-heading,#rates .closing-heading{font:400 clamp(34px,5.5vw,62px)/1.12 Georgia,serif;letter-spacing:-1px;color:#43564b;max-width:850px;margin:44px auto 28px;text-align:center;text-wrap:wrap;word-break:normal;overflow-wrap:normal}
.closing-heading em{color:#536b53;font-weight:400;white-space:normal}
#photo-edit .closing-description{max-width:660px;margin:0 auto 36px;font:400 var(--chapter-detail)/1.6 Arial,sans-serif;color:#4b5b52;text-align:center;text-wrap:wrap}
main>section:not(.cover) .chapter-copy,main>section.rates .chapter-copy,.cover .intro h2,.cover .intro p,main>section:not(.cover) .film-card figcaption,#photo-edit .photo-card figcaption,#photo-edit .inspiration-film .film-card figcaption{text-wrap:wrap;word-break:normal;overflow-wrap:normal}
/* Fade the photograph into a quiet mint field instead of splicing two sculptures. */
.cover{background-image:linear-gradient(180deg,#dce8df,#e1e9df)!important}
.cover>.cover-photo{-webkit-mask-image:linear-gradient(to bottom,#000 94%,transparent 100%);mask-image:linear-gradient(to bottom,#000 94%,transparent 100%)}
@media(max-width:760px){.cover>.cover-photo{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 7%,#000 94%,transparent 100%);mask-image:linear-gradient(to bottom,transparent,#000 7%,#000 94%,transparent 100%)}#photo-edit .closing-heading,#rates .closing-heading{margin-top:36px}.cover .intro-statement{font-size:var(--chapter-lead);line-height:1.3}}

/* Beauty uses the same title slot as the other chapters, with no short-word reduction. */
#more-edit .chapter-title.script-title{width:100%;max-width:780px;height:clamp(126px,35vw,260px)}
#more-edit .chapter-title.script-title img{width:100%;height:100%;max-height:none;object-fit:contain}

/* Balanced paired galleries; an unpaired final film stays centered at the same size. */
#editorial #beauty-grid,#more-edit #more-videos,#lip-edit #lip-videos,
#breakfast-edit #breakfast-videos,#beach-edit #beach-videos{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 column-gap:var(--gallery-gap);align-items:start;
}
#editorial #beauty-grid>.film-card:nth-child(n),
#more-edit #more-videos>.film-card:nth-child(n),
#lip-edit #lip-videos>.film-card:nth-child(n),
#breakfast-edit #breakfast-videos>.film-card:nth-child(n),
#beach-edit #beach-videos>.film-card:nth-child(n){
 grid-column:auto;grid-row:auto;width:100%;min-width:0;margin:0;justify-self:center;
}
#editorial #beauty-grid>.film-card:last-child:nth-child(odd),
#more-edit #more-videos>.film-card:last-child:nth-child(odd),
#lip-edit #lip-videos>.film-card:last-child:nth-child(odd),
#breakfast-edit #breakfast-videos>.film-card:last-child:nth-child(odd),
#beach-edit #beach-videos>.film-card:last-child:nth-child(odd){
 grid-column:1 / -1;width:calc((100% - var(--gallery-gap)) / 2);justify-self:center;
}

/* Textures immediately follows the window; preserve continuous background seams. */
#editorial{--start:var(--seam-02);--end:var(--seam-03)}
#bright-edit{--start:var(--seam-03);--end:var(--seam-04)}
#bright-edit #bright-videos>.film-card:last-child:nth-child(odd){grid-column:1 / -1;width:calc((100% - var(--gallery-gap)) / 2);justify-self:center}
main>section:not(.cover) .film-card>.film-source-link{position:relative;z-index:2;display:table;max-width:100%;margin:6px auto 0;padding:10px 8px;min-height:44px;font:400 12px/1.5 Arial,sans-serif;text-align:center;color:#43564b;text-decoration:underline;text-underline-offset:4px;touch-action:manipulation}
.film-source-link:focus-visible{outline:2px solid #43564b;outline-offset:3px;border-radius:4px}

/* Two original coastal photographs close the inspiration chapter. */
#photo-edit .coastal-portraits{display:grid;grid-template-columns:2fr 3fr;gap:var(--gallery-gap);width:100%;max-width:900px;margin:clamp(32px,5vw,56px) auto 0;align-items:center}
#photo-edit .coastal-portraits figure{margin:0;min-width:0}
#photo-edit .coastal-portraits img{display:block;width:100%;height:auto;border-radius:3px}

/* Home pairs ivory with warm neutrals, then burgundy; final candle is centered. */
#content-edit #candle-portraits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px var(--gallery-gap);align-items:start}
#content-edit #candle-portraits>.film-card:nth-child(n){width:100%;grid-column:auto;margin:0;min-width:0}
#content-edit #candle-portraits>.film-card:last-child:nth-child(odd){grid-column:1 / -1;width:calc((100% - var(--gallery-gap)) / 2);justify-self:center}
