/* Artisun Gallery and Cafe — sunlit terracotta, sand, and teal */
:root {
  --sun: #d06a3a;
  --sun-deep: #a04822;
  --sand: #f3e6d0;
  --teal: #1f6a68;
  --teal-deep: #154c4b;
  --ink: #2a1f18;
  --paper: #faf4ea;
  --cream: #fffaf3;
  --line: #e6d5be;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--sun-deep); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 244, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0.8rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark {
  text-decoration: none; color: var(--ink);
  font-family: "DM Serif Display", serif; font-size: 1.55rem; line-height: 1;
}
.wordmark span { color: var(--sun); }
.wordmark em { display: block; font-family: "Outfit", sans-serif; font-style: normal; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-top: 0.2rem; font-weight: 600; }
.site-nav { display: flex; gap: 1.2rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.site-nav a:hover { color: var(--sun-deep); }
.nav-toggle { display: none; background: none; border: 0; width: 2.5rem; height: 2.5rem; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--sun); margin: 6px 0; }

.hero {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  min-height: 84vh; background: var(--sand);
}
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; min-height: 420px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 8% 3.5rem 3rem; }
.eyebrow { margin: 0 0 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; font-weight: 600; color: var(--teal); }
h1, h2, h3 { font-family: "DM Serif Display", serif; font-weight: 400; line-height: 1.12; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
.lede { margin: 0 0 1.4rem; max-width: 32rem; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 0.75rem 1.2rem; border-radius: 999px; }
.btn-primary { background: var(--sun); color: #fff; }
.btn-primary:hover { background: var(--sun-deep); }
.btn-ghost { border: 1.5px solid var(--teal); color: var(--teal-deep); }
.btn-ghost:hover { background: var(--teal); color: #fff; }

section { padding: 4.6rem 1.5rem; }
.about, .visit, .contact { background: var(--cream); }
.gallery { background: var(--sand); }
.cafe { background: var(--paper); }
.reviews { background: var(--teal-deep); color: var(--sand); }
.reviews h2 { color: var(--cream); }
.reviews .eyebrow { color: #f0c9a0; }
.reviews .note { color: #d9c4a6; }

.about-grid, .visit-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.about-grid figure { margin: 0; }
.about-grid img { width: 100%; height: 440px; object-fit: cover; border-radius: 40% 12px 40% 12px; }
.about-grid figcaption { margin-top: 0.7rem; font-size: 0.92rem; }

.section-intro { max-width: 720px; margin: 0 auto 2.3rem; }
.mosaic {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.9rem;
}
.mosaic figure { margin: 0; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.mosaic .wide { grid-row: span 2; }
.mosaic .wide img { min-height: 420px; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(42,31,24,0.72));
  color: #fff; padding: 2rem 0.9rem 0.7rem; font-size: 0.9rem; font-weight: 600;
}

.cafe-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.cafe-grid img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; }
.pastry-note { max-width: 1140px; margin: 1.2rem auto 0; font-style: italic; color: #5c4a3a; }
.note { font-size: 0.92rem; font-style: italic; color: #5c4a3a; }

.hours { width: 100%; border-collapse: collapse; margin: 1.1rem 0; }
.hours caption { text-align: left; font-family: "DM Serif Display", serif; font-size: 1.5rem; margin-bottom: 0.4rem; }
.hours th, .hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.map-wrap { min-height: 360px; border-radius: 16px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.review-grid {
  max-width: 1140px; margin: 0 auto 1rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
blockquote { margin: 0; padding: 1.3rem 1.15rem; background: rgba(255,250,243,0.08); border-radius: 16px; }
blockquote p { margin: 0 0 0.8rem; font-family: "DM Serif Display", serif; font-size: 1.2rem; font-style: italic; line-height: 1.35; }
blockquote footer { font-size: 0.85rem; color: #f0c9a0; }

.contact-cards {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.contact-cards article { background: var(--sand); padding: 1.3rem; border-radius: 16px; }
.contact-cards a { font-weight: 600; text-decoration: none; }

.site-footer { background: var(--ink); color: #e6d5be; text-align: center; padding: 2.3rem 1.5rem; }
.credit { font-family: "DM Serif Display", serif; color: #fff; font-size: 1.25rem; margin: 0 0 0.6rem; }
.fineprint { max-width: 46rem; margin: 0 auto; font-size: 0.85rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); flex-direction: column; padding: 1rem 1.4rem 1.3rem;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .site-nav { display: flex; }
  .hero, .about-grid, .visit-grid, .cafe-grid, .review-grid, .contact-cards, .mosaic { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: auto; }
  .mosaic .wide { grid-row: auto; }
  .mosaic .wide img, .cafe-grid img, .about-grid img { height: 240px; min-height: 0; }
  .hero { min-height: 0; }
  .hero img { height: 46vh; min-height: 260px; }
  .hero-copy { padding: 2.2rem 1.4rem 2.6rem; }
  .about-grid img { border-radius: 16px; }
}


/* contain off-canvas nav so it doesn't widen the page on small screens */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  .site-nav {
    max-width: min(20rem, 86vw);
  }
}


.contact-cards li { min-width: 0; }
.contact-cards a, .contact-cards li { overflow-wrap: anywhere; word-break: break-word; }
.contact-cards a { font-size: 0.95rem; }
