/*

 Theme Name:   Nova Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/


@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500&display=swap");

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Colour */
  --color-cream: #F6F1E9;
  /* main page background */
  --color-ivory: #FBF8F3;
  /* alternate sections, cards, forms */
  --color-line: #E3D9CA;
  /* card borders, list dividers */
  --color-line-strong: #D9CDBA;
  /* section dividers */
  --color-ink: #372D1F;
  /* headings, primary text */
  --color-body: #5E554A;
  /* body copy */
  --color-muted: #6E6457;
  /* labels, inactive tabs */
  --color-bronze: #83663E;
  /* accent: buttons, links, eyebrows */
  --color-bronze-dark: #5E4829;
  /* hover */
  --color-espresso: #1E1813;
  /* dark sections, footer */
  --color-night: #10141C;
  /* CTA band fallback */
  --color-gold-light: #E4CFA9;
  /* italic accent on dark */
  --color-gold: #D9C3A0;
  /* eyebrows and borders on dark */
  --color-gold-muted: #C9AE84;
  /* numbers on dark */
  --color-on-dark: #FBF8F3;
  /* headings on dark */
  --color-on-dark-body: #CFC5B6;
  /* body copy on dark */
  --color-on-photo: #EFE7DA;
  /* body copy over photos */
  --line-on-dark: rgba(217, 195, 160, 0.35);

  /* Type */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
  /* 44 → 88px */
  --fs-page-title: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  /* 40 → 76px */
  --fs-h2: clamp(2.125rem, 1.6rem + 2vw, 3.5rem);
  /* 34 → 56px */
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  /* 22 → 28px */
  --fs-lead: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
  /* 16 → 19px */
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  /* 13px uppercase labels */
  --tracking-label: 0.3em;
  --tracking-button: 0.16em;

  /* Layout */
  --container: 1312px;
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 4rem);
  /* 20 → 64px */
  --section-y: clamp(4.5rem, 3rem + 5vw, 7rem);
  /* 72 → 112px */
  --gap: clamp(1.25rem, 0.8rem + 1.4vw, 2rem);
  /* 20 → 32px */
  --header-h: 96px;

  --shadow-lg: 0 30px 60px rgba(20, 15, 12, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-bronze);
  text-decoration: none;
  transition: color .2s var(--ease);
}

a:hover {
  color: var(--color-bronze-dark);
}

:focus-visible {
  outline: 2px solid var(--color-bronze);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-ink);
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--color-bronze);
}

p {
  margin: 0;
}

/* -------------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------------- */
.container:not(.site) {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  background: none;
}


.section {
  padding-block: var(--section-y);
}

.section--ivory {
  background: var(--color-ivory);
}

.section--dark {
  background: var(--color-espresso);
  color: var(--color-on-dark);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap) 4rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.section-head__title {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 52rem;
}

.section-head__text {
  max-width: 30rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--gap);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap) 2.5rem;
}

/* -------------------------------------------------------------------------
   4. Typography helpers
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-bronze);
}

.h2 {
  font-size: var(--fs-h2);
}

.h3 {
  font-size: var(--fs-h3);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  font-weight: 300;
  color: var(--color-body);
  max-width: 40rem;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-bronze);
}

/* Text on dark backgrounds and photos */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: var(--color-on-dark);
}

.section--dark h1 em,
.section--dark h2 em,
.on-dark h1 em,
.on-dark h2 em {
  color: var(--color-gold-light);
}

.section--dark .eyebrow,
.on-dark .eyebrow {
  color: var(--color-gold-muted);
}

.section--dark .lead,
.section--dark p {
  color: var(--color-on-dark-body);
}

.on-dark .lead {
  color: var(--color-on-photo);
}

/* -------------------------------------------------------------------------
   5. Buttons and links
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  padding: 0 2rem;
  border: 1px solid transparent;
  background: var(--color-bronze);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.btn:hover {
  background: var(--color-bronze-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border-color: var(--color-bronze);
  color: var(--color-bronze);
  min-height: 52px;
  padding: 0 1.625rem;
  font-size: var(--fs-label);
}

.btn--outline:hover {
  background: var(--color-bronze);
  color: #fff;
}

.btn--light {
  background: transparent;
  border-color: rgba(251, 248, 243, .6);
  color: var(--color-on-dark);
}

.btn--light:hover {
  background: var(--color-on-dark);
  color: var(--color-ink);
}

.btn--dark {
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.btn--dark:hover {
  background: #000;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-bronze);
}

.link-arrow::after {
  content: "→";
  transition: transform .2s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow--underline {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}

/* -------------------------------------------------------------------------
   6. Header and navigation
   Sits over the hero (transparent). Add .site-header--solid on scroll or on
   pages without a photo hero.
   ------------------------------------------------------------------------- */
.site-header {
  position:absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid rgba(233, 225, 211, .18);
  color: var(--color-on-dark);
  transition: background .3s var(--ease);
  background-color: transparent;
}

.site-header--solid {
  position: sticky;
  top: 0;
  background: var(--color-espresso);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand__mark {
  width: 58px;
  height: auto;
}

.brand__wordmark {
  width: 180px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background-color: transparent;
}

.main-navigation, .main-navigation ul ul {
    background-color: transparent !important;
}


.nav__list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  border-bottom: 1px solid transparent;
  color: var(--color-on-dark);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav__link:hover {
  color: var(--color-gold-light);
}

.nav__link[aria-current="page"] {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-gold);
}

.nav__caret {
  font-size: .7em;
  transition: transform .2s var(--ease);
}

/* Services dropdown */
.nav__item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -1.5rem;
  width: 300px;
  padding: .75rem 0;
  background: var(--color-ivory);
  box-shadow: 0 24px 48px rgba(20, 15, 12, .3);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown,
.nav__item--dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__item--dropdown:hover .nav__caret,
.nav__item--dropdown.is-open .nav__caret {
  transform: rotate(180deg);
}

.dropdown li+li {
  border-top: 1px solid var(--color-line);
}

.dropdown a {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.5rem;
  color: var(--color-ink);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.dropdown a span {
  font-family: var(--font-display);
  font-size: .9375rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-muted);
}

.dropdown a:hover {
  background: var(--color-cream);
  color: var(--color-bronze);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang {
  font-size: var(--fs-label);
  letter-spacing: .14em;
  color: #E9E1D3;
}

.lang a {
  color: inherit;
}

.lang a[aria-current="true"] {
  color: var(--color-gold-light);
}

.btn--header {
  min-height: 46px;
  padding: 0 1.5rem;
  background: transparent;
  border-color: var(--color-gold);
  font-size: var(--fs-label);
}

.btn--header:hover {
  background: var(--color-gold);
  color: var(--color-ink);
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(217, 195, 160, .6);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--color-on-dark);
  transition: transform .2s var(--ease);
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   7. Heroes
   ------------------------------------------------------------------------- */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background: #231C1F;
  color: var(--color-on-dark);
  isolation: isolate;
}

.hero {
  /*min-height: 920px;*/
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: calc(var(--header-h) + 4rem) 3.5rem;
}

.page-hero {
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 4rem) 5.5rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, .8) 0%, rgba(14, 11, 9, .5) 45%, rgba(14, 11, 9, .08) 75%),
    linear-gradient(180deg, rgba(14, 11, 9, .6) 0%, rgba(14, 11, 9, 0) 25%, rgba(14, 11, 9, .2) 55%, rgba(14, 11, 9, .92) 100%);
}

.hero__content,
.page-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 60rem;
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero__title span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-bronze);
}

.page-hero__title {
  font-size: var(--fs-page-title);
  line-height: 1.05;
}

.hero .lead,
.page-hero .lead {
  max-width: 38rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .75rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-on-dark-body);
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: .75rem;
}

.breadcrumb a {
  color: inherit;
}

.breadcrumb [aria-current="page"] {
  color: var(--color-gold-light);
}

/* Three division panels at the bottom of the home hero */
.hero__divisions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}

.hero__division {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  padding: 1.75rem 2rem;
  background: rgba(20, 15, 12, .72);
  color: var(--color-on-dark);
  transition: background .2s var(--ease);
}

.hero__division:hover {
  background: rgba(20, 15, 12, .9);
  color: var(--color-on-dark);
}

.hero__division .eyebrow {
  color: var(--color-gold);
  font-size: .75rem;
}

.hero__division strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
}

.hero__division small {
  font-size: .875rem;
  color: var(--color-on-dark-body);
}

/* -------------------------------------------------------------------------
   8. Cards
   ------------------------------------------------------------------------- */
/* Division card (home "Our divisions") */
.division-card {
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
}

.division-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.division-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 2.25rem 2.25rem 2.5rem;
  flex: 1;
}

.division-card__title {
  font-size: 2rem;
  font-weight: 500;
}

.division-card .link-arrow {
  margin-top: auto;
  padding-top: .5rem;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
  font-size: var(--fs-body);
  color: #4A4136;
}

.service-list li {
  padding: .875rem 0;
  border-bottom: 1px solid var(--color-line);
}

/* Service tile (division pages) */
.service-tile {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  padding: 2.25rem;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
}

.service-tile::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--color-bronze);
}

.service-tile h3 {
  font-size: 1.625rem;
}

.service-tile p {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-body);
}

/* Value / column with top rule */
.value {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line-strong);
}

.value h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

.value p {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--color-body);
}

/* Process steps (dark section) */
.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-dark);
}

.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-gold-muted);
}

.step h3 {
  font-size: 1.75rem;
}

.step p {
  font-size: var(--fs-small);
  line-height: 1.7;
}

.chip {
  align-self: flex-start;
  padding: .375rem .75rem;
  border: 1px solid rgba(217, 195, 160, .45);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.chip--light {
  border-color: var(--color-line-strong);
  color: var(--color-bronze);
}

/* Property card */
.property-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-card__media {
  position: relative;
  overflow: hidden;
}

.property-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.property-card:hover .property-card__media img {
  transform: scale(1.04);
}

.tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: .375rem .75rem;
  background: var(--color-ivory);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.meta-label {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-bronze);
}

.property-card h3 {
  font-size: 1.5625rem;
}

.property-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .875rem;
  color: var(--color-body);
}

.price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-ink);
}

/* Blog post card */
.post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.post-card h3 {
  font-size: 1.5625rem;
  line-height: 1.3;
}

.post-card h3 a {
  color: inherit;
}

.post-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.post-featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-featured h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 1.15;
}

/* Related division (image + text, horizontal) */
.related-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
}

.related-card.light {
   background: var(--color-cream);
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 2rem;
}

/* Team member */
.team-member {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.team-member img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #E9E1D3;
}

.team-member h3 {
  font-size: 1.5rem;
}

/* Mission quote */
.quote {
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.625rem, 1rem + 2.4vw, 2.75rem);
  line-height: 1.3;
  color: var(--color-on-dark);
}

/* -------------------------------------------------------------------------
   9. Filters, search bar and pagination
   ------------------------------------------------------------------------- */
.search-bar {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-lg);
}

.search-bar>* {
  padding: 1.25rem 1.75rem;
  border-right: 1px solid var(--color-line);
}

.search-bar label {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.search-bar select {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  color: var(--color-ink);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.search-bar .btn {
  min-height: 100%;
  border: 0;
  padding: 0 2.5rem;
}

.tabs {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.tabs button {
  padding: 0 0 .25rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-family: inherit;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  color: var(--color-bronze);
  border-bottom-color: var(--color-bronze);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.filter-chip {
  padding: .625rem 1.125rem;
  border: 1px solid var(--color-line-strong);
  background: transparent;
  font-family: inherit;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-body);
  cursor: pointer;
}

.filter-chip[aria-pressed="true"],
.filter-chip:hover {
  background: var(--color-bronze);
  border-color: var(--color-bronze);
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 4.5rem;
}

.pagination a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  color: var(--color-body);
}

.pagination a[aria-current="page"],
.pagination a:hover {
  border-color: var(--color-bronze);
  color: var(--color-bronze);
}

/* -------------------------------------------------------------------------
   10. Forms
   ------------------------------------------------------------------------- */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
}

.field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-body);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .5rem 0;
  border: 0;
  border-bottom: 1px solid #C9BBA5;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ink);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-bronze);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.form-note {
  font-size: .8125rem;
  color: #8A7F70;
}

/* Inline newsletter field on dark */
.inline-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(217, 195, 160, .5);
}

.inline-field input {
  flex: 1;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--color-on-dark);
  font: inherit;
}

.inline-field input::placeholder {
  color: #A89C8A;
}

.inline-field button {
  border: 0;
  background: none;
  color: var(--color-on-dark);
  font: inherit;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}

/* -------------------------------------------------------------------------
   11. CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-night);
  color: var(--color-on-dark);
  padding-block: clamp(5rem, 3rem + 6vw, 8rem);
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 12, 12, .5);
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1.08;
}

.cta-band__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cta-band__contact a:not(.btn) {
  color: var(--color-on-dark);
}

/* -------------------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-espresso);
  color: var(--color-on-dark-body);
  padding-block: 5.5rem 2.5rem;
  font-size: var(--fs-small);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 24rem;
}

.footer-brand img {
  width: 150px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
  margin-bottom: .25rem;
}

.footer-col a {
  color: var(--color-on-dark-body);
}

.footer-col a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 195, 160, .2);
  font-size: .8125rem;
  letter-spacing: .08em;
  color: #A89C8A;
}

.footer-bottom a {
  color: inherit;
}

/* -------------------------------------------------------------------------
   13. Utilities
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

/* -------------------------------------------------------------------------
   14. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1200px) {

  .nav,
  .nav__list {
    gap: 1.75rem;
  }

  .lang {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 80px;
  }

  /* Mobile navigation: full-screen panel */
  .nav-toggle {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  .brand__mark {
    width: 46px;
  }

  .brand__wordmark {
    width: 140px;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    background: var(--color-espresso);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav-open {
    overflow: hidden;
  }

  .site-header__inner>.brand,
  .site-header__inner>.header-actions {
    position: relative;
    z-index: 45;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav__list>li {
    border-bottom: 1px solid var(--line-on-dark);
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-size: 1rem;
    border-bottom: 0;
  }

  .dropdown {
    position: static;
    width: auto;
    padding: 0 0 1rem;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav__item--dropdown.is-open .dropdown {
    display: block;
  }

  .dropdown li+li {
    border-top: 0;
  }

  .dropdown a {
    padding: .75rem 0 .75rem 1rem;
    color: var(--color-on-dark);
  }

  .dropdown a span {
    color: var(--color-on-dark-body);
  }

  .dropdown a:hover {
    background: none;
  }

  .nav .lang {
    display: block;
    margin-top: 2rem;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 6rem);
  }

  .hero__scrim {
    background: linear-gradient(180deg, rgba(14, 11, 9, .7) 0%, rgba(14, 11, 9, .55) 40%, rgba(14, 11, 9, .9) 100%);
  }

  .page-hero {
    min-height: 520px;
    padding-bottom: 4rem;
  }

  .hero__divisions {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3rem;
  }

  .hero__division {
    padding: 1.25rem 1.5rem;
  }

  .hero__division strong {
    font-size: 1.125rem;
  }

  .split,
  .post-featured {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .search-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-bar>* {
    border-bottom: 1px solid var(--color-line);
  }

  .search-bar .btn {
    grid-column: 1 / -1;
    min-height: 56px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4 {
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-card img {
    aspect-ratio: 16 / 9;
  }

  .search-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-row .btn {
    width: 100%;
  }

  .section-head {
    align-items: flex-start;
  }

  .division-card__body,
  .service-tile {
    padding: 1.75rem 1.5rem;
  }

  .hero__title {
    line-height: 1.06;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}