/* Mobile editorial rhythm: centered copy, readable type, intrinsic form widths. */
@media(max-width:760px){
 body{font-size:22px;line-height:1.4}
 main h1,main h2{letter-spacing:0;line-height:1.16;overflow-wrap:normal;word-break:normal}
 .section-heading,.collection .section-heading,.pick-heading,.order-copy,.detail-copy,.product-info,.order-page-heading{text-align:center}
 .section-heading h2,.pick-heading h2,.detail-copy h2,.order-copy h2,.product-info h1,.order-page-heading h1{font-size:clamp(36px,9.5vw,46px);line-height:1.16}
 .section-heading p,.detail-copy p,.order-copy>p:not(.about-eyebrow),.product-description,.order-page-heading p{font-size:24px;line-height:1.38;margin:12px auto 0;max-width:34ch}
 .section-heading{margin-bottom:22px}
 .pick-heading{flex-direction:column;gap:8px}
 .section,.collection,.order{padding-top:36px;padding-bottom:36px}
 .picks-section{padding:32px 0 36px}
 .details-section{gap:24px;padding:32px 20px 36px}
 .detail-copy h2 br{display:block}
 .detail-copy .button{margin-top:20px}
 .founder-copy{padding:26px 22px 28px}
 .founder-copy h2{font-size:clamp(44px,11vw,60px);line-height:1.14;margin-bottom:12px}
 .founder-story{font-size:25px;line-height:1.35;max-width:34ch;margin-inline:auto}
 .founder-signature{margin-top:16px}
 .button,.text-link{font-size:22px;min-height:44px}
 .text-link{display:inline-flex;align-items:center;justify-content:center}
 .tile-label,.pick>span{font-size:22px;line-height:1.25;margin-top:10px}
 .pick>span{padding-top:0}
 .filters{justify-content:flex-start;gap:8px}
 .filters button{font-size:18px;min-height:44px;padding:8px 13px}
 .gallery-more{margin-top:24px}
 .collection-end{gap:8px;margin-top:24px;padding-top:20px}
 .collection-end p{font-size:25px}
 .reels-end{margin-top:20px}
 .reels-end p{font-size:20px;line-height:1.35;margin-bottom:12px}
 .reels-end .button{border-color:var(--burgundy);background:var(--burgundy);color:var(--cream)}
 .order-layout,.checkout-layout{gap:24px;min-width:0}
 .order-copy h2{margin-bottom:12px}
 .about-eyebrow{font-size:21px;margin-bottom:10px}
 .order-facts{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:22px;margin-top:16px}
 .order-form-wrap,form,.form-row,.form-row>div{min-width:0;max-width:100%}
 .form-row{grid-template-columns:minmax(0,1fr);gap:0}
 .order-form-wrap label,#cake-order-form label{font-size:22px;line-height:1.3;text-align:center;margin-bottom:7px}
 input,select,textarea{display:block;min-width:0;max-width:100%;width:100%;font-size:22px;line-height:1.35;min-height:50px;padding:10px 12px;margin-bottom:16px;text-align:center}
 input[type=date]{appearance:none;-webkit-appearance:none;min-inline-size:0}
 input[type=date]::-webkit-date-and-time-value{text-align:center}
 .form-note,.order-page .form-note,.order-submit-note{font-size:19px;line-height:1.4;text-align:center;margin-top:12px}
 .order-submit,.product-order{font-size:23px}
 .product-price{font-size:25px}
 .product-note,.summary-note{font-size:20px;line-height:1.4}
 .product-facts{font-size:22px;text-align:right}
 .product-thumbs{justify-content:center}
 footer{padding:32px 20px 24px;text-align:center}
 .footer-main{display:flex;flex-direction:column;align-items:center;gap:18px}
 .footer-main p,.footer-links{font-size:22px;line-height:1.4}
 .footer-links{justify-content:center;column-gap:22px;row-gap:10px}
 .footer-main>.button{align-self:center}
 .footer-bottom{flex-direction:column;align-items:center;justify-content:center;gap:12px;margin-top:24px;padding-top:18px;font-size:18px}
 .footer-bottom small{font-size:inherit}
 .motion-toggle{font-size:19px;min-height:44px}
}
@media(max-width:650px){
 .hero{height:auto;min-height:0}
 .hero-slides{position:relative;min-height:0}
 .hero .hero-slide{position:relative;inset:auto;padding:16px 0 64px}
 .hero .hero-slide picture{position:relative;display:block;inset:auto;width:100%;height:auto;aspect-ratio:1}
 .hero-copy{position:relative;inset:auto;max-width:none;padding:18px 20px 0;text-align:center}
 .hero-copy h1,.hero-copy h2{font-size:38px;line-height:1.16}
 .hero-copy p{font-size:24px;line-height:1.35;max-width:30ch;margin:10px auto 0}
 .hero-copy .button{font-size:22px;min-height:46px;margin-top:16px}
 .hero-scrim{display:none}
 .hero-controls>button{font-size:17px;min-height:40px}
}

/* Compact category pills with a comfortable invisible touch target. */
@media(max-width:760px){
 .filters{gap:6px;align-items:center}
 .filters button{font-size:16px;line-height:1.2;padding:8px 11px;min-height:38px;border-radius:22px;margin-block:3px}
}

/* Supplied centered copy: deliberate short lines with a compact rhythm. */
@media(max-width:760px){
 .section-heading h2,.detail-copy h2,.order-copy h2,.product-info h1,.order-page-heading h1{line-height:1.05}
 .section-heading p,.detail-copy p,.order-copy>p:not(.about-eyebrow),.product-description,.order-page-heading p,.founder-story{line-height:1.1}
 .hero-copy h1,.hero-copy h2{line-height:1.05}
 .hero-copy p{line-height:1.1}
}

/* Full portrait with live copy over its upper background. */
.founder-picture{display:block;width:100%}
.founder-picture>img{display:block;width:100%;height:auto;max-width:none;aspect-ratio:2048/874;object-fit:contain}
@media(max-width:760px){
 .founder-banner{display:block;position:relative;background:transparent;container-type:inline-size}
 .founder-picture>img{aspect-ratio:1638/2048;height:auto;object-fit:contain}
 .founder-banner .founder-copy{position:absolute;inset:1.8% 3% auto;width:94%;max-width:none;padding:0;margin:0;text-align:center;background:transparent;text-shadow:0 1px 8px #321b2240}
 .founder-banner .founder-copy h2{font-size:8.2cqw;line-height:1.05;margin:0 0 1.5cqw}
 .founder-banner .founder-story{font-size:4.1cqw;line-height:1.12;max-width:none;margin:0}
 .founder-banner .founder-story>span{display:inline}
 .founder-banner .founder-story>span:not(:last-child):after{content:" "}
 .founder-banner .founder-signature{font-size:6cqw;line-height:1;margin:1.5cqw 0 0}
}

/* Two quiet, opposing review ribbons. */
.reviews-marquee{overflow:hidden;padding:54px 0 32px;background:linear-gradient(145deg,#f8f2ec,#efe2df);text-align:center}
.reviews-marquee .section-heading{padding-inline:22px;margin-bottom:26px;text-align:center}
.reviews-marquee .section-heading p{font-size:22px;margin-top:8px}
.tifiz-review-row{direction:ltr;overflow-x:auto;padding:8px 0 14px;scrollbar-width:none;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.tifiz-review-track,.tifiz-review-group{display:flex;width:max-content;align-items:stretch}
.tifiz-review-group{gap:16px;padding-right:16px;flex-shrink:0}
.reviews-marquee .review-card{box-sizing:border-box;direction:rtl;flex:0 0 300px;width:300px;min-height:160px;padding:18px 24px;border:1px solid #ffffffc9;border-radius:18px;background:linear-gradient(135deg,#fffaf5dc,#fffaf590);box-shadow:0 6px 20px #552a3310,inset 0 1px #fff;text-align:center}
.reviews-marquee .review-mark{font-size:32px;line-height:.7;margin:0 0 10px;color:#ac7b86}
.reviews-marquee .review-card blockquote{margin:0;max-width:none;display:grid;align-items:center}
.reviews-marquee .review-card blockquote p{font-size:19px;line-height:1.35;font-weight:300;margin:0;text-wrap:pretty}
.reviews-animated .tifiz-review-row{overflow:hidden}
.reviews-animated .tifiz-review-track{animation:tifiz-reviews-left 110s linear infinite}
.reviews-animated .tifiz-review-row:nth-of-type(3) .tifiz-review-track{animation-direction:reverse;animation-duration:118s}
@keyframes tifiz-reviews-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.reviews-paused .tifiz-review-track,.reviews-outside .tifiz-review-track,.reviews-hidden .tifiz-review-track{animation-play-state:paused}
.reviews-pause{margin:16px auto 0;padding:8px 20px;border:1px solid #a8758240;border-radius:24px;background:transparent;color:var(--burgundy);font:inherit;font-size:18px;min-height:44px}
.reviews-paused .tifiz-review-row{overflow-x:auto}
.motion-off .tifiz-review-track{animation:none}
.motion-off .tifiz-review-row{overflow-x:auto}
.motion-off .tifiz-review-group[aria-hidden=true]{display:none}
@media(max-width:760px){.reviews-marquee{padding:36px 0 24px}.reviews-marquee .review-card{flex-basis:252px;width:252px;min-height:152px;padding:16px 20px}.reviews-marquee .review-card blockquote p{font-size:18px;line-height:1.3}.tifiz-review-group{gap:12px;padding-right:12px}.reviews-marquee .section-heading p{font-size:20px}}
@media(prefers-reduced-motion:reduce){.reviews-animated .tifiz-review-track{animation:none}.reviews-animated .tifiz-review-row{overflow-x:auto}.tifiz-review-group[aria-hidden=true]{display:none}.reviews-pause{display:none}}

/* Centered compositions, separately art-directed for desktop and mobile. */
.hero.centered-cake-hero{height:auto;min-height:0;padding:0;background:#884f4b}
.centered-cake-hero .hero-slides,.centered-cake-hero .hero-slide{position:relative;inset:auto;min-height:0;height:auto;padding:0}
.centered-cake-hero .hero-slide picture{position:relative;display:block;inset:auto;aspect-ratio:auto;width:100%;height:auto}
.centered-cake-hero .hero-slide img{display:block;position:relative;inset:auto;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;transform:none;animation:none}
.centered-cake-hero .hero-controls{display:none}

.reviews-marquee .review-card{justify-content:center;align-items:center}
.reviews-marquee .review-card blockquote{flex:1;width:100%;display:grid;place-items:center;margin:0;text-align:center}

/* One cover per cake; alternate views belong to its product page. */
#cake-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}
#cake-grid .cake-group{grid-column:auto;display:block;min-width:0}
#cake-grid .photo img{aspect-ratio:1;object-fit:contain;width:100%;height:auto}
@media(max-width:760px){#cake-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}}

/* Supplied portrait compositions, displayed whole on each device. */
.hero.centered-cake-hero{isolation:isolate;overflow:hidden;background:#191817}
.centered-cake-hero:before{display:none}
.centered-cake-hero .hero-slide picture{height:auto}
.centered-cake-hero .hero-slide img{height:auto;width:100%;object-fit:contain;margin:0;mask-image:none}
@media(max-width:760px){
 .centered-cake-hero:before{display:none}
 .centered-cake-hero .hero-slide picture{height:auto}
 .centered-cake-hero .hero-slide img{height:auto;width:100%}
 }

#cake-grid .photo{display:block;width:100%;aspect-ratio:1;overflow:hidden;border:0;border-radius:0}
#cake-grid .photo img{display:block;width:100%;height:100%;max-width:none;aspect-ratio:1;object-fit:cover;object-position:center;margin:0;border-radius:0}
#cake-grid .tile-label{text-align:center;min-height:1.5em}

/* Center the desktop name on the darker backdrop above the cakes. */
.centered-cake-hero .hero-signature-block{position:absolute;z-index:2;inset:3% 0 auto;width:100%;padding:0 20px;text-align:center;color:#fff7ec}
.hero-signature-name{margin:0;font-family:"FB Tamlil Condensed",sans-serif;font-size:clamp(32px,4vw,72px);font-weight:400;line-height:1.1;white-space:nowrap;text-shadow:none}
.hero-social-links{display:flex;justify-content:center;align-items:center;gap:16px;margin:4px auto 0}
.hero-social-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;border:0;border-radius:50%;background:transparent;color:#fff7ec;text-decoration:none;transition:background .2s}
.hero-social-links svg{display:block;width:28px;height:28px;flex:none;stroke-width:1.8;filter:none}
.hero-social-links a:focus-visible{outline:2px solid #fff7ec;outline-offset:4px}
@media(hover:hover){.hero-social-links a:hover{background:#fff7ec20}}
@media(max-width:760px){
 .centered-cake-hero .hero-signature-block{top:7%;bottom:auto;padding:0 16px}
 .hero-signature-name{font-size:clamp(40px,11vw,64px)}
 .hero-social-links{margin-top:8px}
}

/* Whole square catalog photographs, including the silver pedestal. */
.pick img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:transparent}

.personal-cake-section{padding:48px 24px;background:#eee3dc}
.personal-cake-inner{display:block;max-width:660px;margin:auto}


.personal-cake-copy{text-align:center;color:#632737}
.personal-cake-eyebrow{font-size:19px;margin:0 0 12px}
.personal-cake-copy h2{font-size:clamp(38px,4vw,60px);line-height:1.12;font-weight:400;margin:0 0 18px}
.personal-cake-copy>p:not(.personal-cake-eyebrow){font-size:23px;line-height:1.4;max-width:360px;margin:0 auto 24px}
.personal-cake-copy .button{position:static;transform:none;min-height:44px;font-size:21px;padding:11px 28px;background:#752336;color:#fff8ed}
@media(max-width:760px){.personal-cake-section{padding:30px 22px 36px}.personal-cake-inner{display:block;max-width:660px;margin:auto}.personal-cake-copy h2{font-size:38px;margin-bottom:12px}.personal-cake-eyebrow{font-size:18px;margin-bottom:9px}.personal-cake-copy>p:not(.personal-cake-eyebrow){font-size:21px;line-height:1.35;margin-bottom:18px}}

/* A single title scale; headings wrap naturally without forced breaks. */
#main.tifiz-home{--section-title-size:clamp(38px,4vw,60px)}
#main.tifiz-home h2{font-size:var(--section-title-size);line-height:1.12;letter-spacing:0;white-space:normal;word-break:normal;overflow-wrap:normal;text-wrap:balance}
@media(max-width:760px){#main.tifiz-home{--section-title-size:clamp(28px,8.2vw,46px)}}

/* Keep opacity and clipping outside the SVG colour filter, including in Safari. */
.tifiz-intro{position:fixed;inset:0;z-index:2147483646;display:grid;place-items:center;background:#752336;pointer-events:none}
.tifiz-intro[hidden]{display:none}
.tifiz-intro-logo{position:relative;display:block;width:calc(100% - 16px);aspect-ratio:1110/450}
.tifiz-intro-logo svg{display:block;width:100%;height:100%;overflow:hidden}
.tifiz-intro-base{position:absolute;inset:0;opacity:.12}
.tifiz-intro-fill{position:absolute;inset:0;clip-path:inset(100% 0 0);-webkit-clip-path:inset(100% 0 0)}
.tifiz-intro.is-running .tifiz-intro-fill{animation:tifiz-intro-fill 1000ms linear 150ms both}
.tifiz-intro.is-running{animation:tifiz-intro-out 200ms ease-out 1300ms both}
@keyframes tifiz-intro-fill{from{clip-path:inset(100% 0 0);-webkit-clip-path:inset(100% 0 0)}to{clip-path:inset(0);-webkit-clip-path:inset(0)}}
@keyframes tifiz-intro-out{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){.tifiz-intro{display:none;animation:none}.tifiz-intro-fill{animation:none}}
