@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700&display=swap");

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

:root {
  --bg: #cfcac2;
  --bg-column: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0eeea;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --accent-glow: rgba(217, 119, 6, 0.2);
  --border: rgba(28, 25, 23, 0.09);
  --border-strong: rgba(28, 25, 23, 0.14);
  --radius: 14px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow-soft: 0 8px 28px rgba(28, 25, 23, 0.07);
  --max: 52rem;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

::selection {
  background: rgba(217, 119, 6, 0.22);
  color: var(--text);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 1.5rem;
  width: 100%;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: var(--bg-column);
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  opacity: 0.88;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(13rem, 52vw);
  max-height: clamp(2.4rem, 5vw, 3.35rem);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem 1.1rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}

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

.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

main {
  flex: 1 1 auto;
  width: 100%;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  background: var(--bg-column);
  box-sizing: border-box;
}

.hero {
  padding: 2rem 0 3rem;
  border-top: none;
}

.hero-layout {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  max-width: 9.5rem;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 41.99rem) {
  .hero-photo {
    justify-self: start;
  }
}

@media (min-width: 42rem) {
  .hero-layout {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }

  .hero-photo img {
    max-width: 10.5rem;
  }
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  background: linear-gradient(165deg, var(--accent-hover) 0%, var(--accent) 52%, #b45309 100%);
  color: #1c0f05;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.button-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}

.button:hover {
  filter: brightness(1.06);
  box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.reviews-cta {
  margin: 0 0 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.star-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.star-fieldset legend {
  padding: 0;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.star-rating__group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  align-items: center;
}

.star-rating__item {
  position: relative;
}

.star-rating__item input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.star-rating__item input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.star-rating__item label {
  cursor: pointer;
  display: block;
  padding: 0.15rem 0.1rem;
  line-height: 1;
}

.star-rating__glyph {
  color: var(--muted);
  opacity: 0.35;
  font-size: 1.75rem;
  line-height: 1;
  transition: color 0.12s ease, opacity 0.12s ease;
}

.star-rating__group[data-selected="1"] .star-rating__item:nth-child(-n + 1) .star-rating__glyph,
.star-rating__group[data-selected="2"] .star-rating__item:nth-child(-n + 2) .star-rating__glyph,
.star-rating__group[data-selected="3"] .star-rating__item:nth-child(-n + 3) .star-rating__glyph,
.star-rating__group[data-selected="4"] .star-rating__item:nth-child(-n + 4) .star-rating__glyph,
.star-rating__group[data-selected="5"] .star-rating__item:nth-child(-n + 5) .star-rating__glyph {
  color: var(--accent);
  opacity: 1;
}

.section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.page .section--page {
  border-top: none;
  padding-top: 1rem;
}

.page .section--page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-main > .section:first-child {
  border-top: none;
  padding-top: 0;
}

.home-about {
  scroll-margin-top: 1.25rem;
}

.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  align-items: stretch;
}

@media (max-width: 36rem) {
  .home-cta-grid {
    grid-template-columns: 1fr;
  }
}

.home-cta-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

.home-cta-blurb-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
}

.home-cta-blurb-icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.2rem;
  display: block;
  color: var(--accent);
}

.home-cta-blurb {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1 1 auto;
  min-width: 0;
}

.home-cta-button {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 0;
  box-sizing: border-box;
}

.home-cta .hero-secondary {
  margin-top: 1.5rem;
}

.home-about h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 42rem) {
  .about-layout {
    grid-template-columns: minmax(14rem, 1fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: stretch;
  }
}

.about-photo {
  margin: 0;
  min-height: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

/* Two columns: row height follows the text; photo fills that height (image does not set row size). */
@media (min-width: 42rem) {
  .about-photo {
    position: relative;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-soft);
  }

  .about-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

.about-text {
  --about-blurb-icon-size: 1.35rem;
  --about-blurb-icon-gap: 0.65rem;
}

.about-blurb-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--about-blurb-icon-gap);
}

.about-blurb-emoji {
  flex-shrink: 0;
  width: var(--about-blurb-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--about-blurb-icon-size);
  line-height: 1;
  margin-top: 0.2rem;
}

.about-text .about-blurb {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  flex: 1 1 auto;
  min-width: 0;
}

.about-text .about-instagram {
  margin-top: 1.5rem;
  padding-left: calc(var(--about-blurb-icon-size) + var(--about-blurb-icon-gap));
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.section p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.section-intro {
  margin: 0 0 1.25rem;
  font-size: 1rem;
}

.section code {
  font-size: 0.9em;
  padding: 0.15em 0.35em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.section--alt {
  background: var(--surface);
  margin: 0 -1.5rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.section--alt p,
.section--alt a {
  color: var(--muted);
}

.section--alt a {
  color: var(--accent);
  font-weight: 500;
}

.section--alt a:hover {
  color: var(--accent-hover);
}

.section--alt a.button,
.section--alt a.button:hover {
  color: #1c0f05;
  font-weight: 600;
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 10px;
  font: inherit;
  text-align: left;
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-thumb:focus:not(:focus-visible) {
  outline: none;
}

.gallery-placeholder {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(145deg, #e8e6e1 0%, #ddd9d2 50%, #d4cfc6 100%);
  border: 1px solid var(--border);
}

.gallery-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.gallery-caption {
  font-size: 0.875rem;
  color: var(--muted);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-scrim {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  margin: 0;
  pointer-events: none;
}

.lightbox-frame .lightbox-close,
.lightbox-frame .lightbox-img {
  pointer-events: auto;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-strong);
}

.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  transform: translate(0, -100%);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.lightbox-close:hover {
  background: var(--surface-2);
}

@media (max-width: 40rem) {
  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    transform: none;
  }
}

.reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review {
  margin: 0;
  padding: 0;
}

.review-rating {
  margin: 0 0 0.45rem;
  line-height: 1;
}

.review-stars {
  display: inline-block;
  letter-spacing: 0.12em;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.review p {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
}

.review footer {
  font-size: 0.875rem;
  font-style: normal;
  color: var(--muted);
}

.site-footer {
  width: 100%;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-column);
  text-align: center;
  box-sizing: border-box;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p + p {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.instagram-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.instagram-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.about-instagram {
  margin: 1rem 0 0;
}

.hero-secondary {
  margin: 1.25rem 0 0;
  font-size: 1rem;
}

.hero-secondary a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.hero-secondary a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.thanks-extra {
  margin: 1.25rem 0 0;
  font-size: 1rem;
}

.thanks-extra a {
  color: var(--muted);
  text-decoration: none;
}

.thanks-extra a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.setup-banner {
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff7ed;
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: var(--radius);
}

.setup-banner code {
  font-size: 0.9em;
  padding: 0.1em 0.3em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
}

.suggest-form {
  max-width: 32rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.form-required {
  font-weight: 400;
  color: var(--muted);
}

.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-hint {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: #b45309;
}

.form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-actions .button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-actions .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
