/* ==========================================================================
   POSIE PROJECT — Page Sections
   Hero, menu, boutique, gallery, find us, story, contact
   ========================================================================== */

/* — REVEAL ANIMATION — */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
  background: linear-gradient(180deg, var(--rose-50) 0%, var(--cream) 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(244, 211, 94, 0.12), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(244, 194, 194, 0.35), transparent 45%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

.hero-content .eyebrow {
  color: var(--rose-600);
}

.hero-content h1 {
  margin-bottom: var(--space-5);
}

.hero-content h1 .script {
  font-family: var(--font-script);
  color: var(--rose-500);
  font-weight: 400;
  display: block;
  font-size: 0.85em;
  margin-bottom: 0.2em;
}

.hero-content .lede {
  margin-bottom: var(--space-6);
  font-size: 1.18rem;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(142, 78, 77, 0.2));
  pointer-events: none;
}

/* Floating decorative badge on hero */
.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-script);
  color: var(--rose-600);
  font-size: 1.35rem;
  line-height: 1.1;
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  transform: rotate(-8deg);
  border: 2px dashed var(--rose-200);
}

@media (max-width: 540px) {
  .hero-badge { width: 110px; height: 110px; font-size: 1.1rem; left: -12px; bottom: -16px; }
}

/* — PAGE HERO (non-home) — */
.page-hero {
  padding: var(--space-9) 0 var(--space-7);
  background: linear-gradient(180deg, var(--rose-50) 0%, var(--cream) 100%);
  text-align: center;
  position: relative;
}

.page-hero .eyebrow { color: var(--rose-600); }

.page-hero h1 {
  max-width: 760px;
  margin: 0 auto var(--space-4);
}

.page-hero .lede {
  margin: 0 auto;
  color: var(--ink-soft);
}

/* ==========================================================================
   HIGHLIGHTS (home — 3 feature cards: Coffee, Food, Gifts)
   ========================================================================== */
.highlights {
  padding: var(--space-9) 0;
  background: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 860px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

.highlight {
  text-align: center;
  padding: var(--space-7) var(--space-5);
  background: var(--rose-50);
  border-radius: var(--r-xl);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.highlight:hover {
  transform: translateY(-6px);
  background: var(--cream);
}

.highlight-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  background: var(--rose-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-700);
  transition: background 0.3s var(--ease);
}

.highlight:hover .highlight-icon {
  background: var(--butter);
}

.highlight-icon svg { width: 34px; height: 34px; }

.highlight h3 {
  margin-bottom: var(--space-3);
  color: var(--rose-800);
}

.highlight p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 32ch;
  margin: 0 auto;
}

/* ==========================================================================
   STORY PREVIEW (home about section)
   ========================================================================== */
.story-preview {
  padding: var(--space-9) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
}

.story-image-stack {
  position: relative;
  padding-right: var(--space-6);
  padding-bottom: var(--space-6);
}

.story-image-stack img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.story-image-stack .img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-image-stack .img-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--cream);
  box-shadow: var(--shadow-lift);
}

.story-content .display-script {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-3);
  display: block;
}

.story-content h2 {
  margin-bottom: var(--space-5);
}

.story-content p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.story-content .btn-primary {
  margin-top: var(--space-6);
}

/* ==========================================================================
   MENU
   ========================================================================== */
.menu-section {
  padding: var(--space-9) 0;
  background: var(--off-white);
}

.menu-board {
  background: var(--rose-300);
  border: 14px solid var(--white);
  box-shadow: var(--shadow-lift), 0 0 0 2px var(--rose-200);
  border-radius: var(--r-md);
  padding: var(--space-7) var(--space-6);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 12px);
}

.menu-board::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--r-sm);
  pointer-events: none;
}

.menu-board-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px dashed rgba(255,255,255,0.4);
}

.menu-category {
  margin-bottom: var(--space-6);
}

.menu-category:last-child { margin-bottom: 0; }

.menu-category-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.menu-category-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2) var(--space-6);
}

@media (max-width: 640px) { .menu-items { grid-template-columns: 1fr; } }

.menu-item {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--white);
  padding: var(--space-2) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.menu-item-size {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.menu-note {
  text-align: center;
  margin-top: var(--space-5);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.menu-cta-row {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
  flex-wrap: wrap;
}

/* Food highlight grid (under menu board) */
.menu-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.menu-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: var(--rose-100);
}

.menu-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.menu-visual:hover img { transform: scale(1.05); }

.menu-visual-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(61,44,41,0.8));
  color: var(--white);
  padding: var(--space-5) var(--space-4) var(--space-4);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ==========================================================================
   BOUTIQUE
   ========================================================================== */
.boutique-intro {
  padding: var(--space-9) 0 var(--space-7);
  background: var(--off-white);
  text-align: center;
}

.boutique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
  padding-bottom: var(--space-9);
}

.boutique-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  aspect-ratio: 3 / 4;
}

.boutique-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.boutique-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.boutique-item:hover img { transform: scale(1.04); }

.boutique-item-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255,255,255,0.92);
  color: var(--rose-700);
  font-family: var(--font-script);
  font-size: 1.1rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-soft);
}

/* Teaser (home) */
.boutique-teaser {
  padding: var(--space-9) 0;
  background: var(--rose-50);
}

.boutique-teaser .teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-7);
}

@media (max-width: 900px) { .boutique-teaser .teaser-grid { grid-template-columns: repeat(2, 1fr); } }

.teaser-grid .boutique-item { aspect-ratio: 1; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-section {
  padding: var(--space-8) 0 var(--space-9);
  background: var(--off-white);
}

.gallery-masonry {
  columns: 3;
  column-gap: var(--space-4);
}

@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 540px) { .gallery-masonry { columns: 1; } }

.gallery-masonry figure {
  break-inside: avoid;
  margin-bottom: var(--space-4);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--rose-100);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery-masonry figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.gallery-masonry img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   STORY (Our Story page)
   ========================================================================== */
.story-section {
  padding: var(--space-9) 0;
  background: var(--off-white);
}

.story-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.story-wrap p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: var(--space-5);
}

.story-wrap p.first-line::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.9;
  float: left;
  margin: 4px var(--space-3) 0 0;
  color: var(--rose-600);
  font-weight: 500;
}

.story-lead-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: var(--space-7);
  box-shadow: var(--shadow-card);
}

.story-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--line);
}

@media (max-width: 740px) { .story-values { grid-template-columns: 1fr; } }

.story-value {
  text-align: center;
}

.story-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  color: var(--rose-600);
}

.story-value h4 { color: var(--rose-800); margin-bottom: var(--space-2); }

.story-value p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* — COMMUNITY LETTER (Giving Back card) — */
.community-letter {
  margin-top: var(--space-6);
}

.community-letter-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-6) var(--space-6);
  background: linear-gradient(180deg, var(--rose-50), var(--cream));
  border: 1px solid var(--rose-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.community-letter-card::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 140px;
  line-height: 1;
  color: var(--rose-300);
  opacity: 0.45;
  pointer-events: none;
}

.community-letter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--rose-100);
  color: var(--rose-700);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.community-letter-badge svg {
  width: 14px;
  height: 14px;
}

.community-letter-card .display-script {
  display: block;
  color: var(--rose-700);
  margin-bottom: var(--space-1);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.community-letter-card h2 {
  color: var(--rose-800);
  margin-bottom: var(--space-4);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  position: relative;
  z-index: 1;
}

.community-letter-body {
  position: relative;
  z-index: 1;
}

.community-letter-body p {
  line-height: 1.8;
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.community-letter-body p:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rose-800);
  border-left: 3px solid var(--rose-300);
  padding-left: var(--space-3);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.community-letter-body .letter-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--rose-700);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.community-letter-date {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--rose-200);
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .community-letter-card {
    padding: var(--space-6) var(--space-4) var(--space-5);
  }
  .community-letter-card::before {
    font-size: 90px;
    top: -8px;
    left: 14px;
  }
}

/* ==========================================================================
   FIND US / CONTACT
   ========================================================================== */
.find-us-section {
  padding: var(--space-9) 0;
  background: var(--white);
}

.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 900px) { .find-us-grid { grid-template-columns: 1fr; } }

.find-us-info .display-script {
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  margin-bottom: var(--space-3);
  display: block;
}

.find-us-info h2 { margin-bottom: var(--space-5); }

.info-block {
  padding: var(--space-5) 0;
  border-bottom: 1px dashed var(--rose-200);
}

.info-block:last-of-type { border-bottom: 0; }

.info-block h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sienna);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
}

.info-block h4 svg { width: 16px; height: 16px; }

.info-block-body {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.info-block-body a:hover { text-decoration: underline; }

.hours-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-5);
  font-size: 1rem;
  color: var(--ink);
}

.hours-list dt { font-weight: 600; }
.hours-list dd { color: var(--ink-soft); }

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--white);
  height: 100%;
  min-height: 460px;
  background: var(--rose-100);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

/* Contact form block */
.contact-form-wrap {
  margin-top: var(--space-8);
  padding: var(--space-7);
  background: var(--rose-50);
  border-radius: var(--r-xl);
}

@media (max-width: 640px) { .contact-form-wrap { padding: var(--space-5); } }

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-5);
}

@media (max-width: 640px) { .contact-form-grid { grid-template-columns: 1fr; } }

.contact-form-grid .form-group-full { grid-column: 1 / -1; }

/* ==========================================================================
   SOCIAL / INSTAGRAM CTA
   ========================================================================== */
.social-strip {
  padding: var(--space-8) 0;
  background: var(--rose-100);
  text-align: center;
}

.social-strip h2 {
  margin-bottom: var(--space-3);
}

.social-strip p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}

.social-handles {
  display: inline-flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--white);
  border-radius: var(--r-full);
  color: var(--rose-700);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s var(--ease);
}

.social-chip:hover {
  transform: translateY(-2px);
  background: var(--rose-500);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.social-chip svg { width: 20px; height: 20px; }

/* Instagram grid teaser on home */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-7);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

.ig-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  position: relative;
  background: var(--rose-100);
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.ig-item:hover img { transform: scale(1.08); }

.ig-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 194, 194, 0);
  transition: background 0.3s var(--ease);
}

.ig-item:hover::after { background: rgba(244, 194, 194, 0.3); }

/* ==========================================================================
   BUBBLES / MICRO-DECORATIONS
   ========================================================================== */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--rose-200);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.bubble--sm { width: 24px; height: 24px; }
.bubble--md { width: 60px; height: 60px; }
.bubble--lg { width: 120px; height: 120px; }

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .topbar, .site-header, .site-footer, .btn-primary, .btn-ghost { display: none; }
  body { background: #fff; color: #000; }
}
