/* Furnace Lough House: after.
   Petrona (display) and Public Sans (text), both SIL OFL 1.1, self-hosted Latin subsets.
   Palette: mist, ink, lough (teal), gorse (yellow), peat (brown, used sparingly). */

@font-face {
  font-family: "Petrona";
  src: url(fonts/petrona.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url(fonts/petrona-italic.woff2) format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url(fonts/public-sans.woff2) format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --mist: #eef2f0;
  --paper: #ffffff;
  --ink: #15201f;
  --ink-2: #455452;
  --line: #cdd8d5;
  --lough: #1b5560;
  --lough-deep: #113c45;
  --gorse: #edb91c;
  --gorse-soft: #f8e08f;
  --peat: #6e5848;
  --display: "Petrona", Georgia, serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--lough); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--lough-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
.book :focus-visible, .site-foot :focus-visible { outline-color: var(--gorse); }
.book .avail :focus-visible { outline-color: var(--ink); }

h1, h2, h3, .room-name, .ledger .num, .opt__total strong, .opt__name, .result__head, .hero__from strong, .route__town, .facts dt, .site-foot__name, .wordmark__name { font-variant-numeric: normal; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.35rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.small { font-size: 0.9rem; color: var(--ink-2); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-site {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 50;
  background: var(--ink); color: #fff; padding: 0.7rem 1rem; border-radius: var(--r);
}
.skip-site:focus { top: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.7rem 1.4rem;
  font: 700 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--gorse); color: var(--ink);
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { background: #f5c93d; color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-head { background: var(--mist); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.8rem; }
.wordmark { text-decoration: none; color: var(--ink); display: block; margin-right: auto; line-height: 1.15; }
.wordmark__name { display: block; font: 800 1.6rem/1.1 var(--display); letter-spacing: -0.015em; color: var(--lough); }
.wordmark__sub { display: block; font-size: 0.82rem; color: var(--ink-2); margin-top: 0.15rem; }
.site-nav { display: none; gap: 1.6rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.6rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--gorse); color: var(--ink); }
.callbtn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.4rem 1rem;
  border: 2px solid var(--lough); border-radius: var(--r); color: var(--lough);
  font-weight: 700; text-decoration: none; white-space: nowrap;
}
.callbtn:hover { background: var(--lough); color: #fff; }
.callbtn__num { display: none; }
@media (min-width: 560px) { .callbtn__num { display: inline; } }
@media (min-width: 900px) { .site-nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.6rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem); }
.hero__grid { display: grid; gap: 1.8rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 3.7rem); font-weight: 800; line-height: 1.04; color: var(--ink); text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--lough); }
.lede { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); max-width: 34em; margin-top: 1.2rem; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.4rem; margin: 1.4rem 0 0.9rem; }
.hero__from { color: var(--ink-2); }
.hero__from strong { font: 800 1.6rem var(--display); color: var(--ink); }
.hero__direct { font-size: 0.95rem; color: var(--ink-2); max-width: 32em; margin: 0; padding-left: 0.9rem; border-left: 4px solid var(--gorse); }
.hero__photo { margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--line); }
.hero__photo figcaption { font-size: 0.82rem; color: var(--ink-2); margin-top: 0.5rem; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(2rem, 4vw, 3.5rem); }
}

/* ---------- Booking panel (the one bold block) ---------- */
.book { background: var(--lough); color: #fff; padding-block: clamp(2.2rem, 5vw, 4rem); }
.book a { color: #fff; }
.book__head { max-width: 46rem; margin-bottom: 1.6rem; }
.book__head p { color: #dbe8e8; margin: 0.8rem 0 0; }
.book h2 { color: #fff; }
.book__head p + p { margin-top: 0.5rem; }

.avail {
  display: grid; gap: 1.2rem; background: var(--paper); color: var(--ink);
  border-radius: 10px; padding: clamp(0.9rem, 2.4vw, 1.6rem);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 30px -18px rgba(0,0,0,.5);
}
@media (min-width: 980px) { .avail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 2rem; } .request { grid-column: 1 / -1; } }

.cal__nav { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.cal__hint { flex: 1; margin: 0; text-align: center; font-weight: 600; font-size: 0.95rem; min-height: 1.5em; }
.iconbtn {
  width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center;
  font: 700 1.1rem var(--text); color: var(--ink); background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.iconbtn:hover:not(:disabled) { background: var(--gorse-soft); }
.iconbtn:disabled { opacity: 0.35; cursor: default; }

.cal__months { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .cal__months { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .month:nth-child(2) { display: none; } }

.month__title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 0.4rem; }
.month__title h3 { font-size: 1.25rem; }
.season { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.season--high { color: #7a5a00; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow { font-size: 0.72rem; font-weight: 700; color: var(--ink-2); text-align: center; padding-bottom: 0.15rem; }

.day {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  min-height: 3.1rem; padding: 0.3rem 0 0.4rem; border: 0; border-radius: 4px;
  background: var(--mist); color: var(--ink); font: 600 0.95rem/1 var(--text); cursor: pointer;
 
}
.day:hover:not(:disabled) { background: var(--gorse-soft); }
.day:disabled { background: transparent; color: #7d8b88; cursor: default; }
.day:disabled .pips { visibility: hidden; }
.day.is-in, .day.is-start { background: var(--gorse); }
.day.is-end { background: var(--gorse-soft); box-shadow: inset 0 0 0 2px var(--gorse); }
.day.is-blank { background: transparent; pointer-events: none; }

.pips { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.7rem; }
.pips i { display: block; width: 3px; height: 3px; background: var(--ink-2); border-radius: 1px; opacity: 0.55; }
.pips i.f { height: 0.65rem; background: var(--lough); opacity: 1; }
.day.is-in .pips i.f, .day.is-start .pips i.f { background: var(--ink); }

.cal__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; margin: 0.9rem 0 0; padding: 0; font-size: 0.85rem; color: var(--ink-2); }
.cal__key li { display: flex; align-items: center; gap: 0.5rem; }
.swatch { width: 1rem; height: 1rem; border-radius: 3px; display: inline-block; }
.swatch--gorse { background: var(--gorse); }

.avail__result { min-width: 0; }
.result__empty { color: var(--ink-2); margin: 0; padding: 1rem; border: 1px dashed var(--line); border-radius: var(--r); }
.result__head { margin: 0 0 0.2rem; font: 700 1.5rem/1.2 var(--display); }
.result__sub { margin: 0 0 0.9rem; color: var(--ink-2); font-size: 0.95rem; }
.result__warn { margin: 0 0 0.8rem; padding: 0.6rem 0.8rem; background: var(--gorse-soft); border-radius: var(--r); font-size: 0.92rem; }
.result__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.8rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.opt__name { font: 700 1.2rem/1.2 var(--display); }
.opt__meta { grid-column: 1; font-size: 0.85rem; color: var(--ink-2); }
.opt__total { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.opt__total { font-size: 0.8rem; color: var(--ink-2); }
.opt__total strong { display: block; color: var(--ink); font: 800 1.55rem/1.1 var(--display); }
.opt .btn { grid-column: 1 / -1; min-height: 2.75rem; margin-top: 0.5rem; padding: 0.5rem 1rem; font-size: 0.95rem; }
.opt.is-taken { color: #5f6e6b; }
.opt.is-taken .opt__name { text-decoration: line-through; text-decoration-thickness: 0.07em; }
.opt.is-taken .opt__total { font-size: 0.9rem; font-weight: 600; }
.opt.is-asked { background: linear-gradient(90deg, var(--gorse-soft), transparent 70%); margin-inline: -0.5rem; padding-inline: 0.5rem; }
.linkbtn { background: none; border: 0; padding: 0.6rem 0; color: var(--lough); font: 600 0.95rem var(--text); text-decoration: underline; cursor: pointer; min-height: 2.75rem; }

.request { background: var(--mist); border-radius: var(--r); padding: 1.1rem 1.2rem 1.3rem; }
.request h3 { font-size: 1.5rem; }
.request__sum { margin: 0.3rem 0 1rem; font-weight: 600; }
.request__fields { display: grid; gap: 0.9rem; margin-bottom: 1.1rem; }
@media (min-width: 760px) { .request__fields { grid-template-columns: 1fr 1fr; } .request__wide { grid-column: 1 / -1; } }
.request label { display: block; font-weight: 600; font-size: 0.95rem; }
.request .hint { font-weight: 400; color: var(--ink-2); }
.request input, .request textarea {
  display: block; width: 100%; margin-top: 0.3rem; min-height: 2.9rem; padding: 0.55rem 0.7rem;
  font: 400 1rem var(--text); color: var(--ink); background: #fff; border: 1.5px solid #8a9b97; border-radius: var(--r);
}
.request input:focus-visible, .request textarea:focus-visible { outline: 3px solid var(--lough); outline-offset: 1px; }
.request__ok { margin: 1rem 0 0; padding: 0.8rem 1rem; background: #fff; border-left: 5px solid var(--gorse); border-radius: 3px; }

.book__plain { max-width: 46rem; margin-top: 1.8rem; }
.book__plain h3 { color: #fff; margin-bottom: 0.4rem; }
.book__plain p { margin-bottom: 0.5rem; }
.book__plain .small { color: #c4d6d6; }

/* ---------- Rooms ledger ---------- */
section { scroll-margin-top: 0.5rem; }
.rooms, .breakfast, .greenway, .arrive { padding-block: clamp(2.6rem, 6vw, 5rem); }
.sec-intro { max-width: 40rem; color: var(--ink-2); margin: 0.8rem 0 1.6rem; }

.ledger { width: 100%; border-collapse: collapse; margin-bottom: 1rem; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.ledger th, .ledger td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ledger thead th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); background: #e3eae7; padding-block: 0.7rem; }
.ledger .num { text-align: right; font: 800 1.5rem/1.2 var(--display); white-space: nowrap; }
.ledger thead .num { font: 700 0.78rem var(--text); }
.ledger tbody th { font-weight: 400; }
.room-name { display: block; font: 700 1.4rem/1.2 var(--display); }
.room-desc { display: block; color: var(--ink-2); font-size: 0.95rem; margin-top: 0.2rem; max-width: 34rem; }
.ledger .act { text-align: right; white-space: nowrap; }
.ledger .act a { font-weight: 700; }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger tbody tr.is-asked { background: var(--gorse-soft); }

@media (max-width: 719px) {
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 1rem 1rem 0.6rem; border-bottom: 1px solid var(--line); }
  .ledger tbody tr:last-child { border-bottom: 0; }
  .ledger tbody th { grid-column: 1 / -1; padding: 0 0 0.6rem; border: 0; }
  .ledger td, .ledger td.num { padding: 0; border: 0; text-align: left; }
  .ledger td.num::before { content: attr(data-label); display: block; font: 600 0.75rem var(--text); color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.15rem; }
  .ledger .act { grid-column: 1 / -1; text-align: left; padding-top: 0.4rem; }
  .ledger .act a { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

/* ---------- Breakfast ---------- */
.breakfast { background: #e3eae7; }
.breakfast__grid { display: grid; gap: 1.6rem; align-items: center; }
.breakfast__photo { margin: 0; }
.breakfast__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.breakfast__text p { margin-top: 0.9rem; max-width: 34rem; }
.plain-list { margin: 0; padding: 0; list-style: none; max-width: 34rem; }
.plain-list li { padding: 0.65rem 0 0.65rem 1.2rem; border-top: 1px solid #b9c7c3; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 0.5rem; height: 0.5rem; background: var(--gorse); border-radius: 50%; }
@media (min-width: 900px) { .breakfast__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } .breakfast__photo { order: 0; } }

/* ---------- Greenway ---------- */
.route { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; position: relative; counter-reset: stop; }
.route li { position: relative; padding: 0 0 1.6rem 2.2rem; }
.route li::before { content: ""; position: absolute; left: 0.45rem; top: 0.5rem; bottom: -0.5rem; border-left: 4px solid var(--lough); }
.route li:last-child::before { display: none; }
.route li::after { content: ""; position: absolute; left: 0; top: 0.35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--paper); border: 4px solid var(--lough); }
.route__town { display: block; font: 700 1.45rem/1.2 var(--display); }
.route__note { display: block; color: var(--ink-2); font-size: 0.92rem; }
.route__us .route__town { color: var(--ink); }
.route li.route__us::after { background: var(--gorse); border-color: var(--ink); width: 1.5rem; height: 1.5rem; left: -0.1rem; top: 0.2rem; }
.route__us .route__note { color: var(--ink); font-weight: 700; }
@media (min-width: 760px) {
  .route { grid-template-columns: repeat(4, 1fr); }
  .route li { padding: 2.2rem 1rem 0 0; }
  .route li::before { left: 0; right: 0; top: 0.5rem; bottom: auto; border-left: 0; border-top: 4px solid var(--lough); }
  .route li::after { left: 0; top: 0; }
  .route li.route__us::after { left: -0.1rem; top: -0.15rem; }
}

.greenway__grid { display: grid; gap: 1.6rem; align-items: start; }
.greenway__photo { margin: 0; }
.greenway__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .greenway__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; } }

.facts { margin: 0; }
.facts > div { display: grid; gap: 0.1rem 1.2rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font: 700 1.2rem/1.3 var(--display); }
.facts dd { margin: 0; color: var(--ink); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 8.5rem 1fr; } }

/* ---------- Arrive ---------- */
.arrive { border-top: 1px solid var(--line); }
.arrive__grid { display: grid; gap: 2.4rem; }
.arrive h2 { margin-bottom: 1rem; }
.arrive h3 { margin: 1.1rem 0 0.2rem; }
.arrive p { max-width: 32rem; margin-bottom: 0.4rem; }
.link-strong { font-weight: 700; }
.facts--rule dd { max-width: 30rem; }
@media (min-width: 900px) { .arrive__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--lough-deep); color: #dce8e8; padding-block: 2.2rem 2.6rem; }
.site-foot a { color: #fff; font-weight: 700; }
.site-foot__in { display: grid; gap: 1.2rem 3rem; }
.site-foot p { margin: 0; }
.site-foot__name { font: 800 1.4rem var(--display); color: #fff; margin-bottom: 0.2rem; }
.site-foot__contact { line-height: 1.9; }
.site-foot__direct { color: var(--gorse); font-weight: 600; }
@media (min-width: 760px) { .site-foot__in { grid-template-columns: 1fr auto auto; align-items: start; } }


@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
