/* The Gypsy's Farmhouse — site styles */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/karla-latin-wght-normal.woff2") format("woff2"); }

:root {
  --teal: #68b0af;
  --teal-deep: #2f6f6e;
  --teal-ink: #1d4847;
  --cream: #f8f3eb;
  --sand: #efe6d8;
  --line: #ddd0bc;
  --rust: #9c4f2c;
  --ink: #2b2723;
  --muted: #5f5850;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(43, 39, 35, .25);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--teal-ink); }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--teal-ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.eyebrow { font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; color: #fff; opacity: .9; }
.eyebrow-dark { color: var(--rust); opacity: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.5em; border-radius: 999px; font: 700 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--cream); color: var(--teal-ink); }
.btn-light:hover { background: #fff; color: var(--teal-ink); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: var(--teal-ink); color: #fff; }
.btn-sm { min-height: 42px; padding: .6em 1.2em; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 243, 235, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-ink); font: 600 1.45rem/1 var(--serif); }
.brand img { width: 34px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: .55em .9em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.site-nav a:hover { background: var(--sand); color: var(--teal-ink); }
.site-nav .nav-cta { background: var(--teal-deep); color: #fff; margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--teal-ink); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: var(--teal-ink); border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s, background-color .2s; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: .85em 1em; }
  .site-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .brand { font-size: 1.25rem; }
}

/* Hero */
.hero { position: relative; background: var(--teal); color: #fff; padding: clamp(40px, 7vw, 88px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 18% 40%, rgba(255,255,255,.16), transparent 70%), radial-gradient(50% 60% at 95% 10%, rgba(29,72,71,.22), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(220px, 400px) 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.hero-logo img { width: 100%; max-width: 400px; margin-inline: auto; filter: drop-shadow(0 6px 18px rgba(29,72,71,.25)); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--cream); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34em; color: rgba(255,255,255,.95); }
.status { display: inline-flex; align-items: center; gap: .55em; background: rgba(29,72,71,.32); padding: .45em 1em; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #f4c27a; }
.status.is-open::before { background: #b9f5c4; box-shadow: 0 0 0 4px rgba(185,245,196,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; color: var(--cream); }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo img { max-width: 230px; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--teal); border-radius: var(--radius); }
.about-photo img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow); }
.press-title { font-size: 1.3rem; margin-top: 1.6rem; }
.press { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.press a { display: grid; gap: 2px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.press a:hover { border-color: var(--teal-deep); transform: translateX(3px); color: var(--ink); }
.press-source { font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.press-head { font: 600 1.2rem/1.25 var(--serif); color: var(--teal-ink); }
.press-date { font-size: .9rem; color: var(--muted); }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { margin-right: 18px; }
}

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gallery li { flex: 0 1 calc(25% - 12px); }
.gallery a { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #ddd; box-shadow: 0 6px 18px -10px rgba(43,39,35,.4); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 10px; bottom: 10px; background: rgba(248,243,235,.94); color: var(--teal-ink); font-weight: 700; font-size: .85rem; padding: .35em .8em; border-radius: 999px; }
@media (max-width: 900px) { .gallery li { flex-basis: calc(33.333% - 11px); } }
@media (max-width: 600px) { .gallery { gap: 10px; } .gallery li { flex-basis: calc(50% - 5px); } .gallery span { font-size: .75rem; left: 6px; bottom: 6px; } }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 30, 30, .85); }
.lightbox img { max-height: 85vh; width: auto; border-radius: 10px; }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; align-items: stretch; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--teal-ink); }
.hours tr.is-today th::after { content: "Today"; margin-left: .6em; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--teal); color: #fff; padding: .25em .6em; border-radius: 999px; vertical-align: 2px; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
details { border-top: 1px solid var(--line); padding: 12px 0 2px; }
details + details { margin-top: 0; }
summary { cursor: pointer; font-weight: 700; color: var(--teal-ink); }
details ol { padding-left: 1.2em; margin: .6em 0 .8em; color: var(--muted); font-size: .98rem; }
details li + li { margin-top: .3em; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
@media (max-width: 980px) { .visit { grid-template-columns: 1fr 1fr; } .map { grid-column: 1 / -1; } }
@media (max-width: 640px) { .visit { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.contact-email a { font-weight: 700; overflow-wrap: anywhere; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: .75em .9em; transition: border-color .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-deep); background: #fff; box-shadow: 0 0 0 3px rgba(104,176,175,.3); }
.form .btn { width: 100%; }
.form-status { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; background: #fbe9e2; color: #7a3317; border: 1px solid #efc3b2; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--teal-ink); color: rgba(255,255,255,.88); padding: 56px 0 24px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 64px; opacity: .95; }
.footer-brand strong { font: 600 1.35rem/1.2 var(--serif); color: #fff; }
.footer-label { font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .88rem; color: rgba(255,255,255,.7); }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Simple pages (legal, thanks, 404) */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.page h2 { font-size: 1.7rem; margin-top: 2rem; }
.page p, .page li { color: var(--muted); }
.page .updated { font-size: .95rem; }
.center { text-align: center; }
.center img { margin: 0 auto 1.5rem; }
