/* Wrenfold House - bed and breakfast template */

[hidden] { display: none !important; }

:root {
  --cream: #f5efe4;
  --cream-soft: #fbf7ee;
  --cream-white: #fffdf8;
  --ink: #2b2620;
  --ink-soft: #3a342c;
  --muted: #6b5f52;
  --green: #3d5a40;
  --green-deep: #2c3f2e;
  --green-pale: #cdd8c6;
  --line: #d9cebb;
  --line-soft: rgba(43, 38, 32, 0.12);
  --terracotta: #b0532f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1220px;
  --pad: 24px;
  --pill: 999px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container--narrow { max-width: 880px; }

.serif { font-family: var(--serif); }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.eyebrow--serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.3vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lede {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.text-muted { color: var(--muted); }
.small { font-size: 13.5px; line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--green); color: var(--cream-soft); border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(43, 38, 32, 0.5); font-weight: 500; }
.btn-ghost:hover { background: rgba(43, 38, 32, 0.06); border-color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 13.5px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--green);
  border-bottom: 1px solid rgba(61, 90, 64, 0.35);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- top bar ---------- */
.topbar { background: var(--green); color: #efe9db; font-size: 12.5px; letter-spacing: 0.01em; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #ffffff; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(239, 233, 219, 0.55); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 15px;
  background: var(--cream-white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.brand-name { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -0.01em; }
.brand-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: rgba(43, 38, 32, 0.35); }
.nav a.is-active { border-bottom-color: var(--green); color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.7; fill: none; }

/* mobile navigation drawer: closed by default */
.mobile-nav { display: none; border-top: 1px solid var(--line-soft); background: var(--cream); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav a.nav-link {
  display: block;
  padding: 16px var(--pad);
  font-family: var(--serif);
  font-size: 21px;
  text-decoration: none;
}
.mobile-nav .mobile-nav-foot { padding: 18px var(--pad) 24px; display: grid; gap: 10px; }
.mobile-nav .mobile-nav-foot .btn { width: 100%; }
.mobile-nav .mobile-nav-contact { font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- hero ---------- */
.hero { padding: 58px 0 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: start;
}
.hero-copy { padding-top: 14px; }
.hero-copy .h1 { margin: 20px 0 26px; }
.hero-copy .lede { max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media { position: relative; }
.arch {
  width: 100%;
  aspect-ratio: 0.87;
  border-radius: var(--pill) var(--pill) 14px 14px;
  overflow: hidden;
  background: var(--cream-soft);
  border: 1px solid var(--line);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--wide { aspect-ratio: 1.25; border-radius: var(--pill) var(--pill) 12px 12px; }
.arch--small { aspect-ratio: 0.95; }
.float-badge {
  position: absolute;
  left: -26px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--cream-white);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 11px 22px 11px 12px;
  box-shadow: 0 12px 34px rgba(43, 38, 32, 0.14);
}
.float-badge .badge-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(61, 90, 64, 0.12);
  display: grid; place-items: center;
  flex: none;
}
.float-badge .badge-icon svg { width: 17px; height: 17px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.float-badge span { font-size: 13.5px; font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: 78px 0; }
.section--tight { padding: 54px 0; }
.section--top-line { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .h2 { margin-top: 16px; max-width: 20em; }
.stack-12 > * + * { margin-top: 12px; }
.stack-18 > * + * { margin-top: 18px; }

/* ---------- room cards ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.rooms-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.room-card { display: flex; flex-direction: column; }
.room-thumb {
  border-radius: 170px 170px 10px 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  background: var(--cream-soft);
  border: 1px solid var(--line);
}
.room-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-thumb img { transform: scale(1.03); }
.room-card-body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.room-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.room-price { font-size: 13px; color: var(--muted); white-space: nowrap; }
.room-features { font-size: 13px; color: var(--muted); }
.room-card .link-arrow { margin-top: 12px; align-self: flex-start; font-size: 13px; }
a.room-card-link { text-decoration: none; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split--reverse .split-media { order: 2; }
.feature-list { margin-top: 26px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feature-list .tick { color: var(--green); font-size: 13px; flex: none; }

/* ---------- dark band ---------- */
.band { background: var(--green); color: #f2ede0; }
.band .eyebrow { color: var(--green-pale); }
.band .lede { color: rgba(242, 237, 224, 0.82); }
.band .h2 { color: #fbf7ee; }
.walk-list { margin-top: 40px; border-top: 1px solid rgba(242, 237, 224, 0.25); }
.walk-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(242, 237, 224, 0.25); }
.walk-name { font-family: var(--serif); font-size: 21px; }
.walk-meta { font-size: 13px; color: rgba(242, 237, 224, 0.7); margin-top: 4px; }
.walk-distance { font-size: 13px; color: var(--green-pale); white-space: nowrap; }

/* ---------- info / visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.define-list { margin: 0; border-top: 1px solid var(--line); }
.define-list div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.define-list dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.define-list dd { margin: 0; font-size: 15px; }
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1.32;
  background: var(--cream-soft);
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cta panel ---------- */
.cta-panel {
  background: var(--cream-white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- page hero ---------- */
.page-hero { padding: 56px 0 42px; border-bottom: 1px solid var(--line); }
.page-hero .h1 { margin: 16px 0 18px; font-size: clamp(38px, 4.6vw, 62px); }
.page-hero .lede { max-width: 46em; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

/* ---------- detail page ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.detail-price { font-family: var(--serif); font-size: 27px; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.spec-list .spec-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.spec-list .spec-value { font-size: 15px; }

/* ---------- breakfast menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px; }
.menu-block h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 14px; }
.menu-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-list li span { color: var(--muted); font-size: 13.5px; display: block; margin-top: 3px; }

/* ---------- form ---------- */
.form-panel {
  background: var(--cream-white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { padding-right: 40px; background-color: var(--cream-soft); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 90, 64, 0.14);
}
.field-error { font-size: 12.5px; color: var(--terracotta); min-height: 0; }
.checkline { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.checkline input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--green); }
.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form-status { margin-top: 18px; font-size: 14px; }
.form-status[data-state="error"] { color: var(--terracotta); }
.form-success {
  border: 1px solid rgba(61, 90, 64, 0.3);
  background: rgba(61, 90, 64, 0.07);
  border-radius: 18px;
  padding: 28px;
}
.form-success .h3 { margin-bottom: 8px; }
.form-success .ref { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-top: 14px; }

/* ---------- price table ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table th { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-table td.num { text-align: right; white-space: nowrap; }
.price-table .room-link { text-decoration: none; font-family: var(--serif); font-size: 19px; }
.price-table .room-link:hover { color: var(--green); }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #e9e3d5; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fbf7ee; }
.footer-brand .brand-sub { color: rgba(233, 227, 213, 0.6); }
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.footer-brand .brand-mark svg { stroke: #e9e3d5; }
.footer-note { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: rgba(233, 227, 213, 0.72); max-width: 26em; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(233, 227, 213, 0.6); margin-bottom: 14px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; font-size: 14px; text-decoration: none; color: #e9e3d5; padding: 5px 0; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(233, 227, 213, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(233, 227, 213, 0.62);
}

/* ---------- responsive ---------- */
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .nav { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .topbar .container { justify-content: center; }
  .topbar-left { display: none; }
  .hero { padding: 34px 0 52px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-media { order: 2; }
  .float-badge { left: 12px; bottom: 18px; }
  .section { padding: 56px 0; }
  .rooms-grid, .rooms-grid--two { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .room-thumb { aspect-ratio: 1 / 0.78; border-radius: 150px 150px 10px 10px; }
  .split, .visit-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cta-panel { grid-template-columns: minmax(0, 1fr); padding: 30px; gap: 22px; }
  .form-panel { padding: 26px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .site-footer { padding-top: 46px; }
  .define-list div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .page-hero { padding: 36px 0 30px; }
  .section-head { margin-bottom: 30px; }
}
@media (max-width: 560px) {
  :root { --pad: 18px; }
  .brand-name { font-size: 23px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.13em; }
  .hero-actions .btn { width: 100%; }
  .float-badge span { font-size: 12.5px; }
  .topbar { font-size: 11.5px; }
  .topbar-right { gap: 12px; }
}

/* dark band variants */
.band .link-arrow { color: #f2ede0; border-bottom-color: rgba(242, 237, 224, 0.4); }
.band .link-arrow:hover { border-bottom-color: #f2ede0; }
.band .btn-ghost { color: #f2ede0; border-color: rgba(242, 237, 224, 0.45); }
.band .btn-ghost:hover { background: rgba(242, 237, 224, 0.1); border-color: #f2ede0; }
.band .btn-primary { background: var(--cream-soft); color: var(--green-deep); border-color: var(--cream-soft); }
.band .btn-primary:hover { background: #ffffff; border-color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
