/* Oov — studio site
   Light paper + ink + coral punch. Editorial layout, not dark SaaS/PT clone. */

:root {
  --paper: #f6f1ea;
  --paper-2: #efe8de;
  --ink: #14120f;
  --ink-soft: #4a453e;
  --muted: #7a7369;
  --line: #ddd4c8;
  --line-strong: #c9bdb0;
  --coral: #e84e2c;
  --coral-hot: #ff5a35;
  --coral-soft: rgba(232, 78, 44, 0.1);
  --sky: #d7ebf5;
  --sage: #dce8d4;
  --ink-deep: #0c0b0a;
  --white: #fffcf8;
  --shadow: 0 18px 50px rgba(20, 18, 15, 0.1);
  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1120px;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--coral);
}

a:hover {
  color: var(--coral-hot);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Header —— */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 234, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.top.is-scrolled {
  border-bottom-color: var(--line);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.mark {
  text-decoration: none;
  color: var(--ink);
}

.mark-word {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.menu a:hover {
  color: var(--ink);
}

.menu-pill {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

.menu-pill:hover {
  background: var(--coral) !important;
  color: #fff !important;
}

.burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  padding: 0.75rem 0.65rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn.solid {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.btn.solid:hover {
  background: var(--coral-hot);
  border-color: var(--coral-hot);
  color: #fff;
}

.btn.solid:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn.line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn.line:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn.full {
  width: 100%;
}

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 0;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  padding-bottom: 2.5rem;
  will-change: transform;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-tag-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(232, 78, 44, 0.45);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 78, 44, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(232, 78, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 78, 44, 0);
  }
}

/* Monochrome headline: no coloured second line (that reads too much like Jack PT) */
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.55rem, 7.2vw, 4.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
  color: var(--ink);
}

.hero-line {
  display: block;
}

.hero-line + .hero-line {
  margin-top: 0.08em;
  font-style: italic;
  /* still ink, just a hair softer so it doesn’t look “accent colour CTA” */
  color: var(--ink-soft);
}

.hero-rotate {
  margin: 0 0 2rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.45rem;
}

.hero-rotate-words {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  color: var(--ink);
  font-weight: 700;
  /* width set in JS to match the active word */
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.hero-rotate-words span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  white-space: nowrap;
  pointer-events: none;
  /* underline only as wide as this word’s text */
  border-bottom: 2px solid var(--coral);
  padding-bottom: 0.05em;
  width: max-content;
  max-width: none;
}

.hero-rotate-words span.is-on {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* load-in: staggered rise (unique from fade-up cards) */
[data-rise] {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0) rotate(0.4deg);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s ease;
  transition-delay: var(--rise-delay, 0ms);
}

[data-rise].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.hero-blurb {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-strip {
  border-top: 1px solid var(--line);
  border-bottom: none;
  background: var(--paper-2);
  overflow: hidden;
  padding: 0.7rem 0 0;
  /* room for the curve to sit over the strip’s lower edge */
  margin-bottom: 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

/* Curved section joins (from = current band, to = next section fill) */
.section-curve {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: -1px; /* kill hairline gap */
  pointer-events: none;
}

.section-curve svg {
  display: block;
  width: 100%;
  height: clamp(3.25rem, 8vw, 5.5rem);
}

.section-curve--flip svg {
  transform: scaleX(-1);
}

.section-curve--from-paper {
  background: var(--paper);
}
.section-curve--from-paper-2 {
  background: var(--paper-2);
}
.section-curve--from-ink {
  background: var(--ink-deep);
}
.section-curve--from-sage {
  background: var(--sage);
}

.section-curve--to-paper path {
  fill: var(--paper);
}
.section-curve--to-paper-2 path {
  fill: var(--paper-2);
}
.section-curve--to-ink path {
  fill: var(--ink-deep);
}
.section-curve--to-sage path {
  fill: var(--sage);
}

.hero-strip-track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* animation distance set by JS from measured group width */
  animation: marquee-x var(--marquee-duration, 48s) linear infinite;
}

.hero-strip-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.85rem;
  padding-right: 0.85rem; /* matches gap so loop seam is invisible */
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-strip-group .sep {
  opacity: 0.4;
  user-select: none;
}

@keyframes marquee-x {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 50%)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-strip-track {
    animation: none;
  }

  .hero-tag-dot {
    animation: none;
  }

  [data-rise],
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
}

/* —— Blocks —— */
.block {
  padding: 5rem 0;
}

.block-intro {
  max-width: 34rem;
  margin-bottom: 2.75rem;
}

.block-intro.wide {
  max-width: 40rem;
}

.block-intro h2,
.how-price h2,
.us-copy h2,
.contact-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
}

.block-intro p,
.how-price .price-note,
.us-copy p,
.contact-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Scroll reveals: clip wipe + soft settle (not generic fade-up) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
  clip-path: inset(0 0 28% 0);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, clip-path;
}

[data-reveal="left"] {
  transform: translate3d(-1.5rem, 0.75rem, 0);
  clip-path: inset(0 18% 0 0);
}

[data-reveal="right"] {
  transform: translate3d(1.5rem, 0.75rem, 0);
  clip-path: inset(0 0 0 18%);
}

[data-reveal="scale"] {
  transform: scale(0.96) translate3d(0, 1rem, 0);
  clip-path: inset(4% 4% 4% 4%);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* Step list: growing spine as you scroll the section */
.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}

.steps::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.4rem;
  width: 2px;
  height: calc(var(--steps-progress, 0) * 100%);
  max-height: calc(100% - 0.8rem);
  background: linear-gradient(180deg, var(--coral), #ff8f6b);
  border-radius: 2px;
  transition: height 0.12s linear;
  pointer-events: none;
}

/* —— Services as rows —— */
.services {
  border-top: none;
  margin-top: -1px;
  padding-top: 3.25rem;
  padding-bottom: 0;
  background: var(--paper);
}

.examples {
  margin-top: -1px;
  padding-bottom: 0;
}

.how-price {
  margin-top: -1px;
  padding-bottom: 0;
}

.us {
  margin-top: -1px;
  padding-bottom: 0;
}

.contact {
  margin-top: -1px;
  padding-bottom: 0;
  border-top: none;
}

/* Content still needs breathing room above the curves */
.services > .wrap,
.examples > .wrap,
.how-price > .wrap,
.us > .wrap,
.contact > .wrap {
  padding-bottom: 4.25rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.25rem 2rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.service-row:hover {
  background: rgba(255, 252, 248, 0.55);
}

.service-index {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--coral);
  line-height: 1.2;
  padding-top: 0.15rem;
}

.service-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-body p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 48ch;
}

.service-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  max-width: 14rem;
}

.service-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

/* —— Mosaic examples —— */
.examples {
  background: var(--ink-deep);
  color: var(--paper);
  border: none;
}

.examples .block-intro h2 {
  color: var(--paper);
}

.examples .block-intro p {
  color: rgba(246, 241, 234, 0.72);
}

/* Live client preview (Jack PT) */
.live-case {
  margin-bottom: 2.5rem;
}

.live-case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.15rem;
}

.live-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.live-case-head h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.live-desc {
  margin: 0;
  max-width: 42rem;
  color: rgba(246, 241, 234, 0.72);
  font-size: 0.98rem;
}

.live-link {
  border-color: rgba(246, 241, 234, 0.28) !important;
  color: var(--paper) !important;
  flex-shrink: 0;
}

.live-link:hover {
  border-color: var(--coral) !important;
  color: var(--coral) !important;
}

.browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0d0e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.browser-bar {
  display: grid;
  grid-template-columns: 1fr minmax(0, 22rem) 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: #1a1b1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 0.35rem;
}

.browser-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: block;
}

.browser-dots i:nth-child(1) {
  background: #ff5f57;
}
.browser-dots i:nth-child(2) {
  background: #febc2e;
}
.browser-dots i:nth-child(3) {
  background: #28c840;
}

.browser-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(246, 241, 234, 0.75);
  min-width: 0;
}

.browser-lock {
  font-size: 0.65rem;
  line-height: 1;
}

.browser-viewport {
  position: relative;
  height: min(58vh, 520px);
  overflow: hidden;
  background: #0c0d0e;
}

.browser-stage {
  position: absolute;
  inset: 0;
  /* slow “scroll” through the live page */
  animation: preview-pan 28s ease-in-out infinite alternate;
  will-change: transform;
}

.browser-iframe {
  /* Render desktop width, scale into the mock */
  width: 1280px;
  height: 2200px;
  border: 0;
  display: block;
  pointer-events: none;
  transform: scale(var(--preview-scale, 0.55));
  transform-origin: top left;
  background: #0c0d0e;
}

.browser-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5rem;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(12, 13, 14, 0.85));
}

@keyframes preview-pan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-1 * (2200px * var(--preview-scale, 0.55) - 100%)));
  }
}

.examples-sub {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.45);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mosaic-compact {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

.tile {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mosaic-compact .tile {
  min-height: 240px;
}

.tile-dark {
  background: #1a1b1e;
  grid-row: span 2;
  min-height: 100%;
}

.tile-cream {
  background: #f3e6d4;
  color: var(--ink);
}

.tile-sky {
  background: var(--sky);
  color: var(--ink);
}

.tile-ink {
  background: #2a2430;
  color: var(--paper);
}

.mosaic:not(.mosaic-compact) .tile-ink {
  grid-column: 2;
}

.tile-chrome {
  display: flex;
  gap: 0.35rem;
  padding: 0.85rem 1rem 0;
}

.tile-chrome .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.tile-chrome.light .dot,
.tile-cream .dot,
.tile-sky .dot {
  background: rgba(20, 18, 15, 0.15);
}

.tile-mock {
  flex: 1;
  padding: 1.5rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tile-mock-gym {
  background:
    linear-gradient(160deg, rgba(232, 163, 23, 0.18), transparent 55%),
    #121316;
}

.tile-mock-cafe {
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 78, 44, 0.12), transparent 40%),
    #f3e6d4;
}

.tile-mock-saas {
  background:
    linear-gradient(135deg, #e8f4fb, #f5f8ff 60%);
}

.tile-mock-folio {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25)),
    #2a2430;
}

.mock-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

.mock-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.tile-mock-gym .mock-title {
  font-family: var(--font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.tile-mock-folio .mock-title em {
  font-style: italic;
  color: #e8b4ff;
}

.mock-chip {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tile-cream .mock-chip,
.tile-sky .mock-chip {
  background: rgba(20, 18, 15, 0.06);
  border-color: rgba(20, 18, 15, 0.1);
}

.tile-meta {
  padding: 1.1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.tile-cream .tile-meta,
.tile-sky .tile-meta {
  background: rgba(255, 255, 255, 0.35);
  border-top-color: rgba(20, 18, 15, 0.08);
  color: var(--ink);
}

.tile-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.tile-meta p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* —— How + price —— */
.how-price {
  background: var(--paper);
  border: none;
}

.how-price-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  z-index: 1;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--coral);
  line-height: 1.35;
  background: var(--paper);
  width: 1.75rem;
  text-align: center;
}

.steps strong {
  grid-column: 2;
  font-size: 1.05rem;
  line-height: 1.35;
}

.steps span {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 40ch;
}

.price-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
}

.price-panel h2 {
  margin-bottom: 0.5rem;
}

.price-note {
  margin-bottom: 1.25rem !important;
  font-size: 0.95rem !important;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.35rem;
}

.price-table tr {
  border-top: 1px solid var(--line);
}

.price-table th,
.price-table td {
  padding: 0.95rem 0;
  text-align: left;
  font-weight: 500;
  vertical-align: top;
}

.price-table th {
  font-weight: 600;
  padding-right: 1rem;
  color: var(--ink);
}

.price-table td {
  text-align: right;
  white-space: nowrap;
  color: var(--coral);
  font-weight: 700;
}

/* —— Us —— */
.us {
  background: var(--sage);
}

.us-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.us-copy p {
  margin: 0 0 1rem;
}

.us-copy strong {
  color: var(--ink);
}

.us-people {
  display: grid;
  gap: 0.85rem;
}

.person {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(20, 18, 15, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.person-face {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.person-ben {
  background: #ffd6c9;
  color: #9a2f18;
}

.person-aidan {
  background: #c9ddf0;
  color: #1e4a6e;
}

.person figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.person strong {
  font-size: 1.05rem;
}

.person span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* —— Contact —— */
.contact {
  background: var(--paper-2);
  border: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}

.contact-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  color: var(--ink-soft);
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.field span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
  background: var(--white);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%234a453e' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-error {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  background: #fde8e4;
  border: 1px solid #f5b8aa;
  border-radius: 12px;
  color: #9a2f18;
  font-size: 0.9rem;
}

/* —— Footer —— */
.foot {
  padding: 2rem 0 2.5rem;
  border-top: none;
  margin-top: -1px;
  background: var(--paper);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.foot-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* —— Toast —— */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast[hidden] {
  display: none;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .mosaic,
  .mosaic-compact {
    grid-template-columns: 1fr;
  }

  .tile-dark {
    grid-row: auto;
    min-height: 320px;
  }

  .mosaic:not(.mosaic-compact) .tile-ink {
    grid-column: auto;
  }

  .browser-viewport {
    height: min(48vh, 380px);
  }

  .browser-iframe {
    --preview-scale: 0.4;
  }

  .how-price-grid,
  .us-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .service-tags {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .browser-stage {
    animation: none;
  }
}

@media (max-width: 720px) {
  .browser-bar {
    grid-template-columns: auto 1fr;
  }

  .browser-spacer {
    display: none;
  }

  .browser-iframe {
    --preview-scale: 0.32;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(246, 241, 234, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.1rem;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .menu-pill {
    margin-top: 0.75rem;
    text-align: center;
  }

  .burger {
    display: flex;
  }

  .top {
    position: sticky;
  }

  .top-bar {
    position: relative;
  }

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

  .hero-title {
    max-width: none;
  }

  .block {
    padding: 3.5rem 0;
  }
}
