:root {
  --cream: #faf5ee;
  --paper: #f3e9dc;
  --cocoa: #2a160f;
  --cocoa-2: #3d2218;
  --wine: #7d1631;
  --wine-deep: #5e0f24;
  --gold: #c9a24a;
  --gold-light: #e6cd8c;
  --gold-text: #e2c27a;
  --ink: #2a160f;
  --muted: #5a4036;
  --rule: rgba(125, 22, 49, .28);
  --gutter: clamp(16px, 5.5vw, 96px);
  --max: 1360px;
  --head-h: 84px;
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Karla", system-ui, sans-serif;
  --f-script: "Pinyon Script", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; color: var(--wine); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--wine); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }

.eyebrow {
  font: 600 .8125rem/1.4 var(--f-head);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 14px;
}
.script { font-family: var(--f-script); font-weight: 400; font-size: 1.22em; line-height: .9; display: inline-block; padding-right: .1em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  background: var(--wine); color: #fff; text-decoration: none;
  font: 600 .9375rem/1.2 var(--f-head); letter-spacing: .02em;
  border: 1.5px solid var(--wine); border-radius: 999px;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--wine-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--wine); }
.btn-ghost:hover { background: var(--wine); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .8125rem; }
.link-arrow {
  font: 600 .9375rem/1.2 var(--f-head); color: var(--wine); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1.5px solid currentColor;
}
.link-arrow::after { content: ""; width: 18px; height: 10px; background: currentColor; clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%); transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* notice bar */
.notice {
  background: var(--cocoa); color: var(--gold-text);
  text-align: center; font: 500 .8125rem/1.4 var(--f-head); letter-spacing: .06em;
  padding: 9px var(--gutter);
}

/* header: logo centred on a hairline, links split left and right */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  background: rgba(250, 245, 238, .96);
  backdrop-filter: blur(8px);
}
.header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--rule); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font: 600 .8125rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-right { justify-content: flex-end; }
.brand img { width: clamp(150px, 15vw, 210px); height: auto; }
.menu-btn, .call-icon { display: none; }

.phone-menu {
  position: fixed; inset: var(--head-h) 0 auto 0; z-index: 49;
  background: var(--cream); padding: 12px 16px 24px;
  display: flex; flex-direction: column; gap: 4px;
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 20px 40px rgba(42, 22, 15, .15);
}
.phone-menu[hidden] { display: none; }
.phone-menu a:not(.btn) { color: var(--ink); text-decoration: none; font: 600 1.25rem/1 var(--f-head); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.phone-menu .btn { margin-top: 12px; }

/* hero */
.hero {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 110px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
  min-height: calc(100svh - var(--head-h) - 36px);
}
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 26px; }
.hero h1 .script { color: var(--cocoa); }
.lede { font-size: clamp(1.125rem, 1.35vw, 1.3125rem); color: var(--muted); max-width: 32em; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* the mosaic tray */
.tray-wrap { perspective: 1400px; }
.tray {
  --gap: clamp(5px, .55vw, 9px);
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr;
  grid-auto-flow: dense;
  gap: var(--gap); padding: calc(var(--gap) * 2.2);
  background: var(--cocoa);
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(42, 22, 15, .55), inset 0 0 0 1px rgba(201, 162, 74, .35);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.t {
  aspect-ratio: 1; border-radius: 6px;
  background: var(--img) center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(0,0,0,.35);
  transform: translate(calc(var(--px, 0) * var(--p, 0) * 1px), calc(var(--py, 0) * var(--p, 0) * 1px));
}
.t-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.t:nth-child(13) { grid-column: 4 / span 2; grid-row: 3 / span 2; }
.glaze { background: var(--g); }
.g-gold { --g: linear-gradient(135deg, #f1dc9b, #c9a24a 45%, #8f6b22 100%); }
.g-wine { --g: radial-gradient(circle at 30% 25%, #a8324f, #7d1631 55%, #4a0a1b); }
.g-cocoa { --g: radial-gradient(circle at 30% 25%, #6b3f2c, #3d2218 60%, #1d0e09); }
.g-cream { --g: radial-gradient(circle at 30% 25%, #fffaf0, #efdcc0 70%, #d6b98f); }
.mono { background: var(--img) center / 118% no-repeat, linear-gradient(135deg, #f1dc9b, #c9a24a); }

/* tiles set in place one by one */
.js .tray .t { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(.6); }
.js .tray.set .t {
  opacity: 1;
  transform: translate(calc(var(--px, 0) * var(--p, 0) * 1px), calc(var(--py, 0) * var(--p, 0) * 1px));
  transition: opacity .5s ease var(--d), transform .9s cubic-bezier(.2, .8, .2, 1.05) var(--d);
}
.js .tray.settled .t { transition: none; }

/* promises */
.promises {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px);
}
.promise { border-top: 1px solid var(--rule); padding-top: 24px; }
.promise svg { width: 36px; height: 36px; fill: none; stroke: var(--wine); stroke-width: 1.6; margin-bottom: 14px; }
.promise h2 { font-size: 1.125rem; margin-bottom: 8px; }
.promise p { font-size: 1rem; color: var(--muted); margin: 0; }

/* sections */
.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head h2, .story h2, .visit h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; letter-spacing: -.01em; }

/* the box */
.box-section {
  background: var(--paper);
  padding: clamp(72px, 9vw, 136px) var(--gutter);
}
.box-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.box {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; padding: 12px;
  background: var(--cocoa); border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .4);
}
.cell {
  background: var(--cream); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
}
.c-wide { grid-column: span 2; flex-direction: row; }
.c-wide .cell-img { flex: 0 0 50%; aspect-ratio: auto; }
.c-wide .cell-text { align-self: end; }
.c-tall { grid-row: span 2; }
.c-tall .cell-img { aspect-ratio: auto; flex: 1; min-height: 260px; }
.cell-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cocoa-2); }
.cell-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cell:hover .cell-img img { transform: scale(1.05); }
.lid {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, #6b3f2c, #3d2218 55%, #1d0e09);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .5);
  transform-origin: top center;
  transition: transform 1s cubic-bezier(.6, 0, .2, 1) var(--d, 0s), opacity .4s ease calc(var(--d, 0s) + .7s);
}
.lid::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 74, .55); border-radius: 6px; }
.lid::after { content: "Caroline's"; position: absolute; inset: 0; display: grid; place-items: center; font: 400 clamp(1.75rem, 2.6vw, 2.5rem)/1 var(--f-script); color: var(--gold-text); }
.open .lid { transform: perspective(900px) rotateX(-100deg); opacity: 0; }
html:not(.js) .lid, .reduce .lid { display: none; }
.cell-text { padding: 22px 22px 24px; }
.cell-text h3 { font-size: 1.1875rem; line-height: 1.25; margin-bottom: 8px; }
.cell-text p { font-size: 1rem; color: var(--muted); margin: 0; }
.c-plain { background: var(--wine); justify-content: flex-end; grid-row: span 2; }
.c-coffee { grid-column: 2 / span 3; }
.c-coffee .cell-img { flex: 0 0 40%; }
.c-plain h3 { color: #fff; }
.c-plain p { color: #f6e3e8; }
.cell-mark {
  display: block; height: 96px; margin-bottom: 22px;
  background:
    radial-gradient(circle, var(--gold-light) 0 9px, transparent 10px) 0 0 / 32px 32px space;
  opacity: .8;
}

/* moving strip of tiles */
.strip { overflow: hidden; background: var(--cocoa); padding: 12px 0; }
.strip-row { display: flex; gap: 12px; width: max-content; animation: drift 60s linear infinite; }
.strip img { width: clamp(120px, 12vw, 180px); aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
@keyframes drift { to { transform: translateX(calc(-50% - 6px)); } }

/* story */
.story {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(72px, 9vw, 136px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 110px); align-items: center;
}
.story-photo { position: relative; max-width: 420px; }
.story-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--wine); border-radius: 12px; }
.story-photo img { position: relative; border-radius: 12px; width: 100%; aspect-ratio: 380 / 640; object-fit: cover; object-position: center 30%; }
.story h2 { margin-bottom: 26px; }
.story-copy > p { max-width: 36em; }
.script-quote { margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.script-quote p { font: 400 clamp(2rem, 3.2vw, 2.75rem)/1.15 var(--f-script); color: var(--wine); margin: 0 0 8px; }
.script-quote cite { font: 600 .8125rem/1.4 var(--f-head); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--muted); }

/* gifts */
.gifts { background: var(--cocoa); color: #f5e9dc; padding: clamp(72px, 9vw, 136px) var(--gutter); }
.gifts > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.gifts .eyebrow, .gifts h2, .gifts h3 { color: var(--gold-text); }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.gift-card { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--cocoa-2); border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .3); }
.gift-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.gift-card figcaption { padding: clamp(24px, 3vw, 40px); align-self: center; }
.gift-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.gift-card p { color: #ecdccb; }
.gifts .link-arrow { color: var(--gold-text); }

/* reviews as mosaic tiles */
.reviews { padding: clamp(72px, 9vw, 136px) var(--gutter); }
.reviews > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.review-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.review { margin: 0; padding: clamp(24px, 2.6vw, 40px); border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 220px; }
.review blockquote { margin: 0; font: 500 clamp(1.1875rem, 1.6vw, 1.5rem)/1.35 var(--f-head); }
.review figcaption { font: 600 .8125rem/1.4 var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.review:nth-child(1) { grid-column: span 3; }
.review:nth-child(2) { grid-column: span 3; }
.review:nth-child(3) { grid-column: span 2; }
.review:nth-child(4) { grid-column: span 2; }
.review:nth-child(5) { grid-column: span 2; }
.r-wine { background: var(--wine); color: #fff; }
.r-cream { background: var(--paper); color: var(--ink); }
.r-cream figcaption { color: var(--wine); }
.r-gold { background: linear-gradient(135deg, #f1dc9b, #c9a24a); color: var(--cocoa); }
.r-cocoa { background: var(--cocoa); color: #f5e9dc; }
.r-cocoa figcaption { color: var(--gold-text); }
.review:nth-child(3) blockquote { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.25rem, 3vw, 3rem); line-height: 1.05; }

/* visit */
.visit {
  background: var(--paper);
  padding: clamp(72px, 9vw, 136px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px);
}
.visit > * { min-width: 0; }
.visit h2 { margin-bottom: 26px; }
.visit address { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: 32px; }
.visit h3 { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.hours { margin: 0 0 32px; max-width: 420px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.hours .today { color: var(--wine); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 20px; }
.email { font-size: 1rem; color: var(--muted); }
.visit-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visit-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 12px; }
.visit-media iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 12px; filter: sepia(.25) saturate(.9); }

/* footer */
.footer { background: var(--cocoa); color: #ecdccb; padding: 72px var(--gutter) 40px; }
.footer > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.footer-badge { width: 220px; height: auto; border-radius: 10px; margin-bottom: 48px; margin-left: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 32px; border-top: 1px solid rgba(201, 162, 74, .35); }
.footer h2 { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.footer p { font-size: 1rem; }
.footer a { color: #fff; text-decoration-color: rgba(201, 162, 74, .6); text-underline-offset: 3px; line-height: 2; }
.footer a:hover { color: var(--gold-light); }
.footer :focus-visible { outline-color: var(--gold-light); }
.fine { margin: 40px auto 0; font-size: .875rem; color: #cdb8a6; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1f7a4d; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* tablet */
@media (max-width: 1100px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-tall, .c-plain { grid-row: span 1; }
  .c-coffee { grid-column: span 2; }
  .c-tall .cell-img { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
  .gift-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review:nth-child(n) { grid-column: span 1; }
  .review:nth-child(5) { grid-column: span 2; }
}

/* phone */
@media (max-width: 860px) {
  :root { --head-h: 68px; }
  .header { grid-template-columns: 1fr auto auto; gap: 4px; }
  .call-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wine); }
  .call-icon svg { width: 20px; height: 20px; fill: #fff; }
  .nav { display: none; }
  .brand { justify-self: start; }
  .brand img { width: 150px; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0;
  }
  .menu-btn span:not(.sr) { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .tray-wrap { order: -1; }
  .tray { grid-template-columns: repeat(4, 1fr); }
  .tray .d-only { display: none; }
  .t:nth-child(13) { grid-column: 3 / span 2; grid-row: auto / span 2; }
  .story { grid-template-columns: 1fr; }
  .story-photo { max-width: 280px; }
  .story-photo img { aspect-ratio: 4 / 5; }
  .visit { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .promises { grid-template-columns: 1fr; }
  .box { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .c-wide, .c-coffee { grid-column: span 1; flex-direction: column; }
  .c-wide .cell-img { aspect-ratio: 4 / 3; flex: none; }
  .c-wide .cell-text { align-self: auto; }
  .gift-card { grid-template-columns: 1fr; }
  .gift-card img { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
  .review-grid { grid-template-columns: 1fr; }
  .review:nth-child(n) { grid-column: span 1; min-height: 0; }
  .hours div { flex-direction: column; gap: 2px; }
  .footer-cols { grid-template-columns: 1fr; }
  .visit-media { grid-template-columns: 1fr; }
  .visit-media img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .visit-media iframe { min-height: 300px; }
  .visit-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .tray .t { opacity: 1; transform: none; }
  .lid { display: none; }
}
