  :root {
      --primary: oklch(0.78 0.13 85);
      /* gold */
      --primary-soft: oklch(0.86 0.09 85);
      /* lighter gold */
      --primary-deep: oklch(0.62 0.13 75);
      /* darker gold */

      /* light theme — warm off-white neutrals */
      --bg-dark: oklch(0.93 0.005 85);
      --bg: oklch(0.965 0.004 85);
      --bg-light: oklch(0.995 0.002 85);

      --text: oklch(0.18 0.01 85);
      --text-muted: oklch(0.45 0.01 85);
      --text-faint: oklch(0.62 0.008 85);

      --line: oklch(0.86 0.006 85);

      --shadow-s:
          inset 0 1px 0 #ffffffcc,
          0 1px 2px #1a140a14,
          0 2px 4px #1a140a0a;
      --shadow-m:
          inset 0 1px 0 #ffffffd9,
          0 2px 4px #1a140a1f,
          0 6px 14px #1a140a0f;
      --shadow-l:
          inset 0 1px 0 #ffffffe6,
          0 4px 10px #1a140a26,
          0 16px 32px #1a140a14;
      --shadow-inset:
          inset 0 2px 4px #1a140a1a,
          inset 0 -1px 0 #ffffffcc;

      --gold-glow: 0 8px 28px oklch(0.78 0.13 85 / 0.35);
      --r-s: 10px;
      --r-m: 16px;
      --r-l: 22px;
      --r-xl: 32px;
  }

  html[data-theme="dark"] {
      --primary: oklch(0.80 0.14 88);
      --primary-soft: oklch(0.88 0.10 88);
      --primary-deep: oklch(0.62 0.13 75);

      --bg-dark: oklch(0.12 0.006 85);
      --bg: oklch(0.17 0.006 85);
      --bg-light: oklch(0.235 0.007 85);

      --text: oklch(0.96 0.005 85);
      --text-muted: oklch(0.74 0.008 85);
      --text-faint: oklch(0.58 0.008 85);

      --line: oklch(0.30 0.008 85);

      --shadow-s:
          inset 0 1px 0 #ffffff1f,
          0 1px 2px #00000059,
          0 2px 4px #0000003d;
      --shadow-m:
          inset 0 1px 0 #ffffff29,
          0 2px 4px #00000066,
          0 6px 14px #00000040;
      --shadow-l:
          inset 0 1px 0 #ffffff33,
          0 4px 10px #00000080,
          0 16px 32px #00000059;
      --shadow-inset:
          inset 0 2px 5px #00000080,
          inset 0 -1px 0 #ffffff14;

      --gold-glow: 0 10px 36px oklch(0.78 0.13 85 / 0.30);
  }

  * {
      box-sizing: border-box;
  }

  html,
  body {
      margin: 0;
      padding: 0;
  }

  html {
      background: var(--bg-dark);
      color: var(--text);
      font-family: 'Manrope', system-ui, sans-serif;
      -webkit-font-smoothing: antialiased;
      font-feature-settings: "ss01", "cv11";
      scroll-behavior: smooth;
  }

  /* offset for the sticky nav when jumping to a section */
  section[id],
  main[id] {
      scroll-margin-top: 96px;
  }

  @media (prefers-reduced-motion: reduce) {
      html {
          scroll-behavior: auto;
      }
  }

  body {
      background: var(--bg-dark);
      color: var(--text);
      min-height: 100vh;
      transition: background 280ms ease, color 280ms ease;
  }

  /* ---- Type ---- */
  .serif {
      font-family: 'Cormorant Garamond', 'Times New Roman', serif;
      font-weight: 500;
      letter-spacing: -0.005em;
  }

  .mono {
      font-family: ui-monospace, 'JetBrains Mono', monospace;
  }

  .eyebrow {
      font-size: 11px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-muted);
      font-weight: 600;
  }

  /* ---- Container ---- */
  .wrap {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 32px;
  }

  @media (max-width: 720px) {
      .wrap {
          padding: 0 20px;
      }
  }

  /* ===== NAV ===== */
  .nav-outer {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      background: color-mix(in oklab, var(--bg-dark) 78%, transparent);
      border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
  }

  .nav {
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 14px 0;
  }

  .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text);
      margin-left: 12px;
  }

  .brand-mark {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 600;
      font-size: 30px;
      letter-spacing: 0.06em;
      line-height: 1;
      color: var(--primary);
  }

  @media (max-width: 480px) {
      .brand {
          margin-left: 6px;
      }

      .brand-mark {
          font-size: 26px;
      }
  }

  .nav-links {
      display: flex;
      gap: 4px;
      align-items: center;
      background: var(--bg);
      padding: 5px;
      border-radius: 999px;
      box-shadow: var(--shadow-s);
  }

  .nav-links a {
      text-decoration: none;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 500;
      padding: 8px 16px;
      border-radius: 999px;
      transition: all 180ms ease;
  }

  .nav-links a:hover,
  .nav-links a.is-active {
      color: var(--text);
      background: var(--bg-light);
  }

  @media (max-width: 760px) {
      .nav-links {
          display: none;
      }
  }

  .nav-actions {
      display: flex;
      gap: 10px;
      align-items: center;
  }

  .seg {
      display: inline-flex;
      background: var(--bg);
      padding: 4px;
      border-radius: 999px;
      box-shadow: var(--shadow-s);
      position: relative;
  }

  .seg button {
      appearance: none;
      border: 0;
      background: transparent;
      color: var(--text-muted);
      font: 600 11px/1 'Manrope', sans-serif;
      letter-spacing: 0.12em;
      padding: 8px 12px;
      border-radius: 999px;
      cursor: pointer;
      transition: color 180ms ease;
      position: relative;
      z-index: 1;
      min-width: 38px;
  }

  .seg button.is-active {
      color: var(--text);
      background: var(--bg-light);
      box-shadow: var(--shadow-s);
  }

  .icon-btn {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border: 0;
      background: var(--bg);
      color: var(--text);
      border-radius: 12px;
      box-shadow: var(--shadow-s);
      cursor: pointer;
      transition: transform 180ms ease, box-shadow 200ms ease;
  }

  .icon-btn:hover {
      box-shadow: var(--shadow-m);
      transform: translateY(-1px);
  }

  .icon-btn:active {
      transform: translateY(0);
      box-shadow: var(--shadow-s);
  }

  .icon-btn svg {
      width: 18px;
      height: 18px;
  }

  #theme-toggle {
      margin-right: 12px;
      color: var(--primary);
  }

  .icon-btn .sun {
      display: none;
  }

  html[data-theme="dark"] .icon-btn .moon {
      display: none;
  }

  html[data-theme="dark"] .icon-btn .sun {
      display: block;
  }

  /* ---- Hamburger + mobile menu ---- */
  .nav-burger {
      display: none;
      width: 38px;
      height: 38px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      padding: 0;
      border: 0;
      background: var(--bg);
      border-radius: 12px;
      box-shadow: var(--shadow-s);
      cursor: pointer;
      transition: box-shadow 200ms ease, transform 160ms ease;
  }

  .nav-burger:hover {
      box-shadow: var(--shadow-m);
  }

  .nav-burger:active {
      transform: translateY(1px);
  }

  .nav-burger span {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
  }

  .nav-burger.is-open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .nav-burger.is-open span:nth-child(2) {
      opacity: 0;
  }

  .nav-burger.is-open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
      display: flex;
      flex-direction: column;
      gap: 4px;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      padding: 0 20px;
      background: color-mix(in oklab, var(--bg-dark) 92%, transparent);
      transition: max-height 340ms cubic-bezier(0.16, 1, 0.3, 1),
          opacity 240ms ease,
          padding 340ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu.is-open {
      max-height: 320px;
      opacity: 1;
      padding: 10px 20px 16px;
  }

  .mobile-menu a {
      text-decoration: none;
      color: var(--text);
      font-size: 15px;
      font-weight: 500;
      padding: 13px 14px;
      border-radius: var(--r-s);
      transition: background 160ms ease, color 160ms ease;
  }

  .mobile-menu a:hover,
  .mobile-menu a.is-active {
      background: var(--bg);
      color: var(--primary-deep);
  }

  html[data-theme="dark"] .mobile-menu a:hover,
  html[data-theme="dark"] .mobile-menu a.is-active {
      color: var(--primary);
  }

  @media (max-width: 760px) {
      .nav-burger {
          display: flex;
          margin-right: 12px;
      }

      #theme-toggle {
          margin-right: 0;
      }
  }

  @media (max-width: 480px) {
      .nav-burger {
          margin-right: 6px;
      }
  }

  @media (min-width: 761px) {
      .mobile-menu {
          display: none;
      }
  }

  /* Big centered MVK mark above the hero (index only) */
  .hero-mark {
      text-align: center;
      padding: 56px 20px 28px;
      position: relative;
      z-index: 1;
  }

  .hero-mark img {
      width: clamp(140px, 18vw, 200px);
      height: auto;
      display: inline-block;
  }

  @media (max-width: 720px) {
      .hero-mark {
          padding: 40px 16px 20px;
      }
  }

  /* ===== HERO ===== */
  .hero {
      position: relative;
      overflow: hidden;
      background: var(--bg-dark);
      min-height: clamp(460px, 66vh, 680px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 96px 0;
  }

  .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
          radial-gradient(ellipse at 80% 10%, oklch(0.78 0.13 85 / 0.16), transparent 55%),
          radial-gradient(ellipse at 10% 90%, oklch(0.78 0.13 85 / 0.08), transparent 60%);
      pointer-events: none;
  }

  /* hero stage — full-bleed background photo behind the text */
  .stage {
      position: absolute;
      inset: 0;
  }

  .stage-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      opacity: 0.5;
  }

  .hero-head {
      position: relative;
      z-index: 1;
      text-align: center;
  }

  .hero h1 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 500;
      font-size: clamp(44px, 6.4vw, 88px);
      line-height: 1.04;
      letter-spacing: -0.018em;
      margin: 0 0 22px;
      text-wrap: balance;
  }

  .hero h1 em {
      font-style: italic;
      color: var(--primary-deep);
      font-weight: 500;
  }

  html[data-theme="dark"] .hero h1 em {
      color: var(--primary);
  }

  .hero p.lede {
      font-size: 17px;
      line-height: 1.65;
      color: var(--text);
      max-width: 56ch;
      margin: 0 auto;
  }

  @media (max-width: 720px) {
      .hero {
          padding: 72px 0;
          min-height: clamp(420px, 72vh, 560px);
      }
  }


  /* ===== SECTIONS ===== */
  section {
      padding: 96px 0;
      position: relative;
  }

  @media (max-width: 720px) {
      section {
          padding: 64px 0;
      }
  }

  .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 48px;
      flex-wrap: wrap;
  }

  .section-head h2 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 500;
      font-size: clamp(34px, 4.5vw, 56px);
      line-height: 1.05;
      margin: 0;
      letter-spacing: -0.012em;
      max-width: 18ch;
      text-wrap: balance;
  }

  /* secondary section-head — used when a section has more than one card */
  .section-head--sub {
      margin-top: 72px;
  }

  .section-head--sub h2 {
      font-size: clamp(28px, 3.6vw, 44px);
  }

  @media (max-width: 720px) {
      .section-head--sub {
          margin-top: 48px;
      }
  }

  /* ===== SERVICES ===== */
  .services {
      background: var(--bg);
  }

  .svc-list {
      list-style: none;
      margin: 0;
      padding: 0;
      max-width: 900px;
  }

  .svc-list li {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 20px;
      padding: 28px 0;
      border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
      align-items: start;
  }

  .svc-list li:first-child {
      padding-top: 0;
  }

  .svc-list li:last-child {
      border-bottom: 0;
      padding-bottom: 0;
  }

  .svc-list .mark {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: linear-gradient(180deg, var(--primary-soft), var(--primary));
      box-shadow:
          inset 0 1px 0 #ffffffb3,
          inset 0 -1px 0 #00000026,
          0 3px 8px oklch(0.78 0.13 85 / 0.32);
      color: oklch(0.20 0.02 85);
      flex-shrink: 0;
  }

  .svc-list .mark svg {
      width: 20px;
      height: 20px;
  }

  .svc-list h3 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 600;
      font-size: 25px;
      line-height: 1.2;
      margin: 4px 0 8px;
  }

  .svc-list p {
      margin: 0;
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.7;
      max-width: 62ch;
  }

  @media (max-width: 620px) {
      .svc-list li {
          gap: 14px;
          padding: 22px 0;
      }

      .svc-list .mark {
          width: 34px;
          height: 34px;
          border-radius: 10px;
      }

      .svc-list .mark svg {
          width: 17px;
          height: 17px;
      }

      .svc-list h3 {
          font-size: 22px;
      }
  }

  /* ===== COMPANY DETAILS ===== */
  .company {
      background: var(--bg-dark);
  }

  .co-card {
      background: var(--bg);
      border-radius: var(--r-xl);
      padding: 40px;
      box-shadow: var(--shadow-m);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px 48px;
  }

  @media (max-width: 760px) {
      .co-card {
          grid-template-columns: 1fr;
          padding: 28px;
          gap: 6px;
      }
  }

  .co-row {
      display: grid;
      grid-template-columns: minmax(160px, 0.7fr) 1fr;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
      align-items: baseline;
  }

  .co-row:last-of-type,
  .co-row.no-line {
      border-bottom: 0;
  }

  /* 2-column layout helpers (apply only above the single-column breakpoint) */
  @media (min-width: 761px) {
      .co-row.co-row--right {
          grid-column: 2;
      }

      .co-row.co-row--last-left {
          border-bottom: 0;
      }
  }

  .co-row dt {
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-muted);
      font-weight: 600;
  }

  .co-row dd {
      margin: 0;
      font-size: 15px;
      color: var(--text);
      font-weight: 500;
      font-variant-numeric: tabular-nums;
  }

  .co-row dd.serif {
      font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 0.02em;
  }

  .co-row dd .pill {
      display: inline-block;
      padding: 3px 9px;
      background: var(--bg-light);
      border-radius: 999px;
      font-size: 12px;
      color: var(--text-muted);
      margin-left: 8px;
      box-shadow: var(--shadow-s);
  }

  /* ===== CONTACT + MAP ===== */
  .contact {
      background: var(--bg);
  }

  .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 28px;
  }

  @media (max-width: 920px) {
      .contact-grid {
          grid-template-columns: 1fr;
      }
  }

  .contact-card {
      background: var(--bg-light);
      border-radius: var(--r-l);
      padding: 32px;
      box-shadow: var(--shadow-m);
      display: flex;
      flex-direction: column;
      gap: 18px;
  }

  .contact-row {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 14px;
      background: var(--bg);
      border-radius: var(--r-s);
      box-shadow: var(--shadow-inset);
      transition: background 180ms ease;
      text-decoration: none;
      color: inherit;
  }

  .contact-row:hover {
      background: var(--bg-dark);
  }

  .contact-row .ic {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: linear-gradient(180deg, var(--primary-soft), var(--primary));
      box-shadow:
          inset 0 1px 0 #ffffffb3,
          inset 0 -1px 0 #00000026,
          0 2px 5px oklch(0.78 0.13 85 / 0.30);
      color: oklch(0.18 0.02 85);
      flex: 0 0 36px;
  }

  .contact-row .ic svg {
      width: 18px;
      height: 18px;
  }

  .contact-row .meta {
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-muted);
      font-weight: 600;
  }

  .contact-row .val {
      font-size: 15px;
      color: var(--text);
      margin-top: 2px;
      font-weight: 500;
  }

  .map-wrap {
      border-radius: var(--r-l);
      overflow: hidden;
      box-shadow: var(--shadow-m);
      position: relative;
      min-height: 460px;
      background: var(--bg-light);
  }

  #map {
      width: 100%;
      height: 100%;
      min-height: 460px;
  }

  .map-overlay {
      position: absolute;
      left: 16px;
      bottom: 16px;
      z-index: 400;
      background: var(--bg-light);
      border-radius: var(--r-s);
      padding: 12px 14px;
      box-shadow: var(--shadow-m);
      display: flex;
      gap: 12px;
      align-items: center;
      font-size: 13px;
      max-width: calc(100% - 32px);
  }

  .map-overlay .ic {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: linear-gradient(180deg, var(--primary-soft), var(--primary));
      display: grid;
      place-items: center;
      box-shadow: inset 0 1px 0 #ffffffb3, inset 0 -1px 0 #00000026;
      color: oklch(0.18 0.02 85);
      flex-shrink: 0;
  }

  .map-overlay strong {
      display: block;
      font-size: 13px;
  }

  .map-overlay span {
      font-size: 12px;
      color: var(--text-muted);
  }

  html[data-theme="dark"] .leaflet-tile {
      filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9);
  }

  html[data-theme="dark"] .leaflet-container {
      background: var(--bg);
  }

  .leaflet-control-attribution {
      background: color-mix(in oklab, var(--bg-light) 80%, transparent) !important;
      color: var(--text-muted) !important;
  }

  .leaflet-control-attribution a {
      color: var(--primary-deep) !important;
  }

  /* ===== FOOTER — iTrast credit (matches othersitefooter) ===== */
  footer.foot-credit {
      background: #23211F;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 16px 0;
      text-align: center;
  }

  .foot-credit-link {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      color: #fff;
      text-decoration: none;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
          filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .foot-credit-link:hover {
      transform: translateY(-4px);
      filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  }

  .foot-credit-logo {
      height: 22px;
      width: auto;
  }

  /* misc utilities */
  .pill-mini {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--bg);
      box-shadow: var(--shadow-s);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
  }

  .pill-mini .d {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 30%, transparent);
  }

  .quiet-divider {
      height: 1px;
      background: var(--line);
      margin: 0;
      opacity: 0.5;
  }

  ::selection {
      background: color-mix(in oklab, var(--primary) 50%, transparent);
      color: var(--text);
  }