:root {
  --ivory: #f4f0e8;
  --paper: #fffaf2;
  --forest: #173b34;
  --terracotta: #a45835;
  --terracotta-light: #d89975;
  --ink: #15211e;
  --muted: #5b6d68;
  --line: #d5cdbf;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 72rem;
  --radius: 0.375rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; }
a, button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  min-width: 20rem;
  overflow-x: clip;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure,
ul {
  margin-top: 0;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(3rem, 6.25vw, 5.6rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.skip-link {
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--forest);
  font-weight: 700;
  box-shadow: 0 0.5rem 1.5rem rgb(21 33 30 / 20%);
  transition: transform 180ms ease;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgb(23 59 52 / 15%);
}

.site-nav {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.menu-button {
  display: none;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.menu-button[hidden] {
  display: none;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  height: 1px;
  background: var(--terracotta);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a[aria-current="location"]:not(.nav-contact)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding-inline: 1.15rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest) !important;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-contact:hover {
  background: var(--forest);
  color: var(--paper) !important;
}

.hero {
  display: grid;
  min-height: min(47rem, calc(100vh - 5.25rem));
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: currentcolor;
  content: "";
}

.hero-lede {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button span {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.button:hover span {
  transform: translateX(0.2rem);
}

.button--primary {
  background: var(--forest);
  color: var(--paper);
}

.button--primary:hover {
  background: #0d2c26;
}

.hero-portrait {
  position: relative;
  margin: 0;
}

.hero-portrait::before {
  position: absolute;
  inset: -0.9rem 0.9rem 0.9rem -0.9rem;
  z-index: -1;
  border: 1px solid var(--terracotta-light);
  border-radius: var(--radius);
  content: "";
}

.hero-portrait img {
  width: 100%;
  max-height: 36rem;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: 0 1.5rem 3.5rem rgb(21 33 30 / 15%);
}

.proof-strip {
  background: var(--forest);
  color: var(--paper);
}

.proof-inner {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.proof-inner > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.proof-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-inline: clamp(1.25rem, 3.5vw, 3.5rem);
  border-right: 1px solid rgb(255 250 242 / 22%);
}

.proof-grid li:first-child {
  padding-left: 0;
}

.proof-grid li:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-grid strong {
  color: var(--terracotta-light);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.proof-grid span {
  max-width: 21rem;
  color: rgb(255 250 242 / 78%);
  font-size: 0.88rem;
  line-height: 1.5;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  scroll-margin-top: 2rem;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 420ms ease, transform 420ms ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.section-intro > p {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.4rem, 3vw, 2.6rem);
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  padding-left: 0;
}

.service-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card > p:last-child {
  color: var(--muted);
}

.card-number {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.results-section {
  background: var(--paper);
  scroll-margin-top: 2rem;
}

.results-heading {
  max-width: 48rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.result-card {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.75rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-card:nth-child(odd) {
  padding-left: 0;
}

.result-card:nth-child(even) {
  padding-right: 0;
  border-right: 0;
}

.result-card h3 {
  margin-bottom: 0.8rem;
}

.result-card > p:last-child {
  max-width: 31rem;
  color: var(--muted);
}

.result-label {
  margin-bottom: 1.5rem;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-copy {
  padding-top: 2.35rem;
  border-top: 1px solid var(--terracotta-light);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.about-copy .about-lede {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.45vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-section {
  padding-bottom: clamp(5rem, 9vw, 8rem);
  scroll-margin-top: 2rem;
}

.contact-panel {
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 2rem 5rem rgb(21 33 30 / 14%);
}

.contact-heading {
  max-width: 48rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4.25rem);
  text-align: center;
}

.contact-heading .eyebrow {
  justify-content: center;
  color: var(--terracotta-light);
}

.contact-heading h2 {
  margin-bottom: 1.25rem;
}

.contact-heading > p:last-child {
  color: rgb(255 250 242 / 70%);
}

#enquiry-form {
  max-width: 48rem;
  margin-inline: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.field {
  min-width: 0;
  margin-bottom: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgb(255 250 242 / 88%);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.field label span {
  color: rgb(255 250 242 / 52%);
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgb(255 250 242 / 32%);
  border-radius: var(--radius);
  background: rgb(255 250 242 / 7%);
  color: var(--paper);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  border-color: var(--terracotta-light);
  background: rgb(255 250 242 / 11%);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--terracotta-light);
  outline-offset: 2px;
}

.button--light {
  margin-top: 1.5rem;
  background: var(--paper);
  color: var(--forest);
}

.button--light:hover {
  background: var(--terracotta-light);
}

#form-status:empty {
  display: none;
}

.contact-note {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  color: rgb(255 250 242 / 62%);
  font-size: 0.78rem;
}

.contact-note a {
  color: var(--paper);
  text-decoration-color: var(--terracotta-light);
  text-underline-offset: 0.2em;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner p span {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.footer-inner a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 2.5rem), var(--content));
  }

  .site-nav {
    min-height: auto;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    padding-block: 1rem;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  html.js .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-block: 0.5rem;
  }

  html.js .nav-links[data-open="true"] {
    display: flex;
  }

  html.js .nav-links a {
    justify-content: space-between;
  }

  .nav-links a {
    min-height: 2.75rem;
    font-size: 0.78rem;
  }

  .nav-contact {
    padding-inline: 0;
    border: 0;
    border-radius: 0;
  }

  .nav-contact:hover {
    background: transparent;
    color: var(--forest) !important;
  }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    padding-block: clamp(3.5rem, 16vw, 5rem);
  }

  .hero-copy {
    order: 1;
  }

  .hero-portrait {
    order: 2;
    width: min(100%, 27rem);
    margin-inline: auto;
  }

  .hero-portrait img {
    max-height: none;
  }

  .proof-grid,
  .services-grid,
  .results-grid,
  .about-grid,
  .form-grid,
  .section-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof-grid li {
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 250 242 / 22%);
  }

  .proof-grid li:first-child {
    padding-top: 0;
  }

  .proof-grid li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .section-intro {
    align-items: start;
    gap: 1.5rem;
  }

  .services-grid {
    border-bottom: 0;
  }

  .service-card,
  .service-card:first-child,
  .service-card:last-child {
    padding: 2.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-number {
    margin-bottom: 1.75rem;
  }

  .result-card,
  .result-card:nth-child(odd),
  .result-card:nth-child(even) {
    padding: 2.25rem 0;
    border-right: 0;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .about-copy {
    padding-top: 1.75rem;
  }

  .field--full {
    grid-column: auto;
  }

  .contact-panel {
    margin-inline: -0.25rem;
  }

  .contact-heading {
    text-align: left;
  }

  .contact-heading .eyebrow {
    justify-content: flex-start;
  }

  .button--light {
    width: 100%;
  }

  .footer-inner {
    min-height: auto;
    align-items: flex-start;
    padding-block: 2rem;
  }

  .footer-inner p span {
    display: block;
    margin: 0.25rem 0 0;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 2rem), var(--content));
  }

  .nav-links {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .contact-panel {
    padding-inline: 1.35rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
}
