/* Blackton Grange site.
   The live site's own palette and type: Ovo capitals, Open Sans, slate, estate green, cream, the brush line and the outlined frame. */

:root {
  --slate: #516170;
  --green: #385B4F;
  --green-2: #526F63;
  --cream: #F6F2ED;
  --gold: #BB9831;
  --text: #454545;
  --night: #27313B;
  --white: #FFFFFF;
  --rule: rgba(81, 97, 112, 0.25);
  --serif: "Ovo", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
/* Photographs come as <picture>: WebP with the JPEG behind it. The picture itself takes no part in the layout,
   and each photograph carries its real width and height, so nothing jumps as it loads. */
picture { display: contents; }
/* Its <source> lines are instructions to the browser, not things to lay out. */
picture > source { display: none; }
picture > img { height: auto; }
p { margin: 0 0 16px; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; margin: 0; line-height: 1.15; }
h2 { font-size: clamp(28px, 3vw, 40px); color: var(--slate); }
h3 { font-size: 24px; color: var(--slate); }
em { font-style: italic; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }
.accent { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; font-size: 18px; color: var(--slate); margin: 0 0 12px; }
.brush { width: 280px; height: auto; margin: 20px auto 28px; }
.brush--left { margin-left: 0; }
.fine { font-size: 14px; line-height: 1.5; color: #6b6b6b; margin: 0; }
.fine--light { color: rgba(255, 255, 255, 0.72); }

/* Buttons, as on the live site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 24px; border-radius: 3px; border: 1px solid transparent; font-family: var(--serif); font-size: 16px; letter-spacing: 0.03em; text-decoration: none; transition: background-color 0.16s ease-out, color 0.16s ease-out, border-color 0.16s ease-out; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: #2c4a40; }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--slate:hover { background: #435260; }
.btn--cream { background: var(--cream); color: var(--slate); }
.btn--cream:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--slate); }
.btn--outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Utility strip */
.utility { background: var(--cream); font-size: 13px; color: var(--slate); position: relative; }
.utility__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.utility__contact { display: flex; gap: 24px; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: var(--bar); z-index: 50; background: var(--white); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.header__logo img { height: 15px; width: auto; }
.header__nav { display: flex; gap: 28px; font-family: var(--serif); font-size: 16px; color: var(--green); }
.header__nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.header__nav a:hover { border-bottom-color: var(--green); }
.header__cta { display: flex; gap: 12px; }
.header__menu { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.header__menu span { display: block; height: 1.5px; background: var(--green); }
.mobilenav { border-top: 1px solid rgba(0, 0, 0, 0.06); padding: 8px 32px 16px; font-family: var(--serif); font-size: 18px; color: var(--green); }
.mobilenav[hidden] { display: none; }
.mobilenav a { display: block; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }

/* Hero */
.hero { position: relative; height: min(78vh, 760px); min-height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); background: var(--night); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 64%; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero__shade { position: absolute; inset: 0; background: rgba(24, 32, 30, 0.34); transition: background 1.2s ease-out; }
/* The silent film over the photograph. It stays clear until it is playing, so the photograph is never replaced by a blank. */
.hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; opacity: 0; transition: opacity 1.2s ease-out; }
.hero.has-film .hero__film { opacity: 1; }
.hero.has-film .hero__shade { background: rgba(20, 26, 24, 0.46); }
.hero__inner { position: relative; padding: 0 24px; max-width: 880px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: 0.08em; color: var(--white); }
.hero__sub { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(17px, 2vw, 26px); margin: 14px 0 20px; }
/* The home heading reads "Blackton Grange: barn wedding venue in County Durham" as one heading, set as the name and a line beneath it. */
.hero h1 .hero__sub { display: block; line-height: 1.3; }
.hero__colon { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__lede { font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 auto 28px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; padding: 18px 32px; font-family: var(--serif); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.hero__foot a { text-decoration: none; }
.hero__foot a:hover { text-decoration: underline; }
.hero__foot i { font-style: normal; opacity: 0.6; margin: 0 6px; }

/* Bands */
.band { padding: 104px 0; position: relative; }
.band--white { background: var(--white); }
.band--cream { background: var(--cream); }
.band--slate { background: var(--slate); color: var(--white); }
.band--night { background: var(--night); color: var(--white); }
.band--slate h2, .band--slate h3, .band--slate .accent, .band--night h2, .band--night h3, .band--night .accent { color: var(--white); }
.head { text-align: center; margin-bottom: 48px; }
.head .brush { margin-bottom: 0; }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; gap: 24px; margin-bottom: 40px; }

/* Frames: the outlined box from the live site */
.frame { border: 1px solid currentColor; padding: 40px; }
.frame--dark { color: var(--slate); }
.frame--dark p, .frame--dark li { color: var(--text); }
.frame--light { color: var(--white); }

/* Intro */
.intro { padding: 96px 0 88px; position: relative; }
.intro__mark { width: auto; height: 104px; margin: 0 auto 26px; }
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ledger div { padding: 28px 16px; text-align: center; border-left: 1px solid var(--rule); }
.ledger div:first-child { border-left: 0; }
.ledger dt { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--slate); }
.ledger dd { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--slate); margin-top: 10px; }

/* A weekend at Blackton */
.stage { position: relative; aspect-ratio: 16 / 8; background: #1d242b; overflow: hidden; }
.stage__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease-out; }
.stage__imgs img.is-on { opacity: 1; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--slate); background: var(--white); color: var(--slate); position: relative; flex: none; transition: background-color 0.16s ease-out, color 0.16s ease-out; }
.arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translate(-70%, -50%) rotate(45deg); }
.arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.arrow:hover { background: var(--slate); color: var(--white); }
.stage .arrow { position: absolute; top: 50%; transform: translateY(-50%); border-color: transparent; }
.stage .arrow--prev { left: 20px; }
.stage .arrow--next { right: 20px; }
.cap { display: flex; align-items: baseline; gap: 24px; margin: 28px 0 32px; min-height: 44px; }
.cap__when { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.14em; font-size: 16px; color: rgba(255, 255, 255, 0.8); margin: 0; flex: none; }
.cap__what { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin: 0; }
.track { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: rgba(255, 255, 255, 0.4); }
.stop { background: none; border: 0; color: rgba(255, 255, 255, 0.7); padding: 0 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--serif); font-size: 14px; letter-spacing: 0.06em; position: relative; }
.stop::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--slate); border: 1px solid var(--white); margin-bottom: 4px; transition: transform 0.16s ease-out, background-color 0.16s ease-out; }
.stop:hover { color: var(--white); }
.stop.is-on { color: var(--white); }
.stop.is-on::after { background: var(--gold); border-color: var(--gold); transform: scale(1.7); }
.days { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); margin: 14px 0 28px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.days span { text-align: center; border-left: 1px solid rgba(255, 255, 255, 0.3); padding-top: 4px; }
.days span:first-child { border-left: 0; }

/* Explore the estate */
.explore__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
/* The map fills its column and never less than the photo's own height. If the panel beside it is taller, the photo
   scales up inside and loses a little at the sides. The pins sit in the same layer as the photo, so they stay on their buildings. */
.map { position: relative; overflow: hidden; min-width: 0; background: #5d6b4f; }
.map::before { content: ""; display: block; padding-top: calc(1480 / 1266 * 100%); }
.map__in { position: absolute; top: 0; bottom: 0; left: 62%; transform: translateX(-62%); aspect-ratio: 1266 / 1480; }
.map__in > img, .map__in > picture > img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--white); color: var(--slate); font-family: var(--serif); font-size: 17px; line-height: 1; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28), 0 2px 10px rgba(0, 0, 0, 0.35); transition: background-color 0.16s ease-out, color 0.16s ease-out, transform 0.16s ease-out; }
.pin:hover { transform: translate(-50%, -50%) scale(1.08); }
.pin.is-on { background: var(--gold); color: var(--white); box-shadow: 0 0 0 5px rgba(187, 152, 49, 0.35), 0 2px 10px rgba(0, 0, 0, 0.35); }
.info { border-left: 0; display: flex; flex-direction: column; background: var(--cream); }
.info img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 24px; }
.info__n { font-family: var(--serif); font-style: italic; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; color: var(--slate); margin: 0 0 6px; }
.info h3 { margin-bottom: 12px; }
.info ul { margin-top: auto; padding-top: 8px; }
.info li { border-top: 1px solid var(--rule); padding: 9px 0; font-size: 15px; }

/* Your date at Blackton */
.date__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.date__form .brush { margin-left: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1 1 0; min-width: 0; }
.field label { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: rgba(255, 255, 255, 0.78); }
.field input, .field select { height: 48px; padding: 0 14px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); color: var(--white); font: inherit; font-size: 16px; width: 100%; color-scheme: dark; }
.field select option { color: #222; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field-row { display: flex; gap: 16px; }
.field--dark label { color: var(--slate); }
.field--dark input { border-color: var(--rule); background: var(--white); color: var(--text); color-scheme: light; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.9); border-radius: 3px; padding: 7px 12px; font-family: var(--serif); font-size: 14px; letter-spacing: 0.03em; transition: background-color 0.16s ease-out, color 0.16s ease-out; }
.chips button:hover, .chips button.is-on { background: var(--white); color: var(--night); border-color: var(--white); }
.result { padding: 36px 40px 40px; }
.result__season { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; font-size: 14px; color: var(--gold); filter: brightness(1.35); margin: 0 0 6px; }
.result__date { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 44px; }
.strip-wrap { position: relative; margin-bottom: 28px; }
.strip { height: 54px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.3); }
.marks { position: relative; height: 0; }
.mark { position: absolute; bottom: 0; transform: translateX(-50%); font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; white-space: nowrap; padding-bottom: 6px; color: var(--white); }
.mark::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 54px; background: rgba(20, 28, 34, 0.75); box-shadow: 1px 0 0 rgba(255, 255, 255, 0.55); }
.mark--up { bottom: 16px; }
.mark--up::after { height: 70px; }
.sun { position: relative; height: 26px; }
.sun span { position: absolute; top: 6px; transform: translateX(-50%); font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; white-space: nowrap; color: #e9cf85; }
.sun span::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 8px; background: #e9cf85; }
.hours { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.25); border-bottom: 1px solid rgba(255, 255, 255, 0.25); padding: 20px 0; margin-bottom: 20px; }
.facts3 dt { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.facts3 dd { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }
.facts3__moon { display: flex; gap: 14px; align-items: center; }
.facts3__moon svg { flex: none; }
.result__tip { font-size: 17px; line-height: 1.6; margin: 0 0 8px; }
.result__sky { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0 0 24px; }
.price { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.price__label { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.08em; font-size: 16px; margin: 0 0 4px; }
.price__fig { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1; margin: 0; white-space: nowrap; }
.result__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 8px; }

/* Real weddings */
.reel__nav { display: flex; gap: 10px; }
.reel { --edge: max(32px, calc((100vw - 1240px) / 2 + 32px)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); padding: 0 var(--edge) 8px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { flex: 0 0 min(340px, 78vw); margin: 0; scroll-snap-align: start; }
.reel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reel figcaption { font-family: var(--serif); font-style: italic; letter-spacing: 0.04em; font-size: 16px; color: var(--slate); padding-top: 12px; }
.real__more { margin: 40px 0 0; }

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.reviews__scores .brush { margin-left: 0; }
.scores { display: grid; gap: 0; margin-bottom: 16px; }
.scores div { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.scores div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.scores dt { font-family: var(--serif); font-size: 40px; line-height: 1; width: 84px; flex: none; }
.scores dt a { text-decoration: none; }
.scores dt a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.scores dd { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.8); }
.scores dd b { display: block; font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); }
.quote { padding: 48px; min-height: 360px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; }
.quote__by { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: rgba(255, 255, 255, 0.8); margin: 0; }
.quote__nav { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 14px; letter-spacing: 0.1em; }
.quote__nav .arrow { border-color: transparent; }

/* The farmhouse */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-bottom: 32px; }
.tabs button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; color: var(--slate); opacity: 0.7; }
.tabs button:hover { opacity: 1; }
.tabs button.is-on { opacity: 1; border-bottom-color: var(--slate); }
.stay__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
.stay__photo { position: relative; min-height: 480px; background: #ddd6cc; overflow: hidden; }
.stay__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease-out; }
.stay__photo img.is-on { opacity: 1; }
.stay__text { border-left: 0; display: flex; flex-direction: column; background: var(--cream); }
.stay__text h3 { margin-bottom: 12px; }
.stay__text ul { margin: 8px 0 28px; }
.stay__text li { border-top: 1px solid var(--rule); padding: 9px 0; font-size: 15px; }
.stay__text li:last-child { border-bottom: 1px solid var(--rule); }
.stay__btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* Come and see it */
.visit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.opendays { margin-top: 28px; border-top: 1px solid var(--rule); }
.opendays li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.opendays__date { font-family: var(--serif); font-size: 20px; color: var(--slate); }
.opendays button { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--green); }
.viewing h3 { margin-bottom: 12px; }
.viewing .btn { margin-top: 8px; }
.viewing__thanks { margin: 16px 0 0; font-family: var(--serif); font-size: 20px; color: var(--green) !important; }
.viewing__thanks[hidden] { display: none; }

/* Questions */
.faq__list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-family: var(--serif); font-size: 21px; color: var(--slate); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--slate), var(--slate)) center / 13px 1px no-repeat, linear-gradient(var(--slate), var(--slate)) center / 1px 13px no-repeat; transition: transform 0.2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 720px; }

/* Footer */
.footer { background: var(--green); color: rgba(255, 255, 255, 0.88); padding: 64px 0 56px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 0.9fr) auto; gap: 48px; align-items: start; }
.footer__mark { height: 17px; width: auto; margin-bottom: 20px; }
.footer nav { display: grid; gap: 8px; font-family: var(--serif); font-size: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__badges { display: flex; flex-direction: column; gap: 12px; }
.footer__badges img { height: 52px; width: auto; }

/* Mobile action bar */
.mobilebar { display: none; }

/* Film */
.film { border: 0; padding: 0; background: #000; max-width: none; }
.film::backdrop { background: rgba(10, 14, 16, 0.86); }
/* The walkthrough film is portrait. */
.film__frame { width: min(92vw, calc(84vh * 16 / 9), 1280px); aspect-ratio: 16 / 9; }
.film__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.film__close { position: absolute; top: -40px; right: 0; background: none; border: 0; color: #fff; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; }
.film[open] { overflow: visible; }

/* What is new: review notes on the homepage */
.note-tag { display: none; position: absolute; top: 14px; left: 14px; z-index: 5; align-items: center; gap: 10px; background: #16191c; color: #fff; font-family: var(--sans); font-size: 13px; line-height: 1.3; letter-spacing: 0; text-transform: none; font-style: normal; padding: 6px 12px 6px 6px; border-radius: 20px; max-width: min(420px, calc(100% - 28px)); text-align: left; }
.note-tag b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; }
body.notes-on .note-tag { display: inline-flex; }
body.notes-on [data-note] { outline: 2px dashed rgba(187, 152, 49, 0.9); outline-offset: -2px; }
.notes { position: fixed; right: 16px; top: 124px; bottom: 16px; width: 300px; z-index: 55; background: #16191c; color: #e6e8ea; padding: 20px; overflow: auto; font-size: 13px; line-height: 1.45; border-radius: 4px; }
.notes[hidden] { display: none; }
.notes__title { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; color: #fff; margin: 0 0 12px; }
.notes ol { display: grid; gap: 0; counter-reset: n; }
.notes li { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.notes li a { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 0; text-decoration: none; color: inherit; }
.notes li a:hover { color: #fff; }
.notes li b { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.notes li small { display: block; color: #9aa1a8; font-size: 12px; margin-top: 2px; }
.notes__foot { margin: 14px 0 0; color: #9aa1a8; font-size: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 1080px) {
  .header__nav { display: none; }
  .header__menu { display: flex; }
  .explore__grid, .stay__grid, .date__grid, .reviews__grid, .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .date__grid, .reviews__grid, .visit__grid { gap: 40px; }
  .info, .stay__text { border-left: 1px solid currentColor; border-top: 0; }
  .stay__photo { min-height: 0; aspect-ratio: 3 / 2; }
  .notes { display: none !important; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 58px; }
  html { scroll-padding-top: 84px; }
  .wrap { padding: 0 20px; }
  .utility__contact { display: none; }
  .utility__in { font-size: 12px; }
  .utility__light { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__cta { display: none; }
  .mobilenav { padding: 8px 20px 16px; }
  .hero { height: auto; min-height: 0; padding: 96px 0 84px; }
  .hero__img { object-position: 52% 60%; }
  .hero__lede { font-size: 16px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__foot { position: absolute; flex-direction: column; align-items: center; gap: 2px; padding: 14px 16px; font-size: 11px; }
  .band { padding: 64px 0; }
  .intro { padding: 64px 0 56px; }
  .head { margin-bottom: 32px; }
  .head--row { flex-direction: row; align-items: flex-end; }
  .brush { width: 200px; margin: 16px auto 22px; }
  .accent { font-size: 15px; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .ledger div:nth-child(odd) { border-left: 0; }
  .ledger div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .ledger dt { font-size: 42px; }
  .stage { aspect-ratio: 4 / 3; margin: 0 -20px; }
  .stage .arrow { width: 40px; height: 40px; }
  .stage .arrow--prev { left: 10px; }
  .stage .arrow--next { right: 10px; }
  .cap { flex-direction: column; gap: 4px; margin: 20px 0 24px; min-height: 84px; }
  .stop { font-size: 0; gap: 0; padding-top: 8px; }
  .days { font-size: 10px; letter-spacing: 0.08em; }
  .frame { padding: 24px; }
  .map { margin: 0 -20px; }
  .pin { width: 34px; height: 34px; font-size: 15px; }
  .info { margin-top: 0; }
  .result { padding: 24px 20px; }
  .result__date { margin-bottom: 40px; }
  .mark { font-size: 9px; letter-spacing: 0.04em; }
  .sun span { font-size: 9px; }
  .hours span:nth-child(even) { visibility: hidden; }
  .facts3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts3__moon { grid-column: span 2; }
  .facts3 dt { font-size: 24px; }
  .price { flex-direction: column; align-items: flex-start; gap: 8px; }
  .field-row { flex-direction: column; gap: 0; }
  .reel { --edge: 20px; gap: 12px; }
  .quote { padding: 28px 24px; min-height: 340px; }
  .scores dt { font-size: 32px; width: 68px; }
  .tabs { justify-content: flex-start; gap: 0 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 20px; padding: 0 20px; }
  .tabs button { white-space: nowrap; }
  .opendays li { grid-template-columns: minmax(0, 1fr) auto; }
  .opendays li span:nth-child(2) { grid-column: 1; grid-row: 2; margin-top: -10px; }
  .faq summary { font-size: 18px; padding: 16px 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mobilebar { display: grid; grid-template-columns: 0.7fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--white); border-top: 1px solid rgba(0, 0, 0, 0.12); font-family: var(--serif); font-size: 15px; }
  .mobilebar a { display: flex; align-items: center; justify-content: center; height: 58px; text-decoration: none; color: var(--green); border-left: 1px solid rgba(0, 0, 0, 0.08); }
  .mobilebar a:first-child { border-left: 0; }
  .mobilebar a.is-primary { background: var(--green); color: var(--white); border-left: 0; }
  .note-tag { font-size: 12px; top: 8px; left: 8px; }
}

/* Blackton Grange site: menus, inner pages, forms and dialogs.
   Loaded after site.css and built from the same tokens. */

/* Menu with dropdowns */
.nav__item { position: relative; }
.header__nav a[aria-current="page"] { border-bottom-color: var(--green); }
.has-sub::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.nav__sub { position: absolute; top: 100%; left: -20px; min-width: 250px; padding: 10px 0; background: var(--white); border: 1px solid rgba(0, 0, 0, 0.08); border-top: 2px solid var(--green); box-shadow: 0 14px 30px rgba(39, 49, 59, 0.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.16s ease-out, transform 0.16s ease-out, visibility 0.16s; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.header__nav .nav__sub a { display: block; padding: 9px 20px; border-bottom: 0; white-space: nowrap; }
.header__nav .nav__sub a:hover { background: var(--cream); }
.mobilenav { max-height: calc(100vh - 80px); overflow: auto; }
.mobilenav p { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--slate); margin: 20px 0 2px; }
.mobilenav__cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; }
.mobilenav .mobilenav__cta a { flex: 1 1 160px; display: inline-flex; border-bottom: 1px solid transparent; padding: 10px 16px; color: var(--white); font-size: 16px; }

/* Page openers */
.pagehero { position: relative; height: min(58vh, 540px); min-height: 380px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); background: var(--night); overflow: hidden; }
.pagehero > img, .pagehero > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehero__shade { position: absolute; inset: 0; background: rgba(24, 32, 30, 0.42); }
.pagehero__inner { position: relative; padding: 0 24px; max-width: 980px; }
.pagehero h1 { font-size: clamp(34px, 4.8vw, 62px); letter-spacing: 0.07em; color: var(--white); }
.pagehero .accent { color: var(--white); }
/* A shorter photograph behind the title, where the page's own tool should stay near the top. */
.pagehero--slim { height: min(38vh, 340px); min-height: 250px; }
.intro--slim { padding: 52px 0 16px; }
.pagetitle { padding: 88px 0 64px; }
.pagetitle h1 { font-size: clamp(32px, 4.2vw, 54px); color: var(--slate); }
.pagetitle--tall { padding: 150px 0 160px; }
.pagetitle--slim { padding: 72px 0 44px; }
.intro--page { padding: 80px 0 80px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btns--center { justify-content: center; }
.band--tight { padding: 72px 0; }
.head__lede { max-width: 720px; margin: 22px auto 0; }
.pagephoto { height: min(62vh, 580px); background: var(--night); }
.pagephoto img { width: 100%; height: 100%; object-fit: cover; }
/* Two or three photographs side by side in one band, no words. */
.pagephoto--row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; background: var(--white); }
/* A wide photograph with an upright companion beside it. */
.pagephoto--lead { grid-auto-flow: row; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
/* The owners' own photograph, the two of them in the barn: whole on the story page, a closer square on the homepage.
   Both are made by tools/owners-photo.py, which also takes a coloured party light off one face. */
.story__photo { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
/* The owners' letter with their photograph beside it, and the same pair as a strip on the homepage. */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: center; margin-bottom: 72px; }
.story--strip { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); margin-bottom: 0; }
.story--strip .story__photo { max-width: 360px; }
.story__letter p { font-size: 18px; }
.story__sign { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--slate); }
.story__words h2 { font-size: clamp(26px, 2.6vw, 34px); }
.story__words .brush { margin: 18px 0 24px; width: 240px; }

/* Photo beside a framed panel */
.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.duo__photo { position: relative; min-height: 480px; overflow: hidden; background: #ddd6cc; }
.duo__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo__text { border-left: 0; display: flex; flex-direction: column; justify-content: center; padding: 52px 48px; }
.duo__text h2 { font-size: clamp(26px, 2.6vw, 34px); }
.duo__text .brush { margin: 18px 0 24px; width: 240px; }
.duo--flip .duo__photo { order: 2; }
.duo--flip .duo__text { border-left: 1px solid currentColor; border-right: 0; }
.band--cream .duo__text { background: var(--cream); }
blockquote.pull { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; }

/* Lists */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 28px; }
.glance h3 { font-size: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--slate); }
.glance li { border-bottom: 1px solid var(--rule); padding: 11px 0; font-size: 15px; line-height: 1.5; }
.glance--light h3 { border-bottom-color: rgba(255, 255, 255, 0.8); }
.glance--light li { border-bottom-color: rgba(255, 255, 255, 0.25); }
.twolists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
.twolists h2 { font-size: clamp(26px, 2.6vw, 34px); }
.lines { border-top: 1px solid var(--rule); margin-top: 8px; }
.lines li { border-bottom: 1px solid var(--rule); padding: 12px 0; font-size: 16px; line-height: 1.5; }
.lines a, .visit__slot a, .calendar__note a, .prose a, .intro p:not(.btns) a { color: var(--green); text-underline-offset: 3px; }
.lines--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 0; align-self: center; }
.lines--two li { border-bottom: 0; border-top: 1px solid var(--rule); }
.tour-lines { margin-top: 32px; }
.tour-open { margin: 44px 0 0; }
.tour-open + .opendays { margin-top: 12px; }
.visit__slot { margin: 22px 0 0; font-size: 15px; }
.info__more { margin: 18px 0 0; }
.faq__more { margin: 32px 0 0; }
.linklike { background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Price list */
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--slate); }
.rates__col { padding: 36px 32px 40px; border-left: 1px solid var(--rule); }
.rates__col:nth-child(3n + 1) { border-left: 0; }
.rates__col:nth-child(n + 4) { border-top: 1px solid var(--rule); }
.rates__season { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; padding-bottom: 16px; border-bottom: 1px solid var(--slate); font-family: var(--serif); color: var(--slate); }
.rates__season span:first-child { text-transform: uppercase; letter-spacing: 0.08em; font-size: 21px; line-height: 1.2; }
.rates__season span:last-child { font-style: italic; font-size: 15px; letter-spacing: 0.04em; }
.rate { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; font-family: var(--serif); font-size: 18px; color: var(--slate); }
.rate i { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(81, 97, 112, 0.6); transform: translateY(-4px); }
.rate b { font-weight: 400; font-size: 22px; white-space: nowrap; }
.rate__note { font-size: 14px; line-height: 1.5; color: #6b6b6b; margin: 2px 0 0; }
/* What the price covers, at the head of each card: said plainly, before the numbers. */
.rates__what { font-size: 16px; line-height: 1.5; color: var(--text); margin: 0 0 14px; }
.rate + .rate__note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.rates__foot { margin-top: 24px; }
.rates__go { margin: 16px 0 0; font-family: var(--serif); font-size: 15px; }
.rates__go a { color: var(--green); text-underline-offset: 3px; }
#prices .tabs { margin-bottom: 28px; }
#prices .tabs button { font-size: 18px; }

/* Bedrooms */
.rooms { border-top: 1px solid var(--slate); }
.rooms > div { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.rooms dt b { display: block; font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; font-size: 20px; line-height: 1.25; color: var(--slate); }
.rooms dt span { font-family: var(--serif); font-style: italic; letter-spacing: 0.06em; font-size: 15px; color: var(--slate); }
.rooms dd { font-size: 16px; line-height: 1.7; }
.rooms__after { margin-top: 44px; }

/* The film on its own page */
.tour { display: grid; grid-template-columns: auto minmax(0, 520px); gap: 64px; align-items: center; justify-content: center; }
.tour__film { height: min(76vh, 700px); aspect-ratio: 9 / 16; background: #000; }
.tour__film iframe, .tour__film video { width: 100%; height: 100%; border: 0; display: block; }
.tour__film video { object-fit: cover; background: #000; }
/* A film that waits to be asked for: a photograph and a play button, and the player is only fetched on the press. */
.vfacade { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.vfacade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.84; transition: opacity 0.2s ease-out; }
.vfacade:hover img, .vfacade:focus-visible img { opacity: 1; }
.vfacade__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 1px solid var(--white); background: rgba(24, 32, 30, 0.56); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background-color 0.16s ease-out, color 0.16s ease-out; }
.vfacade:hover .vfacade__play, .vfacade:focus-visible .vfacade__play { background: var(--white); color: var(--slate); }
.vfacade__play .play { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 5px; }
.tour__text { padding: 48px; }
.tour__text h2 { font-size: clamp(26px, 2.6vw, 34px); }
.tour__text .brush { margin: 18px 0 24px; width: 240px; }

/* Gallery and lightbox */
.gallery__lede { max-width: 640px; margin: 0 auto 40px; }
.gallery__grid { columns: 4 240px; column-gap: 12px; }
/* The place kept for a real-weddings reel. It stays hidden until there is a film to put in it. */
.gallery__reel { max-width: 960px; aspect-ratio: 16 / 9; margin: 0 auto 40px; background: var(--night); }
.gallery__item { display: block; margin: 0 0 12px; break-inside: avoid; background: var(--cream); overflow: hidden; }
.gallery__item img { width: 100%; height: auto; transition: transform 0.4s ease-out, opacity 0.2s ease-out; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__after { margin-top: 48px; }
.photogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photogrid .gallery__item { margin: 0; }
.photogrid .gallery__item img { height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Any photograph on the site opens in this. On a phone it fills the screen. */
.lightbox { border: 0; padding: 0; margin: 0; background: transparent; color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: hidden; overscroll-behavior: contain; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8, 10, 12, 0.96); }
.lightbox img { max-width: 86vw; max-height: calc(100vh - 176px); object-fit: contain; cursor: pointer; }
.lightbox__bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); transition: opacity 0.2s ease-out; }
.lightbox__cap { margin: 0; min-width: 150px; max-width: min(60vw, 520px); text-align: center; font-family: var(--serif); font-size: 16px; line-height: 1.35; color: #fff; }
.lightbox__cap i { display: block; margin-top: 2px; font-style: normal; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; opacity: 0.7; }
.lightbox .arrow { border-color: transparent; }
.lightbox.is-single .arrow { visibility: hidden; }
.lightbox.is-loading img { opacity: 0.25; }
.lightbox.is-clean .lightbox__bar, .lightbox.is-clean .lightbox__close { opacity: 0; pointer-events: none; }
.is-zoom, .stage__imgs, .stay__photo #fhImgs, .gallery__item { cursor: zoom-in; }
.lightbox__close { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; min-width: 44px; min-height: 44px; transition: opacity 0.2s ease-out; background: none; border: 0; color: #fff; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; padding: 8px; }

/* Journal */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.card { display: block; text-decoration: none; background: var(--white); padding-bottom: 28px; }
.card img, .card__blank { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--slate); margin-bottom: 22px; }
.card > p, .card > h3 { margin-left: 24px; margin-right: 24px; }
.card__date { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; transition: color 0.16s ease-out; }
.card:hover h3 { color: var(--green); }
.card > p:last-child { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.post__hero { width: 100%; max-height: 600px; object-fit: cover; margin-bottom: 56px; }
.prose { font-size: 17px; padding-bottom: 8px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose ul { margin: 0 0 18px; }
.prose li { list-style: disc; margin: 0 0 6px 22px; }
.prose--legal { font-size: 15px; padding-bottom: 104px; }
.prose--legal h2 { font-size: 22px; }
.prose--legal h3 { font-size: 18px; }
.post__back { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 104px; }

/* Enquiry forms */
.enq { background: var(--white); position: relative; }
.enq h3, .enq h2 { margin-bottom: 10px; }
/* The form in the enquiry window is titled with an h2, set at the size its h3 had. */
.enq h2 { font-size: 24px; }
.enq__fields { margin-top: 20px; }
.field textarea { padding: 12px 14px; min-height: 96px; resize: vertical; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); color: var(--white); font: inherit; font-size: 16px; line-height: 1.5; width: 100%; }
.field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field--dark select, .field--dark textarea { border-color: var(--rule); background: var(--white); color: var(--text); color-scheme: light; }
.enq__error { color: #9b2c2c; font-size: 15px; margin: 0 0 12px; }
.enq__thanks { padding: 20px 0 4px; }
.enq__thanks:focus { outline: 0; }
.enq__thanks-title { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.06em; font-size: 30px; line-height: 1.15; color: var(--green) !important; margin: 0 0 10px; }
.enq button[type="submit"][disabled] { opacity: 0.6; cursor: default; }
.enquire { border: 0; border-top: 3px solid var(--green); padding: 0; width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--text); }
.enquire::backdrop { background: rgba(10, 14, 16, 0.72); }
.enquire .enq { padding: 40px 44px 44px; }
.enquire .enq h3, .enquire .enq h2 { padding-right: 64px; }
.enquire__close { position: absolute; top: 16px; right: 18px; background: none; border: 0; padding: 8px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--slate); }

/* Stays calendar */
.calendar { background: var(--white); border: 1px solid var(--rule); padding: 28px; min-height: 440px; }
.calendar__note { margin-top: 18px; }

/* Contact */
.routes-band { padding: 0 0 80px; }
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--slate); }
.routes a { display: flex; flex-direction: column; gap: 4px; padding: 28px 26px 30px; text-decoration: none; border-left: 1px solid var(--rule); transition: background-color 0.16s ease-out; }
.routes a:first-child { border-left: 0; }
.routes a:hover { background: var(--cream); }
.routes span { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--slate); }
.routes b { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; font-size: 20px; line-height: 1.25; color: var(--slate); }
.contact__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 58%; margin-top: 36px; }

/* Local test inbox */
.inbox { display: grid; gap: 16px; max-width: 860px; margin: 28px auto 0; }
.inbox__item { background: var(--white); border: 1px solid var(--rule); padding: 26px 30px; }
.inbox__meta { font-size: 13px; color: #6b6b6b; margin: 0 0 6px; }
.inbox__item h3 { font-size: 20px; margin-bottom: 14px; }
.inbox__item dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.inbox__item dt { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--slate); padding-top: 3px; }
.inbox__item dd { overflow-wrap: anywhere; white-space: pre-line; }

/* Footer additions */
.footer nav p { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: rgba(255, 255, 255, 0.66); margin: 0 0 4px; }
.footer nav .footer__gap { margin-top: 20px; }
.footer__social { display: flex; gap: 20px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 13px; }
.footer__legal span { margin-right: auto; }

/* What is new: the homepage review switch */
.whatsnew { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 56; display: inline-flex; align-items: center; gap: 10px; padding: 8px 9px 8px 14px; border: 0; border-radius: 0 22px 22px 0; background: #16191c; color: #fff; font-size: 13px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.whatsnew b { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; }
.whatsnew[aria-pressed="true"] { background: var(--gold); }
.whatsnew[aria-pressed="true"] b { background: #16191c; }

/* Wide tablet: the menu folds away before it crowds the buttons. Its words never break onto a second line.
   The menu has seven words since Events joined it, and the header is never wider than 1240px, so on a desktop the
   words are set at 15px with 20px between them (1222px in all), closer still up to 1260px (1178px), and below
   1221px the menu folds. A longer or an eighth word means working these numbers out again. */
.header__nav .nav__item > a, .header__cta .btn { white-space: nowrap; }
@media (max-width: 1220px) {
  .header__nav { display: none; }
  .header__menu { display: flex; }
}
@media (min-width: 1221px) {
  .header__nav .nav__item > a { font-size: 15px; }
  .header__in, .header__nav { gap: 20px; }
}
@media (min-width: 1221px) and (max-width: 1260px) {
  .header__in { gap: 16px; }
  .header__nav { gap: 14px; }
}

/* One way to book a viewing. With no form beside them, the words and their one button sit in the middle.
   With our own form beside them, the form's button is the one button. */
@media (min-width: 1081px) {
  .visit__grid > div:only-child { grid-column: 1 / -1; justify-self: center; max-width: 620px; text-align: center; }
  .visit__grid > div:only-child .brush { margin-left: auto; margin-right: auto; }
  .visit__grid > div:only-child .btns { justify-content: center; }
}
.visit__grid > div:not(:only-child) > .btns { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .story, .story--strip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .story--strip .story__words { text-align: center; }
  .story--strip .story__words .brush { margin-left: auto; margin-right: auto; }
  .story--strip .btns { justify-content: center; }
  .duo, .twolists, .tour { grid-template-columns: minmax(0, 1fr); }
  .twolists { gap: 48px; }
  .duo__photo { min-height: 0; aspect-ratio: 3 / 2; }
  .duo--flip .duo__photo { order: 0; }
  .duo__text, .duo--flip .duo__text { border: 1px solid currentColor; border-top: 0; }
  .tour { gap: 40px; }
  .tour__film { justify-self: center; max-width: 100%; }
  .rates { grid-template-columns: minmax(0, 1fr); }
  .rates__col { border-left: 0; border-top: 1px solid var(--rule); }
  .rates__col:first-child { border-top: 0; }
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routes a:nth-child(odd) { border-left: 0; }
  .routes a:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__badges { flex-direction: row; }
  .whatsnew { display: none; }
}

/* Phone */
@media (max-width: 720px) {
  .pagehero { height: 46vh; min-height: 300px; }
  .pagetitle { padding: 56px 0 40px; }
  .pagetitle--tall { padding: 88px 0 96px; }
  .intro--page { padding: 56px 0; }
  .band--tight { padding: 48px 0; }
  .btns .btn { flex: 1 1 100%; }
  .pagephoto { height: 44vh; }
  .pagephoto--row { height: auto; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .pagephoto--row img { height: auto; aspect-ratio: 1 / 1; }
  .pagephoto--row .pagephoto__wide { grid-column: 1 / -1; order: -1; aspect-ratio: 3 / 2; }
  .pagephoto--row .pagephoto__tall { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .duo__text { padding: 28px 24px; }
  .duo__text .brush, .tour__text .brush { margin: 14px 0 20px; width: 200px; }
  .glance { gap: 28px; }
  .lines--two { grid-template-columns: minmax(0, 1fr); }
  .rates__col { padding: 28px 22px 30px; }
  .rate { font-size: 17px; gap: 8px; }
  /* A long name takes two lines, so a row never runs off the side of a phone. */
  .rate span { min-width: 0; }
  .rate i { min-width: 8px; }
  .rate b { font-size: 20px; }
  .rooms > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
  .tour__film { height: auto; width: min(100%, 340px); }
  /* The venue tour: the title block is kept small, so the whole film and its controls sit above the
     action bar on a phone's first screen. */
  .pagehero--slim { height: auto; min-height: max(24vh, 180px); padding: 18px 0; }
  /* A longer heading stays inside it: smaller letters, so it runs to three lines and not four. */
  .pagehero--slim h1 { font-size: 28px; }
  .intro--slim { padding: 26px 0 0; }
  .pagetitle--film { padding: 14px 0 12px; }
  .pagetitle--film .accent { font-size: 15px; }
  .pagetitle--film h1 { font-size: 22px; }
  .pagetitle--film .brush { display: none; }
  .pagetitle--film h1 + .brush + p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
  .band--film { padding-top: 12px; }
  .tour__film--fit { width: auto; max-width: 100%; height: min(604px, calc(100vh - 392px)); height: min(604px, calc(100svh - 392px)); min-height: 280px; }
  .tour__text { padding: 28px 24px; }
  .gallery__grid { columns: 2; column-gap: 8px; }
  .gallery__item { margin-bottom: 8px; }
  .photogrid { gap: 8px; }
  .lightbox::backdrop { background: #000; }
  .lightbox img { max-width: 100vw; max-height: 100vh; }
  .lightbox__bar { gap: 14px; padding-top: 34px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)); }
  .lightbox__cap { font-size: 15px; min-width: 0; flex: 1 1 auto; max-width: none; }
  .lightbox__close { background: rgba(0, 0, 0, 0.4); border-radius: 22px; padding: 8px 14px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .post__hero { margin-bottom: 36px; }
  .post__back { margin-bottom: 72px; }
  .prose--legal { padding-bottom: 72px; }
  .enquire .enq { padding: 32px 22px 28px; }
  .calendar { padding: 12px; margin: 0 -8px; }
  .routes-band { padding-bottom: 56px; }
  .routes a { padding: 20px 16px 22px; }
  .routes b { font-size: 17px; }
  .inbox__item { padding: 20px; }
  .inbox__item dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { margin-top: 32px; }
  .footer__legal span { flex-basis: 100%; }
  .mobilebar--two { grid-template-columns: 1fr 1.2fr; }
}

/* ---- Weddings or stays ------------------------------------------------------------------------------------------
   The switch sits above the title on the two opening pages (the homepage for weddings, Stay with us for stays) and
   leads from one to the other. The doors are the same choice with photographs, under the homepage's opening words. */
.sides { display: inline-flex; margin: 0 0 26px; border: 1px solid rgba(255, 255, 255, 0.78); border-radius: 3px; overflow: hidden; }
.sides a { min-width: 136px; padding: 11px 22px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.16em; font-size: 14px; line-height: 1.4; color: var(--white); text-decoration: none; }
.sides a + a { border-left: 1px solid rgba(255, 255, 255, 0.78); }
.sides a[aria-current] { background: var(--white); color: var(--slate); }
.sides a:not([aria-current]):hover { background: rgba(255, 255, 255, 0.18); }
.hero--stay h1 { font-size: clamp(30px, 4.2vw, 54px); }
/* The home page paragraph under the heading is a few words longer than it was, so it is given a little more width and stays four rows on a desktop. */
main[data-page="index"] .hero__lede { max-width: 690px; }
.hero--stay .hero__img { object-position: center 58%; }
/* The events page's title is a full sentence, so it is set a size down. Three sides in the switch, each a little narrower. */
.hero--events h1 { font-size: clamp(26px, 3.5vw, 46px); }
.hero--events .hero__img { object-position: center 62%; }
.sides a { min-width: 124px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.door { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); color: var(--white); text-decoration: none; }
.door > img, .door > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 26, 24, 0.78), rgba(20, 26, 24, 0.06) 64%); }
.door:hover > img, .door:hover > picture > img { transform: scale(1.04); }
.door__words { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 28px 30px; text-align: left; }
.door__words b { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; font-size: 34px; line-height: 1.1; }
.door__words span { font-size: 16px; line-height: 1.5; }
.door__words em { align-self: flex-start; margin-top: 8px; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, 0.85); font-family: var(--serif); font-style: normal; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .door > img, .door > picture > img { transition: none; } .door:hover > img, .door:hover > picture > img { transform: none; } }
@media (max-width: 720px) {
  /* The switch takes the room the title's top margin had, so the buttons below stay on the first screen. */
  .hero--sides { padding-top: 36px; }
  .sides { margin-bottom: 22px; }
  .sides a { min-width: 128px; padding: 13px 18px; }
  .doors { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
  .door { aspect-ratio: 16 / 10; }
  .door__words { padding: 18px 20px; }
  .door__words b { font-size: 28px; }
  .door__words span { font-size: 15px; }
}
/* The house's stonework is busy behind the words, so its shade is a little deeper than the homepage's photograph needs. */
.hero--stay .hero__shade { background: rgba(20, 26, 24, 0.5); }
/* Its second line breaks evenly, so no word is left alone on a phone. */
.hero--stay h1, .hero--stay .hero__sub { text-wrap: balance; }
/* Six short lists sit three to a row, so none is left alone on a second line. */
.glance--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .glance--three { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* ---- A shorter page on a phone ----------------------------------------------------------------------------------
   Long lists fold on a phone and open on a tap (the script adds the controls; without it everything stays open).
   On a wide screen each of these looks and behaves as it always did. */
.footer__fold > summary { display: block; list-style: none; margin: 0 0 12px; pointer-events: none; font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: rgba(255, 255, 255, 0.66); }
.footer__fold > summary::-webkit-details-marker { display: none; }
.footer__links { display: grid; gap: 8px; }
.footer__fold--gap { margin-top: 20px; }
.faq__all { display: none; margin: 22px 0 0; text-align: center; }
.glance__toggle { all: unset; display: block; pointer-events: none; }
@media (max-width: 720px) {
  /* The footer: three headings, each opening its links. */
  .footer nav { gap: 0; }
  .footer nav + nav { margin-top: -32px; }
  .footer__fold { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
  .footer nav:first-of-type .footer__fold { border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .footer__fold--gap { margin-top: 0; }
  .footer__fold > summary { display: flex; justify-content: space-between; align-items: center; min-height: 50px; margin: 0; pointer-events: auto; cursor: pointer; font-size: 13px; color: rgba(255, 255, 255, 0.9); }
  .footer__fold > summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(#fff, #fff) center / 12px 1px no-repeat, linear-gradient(#fff, #fff) center / 1px 12px no-repeat; transition: transform 0.2s ease-out; }
  .footer__fold[open] > summary::after { transform: rotate(45deg); }
  .footer__links { gap: 0; padding-bottom: 10px; }

  /* Questions: six, then a button for the rest. */
  .faq__list.is-folded details:nth-of-type(n + 7) { display: none; }
  .faq__list.is-folded + .faq__all { display: block; }

  /* "At a glance": headings that open their lists. */
  .glance.is-fold { gap: 0; border-top: 1px solid var(--slate); }
  .glance.is-fold > div { border-bottom: 1px solid var(--rule); }
  .glance.is-fold h3 { padding-bottom: 0; border-bottom: 0; }
  .glance.is-fold .glance__toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; box-sizing: border-box; width: 100%; min-height: 54px; pointer-events: auto; cursor: pointer; }
  .glance.is-fold .glance__toggle::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--slate), var(--slate)) center / 13px 1px no-repeat, linear-gradient(var(--slate), var(--slate)) center / 1px 13px no-repeat; transition: transform 0.2s ease-out; }
  .glance.is-fold > div.is-open .glance__toggle::after { transform: rotate(45deg); }
  .glance.is-fold .glance__toggle:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
  .glance.is-fold ul { display: none; }
  .glance.is-fold > div.is-open ul { display: block; padding-bottom: 10px; }
  .glance.is-fold li:last-child { border-bottom: 0; }

  /* The homepage's journal: one card at a time, the next one showing at the edge, swiped sideways. */
  #journal .cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #journal .cards::-webkit-scrollbar { display: none; }
  #journal .card { flex: 0 0 80%; scroll-snap-align: start; }

  /* The homepage's viewing form: its button ("Book a private viewing") leads to the form on its own page. */
  main[data-page="index"] .visit__grid > form, main[data-page="index"] .visit__grid > .enq--vf { display: none; }
  main[data-page="index"] .visit__grid > div > .btns { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .footer__fold > summary::after, .glance.is-fold .glance__toggle::after { transition: none; } }

/* ---- Weddings or stays, on every page ---------------------------------------------------------------------------
   Two small tabs at the left of the top strip. The one for the half of the site you are in is filled. (The larger
   switch above the title stays on the two opening pages.) */
.utility__in { align-items: center; }
.utility__sides { display: flex; flex: none; align-self: stretch; margin: -8px 0; border-left: 1px solid rgba(81, 97, 112, 0.22); border-right: 1px solid rgba(81, 97, 112, 0.22); }
.utility__sides a { display: flex; align-items: center; padding: 0 14px; font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--slate); }
.utility__sides a + a { border-left: 1px solid rgba(81, 97, 112, 0.22); }
.utility__sides a:hover { text-decoration: none; background: rgba(81, 97, 112, 0.12); }
.utility__sides a[aria-current], .utility__sides a[aria-current]:hover { background: var(--slate); color: var(--white); }
.utility__light { margin-right: auto; }
.utility__address { white-space: nowrap; }
.utility__short { display: none; }
@media (max-width: 720px) {
  /* On a phone the strip has no padding of its own, so it is given a little: the tabs need room for a thumb. */
  .utility__in { padding-top: 7px; padding-bottom: 7px; }
  .utility__sides { margin: -7px 0; }
  .utility__sides a { padding: 0 13px; }
  .utility__light { margin-right: 0; margin-left: auto; text-align: right; }
  .utility__address { display: none; }
  .utility__long { display: none; }
  .utility__short { display: inline; }
}
/* A long page heading breaks into even lines. */
.pagehero h1 { text-wrap: balance; }
/* On a phone the tabs in the top strip sit just above the title, so the larger switch is not repeated below them:
   that keeps the buttons on the first screen. */
@media (max-width: 720px) { .sides { display: none; } .hero--sides { padding-top: 64px; } }

/* ---- The walk-through film inside a block of words (the builder page): upright, centred, never taller than the screen. */
.walkfilm { height: min(64vh, 520px); aspect-ratio: 9 / 16; margin: 28px auto 34px; background: #000; }
.walkfilm video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 720px) { .walkfilm { height: min(62vh, 460px); margin: 22px auto 28px; } }

/* ------------------------------ the way into the wedding builder ------------------------------ */

/* At the corner of the screen on every page of the wedding side (tools/build.mjs: dream()). It stays in view like a
   chat button, under the header and the dialogs, and above the phone bar on a phone. */
.dream { position: fixed; right: 20px; bottom: 16px; z-index: 44; display: inline-flex; align-items: center; gap: 12px; padding: 9px 22px 8px 12px; background: var(--green); color: var(--white); border-radius: 3px; box-shadow: 0 10px 28px rgba(39, 49, 59, 0.3); font-family: var(--serif); font-size: 18px; line-height: 1.3; letter-spacing: 0.03em; text-decoration: none; transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out; animation: dream-in 0.6s 1s ease-out both; }
.dream:hover { background: var(--night); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(39, 49, 59, 0.36); }
.dream:focus-visible { outline: 2px solid var(--white); outline-offset: -5px; }
/* A low sun, as in the builder's sky. */
.dream__sun { flex: none; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle, #f8e2a8 0 34%, rgba(240, 195, 90, 0.5) 36% 54%, rgba(240, 195, 90, 0) 70%); }
@keyframes dream-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .dream { right: 12px; bottom: calc(58px + env(safe-area-inset-bottom) + 12px); gap: 8px; padding: 8px 14px 7px 8px; font-size: 15px; box-shadow: 0 6px 18px rgba(39, 49, 59, 0.32); }
  .dream__sun { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .dream { animation: none; transition: none; } }
@media print { .dream { display: none; } }

/* Between a phone and a full desktop the top strip keeps to one line: the short daylight words, and nothing wraps.
   (At these widths it used to wrap to three lines, which made the Weddings and Stays tabs three lines tall.) */
@media (min-width: 721px) and (max-width: 1260px) {
  .utility__long { display: none; }
  .utility__short { display: inline; }
  .utility__light, .utility__contact { white-space: nowrap; }
  .utility__contact { gap: 18px; margin-left: auto; }
}
/* The address always stays. As the strip narrows the sunset gives way first, then WhatsApp, then the email address:
   with three tabs the strip needs 1060px with all of it, 954px without the sunset, 873px without WhatsApp and 685px
   without the email. */
@media (min-width: 721px) and (max-width: 1080px) {
  .utility__light { display: none; }
}
@media (min-width: 721px) and (max-width: 975px) {
  .utility__contact a[href*="wa.me"] { display: none; }
}
@media (min-width: 721px) and (max-width: 892px) {
  .utility__contact a[href^="mailto:"] { display: none; }
}
/* A small phone: three tabs and the sunset on one line, so the tabs draw in rather than wrap or cut the sunset short. */
@media (max-width: 380px) {
  .utility__sides a { padding: 0 8px; letter-spacing: 0.08em; font-size: 10.5px; }
}
@media (max-width: 340px) {
  .utility__in { gap: 10px; font-size: 11px; }
  .utility__sides a { padding: 0 6px; }
}

/* ------------------------------ VenueFlow's forms, in a frame ------------------------------ */

/* While enquiries go to VenueFlow (site.config.json: "leads"), its own forms stand where this site's forms would.
   Each frame is as tall as the form it holds, with room for the form's own messages, so nothing is cut off. */
.vf { margin-top: 16px; }
.vf__frame { display: block; width: 100%; height: 1180px; border: 0; background: var(--white); }
.vf--tour .vf__frame { height: 1540px; }
.frame.enq--vf { padding: 32px 28px 16px; }
.enquire--vf .enq--vf { padding-bottom: 12px; }
/* The window that sends a wedding plan to the venue's own inbox: the plan sits in the message box, with room to read it. */
#planmail textarea { min-height: 200px; font-size: 14px; line-height: 1.5; }
@media (max-width: 720px) {
  .vf__frame { height: 1240px; }
  .vf--tour .vf__frame { height: 1700px; }
  .frame.enq--vf { padding: 26px 14px 10px; }
}

/* Blackton Grange: phones and touch screens. Loaded last of the shared styles.
   Most visitors arrive on a phone, so this is where thumbs, notches and small print are looked after. */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label { touch-action: manipulation; }
a, button, summary { -webkit-tap-highlight-color: rgba(81, 97, 112, 0.14); }

/* Notches and rounded corners, with the phone held sideways */
.wrap { padding-left: max(32px, env(safe-area-inset-left)); padding-right: max(32px, env(safe-area-inset-right)); }

/* The address bar comes and goes on a phone: these follow the space that is really there */
@supports (height: 100dvh) {
  .mobilenav { max-height: calc(100dvh - 70px); }
  .lightbox { height: 100dvh; }
  .lightbox img { max-height: calc(100dvh - 176px); }
  .enquire { max-height: calc(100dvh - 32px); }
}

/* A finger has no hover, so nothing should stay "hovered" after a tap */
@media (hover: none) {
  /* While a photograph or a form is open over the page, the page behind stays put */
  html:has(dialog[open]) { overflow: hidden; }
  .arrow:hover { background: var(--white); color: var(--slate); }
  .btn--outline:hover { background: transparent; color: var(--slate); }
  .btn--ghost:hover { background: transparent; color: var(--white); }
  .btn--cream:hover { background: var(--cream); }
  .btn--green:hover { background: var(--green); }
  .btn--slate:hover { background: var(--slate); }
  .chips button:hover:not(.is-on) { background: transparent; color: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.35); }
  .tabs button:hover:not(.is-on) { opacity: 0.7; }
  .pin:hover { transform: translate(-50%, -50%); }
  .gallery__item:hover img { transform: none; }
  .routes a:hover { background: transparent; }
}

/* iPhone date fields: full height, text on the left like every other field */
@media (hover: none) and (pointer: coarse) {
  input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 48px; }
  input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}

@media (max-width: 720px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

  /* The bar at the foot of the screen clears the home indicator */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .mobilebar { padding-bottom: env(safe-area-inset-bottom); }

  /* A slimmer header leaves more of the screen for the page */
  .header__in { padding-top: 8px; padding-bottom: 8px; }
  .header__logo { display: flex; align-items: center; min-height: 44px; }
  html { scroll-padding-top: 72px; }

  /* Everything a thumb has to hit is at least 44 points tall */
  .hero { padding-bottom: 112px; }
  .hero__foot { font-size: 12px; letter-spacing: 0.04em; gap: 0; padding: 8px 12px 12px; white-space: nowrap; }
  .hero__foot i { margin: 0 3px; }
  /* The hero's opening words keep to four lines: the drinks sentence is in the paragraph just below the hero. */
  .hero__more { display: none; }
  /* Each review score on a line of its own: together they are wider than a phone. */
  .hero__scores { display: flex; flex-direction: column; align-items: center; }
  .hero__scores i { display: none; }
  .hero__scores a { padding: 3px 0; }
  .hero__foot a { padding: 7px 0; }
  .stop { min-height: 44px; justify-content: flex-end; }
  .stage .arrow { width: 44px; height: 44px; }
  .pin { width: 40px; height: 40px; font-size: 16px; }
  .pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
  .chips button { min-height: 44px; padding: 9px 14px; }
  .tabs button { padding: 13px 0; }
  .opendays button { padding: 12px 0 12px 16px; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; }
  .linklike { padding: 10px 0; }
  .visit__slot a, .calendar__note a, .rates__go a { display: inline-block; padding: 12px 0; }
  .footer nav { gap: 0; }
  .footer nav a { padding: 11px 0; }
  .footer nav p { margin-bottom: 0; }
  .footer nav .footer__gap { margin-top: 16px; }
  .footer p a { display: inline-block; padding: 9px 0; }
  .footer__social { gap: 24px; }
  .footer__legal { gap: 0 22px; }
  .footer__legal a { padding: 11px 0; }
  .footer__legal span { padding: 8px 0; }

  /* A photograph opened on a phone uses the whole screen */
  @supports (height: 100dvh) { .lightbox img { max-height: 100dvh; } }

  /* Small print that was too small */
  .mark { font-size: 10px; }
  .sun span { font-size: 10px; }
  .days { font-size: 11px; }
  .hours { font-size: 12px; }
  .facts3 dd { font-size: 12px; }
}
