/* Shared sales-page layout. Campaigns change the set and photography. */
:root {
  color-scheme:light;
  --site-gutter:clamp(16px,4.2vw,48px);
  --section-space:clamp(38px,5vw,68px);
  --gallery-gap:clamp(16px,2.4vw,36px);
  --gallery-radius:clamp(10px,1.5vw,17px);
  --set:#f1e8d8;
  --line:#d7cec0;
  --card:#fffcf6;
  font:16px/1.5 var(--ui-font);
  color:var(--ink);
  background:#fffdfa;
}
* { box-sizing:border-box; }
body { margin:0; min-height:100dvh; display:flex; flex-direction:column; }
p,h1,h2,h3,figure { margin:0; }
a { color:inherit; text-decoration:none; }
a:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.site-header,main { width:min(1320px,calc(100% - 2 * var(--site-gutter))); margin-inline:auto; }
.site-header { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:var(--space-2); border-bottom:1px solid var(--line); }
.site-header .brand { min-width:0; }
.site-header .brand::after { display:none; }
.site-header .brand-lockup { width:clamp(142px,18vw,196px); height:auto; }
nav { display:flex; align-items:center; gap:clamp(12px,3vw,32px); font-size:.95rem; }
.site-header nav a { padding-block:8px; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:10px 24px; text-decoration:none; }
.skip { position:absolute; left:16px; top:0; padding:12px; background:var(--paper); transform:translateY(-120%); z-index:2; }
.skip:focus { transform:translateY(0); }
h1 { max-width:18ch; font-size:clamp(2.8rem,4.1vw,4rem); letter-spacing:-.055em; line-height:1.05; font-weight:700; }
h2 { font-size:clamp(1.8rem,3.2vw,2.9rem); letter-spacing:-.048em; line-height:1.08; font-weight:700; }
.section { padding-block:var(--section-space); scroll-margin-top:var(--space-2); }
/* The hero sets the paper stock. Each following section turns the same sheet
   under a different soft light; the exposed margins join at the section edges. */
.site-content { container-type:inline-size; }
.paper-section { isolation:isolate; position:relative; }
.paper-section::before {
  content:"";
  position:absolute;
  inset:0 calc(50% - 50cqw);
  z-index:-1;
  pointer-events:none;
  background:
    var(--paper-light,none),
    var(--paper-fold,none),
    url('/website-assets/paper-waves.webp') var(--paper-position,center)/cover no-repeat;
  opacity:var(--paper-opacity,1);
  mask-image:linear-gradient(transparent,#000 var(--paper-fade-in,9%),#000 var(--paper-fade-out,84%),transparent);
}
.service-showcase,.pricing-section {
  --paper-fold:radial-gradient(ellipse var(--fold-size) at var(--fold-origin),
    transparent 61%,#aa9b7e20 64%,#fffdf8c2 64.4%,transparent 74%);
}
.service-showcase {
  --fold-size:96% 82%;
  --fold-origin:0% 42%;
  --paper-light:radial-gradient(ellipse 83% 45% at 90% 42%,#fffdf9 48%,transparent);
  --paper-position:center 30%;
  --paper-opacity:.5;
  --paper-fade-in:4%;
  --paper-fade-out:92%;
  border-block-start:1px solid var(--line);
}
.service-showcase h2 { margin-block-end:clamp(20px,2.4vw,32px); }
.showcase-grid {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:clamp(28px,3.8vw,52px) var(--gallery-gap);
}
.service-example { grid-column:span 6; min-width:0; display:flex; flex-direction:column; }
.service-example:has(#labels) { grid-column:span 8; container-type:inline-size; }
.service-example:has(#stickers) { grid-column:span 4; }
.service-example strong { color:var(--ink); font-weight:650; }
.service-photos {
  display:flex;
  gap:clamp(4px,.5vw,7px);
  aspect-ratio:2.18;
  margin-block-start:auto;
}
.showcase-image { position:relative; flex:1; min-width:0; min-height:0; overflow:hidden; background:var(--set); border-radius:var(--gallery-radius); }
.service-photos .showcase-image:first-child:not(:only-child) { flex:1.5; }
.showcase-image img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
/* Let a wider range reveal the sides of both photographs. */
.service-example:has(#labels) .service-photos { aspect-ratio:auto; height:clamp(140px,calc(70px + 24cqw),280px); }
.service-photos #labels { flex:1.35; }
.service-example:has(#stickers) .service-photos { aspect-ratio:1.5; }
.service-example h3 { font-size:clamp(1.32rem,2.05vw,1.9rem); letter-spacing:-.04em; line-height:1.12; }
.service-example p { margin-block-start:.45em; color:#514f49; text-wrap:pretty; line-height:1.45; }
.service-example p { max-width:56ch; margin-block-end:clamp(12px,1.3vw,18px); }

.pricing-section {
  --fold-size:74% 110%;
  --fold-origin:100% 92%;
  --paper-light:radial-gradient(ellipse 74% 85% at 33% 52%,#fffaf0 22%,transparent);
  --paper-position:center 78%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--gallery-gap);
  align-items:center;
  border-block-start:1px solid var(--line);
}
.price-invitation { min-width:0; text-align:center; }
.price-invitation .service-inclusions { width:min(100%,32ch); column-gap:1em; }
.price-invitation h2 { font-size:clamp(1.3rem,2.15vw,2rem); }
.starting-price { margin-block:.07em; font-size:clamp(2rem,4.7vw,4.25rem); font-weight:700; letter-spacing:-.055em; line-height:1.06; text-wrap:balance; }
.price-invitation .button { margin-block-start:var(--space-3); }
.pricing-section #handoff { aspect-ratio:1.8; }
.campaign-bramble { --accent:#852b4c; --accent-hover:#611c38; }
.campaign-poster { align-self:start; margin:0; aspect-ratio:16/9; }
.campaign-poster img { display:block; width:100%; height:100%; object-fit:cover; border-radius:var(--gallery-radius); }

.legal-page > p { font-size:clamp(1.13rem,1.65vw,1.4rem); line-height:1.45; }
.legal-page { max-width:760px; padding-block:var(--section-space); }
.legal-page h1 { max-width:none; font-size:clamp(2.8rem,5vw,4rem); }
.legal-page h2 { font-size:1.5rem; margin:40px 0 16px; letter-spacing:-.025em; }
.legal-page p,.legal-page ul { line-height:1.7; margin-top:20px; }
.legal-page section { margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.legal-page section h2 { margin:0; }
.legal-page section p { margin-top:10px; }

@media(max-width:740px) {
  .site-header { min-height:68px; gap:12px; }
}
@media(max-width:660px) {
  .showcase-grid { grid-template-columns:1fr; gap:24px; }
  .service-photos { aspect-ratio:2.55; }
  .service-example,.service-example:has(#labels),.service-example:has(#stickers) { grid-column:1 / -1; }
  .service-example p { margin-block:4px 10px; font-size:.95rem; }
  .pricing-section { grid-template-columns:1fr; gap:18px; }
  .price-invitation .button { margin-block-start:14px; }
}
@media(max-width:380px) {
  .site-header { gap:8px; }
  .site-header .brand-lockup { width:clamp(114px,37vw,142px); }
  .site-header nav { gap:8px; font-size:.875rem; }
}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .showcase-image img { transition:transform .45s cubic-bezier(.2,.72,.25,1); }
  .service-photos .showcase-image:hover img { transform:scale(1.025); }
}
