/* Site theme tokens: edit these variables to change the main colours everywhere. */
:root {
  --green-deepest: #031612;
  --green-deep: #08241e;
  --green-main: #12382f;
  --green-soft: #1f4a3f;

  --wood: #8a5f38;
  --wood-dark: #5b3b22;
  --wood-soft: #c29a68;

  --paper: #eee9dd;
  --paper-soft: #e4ddce;
  --paper-muted: #cfc6b7;

  --soft-black: #171814;
  --soft-black-2: #24261f;
  --muted: #62685f;

  --line-light: rgba(23, 24, 20, 0.12);
  --line-dark: rgba(238, 233, 221, 0.14);
  --white: #ffffff;
}

/* Global sizing reset so padding/borders are included in element widths. */
* {
  box-sizing: border-box;
}

/* Makes anchor links like #contact glide instead of jumping instantly. */
html {
  scroll-behavior: smooth;
}

/* Default page background, text colour, and body font for the public website. */
body {
  margin: 0;
  background: var(--paper);
  color: var(--soft-black);
  font-family: "Barlow", Arial, sans-serif;
}

/* Added by script.js while the mobile menu is open so the page behind it cannot scroll. */
body.menu-open {
  overflow: hidden;
}

/* Keeps images responsive and removes the little inline-image gap. */
img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* Form controls inherit the same font as the rest of the site. */
button,
input,
select,
textarea {
  font: inherit;
}

/* Standard centered content wrapper used by most sections. */
.container {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}

/* Narrow wrapper for text-heavy sections like FAQ. */
.narrow {
  width: min(100% - 48px, 740px);
}

/* Remove browser default margins so section spacing is controlled manually. */
h1,
h2,
h3,
p {
  margin: 0;
}

/* Main heading style shared by h1/h2/h3. */
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: 1.04;
  text-transform: uppercase;
}

h1 {
  max-width: 740px;
  color: var(--paper);
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 900;
  letter-spacing: 0.018em;
}

h2 {
  color: var(--soft-black);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.018em;
}

h3 {
  color: var(--soft-black);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 850;
  letter-spacing: 0.014em;
}

/* Highlighted italic words inside big headings. */
em {
  color: var(--wood-soft);
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

/* Default paragraph colour and readable line height. */
p {
  color: var(--muted);
  line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                  */
/* -------------------------------------------------------------------------- */

.site-header {
  /* Fixed transparent header that sits on top of the hero. */
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 58px;
  background: transparent;
  pointer-events: none;
}

.nav-inner {
  /* Three-column nav: logo, page links, then icon shortcuts. */
  width: 100%;
  height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(14px, 2vw, 28px);
  pointer-events: auto;
  transition:
    background 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.scrolled .nav-inner {
  /* Script adds .scrolled after moving down the page for a glassy header background. */
  background: rgba(3, 22, 18, 0.34);
  backdrop-filter: blur(14px);
}

.nav-brand {
  /* Logo + Future Connect text on the left side of the header. */
  min-width: 260px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.nav-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(1) brightness(1.14) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.42));
}

.nav-brand span {
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.nav-links {
  /* Desktop navigation links in the middle/right of the header. */
  justify-self: end;
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(28px, 4.5vw, 72px);
  margin-right: clamp(16px, 2.4vw, 38px);
}

.nav-links a {
  position: relative;
  height: 58px;
  display: inline-flex;
  align-items: center;
  color: rgba(238, 233, 221, 0.84);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--paper);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  /* Underline shown for the current nav item and hover state. */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--paper);
}

.nav-icons {
  /* Header contact/social icon group. */
  height: 58px;
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 34px);
}

.nav-divider {
  width: 2px;
  height: 36px;
  display: block;
  margin-right: clamp(8px, 1.2vw, 18px);
  background: rgba(238, 233, 221, 0.32);
}

.nav-icons a {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: rgba(238, 233, 221, 0.9);
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-icons a:hover {
  color: var(--wood-soft);
  transform: translateY(-1px);
}

.nav-icons svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle,
.menu-close {
  /* Shared reset for the mobile open/close menu buttons. */
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  /* Hamburger button. Hidden on desktop, shown in the responsive rules. */
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(238, 233, 221, 0.22);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--paper);
}

.mobile-menu {
  /* Full-screen mobile navigation overlay. */
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  place-items: center;
  align-content: center;
  gap: 28px;
  background: rgba(3, 22, 18, 0.98);
  backdrop-filter: blur(18px);
}

.mobile-menu.open {
  /* Script adds .open to show the mobile menu. */
  display: grid;
}

.mobile-menu a {
  color: var(--paper);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: block;
  color: var(--paper);
  font-size: 2rem;
}

/* -------------------------------------------------------------------------- */
/* Hero / 3D Logo                                                              */
/* -------------------------------------------------------------------------- */

.hero-3d {
  /* Tall scroll area that gives the sticky hero/3D logo room to animate. */
  position: relative;
  height: 205vh;
  min-height: auto;
  padding: 0;
  overflow: visible;
  background:
    radial-gradient(
      circle at 72% 46%,
      rgba(194, 154, 104, 0.18) 0%,
      rgba(138, 95, 56, 0.11) 22%,
      transparent 48%
    ),
    radial-gradient(circle at 24% 18%, rgba(31, 74, 63, 0.8), transparent 34%),
    linear-gradient(135deg, #031612 0%, #08241e 46%, #12382f 100%);
}

.hero-sticky {
  /* The visible hero viewport that sticks while the user scrolls through .hero-3d. */
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(3, 22, 18, 0.92) 0%,
    rgba(8, 36, 30, 0.72) 42%,
    rgba(18, 56, 47, 0.38) 100%
  );
}

#logoCanvas {
  /* Canvas where script.js renders the 3D logo. */
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

#logoCanvas.is-hidden {
  display: none;
}

/* Static logo fallback shown when 3D/WebGL is unavailable. */
.hero-logo-fallback {
  /* Static logo shown only when WebGL or the 3D libraries are unavailable. */
  position: absolute;
  top: 50%;
  right: clamp(28px, 12vw, 160px);
  z-index: 2;
  width: min(34vw, 430px);
  max-width: 52%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  filter: invert(1) brightness(1.14)
    drop-shadow(0 26px 70px rgba(0, 0, 0, 0.34));
  transition: opacity 180ms ease;
}

.hero-3d.logo-fallback-active .hero-logo-fallback {
  opacity: 0.72;
}

.hero-grid-lines {
  /* Very subtle grid texture behind the hero. */
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(90deg, rgba(238, 233, 221, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(238, 233, 221, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-soft {
  /* Soft blurred decorative glow shapes used in the hero background. */
  position: absolute;
  border-radius: 999px;
  background: rgba(194, 154, 104, 0.12);
  filter: blur(42px);
  pointer-events: none;
}

.hero-soft-one {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -80px;
}

.hero-soft-two {
  width: 224px;
  height: 224px;
  bottom: -64px;
  left: -64px;
}

.hero-3d-content {
  /* Hero text column plus empty right-side space reserved for the 3D logo. */
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 56px;
  pointer-events: none;
}

.hero-copy,
.hero-actions {
  /* Re-enable clicks on the hero text/buttons because the parent disables pointer events. */
  pointer-events: auto;
}

.hero-copy {
  display: grid;
  gap: 24px;
  max-width: 760px;
}

.hero-copy p {
  max-width: 470px;
  color: rgba(238, 233, 221, 0.74);
  font-size: 1.02rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.eyebrow,
.section-kicker,
.project-type,
.pricing-label {
  /* Small pill labels used above headings, project types, and pricing labels. */
  display: inline-flex;
  width: fit-content;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(8, 36, 30, 0.08);
  color: var(--wood);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(238, 233, 221, 0.1);
  color: rgba(238, 233, 221, 0.7);
}

.eyebrow-dark {
  background: rgba(238, 233, 221, 0.08);
  color: var(--wood-soft);
}

.hero-logo-space {
  /* Invisible grid column spacer so the 3D canvas has visual breathing room. */
  min-height: 440px;
}

.scroll-hint {
  /* Small animated "scroll" cue in the bottom corner of the hero. */
  position: absolute;
  z-index: 4;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(238, 233, 221, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.scroll-hint span {
  width: 42px;
  height: 1px;
  display: block;
  background: currentColor;
  transform-origin: right;
  animation: scrollHintLine 1.55s ease-in-out infinite;
}

.scroll-hint small {
  font: inherit;
}

@keyframes scrollHintLine {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.55;
  }

  50% {
    transform: scaleX(1.8);
    opacity: 1;
  }
}

/* -------------------------------------------------------------------------- */
/* Shared elements                                                             */
/* -------------------------------------------------------------------------- */

.section {
  /* Default vertical padding for normal content sections. */
  padding: clamp(86px, 9vw, 132px) 0;
}

.section-paper,
.projects-page,
.pricing-page {
  /* Light paper background shared by the main pale sections. */
  background: var(--paper);
}

.section-cream {
  /* Slightly darker paper background used to alternate section bands. */
  background: var(--paper-soft);
}

.section-dark {
  /* Dark green section style, used by the process area. */
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(194, 154, 104, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, var(--green-deepest), var(--green-deep));
  color: var(--paper);
}

.section-dark h2,
.section-dark h3 {
  color: var(--paper);
}

.section-heading {
  /* Centered heading block used at the top of repeated sections. */
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
}

.section-dark .section-heading p {
  color: rgba(238, 233, 221, 0.68);
}

.button {
  /* Base pill button style. Colour variants are defined below. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.button-light {
  /* Light button for dark backgrounds. */
  background: var(--paper);
  color: var(--green-deepest);
}

.button-outline {
  /* Transparent outlined button for dark backgrounds. */
  border: 2px solid rgba(238, 233, 221, 0.24);
  color: var(--paper);
}

.button-outline:hover {
  background: var(--paper);
  color: var(--green-deepest);
}

.button-primary,
.price-button {
  /* Main gold gradient CTA button. */
  background: linear-gradient(135deg, var(--wood-soft), var(--wood));
  color: var(--green-deepest);
}

/* -------------------------------------------------------------------------- */
/* Projects                                                                    */
/* -------------------------------------------------------------------------- */

.projects-page {
  /* Projects section wrapper and oversized top/bottom spacing. */
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0;
  background:
    radial-gradient(
      circle at 86% 12%,
      rgba(194, 154, 104, 0.16),
      transparent 30%
    ),
    var(--paper);
}

.projects-intro {
  /* Big intro text before the project cards. */
  max-width: 920px;
  margin-bottom: clamp(46px, 7vw, 84px);
}

.projects-intro h2 {
  margin: 0;
  color: var(--soft-black);
  font-size: clamp(4.5rem, 15vw, 13rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.projects-intro p,
.pricing-head p {
  max-width: 760px;
  margin-top: 28px;
  color: #62685f;
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
}

.project-list {
  /* Vertical stack of project showcase rows. */
  display: grid;
  gap: clamp(44px, 8vw, 88px);
}

.ober-project {
  /* One project row: visual mockup on one side, copy on the other. */
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.ober-project:nth-child(even) {
  /* Alternates every second project so the mockup switches sides. */
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.ober-project:nth-child(even) .ober-project-media {
  order: 2;
}

.ober-project-media {
  /* Large fake browser/device preview block for each project. */
  min-height: clamp(420px, 50vw, 620px);
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 24% 18%,
      rgba(194, 154, 104, 0.34),
      transparent 34%
    ),
    linear-gradient(135deg, var(--green-deepest), var(--green-main));
  box-shadow: 0 30px 80px rgba(3, 22, 18, 0.16);
}

.ober-project-media::after {
  /* Subtle grid overlay inside the project mockup panel. */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(90deg, rgba(238, 233, 221, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(238, 233, 221, 0.5) 1px, transparent 1px);
  background-size: 34px 34px;
}

.project-media-alt {
  /* Alternate mockup colourway for the second project. */
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(194, 154, 104, 0.32),
      transparent 32%
    ),
    linear-gradient(135deg, var(--green-main), var(--green-deepest));
}

.project-screen {
  /* Floating fake screen/card inside the project mockup. */
  position: absolute;
  z-index: 1;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
}

.screen-left {
  /* Large tilted desktop/tablet screen in the mockup. */
  left: 8%;
  top: 15%;
  width: 62%;
  height: 62%;
  padding: 22px;
  transform: rotate(-4deg);
}

.screen-right {
  /* Smaller tilted phone screen in the mockup. */
  right: 8%;
  bottom: 12%;
  width: 28%;
  height: 58%;
  padding: 18px;
  transform: rotate(5deg);
}

.screen-top {
  /* Fake browser title bar inside the mock screen. */
  height: 11px;
  width: 34%;
  border-radius: 999px;
  background: rgba(8, 36, 30, 0.16);
  margin-bottom: 18px;
}

.screen-hero,
.phone-block {
  /* Main coloured image/content block inside fake screens. */
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-main), var(--wood-soft));
}

.screen-hero {
  height: 44%;
}

.wood-hero,
.wood-block {
  background: linear-gradient(135deg, var(--wood-dark), var(--wood-soft));
}

.screen-lines,
.phone-lines {
  /* Fake text rows inside project screens. */
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.screen-lines i,
.phone-lines i {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: rgba(8, 36, 30, 0.12);
}

.screen-lines i:nth-child(2),
.phone-lines i:nth-child(2) {
  width: 74%;
}

.screen-lines i:nth-child(3),
.phone-lines i:nth-child(3) {
  width: 48%;
}

.phone-block {
  height: 38%;
}

.ober-project-copy h3 {
  /* Large project title beside each mockup. */
  margin: 0;
  color: var(--soft-black);
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0.018em;
}

.ober-project-copy p:not(.project-type) {
  margin-top: 22px;
  color: #62685f;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.text-link {
  /* Small uppercase inline CTA links below project copy. */
  width: fit-content;
  display: inline-flex;
  margin-top: 26px;
  color: var(--green-main);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  margin-left: 10px;
}

/* -------------------------------------------------------------------------- */
/* Pricing                                                                     */
/* -------------------------------------------------------------------------- */

.pricing-page {
  /* Pricing section background and spacing. */
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(194, 154, 104, 0.16),
      transparent 30%
    ),
    var(--paper);
}

.pricing-head {
  /* Intro heading area above the pricing calculator. */
  max-width: 980px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.pricing-head h2 {
  margin: 0;
  max-width: 980px;
  color: var(--soft-black);
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.96;
  letter-spacing: 0.018em;
}

.pricing-grid {
  /* Two-column pricing layout: feature list left, calculator card right. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.base-panel {
  /* Left pricing panel explaining what the base package includes. */
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(138, 95, 56, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.36),
      rgba(255, 255, 255, 0.12)
    ),
    var(--paper-soft);
}

.base-panel h3 {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--soft-black);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.018em;
}

.base-feature-list {
  /* Stack of included base-package features. */
  display: grid;
  gap: 12px;
}

.base-feature-list article {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 24, 20, 0.1);
}

.base-feature-list article:last-child {
  border-bottom: 0;
}

.base-feature-list strong {
  color: var(--soft-black);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.base-feature-list span {
  color: #62685f;
}

.price-card {
  /* Sticky pricing calculator card. script.js updates the price values inside it. */
  position: sticky;
  top: 86px;
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(194, 154, 104, 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, var(--green-deepest), var(--green-deep));
  color: var(--paper);
  box-shadow: 0 28px 70px rgba(4, 22, 18, 0.2);
}

.price-top {
  /* Price total and small explanatory labels at the top of the calculator. */
  display: grid;
  gap: 6px;
}

.price-top span,
.price-top small {
  color: rgba(238, 233, 221, 0.62);
}

.price-top strong {
  color: var(--paper);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(3.3rem, 6vw, 5.4rem);
  line-height: 0.92;
}

.pricing-range-wrap {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(238, 233, 221, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(194, 154, 104, 0.14),
      transparent 34%
    ),
    rgba(238, 233, 221, 0.055);
}

.pricing-range-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.pricing-range-label > span {
  color: rgba(238, 233, 221, 0.64);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-range-label strong {
  color: var(--wood-soft);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-range {
  width: 100%;
  height: 28px;
  margin: 8px 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  outline: 1px solid rgba(194, 154, 104, 0.42);
  outline-offset: 6px;
  background:
    linear-gradient(180deg, #9a7b4e, #6f4d2d 52%, #8a5f38);
  box-shadow:
    0 3px 2px -1px rgba(255, 255, 255, 0.18) inset,
    0 0 18px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.pricing-range::-webkit-slider-runnable-track {
  height: 5px;
  margin: 0 12px;
  border-radius: 999px;
  background: rgba(3, 22, 18, 0.9);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.24);
}

.pricing-range::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(3, 22, 18, 0.9);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.24);
}

.pricing-range::-webkit-slider-thumb {
  width: 48px;
  height: 48px;
  margin-top: -21.5px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background:
    radial-gradient(
      circle,
      #2c2c2c 0 34%,
      #4e4e4e 36% 43%,
      #1b1b1b 46% 52%,
      var(--wood-soft) 54% 100%
    ),
    conic-gradient(
      #3d3d3d 10deg,
      #777 45deg,
      #5f5f63 70deg,
      #a7a7a7 105deg,
      #444 140deg,
      #b8b8b8 185deg,
      #666 210deg,
      #999 245deg,
      #777 285deg,
      #a7a7a7 320deg,
      #3d3d3d
    );
  background-blend-mode: overlay;
  box-shadow:
    0 0 1px 1px rgba(255, 255, 255, 0.35) inset,
    0 1px 1px rgba(255, 255, 255, 0.22) inset,
    0 0 2px 2px rgba(0, 0, 0, 0.15) inset,
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.pricing-range::-moz-range-thumb {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #2c2c2c 0 34%,
      #4e4e4e 36% 43%,
      #1b1b1b 46% 52%,
      var(--wood-soft) 54% 100%
    ),
    conic-gradient(
      #3d3d3d 10deg,
      #777 45deg,
      #5f5f63 70deg,
      #a7a7a7 105deg,
      #444 140deg,
      #b8b8b8 185deg,
      #666 210deg,
      #999 245deg,
      #777 285deg,
      #a7a7a7 320deg,
      #3d3d3d
    );
  background-blend-mode: overlay;
  box-shadow:
    0 0 1px 1px rgba(255, 255, 255, 0.35) inset,
    0 1px 1px rgba(255, 255, 255, 0.22) inset,
    0 0 2px 2px rgba(0, 0, 0, 0.15) inset,
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.addon-list {
  display: grid;
  gap: 12px;
}

.addon-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(238, 233, 221, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(238, 233, 221, 0.08),
      rgba(238, 233, 221, 0.035)
    );
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.addon-option:hover {
  transform: translateY(-1px);
  border-color: rgba(194, 154, 104, 0.38);
  background:
    linear-gradient(
      180deg,
      rgba(194, 154, 104, 0.12),
      rgba(238, 233, 221, 0.04)
    );
}

.addon-text {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.addon-text strong {
  color: var(--paper);
  font-size: 0.96rem;
  font-weight: 800;
}

.addon-text small {
  color: rgba(238, 233, 221, 0.6);
  white-space: nowrap;
}

.checkbox-wrapper-51 {
  flex: 0 0 auto;
}

.checkbox-wrapper-51 input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-wrapper-51 .toggle {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.checkbox-wrapper-51 .toggle::before {
  content: "";
  position: relative;
  top: 1px;
  left: 1px;
  width: 40px;
  height: 22px;
  display: block;
  border-radius: 12px;
  background: rgba(238, 233, 221, 0.18);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(238, 233, 221, 0.1);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.checkbox-wrapper-51 .toggle > span {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.7), transparent 32%),
    var(--paper);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(3, 22, 18, 0.12);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.checkbox-wrapper-51 .toggle > span svg {
  margin: 7px;
  fill: none;
}

.checkbox-wrapper-51 .toggle > span svg path {
  stroke: rgba(8, 36, 30, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
  transition: all 0.5s linear;
}

.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle::before {
  background: linear-gradient(135deg, var(--wood-soft), var(--wood));
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.18) inset,
    0 0 0 1px rgba(194, 154, 104, 0.34),
    0 0 18px rgba(194, 154, 104, 0.18);
}

.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle > span {
  transform: translateX(18px);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.7), transparent 32%),
    var(--paper);
}

.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle > span path {
  stroke: var(--wood);
  stroke-dasharray: 25;
  stroke-dashoffset: 25;
}

/* -------------------------------------------------------------------------- */
/* Services / Feature / Process / About                                        */
/* -------------------------------------------------------------------------- */

.service-grid {
  /* Grid of service cards in the "What We Offer" section. */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  /* Individual service tile. */
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(138, 95, 56, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 255, 255, 0.14)
    ),
    var(--paper-soft);
  box-shadow: 0 22px 54px rgba(3, 22, 18, 0.07);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card span,
.process-card strong {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--wood);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
}

.service-card p,
.process-card p,
.faq-item p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
}

.service-card h3,
.process-card h3 {
  margin-bottom: 10px;
}

.split,
.why-grid,
.contact-grid {
  /* Reusable two-column layouts used in feature, about, and contact sections. */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-panel {
  /* Image container in the secure/private feature section. */
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.feature-copy {
  /* Text column beside images and in the about section. */
  display: grid;
  gap: 20px;
}

.feature-copy p {
  margin: 0;
}

.check-list {
  /* Stacked list of security/private selling points. */
  display: grid;
  gap: 12px;
}

.check-list span {
  padding: 14px 18px;
  border: 1px solid rgba(138, 95, 56, 0.18);
  border-radius: 14px;
  background: var(--paper);
  color: var(--soft-black);
  font-weight: 600;
}

.process-grid {
  /* Four-step process card layout. */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  /* Individual process step card on the dark section. */
  padding: 26px;
  border: 1px solid rgba(238, 233, 221, 0.08);
  border-radius: 18px;
  background: rgba(238, 233, 221, 0.04);
}

.process-card strong {
  display: block;
  margin-bottom: 36px;
  color: var(--wood-soft);
  font-size: 2rem;
}

.process-card p {
  color: rgba(238, 233, 221, 0.58);
}

.scoreboard {
  /* Small stats grid in the about/why-us section. */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.scoreboard div {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(138, 95, 56, 0.18);
  border-radius: 18px;
  background: var(--paper);
}

.scoreboard strong {
  color: var(--wood);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2.6rem;
  line-height: 1;
}

.scoreboard span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* -------------------------------------------------------------------------- */
/* FAQ                                                                         */
/* -------------------------------------------------------------------------- */

.faq-list {
  /* Vertical stack of FAQ accordions. */
  display: grid;
  gap: 12px;
}

.faq-item {
  /* One FAQ accordion item. */
  overflow: hidden;
  border: 1px solid rgba(138, 95, 56, 0.18);
  border-radius: 18px;
  background: var(--paper-soft);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--soft-black);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  color: var(--wood);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq-item p {
  /* FAQ answer is hidden until script.js adds .open to the parent item. */
  display: none;
  padding: 0 24px 22px;
}

.faq-item.open p {
  display: block;
}

.faq-item.open button span {
  transform: rotate(45deg);
}

/* -------------------------------------------------------------------------- */
/* Legal pages                                                                 */
/* -------------------------------------------------------------------------- */

.legal-page {
  background: var(--paper);
}

.legal-header {
  padding: 22px 0;
  background: var(--green-deepest);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  margin-bottom: 0;
}

.legal-back {
  min-height: 42px;
  color: var(--paper);
}

.legal-hero {
  padding: clamp(76px, 10vw, 130px) 0 clamp(46px, 7vw, 78px);
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(194, 154, 104, 0.16),
      transparent 28%
    ),
    var(--paper);
}

.legal-hero h1 {
  margin-top: 26px;
  color: var(--soft-black);
}

.legal-hero p {
  margin-top: 22px;
  max-width: 600px;
  font-size: 1.06rem;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  border-top: 1px solid rgba(138, 95, 56, 0.16);
  border-bottom: 1px solid rgba(138, 95, 56, 0.16);
  background: rgba(238, 233, 221, 0.92);
  backdrop-filter: blur(14px);
}

.legal-nav .container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(138, 95, 56, 0.22);
  border-radius: 999px;
  color: var(--green-main);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  border-color: var(--wood);
  color: var(--wood-dark);
}

.legal-content {
  padding: clamp(54px, 8vw, 94px) 0;
}

.legal-document {
  scroll-margin-top: 96px;
  padding: clamp(44px, 6vw, 70px) 0;
  border-bottom: 1px solid rgba(138, 95, 56, 0.16);
}

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

.legal-document:last-child {
  border-bottom: 0;
}

.legal-document h2 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.legal-document h3 {
  margin: 32px 0 12px;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.legal-document p,
.legal-document li,
.legal-document address {
  color: var(--muted);
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.75;
}

.legal-document p + p,
.legal-document address {
  margin-top: 12px;
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-document a {
  color: var(--green-main);
  font-weight: 600;
}

.legal-updated {
  margin-bottom: 24px;
  color: var(--wood);
  font-weight: 700;
}

.legal-footer {
  margin-top: 0;
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                     */
/* -------------------------------------------------------------------------- */

.contact-section {
  /* Reduces bottom padding before the footer. */
  padding-bottom: clamp(44px, 5vw, 72px);
}

.contact-heading {
  /* Centered title block above the contact info/form layout. */
  max-width: 900px;
  margin: 0 auto clamp(50px, 6vw, 74px);
  text-align: center;
}

.contact-heading h2 {
  color: var(--soft-black);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.9;
}

.contact-heading p {
  max-width: 620px;
  margin: 22px auto 0;
}

.contact-grid {
  /* Contact layout: info cards on the left, form on the right. */
  grid-template-columns: minmax(280px, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: stretch;
}

.contact-info {
  /* Stack of contact detail cards. */
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-info div {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 94px;
  padding: 22px 26px;
  border: 1px solid rgba(8, 36, 30, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0.08)
    ),
    var(--paper-soft);
  box-shadow: 0 18px 38px rgba(3, 22, 18, 0.055);
  overflow: hidden;
}

.contact-info div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wood-soft), var(--wood));
}

.contact-info span,
label span,
.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wood);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info strong {
  color: var(--green-deep);
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-form {
  /* Contact form card. script.js handles the submit/save behaviour. */
  align-self: stretch;
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid rgba(8, 36, 30, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.field-row {
  /* Places two form fields beside each other when there is room. */
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.field-row label {
  flex: 1 1 220px;
}

label {
  display: grid;
  gap: 7px;
}

input,
select,
textarea {
  /* Shared styling for text inputs, dropdowns, and textarea fields. */
  width: 100%;
  border: 1px solid rgba(8, 36, 30, 0.12);
  border-radius: 14px;
  outline: 0;
  background: #f3f0e8;
  color: var(--soft-black);
  font-size: 0.92rem;
  padding: 13px 16px;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 2px;
}

.success-message {
  /* Replaces the form after a successful contact submission. */
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
}

.success-message strong {
  display: block;
  color: var(--soft-black);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.success-message p,
.success-message small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

/* -------------------------------------------------------------------------- */
/* Footer / Scroll up                                                          */
/* -------------------------------------------------------------------------- */

.footer {
  /* Dark footer wrapper. */
  margin-top: 0;
  padding: 56px 0 30px;
  background: #050806;
  color: rgba(238, 233, 221, 0.56);
}

.footer-grid {
  /* Footer columns: brand blurb plus link groups. */
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 42px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(238, 233, 221, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--paper);
  text-decoration: none;
}

.footer-brand img {
  width: 30px;
  height: auto;
  filter: invert(1) brightness(1.14);
}

.footer-brand span {
  color: var(--paper);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: rgba(238, 233, 221, 0.58);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: var(--wood-soft);
}

.footer-grid div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-bottom {
  /* Final copyright/legal row at the very bottom. */
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: rgba(238, 233, 221, 0.32);
  font-size: 0.74rem;
}

.scroll-up {
  /* Floating back-to-top button. Hidden until script.js adds .visible. */
  position: fixed;
  right: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 38px);
  z-index: 95;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(238, 233, 221, 0);
  border-radius: 999px;
  background: rgba(3, 22, 18, 0.84);
  color: var(--paper);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.scroll-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-up:hover {
  border-color: currentColor;
  background: rgba(3, 22, 18, 0.94);
}

.scroll-up-arrow {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  overflow: hidden;
}

.scroll-up-arrow::before,
.scroll-up-arrow::after {
  position: absolute;
  display: block;
  content: "";
}

.scroll-up-arrow::before {
  width: 10px;
  height: 10px;
  top: 7px;
  left: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.scroll-up-arrow::after {
  width: 2px;
  height: 22px;
  top: 8px;
  left: 14px;
  background: currentColor;
}

.scroll-up:hover .scroll-up-arrow::before {
  animation: scrollUpArrowHead 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.15s;
}

.scroll-up:hover .scroll-up-arrow::after {
  animation: scrollUpArrowLine 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.15s;
}

@keyframes scrollUpArrowHead {
  0% {
    transform: rotate(45deg) translate(28px, 28px);
  }

  100% {
    transform: rotate(45deg) translate(-32px, -32px);
  }
}

@keyframes scrollUpArrowLine {
  0% {
    transform: translateY(34px);
  }

  100% {
    transform: translateY(-36px);
  }
}

/* Cookie popup that also enables the hero animation opt-in. */
.cookie-banner {
  /* Cookie consent panel. The accept button also opts this site into hero motion. */
  position: fixed;
  left: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 1100;
  width: min(100% - 32px, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(238, 233, 221, 0.14);
  border-radius: 22px;
  background: rgba(3, 22, 18, 0.92);
  color: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

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

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--paper);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-banner p {
  color: rgba(238, 233, 221, 0.66);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-secondary {
  border: 1px solid rgba(238, 233, 221, 0.2);
  background: transparent;
  color: rgba(238, 233, 221, 0.78);
}

.cookie-primary {
  border: 0;
  background: linear-gradient(135deg, var(--wood-soft), var(--wood));
  color: var(--green-deepest);
}

/* -------------------------------------------------------------------------- */
/* Animation helpers                                                           */
/* -------------------------------------------------------------------------- */

.reveal {
  /* Initial hidden state for scroll reveal animations. */
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.visible {
  /* script.js adds .visible when the element enters the viewport. */
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  /* Slightly tightens desktop nav spacing before tablet layout kicks in. */
  .nav-brand {
    min-width: 220px;
  }

  .nav-links {
    gap: clamp(20px, 3.4vw, 42px);
    margin-right: 18px;
  }
}

@media (max-width: 980px) {
  /* Tablet layout: switch nav to hamburger and collapse major grids to fewer columns. */
  .nav-links,
  .nav-icons {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    background: rgba(3, 22, 18, 0.28);
    backdrop-filter: blur(12px);
  }

  .nav-brand {
    min-width: 0;
  }

  .hero-3d {
    height: 190vh;
  }

  .hero-sticky {
    background: linear-gradient(
      180deg,
      rgba(3, 22, 18, 0.84),
      rgba(8, 36, 30, 0.64)
    );
  }

  .hero-3d-content {
    grid-template-columns: 1fr;
    align-content: end;
    padding-bottom: 112px;
  }

  .hero-logo-space {
    display: none;
  }

  /* Mobile placement for the static logo fallback. */
  .hero-logo-fallback {
    top: 36%;
    left: 50%;
    right: auto;
    width: min(48vw, 280px);
    max-width: 70%;
    transform: translate(-50%, -50%);
  }

  .hero-copy {
    max-width: 640px;
  }

  .ober-project,
  .ober-project:nth-child(even),
  .pricing-grid,
  .split,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .ober-project:nth-child(even) .ober-project-media {
    order: initial;
  }

  .price-card {
    position: static;
  }

  .service-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  /* Phone layout: smaller gutters, full-width buttons, and one-column content. */
  .container,
  .narrow {
    width: min(100% - 32px, 1120px);
  }

  .nav-brand span {
    font-size: 0.9rem;
  }

  .nav-brand img {
    width: 22px;
    height: 22px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-3d-content {
    padding-bottom: 96px;
  }

  .scroll-hint {
    left: 24px;
    right: auto;
  }

  .hero-actions,
  .field-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .projects-intro h2 {
    font-size: clamp(4rem, 24vw, 7rem);
  }

  .ober-project-media {
    min-height: 380px;
    border-radius: 26px;
  }

  .screen-left {
    left: 7%;
    width: 68%;
  }

  .screen-right {
    right: 6%;
    width: 34%;
  }

  .service-grid,
  .process-grid,
  .footer-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

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

  /* Mobile layout for the cookie/motion popup. */
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions button {
    width: 100%;
  }
}


@media (max-width: 620px) {
  .pricing-range-wrap {
    padding: 18px;
  }

  .pricing-range-label,
  .addon-text {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* -------------------------------------------------------------------------- */
/* Update: Secure & Private image frame                                        */
/* -------------------------------------------------------------------------- */

/*
  This only improves the image frame in the Secure & Private section.
  The pricing checkbox animation is left unchanged.
*/
.split .feature-panel {
  position: relative;
  overflow: visible;
  padding: 10px;
  border: 1px solid rgba(138, 95, 56, 0.3);
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(194, 154, 104, 0.38),
      rgba(238, 233, 221, 0.14) 42%,
      rgba(8, 36, 30, 0.2)
    ),
    var(--paper-soft);
  box-shadow:
    0 28px 76px rgba(3, 22, 18, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.26) inset;
}

.split .feature-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(238, 233, 221, 0.4);
  border-radius: 22px;
  pointer-events: none;
}

.split .feature-panel::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 12%, rgba(194, 154, 104, 0.28), transparent 34%),
    radial-gradient(circle at 86% 88%, rgba(8, 36, 30, 0.18), transparent 36%);
  pointer-events: none;
}

.split .feature-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 22px;
  box-shadow:
    0 18px 44px rgba(3, 22, 18, 0.2),
    0 0 0 1px rgba(23, 24, 20, 0.08);
}

@media (max-width: 620px) {
  .split .feature-panel {
    padding: 8px;
    border-radius: 24px;
  }

  .split .feature-panel::before {
    inset: 8px;
    border-radius: 18px;
  }

  .split .feature-panel img {
    border-radius: 18px;
  }
}

/* -------------------------------------------------------------------------- */
/* Update: pricing checkbox animation                                          */
/* -------------------------------------------------------------------------- */

/*
  New toggle behaviour:
  - smoother sliding switch
  - active card glow
  - clear tick mark appears inside the knob
  - keeps the existing green/wood website colours
*/
.addon-option {
  position: relative;
  overflow: hidden;
}

.addon-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(194, 154, 104, 0.2), transparent 36%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.addon-option:has(input[type="checkbox"]:checked) {
  border-color: rgba(194, 154, 104, 0.58);
  background:
    linear-gradient(
      180deg,
      rgba(194, 154, 104, 0.16),
      rgba(238, 233, 221, 0.055)
    );
}

.addon-option:has(input[type="checkbox"]:checked)::before {
  opacity: 1;
}

.checkbox-wrapper-51 .toggle {
  width: 50px;
  height: 28px;
}

.checkbox-wrapper-51 .toggle::before {
  top: 2px;
  left: 2px;
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(238, 233, 221, 0.18), rgba(238, 233, 221, 0.08));
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(238, 233, 221, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.16) inset;
  transition:
    background 260ms ease,
    box-shadow 260ms ease;
}

.checkbox-wrapper-51 .toggle > span {
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(135deg, var(--paper), #cfc6b7);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(3, 22, 18, 0.12);
  transition:
    transform 420ms cubic-bezier(0.2, 1.35, 0.32, 1),
    background 260ms ease,
    box-shadow 260ms ease;
}

.checkbox-wrapper-51 .toggle > span svg {
  display: none;
}

.checkbox-wrapper-51 .toggle > span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--green-deepest);
  border-bottom: 2px solid var(--green-deepest);
  opacity: 0;
  transform: rotate(45deg) scale(0.55);
  transition:
    opacity 180ms ease 90ms,
    transform 260ms cubic-bezier(0.2, 1.35, 0.32, 1) 90ms;
}

.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle::before {
  background:
    linear-gradient(135deg, var(--wood-soft), var(--wood));
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.22) inset,
    0 0 0 1px rgba(194, 154, 104, 0.42),
    0 0 22px rgba(194, 154, 104, 0.24);
}

.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle > span {
  transform: translateX(22px);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.88), transparent 32%),
    linear-gradient(135deg, var(--paper), var(--wood-soft));
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(194, 154, 104, 0.22);
}

.checkbox-wrapper-51 input[type="checkbox"]:checked + .toggle > span::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.checkbox-wrapper-51 input[type="checkbox"]:focus-visible + .toggle {
  outline: 2px solid var(--wood-soft);
  outline-offset: 5px;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* Update: Secure & Private image horizontal rectangle                         */
/* -------------------------------------------------------------------------- */

.split .feature-panel img {
  aspect-ratio: 17 / 13;
  object-fit: cover;
  object-position: center;
}

.split .feature-panel {
  align-self: center;
}

@media (min-width: 981px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  }
}

@media (max-width: 620px) {
  .split .feature-panel img {
    aspect-ratio: 4 / 3;
  }
}

/* -------------------------------------------------------------------------- */
/* Update: Projects use full preview images + View site button                  */
/* -------------------------------------------------------------------------- */

.project-image-card {
  min-height: clamp(420px, 50vw, 620px);
  display: block;
  padding: 0;
  isolation: isolate;
  border: 1px solid rgba(138, 95, 56, 0.22);
}

.project-image-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 520ms ease,
    filter 520ms ease;
}

.project-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 22, 18, 0.02), rgba(3, 22, 18, 0.36));
  opacity: 0.7;
  transition: opacity 260ms ease;
}

.project-image-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.04);
}

.project-image-card:hover::after {
  opacity: 0.88;
}

.project-view-button {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 2;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(238, 233, 221, 0.2);
  border-radius: 999px;
  background: rgba(238, 233, 221, 0.92);
  color: var(--green-deepest);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.project-view-button::after {
  content: "→";
  margin-left: 10px;
}

.project-image-card:hover .project-view-button {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--wood-soft), var(--wood));
  color: var(--green-deepest);
}

@media (max-width: 620px) {
  .project-image-card {
    min-height: 360px;
  }

  .project-view-button {
    left: 18px;
    right: 18px;
    width: auto;
  }
}

/* -------------------------------------------------------------------------- */
/* Update: Project images show fully without cropping or layout overlap         */
/* -------------------------------------------------------------------------- */

/*
  Project preview cards now use a stable aspect ratio and contain the full image.
  This prevents cropping, stretching, or pushing into the project text.
*/
.projects-page .container {
  width: min(100% - 48px, 1240px);
}

.ober-project,
.ober-project:nth-child(even) {
  align-items: center;
}

.project-image-card {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 10 / 7;
  display: block;
  overflow: hidden;
}

.project-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 75% 16%, rgba(194, 154, 104, 0.14), transparent 34%),
    linear-gradient(135deg, var(--green-deepest), var(--green-deep));
}

.project-image-card:hover img {
  transform: none;
  filter: none;
}

.project-image-card::after {
  opacity: 0.18;
  background:
    linear-gradient(180deg, transparent, rgba(3, 22, 18, 0.28));
}

.project-image-card:hover::after {
  opacity: 0.28;
}

/* Keep the button inside the image only, never over the text column. */
.project-view-button {
  z-index: 3;
}

/* The older mockup pieces are hidden if any remain in the HTML. */
.project-image-card .project-screen,
.project-image-card .screen-left,
.project-image-card .screen-right {
  display: none;
}

@media (min-width: 981px) {
  .ober-project {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  }

  .ober-project:nth-child(even) {
    grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  }
}

@media (max-width: 980px) {
  .project-image-card {
    aspect-ratio: 10 / 7;
  }
}

@media (max-width: 620px) {
  .projects-page .container {
    width: min(100% - 32px, 1240px);
  }

  .project-image-card {
    min-height: 0;
    aspect-ratio: 10 / 8;
  }

  .project-view-button {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
