/* PSSunshine studio. Theme tokens and the responsive layout live here. */
:root {
  color-scheme: light;
  --paper: #fbf8f1;
  --paper-light: #fffdf8;
  --ink: #29242d;
  --soft-ink: #574e54;
  --plum: #532e46;
  --rose: #81435c;
  --rule: #d9d0c4;
  --serif: "Baskervville", "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22,.65,.21,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.35rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9b376c; outline-offset: 5px; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, .card-head h3, .featured-name, .wordmark, .steps h3, .film strong { font-family: var(--serif); font-weight: 400; }
em { font-weight: 400; }
.shell { width: min(90%, 83rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { display: inline-block; flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: .4rem; left: .8rem; z-index: 10; padding: .6rem 1rem; background: var(--ink); color: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.75rem; min-height: 5.1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .63rem; width: fit-content; font-size: 1.85rem; line-height: 1; letter-spacing: -.075em; }
.wordmark img { width: 2.35rem; height: 2.35rem; }
.header-nav, .footer-links { display: flex; align-items: center; gap: clamp(1.1rem,2.5vw,2.5rem); }
.header-nav a, .header-shop, .text-link, .footer-links a { font-size: .89rem; font-weight: 590; }
.header-nav a, .text-link, .footer-links a { text-underline-offset: .3em; }
.header-nav a:hover, .text-link:hover, .footer-links a:hover { text-decoration: underline; }
.header-shop, .primary, .text-link, .footer-links a { display: inline-flex; align-items: center; gap: .52rem; }
.header-shop { justify-self: end; border: 1px solid var(--plum); border-radius: 99px; padding: .62rem 1.06rem; color: var(--plum); }
.header-shop:hover { color: white; background: var(--plum); }
.hero { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); align-items: center; gap: clamp(2.1rem,4.7vw,5.2rem); padding-block: clamp(2rem,3.2vw,3.75rem) clamp(3.3rem,6vw,6.5rem); }
.hero-copy { padding-block: 1rem 2.55rem; }
.overline, .caption-label, .filter-label, .occasion-filter > span { font: 650 .69rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.overline { display: flex; align-items: center; gap: .66rem; color: var(--rose); }
.short-rule { width: 1.9rem; height: 1px; flex: none; background: currentColor; }
h1 { margin-top: clamp(1.15rem,2.4vw,2.3rem); font-size: clamp(3.95rem,6.23vw,6.4rem); letter-spacing: -.064em; line-height: 1.015; }
h1 em { color: var(--rose); white-space: nowrap; }
.hero-intro { max-width: 27.3rem; margin-block: 1.45rem 1.9rem; color: var(--soft-ink); line-height: 1.66; font-size: clamp(1rem,1.29vw,1.2rem); }
.primary { min-height: 3.05rem; padding: .7rem 1.36rem; justify-content: center; gap: .82rem; border: 1px solid var(--plum); border-radius: 99px; background: var(--plum); color: #fffaf4; font-weight: 650; font-size: .92rem; transition: background .25s, transform .25s; }
.primary:hover { background: #683754; transform: translateY(-2px); }
.showcase { min-width: 0; }
.hero-photo { position: relative; overflow: hidden; aspect-ratio: 1222 / 1122; border-radius: .45rem; isolation: isolate; background: #c4d2df; }
.phone-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-image.opened { opacity: 0; transition: opacity 1.15s var(--ease); }
.hero-photo.is-open .opened { opacity: 1; }
.phone-hotspot { position: absolute; z-index: 2; top: 35.3%; left: 49.1%; width: 20.5%; height: 26.6%; border: none; background: transparent; padding: 0; border-radius: 15%; }
.envelope-hint { position: absolute; bottom: 7.5%; left: 4.25%; z-index: 3; display: inline-flex; align-items: center; gap: .43rem; background: #fffdf6f2; color: #392e3c; border: 1px solid #ffffffb5; box-shadow: 0 3px 16px #3449582e; border-radius: 30px; padding: .58rem .9rem; font: 620 .76rem/1.2 var(--sans); }
.envelope-hint .icon { width: 1.02rem; height: 1.02rem; }
#tap-hint { pointer-events: none; }
.envelope-hint.replay:hover { background: #fff; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .83rem; }
.hero-caption > div { display: flex; align-items: center; flex-wrap: wrap; gap: .72rem; min-width: 0; }
.caption-label { color: #655c62; font-size: .61rem; letter-spacing: .12em; }
.featured-name { font-size: 1.08rem; line-height: 1.2; letter-spacing: -.02em; }
.text-link { color: var(--plum); flex: none; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
h2 { font-size: clamp(2.75rem,4.9vw,4.9rem); line-height: 1.025; letter-spacing: -.059em; }
.section-heading h2, .how h2 { margin-top: .78rem; }
.section-heading > p { max-width: 22rem; padding-bottom: .18rem; font-size: 1.015rem; line-height: 1.56; color: var(--soft-ink); }
.collection { padding: clamp(3.8rem,6.6vw,6.75rem) 0 clamp(4.3rem,7.8vw,8rem); background: #f3eee4; border-top: 1px solid var(--rule); }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-block: 1px solid #d6cbbd; margin: 1.8rem 0 1.5rem; padding: .78rem 0; }
.style-filters, .filter-buttons, .occasion-filter { display: flex; align-items: center; gap: .45rem; }
.style-filters { flex-wrap: wrap; gap: .85rem; }
.filter-buttons { flex-wrap: wrap; }
.filter-label, .occasion-filter > span { color: #625861; letter-spacing: .1em; font-size: .65rem; }
.filter-button, .occasion-filter select, .empty button { border: 1px solid #c9bdae; border-radius: 99px; background: transparent; font-size: .83rem; font-weight: 580; line-height: 1.2; }
.filter-button { padding: .51rem .88rem; }
.filter-button[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.filter-button:hover:not([aria-pressed="true"]), .occasion-filter select:hover { background: #e9e0d3; }
.occasion-filter { gap: .7rem; }
.occasion-filter select { max-width: 15rem; padding: .51rem .7rem; color: var(--ink); cursor: pointer; }
.empty { padding: 1rem 0; }
.empty button { padding: .43rem .8rem; color: var(--plum); }
.design-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 2.2rem clamp(1.05rem,2.2vw,2rem); }
.design-grid:not(:has(.design-card)) { display: none; }
.design-card { grid-column: span 2; min-width: 0; }
.design-grid[data-tail="2"] .wide-tail { grid-column: span 3; }
.design-grid:not([data-tail]) { margin-top: 1.5rem; }
.design-link { display: block; border-radius: .35rem; }
.card-art { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: .38rem; isolation: isolate; block-size: clamp(11.5rem,17.6vw,17rem); background-color: var(--art-bg,#cad9d9);
  background-image: radial-gradient(ellipse at 15% 0%, #ffffff40 0, transparent 65%), linear-gradient(113deg, transparent 20%, #20142410 73%, #ffffff12); }
/* Perforated paper and a soft drop shadow frame each piece of original invitation art. */
.stamp-shadow { display: grid; place-items: center; width: min(74%, 19.2rem); transform: rotate(var(--tilt,-4deg)); filter: drop-shadow(3px 6px 5px #372d353d); transition: transform .72s var(--ease), filter .72s; }
.stamp { --tooth: .44rem; --cut: .12rem; padding: clamp(.5rem,.85vw,.78rem); background: #fffaeb; width: 100%;
  mask: linear-gradient(#000 0 0) center / calc(100% - 2 * var(--cut)) calc(100% - 2 * var(--cut)) no-repeat,
        radial-gradient(circle at 50% 0, transparent var(--cut),#000 calc(var(--cut) + .6px)) top / var(--tooth) 51% repeat-x,
        radial-gradient(circle at 50% 100%, transparent var(--cut),#000 calc(var(--cut) + .6px)) bottom / var(--tooth) 51% repeat-x;
}
.stamp img { display: block; width: 100%; height: auto; aspect-ratio: 760/500; border: 1px solid #7a685252; }
.tone-snow { --art-bg: #9bb6c5; --tilt: -4deg; }
.tone-cocoa { --art-bg: #bc886c; --tilt: 3deg; }
.tone-star { --art-bg: #58647e; --tilt: -3deg; }
.tone-velvet { --art-bg: #cb9fa2; --tilt: 3deg; }
.tone-train { --art-bg: #91a18b; --tilt: -3deg; }
@media (hover:hover) {
  .design-link:hover .stamp-shadow { transform: translateY(-3px) rotate(0deg) scale(1.035); filter: drop-shadow(4px 9px 6px #372d354d); }
  .design-link:hover .card-arrow { color: #fff; background: var(--plum); border-color: var(--plum); }
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .78rem; }
.card-head h3 { font-size: clamp(1.55rem,2.13vw,2.05rem); line-height: 1.18; letter-spacing: -.047em; }
.card-arrow { width: 1.98rem; height: 1.98rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid #bdad9b; color: var(--plum); transition: background .25s, color .25s; }
.card-arrow .icon { width: 1.02rem; height: 1.02rem; }
.card-desc { color: var(--soft-ink); max-width: 37rem; margin-top: .35rem; font-size: .92rem; line-height: 1.5; }
.how { background: #362332; color: #fff8ed; padding: clamp(4rem,6.4vw,7rem) 0; }
.how-grid { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); align-items: center; gap: clamp(2.2rem,6vw,6.2rem); }
.how .overline { color: #f0c49e; }
.how h2 em { color: #f0c4c0; }
.steps { list-style: none; counter-reset: steps; margin: 1.7rem 0 1.65rem; padding: 0; }
.steps li { position: relative; padding: .72rem 0 .72rem 2.5rem; border-top: 1px solid #ffffff29; counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: .91rem; height: 1.44rem; width: 1.44rem; border: 1px solid #b5a09b; color: #f0c49e; border-radius: 50%; display: grid; place-items: center; font: 600 .72rem/1 var(--sans); }
.steps h3 { font-size: 1.38rem; line-height: 1.26; letter-spacing: -.025em; }
.steps p { color: #e0d3d5; font-size: .92rem; line-height: 1.55; margin-top: .22rem; }
.primary.light { background: #fdf4e3; border-color: #fdf4e3; color: #412539; }
.primary.light:hover { background: #f3daba; }
.film { min-width: 0; }
.film video { background: #261822; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: .45rem; border: 1px solid #ffffff3b; }
.film figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .9rem; margin-top: .7rem; color: #e0d3d5; font-size: .78rem; }
.film strong { color: #fff5e7; font-size: 1.16rem; }
.site-footer { background: var(--paper); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.site-footer .wordmark { font-size: 1.52rem; }
.site-footer .wordmark img { width: 2rem; height: 2rem; }
.motion-switch { display: inline-flex; align-items: center; gap: .45rem; font-size: .83rem; padding: .4rem 0; background: transparent; border: 0; }
.motion-track { width: 1.95rem; height: 1.08rem; border: 1px solid #a99ba0; border-radius: 2rem; position: relative; background: #ded6d2; }
.motion-track::after { content: ""; position: absolute; left: 2px; top: 2px; width: .67rem; height: .67rem; border-radius: 50%; background: #6d6265; transition: transform .25s; }
.motion-switch[aria-pressed="true"] .motion-track { background: #62405b; border-color: #62405b; }
.motion-switch[aria-pressed="true"] .motion-track::after { background: #fff; transform: translateX(.82rem); }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: .15; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .hero-copy { animation: arrive 1.05s var(--ease) both; }
  html:not([data-motion="off"]) .showcase { animation: arrive 1.13s .05s var(--ease) both; }
}
html[data-motion="on"] .arrive-in { animation: appear .8s var(--ease) both; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto; }
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
@media (max-width: 859px) {
  .shell { width: min(91%,43rem); }
  .header-inner, .foot-inner { width: 91%; max-width: none; }
  .header-inner { min-height: 4.5rem; gap: 1rem; }
  .hero { grid-template-columns: 1fr; gap: 1.7rem; padding-block: clamp(2.65rem,7vw,4.5rem) clamp(2.7rem,6vw,4rem); }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.45rem,8.6vw,5.7rem); }
  .hero-intro { margin-block: .95rem 1.22rem; max-width: 33rem; }
  .section-heading { align-items: flex-start; gap: .8rem; flex-direction: column; }
  .section-heading > p { max-width: 29rem; }
  .design-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.85rem 1.05rem; }
  .design-card, .design-grid[data-tail="2"] .wide-tail { grid-column: span 1; }
  .card-art { block-size: clamp(10.5rem,24vw,12.5rem); }
  .how-grid { grid-template-columns: 1fr; gap: 2.1rem; }
  .steps { max-width: 33rem; }
}
@media (max-width: 560px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 .7rem; padding-top: .85rem; }
  .wordmark { font-size: 1.65rem; gap: .45rem; }
  .wordmark img { width: 1.9rem; height: 1.9rem; }
  .header-shop { font-size: .8rem; padding: .5rem .78rem; }
  .header-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.35rem; min-height: 2.3rem; }
  .header-nav a { font-size: .79rem; }
  .hero { padding-top: 2rem; gap: 1.45rem; }
  h1 { font-size: clamp(2.95rem,10.15vw,3.83rem); }
  .hero-intro { font-size: .98rem; line-height: 1.55; }
  .primary { min-height: 2.85rem; }
  .hero-caption > div { display: grid; gap: .22rem; }
  .featured-name { font-size: 1.08rem; }
  .text-link { font-size: .8rem; }
  .envelope-hint { left: 3%; bottom: 6%; font-size: .69rem; gap: .33rem; padding: .5rem .56rem; }
  .filters { gap: .68rem; margin-block: 1.2rem; }
  .style-filters { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .filter-buttons { gap: .32rem; }
  .filter-button { padding: .48rem .72rem; font-size: .77rem; }
  .occasion-filter { margin-top: .1rem; }
  .design-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .card-art { block-size: auto; aspect-ratio: 1.76; }
  .stamp-shadow { width: 62%; }
  .card-head { margin-top: .6rem; }
  .card-head h3 { font-size: 1.62rem; }
  .card-desc { font-size: .88rem; }
  .foot-inner { flex-wrap: wrap; gap: .9rem; }
  .footer-links { gap: 1rem; }
  .footer-links a, .motion-switch { font-size: .77rem; }
}
@media (max-width: 359px) {
  .header-inner .wordmark { font-size: 1.42rem; }
  .header-shop { padding-inline: .68rem; }
  .filter-buttons { column-gap: .23rem; }
  .filter-button { padding-inline: .5rem; }
  .style-filters { max-width: 100%; }
  .header-nav { min-height: 2.2rem; }
  .envelope-hint .icon { display: none; }
}
