/* Axiom Works Digital: see ../DESIGN.md for the plan behind these tokens */
:root {
  /* Plum noir: near-black with deep plum glows, lavender for quiet details, one champagne gold that pops */
  --black: #0f0a11;    /* page background, a plum-black */
  --graphite: #1b1220; /* raised surfaces */
  --line: #35253c;
  --mist: #c8b8e0;     /* secondary text, soft lavender */
  --white: #f5f0f7;
  --accent: #e6c58f;   /* the one popping colour: buttons, links, line drawings */
  --plum: #8a3a78;    /* small details only */
  --lavender: #b9a6dc;     /* quiet glows and details */
  --lamp: #f2d8ae;     /* pin-point lit windows and bulbs only */

  /* frosted glass */
  --glass-bg: rgb(36 22 40 / 0.5);
  --glass-solid: #1e1424;
  --glass-border: rgb(255 255 255 / 0.09);
  --glass-highlight: inset 0 1px 0 rgb(255 255 255 / 0.07);
  --glass-blur: blur(18px) saturate(140%);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.157rem);
  --step-hero: clamp(2.5rem, 1.2rem + 4.6vw, 4.75rem);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8.5rem);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus, var(--accent));
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* ---------- Ambience: plum noir, soft plum glows like petals catching light ---------- */
.ambience {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    /* long-exposure water: faint horizontal streaks low on the screen */
    repeating-linear-gradient(178deg, rgb(185 166 220 / 0.035) 0 2px, transparent 2px 9px) bottom / 100% 45% no-repeat,
    /* a faint plum glow on the horizon */
    radial-gradient(90% 30% at 50% 42%, rgb(185 166 220 / 0.16), transparent 70%),
    linear-gradient(180deg, #1c1220 0%, #150e18 38%, #110b13 60%, #0b080d 100%);
}
.glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  will-change: transform;
}
.glow--a {
  left: -20vmax;
  top: -25vmax;
  background: radial-gradient(closest-side, rgb(122 34 100 / 0.38), rgb(90 24 74 / 0.12) 55%, transparent);
  animation: drift-a 48s ease-in-out infinite alternate;
}
.glow--b {
  right: -25vmax;
  top: 15vh;
  background: radial-gradient(closest-side, rgb(150 50 120 / 0.26), rgb(110 36 92 / 0.08) 55%, transparent);
  animation: drift-b 60s ease-in-out infinite alternate;
}
.glow--c {
  left: 10vw;
  bottom: -40vmax;
  background: radial-gradient(closest-side, rgb(100 28 84 / 0.42), rgb(70 18 60 / 0.12) 55%, transparent);
  animation: drift-c 54s ease-in-out infinite alternate;
}
/* a faint lavender sheen, low on the right */
.glow--d {
  right: -15vmax;
  bottom: -30vmax;
  background: radial-gradient(closest-side, rgb(185 166 220 / 0.10), rgb(185 166 220 / 0.03) 55%, transparent);
  animation: drift-d 66s ease-in-out infinite alternate;
}
@keyframes drift-d { to { transform: translate(-30vw, -25vh) scale(1.1); } }
@keyframes drift-a { to { transform: translate(18vw, 22vh) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-22vw, 30vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(25vw, -18vh) scale(1.15); } }

/* ---------- Glass panels ---------- */
.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-highlight), 0 30px 60px -30px rgb(0 0 0 / 0.7);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background:
      linear-gradient(160deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0) 40%),
      var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
}

/* ---------- Scroll reveal (only when JS is running and motion is allowed) ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgb(16 11 18 / 0.94);
  border-bottom-color: var(--glass-border);
  box-shadow: var(--glass-highlight);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgb(16 11 18 / 0.72);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
  }
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}
.brand-mark { width: 1.75rem; height: auto; overflow: visible; }
.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  white-space: nowrap;
}
.brand-name span { font-weight: 500; color: var(--mist); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a {
  font-size: 0.95rem;
  color: var(--mist);
  text-decoration: none;
  padding-block: 0.4rem;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta {
  color: var(--white);
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease;
}
.site-nav .nav-cta:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 9vw, 7.5rem);
  overflow: hidden;
}
/* faint drafting grid, hero only */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(185 166 220 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(185 166 220 / 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero-place {
  color: var(--mist);
  font-size: var(--step-0);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-place::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

h1 {
  font-size: var(--step-hero);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-lede {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--mist);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #f2d8ae; }
.btn:active { transform: translateY(1px); }

.link-quiet {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  padding-block: 0.5rem;
  transition: text-decoration-color 0.2s ease;
}
.link-quiet:hover { text-decoration-color: var(--accent); }

/* Blueprint drawing: the one orchestrated motion on the page */
.blueprint svg { width: 100%; height: auto; overflow: visible; }
.blueprint .draw {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s cubic-bezier(0.6, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--d) * 0.16s + 0.2s);
}
.blueprint .draw.thin { stroke-width: 1.25; stroke: rgb(230 197 143 / 0.7); }
.blueprint .dim .draw { stroke: var(--mist); stroke-width: 1; }
.blueprint .dim text {
  fill: var(--mist);
  font-family: var(--font);
  font-size: 12px;
  opacity: 0;
  animation: appear 0.6s ease forwards 1.4s;
}
.blueprint .fill {
  opacity: 0;
  animation: appear 0.8s ease forwards 2.1s;
}
.blueprint .fill-surface { fill: var(--graphite); }
.blueprint .fill-black { fill: var(--black); }
.blueprint .fill-accent { fill: rgb(230 197 143 / 0.28); }
.blueprint g.fill circle { fill: var(--line); }

/* The finished site fades in over the wireframe once it has drawn */
.blueprint .screen {
  opacity: 0;
  animation: appear 1s ease forwards 2.6s;
}
.blueprint .url { fill: var(--mist); font-family: var(--font); font-size: 8.5px; }
.phone-site text { fill: #efe6d6; font-family: Arial, sans-serif; }
.phone-site .ps-brand { font-family: Georgia, serif; font-style: italic; font-size: 10px; }
.phone-site .ps-head { font-family: Georgia, serif; font-size: 17px; }
.phone-site .ps-small { font-size: 6.5px; fill: #c8bfb0; }
.phone-site .ps-btn { font-size: 6.5px; font-weight: 700; fill: #17140f; }
.phone-site .ps-label { font-size: 6px; letter-spacing: 1px; fill: #c9a66b; font-weight: 700; }
.phone-site .ps-row { font-size: 7.5px; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head p { color: var(--mist); max-width: 34rem; }

h2 {
  font-size: var(--step-3);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  text-wrap: balance;
}

h3 {
  font-size: var(--step-1);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Price list ---------- */
.price-row {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 28px;
}
.price-row + .price-row { margin-top: clamp(1.25rem, 2.5vw, 2rem); }

.price-top {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.price-top h3 {
  font-size: var(--step-2);
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  font-weight: 700;
  letter-spacing: -0.02em;
}
/* the dimension line between a service and its price */
.leader {
  flex: 1;
  min-width: 2rem;
  height: 11px;
  align-self: center;
  border-left: 1px solid var(--rule, var(--accent));
  border-right: 1px solid var(--rule, var(--accent));
  background: linear-gradient(var(--rule, var(--accent)), var(--rule, var(--accent))) center / 100% 1px no-repeat;
  opacity: 0.85;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  white-space: nowrap;
}
.price-num {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  font-variant-numeric: lining-nums;
}
.price-sub { color: var(--mist); font-size: var(--step-0); }

.price-body {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
}
.price-desc { max-width: 36rem; color: var(--white); }

.included {
  padding: 0;
  list-style: none;
  color: var(--mist);
}
.included li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.75rem;
  height: 1px;
  background: var(--rule, var(--accent));
}

.promise {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--promise-bg, rgb(230 197 143 / 0.1));
  border-left: 2px solid var(--rule, var(--accent));
  border-radius: 4px 14px 14px 4px;
  max-width: 48rem;
  color: var(--mist);
}
.promise strong { color: var(--white); font-weight: 700; }

.price-body--tap { align-items: center; }
/* Google review tap cards: two printed PVC cards, drawn so they read like a product photo */
.card-defs { position: absolute; }
.card-stack {
  position: relative;
  width: min(250px, 70%);
  aspect-ratio: 1 / 1.08;
  justify-self: center;
  perspective: 1100px;
}
.review-card {
  position: absolute;
  top: 0;
  width: 62%;
  aspect-ratio: 540 / 856;
  border-radius: 6.4% / 4%;
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff 0%, #f7f7f4 55%, #e9e9e4 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.7),
    1.5px 2px 0 #cfcfca,           /* the card's edge */
    0 24px 40px -14px rgb(0 0 0 / 0.85),
    0 8px 16px -6px rgb(0 0 0 / 0.6);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.review-card svg { display: block; width: 100%; height: 100%; }
/* soft gloss across the laminated surface */
.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.55) 46%, transparent 58%);
  mix-blend-mode: soft-light;
  transform: translateX(-35%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.review-card--back {
  left: 0;
  transform: translateY(8%) rotateY(14deg) rotateZ(-9deg);
  filter: brightness(0.9);
}
.review-card--front {
  right: 0;
  transform: rotateY(-16deg) rotateX(5deg) rotateZ(4deg);
}
.card-stack:hover .review-card--front { transform: rotateY(-6deg) rotateX(2deg) rotateZ(2deg) translateY(-3%); }
.card-stack:hover .review-card::after { transform: translateX(35%); }

.rc-hold { font-family: "Poppins", var(--font); font-weight: 500; font-size: 30px; letter-spacing: 1px; fill: #2f2f2f; }
.rc-review { font-family: "Poppins", var(--font); font-weight: 500; font-size: 42px; letter-spacing: 0.5px; fill: #2f2f2f; }
.rc-google { font-family: "Poppins", var(--font); font-weight: 500; font-size: 84px; letter-spacing: -2px; }

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.work-item figure {
  height: 100%;
  padding: 0.75rem 0.75rem 1.5rem;
  border-radius: 20px;
}
.browser {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--graphite);
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.browser img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top center;
}
.work-item figcaption { margin-top: 1.25rem; padding-inline: 0.75rem; }
.work-item figcaption p { margin-top: 0.35rem; color: var(--mist); max-width: 30rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about-copy h2 { margin-bottom: 1.75rem; }
.about-copy p { max-width: 38rem; color: var(--mist); }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy .about-lead {
  color: var(--white);
  font-size: var(--step-1);
  line-height: 1.4;
}

.certs {
  padding: 1.5rem 1.75rem 1rem;
  border-radius: 18px;
  margin-top: clamp(0rem, 6vw, 5rem);
}
.certs h3 {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--mist);
  margin-bottom: 1rem;
}
.certs li { padding-block: 0.75rem; }
.certs li + li { border-top: 1px solid var(--glass-border); }
.cert-name { display: block; font-size: 1.05rem; }
.cert-meta { display: block; font-size: var(--step--1); color: var(--mist); }

/* ---------- Contact ---------- */
.contact {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: calc(var(--section) * 1.1);
}
.contact-panel {
  position: relative;
  margin-top: clamp(-3rem, -3.5vw, -1.5rem);   /* overlaps the tail of the water reflections */
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: 32px;
}

/* Inner Harbour skyline */
.harbour {
  width: 100%;
  margin: 0;
}
.harbour svg {
  width: 100%;
  height: clamp(190px, 26vw, 360px);
  /* fade the top of the sky into the page so there is no hard edge */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%);
  mask-image: linear-gradient(to bottom, transparent, #000 35%);
}
.sk-line, .sk-shore, .sk-ripples path, .sk-windows, .sk-bulbs {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sk-draw { stroke: #e4dcf2; stroke-width: 1.6; fill: none; }   /* pale lavender lines against the night */
.sk-soft .sk-draw { stroke: rgb(228 220 242 / 0.55); stroke-width: 1.2; }
.sk-shore { stroke: rgb(185 166 220 / 0.55); stroke-width: 1.2; }
.sk-windows { stroke: rgb(230 197 143 / 0.45); stroke-width: 7; stroke-dasharray: 5 15; stroke-linecap: butt; }
.sk-bulbs { stroke: var(--lamp); stroke-width: 2.4; stroke-dasharray: 0 9; opacity: 0.75; }
.sk-lit rect { fill: var(--lamp); opacity: 0.85; }
.sk-lamps circle { fill: var(--lamp); }
.sk-reflection { opacity: 0.8; }
.sk-ripples path { stroke: rgb(228 220 242 / 0.45); stroke-width: 1.4; }
.sk-ripples .r2 { stroke: rgb(230 197 143 / 0.45); }
.sk-ripples .r3 { stroke: rgb(150 50 120 / 0.4); }

/* draw the skyline once it scrolls into view, then let the water shimmer */
.harbour.will-draw .sk-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.harbour.will-draw .sk-bulbs,
.harbour.will-draw .sk-lit,
.harbour.will-draw .sk-lamps,
.harbour.will-draw .sk-windows { opacity: 0; }
.harbour.is-drawn .sk-draw {
  animation: draw 1.1s cubic-bezier(0.6, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--d) * 0.14s);
}
.harbour.is-drawn .sk-bulbs,
.harbour.is-drawn .sk-lit,
.harbour.is-drawn .sk-lamps,
.harbour.is-drawn .sk-windows { animation: appear-soft 1.2s ease forwards 1.4s; }
@keyframes appear-soft { from { opacity: 0; } to { opacity: 0.8; } }

.sk-ripples path { animation: shimmer 7s ease-in-out infinite alternate; }
.sk-ripples .r2 { animation-duration: 9s; animation-delay: -3s; }
.sk-ripples .r3 { animation-duration: 11s; animation-delay: -6s; }
@keyframes shimmer {
  0%   { transform: translateX(-10px); opacity: 0.3; }
  50%  { opacity: 1; }
  100% { transform: translateX(12px); opacity: 0.45; }
}
.contact-lede { margin-top: 1.25rem; max-width: 34rem; color: var(--mist); }
.email-link {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.05rem, 0.35rem + 2.9vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  text-decoration: none;
  overflow-wrap: break-word;
  max-width: 100%;
  padding-bottom: 0.3rem;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 3px no-repeat;
  transition: color 0.2s ease;
}
.email-link:hover { color: var(--accent); }
.contact-note { margin-top: 2rem; color: var(--mist); font-size: var(--step--1); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--glass-border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 2rem;
  font-size: var(--step--1);
  color: var(--mist);
}
.footer-inner a { color: var(--mist); text-underline-offset: 4px; }
.footer-inner a:hover { color: var(--white); }

/* ---------- Sections ----------
   One calm palette everywhere. The misty background shows through, and the only strong
   colour on the page is the gold accent. */
.block { color: var(--white); }

/* Prices: a slightly lighter band of haze so the prices feel like the main event */
.block--prices {
  --promise-bg: rgb(150 50 120 / 0.2);
  background: linear-gradient(180deg, transparent, rgb(185 166 220 / 0.07) 25%, rgb(185 166 220 / 0.07) 75%, transparent);
}
.block--prices h2 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); }
@media (min-width: 721px) {
  .block--prices .section-head { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}
.block--prices .price-num { font-size: clamp(3.4rem, 1.6rem + 6.4vw, 7.25rem); }
.block--prices .price-row--main { border-color: rgb(230 197 143 / 0.35); }

.block--night { background: transparent; }

.work-item figure { transition: border-color 0.3s ease; }
.work-item:hover figure { border-color: rgb(230 197 143 / 0.5); }

/* Contact: the darkest part of the page, under quiet glows and detailsline */
.block--dusk { background: linear-gradient(180deg, transparent 0%, #0f0a11 55%, #0b080d 100%); }

/* Backup for the email buttons, for computers with no email app (set up in script.js) */
.email-help {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  transform: translateX(-50%);
  width: min(30rem, calc(100% - 2rem));
  padding: 1rem 1.25rem;
  border-radius: 18px;
  font-size: 1rem;
  color: var(--mist);
}
.email-help.glass { background: rgb(27 18 32 / 0.95); }
.email-help[hidden] { display: none; }
.email-help strong { color: var(--white); overflow-wrap: anywhere; }
.email-help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.email-help-btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.email-help-btn + .email-help-btn {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}
.email-help-close {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--mist);
  background: none;
  border: 0;
  cursor: pointer;
}
.email-help-close:hover { color: var(--white); }

/* Gentle 3D tilt toward the pointer (set from script.js; mouse only, never under reduced motion) */
.tilt {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .blueprint { max-width: 560px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-item:last-child { grid-column: 1 / -1; max-width: calc(50% - 1rem); }
  .about-grid { grid-template-columns: 1fr; }
  .certs { margin-top: 0; max-width: 28rem; }
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .price-top { flex-wrap: wrap; gap: 0.25rem 1rem; }
  .price-top h3 { flex-basis: 100%; }
  .leader { display: none; }
  .price { flex-wrap: wrap; white-space: normal; }
  .price-body { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item:last-child { max-width: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand-name span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .blueprint .draw { stroke-dashoffset: 0; }
  .blueprint .fill, .blueprint .dim text, .blueprint .screen { opacity: 1; }
  .glow, .sk-ripples path { animation: none !important; }
  .harbour .sk-draw { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .harbour .sk-bulbs, .harbour .sk-lit, .harbour .sk-lamps, .harbour .sk-windows { opacity: 0.8 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
