/* The Merchant Inn & Cottages / Cafe 63 — shared styles. No JavaScript on the site. */

@font-face { font-family: "Cormorant SC"; src: url("/fonts/cormorant-sc-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: "Cormorant SC"; src: url("/fonts/cormorant-sc-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: optional; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: optional; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: optional; }

:root {
  --burgundy: #5a1d18;
  --rose: #7c4041;
  --ink: #2b1210;
  --cream: #f1ebe4;
  --sand: #ead9c2;
  --tan: #c9b190;
  --gold: #deb055;
  --gold-light: #ebc477;
  --navy: #0c223a;
  --blue: #1e4966;
  --mist: #e4dcd2;
  --display: "Cormorant SC", "Cormorant", Garamond, Georgia, serif;
  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --wrap: 80rem;
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --link: var(--rose);
  --link-hover: var(--burgundy);
  --heading: var(--burgundy);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold); }
.cafe :focus-visible { outline-color: var(--navy); }
.cafe .dark :focus-visible { outline-color: var(--gold); }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 10;
  background: var(--gold); color: var(--navy); padding: 0.75rem 1rem; font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.center { text-align: center; align-items: center; }
.measure { max-width: 40rem; }
.section-intro { margin-bottom: 3rem; }
.pb-0 { padding-bottom: 0; }
.top { align-items: start; }
.unit-group, .menu-section { scroll-margin-top: 1rem; }

/* Grids that collapse to one column on narrow screens without overflowing. */
.grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr)); align-items: center; }
.grid-2 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }

/* Type */
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.2em; color: var(--rose); }
.display { font-family: var(--display); font-weight: 600; line-height: 1.05; color: var(--heading); }
.h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.625rem, 2.5vw, 2rem); line-height: 1.15; color: var(--heading); }
.h4 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--heading); }
.lede { font-size: clamp(1.25rem, 2vw, 1.5rem); font-style: italic; }
.small { font-size: 1.0625rem; }
.arrow-link { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; }

/* Textured brand backgrounds */
.dark { color: var(--cream); --heading: var(--cream); --link: var(--gold); --link-hover: var(--gold-light); }
.dark .eyebrow { color: var(--gold); }
.bg-burgundy { background: var(--burgundy) url("/images/bg-burgundy.webp") center / cover; }
.bg-navy { background: var(--navy) url("/images/bg-navy.webp") center top / cover; }
.bg-sand { background: var(--sand); }
.gold-rule { height: 6px; background: linear-gradient(90deg, #b8742a, var(--gold) 45%, #c98a35 75%, var(--gold)); }

/* Buttons (links styled as buttons) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem;
  padding: 0.6875rem 1.625rem; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; line-height: 1.2;
  text-decoration: none; text-align: center;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-line { color: var(--gold); border-color: var(--gold); }
.btn-line:hover { background: rgba(222, 176, 85, 0.14); color: var(--gold-light); }
.btn-burg { background: var(--burgundy); color: var(--cream); }
.btn-burg:hover { background: var(--rose); color: var(--cream); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--blue); color: var(--cream); }
.btn-lg { font-size: 1.3125rem; padding: 0.875rem 2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Header */
.site-header { padding: 0 var(--gutter); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.125rem 0; }
.brand { display: flex; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 2rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.04em; }
.nav a:not(.btn) { color: var(--sand); text-decoration: none; padding-block: 0.5rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.nav .btn { font-size: 1.25rem; font-weight: 600; padding: 0.5rem 1.375rem; }
@media (max-width: 40rem) {
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; gap: 0.25rem 1.25rem; }
}

/* Photo placeholders (proof only — replace with real photography) */
.ph {
  display: flex; align-items: flex-end; padding: 1rem;
  background-color: #d9c6ab;
  background-image: repeating-linear-gradient(135deg, rgba(90, 29, 24, 0.07) 0 12px, transparent 12px 24px);
}
.ph span { background: var(--cream); color: var(--burgundy); padding: 0.25rem 0.625rem; font-size: 0.9375rem; }
.ph-navy { background-color: #c9d2da; background-image: repeating-linear-gradient(135deg, rgba(12, 34, 58, 0.08) 0 12px, transparent 12px 24px); }
.ph-navy span { color: var(--navy); }
.ratio-porch { aspect-ratio: 4 / 3.4; outline: 1px solid var(--tan); outline-offset: 12px; margin: 12px; }
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-map { min-height: 20rem; justify-content: center; align-items: center; }

/* Home hero */
.hero { padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter) 3.5rem; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero-logo { width: min(35rem, 86%); }
.hero .lede { max-width: 39rem; color: var(--sand); }
.hero .btn-row { justify-content: center; margin-top: 0.5rem; }

/* Plan-your-stay bar: overlaps the hero edge on wider screens. */
.plan {
  max-width: 65rem; margin: 3.5rem auto 0; padding: 1.5rem; text-align: left;
  background: var(--cream); color: var(--ink); border-top: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(20, 4, 2, 0.35);
  display: grid; gap: 1rem 1.5rem; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}
.plan-label { display: block; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.06em; color: var(--burgundy); }
.plan .btn { width: 100%; }
@media (min-width: 48rem) {
  .hero { padding-bottom: 0; }
  .plan { margin-top: 4.5rem; transform: translateY(50%); }
  .after-hero { padding-top: 8.75rem; }
}

/* Cards */
.card { background: var(--cream); display: flex; flex-direction: column; }
.card-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; gap: 0.75rem; flex-grow: 1; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.price { color: var(--rose); font-weight: 600; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 3rem; }
.section-head > div { display: flex; flex-direction: column; gap: 0.5rem; }

/* Cafe 63 strip on the home page */
.offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(222, 176, 85, 0.45); border: 1px solid rgba(222, 176, 85, 0.45); padding: 0; list-style: none; }
.offer li { background: var(--navy); padding: 1.125rem 1rem; text-align: center; font-family: var(--display); font-weight: 600; font-size: 1.375rem; color: var(--gold); }
.on-navy-text { color: var(--mist); }
@media (min-width: 30rem) { .offer { grid-template-columns: repeat(4, 1fr); } }
.logo-col { display: flex; justify-content: center; }
.logo-col img { width: min(26rem, 80%); }

/* Area cards */
.area { display: flex; flex-direction: column; gap: 0.875rem; }

/* Contact block */
.contact { padding: 0 var(--gutter); }
.contact .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.contact .stack { padding: clamp(3rem, 7vw, 4.5rem) 0; padding-inline-end: clamp(0rem, 4vw, 3rem); }
.contact .btn { align-self: flex-start; }
.contact .ph { margin-bottom: 3rem; }
@media (min-width: 44rem) { .contact .ph { margin-bottom: 0; } }

/* Footer */
.site-footer { padding: 4.5rem var(--gutter) 2rem; color: var(--sand); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 3rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; font-size: 1.0625rem; }
.footer-cols > * { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-cols h2 { font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.25rem; }
.footer-cols ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(222, 176, 85, 0.35); padding-top: 1.25rem; font-size: 0.9375rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }

/* Inner-page heroes */
.page-hero { padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem); }
.page-hero .grid { align-items: end; gap: 2rem 3rem; }
.page-hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1; }
.page-hero .intro { font-size: clamp(1.1875rem, 1.8vw, 1.3125rem); color: var(--sand); }

/* In-page section links (Stay: Inn / Cottages; Cafe: menu sections) */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; border-bottom: 1px solid var(--tan); list-style: none; padding: 0; margin-bottom: 2.5rem; }
.jump a { display: inline-block; padding: 0.625rem 0.125rem 0.75rem; min-height: 2.75rem; font-family: var(--display); font-weight: 700; font-size: 1.625rem; letter-spacing: 0.03em; color: var(--burgundy); text-decoration: none; border-bottom: 3px solid transparent; }
.jump a:hover { border-bottom-color: #ab5b5c; }

/* Stay: room listings */
.units { display: flex; flex-direction: column; gap: 2rem; }
.unit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); background: #fff; border: 1px solid #e0cfb6; }
.unit .ph { min-height: 18.75rem; }
.unit-body { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 0.875rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1rem; color: var(--burgundy); list-style: none; padding: 0; }
.facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.facts svg { flex: none; }
.unit-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--sand); }
.unit-foot p { font-size: 1.25rem; color: var(--burgundy); }
.units + h2, .unit-group + .unit-group { margin-top: 4rem; }
.unit-group > .stack { margin-bottom: 2rem; }
.know { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.know .stack { gap: 0.375rem; }

/* Cafe 63 page */
.cafe { --link: var(--blue); --link-hover: var(--navy); --heading: var(--navy); color: var(--navy); }
.cafe .eyebrow { color: var(--blue); }
.cafe .dark .eyebrow { color: var(--gold); }
.cafe .site-header .nav a:not(.btn) { color: var(--cream); }
.cafe .site-header .nav a:not(.btn):hover, .cafe .site-header .nav a[aria-current="page"] { color: var(--gold); }
.cafe .site-footer, .cafe .site-footer a { color: var(--cream); }
.cafe .site-footer a:hover { color: var(--gold); }
.cafe .page-hero .intro { color: var(--mist); }
.menu { max-width: 60rem; margin-inline: auto; }
.menu .jump { justify-content: center; border: 0; gap: 0.75rem; }
.menu .jump a { font-size: 1.375rem; padding: 0.5rem 1.625rem; min-width: 7.5rem; text-align: center; border: 1px solid #9fb0bf; color: var(--blue); }
.menu .jump a:hover { border-color: var(--blue); }
.menu-section { background: #fff; border-top: 4px solid var(--gold); padding: 1.5rem clamp(1.25rem, 4vw, 3rem); scroll-margin-top: 1rem; }
.menu-section + .menu-section { margin-top: 2rem; }
.menu-section > h3 { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.2; }
.menu-section > p { color: var(--blue); }
.menu-items { list-style: none; padding: 0; margin-top: 0.5rem; }
.menu-items li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1rem; padding: 1.125rem 0; border-bottom: 1px solid #e3dcd3; }
.menu-items .item { flex: 1 1 14rem; display: flex; flex-direction: column; gap: 0.125rem; }
.menu-items .item span:first-child { font-family: var(--display); font-weight: 700; font-size: 1.5625rem; line-height: 1.2; }
.menu-items .item span + span { font-size: 1.0625rem; font-style: italic; color: var(--blue); }
.menu-items .cost { font-weight: 600; font-size: 1.1875rem; }
.menu-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--blue); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.625rem 2rem; font-size: 1.1875rem; }
.hours dt { font-family: var(--display); font-weight: 700; color: var(--gold); }
.hours dd { margin: 0; }
.crosssell .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.crosssell .stack { gap: 0.375rem; max-width: 32.5rem; color: var(--ink); }
.crosssell .display { color: var(--burgundy); }
.crosssell .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.plan :focus-visible { outline-color: var(--burgundy); }
