:root {
  --paper-pink: #e5dad6;
  --paper-light: #f3e8e5;
  --ink: #352d2d;
  --muted: #796969;
  --cream: #f7f0ea;
  --line: rgba(53, 45, 45, .2);
  --display: 'Amatic SC', cursive;
  --body: 'Jost', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper-pink); color: var(--ink); font-family: var(--body); font-weight: 300; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

.masthead { min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px 24px 34px; }
.logo-window { width: 330px; height: 340px; display: block; overflow: hidden; position: relative; }
.logo-window img { width: 100%; height: 100%; display: block; object-fit: contain; transform: scale(1.28); }
nav { width: min(700px, 100%); display: flex; justify-content: space-between; margin-top: -12px; }
nav a { font-family: var(--display); font-size: 28px; letter-spacing: .06em; text-decoration: none; position: relative; }
nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 1px; background: var(--ink); transition: .25s ease; }
nav a:hover::after { left: 0; right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; font-family: var(--display); font-size: 25px; }

.carousel { width: min(1320px, calc(100% - 56px)); height: min(72vw, 680px); min-height: 520px; margin: 0 auto; position: relative; overflow: hidden; background: var(--cream); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s ease; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide:nth-child(1) img { object-position: 50% center; }
.slide:nth-child(2) img { object-position: 50% center; }
.slide:nth-child(3) img { object-position: 50% center; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,240,234,.72), transparent 55%); }
.slide-copy { position: absolute; z-index: 2; left: clamp(35px, 7vw, 105px); top: 50%; transform: translateY(-50%); max-width: 420px; }
.slide-copy.light { color: #fff8f4; }
.slide-copy p, .kicker, footer > p { font-size: 12px; text-transform: uppercase; letter-spacing: .25em; margin: 0 0 12px; }
.slide-copy h1 { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 7vw, 96px); line-height: .88; letter-spacing: .01em; margin: 0 0 29px; }
.slide-copy a { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.carousel-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(248,241,237,.75); font-size: 38px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.carousel-arrow:hover { background: rgba(248,241,237,.95); }
.previous { left: 20px; }.next { right: 20px; }
.carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 10px; }
.carousel-dots button { width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; padding: 0; cursor: pointer; }
.carousel-dots button.is-active { background: var(--ink); }

.collection-browser { padding: 132px 28px 145px; background: var(--paper-light); }
.collection-heading { max-width: 720px; margin: 0 auto 75px; text-align: center; }
.collection-heading h2 { font-family: var(--display); font-size: clamp(72px, 9vw, 120px); font-weight: 400; line-height: .85; margin: 0 0 24px; }
.collection-heading > p:last-child { font-family: 'Patrick Hand', cursive; font-size: 22px; color: var(--muted); margin: 0; }
.collection-grid { width: min(1320px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 330px; gap: 16px; }
.story-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(340px, 31vw, 430px); }
.story-collection-grid .collection-card h3 { font-size: clamp(52px, 6vw, 86px); max-width: 560px; }
.collection-card-placeholder img { object-fit: contain; padding: 54px; filter: grayscale(1) contrast(.85); opacity: .72; }
.collection-card-placeholder:hover img, .collection-card-placeholder:focus-visible img { transform: scale(1.04); filter: grayscale(0); opacity: 1; }
.collection-card-copy { margin: 0; }
.collection-card-copy h3 { margin-bottom: 10px; }
.collection-card-copy p { margin: 0; color: #fff9f5; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.collection-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 25px; background: #e8ded9; text-decoration: none; }
.collection-card:nth-child(3n + 2) { background: #ded5d1; }
.collection-card:nth-child(4n) { background: #eee4df; }
.collection-card.card-wide,
.collection-card.card-tall { grid-column: span 1; grid-row: span 1; }
.collection-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(45,35,36,.5), transparent 48%); opacity: .42; transition: opacity .55s ease; }
.collection-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.9) brightness(1.06); transform: scale(1.015); transition: filter .65s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.collection-card span { position: absolute; top: 22px; left: 24px; font-size: 10px; letter-spacing: .2em; color: #fff9f5; }
.collection-card h3 { margin: 0; color: #fff9f5; font-family: var(--display); font-size: clamp(34px, 3vw, 48px); font-weight: 400; line-height: .9; letter-spacing: .03em; text-shadow: 0 1px 12px rgba(40,30,31,.18); }
.collection-card:hover img, .collection-card:focus-visible img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.055); }
.collection-card:hover::after, .collection-card:focus-visible::after { opacity: .72; }

.atelier-gallery { padding: 125px 28px 140px; background: var(--paper-pink); }
.atelier-gallery-heading { text-align: center; margin: 0 auto 66px; }
.atelier-gallery-heading h2 { font-family: var(--display); font-size: clamp(70px, 8vw, 112px); font-weight: 400; line-height: .85; margin: 0; }
.atelier-gallery-grid { width: min(1320px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.atelier-piece { position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; background: #e6d9d5; }
.atelier-piece::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(44,31,34,.48), transparent 42%); pointer-events: none; }
.atelier-piece img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .7s ease; }
.atelier-piece:hover > img:first-child { transform: scale(1.04); }
.atelier-piece .atelier-piece-alt { opacity: 0; }
.atelier-piece-swap:hover .atelier-piece-alt { opacity: 1; transform: scale(1.04); }
.atelier-piece > div { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 25px; color: #fffaf7; }
.atelier-piece span { font-size: 10px; letter-spacing: .2em; }
.atelier-piece h3 { margin: 7px 0 0; font-family: var(--display); font-size: clamp(38px, 4vw, 55px); font-weight: 400; line-height: .9; }

.collection-page { background: var(--paper-light); }
.catalog { padding: 105px 28px 145px; }
.catalog-heading { width: min(980px, 100%); margin: 0 auto 70px; text-align: center; }
.catalog-heading h1 { margin: 0; font-family: var(--display); font-size: clamp(76px, 10vw, 138px); font-weight: 400; line-height: .82; }
.catalog-heading > p:last-child { max-width: 650px; margin: 28px auto 0; font-family: 'Patrick Hand', cursive; font-size: 23px; line-height: 1.45; color: var(--muted); }
.story-tabs { width: min(1320px, 100%); margin: 0 auto 52px; padding: 0 0 18px; display: flex; justify-content: center; gap: clamp(22px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.story-tabs a { font-family: var(--display); font-size: 27px; text-decoration: none; opacity: .5; }
.story-tabs a.is-active { opacity: 1; font-weight: 700; }
.catalog-body { width: min(1320px, 100%); margin: 0 auto; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; }
.filter-toggle { width: 100%; padding: 0 0 17px; display: flex; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.filter-list { padding-top: 19px; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.filter-list button { padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--muted); text-align: left; }
.filter-list button:hover, .filter-list button.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.result-count { margin: 0 0 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 16px; }
.product-card[hidden] { display: none; }
.product-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e4d9d4; }
.product-image img, .product-image video { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s ease, opacity .55s ease; }
.product-card:hover .product-image > img:first-child { transform: scale(1.035); }
.product-image-swap img + img { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-image-swap img + img { opacity: 1; transform: scale(1.035); }
.product-card > p { margin: 15px 0 3px; font-family: var(--display); font-size: 31px; line-height: 1; }
.product-card > span { font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.empty-products { grid-column: 1 / -1; min-height: 360px; margin: 0; display: grid; place-items: center; align-content: center; text-align: center; font-family: 'Patrick Hand', cursive; font-size: 25px; line-height: 1.5; color: var(--muted); background: var(--paper-pink); }
.empty-products[hidden] { display: none; }
.video-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 46px; height: 46px; padding: 0 0 0 3px; border: 1px solid rgba(53,45,45,.28); border-radius: 50%; background: rgba(247,240,234,.82); color: var(--ink); cursor: pointer; backdrop-filter: blur(7px); }
.product-card-video.is-playing .video-toggle { padding-left: 0; opacity: .72; }
.product-card-video:hover .video-toggle { background: rgba(247,240,234,.98); transform: scale(1.05); }

.maker-story { display: grid; grid-template-columns: minmax(260px, 350px) minmax(0, 620px); align-items: center; justify-content: center; gap: clamp(58px, 8vw, 120px); padding: 130px clamp(28px, 7vw, 110px) 120px; background: var(--paper-light); overflow: hidden; }
.maker-portrait { position: relative; width: min(100%, 330px); justify-self: end; }
.maker-photo { position: relative; aspect-ratio: 377 / 664; overflow: hidden; border-radius: 50% 50% 12px 12px / 19% 19% 3% 3%; box-shadow: 18px 20px 0 rgba(207,177,171,.48); background: #d9d3c2; }
.maker-photo::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(247,240,234,.75); border-radius: inherit; pointer-events: none; }
.maker-photo img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 38%; }
.maker-portrait > span { display: block; font-family: var(--display); font-size: 24px; text-align: center; letter-spacing: .04em; margin: 24px 0 0 18px; transform: rotate(-2deg); }
.maker-copy { max-width: 620px; }
.maker-copy h2 { font-family: var(--display); font-size: clamp(66px, 7vw, 104px); line-height: .85; font-weight: 400; margin: 0 0 22px; }
.maker-role { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: .1em; margin: 0 0 31px; }
.maker-text { font-family: 'Patrick Hand', cursive; font-size: 22px; line-height: 1.55; letter-spacing: .015em; color: #514545; }
.maker-text p { margin: 0 0 18px; }
.maker-text em { font-style: normal; font-weight: 500; }
.signature { font-family: var(--display); font-size: 31px; margin-top: 30px; }

footer { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 60px 24px; text-align: center; background: #342b2b; color: #f5eae6; }
footer > p { margin-bottom: 5px; }
footer > p a { color: inherit; text-decoration: none; }
footer > a { font-family: var(--display); font-size: 29px; text-decoration: none; }
.instagram-link { width: 38px; height: 38px; display: grid; place-items: center; margin-top: -5px; transition: transform .25s ease, opacity .25s ease; }
.instagram-link:hover { transform: translateY(-3px) rotate(-3deg); opacity: .78; }
.instagram-link svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.instagram-link .instagram-dot { fill: currentColor; stroke: none; }
footer small { margin-top: 26px; opacity: .55; }

.contact-page { background: var(--paper-light); }
.contact-header { min-height: 270px; padding: 26px 24px 34px; border-bottom: 1px solid var(--line); }
.contact-header .logo-window { width: 170px; height: 175px; }
.contact-header nav { margin-top: -4px; }
.contact-main { min-height: 70vh; }
.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 490px); gap: clamp(55px, 9vw, 140px); width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 120px 0 130px; }
.contact-intro .kicker { margin-bottom: 22px; }
.contact-intro h1 { font-family: var(--display); font-size: clamp(78px, 10vw, 142px); font-weight: 400; line-height: .78; margin: 0 0 40px; }
.contact-intro > p:not(.kicker) { max-width: 570px; font-family: 'Patrick Hand', cursive; font-size: 24px; line-height: 1.55; color: #514545; }
.contact-instagram { display: inline-flex; align-items: center; gap: 13px; margin-top: 24px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 13px; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.contact-instagram svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.contact-instagram .instagram-dot { fill: currentColor; stroke: none; }
.contact-details { align-self: center; border-top: 1px solid var(--line); }
.contact-detail { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.contact-detail span { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .22em; }
.contact-detail h2 { margin: 0 0 8px; font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: .03em; }
.contact-detail p { margin: 0; color: var(--muted); line-height: 1.65; }
.contact-note-card { margin-top: 36px; padding: 27px 30px; background: var(--paper-pink); font-family: 'Patrick Hand', cursive; font-size: 20px; line-height: 1.45; transform: rotate(-1deg); }

@media (max-width: 720px) {
  .masthead { min-height: 380px; padding-top: 30px; }
  .logo-window { width: 260px; height: 275px; }
  .menu-toggle { display: block; position: absolute; right: 22px; top: 18px; z-index: 10; }
  nav { display: none; flex-direction: column; align-items: center; gap: 10px; margin-top: -8px; }
  nav.is-open { display: flex; }
  nav a { font-size: 25px; }
  .carousel { width: calc(100% - 24px); height: 72vh; min-height: 520px; max-height: 650px; }
  .slide img { object-fit: contain; }
  .slide:nth-child(1) { background: #e9c1b6; }
  .slide:nth-child(2) { background: #927482; }
  .slide:nth-child(3) { background: #c88978; }
  .slide:nth-child(1) img,
  .slide:nth-child(2) img,
  .slide:nth-child(3) img { object-position: center 14%; }
  .slide::after, .slide:nth-child(2)::after { background: linear-gradient(0deg, rgba(31,22,24,.72), transparent 68%); }
  .slide-copy, .slide-copy.light { left: 28px; right: 28px; top: auto; bottom: 64px; transform: none; color: #fff8f4; }
  .slide-copy h1 { font-size: 58px; }
  .carousel-arrow { width: 42px; height: 42px; font-size: 29px; top: 45%; }
  .previous { left: 10px; }.next { right: 10px; }
  .collection-browser { padding: 90px 12px 100px; }
  .collection-heading { margin-bottom: 48px; padding: 0 18px; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 245px; gap: 8px; }
  .story-collection-grid { grid-template-columns: 1fr; grid-auto-rows: 410px; }
  .collection-card { padding: 17px; }
  .collection-card.card-wide,
  .collection-card.card-tall { grid-column: span 1; grid-row: span 1; }
  .collection-card h3 { font-size: 32px; }
  .collection-card span { top: 16px; left: 17px; }
  .collection-card img { filter: grayscale(0) contrast(1) brightness(1); }
  .atelier-gallery { padding: 88px 12px 95px; }
  .atelier-gallery-heading { margin-bottom: 45px; padding: 0 18px; }
  .atelier-gallery-grid { grid-template-columns: 1fr; gap: 9px; }
  .atelier-piece { aspect-ratio: 4 / 4.7; }
  .atelier-piece > div { left: 20px; bottom: 19px; }
  .atelier-piece h3 { font-size: 43px; }
  .catalog { padding: 76px 12px 95px; }
  .catalog-heading { margin-bottom: 48px; padding: 0 16px; }
  .catalog-heading h1 { font-size: 78px; }
  .catalog-heading > p:last-child { font-size: 20px; }
  .story-tabs { justify-content: flex-start; overflow-x: auto; gap: 28px; padding: 0 12px 15px; }
  .story-tabs a { white-space: nowrap; font-size: 24px; }
  .catalog-body { grid-template-columns: 1fr; gap: 28px; }
  .filter-list { display: none; grid-template-columns: repeat(2, 1fr); }
  .filter-list.is-open { display: grid; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 8px; }
  .product-card > p { font-size: 27px; }
  .product-card > span { font-size: 10px; }
  .maker-story { grid-template-columns: 1fr; gap: 54px; padding: 88px 24px 80px; }
  .maker-portrait { width: min(74vw, 300px); justify-self: center; }
  .maker-copy { text-align: center; }
  .maker-copy h2 { font-size: 70px; }
  .maker-role { font-size: 22px; }
  .maker-text { font-size: 20px; line-height: 1.55; text-align: left; }
  .contact-header { min-height: 300px; }
  .contact-header .logo-window { width: 160px; height: 165px; }
  .contact-hero { grid-template-columns: 1fr; gap: 55px; width: calc(100% - 40px); padding: 80px 0 95px; }
  .contact-intro { text-align: center; }
  .contact-intro h1 { font-size: 78px; }
  .contact-intro > p:not(.kicker) { font-size: 21px; }
  .contact-instagram { justify-content: center; }
}
@media (min-width: 721px) and (max-width: 1050px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 310px; }
  .story-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 390px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-card.card-wide,
  .collection-card.card-tall { grid-column: span 1; grid-row: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
