:root {
  --page-bg: #ece8dd;
  --paper: #fffdf8;
  --ink: #2d2b2b;
  --muted: #5f5b56;
  --rose: #d97c8d;
  --rose-dark: #bf6477;
  --rose-soft: #f3b9c2;
  --sage: #9bb8b0;
  --sage-dark: #6f8d85;
  --sage-deep: #5e8178;
  --line: #e7a6af;
  --shadow: 0 18px 40px rgba(53, 40, 32, .14);
  --max: 1760px;
  --gutter: clamp(22px, 5vw, 86px);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  font-size: 16px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.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;
}

.site-header {
  position: relative;
  z-index: 10;
  min-height: 95px;
  background: rgba(247, 244, 237, .96);
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 130px;
  align-items: center;
  padding: 0 var(--gutter);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.brand {
  position: absolute;
  left: clamp(22px, 5vw, 88px);
  top: 18px;
  width: clamp(110px, 11vw, 160px);
}
.main-nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 70px);
  font-size: 16px;
}
.main-nav li,
.footer-nav li,
.legal-links li {
  list-style: none;
}
.legal-links li {
  display: inline;
}
.legal-links li + li::before {
  content: ' | ';
}
.main-nav a {
  position: relative;
  padding: 34px 0 30px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav a.active,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a { color: var(--rose-dark); }
.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  color: var(--rose-soft);
  font-size: 30px;
  line-height: 1;
}
.icon-link,
.cart-link { transition: transform .2s ease, color .2s ease; }
.icon-link:hover,
.cart-link:hover { color: var(--rose-dark); transform: translateY(-2px); }
.cart-link {
  align-items: center;
  display: inline-flex;
}
.header-cart-icon {
  height: 34px;
  width: 34px;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: clamp(600px, 44vw, 840px);
  background-image: linear-gradient(90deg, rgba(0,0,0,.03), rgba(255,255,255,.10)), url('../images/hero-atelier.jpg');
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: clamp(70px, 7vw, 130px) var(--gutter);
}
.hero-card {
  position: relative;
  width: min(620px, 48vw);
  margin-right: clamp(0px, 4vw, 80px);
  padding: clamp(36px, 4vw, 58px) clamp(42px, 5vw, 62px) 36px;
  background: rgba(255, 253, 248, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero h1,
.intro-grid h2,
.event-card h3,
.urban h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.17;
  margin: 0;
}
.hero h1 {
  font-size: clamp(42px, 4.5vw, 70px);
  letter-spacing: -.03em;
}
.hero h1 span { color: var(--rose); }
.handwritten,
.script-heading,
.script-link {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  color: var(--rose);
}
.hero .handwritten {
  font-size: clamp(32px, 2.7vw, 48px);
  margin: 24px 0 18px;
  line-height: 1;
}
.hero-card > p:not(.handwritten) {
  max-width: 430px;
  margin: 0 0 34px;
}
.heart {
  position: absolute;
  right: 55px;
  top: 205px;
  color: var(--rose-soft);
  font-size: 68px;
  font-family: 'Caveat', cursive;
  transform: rotate(-10deg);
}
.button-row { display: flex; flex-wrap: wrap; gap: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--rose);
  border-radius: 5px;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--rose);
  border-color: var(--rose);
}
.button-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.button-outline { color: var(--rose); background: transparent; }
.button-outline:hover { color: #fff; background: var(--rose); }
.button-teal { color: #fff; background: var(--sage-deep); border-color: var(--sage-deep); }
.button-teal:hover { background: var(--sage-dark); border-color: var(--sage-dark); }
.button.small { min-width: 0; min-height: 42px; padding: 10px 18px; }

.intro-strip {
  position: relative;
  min-height: 380px;
  padding: clamp(60px, 6vw, 90px) var(--gutter) 72px;
  background: var(--page-bg);
  overflow: hidden;
}
.intro-branch {
  position: absolute;
  left: -70px;
  top: 45px;
  width: clamp(280px, 27vw, 520px);
}
.intro-grid {
  width: min(1320px, calc(100% - 350px));
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(44px, 6vw, 110px);
}
.intro-grid article { position: relative; min-height: 225px; }
.intro-grid h2 { font-size: 26px; margin-bottom: 15px; }
.intro-grid p { max-width: 285px; margin: 0 0 28px; }
.with-house img {
  position: absolute;
  right: -30px;
  bottom: 0;
  width: 220px;
}

.section-shell {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.about {
  display: grid;
  grid-template-columns: 340px 330px minmax(0, 1fr);
  gap: 42px 54px;
  padding: 45px 0 45px;
  align-items: start;
}
.about-portrait {
  position: relative;
  border: 2px solid var(--rose);
  border-radius: 5px;
  overflow: hidden;
}
.about-copy {
  padding-right: 48px;
  border-right: 1px solid var(--line);
}
.script-heading {
  margin: 0 0 14px;
  font-size: clamp(42px, 4.2vw, 58px);
  line-height: .95;
}
.about p,
.atelier-copy p,
.events p,
.product-info p,
.urban p,
.footer-copy { margin: 0; }
.atelier-copy .script-heading { margin-left: 0; }
.atelier-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 270px;
  gap: 42px;
  align-items: center;
}
.atelier-img {
  width: 100%;
  border-radius: 3px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.slider-dots span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--rose-soft);
  background: var(--paper);
}
.slider-dots span.active { background: var(--rose-soft); }
.atelier-grid .button { margin-top: 36px; width: 100%; }

.events {
  padding: 48px 0 58px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 7vw, 140px);
  margin-top: 30px;
}
.event-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
}
.event-card time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  color: #fff;
  background: var(--sage);
  border-radius: 5px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  line-height: 1;
}
.event-card:nth-child(2) time,
.event-card:nth-child(3) time { background: var(--rose-soft); }
.event-card time span { font-size: 36px; }
.event-card h3 { font-size: 28px; margin: 2px 0 14px; }
.event-card p { font-size: 14px; }
.event-card p span { color: var(--rose); }
.more-link {
  display: block;
  margin-top: 36px;
  text-align: right;
  color: var(--muted);
}
.more-link::first-letter { color: var(--rose); }

.shop-preview { padding: 72px 0 52px; }
.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 54px;
}
.section-title-row .script-heading { margin: 0; }
.section-title-row .script-heading span { color: var(--rose-soft); }
.script-link { font-size: clamp(42px, 4vw, 58px); line-height: 1; }
.product-carousel {
  overflow: hidden;
}
.product-grid {
  --product-gap: clamp(26px, 3vw, 50px);
  display: grid;
  grid-auto-columns: calc((100% - var(--product-gap) * 4) / 5);
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: var(--product-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.product-grid::-webkit-scrollbar {
  display: none;
}
.product-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}
.product-card {
  scroll-snap-align: start;
}
.product-image {
  aspect-ratio: 1 / 1;
  background: var(--sage);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.product-image a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}
.product-image img {
  max-height: 86%;
  object-fit: contain;
}
.product-info {
  position: relative;
  margin-top: 20px;
  min-height: 84px;
}
.product-info h3 {
  margin: 0 58px 2px 0;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
}
.product-info h3 a {
  color: inherit;
  position: static;
}
.product-info p { font-size: 14px; line-height: 1.45; }
.product-cart-link {
  align-items: center;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  color: var(--rose-soft);
  width: 44px;
}
.product-cart-link:hover {
  color: var(--rose-dark);
}
.cart-icon {
  background: currentColor;
  display: block;
  height: 40px;
  mask: url('../images/cart.svg') center / contain no-repeat;
  width: 40px;
  -webkit-mask: url('../images/cart.svg') center / contain no-repeat;
}
.shop-dots { margin-top: 28px; }
.shop-dots button {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--rose-soft);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
.shop-dots button.active {
  background: var(--rose-soft);
}
.shop-dots button:focus-visible {
  outline: 2px solid var(--rose-dark);
  outline-offset: 3px;
}

.urban {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto 0;
  padding: 0 0 50px;
}
.urban-content {
  position: relative;
  min-height: 380px;
  background-image: url('../images/urban-paper-bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: minmax(330px, 520px) minmax(310px, 470px) 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 62px 52px;
  overflow: hidden;
}
.urban h3 { font-size: 32px; margin-bottom: 20px; }
.urban-text p { max-width: 540px; margin-bottom: 28px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  font-size: 15px;
}
.check-list li {
  position: relative;
  padding-left: 36px;
  margin: 12px 0;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(155, 184, 176, .42);
  color: var(--sage-deep);
  text-align: center;
  line-height: 22px;
  font-weight: 500;
}
.urban-visuals {
  position: relative;
  min-height: 260px;
}
.urban-logo {
  position: absolute;
  z-index: 2;
  width: 190px;
  left: 40px;
  top: -8px;
}
.urban-illustration {
  position: absolute;
  z-index: 1;
  width: 520px;
  right: -38px;
  top: 30px;
}
.paper-note {
  position: absolute;
  z-index: 3;
  width: 235px;
  left: 130px;
  top: 150px;
  transform: rotate(3deg);
}

.site-footer {
  background: var(--sage-dark);
  color: #fff;
  font-size: 15px;
}
.footer-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  min-height: 350px;
  display: grid;
  grid-template-columns: 260px minmax(360px, 720px) minmax(220px, 330px);
  gap: 80px;
  align-items: center;
  position: relative;
  padding: 40px 0 62px;
}
.footer-logo-wrap img { width: 190px; }
.footer-copy { line-height: 1.55; }
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.legal-links {
  position: absolute;
  right: 0;
  bottom: 28px;
}
.legal-links a,
.footer-nav a:not(.button) { opacity: .95; }
.legal-links a:hover,
.footer-nav a:not(.button):hover { text-decoration: underline; }

.contact-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity .2s ease;
  z-index: 1000;
}
.contact-modal[hidden] {
  display: none;
}
.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.contact-modal__overlay {
  background: rgba(45, 43, 43, .52);
  backdrop-filter: blur(7px);
  inset: 0;
  position: absolute;
}
.contact-modal__dialog {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(35, 30, 25, .28);
  max-height: min(760px, calc(100vh - 48px));
  max-width: 680px;
  overflow: auto;
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  transform: translateY(14px) scale(.98);
  transition: transform .2s ease;
  width: min(100%, 680px);
}
.contact-modal.is-open .contact-modal__dialog {
  transform: translateY(0) scale(1);
}
.contact-modal__close {
  align-items: center;
  background: transparent;
  border: 1px solid var(--rose-soft);
  border-radius: 999px;
  color: var(--rose);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 42px;
}
.contact-modal__close:hover {
  background: var(--rose);
  color: #fff;
}
.contact-modal__content {
  margin-top: 24px;
}
.contact-modal__content input:not([type="checkbox"]):not([type="radio"]),
.contact-modal__content textarea,
.contact-modal__content select {
  background: #fff;
  border: 1px solid rgba(217, 124, 141, .5);
  border-radius: 5px;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}
.contact-modal__content textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-modal__content input[type="submit"],
.contact-modal__content button[type="submit"] {
  background: var(--rose);
  border: 1px solid var(--rose);
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  min-height: 48px;
  padding: 12px 26px;
}
.contact-modal__content input[type="submit"]:hover,
.contact-modal__content button[type="submit"]:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}
body.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 1280px) {
  body { font-size: 15px; }
  .site-header { grid-template-columns: 180px 1fr 100px; }
  .main-nav { gap: 26px; }
  .hero-card { width: min(560px, 54vw); }
  .intro-grid { width: min(1180px, calc(100% - 250px)); gap: 44px; }
  .with-house img { opacity: .55; width: 180px; }
  .about { grid-template-columns: 260px 300px 1fr; gap: 34px; }
  .atelier-grid { grid-template-columns: 1fr; }
  .atelier-grid .button { width: auto; }
  .product-grid { --product-gap: 28px; }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 82px;
    grid-template-columns: 1fr auto auto;
    padding: 0 22px;
  }
  .brand { position: static; width: 100px; }
  .nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--ink);
  }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    padding: 18px 22px 28px;
    background: rgba(247, 244, 237, .98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 10px 0; }
  .main-nav a::after { bottom: 8px; }
  .header-actions { font-size: 24px; }
  .hero {
    justify-content: center;
    align-items: end;
    padding: 360px 22px 36px;
    background-position: 35% center;
  }
  .hero-card { width: min(620px, 100%); margin: 0; }
  .intro-strip { padding: 42px 22px 50px; }
  .intro-branch { position: static; width: 300px; margin: 0 auto 22px; }
  .intro-grid { width: 100%; grid-template-columns: 1fr; gap: 28px; }
  .intro-grid article { min-height: 0; }
  .with-house img { position: static; opacity: 1; margin-top: 18px; }
  .section-shell,
  .urban,
  .footer-inner { width: calc(100% - 44px); }
  .about { grid-template-columns: 1fr; }
  .about-portrait { max-width: 340px; }
  .about-copy { padding-right: 0; border-right: 0; }
  .event-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-grid { grid-auto-columns: calc((100% - var(--product-gap)) / 2); }
  .urban-content { grid-template-columns: 1fr; padding: 50px 34px; background-size: cover; }
  .urban-visuals { min-height: 280px; }
  .urban-logo { left: 0; top: 0; }
  .urban-illustration { right: -20px; top: 50px; }
  .paper-note { left: 110px; top: 165px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; padding: 42px 0 80px; }
  .legal-links { left: 0; right: auto; }
  .contact-modal__dialog { padding: 34px 24px; }
}

@media (max-width: 620px) {
  .hero { padding-top: 310px; }
  .hero-card { padding: 30px 24px 26px; }
  .hero h1 { font-size: 40px; }
  .heart { display: none; }
  .button-row { gap: 12px; }
  .button { width: 100%; }
  .section-title-row { flex-direction: column; margin-bottom: 30px; }
  .product-grid { grid-auto-columns: 100%; }
  .event-card { grid-template-columns: 76px 1fr; gap: 18px; }
  .event-card time { height: 100px; font-size: 28px; }
  .event-card h3 { font-size: 24px; }
  .urban-content { padding: 38px 22px; }
  .urban-visuals { min-height: 250px; transform: scale(.85); transform-origin: left top; }
}
