/* Changes on top of the 2026 design files (site.css, chrome.css, cats.css stay as delivered).
   Each rule says which request it answers. */

/* Karolina 10 Nov: the name on the home page a little smaller (was 2.6x at the top),
   then about 12% smaller again at every width (top size = 1 + --grow: 2.3 -> 2.024, phone 1.34 -> 1.179).
   The scrolled, sticky size is unchanged. */
.stage:not([data-mark]){--grow:1.024}
@media (max-width:700px){.stage:not([data-mark]){--grow:.179}}

/* Karolina 15 Nov: the logo was much bigger in the black theme (site.css sets --end:1 there, so it never
   shrank: 410px wide instead of 172px on desktop). Same sizes as the white theme. Set on body, not :root:
   custom.css loads before site.css, so a :root rule of equal weight loses; body wins by inheritance. */
:root[data-theme="dark"] body{--end:.42}
@media (max-width:700px){:root[data-theme="dark"] body{--end:.62}}

/* Intro lead: optional smaller size (block option leadSize = small; About uses it). */
.stage .intro .lead.lead-sm{font-size:clamp(24px,2.7vw,42px);max-width:24ch}

/* Karolina 10 Nov: "Meet Karolina" and "My approach" had too much empty space. */
.stage .approach2{row-gap:clamp(18px,2vw,30px);padding-bottom:clamp(20px,3vw,44px)}
.stage .approach2 h2{font-size:clamp(52px,7vw,128px)}
.stage .approach2 .ap-ph{aspect-ratio:1/1}
.stage .approach2 .ap-right{justify-content:flex-start;gap:clamp(20px,2.4vw,32px)}
.stage .approach2.meet{padding-top:clamp(28px,4vw,60px)}

/* Tiles as a carousel: two at a time with arrows (Journal: destination weddings, guides). */
.sec-h .tiles-nav{display:flex;gap:8px;margin-left:auto}
.tiles-nav button{width:44px;height:44px;border-radius:50%;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;padding:0}
.tiles-nav button svg{width:18px;height:18px}
.tiles-nav button:disabled{opacity:.3;cursor:default}
.stage .tiles.carousel{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - var(--gutter)) / 2);gap:var(--gutter);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.stage .tiles.carousel::-webkit-scrollbar{display:none}
.stage .tiles.carousel > li{scroll-snap-align:start}
.stage .tiles.carousel .ph{aspect-ratio:3/2}
@media (max-width:700px){.stage .tiles.carousel{grid-auto-columns:86%}}
/* Karolina 15 Nov: carousel arrows were easy to miss. Solid round buttons, and the next card peeks in at the
   right edge so it is clear there is more to see. */
.tiles-nav button{width:52px;height:52px;border:0;background:#141414;color:#fff;box-shadow:0 2px 12px rgba(0,0,0,.18);transition:transform .2s,opacity .2s}
.tiles-nav button:hover:not(:disabled){transform:scale(1.06)}
.tiles-nav button svg{width:20px;height:20px}
.tiles-nav button:disabled{opacity:.25}
:root[data-theme="dark"] .tiles-nav button{background:#f2f0ec;color:#141414}
.stage .tiles.carousel{grid-auto-columns:calc((100% - 2 * var(--gutter)) / 2.3)}
@media (max-width:700px){.stage .tiles.carousel{grid-auto-columns:82%}.tiles-nav button{width:44px;height:44px}}

/* Karolina 10 Nov: "Featured on" as a slowly moving strip at every width (it wrapped oddly on phones).
   Chrome.tsx prints the logos 6 times (two identical halves) and sets --n = number of logos;
   the strip rolls by half its width. Hover pauses it; with reduced motion it is a still row you can swipe. */
.featured.marquee{grid-template-columns:minmax(0,1fr);overflow:hidden;padding-inline:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.featured.marquee ul{flex-wrap:nowrap;justify-content:flex-start;gap:0;width:max-content;max-width:none;justify-self:start;animation:feat-roll calc(var(--n,6) * 12s) linear infinite}
.featured.marquee li{flex:none;padding-inline:clamp(14px,2vw,32px)}
.featured.marquee:hover ul{animation-play-state:paused}
@keyframes feat-roll{to{transform:translateX(-50%)}}
@media (max-width:700px){.featured.marquee ul{animation-duration:calc(var(--n,6) * 9s)}}
@media (prefers-reduced-motion:reduce){
  .featured.marquee{overflow-x:auto;scrollbar-width:none;-webkit-mask-image:none;mask-image:none;padding-inline:16px}
  .featured.marquee ul{animation:none}
  .featured.marquee li[aria-hidden]{display:none}
}

/* Design v231 (14 Nov): "The story in short" / "The short answer" boxes light instead of black. */
.stage .answer{background:#F6F5F2;color:#0A0A0A;border:1px solid rgba(10,10,10,.07)}
:root[data-theme="dark"] .stage .answer{background:#161616;color:#fff;border-color:#2A2A2A}

/* Design v231: Christmas banner on the family page (an HTML section linking to the Christmas page). */
.stage .xmas-banner{--g:#13302a;--gold:#d8b878;--cream:#f5ede0;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-end;min-height:clamp(380px,34vw,520px);margin:clamp(16px,3vw,48px) var(--edge);border-radius:var(--rr);overflow:hidden;background:var(--g);color:var(--cream);text-decoration:none}
.stage .xb-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:30% 4%;transition:transform 1.4s cubic-bezier(.2,.8,.15,1)}
.stage .xmas-banner::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(14,32,26,.9) 0%,rgba(14,32,26,.72) 32%,rgba(14,32,26,.15) 58%,rgba(14,32,26,0) 72%)}
.stage .xmas-banner:hover .xb-bg{transform:scale(1.03)}
.stage .xb-text{display:grid;justify-items:start;gap:clamp(12px,1.4vw,20px);max-width:36rem;padding:clamp(34px,4.6vw,76px) clamp(28px,4.4vw,80px)}
.stage .xb-k{color:var(--gold);font-size:11px}
.stage .xb-t{font-family:var(--f-display);font-weight:400;font-size:clamp(44px,5.2vw,88px);line-height:.9;letter-spacing:.005em;text-transform:uppercase;color:#fff}
.stage .xb-t em{display:block;font-family:var(--f-body);font-style:italic;font-weight:300;text-transform:none;letter-spacing:-.01em;color:var(--gold)}
.stage .xb-s{max-width:26rem;font-size:clamp(16px,1.3vw,19px);line-height:1.5;font-weight:300;color:rgba(245,237,224,.9)}
.stage .xb-cta{display:inline-flex;align-items:center;gap:14px;margin-top:6px;padding:8px 8px 8px 22px;border-radius:999px;background:var(--gold);color:var(--g);font-size:11px}
.stage .xb-cta i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--g);color:var(--cream);transition:transform .4s}
.stage .xb-cta i svg{width:16px;height:16px}
.stage .xmas-banner:hover .xb-cta i{transform:translateX(4px)}
@media (max-width:760px){.stage .xmas-banner{align-items:flex-end;justify-content:flex-start;min-height:560px}.stage .xb-bg{object-position:42% 20%}.stage .xmas-banner::before{background:linear-gradient(0deg,rgba(14,32,26,.94) 0%,rgba(14,32,26,.8) 38%,rgba(14,32,26,0) 70%)}}

/* Christmas page: the home-session form became a link to the contact form (HTML sections can't hold forms). */
.stage .xask{margin:0;align-self:center}
/* Christmas page finale photo: keep the toddler's face in frame (the design set this inline; HTML sections drop inline styles). */
.stage .finale img[src*="toddler-in-knitted-hat-by-christmas-tree"]{object-position:50% 30%}

/* Stories and guides (Karolina, 15 Nov): their hero titles are long sentences, so the display type is much
   smaller than on the service pages. Only pages with an article section (stories, guides) are affected. */
.stage:has(.article) .chero .ctitle .big{font-size:clamp(40px,5.4vw,104px);line-height:.92}
@media (max-width:700px){.stage:has(.article) .chero .ctitle .big{font-size:clamp(32px,9.6vw,52px)}}

/* Guides: photo pairs side by side, like in the stories. */
.stage .article:not(.story) .pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter);margin:clamp(28px,3vw,44px) 0;align-items:start}
.stage .article:not(.story) .pair figure{margin:0}
.stage .article:not(.story) .pair img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
@media (max-width:700px){.stage .article:not(.story) .pair{grid-template-columns:1fr;gap:12px}}
/* Guides: the "Getting there / Best time / Good for" facts row, styled like the stories' facts. */
.stage .article:not(.story) .facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px 28px;margin:0 0 clamp(20px,3vw,40px);padding:0;font-size:11px}
.stage .article:not(.story) .facts div{display:grid;gap:6px;padding-top:12px;border-top:1px solid var(--line,rgba(0,0,0,.15))}
.stage .article:not(.story) .facts dt{color:var(--index)}
.stage .article:not(.story) .facts dd{margin:0;letter-spacing:.08em;text-transform:none;font-size:14px;line-height:1.45}

/* "The story in short" box (Karolina, 15 Nov): a neutral, almost transparent grey instead of the warm off-white. */
.stage .answer{background:rgba(10,10,10,.035);border-color:rgba(10,10,10,.08)}
:root[data-theme="dark"] .stage .answer{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.1)}

/* Karolina 17 Nov: front-page opening photos change every 4 s (custom.js) with a shorter fade. */
.stage .hero.kp-fast .slide{transition:opacity 1.1s ease}
.stage .hero.kp-fast .slide.on{opacity:0}
.stage .hero.kp-fast .slide.kp-on{opacity:1}
