:root {
  --c-forest: #1d3a2d;
  --c-forest-mid: #2a4a3a;
  --c-forest-deep: #10231a;
  --c-ivory: #f6f1e6;
  --c-cream: #fbf8f1;
  --c-sand: #ece2cd;
  --c-beige: #d8c7a4;
  --c-clay: #c06b3e;
  --c-clay-deep: #9e5228;
  --c-ink: #22312a;
  --c-ink-soft: #4c5c52;
  --c-muted: #5f6e64;
  --c-on-dark: #f6f1e6;
  --c-on-dark-soft: rgba(246, 241, 230, 0.78);
  --c-line: rgba(34, 49, 42, 0.14);
  --c-line-dark: rgba(246, 241, 230, 0.2);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --r-card: 2rem;
  --r-inner: calc(2rem - 0.375rem);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-ivory);
  color: var(--c-ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--c-forest);
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
}

p {
  margin: 0;
  max-width: 62ch;
}

a {
  color: inherit;
}

ol,
ul,
dl,
dd {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--c-clay);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--sand {
  background: var(--c-sand);
}

/* Paper and plaster textures from the app */
.texture-paper {
  background-color: var(--c-ivory);
  background-image: url("../assets/editorial/texture-ivory.webp");
  background-size: 640px auto;
}

.texture-green {
  background-color: var(--c-forest);
  background-image: url("../assets/editorial/texture-green.webp");
  background-size: 640px auto;
  color: var(--c-on-dark-soft);
}

.texture-green h1,
.texture-green h2,
.texture-green h3 {
  color: var(--c-on-dark);
}

.texture-clay {
  background-color: var(--c-clay-deep);
  background-image: url("../assets/editorial/texture-terracotta.webp");
  background-size: 640px auto;
  color: var(--c-on-dark-soft);
}

.texture-clay h2,
.texture-clay h3 {
  color: var(--c-on-dark);
}

/* Shared surfaces: a machined outer shell around an inner core */
.shell {
  padding: 0.375rem;
  border-radius: var(--r-card);
  background: rgba(29, 58, 45, 0.06);
  box-shadow: inset 0 0 0 1px rgba(29, 58, 45, 0.08);
}

.core {
  overflow: hidden;
  border-radius: var(--r-inner);
  background: var(--c-cream);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core.arch {
  border-radius: 50% 50% var(--r-inner) var(--r-inner) / 22% 22% var(--r-inner) var(--r-inner);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 60;
  padding: 0.5rem 1rem;
  background: var(--c-forest);
  color: var(--c-ivory);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Buttons: pill shape with a nested arrow circle */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 56px;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 500ms var(--ease), background-color 500ms var(--ease), color 500ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--c-forest);
  color: var(--c-ivory);
}

.btn--primary:hover {
  background: var(--c-forest-mid);
}

.btn--ghost {
  border-color: var(--c-forest);
  color: var(--c-forest);
}

.btn--ghost:hover {
  background: rgba(29, 58, 45, 0.06);
}

.btn--light {
  border-color: var(--c-line-dark);
  color: var(--c-on-dark);
}

.btn--light:hover {
  background: rgba(246, 241, 230, 0.12);
}

.btn--plain {
  padding-right: 1.75rem;
}

.btn--small {
  min-height: 44px;
  padding: 0.25rem 0.25rem 0.25rem 1.25rem;
  font-size: 0.875rem;
}

.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(246, 241, 230, 0.16);
  transition: transform 700ms var(--ease);
}

.btn--ghost .btn__icon {
  background: rgba(29, 58, 45, 0.08);
}

.btn--small .btn__icon {
  width: 2rem;
  height: 2rem;
}

.btn--plain .btn__icon {
  display: none;
}

.btn:hover .btn__icon {
  transform: translate(2px, -1px) scale(1.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--c-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.texture-green .text-link {
  color: var(--c-on-dark);
}

.lede {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

/* Site header: a floating pill that stays at the top of the page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 0.875rem;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.97);
  box-shadow: inset 0 0 0 1px rgba(34, 49, 42, 0.08), 0 18px 40px -30px rgba(16, 35, 26, 0.45);
}

.wordmark {
  position: relative;
  z-index: 40;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  flex: none;
  color: var(--c-forest);
  text-decoration: none;
}

.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.wordmark__sub {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-clay-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  transition: background-color 500ms var(--ease);
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  background: rgba(29, 58, 45, 0.08);
}

.site-nav__cta {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 40;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 0.25rem 0 1rem;
  border: 1px solid rgba(29, 58, 45, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--c-forest);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle__bars {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(29, 58, 45, 0.08);
}

.menu-toggle__bars span {
  position: absolute;
  left: 0.6875rem;
  width: 0.875rem;
  height: 1.5px;
  background: var(--c-forest);
  transition: transform 500ms var(--ease);
}

.menu-toggle__bars span:first-child {
  top: 0.8125rem;
}

.menu-toggle__bars span:last-child {
  top: 1.3125rem;
}

.site-header.is-open .menu-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .menu-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

.site-footer .wordmark img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

figure {
  margin: 0;
}

/* Hero and page heads */
.hero {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  align-items: center;
}

.hero__copy {
  grid-column: 1 / 7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.hero__media {
  grid-column: 8 / -1;
}

.hero__media .core {
  aspect-ratio: 4 / 5;
}

.page-hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3.5rem);
}

.page-hero h1 {
  max-width: 16ch;
}

/* Section heads and statements */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head h2 {
  max-width: 22ch;
}

.section-head--light h2 {
  color: var(--c-on-dark);
}

.statement {
  max-width: 19ch;
  font-size: clamp(2.4rem, 4.5vw, 3.9rem);
  line-height: 1.06;
}

.statement-section__body,
.philosophy__body {
  display: grid;
  gap: 1.1rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0 auto;
  max-width: 33rem;
}

.statement-section__body .text-link {
  justify-self: start;
}

/* Services bento: five cells, no empty slots */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento__cell {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 17rem;
  padding: 1.75rem;
  border-radius: var(--r-card);
}

.bento__cell h3 {
  font-size: 1.5rem;
}

.bento__cell p {
  font-size: 0.9375rem;
  max-width: 30ch;
}

.bento__cell--photo {
  grid-column: 1 / 8;
  grid-row: span 2;
  padding: 0;
}

.bento__cell--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__text {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 3rem 1.75rem 1.75rem;
  background: linear-gradient(to top, rgba(16, 35, 26, 0.85), rgba(16, 35, 26, 0));
}

.bento__text h3 {
  font-size: 1.75rem;
  color: var(--c-on-dark);
}

.bento__text p {
  color: rgba(246, 241, 230, 0.85);
}

.bento__cell--green {
  grid-column: 8 / 11;
}

.bento__cell--cream {
  grid-column: 11 / -1;
  background: var(--c-cream);
  box-shadow: inset 0 0 0 1px var(--c-line);
}

.bento__cell--paper {
  grid-column: 8 / 11;
  box-shadow: inset 0 0 0 1px var(--c-line);
}

.bento__cell--clay {
  grid-column: 11 / -1;
}

/* Property cards, grids and filters */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  row-gap: 4rem;
}

.prop-card.is-offset {
  margin-top: 4rem;
}

.prop-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.prop-card__media {
  aspect-ratio: 4 / 3;
}

.prop-card__link img {
  transition: transform 1200ms var(--ease);
}

.prop-card__link:hover img {
  transform: scale(1.035);
}

.prop-card__body {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
  padding: 1.25rem 0.375rem 0;
}

.prop-card__category {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-clay-deep);
}

.prop-card__tagline {
  font-size: 0.9375rem;
}

.prop-card__body .btn {
  margin-top: 0.75rem;
}

.feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
}

.feature .prop-card--feature {
  grid-column: 1 / 8;
}

.prop-card--feature h3 {
  font-size: 1.9rem;
}

.feature__side {
  grid-column: 8 / -1;
  display: grid;
  align-content: start;
  gap: 2.5rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filters button {
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: transparent;
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
}

.filters button[aria-pressed="true"] {
  border-color: var(--c-forest);
  background: var(--c-forest);
  color: var(--c-ivory);
}

/* Quote and CTA bands */
.quote {
  margin: 0;
  max-width: 24ch;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.18;
  color: var(--c-on-dark);
}

.quote cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--c-on-dark-soft);
}

.quote cite::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: var(--c-clay);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  align-items: end;
}

.cta-band__grid h2 {
  grid-column: 1 / 7;
}

.cta-band__actions {
  grid-column: 8 / -1;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.cta-band__actions .hero__actions {
  margin-top: 0.5rem;
}

/* Property detail page */
.detail-hero {
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.back {
  margin-bottom: 2rem;
}

.detail-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  align-items: center;
}

.detail-hero__copy {
  grid-column: 1 / 7;
}

.detail-hero__copy .prop-card__category {
  margin-bottom: 0.75rem;
}

.detail-hero__media {
  grid-column: 8 / -1;
}

.detail-hero__media .core {
  aspect-ratio: 4 / 5;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.75rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
}

.stats dt {
  margin-bottom: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-muted);
}

.stats dd {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--c-forest);
}

.detail-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
}

.detail-body__text {
  grid-column: 1 / 8;
}

.detail-body__text h2 {
  margin-bottom: 1.25rem;
}

.detail-body__text p + p {
  margin-top: 1rem;
}

.detail-body__aside {
  grid-column: 8 / -1;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.aside-gap {
  margin-top: 2rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--c-sand);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-forest);
}

.plain-list {
  margin-top: 0.5rem;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--c-line);
  font-size: 0.9375rem;
}

.enquiry {
  margin-top: 2rem;
}

.enquiry .core {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 1.75rem;
}

.enquiry h3 {
  font-size: 1.3rem;
}

.enquiry p {
  font-size: 0.9375rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.gallery__main {
  grid-column: 1 / 9;
  grid-row: span 2;
}

.gallery__main .core {
  height: 100%;
}

.gallery__side {
  grid-column: 9 / -1;
}

.gallery__side .core {
  aspect-ratio: 4 / 3;
}

/* Services and about split rows */
.svc {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.svc__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  align-items: center;
}

.svc__media {
  grid-column: 1 / 7;
}

.svc__media .core {
  aspect-ratio: 4 / 3;
}

.svc__copy {
  grid-column: 8 / -1;
}

.svc--split-right .svc__media {
  grid-column: 8 / -1;
}

.svc--split-right .svc__copy {
  grid-column: 1 / 7;
  grid-row: 1;
}

.lede-s {
  max-width: 46ch;
  margin: 0.9rem 0 1rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--c-ink);
}

.points {
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.points li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--c-line);
}

.points li strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
  color: var(--c-ink);
}

.points li span {
  display: block;
  font-size: 0.9375rem;
}

.svc__cta {
  margin-top: 1.75rem;
}

.svc__banner {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.svc__banner .core {
  aspect-ratio: 21 / 9;
}

.svc__full {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
}

.svc__full > div:first-child {
  grid-column: 1 / 7;
}

.svc__full > div:last-child {
  grid-column: 7 / -1;
  display: grid;
  gap: 1.25rem;
  align-content: start;
  justify-items: start;
}

.points--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin-top: 2.5rem;
}

/* About page */
.approach {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
}

.approach > div:first-child {
  grid-column: 1 / 6;
}

.habits {
  grid-column: 7 / -1;
  padding: 0;
  list-style: none;
  counter-reset: habit;
}

.habits li {
  position: relative;
  padding: 1.5rem 0 1.5rem 3.5rem;
  border-top: 1px solid var(--c-line);
  counter-increment: habit;
}

.habits li::before {
  content: "0" counter(habit);
  position: absolute;
  left: 0;
  top: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--c-clay-deep);
}

.habits h3 {
  margin-bottom: 0.3rem;
}

.habits p {
  font-size: 0.9375rem;
}

.commit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding: 0;
  list-style: none;
}

.commit-list li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line-dark);
}

.commit-list h3 {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
  color: var(--c-on-dark);
}

.commit-list p {
  font-size: 0.9375rem;
}

.wide-media .core {
  aspect-ratio: 21 / 9;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.value-grid > h2 {
  grid-column: 1 / 8;
}

.value-grid > div {
  grid-column: 8 / -1;
  display: grid;
  gap: 1rem;
  align-content: start;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  align-items: start;
}

.contact-rows {
  grid-column: 1 / 8;
}

.contact-rows > div {
  padding: 1.4rem 0;
}

.contact-rows > div + div {
  border-top: 1px solid var(--c-line);
}

.contact-rows dt {
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-muted);
}

.contact-rows dd {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--c-forest);
}

.contact-layout > .shell {
  grid-column: 8 / -1;
}

.enquiry-card {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  align-content: center;
  min-height: 24rem;
  padding: clamp(2rem, 4vw, 3rem);
}

.enquiry-card h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

/* Privacy policy */
.legal {
  max-width: 47rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal h1 {
  margin-bottom: 0.75rem;
}

.legal__updated {
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
  color: var(--c-muted);
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.5rem;
}

.legal p,
.legal ul,
.legal ol {
  margin-bottom: 1rem;
  max-width: 65ch;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal a {
  color: var(--c-forest);
}

/* Footer */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  background-color: var(--c-forest-deep);
  background-image: url("../assets/editorial/texture-green.webp");
  background-size: 640px auto;
  color: var(--c-on-dark-soft);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2.25rem;
  row-gap: 2.5rem;
}

.site-footer__brand {
  grid-column: 1 / 6;
}

.site-footer__brand p {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.9375rem;
}

.footer-col {
  grid-column: span 2;
}

.footer-col h2 {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--c-on-dark-soft);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--c-on-dark);
}

.footer-col p {
  font-size: 0.9375rem;
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line-dark);
  font-size: 0.875rem;
  color: rgba(246, 241, 230, 0.55);
}

/* Scroll reveal, only when scripts run */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .bento__cell--photo,
  .bento__cell--green,
  .bento__cell--cream,
  .bento__cell--paper,
  .bento__cell--clay {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .filters {
    margin-bottom: 2rem;
  }

  .svc__banner .core,
  .wide-media .core {
    aspect-ratio: 16 / 9;
  }

  .enquiry-card {
    min-height: 0;
  }
}


@media (max-width: 899px) {
  .site-header {
    padding-top: 0.625rem;
  }

  .site-header__bar {
    min-height: 56px;
    padding: 0.375rem 0.375rem 0.375rem 1.25rem;
  }

  .hero__copy,
  .hero__media,
  .detail-hero__copy,
  .detail-hero__media,
  .detail-body__text,
  .detail-body__aside,
  .gallery__main,
  .gallery__side,
  .feature .prop-card--feature,
  .feature__side,
  .svc__media,
  .svc__copy,
  .svc--split-right .svc__media,
  .svc--split-right .svc__copy,
  .svc__full > div:first-child,
  .svc__full > div:last-child,
  .approach > div:first-child,
  .habits,
  .value-grid > h2,
  .value-grid > div,
  .contact-rows,
  .contact-layout > .shell,
  .cta-band__grid h2,
  .cta-band__actions,
  .bento__cell,
  .site-footer__brand,
  .footer-col {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hero__grid,
  .detail-hero__grid,
  .detail-body,
  .svc__grid,
  .svc__full,
  .approach,
  .value-grid,
  .contact-layout,
  .cta-band__grid,
  .bento,
  .feature,
  .gallery {
    row-gap: 2.25rem;
    column-gap: 0;
  }

  .hero__media .core,
  .detail-hero__media .core {
    aspect-ratio: 4 / 5;
  }

  .bento {
    grid-auto-rows: auto;
  }

  .bento__cell--photo {
    min-height: 26rem;
  }

  .bento__cell--green,
  .bento__cell--cream,
  .bento__cell--paper,
  .bento__cell--clay {
    min-height: 15rem;
  }

  .prop-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .prop-grid .prop-card.is-offset {
    margin-top: 0;
  }

  .svc--full .points--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .commit-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .habits {
    border-top: 1px solid var(--c-line);
  }

  .site-footer__legal {
    margin-top: 2rem;
  }
}

@media (max-width: 599px) {
  .detail-hero__media .core,
  .hero__media .core {
    aspect-ratio: 4 / 5;
  }

  .gallery__side img,
  .gallery__main img {
    aspect-ratio: 4 / 3;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .stats {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.contact-rows .contact-note {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
}

/* Mobile header: full-screen menu overlay */
@media (max-width: 899px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 35;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    padding: 6.5rem var(--gutter) 2.5rem;
    background: var(--c-ivory);
    opacity: 0;
    visibility: hidden;
    transition: opacity 500ms var(--ease), visibility 500ms;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .site-nav li {
    transform: translateY(24px);
    opacity: 0;
    transition: transform 700ms var(--ease), opacity 700ms var(--ease);
  }

  .site-header.is-open .site-nav li {
    transform: none;
    opacity: 1;
  }

  .site-header.is-open .site-nav li:nth-child(2) { transition-delay: 60ms; }
  .site-header.is-open .site-nav li:nth-child(3) { transition-delay: 120ms; }
  .site-header.is-open .site-nav li:nth-child(4) { transition-delay: 180ms; }

  .site-nav a:not(.btn) {
    min-height: 58px;
    padding: 0;
    border-radius: 0;
    background: none;
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .site-nav a:not(.btn):hover,
  .site-nav a[aria-current="page"]:not(.btn) {
    background: none;
    color: var(--c-clay-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }

  .site-nav__cta {
    margin: 0;
    width: 100%;
    min-height: 56px;
    justify-content: space-between;
  }

  .site-footer__grid {
    column-gap: 0;
  }
}
