/* Shared layout defaults start with a narrow screen. */
:root {
  --page-gutter: clamp(18px, 4.4vw, 56px);
  --action-fill: #b33b06;
  --action-hover: #942f04;
}

.wrap { width: calc(100% - 2 * var(--page-gutter)); }
body { font-size: 1rem; line-height: 1.65; }
main p, main li, main label, main input, main select, main textarea {
  font-size: max(1rem, 1em);
}
main :is(h1, h2, h3, p, li) { overflow-wrap: break-word; }
main .eyebrow { font-size: .8125rem; line-height: 1.5; }
.btn, .faq-group-links a, .breadcrumb {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
main .btn, main .faq-group-links a { font-size: 1rem; }
.btn.orange { background: var(--action-fill); color: #fff; }
.btn.orange:hover { background: var(--action-hover); }
.breadcrumb { margin-bottom: 12px; font-size: .9375rem; color: #6c5542; }
.faq-category-items summary { min-height: 48px; }
.form-notice { font-size: 1rem !important; }
.home-story .story-copy p, main .news-empty,
main #enquiry-form label, main #enquiry-status, main .form-privacy,
main .contact-aside a:not(.whatsapp-icon) { font-size: 1rem; }

.nav { height: 68px; gap: 12px; }
.nav .brand, .nav-actions select, .nav .menu { min-height: 44px; }
.nav .brand { align-items: center; }
.nav .brand img { width: clamp(120px, 34vw, 152px); }
.nav-actions { gap: 10px; }
.nav-actions select {
  min-width: 54px;
  max-width: none;
  padding-inline: 7px;
  font-size: .9375rem;
}
.nav .menu {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #a79786;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}
.menu-cross, .menu[aria-expanded=true] .menu-bars { display: none; }
.menu[aria-expanded=true] .menu-cross { display: inline; }
.nav-actions > .login, .nav-actions > .btn, .nav #navigation { display: none; }
.nav #navigation.open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  gap: 0;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px var(--page-gutter) 20px;
  background: var(--ivory);
  box-shadow: 0 16px 24px #24180f16;
  font-size: 1rem;
}
.nav #navigation.open a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 12px;
  border-bottom: 1px solid #e7ddd1;
}
.nav #navigation.open a[aria-current=page]:not(.btn) {
  color: #8b350b;
  background: #f7ede2;
}
.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
}
.nav #navigation.open .mobile-nav-actions a {
  justify-content: center;
  border: 1px solid #a79786;
  border-radius: 7px;
  text-align: center;
  font-size: .9375rem;
}
.nav #navigation.open .mobile-nav-actions .btn { border-color: transparent; }

body[data-page=home] .people-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  min-height: 0;
  background: #fcf6ef;
}
body[data-page=home] .people-hero .hero-inner {
  grid-row: 2;
  min-height: 0;
  padding: 0 0 28px;
}
body[data-page=home] .people-hero :is(picture,.hero-photo) {
  position: relative;
  inset: auto;
  grid-row: 1;
  height: clamp(144px, 42vw, 260px);
  display: block;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 71%, transparent);
}
body[data-page=home] .people-hero :is(picture,.hero-photo) img {
  display: block;
  width: 125%;
  max-width: none;
  margin-left: -25%;
  object-position: 70% 43%;
}
body[data-page=home] .people-hero::after { content: none; }
body[data-page=home] .hero h1 {
  font-size: clamp(2.125rem, 8.7vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
body[data-page=home] .hero .lead { font-size: 1rem; line-height: 1.65; }
.people-hero .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.people-hero .hero-actions .btn { min-height: 48px; padding: 11px 8px; text-align: center; }
.people-hero .hero-actions .btn.outline { background: #fffaf5; border-color: #40362d; color: #211b16; }
.people-hero .hero-actions .btn.outline:hover { background: #f3e5d6; }
.hero-trust { display: grid; gap: 4px; font-size: 1rem; }
.hero-trust li + li::before { content: none; }
.page-heading h1 { font-size: clamp(2.125rem, 7vw, 3.4375rem); }
.home-services {
  background: #25231f;
  color: #fff8ee;
}
.home-services > .wrap { display: grid; gap: 20px; }
.home-services h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.2; }
.home-service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-service-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #706459;
  border-radius: 8px;
  background: #302c26;
  color: #fff8ee;
  line-height: 1.45;
  font-weight: 650;
}
.home-service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 7px;
  background: #392e25;
  color: #ffc39c;
}
.home-services .btn.outline {
  justify-self: start;
  min-height: 48px;
  color: #fff8ee;
  border-color: #b9a99b;
  background: transparent;
}
.home-services .btn.outline:hover { background: #463a30; }
.home-services .btn.outline:focus-visible { outline-color: #ffc39c; }

.home-story .story-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.home-story h2 { text-wrap: balance; }
.home-story .story-copy { max-width: none; padding: 0; }
.home-story .story-copy p {
  max-width: 55ch;
  margin: 0;
  color: #433a31;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.home-story .story-copy .btn { margin-top: 20px; }
.path-action { font-size: 1rem; }
.workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.workflow-grid article + article,
.vendor-membership .workflow-grid article + article {
  border: 0;
  border-top: 1px solid #dfd3c4;
  padding: 18px 0 0;
}
.vendor-membership .workflow-grid article + article { border-color: #4e5346; }
.workflow-grid p { font-size: 1rem; }
.home-final-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
.footer-top { gap: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 0 14px; }
.footer-links a, .footer-links button {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  white-space: normal;
  text-align: left;
}
.footer-bottom { font-size: .875rem; }

@media (max-width: 23rem) {
  .people-hero .hero-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 38rem) {
  .nav { height: 76px; }
  .nav #navigation.open { max-height: calc(100dvh - 76px); }
  .people-hero .hero-actions, .home-final-actions { display: flex; flex-wrap: wrap; }
  .people-hero .hero-actions .btn { padding-inline: 20px; }
  .workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .workflow-grid article + article,
  .vendor-membership .workflow-grid article + article { border: 0; padding: 0; }
  .footer-links { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (min-width: 52rem) {
  body[data-page=home] .people-hero { display: block; }
  body[data-page=home] .people-hero :is(picture,.hero-photo) {
    position: absolute;
    inset: 0;
    height: auto;
    mask-image: none;
  }
  body[data-page=home] .people-hero :is(picture,.hero-photo) img {
    width: 100%;
    margin-left: 0;
    object-position: 63% 48%;
  }
  body[data-page=home] .people-hero::after {
    content: "";
    background: linear-gradient(90deg,#fcf6ef 0%,#fcf6ef 26%,#fcf6efe8 39%,#fcf6ef65 61%,transparent 76%);
  }
  body[data-page=home] .people-hero .hero-inner { min-height: 500px; padding: 48px 0; }
  body[data-page=home] .hero h1 { font-size: clamp(2.85rem, 4.8vw, 4rem); }
  body[data-page=home] .hero .lead { font-size: 1.125rem; }
  .hero-trust { display: flex; flex-wrap: wrap; font-size: .9375rem; gap: 6px 12px; }
  .home-services > .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 25px; }
  .home-services .btn.outline { grid-column: 2; grid-row: 1; }
  .home-service-list { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .home-service-list li { flex-direction: column; align-items: flex-start; padding: 18px; }
  .home-service-icon { width: 44px; }
  .home-story .story-layout {
    max-width: 1160px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
  }
  .home-story .story-copy p { font-size: 1.125rem; }
  .workflow-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .workflow-grid article + article { border-left: 1px solid #dfd3c4; padding-left: 20px; }
  .vendor-membership .workflow-grid article + article { border-left: 1px solid #4e5346; padding-left: 20px; }
}

@media (min-width: 72rem) {
  .nav { height: 86px; gap: 20px; }
  .nav #navigation { display: flex; gap: clamp(12px, 1.7vw, 25px); }
  .nav #navigation a, .nav-actions > .login { display: inline-flex; min-height: 44px; align-items: center; }
  .nav-actions > .btn { display: inline-flex; }
  .nav .menu, .mobile-nav-actions { display: none; }
  .footer-top { gap: 32px; }
  .footer-links { display: flex; width: auto; gap: 4px 20px; }
}

@keyframes readable-arrival {
  from { transform: translateY(10px); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .page-heading h1, .people-hero .hero-copy > * { animation-name: readable-arrival; }
}

/* Move the photo within the existing crop so the blend stays in place. */
body[data-page=home] .people-hero .hero-photo {
  animation: none;
  overflow: hidden;
  will-change: auto;
}
body[data-page=home] .hero-photo img { transform-origin: 86% 46%; }
