:root {
  --cream: #fbf6ee;
  --cream-2: #fffdf9;
  --ink: #1c261f;
  --muted: #5d6a60;
  --leaf: #2d6a42;
  --leaf-deep: #143326;
  --berry: #8d2c62;
  --petal: #d6456a;
  --line: #eadfce;
  --shadow: 0 18px 40px rgba(28, 38, 31, 0.08);
  --radius: 22px;
  --header: 76px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: Fraunces, "Iowan Old Style", Palatino, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-family: Fraunces, Palatino, serif;
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.brand em {
  font-style: italic;
  color: var(--berry);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  font-weight: 580;
  font-size: 0.96rem;
}

.nav a:hover {
  color: var(--berry);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  color: white;
  background:
    linear-gradient(90deg, rgba(20, 51, 38, 0.82) 0%, rgba(20, 51, 38, 0.45) 48%, rgba(20, 51, 38, 0.15) 100%),
    url("../images/cover.jpg") center 42% / cover no-repeat;
}

.hero-inner {
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero .eyebrow {
  color: #f3c1cf;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 560;
}

.hero h1 em {
  font-style: italic;
}

.slogan {
  margin: 8px 0 0;
  font-family: Fraunces, Palatino, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: #ffe7ee;
}

.hero .lead {
  max-width: 36rem;
  margin: 18px 0 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
}

.actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.actions {
  margin-top: 26px;
}

.button,
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}

.button.primary,
.social.primary {
  background: var(--petal);
  color: white;
}

.button.primary:hover,
.social.primary:hover {
  background: var(--berry);
}

.button.light {
  background: white;
  color: var(--leaf-deep);
}

.button.ghost,
.social.ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head h2,
.split h2,
.visit h2,
.shop-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.section-head p,
.split p,
.visit p,
.shop-copy p {
  margin: 0;
  color: var(--muted);
}

.eyebrow.dark {
  color: var(--berry);
}

.split,
.visit-grid,
.shop-layout,
.footer-inner {
  display: grid;
  gap: 28px;
}

.split,
.visit-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.shop-layout {
  grid-template-columns: 1fr;
}

.photo-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.photo-stack img,
.frame img,
.gallery img,
.shop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-stack img {
  height: 320px;
  border-radius: 18px;
}

.photo-stack img.tall {
  height: 652px;
  grid-row: span 2;
}

.note {
  margin-top: 16px;
  padding: 14px 16px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.alt {
  background: white;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
}

.gallery button {
  padding: 0;
  border: 0;
  background: #ddd;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery .wide {
  grid-column: span 2;
  grid-row: span 2;
}

.visit-grid {
  background: var(--leaf-deep);
  color: white;
  border-radius: 28px;
  overflow: hidden;
}

.visit {
  padding: 36px;
}

.visit p,
.visit li {
  color: rgba(255, 255, 255, 0.86);
}

.visit ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.visit a {
  color: white;
  font-weight: 680;
}

.frame img {
  height: 100%;
  min-height: 420px;
}

.shop-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shop-card img {
  height: 220px;
}

.shop-card div {
  padding: 16px 18px 20px;
}

.shop-card h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.shop-card p {
  margin: 0;
  color: var(--muted);
}

.badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fde7ee;
  color: var(--berry);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.panel h2 {
  margin: 8px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
}

.contact-lines a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: none;
}

.contact-lines a:hover {
  text-decoration: underline;
}

.socials {
  margin-top: 18px;
}

.social.berry {
  background: var(--leaf);
  color: white;
}

.social.berry:hover {
  background: var(--leaf-deep);
}

.site-footer {
  background: var(--leaf-deep);
  color: #e7f3ec;
  padding: 28px 0;
}

.footer-inner {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.site-footer a {
  color: white;
}

.site-footer a.powered {
  color: #d7efe4;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-footer a.powered:hover {
  text-decoration: underline;
}

.group-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  text-decoration: none;
  font-weight: 680;
}

.group-link img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  background: white;
}

dialog {
  width: min(920px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(16, 24, 18, 0.82);
}

dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
}

dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 999px;
  background: white;
  padding: 8px 12px;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #f3c1cf;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(180deg, rgba(20, 51, 38, 0.2), rgba(20, 51, 38, 0.82)),
      url("../images/cover.jpg") center 30% / cover no-repeat;
  }

  .split,
  .visit-grid,
  .contact,
  .footer-inner,
  .photo-stack,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .photo-stack img,
  .photo-stack img.tall,
  .frame img {
    height: 260px;
    min-height: 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
