/* The Lowenac Hotel, Camborne
   Layout: white page, wide photo strips (the original banner shapes), left-aligned text in a readable column.
   Single light theme on purpose: the building is white, the logo is green, so is the site. */

:root {
  color-scheme: light;
  --white: #ffffff;
  --mist: #f4f7f5;       /* the only panel colour */
  --ink: #232a26;        /* text */
  --muted: #5d6862;      /* secondary text */
  --line: #e3e9e5;
  --green: #1a7d46;      /* logo green, deepened for readable buttons and links */
  --leaf: #22a05a;       /* the exact logo green, small accents only */

  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.8rem, 3.6vw, 2.4rem);
  --step-4: clamp(2.2rem, 5.5vw, 3.6rem);

  --wrap: 70rem;
  --measure: 38rem;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* keep the footer at the bottom on short pages */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: var(--gl); }

.wrap {
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gl);
  padding-right: var(--gr);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: block; line-height: 0; }
.brand img { width: 190px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; padding-block: .4rem; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--leaf); }
.nav .call {
  background: var(--green);
  color: var(--white);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.nav .call:hover { color: var(--white); filter: brightness(1.1); }

.menu-btn {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .brand img { width: 150px; }
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(35, 42, 38, .08);
    padding: .25rem var(--gr) 1.25rem var(--gl);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .call { text-align: center; padding: .85rem; }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--green);
  font-variant-numeric: tabular-nums;
}
.btn-solid { background: var(--green); color: var(--white); }
.btn-solid:hover { filter: brightness(1.1); }
.btn-line { background: var(--white); color: var(--green); }
.btn-line:hover { background: var(--mist); }

/* ---------- Photo strips ---------- */
.strip { padding-top: clamp(1rem, 2.5vw, 1.75rem); }
.strip img {
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: var(--mist);
}
.strip-hero img { aspect-ratio: 1920 / 650; object-position: 30% 50%; }
.strip-page img { aspect-ratio: 1920 / 375; }
@media (max-width: 700px) {
  .strip-hero img { aspect-ratio: 4 / 3; }
  .strip-page img { aspect-ratio: 16 / 8.75; }
}

/* ---------- Home intro ---------- */
.intro { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro h1 { font-size: var(--step-4); }
.intro .sub { font-size: var(--step-1); color: var(--muted); margin-top: .5rem; }
.intro .prose { margin-top: 1.5rem; }
.intro .actions { margin-top: 2rem; }

.facts { list-style: none; margin: 0; padding: 1.5rem; display: grid; gap: .9rem; background: var(--mist); border-radius: 6px; }
.facts li { display: flex; gap: .75rem; align-items: baseline; }
.facts li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--leaf); flex: none; transform: translateY(-.1em); }
.facts .facts-head { font-family: var(--display); font-size: var(--step-1); }
.facts .facts-head::before { display: none; }

@media (max-width: 800px) {
  .intro .wrap { grid-template-columns: 1fr; }
  .intro .actions .btn { flex: 1 1 12rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section.mist { background: var(--mist); border-top: 0; }
.section.mist + .section { border-top: 0; }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; max-width: var(--measure); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: var(--measure); display: grid; gap: 1rem; }
.prose h2 { margin-bottom: .25rem; }
.prose h3 { margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.15rem; display: grid; gap: .35rem; }
.prose li::marker { color: var(--leaf); }
.prose blockquote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--leaf); font-style: italic; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Rooms / Functions cards (the original two home tiles) */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.card {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
}
.card:hover { border-color: var(--green); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--mist); }
.card h3 { font-size: var(--step-2); }
.card p { color: var(--muted); margin-top: .35rem; font-size: .98rem; }
.card .more { display: inline-block; margin-top: .6rem; color: var(--green); }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .card { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .75rem; } .card h3 { font-size: var(--step-1); } }

/* Tariff */
.tariff { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--white); }
.tariff caption { caption-side: bottom; text-align: left; font-size: var(--step--1); color: var(--muted); padding-top: .9rem; }
.tariff th, .tariff td { text-align: left; padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.tariff thead th { font-weight: 600; font-size: var(--step--1); color: var(--muted); border-bottom: 2px solid var(--leaf); }
.tariff thead th span { display: block; font-weight: 400; }
.tariff td { font-family: var(--display); font-size: var(--step-1); white-space: nowrap; }
.tariff td small { font-family: var(--body); font-size: .8rem; color: var(--muted); margin-right: .2rem; }
.tariff tbody th { font-weight: 500; padding-right: 1rem; }
.tariff th:last-child, .tariff td:last-child { padding-right: 0; }
.table-scroll { overflow-x: auto; }
.tariff.compact th, .tariff.compact td { padding-block: .55rem; }
.tariff.compact td { font-size: var(--step-0); }
.tariff.compact tbody th { font-size: var(--step-0); }
.tariff.compact caption { padding-top: .6rem; }
@media (max-width: 480px) { .tariff tbody th { font-size: .95rem; } .tariff td { font-size: 1.1rem; } }

/* Contact details */
.contact-list { display: grid; gap: 1.25rem; margin: 0; }
.contact-list div { display: grid; gap: .1rem; }
.contact-list dt { font-size: var(--step--1); color: var(--muted); }
.contact-list dd { margin: 0; font-size: var(--step-1); overflow-wrap: anywhere; }
.contact-list dd a { color: var(--ink); text-decoration-color: var(--line); }
.contact-list dd a:hover { color: var(--green); text-decoration-color: currentColor; }
address { font-style: normal; }
.contact-list.compact { grid-template-columns: repeat(2, minmax(0, max-content)); gap: .9rem 2.5rem; }
.contact-list.compact div:first-child { grid-column: 1 / -1; }
.contact-list.compact dd { font-size: var(--step-0); }
@media (max-width: 480px) { .contact-list.compact { grid-template-columns: 1fr; } }

/* Places (location page) */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.places article { display: grid; gap: .5rem; align-content: start; }
.places h3 { font-size: var(--step-1); }
.places p { color: var(--muted); }
@media (max-width: 700px) { .places { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 3rem) 0; }
.page-head h1 { font-size: var(--step-4); }
.page-head .lede { font-size: var(--step-1); color: var(--muted); margin-top: .6rem; max-width: var(--measure); }
.crumb { font-size: var(--step--1); margin-bottom: .75rem; }
.crumb a { color: var(--muted); }

.subnav { padding-top: 1rem; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.subnav a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .95rem; background: var(--white); }
.subnav a:hover { border-color: var(--green); color: var(--green); }
.subnav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--white); }
.subnav + .section { padding-top: clamp(2rem, 4vw, 3rem); }

.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .body-grid { grid-template-columns: 1fr; } }

.prose-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 1100px) { .prose-cols { grid-template-columns: 1fr; } }

.aside { display: grid; gap: .9rem; padding: 1.5rem; background: var(--mist); border-radius: 6px; }
.aside h2 { font-size: var(--step-2); }
.aside p { font-size: .98rem; }
.aside .btn { width: 100%; }

.terms { display: grid; gap: 1.75rem; }
.terms section { display: grid; gap: .4rem; }
.terms h3 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; font-size: .98rem; }
.site-footer a { color: var(--ink); text-decoration-color: var(--line); }
.site-footer a:hover { color: var(--green); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .foot-logo { width: 170px; margin-bottom: 1rem; }
.site-footer h2 { font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .foot-about { grid-column: 1 / -1; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
  .callbar {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .6rem var(--gr) calc(.6rem + env(safe-area-inset-bottom, 0px)) var(--gl);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(35, 42, 38, .06);
  }
  .callbar .btn { padding-inline: .75rem; }
}
