:root {
  --ivory: #faf5e9;
  --ivory-deep: #f2ead9;
  --green: #c9d3b7;
  --green-deep: #93a67c;
  --olive: #223020;
  --olive-soft: rgba(34, 48, 32, 0.68);
  --coral: #f0b3a0;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--olive);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  cursor: default;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  font-weight: 500;
  color: var(--green-deep);
}

p {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

/* grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* custom cursor */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid var(--olive);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-100px, -100px) scale(1);
  transition: background 0.3s, border-color 0.3s;
}

.cursor-ring.is-hover {
  background: var(--green);
  border-color: transparent;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-ring {
    display: none;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}

.btn-primary {
  background: var(--olive);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--green-deep);
  color: var(--olive);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--olive);
}

.btn-ghost:hover {
  background: var(--olive);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.05rem;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 6vw;
  background: rgba(250, 245, 233, 0.82);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--olive-soft);
  transition: color 0.2s;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links a {
  display: flex;
  color: var(--olive-soft);
  transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
  color: var(--green-deep);
  transform: translateY(-2px);
}

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

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header .btn-primary {
    display: none;
  }
}

/* hero */
.hero {
  position: relative;
  max-width: none;
  margin: 0;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 6vw 80px;
  overflow: hidden;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.blob {
  position: absolute;
  width: clamp(280px, 32vw, 640px);
  opacity: 0.85;
  will-change: transform;
}

.blob-shape {
  display: block;
  width: 100%;
  height: auto;
}

.blob-a {
  color: var(--green);
  top: -12%;
  left: -10%;
}

.blob-a .blob-shape {
  animation: drift-a 22s ease-in-out infinite alternate;
}

.blob-b {
  color: var(--coral);
  bottom: -18%;
  right: -8%;
  opacity: 0.75;
}

.blob-b .blob-shape {
  animation: drift-b 26s ease-in-out infinite alternate;
}

.blob-c {
  color: var(--coral);
  width: clamp(160px, 18vw, 340px);
  opacity: 0.6;
  top: -6%;
  right: 4%;
}

.blob-c .blob-shape {
  animation: drift-c 19s ease-in-out infinite alternate;
}

.blob-d {
  color: var(--green);
  width: clamp(140px, 15vw, 280px);
  opacity: 0.6;
  bottom: -4%;
  left: 6%;
}

.blob-d .blob-shape {
  animation: drift-d 24s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to { transform: translate(4%, 5%) rotate(8deg) scale(1.06); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to { transform: translate(-5%, -4%) rotate(-10deg) scale(1.08); }
}

@keyframes drift-c {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to { transform: translate(-4%, 6%) rotate(-12deg) scale(1.1); }
}

@keyframes drift-d {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  to { transform: translate(5%, -5%) rotate(10deg) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .blob-a .blob-shape,
  .blob-b .blob-shape,
  .blob-c .blob-shape,
  .blob-d .blob-shape {
    animation: none;
  }
}

.eyebrow {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.04;
  max-width: 16ch;
}

.hero-sub {
  max-width: 46ch;
  margin: 26px 0 36px;
  font-size: 1.1rem;
  color: var(--olive-soft);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-rating {
  margin-top: 26px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--olive-soft);
}

/* marquee */
.marquee {
  border-top: 1.5px solid var(--olive);
  border-bottom: 1.5px solid var(--olive);
  background: var(--olive);
  overflow: hidden;
  padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "•";
  color: var(--green);
  margin-left: 3.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* section shell */
section {
  position: relative;
  padding: 80px 6vw;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 620px) {
  section {
    padding: 56px 6vw;
  }
}

section h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 14ch;
}

.about p {
  margin-top: 28px;
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--olive-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-photos {
  position: relative;
}

.about-photo {
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-photo-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -25px rgba(34, 48, 32, 0.35);
}

.about-photo-accent {
  position: absolute;
  bottom: -36px;
  left: -36px;
  width: 52%;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--ivory);
  box-shadow: 0 20px 40px -18px rgba(34, 48, 32, 0.4);
}

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

  .about-photos {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .about-photo-accent {
    bottom: -24px;
    left: -24px;
  }
}

.section-lead {
  margin-top: 18px;
  max-width: 50ch;
  color: var(--olive-soft);
  font-size: 1.05rem;
}

/* services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 52px 0 48px;
}

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

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

.service-card {
  background: var(--ivory-deep);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.35s var(--ease), background 0.35s;
}

.service-card:hover {
  background: var(--green);
  transform: translateY(-6px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--olive-soft);
  font-size: 0.98rem;
}

/* visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: stretch;
}

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

.visit-info dl {
  margin: 0 0 34px;
}

.visit-info dt {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-top: 22px;
}

.visit-info dt:first-child {
  margin-top: 0;
}

.visit-info dd {
  margin: 6px 0 0;
  font-size: 1.15rem;
  font-family: "Fraunces", serif;
}

.visit-info dd a {
  text-decoration: none;
}

.visit-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.visit-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--ivory-deep);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 48px 6vw 32px;
  border-top: 1.5px solid var(--olive);
}

.footer-logo {
  height: 46px;
  width: auto;
}

.footer-fine {
  width: 100%;
  font-size: 0.8rem;
  color: var(--olive-soft);
  margin-top: 12px;
}

/* floating book button */
.floating-book {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--ivory);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(34, 48, 32, 0.25);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s;
}

.floating-book.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-book:hover {
  background: var(--green-deep);
  color: var(--olive);
}

@media (min-width: 761px) {
  .floating-book {
    display: none;
  }
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
