@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400&display=swap");
:root {
  --bg: #0b0a08;
  --panel: #161310;
  --panel-2: #1c1814;
  --border: #2b241a;
  --gold: #a3894f;
  --gold-bright: #ceb473;
  /* button plate, sampled from the reference */
  --plate-edge: #dac9a6;
  --plate-edge-quiet: #8e887b;
  --plate-face-quiet: linear-gradient(
    90deg,
    #5f5b53 0%,
    #7b7569 22%,
    #989285 50%,
    #7b7569 78%,
    #5f5b53 100%
  );
  --plate-face: linear-gradient(
    90deg,
    #9e8a65 0%,
    #b9a57b 22%,
    #dbcaa5 50%,
    #b9a57b 78%,
    #9e8a65 100%
  );
  --cream: #f3efe6;
  --muted: #9c9384;
  --danger: #dd8f8f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
/* ACCESSIBILITY */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}
/* PAGE CONTAINER */
.page {
  max-width: 1180px;
  min-height: 100vh;
  margin: 0 auto;
}
/* HEADER AND NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(43, 36, 26, 0.75);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  height: 90px;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--gold);
  overflow: hidden;
}
.brand-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.brand-text .name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
}
.brand-text .tag {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links a {
  color: var(--cream);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold);
}
/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  /* Brushed gold plate: dark at the edges, bright down the centre line,
     with a light top bevel and a soft drop shadow to lift it off the page. */
  border: 1px solid var(--plate-edge);
  background: var(--plate-face);
  color: #1a1713;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 3px 8px rgba(0, 0, 0, 0.5);
}
/* pressed: sinks, bevel flips */
.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.4);
}
.btn.filled {
  background: var(--plate-face);
  color: #1a1713;
  border: 1px solid var(--plate-edge);
}
.button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* HOMEPAGE HERO */
.hero {
  position: relative;
  min-height: 740px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 60px max(30px, calc((100vw - 1180px) / 2 + 30px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Shift the busy half of the scene right, clear of the headline column. */
  object-position: right center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(11, 10, 8, 0.55) 0%,
      rgba(11, 10, 8, 0) 12%
    );
}
/* Left scrim: gives the headline a near-black ground so it needs no text-shadow. */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 7, 0.9) 0%,
      rgba(8, 8, 7, 0.72) 28%,
      rgba(8, 8, 7, 0.18) 52%,
      rgba(8, 8, 7, 0) 70%
    );
}
/* Narrow desktop/tablet: the crop pulls the laptop under the headline,
   so the scrim has to cover more of the frame to keep the type clean. */
@media (min-width: 641px) and (max-width: 1100px) {
  .hero-bg::before {
    background:
      linear-gradient(
        90deg,
        rgba(8, 8, 7, 0.94) 0%,
        rgba(8, 8, 7, 0.88) 48%,
        rgba(8, 8, 7, 0.6) 72%,
        rgba(8, 8, 7, 0.15) 100%
      );
  }
}
.hero-left {
  position: relative;
  z-index: 1;
  max-width: 570px;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 6px;
}
.hero .hero-sub {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 20px;
}
.gold {
  color: var(--gold);
}
.hero p {
  color: #a89f8f;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 460px;
  margin: 0 0 24px;
}
/* INTERNAL PAGE HERO */
.page-hero {
  padding: 72px 30px 56px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(163, 137, 79, 0.14),
      transparent 34%
    ),
    var(--bg);
}
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.08;
}
.page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}
/* GENERAL SECTIONS */
.section {
  padding: 50px 30px;
}
/* Home-page service cards (massage / bookkeeper / salon) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.service-cards .card-link {
  display: block;
  transition: transform 0.2s ease;
}
.service-cards .card-link:hover {
  transform: translateY(-3px);
}
.service-cards .sc-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gold);
  display: block;
}
.service-cards h3 {
  margin: 14px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.service-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
@media (max-width: 720px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}
/* ===== TRUE 3D VIRTUAL ROOM (sage / brown / gold) ===== */
.vr3d {
  width: 100%;
  max-width: 980px;
  margin: 22px auto 0;
  aspect-ratio: 9 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #080605;
  perspective: 1000px;
  perspective-origin: 50% 44%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --g: #9d8950;
  --gl: #c8b373;
}
.vr3d-room {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.vr3d-face {
  position: absolute;
  overflow: hidden;
}
.vr3d-face.back {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform: translateZ(-560px);
  background:
    radial-gradient(70% 55% at 50% 2%, rgba(200, 179, 115, 0.20), rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, #16100a 0%, #0a0705 100%);
  box-shadow: inset 0 0 130px rgba(0, 0, 0, 0.7);
  border-bottom: 3px solid rgba(201, 175, 99, 0.8);
}
.vr3d-face.wleft,
.vr3d-face.wright {
  width: 560px;
  height: 100%;
  top: 0;
  background: #0a0806 url("../images/gold-panel-toned.png") center / cover no-repeat;
}
.vr3d-face.wleft {
  left: 0;
  transform-origin: left center;
  transform: rotateY(90deg);
  box-shadow: inset -80px 0 100px rgba(0, 0, 0, 0.7);
  border-right: 2px solid rgba(157, 137, 80, 0.55);
  border-bottom: 3px solid rgba(201, 175, 99, 0.8);
}
.vr3d-face.wright {
  right: 0;
  transform-origin: right center;
  transform: rotateY(-90deg);
  background-position: right center;
  box-shadow: inset 80px 0 100px rgba(0, 0, 0, 0.7);
  border-left: 2px solid rgba(157, 137, 80, 0.55);
  border-bottom: 3px solid rgba(201, 175, 99, 0.8);
}
.vr3d-face.floor {
  width: 100%;
  height: 560px;
  left: 0;
  bottom: 0;
  transform-origin: bottom center;
  transform: rotateX(90deg);
  background:
    linear-gradient(180deg, rgba(200, 179, 115, 0.18), rgba(0, 0, 0, 0) 26%),
    repeating-linear-gradient(90deg, transparent 0 150px, rgba(157, 137, 80, 0.22) 150px 152px),
    linear-gradient(180deg, #14100a, #050403);
  box-shadow: inset 0 80px 100px rgba(0, 0, 0, 0.6);
  border-top: 3px solid rgba(200, 179, 115, 0.7);
}
.vr3d-face.ceiling {
  width: 100%;
  height: 560px;
  left: 0;
  top: 0;
  transform-origin: top center;
  transform: rotateX(-90deg);
  background:
    radial-gradient(120% 60% at 50% 30%, rgba(198, 166, 99, 0.35), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #1b1308 0%, #120c06 45%, #0a0704 100%);
}
/* warm gold cove light strip across the ceiling */
.vr3d-face.ceiling::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 96px;
  height: 22px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(210, 184, 111, 0.98), rgba(150, 126, 74, 0.12));
  box-shadow: 0 0 60px 22px rgba(199, 168, 99, 0.55);
}
/* recessed pot-lights */
.vr3d-face.ceiling i {
  position: absolute;
  top: 168px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6df 0%, #c8b373 45%, #50462c 100%);
  box-shadow: 0 0 26px 9px rgba(205, 184, 121, 0.6);
}
.vr3d-face.ceiling i:nth-child(1) { left: 20%; }
.vr3d-face.ceiling i:nth-child(2) { left: 50%; }
.vr3d-face.ceiling i:nth-child(3) { left: 80%; }
/* heading inside the room, on the back wall */
.vr3d-head {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  transform: translateZ(-300px);
  text-align: center;
  padding: 0 9%;
  z-index: 3;
}
.vr3d-head h2 {
  margin: 0 0 6px;
  color: var(--g);
  font-family: "Lato", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(26px, 4.4vw, 44px);
  text-shadow: 0 0 22px rgba(198, 166, 99, 0.35);
}
.vr3d-head p {
  margin: 0 auto;
  max-width: 480px;
  color: #efe7d3;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
}
/* dark gold-bordered cards, brought forward into the room */
.vr3d-niches {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  transform: translateY(-50%) translateZ(-300px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 9%;
}
.vr3d-niche {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 14px 14px 18px;
  border: 1px solid rgba(157, 137, 80, 0.55);
  border-radius: 6px;
  background: rgba(8, 6, 4, 0.66);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vr3d-niche:hover {
  border-color: var(--g);
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(157, 137, 80, 0.25);
}
.vr3d-niche .art {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  border: 1px solid rgba(157, 137, 80, 0.5);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.vr3d-niche .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vr3d-niche h3 {
  margin: 12px 0 6px;
  color: var(--gl);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 14px;
  font-family: "Lato", sans-serif;
}
.vr3d-niche p {
  margin: 0;
  color: #e7e0d2;
  font-size: 12.5px;
  line-height: 1.5;
}
/* central podium / kiosk with tagline */
.vr3d-podium {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%) translateZ(-150px);
  width: 320px;
  max-width: 46%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 10px 10px 4px 4px;
  border: 1px solid rgba(157, 137, 80, 0.5);
  background: rgba(6, 5, 4, 0.8);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6), 0 0 26px rgba(157, 137, 80, 0.18);
  z-index: 4;
}
.vr3d-podium p {
  margin: 0;
  color: #efe7d3;
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
}
.vr3d-podium::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 8px auto 0;
  background: var(--g);
}
/* mobile: drop the 3D, stack as simple cards on a warm background */
@media (max-width: 760px) {
  .vr3d {
    aspect-ratio: auto;
    perspective: none;
    padding: 26px 16px 32px;
    background: #0a0806 url("../images/gold-panel-toned.png") right center / cover;
  }
  .vr3d-room {
    position: static;
    transform: none;
  }
  .vr3d-face {
    display: none;
  }
  .vr3d-niches {
    position: static;
    transform: none;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }
  .vr3d-niche .art {
    aspect-ratio: 3 / 2;
  }
  .vr3d-podium {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin: 18px auto 0;
  }
}
/* Full-bleed image band: spans the entire viewport width, edge to edge */
.section.bleed {
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.section.bleed a,
.section.bleed img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}
.section.alt {
  background: var(--panel-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 4px;
}
.section-rule {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin: 13px 0 24px;
}
.section-intro {
  max-width: 720px;
  color: var(--muted);
  margin: 0 0 28px;
}
/* GRIDS */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* GENERAL CARDS */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.card:hover {
  border-color: rgba(163, 137, 79, 0.65);
}
.card h2,
.card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
}
.card p {
  color: var(--muted);
}
/* SERVICE-BASED BUSINESS IMAGE */
.business-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
}
.business-item {
  text-align: center;
}
.business-select-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.business-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cfa04b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.business-select:hover,
.business-select:focus {
  border-color: rgba(163, 137, 79, 0.65);
}
#business-panel {
  margin-top: 20px;
}
#business-panel[hidden],
#feature-panel[hidden] {
  display: none;
}
#feature-panel {
  margin-top: 20px;
}
.learn {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
/* SERVICES */
.services-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.service-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
  margin-bottom: 18px;
}
.services-grid .service-row {
  margin-bottom: 0;
}
.services-card > .btn {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.service-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex: 0 0 auto;
}
/* LEDGER LITE */
.ledger-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
/* PROJECT CARDS */
.project-preview {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}
.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    #252016,
    #0f0d0a
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: 3px;
}
.project-image img,
.project-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-copy {
  padding: 20px;
}
.project-copy h2,
.project-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.project-cta {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 0.2s ease, color 0.2s ease;
}
.project-preview:hover .project-cta {
  color: var(--gold-bright);
  transform: translateX(3px);
}
/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-pill {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
}
/* ABOUT PAGE */
.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}
.about-photo {
  min-height: 320px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(
    145deg,
    #3a3228,
    #16130f
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}
img.about-photo {
  display: block;
  width: 300px;
  height: 300px;
  max-width: 100%;
  min-height: 0;
  margin: 0 auto;
  border-radius: 50%;
  border: 7px solid #161616;
  object-fit: cover;
  object-position: center 32%;
  background: none;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px #0d0d0d,
    0 0 0 6px rgba(0, 0, 0, 0.6),
    0 6px 26px rgba(0, 0, 0, 0.5);
}
/* EDUCATION TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media (max-width: 720px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    gap: 14px;
    padding: 16px;
  }
  .timeline-logo {
    max-height: 110px;
  }
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-left: 3px solid var(--gold);
  background: var(--panel);
}
.timeline-logo {
  /* Allowed to shrink: a wide logo at a fixed height used to push the row
     past the screen edge on phones. */
  flex: 0 1 auto;
  max-width: 40%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--panel);
  border: none;
  padding: 8px;
}
.timeline-body {
  min-width: 0;
}
.timeline-item h3 {
  margin: 0 0 6px;
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
}
/* CONTACT PAGE */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.contact-item {
  padding: 18px;
}
.contact-list .btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.contact-item + .contact-item {
  border-top: 1px solid var(--border);
}
.contact-item strong {
  display: block;
  color: var(--gold);
  margin-bottom: 5px;
}
/* CONTACT FORM */
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
}
.form-group {
  margin-bottom: 16px;
}
label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #0f0d0a;
  color: var(--cream);
}
textarea {
  min-height: 150px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #6f685c;
  opacity: 1;
}
select:invalid {
  color: #6f685c;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-note {
  color: var(--muted);
  font-size: 11px;
}
.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.72);
}
.enquiry-modal-box {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.enquiry-modal-check {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 26px;
}
.enquiry-modal-box h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cream);
  font-size: 24px;
}
.enquiry-modal-box p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.enquiry-modal-close {
  margin: 0 auto;
}
/* PRIVACY, TERMS AND ACCESSIBILITY */
.legal {
  max-width: 860px;
  margin: 0 auto;
}
.legal h2 {
  margin-top: 34px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
}
.notice {
  padding: 16px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
}
/* FINAL CALL TO ACTION */
.final-cta {
  text-align: center;
  padding: 60px 30px;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(163, 137, 79, 0.12),
    transparent 65%
  );
}
.final-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin: 0 0 12px;
}
.final-cta p {
  color: var(--muted);
  margin: 0 0 22px;
}
/* FOOTER */
.footer {
  padding: 26px 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a:hover,
.footer-cookie-button:hover {
  color: var(--gold);
}
.footer-social {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social:hover {
  color: var(--gold);
  transform: translateY(-1px);
}
.footer-cookie-button {
  /* a text control, not a button; it sits in the row of footer links */
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
  background: var(--plate-face-quiet);
  border: 1px solid var(--plate-edge-quiet);
  color: #16140f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}
.back-to-top:hover { filter: brightness(1.07); }
.back-to-top:hover {
  color: var(--gold);
  border-color: var(--gold);
}
/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
}
.cookie-banner p {
  margin: 0 0 14px;
  color: var(--muted);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* TABLET RESPONSIVE */
@media (max-width: 920px) {
  .nav {
    justify-content: center;
  }
  .brand {
    margin-right: auto;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-wrap,
  .contact-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
}
/* MOBILE RESPONSIVE */
@media (max-width: 640px) {
  .nav {
    padding: 18px 20px;
  }
  .brand {
    margin-right: 0;
  }
  .nav-links {
    gap: 15px;
  }
  .section,
  .page-hero,
  .hero,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Mobile hero: stack the full scene (laptop, wall, framed mockups) above the text */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 40px !important;
    background: #100e0b;
  }
  .hero .hero-bg {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    margin-bottom: 22px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .hero .hero-bg img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .hero .hero-bg::after,
  .hero .hero-bg::before {
    display: none;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .business-image {
    height: 230px;
  }
  .footer {
    justify-content: center;
    text-align: center;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
/* REDUCED MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* -----------------------------------
   MASSAGE WEB DESIGN SERVICE PAGE
----------------------------------- */
.service-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.massage-service-hero {
  background:
    radial-gradient(
      circle at 82% 30%,
      rgba(163, 137, 79, 0.2),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #0b0a08,
      #18130d
    );
}
.massage-intro-layout,
.massage-about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: start;
}
.massage-highlight,
.experience-card {
  border-color: rgba(163, 137, 79, 0.6);
}
.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.feature-check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.feature-check-list li:last-child {
  border-bottom: 0;
}
.feature-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--gold);
  font-weight: 700;
}
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-number {
  color: rgba(163, 137, 79, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}
.feature-card:hover .feature-number {
  color: var(--gold);
}
.process-card {
  text-align: center;
}
.process-number {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
}
.learn {
  display: inline-flex;
  margin-top: 10px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.learn:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}
/* TABLET */
@media (max-width: 920px) {
  .massage-intro-layout,
  .massage-about-layout {
    grid-template-columns: 1fr;
  }
}
/* MOBILE */
@media (max-width: 640px) {
  .service-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .service-hero-buttons .btn {
    width: 100%;
  }
}
/* ---- IMAGE PLACEHOLDERS (auto-swap to real image when file is added) ---- */
.img-ph{
  position:relative;
  display:flex;align-items:center;justify-content:center;
  min-height:220px;width:100%;
  background:
    linear-gradient(135deg, rgba(163, 137, 79, .08), rgba(0,0,0,0)) ,
    repeating-linear-gradient(45deg, var(--panel), var(--panel) 14px, #1b1712 14px, #1b1712 28px);
  border:1px solid rgba(163, 137, 79, .28);
  border-radius:14px;
  color:var(--muted);
  overflow:hidden;
}
.img-ph span{
  font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.4rem .8rem;border:1px solid rgba(156,147,132,.4);border-radius:999px;
  background:rgba(11,10,8,.55);
}
.about-photo.img-ph{min-height:340px;}
.img-ph.business-image{min-height:280px;}
.img-ph.ledger-logo{min-height:120px;max-width:220px;}

/* ---- MOBILE NAV TOGGLE (hamburger) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  cursor: pointer;
  background: var(--plate-face);
  border: 1px solid var(--plate-edge);
  color: #1a1713;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #1a1713;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; order: 2; margin-left: auto; }
  .nav-links {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 4px;
    margin-top: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-radius: 8px; }
  .nav-links a:hover,
  .nav-links a.active { background: rgba(163, 137, 79, .12); }
}

/* ---- SKILLS TICKER (stock-market style side-scroll) ---- */
.ticker-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ticker {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 70s linear infinite;
}
/* Pinned category label variant */
.ticker.has-label {
  display: flex;
  align-items: stretch;
  overflow: visible;
  -webkit-mask-image: none;
          mask-image: none;
}
.ticker-label {
  flex: 0 0 auto;
  width: 165px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: var(--panel-2);
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  border-radius: 8px 0 0 8px;
  z-index: 2;
}
.ticker-viewport {
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 90%, transparent);
          mask-image: linear-gradient(90deg, #000 0, #000 90%, transparent);
}
@media (max-width: 600px) {
  .ticker-label {
    width: 104px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.5px;
  }
}
.ticker--rev .ticker-track {
  animation-direction: reverse;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-seq {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.ticker-cat {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 0 26px 0 26px;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 13px;
  padding: 0 22px;
  white-space: nowrap;
}
.ticker-item .sym {
  color: var(--gold);
  font-size: 10px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* =========================================================
   POLISH PASS: refinements layered on the base styles
   ========================================================= */

/* ---- FAQ ACCORDION (Services page) ---- */
.faq {
  max-width: 820px;
}
.faq-group-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
  font-size: 20px;
  margin: 34px 0 14px;
}
.faq-group-title:first-child {
  margin-top: 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(163, 137, 79, 0.4);
}
.faq-item[open] {
  border-color: rgba(163, 137, 79, 0.55);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 50px 16px 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--cream);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "\2013";
}
.faq-item summary:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: -3px;
  border-radius: 8px;
}
.faq-answer {
  padding: 2px 18px 18px;
  color: var(--muted);
}
.faq-answer p {
  margin: 0;
}

/* ---- DECORATIVE SECTION BACKGROUNDS (subtle depth) ---- */
.faq-section {
  margin: 0 30px 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.values-section .card {
  padding-top: 9px;
  padding-bottom: 9px;
}
.swirl-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(163, 137, 79, 0.06), transparent 40%),
    radial-gradient(circle at 5% 92%, rgba(163, 137, 79, 0.05), transparent 42%);
}
.swirl-section.alt {
  background:
    radial-gradient(circle at 88% 10%, rgba(163, 137, 79, 0.06), transparent 40%),
    radial-gradient(circle at 5% 92%, rgba(163, 137, 79, 0.05), transparent 42%),
    var(--panel-2);
}
.about-bg {
  background:
    radial-gradient(circle at 90% 12%, rgba(163, 137, 79, 0.07), transparent 38%);
}
.cta-bg {
  border-top: 1px solid var(--border);
}

/* ---- UNIFIED HOVER FOR CARDS & PROJECT PREVIEWS ---- */
.card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.project-preview[hidden] {
  display: none;
}
.project-preview {
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.project-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.project-preview:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 137, 79, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

/* ---- ACTIVE NAV LINK (slightly stronger cue) ---- */
.nav-links a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
}

/* Honor reduced-motion for the new hover transforms */
@media (prefers-reduced-motion: reduce) {
  .card,
  .project-preview {
    transition: border-color 0.2s ease;
  }
  .card:hover,
  .project-preview:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Make whole business-item card clickable */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.card-link .card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-link:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Pricing anchor lines on services page */
.card .price {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--gold, #9d8950);
  letter-spacing: 0.01em;
}
.price-term {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* PRICING CARDS */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card > p:not(.price) {
  flex: 1;
}
.price-cta {
  align-self: flex-start;
  margin-top: 18px;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}


/* ============================================================
   Rolling hill ribbon
   Scrolling text bent along a continuous hill path (SVG textPath).
   Markup lives in index.html; motion in js/script.js.
   ============================================================ */
.hill-ribbon {
  position: relative;
  width: 100%;
  height: 176px;
  overflow: hidden;
  background: linear-gradient(180deg, #151109 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hill-ribbon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.hill-ribbon .hill-text {
  fill: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.5px;
}
.hill-ribbon::before,
.hill-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}
.hill-ribbon::before {
  left: 0;
  background: linear-gradient(90deg, #0e0b07 0%, rgba(14, 11, 7, 0) 100%);
}
.hill-ribbon::after {
  right: 0;
  background: linear-gradient(270deg, #0e0b07 0%, rgba(14, 11, 7, 0) 100%);
}
@media (max-width: 700px) {
  .hill-ribbon { height: 132px; }
  .hill-ribbon .hill-text { font-size: 30px; }
  .hill-ribbon::before,
  .hill-ribbon::after { width: 40px; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* ---- Business type cards (replaces the dropdown) ---- */
.business-cards {
  max-width: 1000px;
  margin: 0 auto;
}
.business-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.business-card:hover,
.business-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.business-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
}
.business-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.business-card .learn {
  margin-top: 4px;
}
@media (max-width: 820px) {
  .business-cards {
    grid-template-columns: 1fr;
  }
}

/* ── NICHE BAND + SERVICE GRID (replaces baked-in text images) ───────── */
.niche-band {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 72px 24px 80px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(163, 137, 79, 0.14), transparent 55%),
    radial-gradient(ellipse at 88% 100%, rgba(163, 137, 79, 0.1), transparent 55%),
    linear-gradient(180deg, #0d0b09 0%, #131009 50%, #0d0b09 100%);
  border-top: 1px solid rgba(163, 137, 79, 0.22);
  border-bottom: 1px solid rgba(163, 137, 79, 0.22);
}
.niche-band > * {
  max-width: 1120px;
  margin-inline: auto;
}
.niche-eyebrow {
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 2.2vw, 20px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.niche-band h2 {
  margin: 10px 0 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.12;
  color: var(--gold-bright);
}
.niche-rule {
  width: min(320px, 60%);
  height: 2px;
  margin: 20px auto 40px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.niche-card {
  display: block;
  padding: 26px 22px 28px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  background: rgba(10, 9, 7, 0.72);
  border: 1px solid rgba(163, 137, 79, 0.42);
  border-radius: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
/* ── SCROLL REVEAL ────────────────────────────────────────────────────
   Cards rise into place as the band scrolls into view. The hidden state is
   applied by JS (html.js-anim), so with JS off nothing is ever invisible.
   The animation is removed once it finishes, which hands the card back its
   own hover transform instead of leaving a fill state on top of it. */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .dz-reveal { opacity: 0; }
  .js-anim .dz-reveal.is-in {
    animation: dz-rise 640ms cubic-bezier(0.22, 0.8, 0.26, 1) both;
  }
}
@keyframes dz-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.niche-card:hover,
.niche-card:focus-visible {
  border-color: var(--gold-bright);
  background: rgba(22, 19, 16, 0.92);
  transform: translateY(-3px);
}
.niche-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2.1vw, 21px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.niche-card .niche-dash {
  display: block;
  width: 54px;
  height: 2px;
  margin: 14px auto 16px;
  background: var(--gold);
}
.niche-card p {
  margin: 0;
  color: var(--cream);
  line-height: 1.6;
}
.niche-note {
  margin: 36px auto 0;
  max-width: 620px;
  text-align: center;
  font-style: italic;
  color: var(--muted);
}
.service-tiles .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-tiles .card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-tiles .card p {
  margin: 0;
  color: var(--cream);
  line-height: 1.62;
}
.service-tiles .service-icon {
  margin-bottom: 2px;
}
@media (max-width: 920px) {
  .niche-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .niche-band { padding: 52px 18px 58px; }
  .niche-grid { grid-template-columns: 1fr; }
  .niche-rule { margin-bottom: 30px; }
}


/* ── Flip service tiles (services page) ─────────────────────────────── */
.service-tiles .flip-card{ position:relative; perspective:1400px; }
.service-tiles .flip-inner{
  position:relative; display:grid; height:100%;
  transform-style:preserve-3d;
  transition:transform .62s cubic-bezier(.4,.1,.2,1);
}
.service-tiles .flip-card.is-flipped .flip-inner{ transform:rotateY(180deg); }
.service-tiles .flip-face{
  grid-area:1 / 1; height:100%;
  -webkit-backface-visibility:hidden; backface-visibility:hidden;
  transition:visibility 0s linear .31s;
}
.service-tiles .flip-back{ transform:rotateY(180deg); visibility:hidden; }
.service-tiles .flip-card.is-flipped .flip-front{ visibility:hidden; }
.service-tiles .flip-card.is-flipped .flip-back{ visibility:visible; }
.service-tiles .flip-toggle{
  position:absolute; inset:0; z-index:2; cursor:pointer;
  background:none; border:0; padding:0; border-radius:14px;
}
.service-tiles .flip-toggle:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
.service-tiles .flip-card:hover .flip-hint{ opacity:1; }
.service-tiles .flip-hint{
  display:block; margin-top:14px; font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--gold); opacity:.55; transition:opacity .25s ease;
}
.service-tiles .flip-back p{ font-size:.94rem; }
.service-tiles .flip-back ul{ margin:.45rem 0 0; padding-left:1.15rem; }
.service-tiles .flip-back li{ margin-bottom:.34rem; font-size:.92rem; }
.service-tiles .flip-note{ opacity:.72; font-size:.86rem !important; margin-top:.6rem; }

@media (prefers-reduced-motion: reduce){
  .service-tiles .flip-inner{ transition:none; transform:none !important; }
  .service-tiles .flip-face{ transition:none; }
  .service-tiles .flip-back{ transform:none; }
}

/* ── Bronze top line on hover, service tiles ───────────────────────── */
.service-tiles .flip-toggle{ border-radius:8px; }

/* lift the whole card, not each face (a face transform fights the flip) */
.service-tiles .flip-card{ transition:transform .2s ease; }
.service-tiles .flip-card:hover{ transform:translateY(-2px); }
.service-tiles .flip-card:hover .flip-front{ transform:none; }

.service-tiles .flip-face{ position:relative; overflow:hidden; }
.service-tiles .flip-face::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,
    var(--gold) 0%, var(--gold-bright) 45%, var(--plate-edge) 60%, var(--gold) 100%);
  transform:scaleX(0); transform-origin:left center;
  transition:transform .45s cubic-bezier(.4,.1,.2,1);
  pointer-events:none;
}
.service-tiles .flip-card:hover .flip-face::before,
.service-tiles .flip-card:has(.flip-toggle:focus-visible) .flip-face::before{
  transform:scaleX(1);
}

@media (prefers-reduced-motion: reduce){
  .service-tiles .flip-card{ transition:none; }
  .service-tiles .flip-card:hover{ transform:none; }
  .service-tiles .flip-face::before{ transition:none; }
}

/* ── Flip card spacing: pin the hint to the bottom edge ─────────────── */
.service-tiles .flip-face{ justify-content:flex-start; }
.service-tiles .flip-hint{ margin-top:auto; padding-top:16px; }
.service-tiles .flip-back p{ margin:0; }
.service-tiles .flip-back ul{ margin:.15rem 0 0; }
.service-tiles .flip-back li{ margin-bottom:.28rem; line-height:1.45; }

/* ── Values cards: staggered deal-in reveal (about page) ────────────── */
.values-section .grid-4{ perspective:1100px; }
.values-section .card{ position:relative; overflow:hidden; }

/* bronze edge, wipes in once the card lands (and on hover) */
.values-section .card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,
    var(--gold) 0%, var(--gold-bright) 45%, var(--plate-edge) 60%, var(--gold) 100%);
  transform:scaleX(0); transform-origin:left center;
  transition:transform .55s cubic-bezier(.4,.1,.2,1);
  pointer-events:none;
}
.values-section .card:hover::before{ transform:scaleX(1); }

/* hidden start state, only once JS marks the section, so no-JS shows all */
.values-section[data-reveal] .card{
  opacity:0;
  transform:translateY(30px) rotateX(-11deg) scale(.975);
  transform-origin:50% 100%;
  transition:opacity .62s ease, transform .78s cubic-bezier(.22,.9,.3,1);
}
.values-section[data-reveal].is-revealed .card{ opacity:1; transform:none; }
.values-section[data-reveal].is-revealed .card:hover{ transform:translateY(-2px); }

.values-section[data-reveal] .card:nth-child(1){ transition-delay:0s,    0s    }
.values-section[data-reveal] .card:nth-child(2){ transition-delay:.10s,  .10s  }
.values-section[data-reveal] .card:nth-child(3){ transition-delay:.20s,  .20s  }
.values-section[data-reveal] .card:nth-child(4){ transition-delay:.30s,  .30s  }

.values-section[data-reveal].is-revealed .card:nth-child(1)::before{ transition-delay:.42s }
.values-section[data-reveal].is-revealed .card:nth-child(2)::before{ transition-delay:.52s }
.values-section[data-reveal].is-revealed .card:nth-child(3)::before{ transition-delay:.62s }
.values-section[data-reveal].is-revealed .card:nth-child(4)::before{ transition-delay:.72s }
.values-section[data-reveal].is-revealed .card::before{ transform:scaleX(1); }

@media (prefers-reduced-motion: reduce){
  .values-section[data-reveal] .card{ opacity:1; transform:none; transition:none; }
  .values-section .card::before{ transition:none; }
}


/* ── Values bento: expanding panels over one continuous image ───────── */
.values-section .grid-4.bento-row{
  display:flex; gap:16px; align-items:stretch;
  --mtn-aspect:5.467;            /* values-dunes.webp is 2400x439 */
}
.values-section .bento-panel{
  flex:1 1 0; min-width:0; position:relative; overflow:hidden;
  height:clamp(258px, 27vw, 316px);
  display:flex; align-items:flex-end; padding:22px;
  background-image:url("../images/values-dunes.webp");
  background-repeat:no-repeat;
  background-size:var(--mtn-size, cover);
  background-position:var(--mtn-pos, 50% 32%);
  transition:flex-grow .45s cubic-bezier(.22,.9,.3,1), filter .3s ease;
  cursor:default;
}
/* scrim so the copy stays readable over the photo */
.values-section .bento-panel::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,
    rgba(11,10,8,.10) 0%, rgba(11,10,8,.38) 48%, rgba(11,10,8,.80) 100%);
}
.values-section .bento-panel::before{ z-index:2; }   /* bronze edge sits on top */
.values-section .bento-body{ position:relative; z-index:1; width:100%; }
.values-section .bento-panel h3{
  margin:0; color:var(--cream); font-size:19px; line-height:1.25;
  text-shadow:0 1px 4px rgba(0,0,0,.6);
}
.values-section .bento-panel p{
  margin:0; max-height:0; opacity:0; overflow:hidden;
  color:var(--cream); font-size:.92rem; line-height:1.5;
  text-shadow:0 1px 4px rgba(0,0,0,.6);
  transition:opacity .35s ease, max-height .45s cubic-bezier(.22,.9,.3,1),
             margin-top .45s cubic-bezier(.22,.9,.3,1);
}

@media (hover:hover) and (pointer:fine){
  .values-section .bento-row:hover .bento-panel{ filter:brightness(.55) saturate(.85); }
  .values-section .bento-row .bento-panel:hover{ flex-grow:2.4; filter:none; }
}
.values-section .bento-panel:focus-within{ flex-grow:2.4; filter:none; }
.values-section .bento-panel:focus-visible{ outline:2px solid var(--gold); outline-offset:-2px; }
.values-section .bento-panel:hover p,
.values-section .bento-panel:focus-within p{
  max-height:11rem; opacity:1; margin-top:.55rem;
}

/* stack on small screens: no expanding, copy always visible */
@media (max-width:760px){
  .values-section .grid-4.bento-row{ flex-direction:column; }
  .values-section .bento-panel{
    height:auto; min-height:150px; flex:none;
    background-size:cover; background-position:50% 35%;
  }
  .values-section .bento-row:hover .bento-panel{ filter:none; }
  .values-section .bento-panel p{ max-height:11rem; opacity:1; margin-top:.5rem; }
}

@media (prefers-reduced-motion: reduce){
  .values-section .bento-panel{ transition:none; }
  .values-section .bento-panel p{ transition:none; }
}

/* ── Homepage services: real <h3> headings, matched to the old <strong> ── */
.services-grid .service-row h3{
  margin:0; font:inherit; font-weight:700; color:inherit;
  letter-spacing:normal; text-transform:none;
}

/* ── Homepage services: group each heading with its own description ───── */
.services-grid{ row-gap:26px; }
.services-grid .service-row p{ margin:6px 0 0; }
