/* The Midlands — design tokens and components. See DESIGN.md. */

:root {
  /* Brand palette (exact, from the brand board) */
  --forest: #1F3B2E;
  --cream: #F3EFE6;
  --clay: #B08E7A;
  --ochre: #C8A15A;
  --charcoal: #2B2B2B;
  --mist: #A9B6A6;

  /* Text tints built only from palette colours */
  --text: var(--charcoal);
  --text-soft: rgba(43, 43, 43, .74);
  --line: rgba(31, 59, 46, .16);

  /* Freight Text Pro / GT America are the brand fonts; Newsreader and Inter
     stand in until webfont licences are confirmed. Swap here only. */
  --serif: "Newsreader", "Freight Text Pro", Georgia, serif;
  --sans: "Inter", "GT America", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.005em; color: var(--forest); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--ochre); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }

/* Small labels: sentence case with modest tracking (brief: avoid excessive uppercase) */
.label { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin: 0 0 14px; display: flex; align-items: center; gap: 14px; }
.label::after { content: ""; width: 36px; height: 1px; background: var(--ochre); }
.label.plain::after { display: none; }

.rule { width: 56px; height: 1px; background: var(--ochre); border: 0; margin: 22px 0; }

.lede { font: 400 clamp(19px, 2vw, 22px)/1.6 var(--serif); color: var(--text); max-width: 40em; }

/* Links and buttons */
.link { font: 600 14px/1 var(--sans); letter-spacing: .04em; color: var(--forest); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ochre); }
.link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 24px; border-radius: 2px; font: 600 14px/1 var(--sans); letter-spacing: .06em; text-decoration: none; border: 1px solid var(--forest); background: var(--forest); color: var(--cream); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; }
.btn:hover { background: #2a4a3b; }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: rgba(31, 59, 46, .06); }
.on-dark .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.on-dark .btn:hover { background: #fff8ec; }
.on-dark .btn.ghost { background: transparent; color: var(--cream); border-color: rgba(243, 239, 230, .7); }
.on-dark .btn.ghost:hover { background: rgba(243, 239, 230, .1); }

/* Preview banner */
.preview-bar { background: var(--mist); color: var(--charcoal); font: 500 13px/1.5 var(--sans); text-align: center; padding: 8px var(--gutter); }

/* ---------------------------------------------------------------- Header */
.site-head { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.head-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 96px; gap: 24px; }
.head-nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.head-nav.right { justify-content: flex-end; }
.head-nav a { font: 500 13.5px/1 var(--sans); letter-spacing: .06em; color: var(--charcoal); text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.head-nav a:hover { color: var(--forest); border-bottom-color: var(--ochre); }
.head-nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--ochre); }
.brand { display: block; line-height: 0; }
.brand img { height: 68px; width: auto; }
.brand .stacked { display: none; }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .head-inner { grid-template-columns: auto 1fr; min-height: 68px; }
  .head-nav { display: none; }
  .brand .horizontal { display: none; }
  .brand .stacked { display: block; height: 38px; }
  .menu-btn { display: inline-flex; justify-self: end; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: var(--forest); color: var(--cream); border: 0; border-radius: 2px; font: 600 13px/1 var(--sans); letter-spacing: .08em; cursor: pointer; }
  .menu-btn i { display: grid; gap: 4px; }
  .menu-btn i span { display: block; width: 18px; height: 1.5px; background: currentColor; }
}

.menu { position: fixed; inset: 0; z-index: 60; background: var(--forest); color: var(--cream); padding: 20px var(--gutter) 40px; overflow-y: auto; display: none; }
.menu.open { display: block; }
.menu-top { display: flex; justify-content: flex-end; }
.menu-close { min-height: 44px; padding: 0 14px; background: transparent; color: var(--cream); border: 1px solid rgba(243, 239, 230, .5); border-radius: 2px; font: 600 13px/1 var(--sans); letter-spacing: .08em; cursor: pointer; }
.menu nav { margin-top: 32px; display: grid; }
.menu nav a { font: 400 32px/1.2 var(--serif); color: var(--cream); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(243, 239, 230, .14); }
.menu nav a[aria-current="page"] { color: var(--ochre); }
.menu .menu-foot { margin-top: 32px; font-size: 15px; opacity: .85; }
.menu .menu-foot a { color: var(--cream); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center; color: var(--cream); overflow: hidden; background: var(--forest); }
.hero > picture img, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 32, 26, .8) 0%, rgba(20, 32, 26, .55) 40%, rgba(20, 32, 26, 0) 72%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 560px; padding: 80px 0 120px; }
.hero h1 { color: var(--cream); font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; }
.hero h1 em { color: var(--ochre); font-style: italic; display: block; }
.hero .rule { margin: 28px 0; }
.hero p { font-size: clamp(17px, 1.6vw, 19px); max-width: 30em; color: rgba(243, 239, 230, .94); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero.short { min-height: clamp(380px, 56vh, 540px); }
.hero.short .hero-copy { padding: 64px 0 88px; }

.hero > .ai-tag { top: 14px; bottom: auto; right: 14px; }
.ai-tag { position: absolute; z-index: 3; right: 12px; bottom: 12px; font: 500 11.5px/1 var(--sans); letter-spacing: .04em; color: var(--cream); background: rgba(31, 59, 46, .78); padding: 6px 9px; border-radius: 2px; pointer-events: none; }

/* ------------------------------------------------------------ Media */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a:hover .media img { transform: scale(1.025); }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1 { aspect-ratio: 1; }
.placeholder-img { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font: 500 12.5px/1.5 var(--sans); letter-spacing: .06em; color: var(--forest); background: var(--mist); }
.ph { font-family: var(--sans); font-size: .82em; font-weight: 500; letter-spacing: .02em; color: var(--forest); background: rgba(169, 182, 166, .45); padding: 1px 6px; border-radius: 2px; white-space: normal; }

/* ------------------------------------------------- Featured story panel */
.feature { position: relative; z-index: 5; margin-top: -88px; }
.feature-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--cream); padding: clamp(14px, 1.6vw, 18px); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); text-decoration: none; }
.feature-card .media { aspect-ratio: 16 / 10; }
.feature-card .copy { padding: 16px clamp(8px, 2vw, 32px) 16px 0; }
.feature-card h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.feature-card p { color: var(--text-soft); max-width: 32em; }

/* -------------------------------------------------------- Section heads */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 18em; }
.sec-head p { color: var(--text-soft); max-width: 34em; margin: 14px 0 0; }

/* ------------------------------------------------------ Explore tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--cream); text-decoration: none; background: var(--forest); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 32, 26, 0) 40%, rgba(20, 32, 26, .82) 100%); }
.tile .t { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; }
.tile h3 { color: var(--cream); font-size: 26px; margin-bottom: 6px; }
.tile p { font-size: 14px; line-height: 1.45; margin: 0; color: rgba(243, 239, 230, .9); }
.tile .ai-tag { top: 10px; bottom: auto; right: 10px; }

/* ---------------------------------------------------------- Event rows */
.events-list { border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 92px 180px 1fr auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.date-box { text-align: center; border: 1px solid var(--line); border-radius: 2px; padding: 12px 6px; background: rgba(255, 255, 255, .25); }
.date-box b { display: block; font: 400 34px/1 var(--serif); color: var(--forest); }
.date-box b.range { font-size: 24px; white-space: nowrap; }
.date-box span { display: block; font: 600 11.5px/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }
.event-row .media { aspect-ratio: 3 / 2; }
.event-row h3 { font-size: 23px; margin-bottom: 6px; }
.event-row .meta { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.event-row .cat { font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }

.event-row.no-img { grid-template-columns: 92px 1fr auto; }
.event-row[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.filters button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: transparent; border-radius: 2px; font: 500 14px/1 var(--sans); color: var(--charcoal); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.note { border-left: 2px solid var(--ochre); padding: 4px 0 4px 18px; color: var(--text-soft); font-size: 15.5px; margin: 28px 0 0; max-width: 46em; }

/* ------------------------------------------------------- Place cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { text-decoration: none; display: block; position: relative; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a.stretch::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 4px; }
.dir-item h3 a, .event-row h3 a { color: inherit; text-decoration: none; }
.dir-item h3 a:hover, .event-row h3 a:hover { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 4px; }
.card .media { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.card .kicker { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin-bottom: 10px; display: block; }
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 16px; margin: 0; }
.card .meta { font-size: 14px; color: var(--text-soft); margin-top: 10px; }

/* ------------------------------------------------------- Split panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .media { aspect-ratio: 5 / 4; }
.split h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.split p { color: var(--text-soft); }
.split .actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 24px; align-items: center; }
.split.reverse > :first-child { order: 2; }

.mist-panel { background: rgba(169, 182, 166, .32); }
.forest-panel { background: var(--forest); color: var(--cream); }
.forest-panel h2, .forest-panel h3 { color: var(--cream); }
.forest-panel p { color: rgba(243, 239, 230, .88); }
.forest-panel .label { color: var(--cream); }

/* --------------------------------------------------------- Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px); border-radius: var(--radius); }
.newsletter h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 12px; }
.newsletter h2 em { color: var(--ochre); }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { font: 500 14px/1.4 var(--sans); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 2px; border: 1px solid rgba(31, 59, 46, .35); background: #fffdf8; color: var(--charcoal); }
.forest-panel .field input { border-color: rgba(243, 239, 230, .5); background: rgba(243, 239, 230, .06); color: var(--cream); }
.forest-panel .field input::placeholder { color: rgba(243, 239, 230, .6); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 6px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--ochre); }
.form-status { font-size: 14.5px; margin: 14px 0 0; min-height: 1.5em; }

/* -------------------------------------------------------------- Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: var(--section); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.foot-grid img { width: 210px; height: auto; margin-bottom: 20px; }
.foot-grid h4 { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; font-size: 15.5px; }
.foot-grid a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 4px; }
.foot-grid p { font-size: 15.5px; color: var(--text-soft); max-width: 24em; }
.foot-bar { background: var(--forest); color: var(--cream); font-size: 13.5px; }
.foot-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; }
.foot-bar a { color: var(--cream); text-decoration: none; margin-left: 20px; }
.foot-bar a:hover { text-decoration: underline; }

/* Guides */
.guide { max-width: 980px; margin: 0 auto; }
.guide-sec { margin-top: clamp(48px, 6vw, 72px); }
.guide-sec h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 12px; }
.guide-sec .lede { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 500 20px/1.4 var(--serif); color: var(--forest); }
.faq details p { margin: 10px 0 0; color: var(--text-soft); }

/* Social links: icon and label, no box */
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font: 500 14.5px/1 var(--sans); color: var(--forest); }
.social a span:not(.sr-only) { border-bottom: 1px solid transparent; padding: 2px 0; }
.social a:hover span:not(.sr-only) { border-bottom-color: var(--ochre); }
.social svg { width: 20px; height: 20px; }
.social.on-dark a { color: var(--cream); }

/* ------------------------------------------------------ Article pages */
.article-head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 44px); max-width: 860px; }
.article-head h1 { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 20px; }
.article-head .byline { font-size: 14.5px; color: var(--text-soft); }
.article-hero { aspect-ratio: 16 / 8; }
.prose { max-width: 680px; margin: clamp(36px, 5vw, 64px) auto 0; font: 400 19px/1.75 var(--serif); }
.prose p { margin-bottom: 1.2em; }
.prose ol { padding: 0; list-style: none; counter-reset: n; }
.prose ol li { counter-increment: n; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); position: relative; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 18px; font: 400 36px/1 var(--serif); color: var(--ochre); }
.prose ol h3 { font-size: 24px; margin-bottom: 6px; }
.prose ol p { margin: 0; font-size: 17.5px; color: var(--text-soft); }

.page-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(40px, 5.6vw, 70px); max-width: 14em; }
.page-head .lede { margin-top: 18px; }

.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.themes > div { padding: 26px 0; border-top: 1px solid var(--line); }
.themes h3 { font-size: 24px; margin-bottom: 8px; }
.themes p { color: var(--text-soft); font-size: 16px; margin: 0; }

/* Directory (places, agents, estates) */
.dir { border-top: 1px solid var(--line); }
.dir-item { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px clamp(24px, 4vw, 56px); padding: 26px 0; border-bottom: 1px solid var(--line); }
.dir-item[hidden] { display: none; }
.dir-item .kicker { font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); display: block; margin-bottom: 8px; }
.dir-item h3 { font-size: 25px; margin-bottom: 8px; }
.dir-item p { color: var(--text-soft); font-size: 16px; margin: 0; }
.dir-facts { margin: 0 0 12px; display: grid; gap: 6px; font-size: 14.5px; }
.dir-facts div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.dir-facts dt { font-weight: 600; color: var(--forest); }
.dir-facts dd { margin: 0; color: var(--text-soft); }
.dir-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; }
.dir-links a { color: var(--forest); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ochre); padding: 4px 0; }
.dir-filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 8px; }
.dir-filters .filters { margin: 0; }
.dir-count { font-size: 14px; color: var(--text-soft); margin: 4px 0 16px; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: 14px 0; border-top: 1px solid var(--line); font: 400 19px/1.5 var(--serif); }
.source-list { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; }
.source-list li { margin: 4px 0; }

.maker-list { list-style: none; padding: 0; margin: 18px 0 8px; }
.maker-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text-soft); }
.maker-list strong { font: 500 19px var(--serif); color: var(--forest); }
.maker-list span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-left: 6px; }
.agent-box .field input, .agent-box .field textarea { background: #fffdf8; }

/* Property listings */
.listing-card[hidden] { display: none; }
.listing-card .price { font: 500 22px/1.2 var(--serif); color: var(--forest); margin: 8px 0 4px; }
.badge { position: absolute; left: 12px; top: 12px; background: var(--forest); color: var(--cream); font: 600 12px/1 var(--sans); letter-spacing: .06em; padding: 7px 10px; border-radius: 2px; }
.badge.static { position: static; display: inline-block; vertical-align: middle; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 860px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.gallery figure { margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.listing-facts { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.listing-facts div { grid-template-columns: 130px 1fr; }
.agent-box { background: rgba(169, 182, 166, .28); padding: 26px; border-radius: var(--radius); }
.agent-box h3 { font-size: 28px; margin-bottom: 4px; }
.agent-box .dir-facts { margin-top: 16px; }
.agent-box a:not(.btn) { color: var(--forest); }
.agent-box .actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

.legal { max-width: 760px; }
.legal h2 { font-size: 28px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-soft); }

.credits-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.credits-table th, .credits-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table th { font-weight: 600; color: var(--forest); }

/* ------------------------------------------------------- Responsive */
@media (max-width: 1020px) {
  .tiles { grid-template-columns: repeat(5, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .tile { scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero { min-height: 0; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 32, 26, .25) 0%, rgba(20, 32, 26, .78) 70%); }
  .hero > picture img, .hero > img { object-position: 70% center; }
  .hero-copy { padding: 96px 0 104px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .feature { margin-top: -64px; }
  .feature-card, .split, .newsletter { grid-template-columns: 1fr; }
  .feature-card .copy { padding: 4px 8px 12px; }
  .split.reverse > :first-child { order: 0; }
  .sec-head { display: block; }
  .sec-head .link { margin-top: 16px; }
  .cards, .themes { grid-template-columns: 1fr; }
  .dir-item { grid-template-columns: 1fr; }
  .listing-body { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: 88%; }
  .event-row { grid-template-columns: 72px 1fr; gap: 14px 16px; }
  .event-row .media { display: none; }
  .event-row .go { grid-column: 2; }
  .event-row.no-img { grid-template-columns: 72px 1fr; }
  .date-box b { font-size: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bar a { margin: 0 16px 0 0; }
  .prose { font-size: 18px; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: 1fr 1fr; }
}
