:root {
  --ink: #17201d;
  --forest: #24352f;
  --forest-deep: #111a17;
  --paper: #f5f4ef;
  --white: #ffffff;
  --accent: #e7ef36;
  --accent-dark: #657000;
  --stone: #65716c;
  --stone-light: #d7dcd8;
  --line-dark: #3b4944;
  --shadow: 0 24px 70px rgba(18, 29, 25, 0.14);
  --max-width: 1240px;
  --header-height: 78px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
}

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

.container {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
}

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

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--forest);
  color: var(--white);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  color: var(--stone);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 2px;
  background: var(--accent-dark);
  content: "";
}

.eyebrow--light {
  color: var(--accent);
}

.eyebrow--light::before {
  background: var(--accent);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1,
h2 {
  margin: 0;
  font-weight: 720;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.75rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: -0.025em;
}

.lead {
  margin-top: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.muted {
  color: var(--stone);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(23, 32, 29, 0.14);
  background: rgba(245, 244, 239, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.logo-full {
  width: 254px;
  height: auto;
}

.logo-compact {
  display: none;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.logo-compact img {
  width: 42px;
  height: 42px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  position: relative;
  padding: 0.75rem 1rem;
  color: #34423d;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  margin-left: 0.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--forest);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100svh - var(--header-height)));
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: 59% center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 14, 0.96) 0%, rgba(9, 17, 14, 0.84) 42%, rgba(9, 17, 14, 0.28) 76%, rgba(9, 17, 14, 0.2)),
    linear-gradient(0deg, rgba(9, 17, 14, 0.36), transparent 45%);
  content: "";
}

.hero-inner {
  display: flex;
  width: min(var(--max-width), calc(100% - 3rem));
  margin: auto;
  padding-block: 6rem;
  align-items: center;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3.6rem, 6.5vw, 6.75rem);
  line-height: 0.94;
}

.hero-line {
  display: block;
}

.hero-line--accent {
  color: var(--accent);
}

.hero-copy {
  max-width: 650px;
  margin: 2rem 0 2.4rem;
  color: #e1e7e3;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid transparent;
  padding: 0.8rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button::after {
  font-size: 1.05rem;
  content: "\2192";
}

.button--primary {
  background: var(--accent);
  color: var(--ink);
}

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

.button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button--outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: var(--forest);
}

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.intro-copy {
  max-width: 680px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.2rem;
}

.section-heading h2 {
  max-width: 800px;
}

.text-link {
  flex: 0 0 auto;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.capability-grid {
  display: grid;
  border-top: 1px solid var(--stone-light);
  border-left: 1px solid var(--stone-light);
  grid-template-columns: repeat(3, 1fr);
}

.capability {
  display: grid;
  min-height: 330px;
  border-right: 1px solid var(--stone-light);
  border-bottom: 1px solid var(--stone-light);
  padding: clamp(1.7rem, 3vw, 2.6rem);
  background: var(--white);
  grid-template-rows: auto minmax(8rem, auto) 1fr;
}

.capability-label {
  color: var(--accent-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.capability h3 {
  display: flex;
  margin: 0 0 1rem;
  align-items: end;
}

.capability p {
  margin-bottom: 0;
  color: var(--stone);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.feature-media {
  min-height: 570px;
  overflow: hidden;
}

.feature-media picture,
.feature-media img {
  width: 100%;
  height: 100%;
}

.feature-media img {
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  background: var(--forest);
  color: var(--white);
}

.feature-copy h2 {
  max-width: 650px;
}

.feature-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: #d6ded9;
}

.proof-list {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr 1fr;
}

.proof-list li {
  border-top: 1px solid var(--line-dark);
  padding: 1.1rem 1rem 1.1rem 0;
  color: #eff2f0;
  font-size: 0.9rem;
  font-weight: 700;
}

.proof-list li:nth-child(even) {
  padding-left: 1rem;
}

.service-highlights {
  display: grid;
  gap: 1px;
  background: var(--stone-light);
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.service-highlight {
  min-height: 280px;
  padding: 2rem;
  background: var(--paper);
}

.service-highlight:first-child {
  background: var(--ink);
  color: var(--white);
}

.service-highlight:first-child p {
  color: #c8d0cc;
}

.service-highlight h3 {
  margin: 3.6rem 0 1rem;
}

.service-highlight p {
  margin-bottom: 0;
  color: var(--stone);
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
}

.cta::after {
  position: absolute;
  right: -8rem;
  bottom: -11rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(23, 32, 29, 0.2);
  transform: rotate(45deg);
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  padding-block: 5rem;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
}

.cta h2 {
  max-width: 900px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--forest);
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  top: -15rem;
  right: -8rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(231, 239, 54, 0.18);
  transform: rotate(35deg);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: 4rem;
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(3.25rem, 7.2vw, 7.2rem);
  line-height: 0.95;
}

.page-hero-copy {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  color: #d3dcd7;
  font-size: 1.08rem;
}

.services-list {
  border-top: 1px solid var(--stone-light);
}

.service-row {
  display: grid;
  min-height: 340px;
  border-bottom: 1px solid var(--stone-light);
  grid-template-columns: minmax(250px, 0.72fr) minmax(300px, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: 3rem;
}

.service-row h2 {
  max-width: 470px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.service-row p {
  margin-top: 0;
  color: var(--stone);
}

.service-row ul {
  display: grid;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.4rem;
}

.service-row li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.service-row li::before {
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent-dark);
  content: "";
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-pair figure {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
}

.image-pair picture,
.image-pair img {
  width: 100%;
  height: 100%;
}

.image-pair img {
  object-fit: cover;
}

.image-pair figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: max-content;
  background: rgba(17, 26, 23, 0.9);
  color: var(--white);
  padding: 0.6rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.philosophy-grid {
  display: grid;
  border-top: 1px solid var(--stone-light);
  border-left: 1px solid var(--stone-light);
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  min-height: 350px;
  border-right: 1px solid var(--stone-light);
  border-bottom: 1px solid var(--stone-light);
  padding: 2.5rem;
  background: var(--white);
}

.principle span {
  display: inline-grid;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.principle h3 {
  margin: 5rem 0 1rem;
}

.principle p {
  margin-bottom: 0;
  color: var(--stone);
}

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

.approach-steps li {
  display: grid;
  border-top: 1px solid var(--line-dark);
  padding-block: 1.3rem;
  grid-template-columns: 110px 1fr;
  align-items: start;
  color: #d6dfda;
}

.approach-steps li::before {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approach-steps li:nth-child(1)::before {
  content: "Frame";
}

.approach-steps li:nth-child(2)::before {
  content: "Analyse";
}

.approach-steps li:nth-child(3)::before {
  content: "Translate";
}

.approach-steps li:nth-child(4)::before {
  content: "Enable";
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.contact-details {
  margin-top: 2.5rem;
  border-top: 1px solid var(--stone-light);
}

.contact-detail {
  border-bottom: 1px solid var(--stone-light);
  padding-block: 1.25rem;
}

.contact-detail dt {
  margin-bottom: 0.35rem;
  color: var(--stone);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-detail dd {
  margin: 0;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.field-label {
  color: #35433e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.055em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #bcc4bf;
  border-radius: 0;
  background: #fbfbf8;
  color: var(--ink);
  padding: 0.8rem 0.9rem;
}

.field input,
.field select {
  min-height: 50px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-dark);
  outline: 2px solid rgba(101, 112, 0, 0.24);
  outline-offset: 1px;
}

.challenge-box {
  border-left: 4px solid var(--accent);
  background: var(--paper);
  padding: 1rem;
}

.challenge-box p {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
}

.challenge-box input {
  max-width: 180px;
}

.form-note,
.recaptcha-note {
  margin: 0;
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.55;
}

.form-note a,
.recaptcha-note a {
  color: var(--ink);
}

.cookie-settings-inline {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.form-status {
  display: none;
  border-left: 4px solid var(--accent-dark);
  background: #eef0e6;
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-left-color: #8d2e25;
  background: #f7ecea;
  color: #6f241d;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.photo-banner {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.photo-banner picture,
.photo-banner img {
  width: 100%;
  height: 100%;
}

.photo-banner img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 58%;
}

.photo-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 26, 23, 0.75), transparent 65%);
  content: "";
}

.photo-banner-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding-block: 8rem;
  color: var(--white);
}

.site-footer {
  background: var(--forest-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  padding-block: 4.5rem;
  grid-template-columns: 1.35fr 0.62fr 0.82fr 1.15fr;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.footer-logo {
  width: 270px;
  height: auto;
}

.footer-logo-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.footer-positioning {
  max-width: 390px;
  margin: 1.6rem 0 0;
  color: #aab5af;
}

.footer-address {
  margin: 1.25rem 0 0;
  color: #d3dad6;
  font-size: 0.88rem;
  font-style: normal;
}

.footer-heading {
  margin: 0 0 1.2rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: #d3dad6;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact p {
  margin: 0.7rem 0 0;
  color: #aab5af;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  margin-top: 1.35rem;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
}

.footer-legal a,
.cookie-settings-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #aab5af;
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.footer-legal a:hover,
.cookie-settings-button:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  margin-top: 1.2rem;
  gap: 0.55rem;
}

.social-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #46534e;
  color: var(--accent);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.social-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link span {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.newsletter-copy {
  margin: 0 0 1rem;
  color: #aab5af;
  font-size: 0.86rem;
  line-height: 1.55;
}

.newsletter-form {
  display: grid;
  gap: 0.7rem;
}

.newsletter-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.newsletter-field input {
  min-width: 0;
  border: 1px solid #59665f;
  border-right: 0;
  border-radius: 0;
  background: #17201d;
  color: var(--white);
  padding: 0.72rem 0.8rem;
}

.newsletter-field input::placeholder {
  color: #87938d;
}

.newsletter-field button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  padding: 0.65rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 800;
}

.newsletter-field input:disabled,
.newsletter-field button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.newsletter-status {
  margin: 0;
  color: #87938d;
  font-size: 0.7rem;
  line-height: 1.45;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid #33413c;
  padding-block: 1.25rem;
  color: #86938d;
  font-size: 0.69rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.logo-lightbox {
  width: min(95vw, 880px);
  max-width: none;
  border: 0;
  padding: clamp(2rem, 7vw, 5.5rem);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  cursor: zoom-out;
}

.logo-lightbox::backdrop {
  background: rgba(8, 14, 12, 0.88);
  backdrop-filter: blur(5px);
}

.logo-lightbox img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

.cookie-banner {
  position: fixed;
  z-index: 500;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  width: min(100% - 2rem, 760px);
  margin-left: auto;
  border: 1px solid #52605a;
  padding: 1.2rem;
  background: var(--forest-deep);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: #ced7d2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
}

.cookie-actions button {
  min-height: 42px;
  border: 1px solid #718078;
  background: transparent;
  color: var(--white);
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.privacy-assurance {
  border-left: 4px solid var(--accent-dark);
  background: #eef0e6;
  padding: 1rem 1.1rem;
  color: #35433e;
  font-size: 0.86rem;
  line-height: 1.6;
}

.privacy-assurance a {
  font-weight: 800;
}

.legal-hero {
  min-height: calc(95svh - var(--header-height));
  background: var(--forest);
  color: var(--white);
}

.legal-hero-inner {
  display: grid;
  min-height: calc(95svh - var(--header-height));
  padding-block: clamp(4rem, 9vw, 8rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(3.6rem, 8.5vw, 8.6rem);
  line-height: 0.9;
}

.legal-summary {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 1.4rem;
  color: #d3dcd7;
}

.legal-summary p {
  margin: 0 0 1rem;
}

.legal-updated {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  display: grid;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
  gap: 0.55rem;
}

.legal-nav a {
  color: var(--stone);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.legal-content {
  max-width: 780px;
}

.legal-section {
  border-top: 1px solid var(--stone-light);
  padding-block: 2.3rem;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.legal-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-section h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.1rem;
}

.legal-section p,
.legal-section li {
  color: #4f5c57;
}

.legal-section ul {
  padding-left: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 781px) {
  .hero-line {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  :root {
    --space-8: 5rem;
  }

  .logo-full {
    width: 220px;
  }

  .site-nav a {
    padding-inline: 0.7rem;
  }

  .site-nav a:not(.nav-cta)::after {
    right: 0.7rem;
    left: 0.7rem;
  }

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

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 470px;
  }

  .service-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .service-highlight:first-child {
    grid-column: 1 / -1;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-hero-copy {
    max-width: 620px;
  }

  .service-row {
    grid-template-columns: 0.8fr 1fr;
    gap: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

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

@media (max-width: 780px) {
  :root {
    --header-height: 70px;
    --space-8: 4.25rem;
  }

  .container,
  .hero-inner {
    width: min(100% - 2rem, var(--max-width));
  }

  .logo-full {
    display: none;
  }

  .logo-compact {
    display: inline-flex;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--stone-light);
    padding: 0.7rem 1rem 1rem;
    background: var(--paper);
    box-shadow: 0 18px 35px rgba(23, 32, 29, 0.14);
    flex-direction: column;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 0.7rem;
    font-size: 0.95rem;
  }

  .site-nav a:not(.nav-cta)::after {
    right: auto;
    bottom: 0.65rem;
    left: 0.7rem;
    width: 2rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .hero-inner {
    padding-block: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 5.1rem);
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(9, 17, 14, 0.95), rgba(9, 17, 14, 0.62));
  }

  .intro-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .capability-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .capability,
  .principle {
    min-height: 260px;
  }

  .capability {
    grid-template-rows: auto auto 1fr;
  }

  .capability h3 {
    margin-top: 3.5rem;
  }

  .principle h3 {
    margin-top: 3.5rem;
  }

  .proof-list,
  .service-highlights,
  .image-pair {
    grid-template-columns: 1fr;
  }

  .proof-list li:nth-child(even) {
    padding-left: 0;
  }

  .feature-media {
    min-height: 380px;
  }

  .feature-copy {
    padding: 3rem 1.5rem;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-row {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .service-body {
    grid-column: auto;
  }

  .image-pair figure {
    min-height: 360px;
  }

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

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

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

  .newsletter-field {
    max-width: 440px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }

  .legal-hero-inner,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-hero h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .logo-compact {
    font-size: 0.7rem;
  }

  .logo-compact img {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

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

  .service-row ul {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding-inline: 1.1rem;
  }

  .newsletter-field {
    grid-template-columns: 1fr;
  }

  .newsletter-field input {
    border-right: 1px solid #59665f;
    border-bottom: 0;
  }

  .cookie-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    width: calc(100% - 1.3rem);
  }

  .cookie-actions button {
    flex: 1 1 auto;
  }

  .footer-logo {
    width: 240px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
