:root {
  --paper: #f4ead4;
  --cream: #fbf6ea;
  --ink: #241c12;
  --muted: #6b5a3a;
  --line: rgba(36, 28, 18, 0.12);
  --accent: #3a8fb0;
  --accent-ink: #0f2a27;
  --btn: #163a36;
  --btn-text: #f3e6cc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.theme-school { --accent: #3a8fb0; --btn: #163a36; }
.theme-hospital { --accent: #3a8fb0; --btn: #3a8fb0; --btn-text: #fff; }
.theme-law { --accent: #c49a3a; --btn: #241c12; --btn-text: #f3e6cc; }
.theme-stay { --accent: #c49a3a; --btn: #163a36; }
.theme-hotel { --accent: #c49a3a; --btn: #163a36; }
.theme-restaurant { --accent: #9a5a32; --btn: #241c12; --btn-text: #f3e6cc; }
.theme-pharmacy { --accent: #3a8fb0; --btn: #163a36; }
.theme-piment { --accent: #c45a28; --btn: #c49a3a; --btn-text: #241c12; --paper: #f6e4d0; --cream: #fbf4ea; }
.theme-auto { --accent: #c49a3a; --btn: #1a1a18; --btn-text: #f3e6cc; --paper: #ebe4d4; --cream: #f6f1e6; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 28px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.brand {
  font-family: Fraunces, serif; font-size: 20px; font-weight: 600;
  text-decoration: none; letter-spacing: -0.03em;
}
.nav { display: flex; gap: 18px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; opacity: 0.7; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.wa {
  background: var(--btn); color: var(--btn-text);
  text-decoration: none; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 14px; white-space: nowrap;
}

.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  min-height: 72vh; background: var(--cream);
}
.hero.short { min-height: 48vh; }
.hero img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.hero-copy {
  padding: 56px 40px; display: flex; flex-direction: column; justify-content: center;
}
.kicker {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
h1 {
  font-family: Fraunces, serif; font-weight: 600; letter-spacing: -0.04em;
  font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; max-width: 12ch;
}
.lede { margin-top: 16px; color: var(--muted); max-width: 38ch; font-size: 14px; }
.btn {
  display: inline-block; margin-top: 24px; width: fit-content;
  background: var(--btn); color: var(--btn-text);
  text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 18px;
}
.btn-line {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); margin-left: 10px;
}

.band { padding: 36px 0 12px; }
.band p { font-size: 13px; color: var(--muted); max-width: 52ch; }
.band h2 {
  font-family: Fraunces, serif; font-size: 28px; font-weight: 600;
  letter-spacing: -0.03em; margin: 6px 0 10px;
}

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 8px 0 48px;
}
.card {
  background: var(--cream); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: 160px; object-fit: cover; }
.card .pad { padding: 16px 16px 18px; }
.card small { color: var(--accent); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.card h3 { font-family: Fraunces, serif; font-size: 20px; margin: 6px 0 8px; letter-spacing: -0.03em; }
.card p { font-size: 12px; color: var(--muted); }

.list { padding: 8px 0 56px; display: grid; gap: 10px; }
.row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; align-items: center;
  background: var(--cream); padding: 16px 18px; text-decoration: none; color: inherit;
}
.row strong { font-family: Fraunces, serif; font-size: 20px; font-weight: 600; }
.row span { font-size: 12px; color: var(--muted); }
.row em { font-style: normal; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 8px 0 56px; }
.rooms article { background: var(--cream); }
.rooms img { width: 100%; height: 240px; object-fit: cover; }
.rooms .pad { padding: 16px 18px 20px; }
.rooms h3 { font-family: Fraunces, serif; font-size: 22px; margin-bottom: 6px; }
.rooms p { font-size: 13px; color: var(--muted); }

.menu { display: grid; gap: 0; padding: 8px 0 56px; max-width: 640px; }
.dish {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.dish h3 { font-family: Fraunces, serif; font-size: 20px; font-weight: 600; }
.dish p { font-size: 12px; color: var(--muted); }
.dish b { font-weight: 500; font-size: 13px; }

.note {
  background: var(--cream); padding: 22px 24px; margin: 0 0 48px;
}
.note h2 { font-family: Fraunces, serif; font-size: 24px; margin-bottom: 8px; }
.note p { font-size: 13px; color: var(--muted); max-width: 48ch; }

.foot {
  padding: 22px 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted);
}
.foot a { color: var(--accent); text-decoration: none; }

/* Distinct layouts */
.theme-hospital { --paper: #eef4f2; --cream: #f7fbf9; }
.theme-law { --paper: #f6efe2; --cream: #fbf7ef; }
.theme-stay { --paper: #f3ead8; --cream: #faf6ec; }
.theme-hotel { --paper: #efe6d4; --cream: #f8f3e8; }
.theme-restaurant { --paper: #f3e6d6; --cream: #fbf4ea; }
.theme-pharmacy { --paper: #e8eef2; --cream: #f4f8fa; }

.hero.flip { grid-template-columns: 0.9fr 1.1fr; }
.hero.flip img { order: 2; }
.hero.bleed {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 78vh;
  position: relative;
}
.hero.bleed img { min-height: 78vh; max-height: none; }
.hero.bleed .hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(15,42,39,0.88));
  color: #f3e6cc;
  padding: 80px 8vw 48px;
  max-width: none;
}
.hero.bleed .kicker { color: #7eb8d6; }
.hero.bleed .lede { color: rgba(243,230,204,0.82); }
.hero.bleed .btn-line { color: #f3e6cc; border-color: #f3e6cc; }
.hero.cinema {
  display: block; min-height: 0; position: relative;
}
.hero.cinema img { min-height: 68vh; width: 100%; object-fit: cover; }
.hero.cinema .hero-copy {
  background: var(--cream);
  margin: -72px auto 0;
  max-width: 720px;
  position: relative;
  padding: 36px 40px 40px;
}
.hours-ribbon {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding: 12px 28px;
  background: var(--btn); color: var(--btn-text);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hours-ribbon strong { font-family: Fraunces, serif; font-size: 16px; letter-spacing: 0; text-transform: none; }

.site-slider { position: relative; margin: 8px 0 40px; }
.site-slider-track { display: flex; overflow: hidden; }
.site-slider figure { min-width: 100%; margin: 0; position: relative; }
.site-slider img { width: 100%; height: 420px; object-fit: cover; }
.site-slider figcaption {
  position: absolute; left: 20px; bottom: 18px;
  background: var(--cream); padding: 8px 12px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.site-slider-btns {
  position: absolute; right: 16px; top: 16px; display: flex; gap: 8px;
}
.site-slider-btns button {
  width: 36px; height: 36px; border: 0; cursor: pointer;
  background: var(--cream); color: var(--ink); font-size: 18px;
}
.solve-band {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px;
  padding: 8px 0 40px; align-items: start;
}
.solve-band h2 { font-family: Fraunces, serif; font-size: 28px; letter-spacing: -0.03em; }
.solve-band p { font-size: 14px; color: var(--muted); max-width: 48ch; }
.print-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 8px 0 48px;
}
.print-row a { text-decoration: none; color: inherit; background: var(--cream); }
.print-row img { width: 100%; height: 220px; object-fit: cover; object-position: center; }
.print-row .pad { padding: 12px 14px 16px; }
.print-row small { color: var(--accent); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.print-row h3 { font-family: Fraunces, serif; font-size: 18px; margin-top: 4px; }

.theme-piment { --paper: #f6e4d0; --cream: #fbf4ea; }
.theme-auto { --paper: #e8e2d2; --cream: #f6f1e6; }
.theme-auto .top {
  background: #1a1a18; color: #f3e6cc;
  border-bottom: 3px solid #c49a3a;
}
.theme-auto .brand, .theme-auto .nav a { color: #f3e6cc; }
.theme-auto .nav a { opacity: 0.7; }
.theme-auto .nav a:hover, .theme-auto .nav a[aria-current="page"] { opacity: 1; color: #c49a3a; }

.ask-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 28px;
  background: #e4c14a; color: #241c12;
}
.ask-bar p { font-size: 13px; max-width: 46ch; }
.ask-bar strong { font-family: Fraunces, serif; font-size: 22px; letter-spacing: -0.03em; display: block; }
.ask-bar .btn { margin-top: 0; background: #241c12; color: #f3e6cc; }

.pots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 8px 0 48px;
}
.pots article { background: var(--cream); }
.pots img { width: 100%; height: 220px; object-fit: cover; }
.pots .pad { padding: 14px 16px 18px; }
.pots h3 { font-family: Fraunces, serif; font-size: 20px; margin-bottom: 4px; }
.pots p { font-size: 12px; color: var(--muted); }
.pots .btn { margin-top: 12px; font-size: 11px; padding: 10px 14px; }

.brand-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 0 28px;
}
.brand-pills span {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 8px 14px;
}
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 0 40px; }
.services-list article {
  background: var(--cream); padding: 22px 20px;
}
.services-list small { color: var(--accent); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.services-list h3 { font-family: Fraunces, serif; font-size: 22px; margin: 6px 0 8px; }
.services-list p { font-size: 13px; color: var(--muted); }

.logo-strip {
  background: #111; padding: 28px;
  display: flex; justify-content: center;
}
.logo-strip img { max-height: 72px; width: auto; object-fit: contain; }

@media (max-width: 860px) {
  .hero, .rooms, .cards, .hero.flip, .solve-band, .print-row, .pots, .services-list { grid-template-columns: 1fr; }
  .hero img { min-height: 280px; max-height: 320px; }
  .hero.bleed img { min-height: 70vh; max-height: none; }
  .hero.cinema img { min-height: 52vh; }
  .nav { display: none; }
  .row { grid-template-columns: 1fr; }
  .site-slider img { height: 280px; }
}
