/* Berlin Village Inn — "Main Street Inn"
   Palette from the inn's own sign: burgundy + charcoal-brown + warm taupe on clean paper,
   with the blue-gray of the building siding as the quiet secondary.
   Layout: photography-first; hero photo keeps the sign visible with the booking card
   docked over the parking-lot side; everything else is a calm reading column + grids. */

@font-face { font-family: 'Spectral'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/spectral-500.woff2') format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 500; font-style: italic; font-display: swap; src: url('/assets/fonts/spectral-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/spectral-600.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 300 800; font-style: normal; font-display: swap; src: url('/assets/fonts/public-sans-var.woff2') format('woff2'); }

:root {
  --paper: #fbfaf7;
  --stone: #f2eee8;
  --white: #ffffff;
  --ink: #2a1d15;
  --ink-2: #4b4038;
  --muted: #776b62;
  --rule: #e3dcd3;
  --burgundy: #6e1a2c;
  --burgundy-2: #8b2b40;
  --slate: #4c6075;
  --taupe: #aca39a;
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(42, 29, 21, .35);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-underline-offset: 3px; }
a:hover { color: var(--burgundy-2); }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
address { font-style: normal; }
ul { margin: 0; padding: 0; }
.muted { color: var(--muted); }
.text-center { text-align: center; }

.wrap { width: min(100% - 40px, 780px); margin-inline: auto; }
.wrap-wide { width: min(100% - 40px, 1200px); margin-inline: auto; }

/* Eyebrow echoes the letter-spaced BERLIN on the sign */
.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 12px; }
.eyebrow--light { color: #f3e3e6; }
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 62ch; }
.note { font-size: .93rem; color: var(--muted); margin-top: 18px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--radius); background: var(--burgundy); color: #fff; font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid var(--burgundy); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--burgundy-2); border-color: var(--burgundy-2); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--taupe); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--burgundy); border-color: #fff; }
.btn--light:hover { background: #f3e3e6; border-color: #f3e3e6; color: var(--burgundy); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--burgundy); text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Nav: solid white so the real logo artwork always sits on paper */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand img { height: 60px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__link { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link.is-active { color: var(--ink); border-color: var(--burgundy); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95rem; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--rule); background: #fff; padding: 12px 20px 24px; display: grid; gap: 14px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.25rem; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__phone { text-align: center; color: var(--ink); font-weight: 600; text-decoration: none; }

/* Hero: photo keeps the sign in view; card docks over the lot on the right */
.hero { position: relative; }
.hero__media { height: min(78vh, 760px); min-height: 440px; overflow: hidden; background: var(--stone); }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 30% 45%; }
.hero__panel { position: absolute; inset: auto 0 48px 0; display: flex; justify-content: flex-end; pointer-events: none; }
.hero__card { pointer-events: auto; max-width: 500px; background: var(--white); padding: 34px 36px 32px; border-top: 4px solid var(--burgundy); box-shadow: var(--shadow); display: grid; gap: 14px; }
.hero__card h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.hero__lede { color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__actions--center { justify-content: center; }

/* At-a-glance strip */
.facts { background: var(--ink); color: #f6f1ec; }
.facts__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts__row > div { padding: 22px 18px; display: grid; gap: 2px; border-left: 1px solid rgba(255, 255, 255, .12); }
.facts__row > div:first-child { border-left: 0; padding-left: 0; }
.facts b { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.facts span { font-size: .85rem; color: var(--taupe); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--stone { background: var(--stone); }
.section__head { display: grid; gap: 4px; margin-bottom: 36px; max-width: 760px; }
.section__head .lede { margin-top: 10px; }

/* Room cards */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s; }
.room-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.room-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.room-card__media picture, .room-card__media img { width: 100%; height: 100%; }
.room-card__media img { object-fit: cover; }
.tag { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .95); color: var(--burgundy); font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; }
.room-card__body { padding: 22px 22px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.room-card__body p { color: var(--ink-2); font-size: .97rem; }
.room-card .link-arrow { margin-top: 4px; }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-size: .8rem; font-weight: 600; color: var(--slate); background: #eef1f4; padding: 5px 9px; border-radius: 3px; }
.specs li.is-ground { color: #2f5d3a; background: #e8f1ea; }

/* Splits */
.split__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__inner--rev .split__media { order: 2; }
.split__media { aspect-ratio: 4 / 3; overflow: hidden; }
.split__media picture, .split__media img { width: 100%; height: 100%; }
.split__media img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.split__text { display: grid; gap: 16px; }
.split__text p { color: var(--ink-2); }
.row-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 8px; }

.dist { list-style: none; border-top: 1px solid var(--rule); }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .96rem; }
.dist b { font-weight: 600; white-space: nowrap; color: var(--ink); }
.dist span { color: var(--ink-2); }

/* FAQ */
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 1.5rem/1 var(--sans); color: var(--burgundy); }
.qa[open] summary::after { content: '–'; }
.qa p { padding: 0 0 20px; color: var(--ink-2); max-width: 66ch; }
.faq-teaser .link-arrow, .qa-list + p { margin-top: 24px; display: inline-flex; }
.qa-list { margin-top: 28px; border-top: 1px solid var(--rule); }

/* Banner (inner pages) */
.banner { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.banner__media { position: absolute; inset: 0; z-index: 0; }
.banner__media picture, .banner__media img { width: 100%; height: 100%; }
.banner__media img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.banner__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(42, 29, 21, .05) 20%, rgba(42, 29, 21, .78) 100%); }
.banner__content { position: relative; z-index: 2; padding-block: 64px 44px; display: grid; gap: 10px; }
.banner h1 { color: #fff; }
.banner__sub { font-size: 1.12rem; color: #f4ece6; max-width: 60ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Room detail */
.room-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: 24px 16px; }
.room-hero__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.room-hero__media picture, .room-hero__media img { width: 100%; height: 100%; }
.room-hero__media img { object-fit: cover; }
.room-hero__info { display: grid; gap: 14px; }
.spec-list { margin: 6px 0 4px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.spec-list div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spec-list dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spec-list dd { margin: 2px 0 0; font-weight: 600; }
.room-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.room-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.room-gallery figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.room-gallery picture, .room-gallery img { width: 100%; height: 100%; }
.room-gallery img { object-fit: cover; }

.prose { display: grid; gap: 18px; }
.prose h2 { margin-top: 18px; }
.prose p { color: var(--ink-2); }
.checks { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--burgundy); border-bottom: 2px solid var(--burgundy); transform: rotate(-45deg); }

.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.two-col > div { display: grid; gap: 14px; min-width: 0; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.compare th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--stone); }
.compare tr:last-child td { border-bottom: 0; }

/* Guide */
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.guide-card { display: grid; gap: 10px; align-content: start; padding: 28px; background: var(--white); border: 1px solid var(--rule); text-decoration: none; color: inherit; }
.guide-card:hover { border-color: var(--burgundy); color: inherit; }
.guide-card h2 { font-size: 1.4rem; }
.guide-card p:not(.eyebrow) { color: var(--ink-2); font-size: .97rem; }
.places { list-style: none; border-top: 1px solid var(--rule); }
.places li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.places h3 { font-size: 1.2rem; }
.places h3 a { color: var(--ink); text-decoration-color: var(--taupe); }
.places h3 a:hover { color: var(--burgundy); }
.places__town { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.places p { color: var(--ink-2); }

/* Location */
.contact-block { display: grid; gap: 14px; padding: 22px 0; border-block: 1px solid var(--rule); margin-block: 8px; }
.map { aspect-ratio: 4 / 3.4; background: var(--stone); border: 1px solid var(--rule); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.directions { display: grid; gap: 22px; }
.directions h3 { font-size: 1.1rem; margin-bottom: 4px; }
.directions p { color: var(--ink-2); }

/* Policies */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.policy { background: var(--white); border: 1px solid var(--rule); padding: 24px 26px; display: grid; gap: 12px; align-content: start; }
.policy h2 { font-size: 1.25rem; }
.policy ul { padding-left: 1.1em; display: grid; gap: 8px; color: var(--ink-2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery picture { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.gallery picture img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: .85rem; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #e9e2dc; }
.footer a { color: #f3e9e3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__cta { background: var(--burgundy); color: #fff; }
.footer__cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; }
.footer__cta h2 { color: #fff; }
.footer__cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer .btn--light { color: var(--burgundy); }
.footer .btn--light:hover { text-decoration: none; color: var(--burgundy); }
.footer__cta-phone { color: #f3e3e6 !important; font-weight: 600; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 40px; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: .95rem; }
.footer__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: #fff; }
.footer__h { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.footer .muted { color: var(--taupe); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: var(--taupe); }

/* Amish Country Theater feature (guide page) */
.theater { background: var(--ink); color: #f6f1ec; }
.theater__media { aspect-ratio: 21 / 9; max-height: 640px; width: 100%; overflow: hidden; }
.theater__media picture, .theater__media img { width: 100%; height: 100%; }
.theater__media img { object-fit: cover; object-position: 50% 48%; }
.theater__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: clamp(44px, 6vw, 88px); }
.theater__text { display: grid; gap: 16px; }
.theater h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.theater__text p { color: #e6ddd4; max-width: 62ch; }
.theater__text .theater__lede { font-size: 1.16rem; color: #f6f1ec; }
.theater__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; }
.theater__phone { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.theater__phone:hover { text-decoration-color: #fff; }
.theater__facts { list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.theater__facts li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.theater__facts span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.theater__facts b { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__phone { display: none; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .brand img { height: 50px; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .hero__media { height: 56vh; min-height: 300px; }
  .hero__panel { position: relative; z-index: 1; display: block; margin-top: -48px; }
  .hero__media img { object-position: 22% 45%; }
  .hero__card { max-width: none; padding: 26px 22px; }
  .facts__row { grid-template-columns: repeat(2, 1fr); }
  .facts__row > div, .facts__row > div:first-child { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .facts__row > div:first-child, .facts__row > div:nth-child(2) { border-top: 0; }
  .facts__row > div:last-child { grid-column: span 2; }
  .split__inner, .two-col, .room-hero, .room-body { grid-template-columns: 1fr; }
  .split__inner--rev .split__media { order: 0; }
  .guide-cards, .policy-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .places li { grid-template-columns: 1fr; }
  .theater__inner { grid-template-columns: 1fr; }
  .theater__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .room-grid, .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .banner { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
