/* ==========================================================================
   Three Leaves Gardens — single page
   ========================================================================== */

:root {
  --page-bg: #8a8a8a;          /* grey backdrop */
  --cream: #f3f0e6;            /* title / nav / footer text */
  --logo-ink: #4c5b69;         /* leaf mark over the photo */
  --photo-max: 1216px;         /* photo width on large screens */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Layout ------------------------------------------------------------- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 4vh, 3.25rem) clamp(1rem, 4vw, 2.5rem) clamp(1.25rem, 3vh, 2.25rem);
}

/* ---- Masthead ----------------------------------------------------------- */

.masthead {
  text-align: center;
  margin-bottom: clamp(1rem, 2.6vh, 1.75rem);
}

.site-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 3.35rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--cream);
}

.site-nav {
  margin-top: clamp(0.6rem, 1.8vh, 1.1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.6vw, 2.1rem);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  letter-spacing: 0.015em;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
  flex: none;
}

/* ---- Hero photo --------------------------------------------------------- */

.hero {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: var(--photo-max);
  aspect-ratio: 1216 / 1000;
  background: #7d7d7d;
  overflow: hidden;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* quiet placeholder if the photo hasn't been dropped in yet */
.hero.is-empty .hero-photo { opacity: 0; }

.hero-logo {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 24%;
  max-width: 300px;
  height: auto;
  color: var(--logo-ink);
  opacity: 0.62;
  pointer-events: none;
}

/* if you swap in your own logo file instead of the inline SVG */
.hero-logo-img {
 .hero-logo-img {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  max-width: 280px;
  height: auto;
  opacity: 0.7;
  pointer-events: none;

}

/* ---- Footer ------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(1rem, 2.6vh, 1.75rem);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 240, 230, 0.35);
  transition: border-color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

/* ---- Small screens ------------------------------------------------------ */

@media (max-width: 640px) {
  .page { padding-inline: 0; }
  .masthead { padding-inline: 1.25rem; }
  .hero { max-width: none; }
  .site-footer { padding-inline: 1.25rem; }
  .site-nav { gap: 0.7rem; }
  .dot { width: 4px; height: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
