:root {
  --ink: #0b0b0f;
  --ink-soft: #14141a;
  --paper: #f4f1e9;
  --muted: #aaa7a0;
  --line: rgba(255, 255, 255, 0.16);
  --ember: #f3a832;
  --ember-light: #ffd994;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: #f8f5ee;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body::selection {
  color: var(--ink);
  background: var(--ember-light);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem max(1.25rem, calc((100vw - var(--max)) / 2));
  transition: background 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(11, 11, 15, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2rem;
  place-items: center;
}

.brand-mark svg {
  display: block;
  width: 100%;
  fill: var(--ember-light);
}

.brand-mark path {
  fill: none;
  stroke: var(--ember);
  stroke-linecap: round;
  stroke-width: 3;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.7rem);
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  padding: 9rem max(1.25rem, calc((100vw - var(--max)) / 2)) 5rem;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.82) contrast(1.08);
  animation: settle 1.4s ease-out both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 6, 10, 0.92) 0%, rgba(6, 6, 10, 0.53) 42%, rgba(6, 6, 10, 0.08) 72%),
    linear-gradient(0deg, rgba(6, 6, 10, 0.86) 0%, transparent 45%);
}

.hero-content {
  width: min(45rem, 64vw);
  animation: rise 700ms 120ms ease-out both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  color: var(--ember-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 1.9rem;
  height: 1px;
  background: var(--ember);
}

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

h1,
h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.55rem, 8.4vw, 7.4rem);
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #18120a;
  background: var(--ember-light);
}

.button-primary:hover {
  background: #ffe5b5;
}

.text-link {
  padding: 0.5rem 0;
  text-underline-offset: 0.35rem;
}

.text-link span {
  display: inline-block;
  margin-left: 0.3rem;
  color: var(--ember);
}

.detection-card {
  position: absolute;
  right: max(1.25rem, calc((100vw - var(--max)) / 2));
  bottom: 5rem;
  width: min(21rem, 30vw);
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(11, 11, 15, 0.46);
  backdrop-filter: blur(12px);
}

.detection-meta,
.detection-data {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.detection-meta {
  margin-bottom: 1.4rem;
  color: var(--ember-light);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.detection-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
}

.detection-data {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
}

.image-note {
  position: absolute;
  right: max(1.25rem, calc((100vw - var(--max)) / 2));
  bottom: 2.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 1.25rem;
}

.section-label {
  color: #76736c;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) 2.8fr;
  gap: 2rem;
  color: var(--ink);
  background: var(--paper);
}

.intro::before {
  position: absolute;
  z-index: -1;
  right: 0;
  left: 0;
  content: "";
  background: var(--paper);
}

.intro h2,
.approach h2,
.enquire h2,
.record h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 5.7vw, 5.7rem);
}

.intro-copy p {
  max-width: 45rem;
  margin-left: auto;
  color: #4f4b45;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.intro,
.site-types,
.approach,
.enquire {
  position: relative;
}

.intro::after,
.approach::after,
.enquire::after {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
  background: inherit;
}

.site-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--ink);
  background: var(--paper);
}

.site-types article {
  position: relative;
  min-height: 30rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid #d7d2c7;
  border-right: 1px solid #d7d2c7;
}

.site-types article:last-child {
  border-right: 0;
}

.site-number {
  color: #858078;
  font-size: 0.76rem;
}

.site-icon {
  display: grid;
  width: 6.5rem;
  height: 6.5rem;
  margin: 4rem auto 4.8rem;
  place-items: center;
  border-radius: 50%;
  background: #ebe5d8;
}

.site-icon svg {
  width: 3.4rem;
  fill: none;
  stroke: #d18718;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.site-types h3,
.steps h3 {
  margin-bottom: 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.site-types p {
  max-width: 25rem;
  color: #615d56;
}

.approach {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.approach .section-label {
  margin-bottom: 3rem;
  color: #89868d;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps > li > span {
  color: var(--ember);
  font-size: 0.75rem;
}

.steps p {
  color: #aaa7ae;
}

.record {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 42rem;
  background: #171319;
}

.record-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 28%, rgba(242, 168, 50, 0.18), transparent 21%),
    linear-gradient(145deg, #221924, #0e0d12);
}

.record-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 60px 60px;
}

.record-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contour {
  fill: none;
  stroke: #443747;
  stroke-width: 2;
}

.trail {
  fill: none;
  stroke: url(#none);
  stroke: var(--ember);
  stroke-dasharray: 8 12;
  stroke-width: 2;
}

.point {
  fill: var(--ember-light);
  stroke: rgba(243, 168, 50, 0.25);
  stroke-width: 16;
}

.record-copy {
  padding: clamp(4rem, 7vw, 7rem);
}

.record-copy > p:not(.eyebrow) {
  color: #aaa7ae;
  font-size: 1.12rem;
}

.record-copy ul {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.record-copy li {
  display: flex;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.record-copy b {
  color: var(--ember);
  font-size: 0.75rem;
  font-weight: 500;
}

.enquire {
  color: var(--ink);
  background: var(--ember-light);
}

.enquire .section-label {
  margin-bottom: 3rem;
  color: #8a632a;
}

.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.enquire-grid > div > p {
  max-width: 32rem;
  color: #5e4c32;
  font-size: 1.12rem;
}

.direct-contact {
  display: grid;
  gap: 0;
  max-width: 32rem;
  margin-top: 2.4rem;
  border-bottom: 1px solid rgba(11, 11, 15, 0.3);
}

.direct-contact a {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid rgba(11, 11, 15, 0.3);
  text-decoration: none;
}

.direct-contact span {
  color: #795c31;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.direct-contact strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
}

.direct-contact a:hover strong,
.direct-contact a:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-content: start;
}

.enquiry-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 11, 15, 0.36);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.enquiry-form .button {
  margin-top: 0.75rem;
  color: white;
  background: var(--ink);
}

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

.form-note {
  color: #6f5939;
  font-size: 0.78rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

footer p {
  margin: 0;
  color: #aaa7ae;
}

.footer-contact {
  display: flex;
  grid-column: 2;
  gap: 0.6rem 1.4rem;
  flex-wrap: wrap;
}

.footer-contact a {
  color: white;
  text-underline-offset: 0.25rem;
}

.footer-small {
  grid-column: 2;
  max-width: 39rem;
  font-size: 0.78rem;
}

@keyframes settle {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.2rem); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 900px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero-content {
    width: min(44rem, 82vw);
  }

  .detection-card {
    display: none;
  }

  .image-note {
    bottom: 1.5rem;
  }

  .site-types {
    grid-template-columns: 1fr;
  }

  .site-types article {
    min-height: auto;
    border-right: 0;
  }

  .site-icon {
    margin: 2.2rem 0;
  }

  .approach,
  .record,
  .enquire-grid {
    grid-template-columns: 1fr;
  }

  .record-visual {
    min-height: 23rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav-cta {
    padding: 0.45rem 0.8rem;
  }

  .hero {
    min-height: 48rem;
    padding-bottom: 4.3rem;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(6, 6, 10, 0.96) 0%, rgba(6, 6, 10, 0.52) 58%, rgba(6, 6, 10, 0.25) 100%);
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro h2,
  .approach h2,
  .enquire h2,
  .record h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .enquiry-form label {
    grid-column: 1;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-small {
    grid-column: 1;
  }

  .footer-contact {
    grid-column: 1;
  }
}
