:root {
  --cream: #fff5ee;
  --paper: #fffaf6;
  --ink: #38251e;
  --berry: #ef4f88;
  --berry-dark: #c92f69;
  --gold: #f2ae2e;
  --blush: #ffd3df;
  --teal: #49aaa9;
  --lavender: #9b74b8;
  --leaf: #83a862;
  --line: rgba(40,33,30,.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.announcement { padding: .5rem 1rem; background: var(--berry); color: white; text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 700; }
.announcement span { margin: 0 .7rem; color: #ffd987; }

.site-header { max-width: 1400px; margin: 0 auto; min-height: 92px; padding: 1.25rem 5vw; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font: 700 1.22rem/1 var(--serif); }
.brand-mark { width: 42px; aspect-ratio: 1; border-radius: 50% 50% 45% 50%; display: grid; place-items: center; background: var(--berry); color: white; font: 700 .8rem/1 var(--sans); transform: rotate(-5deg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { text-decoration: none; font-weight: 600; font-size: .94rem; }
nav a:not(.nav-cta):hover { color: var(--berry); }
.nav-cta { padding: .7rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-button { display: none; font: inherit; border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: .5rem .85rem; }

.hero { max-width: 1500px; margin: 0 auto; padding: 1.5rem 5vw 4rem; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; overflow: hidden; }
.hero-copy { max-width: 590px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .17em; font-size: .76rem; font-weight: 800; color: var(--berry); }
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.03; }
h1 { font-size: clamp(4rem, 7vw, 7.6rem); letter-spacing: -.055em; }
h1 em { color: var(--berry); font-weight: 600; }
.hero-text { max-width: 520px; margin: 1.6rem 0 2rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button { display: inline-block; padding: .9rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--berry); box-shadow: 0 8px 24px rgba(121,40,65,.2); }
.button-primary:hover { background: var(--berry-dark); }
.text-link { text-underline-offset: .35rem; text-decoration-thickness: 1px; font-weight: 700; }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.mini-notes { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 3rem; font-size: .82rem; font-weight: 700; }
.mini-notes span::before { content: "✦"; margin-right: .45rem; color: var(--gold); }
.hero-image-wrap { position: relative; justify-self: end; width: min(100%, 760px); }
.hero-image-wrap::before { content: ""; position: absolute; inset: -2rem -5rem 4rem 4rem; background: linear-gradient(135deg, var(--blush), #f7df9c); border-radius: 48% 52% 46% 54% / 51% 40% 60% 49%; transform: rotate(-2deg); }
.hero-image-wrap img { position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 48% 52% 48% 52% / 42% 46% 54% 58%; box-shadow: 0 28px 70px rgba(90,44,37,.18); }
.brand-art-wrap { max-width: 680px; height: auto; padding: .8rem; line-height: 0; background: white; border: 1px solid rgba(239,79,136,.2); border-radius: 2rem; box-shadow: 0 28px 70px rgba(90,44,37,.14); }
.brand-art-wrap::before { display: none; }
.brand-art-wrap img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; border-radius: 1.35rem; box-shadow: none; }
.sunburst { position: absolute; z-index: 2; left: -1.5rem; top: 8%; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--gold); color: white; font-size: 2rem; transform: rotate(-10deg); }
.image-note { position: absolute; z-index: 3; right: -1rem; bottom: 2rem; padding: .9rem 1.2rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(70,35,30,.16); transform: rotate(2deg); }
.image-note span, .image-note strong { display: block; }
.image-note span { font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; color: var(--berry); }
.image-note strong { font-family: var(--serif); font-size: 1.05rem; }

.section { padding: 5.5rem 5vw; }
.collection { background: linear-gradient(180deg, var(--paper), #fff3f7); }
.section-heading { max-width: 1320px; margin: 0 auto 3rem; display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.section-heading h2, .story-copy h2, .order-card h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); letter-spacing: -.04em; }
.section-heading > p { max-width: 470px; margin: 0; font-size: 1.05rem; }
.product-grid { max-width: 1320px; margin: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; }
.product-card, .type-card { min-height: 450px; border-radius: 1.4rem; overflow: hidden; }
.product-card { position: relative; background: var(--cream); }
.product-photo-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.product-card img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; transition: transform .6s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-copy { position: absolute; inset: auto 1rem 1rem; display: flex; gap: 1rem; align-items: start; padding: 1.2rem; background: rgba(255,253,247,.93); backdrop-filter: blur(10px); border-radius: 1rem; }
.product-copy .number { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--berry); color: white; font-size: .8rem; font-weight: 800; }
.product-copy h3, .type-card h3 { font-size: 1.7rem; }
.product-copy p { margin: .35rem 0 0; line-height: 1.5; }
.type-card { padding: clamp(2rem,4vw,4rem); background: linear-gradient(145deg, var(--berry), var(--berry-dark)); color: white; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.type-card .eyebrow { color: #ffd987; }
.type-card h3 { font-size: clamp(2.4rem, 4vw, 4.5rem); }
.type-card > p:not(.eyebrow) { max-width: 520px; margin: 1.25rem 0 2rem; font-size: 1.08rem; }
.stitched-heart { font: 5rem/1 var(--serif); margin-bottom: 2rem; color: #ffd987; transform: rotate(-8deg); }
.light { color: white; }

.story { max-width: 1260px; margin: auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.maker-art { position: relative; width: min(100%, 390px); justify-self: center; padding: .75rem; background: white; border: 1px solid rgba(239,79,136,.24); border-radius: 1.5rem; box-shadow: 0 20px 45px rgba(157,58,90,.14); transform: rotate(-1.5deg); }
.maker-art::before, .maker-art::after { content: "✦"; position: absolute; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: white; font-size: 1.4rem; box-shadow: 0 8px 20px rgba(70,35,30,.15); }
.maker-art::before { left: -20px; top: 12%; background: var(--gold); }
.maker-art::after { content: "♥"; right: -18px; bottom: 12%; background: var(--teal); }
.portrait-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 1.1rem; background: none; cursor: zoom-in; overflow: hidden; }
.portrait-button img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 1.1rem; transition: transform .2s ease; }
.portrait-button:hover img { transform: scale(1.015); }
.photo-note { position: absolute; z-index: 3; left: 50%; bottom: 1.6rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 3rem); padding: .55rem .85rem; border-radius: 999px; background: rgba(255,250,246,.94); color: var(--berry-dark); font-size: .78rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 8px 24px rgba(70,35,30,.15); }
.portrait-dialog { width: min(92vw, 620px); max-height: 92vh; padding: .65rem; border: 0; border-radius: 1.25rem; background: var(--paper); box-shadow: 0 30px 90px rgba(40,20,20,.4); }
.portrait-dialog::backdrop { background: rgba(28,18,18,.76); backdrop-filter: blur(3px); }
.portrait-dialog img { display: block; max-width: 100%; max-height: calc(92vh - 1.3rem); margin: auto; border-radius: .85rem; object-fit: contain; cursor: zoom-out; }
.back-to-top { position: fixed; z-index: 50; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; background: var(--berry); color: white; font: 700 1.55rem/1 var(--sans); box-shadow: 0 10px 28px rgba(80,28,48,.28); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--berry-dark); transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.story-copy { max-width: 650px; }
.story-copy .lead { font: 600 1.4rem/1.5 var(--serif); color: var(--berry-dark); }
.story-copy p:not(.eyebrow) { max-width: 600px; }
.signature { margin-top: 2rem; font: 600 1.5rem/1 var(--serif); transform: rotate(-2deg); }
.signature span { color: var(--berry); }

.orders { max-width: 1400px; margin: 0 auto 5rem; display: grid; grid-template-columns: 1.1fr .9fr; padding-top: 1rem; }
.order-card { padding: clamp(3rem,7vw,7rem); background: linear-gradient(145deg, var(--berry-dark), #9f3c88); color: white; border-radius: 2rem 0 0 2rem; }
.order-card .eyebrow { color: #ffd987; }
.order-card p:not(.eyebrow) { max-width: 580px; margin: 1.5rem 0 2rem; font-size: 1.08rem; }
.button-light { background: var(--cream); color: var(--berry-dark); }
.order-details { padding: clamp(2.5rem,5vw,5rem); background: #f3bf45; border-radius: 0 2rem 2rem 0; display: flex; flex-direction: column; justify-content: center; }
.order-details h3 { font-size: clamp(2rem,3vw,3rem); margin-bottom: 1.5rem; }
.order-details ul { padding: 0; margin: 0; list-style: none; }
.order-details li { padding: 1rem 0; border-top: 1px solid rgba(40,33,30,.25); font-weight: 700; }
.order-details li span { display: inline-block; width: 2.5rem; font-size: .76rem; opacity: .7; }

footer { padding: 3.5rem 5vw; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; }
footer p { margin: 0; }
.copyright { font-size: .84rem; opacity: .65; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-copy { max-width: 720px; }
  .hero-image-wrap { justify-self: center; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .story { grid-template-columns: 1fr; }
  .maker-art { order: 2; max-width: 620px; margin: auto; }
  .story-copy { order: 1; }
  .orders { grid-template-columns: 1fr; padding-inline: 4vw; }
  .order-card { border-radius: 2rem 2rem 0 0; }
  .order-details { border-radius: 0 0 2rem 2rem; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 700px) {
  .site-header { min-height: 78px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; left: 5vw; right: 5vw; top: 70px; padding: 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 15px 40px rgba(60,30,25,.15); }
  nav.open { display: flex; }
  nav a { padding: .8rem; }
  .nav-cta { text-align: center; margin-top: .3rem; }
  .hero { gap: 1.5rem; padding-top: 1.25rem; padding-bottom: 2.5rem; }
  .hero-image-wrap { order: 1; }
  .hero-copy { order: 2; }
  .brand-art-wrap { width: 100%; padding: .35rem; border-radius: 1rem; }
  .brand-art-wrap img { border-radius: .9rem; }
  h1 { font-size: clamp(3.6rem, 16vw, 5.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .mini-notes { margin-top: 1.4rem; }
  .image-note { right: -.4rem; bottom: .6rem; }
  .sunburst { width: 58px; height: 58px; left: -.4rem; }
  .section { padding: 3.25rem 5vw; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .type-card { min-height: 330px; }
  .product-card img { min-height: 330px; }
  .maker-art { width: min(72vw, 280px); padding: .45rem; border-radius: 1rem; }
  .maker-art::before, .maker-art::after { width: 42px; height: 42px; }
  .photo-note { bottom: .8rem; font-size: .68rem; }
  .order-card, .order-details { padding: 2.5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
