/* SAM Sales Page, Version C. Everything is scoped to .samc-page so it cannot affect any other page. */
@font-face {
  font-family: "Montserrat";
  src: url("montserrat-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

body.samc-body { margin: 0; background: #001921; }
/* Nothing from the theme or other plugins shows on this page: only the page content, the pop-up and the staff toolbar. */
body.samc-body > :not(.samc-page):not(dialog):not(#wpadminbar):not(script):not(style) { display: none !important; }

.samc-page {
  --ink: #001921;
  --deep: #00222d;
  --panel: #062f40;
  --line: rgba(63, 227, 227, .28);
  --cyan: #3fe3e3;
  --cyan-soft: #9af5f5;
  --pink: #fa34a8;
  --white: #fbfdfe;
  --muted: #a9c6cf;
  --paper: #f3f8f9;
  --max: 1120px;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--ink);
  line-height: 1.5;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}
.samc-page *, .samc-page *::before, .samc-page *::after { box-sizing: border-box; }
.samc-page :is(h1, h2, h3, p, ul, figure) { margin: 0; padding: 0; max-width: none; }
.samc-page :is(h1, h2, h3) { font-family: inherit; color: inherit; text-wrap: balance; letter-spacing: -0.02em; }
.samc-page p { text-wrap: pretty; color: inherit; }
.samc-page img, .samc-page video { display: block; max-width: 100%; height: auto; }
.samc-page em { font-style: normal; color: var(--cyan); }
.samc-page .wp-block-group { max-width: none; }

/* ---------- shared pieces ---------- */
.samc-page .samc-section, .samc-page .samc-hero { padding: 96px 24px; text-align: center; }
.samc-page .samc-section > *, .samc-page .samc-hero > * { margin-left: auto; margin-right: auto; }
.samc-page h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; font-weight: 800; max-width: min(1040px, 100%); }
.samc-page .samc-lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); max-width: 64ch; margin-top: 20px; font-weight: 500; }
.samc-page .samc-real { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 86ch; font-weight: 500; }
.samc-page .samc-real::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 10px var(--cyan); }

.samc-page .wp-block-buttons { display: flex; justify-content: center; margin-top: 34px; gap: 0; }
.samc-page .wp-block-button { margin: 0; }
.samc-page .wp-block-button__link {
  display: inline-block; font-family: inherit; font-weight: 800; font-size: 19px; line-height: 1.2;
  color: var(--ink) !important; background: linear-gradient(180deg, #6ff3f3, #1bd6d6) !important;
  padding: 19px 36px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 34px rgba(27, 214, 214, .34), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.samc-page .wp-block-button__link:hover, .samc-page .wp-block-button__link:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(27, 214, 214, .46), inset 0 1px 0 rgba(255, 255, 255, .55); }
.samc-page .wp-block-button__link:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* ---------- 1. hero ---------- */
.samc-page .samc-hero {
  padding-top: 34px; padding-bottom: 84px;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(32, 171, 217, .32), transparent 70%),
    radial-gradient(700px 500px at 88% 64%, rgba(250, 52, 168, .10), transparent 70%),
    linear-gradient(180deg, #00293a 0%, var(--ink) 78%);
}
.samc-page .samc-logo { width: 150px; margin: 0 auto 44px; }
.samc-page .samc-logo img { width: 100%; }
.samc-page h1 { font-size: clamp(36px, 5.4vw, 74px); line-height: 1.05; font-weight: 800; max-width: none; }
.samc-page h1 em { display: block; }
.samc-page .samc-hero > .samc-lead { color: #cfe6ec; max-width: 56ch; margin-top: 26px; }

/* the before-and-after */
.samc-page .samc-shift {
  max-width: var(--max); margin-top: 60px;
  display: grid; grid-template-columns: minmax(0, 640fr) 196px minmax(0, 250fr); align-items: center; gap: 0;
}
.samc-page .samc-before, .samc-page .samc-after { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.samc-page .samc-tag { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.samc-page .samc-after .samc-tag { color: var(--cyan); }
.samc-page .samc-note { font-size: 16px; color: var(--muted); font-weight: 500; }
.samc-page .samc-after .samc-note { color: var(--white); font-weight: 600; }
.samc-page .samc-shift .wp-block-image { width: 100%; position: relative; }
.samc-page .samc-before .wp-block-image { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #000; }
.samc-page .samc-before img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.55) brightness(.8); }
.samc-page .samc-before .wp-block-image::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, #ff4d5e 0 57%, rgba(255, 255, 255, .28) 57%);
}
.samc-page .samc-after .wp-block-image {
  border-radius: 22px; overflow: hidden; border: 2px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(63, 227, 227, .10), 0 24px 70px rgba(27, 214, 214, .30);
}
.samc-page .samc-after img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
/* who does what, said on the demonstration itself: pink for the owner's two small parts, turquoise for SAM */
.samc-page .samc-role { font-size: 14px; font-weight: 800; letter-spacing: .03em; color: var(--pink); }
.samc-page .samc-mid .samc-role { color: var(--cyan); }
/* the middle of the demonstration: the SAM logo in a ring, with a line in from the recording and an arrow out to the post */
.samc-page .samc-mid { justify-self: center; position: relative; display: flex; flex-direction: column; align-items: center; max-width: none; }
.samc-page .samc-mid .samc-role { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 16px; white-space: nowrap; }
.samc-page .samc-shift .samc-arrow {
  position: relative; width: 112px; height: 112px; margin: 0; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 32%, #0c495d, #021d26 72%); border: 2px solid var(--cyan);
  box-shadow: 0 0 0 7px rgba(63, 227, 227, .10), 0 0 46px rgba(27, 214, 214, .42);
}
.samc-page .samc-shift .samc-arrow img { width: 78px; height: auto; }
.samc-page .samc-arrow::before, .samc-page .samc-arrow::after {
  content: ""; position: absolute; top: 50%; height: 2px; width: 30px; transform: translateY(-50%); border-radius: 2px;
  background: linear-gradient(90deg, rgba(63, 227, 227, .45), var(--cyan));
}
.samc-page .samc-arrow::before { right: 100%; margin-right: 9px; }
.samc-page .samc-arrow::after { left: 100%; margin-left: 9px; width: 20px; }
.samc-page .samc-mid::after {
  content: ""; position: absolute; top: 56px; left: calc(50% + 56px + 9px + 18px); transform: translateY(-50%);
  border-left: 15px solid var(--cyan); border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}

/* ---------- 2. what you get ---------- */
.samc-page .samc-get { background: var(--deep); }
.samc-page .samc-wall {
  max-width: var(--max); margin-top: 52px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
.samc-page .samc-wall .wp-block-image { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--ink); }
.samc-page .samc-wall img { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: var(--ink); }

/* ---------- 3. video ---------- */
/* Each lower section sits on its own tone, a small step from its neighbours, and keeps its own light. */
.samc-page .samc-watch {
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(32, 171, 217, .20), rgba(32, 171, 217, 0) 100%), #001720;
  border-top: 1px solid rgba(63, 227, 227, .10);
}
.samc-page .wp-block-video {
  max-width: 960px; margin-top: 15px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5), 0 0 60px rgba(27, 214, 214, .12); background: #000;
}
.samc-page .wp-block-video video { width: 100%; aspect-ratio: 16 / 9; }
/* In the video section the short line sits above the heading, and the heading sits 15px above the video frame. */
.samc-page .samc-watch .samc-lead { margin-top: 0; margin-bottom: 12px; }
.samc-page .samc-watch h2 { margin-bottom: 0; }

/* ---------- 4. who does what: the video's three steps, on the video's stage ---------- */
.samc-page .samc-steps {
  /* The glow fades out completely before the section's edges, so no band shows against the sections above and below. */
  background:
    radial-gradient(ellipse 62% 46% at 50% 56%, rgba(14, 92, 116, .85) 0%, rgba(10, 74, 95, .45) 45%, rgba(10, 74, 95, 0) 100%),
    #052b38;
  border-top: 1px solid rgba(63, 227, 227, .14); border-bottom: 1px solid rgba(63, 227, 227, .08);
}
.samc-page .samc-steps em { color: var(--pink); }
.samc-page .samc-rail {
  position: relative; max-width: var(--max); margin-top: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  counter-reset: samc-step; align-items: start;
}
.samc-page .samc-rail::before {
  content: ""; position: absolute; top: 28px; left: 16.66%; right: 16.66%; height: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 62%, var(--pink) 100%); opacity: .8;
}
.samc-page .samc-rail .wp-block-column { position: relative; margin: 0; counter-increment: samc-step; }
.samc-page .samc-rail .wp-block-column::before {
  content: counter(samc-step); position: relative; z-index: 1; display: grid; place-items: center;
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
  border: 2px solid var(--cyan); color: var(--cyan); background: #02222c; font-weight: 800; font-size: 22px; line-height: 1;
}
.samc-page .samc-rail .wp-block-column:last-child::before { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 26px rgba(250, 52, 168, .35); }
.samc-page h3 { font-size: 23px; font-weight: 800; line-height: 1.2; margin-bottom: 22px; }
.samc-page .samc-rail h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; color: var(--white); }
.samc-page .samc-rail p { font-size: 18px; line-height: 1.45; font-weight: 500; color: #cfe6ec; max-width: 30ch; margin: 0 auto; }
.samc-page .samc-go-art { max-width: 740px; margin-top: 30px; }
.samc-page .samc-go-art img {
  width: 100%; aspect-ratio: 2 / 1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect;
}
.samc-page .samc-promise { margin-top: 6px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; max-width: none; }

/* ---------- 5. close ---------- */
.samc-page .samc-close {
  padding-top: 110px; padding-bottom: 54px;
  background:
    radial-gradient(900px 480px at 50% 108%, rgba(32, 171, 217, .38), transparent 70%),
    radial-gradient(640px 420px at 10% 8%, rgba(250, 52, 168, .08), transparent 70%),
    #001118;
}
.samc-page .samc-close h2 { font-size: clamp(34px, 5.4vw, 68px); max-width: none; line-height: 1.06; }
.samc-page .samc-close h2 em { display: block; }
.samc-page .samc-foot { margin-top: 96px; font-size: 13px; letter-spacing: .08em; color: #6f929c; font-weight: 600; }

/* ---------- enquiry pop-up (demonstration) ---------- */
.samc-page .samc-enquiry { background: var(--paper); color: var(--ink); padding: 56px 24px; text-align: left; }
.samc-page .samc-enquiry > * { max-width: 520px; margin-left: auto; margin-right: auto; }
.samc-page .samc-enquiry h2 { font-size: 30px; max-width: 520px; }
.samc-page .samc-enquiry p { margin-top: 12px; font-size: 17px; color: #36525b; font-weight: 500; }
.samc-form { display: grid; gap: 14px; margin-top: 24px; font-family: inherit; }
.samc-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: #001921; }
.samc-form input, .samc-form textarea {
  font: inherit; font-size: 16px; font-weight: 500; padding: 13px 14px; border-radius: 12px; border: 2px solid #b9cfd5; background: #fff; color: #001921; width: 100%;
}
.samc-form input:focus, .samc-form textarea:focus { outline: none; border-color: #1bd6d6; box-shadow: 0 0 0 4px rgba(27, 214, 214, .2); }
.samc-form button {
  font: inherit; font-weight: 800; font-size: 17px; padding: 16px 24px; border-radius: 999px; border: 0; cursor: pointer;
  color: #001921; background: linear-gradient(180deg, #6ff3f3, #1bd6d6); margin-top: 4px;
}
.samc-form-note { font-size: 13px !important; color: #5b757d !important; margin-top: 2px !important; }
.samc-form-done { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: #001921; color: #fbfdfe; font-weight: 700; font-size: 17px; }
.samc-form-done span { display: block; margin-top: 6px; color: #9af5f5; font-weight: 500; font-size: 15px; }

dialog.samc-dialog {
  border: 0; padding: 0; border-radius: 24px; width: min(600px, calc(100vw - 28px)); max-height: calc(100vh - 28px);
  overflow: auto; background: #f3f8f9; box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  margin: auto !important; color: #001921;
}
dialog.samc-dialog::backdrop { background: rgba(0, 16, 22, .78); backdrop-filter: blur(4px); }
dialog.samc-dialog .samc-enquiry { padding: 44px 34px 38px; background: none; }
.samc-dialog-close {
  position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 25, 33, .08); color: #001921; font-size: 24px; line-height: 1; font-family: inherit;
}
.samc-dialog-close:hover { background: rgba(0, 25, 33, .16); }

/* ---------- phone ---------- */
@media (max-width: 820px) {
  .samc-page { font-size: 17px; }
  .samc-page .samc-section { padding: 68px 20px; }
  .samc-page .samc-hero { padding: 26px 20px 64px; }
  .samc-page .samc-logo { width: 122px; margin-bottom: 40px; }
  .samc-page .samc-shift { grid-template-columns: 1fr; gap: 0; margin-top: 52px; max-width: 420px; }
  .samc-page .samc-after { max-width: 250px; margin: 0 auto; }
  .samc-page .samc-mid { margin: 50px auto 30px; }
  .samc-page .samc-shift .samc-arrow { width: 92px; height: 92px; }
  .samc-page .samc-shift .samc-arrow img { width: 64px; }
  .samc-page .samc-arrow::before { right: auto; left: 50%; top: auto; bottom: 100%; width: 2px; height: 24px; margin: 0 0 9px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(63, 227, 227, .45), var(--cyan)); }
  .samc-page .samc-arrow::after { display: none; }
  .samc-page .samc-mid .samc-role { position: static; transform: none; margin-top: 14px; }
  /* under the label: a short line, then the arrowhead pointing down to the post */
  .samc-page .samc-mid::before { content: ""; order: 8; width: 2px; height: 22px; margin-top: 12px; border-radius: 2px; background: linear-gradient(180deg, var(--cyan), rgba(63, 227, 227, .45)); }
  .samc-page .samc-mid::after {
    position: static; order: 9; transform: none; margin-top: 5px;
    border-top: 15px solid var(--cyan); border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 0;
  }
  .samc-page .samc-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
  .samc-page .samc-rail { grid-template-columns: 1fr; gap: 38px; margin-top: 46px; }
  .samc-page .samc-rail::before { display: none; }
  .samc-page .samc-rail p { max-width: 28ch; }
  .samc-page .samc-go-art { margin-top: 26px; margin-left: -20px; margin-right: -20px; }
  .samc-page .wp-block-button__link { font-size: 18px; padding: 18px 28px; }
  .samc-page .samc-close { padding-top: 80px; }
  .samc-page .samc-foot { margin-top: 70px; }
  dialog.samc-dialog .samc-enquiry { padding: 44px 22px 30px; }
}

@media (prefers-reduced-motion: reduce) { .samc-page .wp-block-button__link { transition: none; } }

/* ---------- movement (sales page 01 Version C) ---------- */
/* The page script adds .samc-motion only when movement is welcome. Without it nothing below applies and everything shows, still. */
.samc-page.samc-motion .samc-rv { transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.samc-page.samc-motion .samc-rv:not(.is-in) { opacity: 0; transform: translateY(18px); }

/* the demonstration plays once as it comes into view: recording, then SAM, then the post */
.samc-page.samc-motion .samc-shift .samc-before, .samc-page.samc-motion .samc-shift .samc-mid, .samc-page.samc-motion .samc-shift .samc-after {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.samc-page.samc-motion .samc-shift:not(.is-in) .samc-before { opacity: 0; transform: translateY(16px); }
.samc-page.samc-motion .samc-shift:not(.is-in) .samc-mid { opacity: 0; transform: scale(.82); }
.samc-page.samc-motion .samc-shift:not(.is-in) .samc-after { opacity: 0; transform: translateY(16px) scale(.95); }
.samc-page.samc-motion .samc-shift.is-in .samc-mid { transition-delay: .55s; }
.samc-page.samc-motion .samc-shift.is-in .samc-after { transition-delay: 1.15s; }
/* the recording's progress bar runs up to where the moment was found */
.samc-page.samc-motion .samc-before .wp-block-image::after {
  background: linear-gradient(#ff4d5e, #ff4d5e) left / 57% 100% no-repeat, rgba(255, 255, 255, .28);
  transition: background-size 2.2s cubic-bezier(.3, .6, .3, 1) .2s;
}
.samc-page.samc-motion .samc-shift:not(.is-in) .samc-before .wp-block-image::after { background-size: 0% 100%, auto; }
/* a soft light keeps travelling along the lines, from the recording through SAM to the post */
.samc-page.samc-motion .samc-shift.is-in .samc-arrow::before, .samc-page.samc-motion .samc-shift.is-in .samc-arrow::after {
  background: linear-gradient(90deg, rgba(63, 227, 227, .35) 0%, rgba(63, 227, 227, .35) 35%, #eaffff 50%, rgba(63, 227, 227, .35) 65%, rgba(63, 227, 227, .35) 100%);
  background-size: 300% 100%; animation: samc-travel 2.6s linear infinite;
}
.samc-page.samc-motion .samc-shift.is-in .samc-arrow::after { animation-delay: .5s; }
@keyframes samc-travel { from { background-position: 100% 0; } to { background-position: 0% 0; } }
/* and SAM's ring breathes, slowly */
.samc-page.samc-motion .samc-shift.is-in .samc-arrow { animation: samc-breathe 3.6s ease-in-out 1.4s infinite; }
@keyframes samc-breathe {
  0%, 100% { box-shadow: 0 0 0 7px rgba(63, 227, 227, .10), 0 0 46px rgba(27, 214, 214, .42); }
  50% { box-shadow: 0 0 0 12px rgba(63, 227, 227, .05), 0 0 64px rgba(27, 214, 214, .62); }
}

/* the wall of posts arrives one tile after another (the script sets each tile's small delay) */
.samc-page.samc-motion .samc-wall .wp-block-image { transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1), border-color .25s ease, box-shadow .25s ease; }
.samc-page.samc-motion .samc-wall:not(.is-in) .wp-block-image { opacity: 0; transform: translateY(18px) scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .samc-page.samc-motion .samc-wall.is-done .wp-block-image:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 16px 40px rgba(27, 214, 214, .22); }
}

/* the three steps light up in order, and the line between them draws itself */
.samc-page.samc-motion .samc-rail::before { transform-origin: left center; transition: transform 1s cubic-bezier(.3, .6, .3, 1) .15s; }
.samc-page.samc-motion .samc-rail:not(.is-in)::before { transform: scaleX(0); }
.samc-page.samc-motion .samc-rail .wp-block-column { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.samc-page.samc-motion .samc-rail:not(.is-in) .wp-block-column { opacity: 0; transform: translateY(16px); }
.samc-page.samc-motion .samc-rail.is-in .wp-block-column:nth-child(2) { transition-delay: .35s; }
.samc-page.samc-motion .samc-rail.is-in .wp-block-column:nth-child(3) { transition-delay: .7s; }
.samc-page.samc-motion .samc-rail.is-in .wp-block-column::before { animation: samc-pop .6s cubic-bezier(.2, .8, .2, 1) both; }
.samc-page.samc-motion .samc-rail.is-in .wp-block-column:nth-child(2)::before { animation-delay: .35s; }
.samc-page.samc-motion .samc-rail.is-in .wp-block-column:nth-child(3)::before { animation-delay: .7s; }
@keyframes samc-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

@media (max-width: 820px) {
  .samc-page.samc-motion .samc-shift.is-in .samc-arrow::before {
    background: linear-gradient(180deg, rgba(63, 227, 227, .35) 0%, rgba(63, 227, 227, .35) 35%, #eaffff 50%, rgba(63, 227, 227, .35) 65%, rgba(63, 227, 227, .35) 100%);
    background-size: 100% 300%; animation-name: samc-travel-down;
  }
  .samc-page.samc-motion .samc-shift.is-in .samc-mid::before {
    background: linear-gradient(180deg, rgba(63, 227, 227, .35) 0%, rgba(63, 227, 227, .35) 35%, #eaffff 50%, rgba(63, 227, 227, .35) 65%, rgba(63, 227, 227, .35) 100%);
    background-size: 100% 300%; animation: samc-travel-down 2.6s linear .5s infinite;
  }
}
@keyframes samc-travel-down { from { background-position: 0 100%; } to { background-position: 0 0%; } }
@media (prefers-reduced-motion: reduce) {
  .samc-page.samc-motion .samc-rv, .samc-page.samc-motion .samc-shift *, .samc-page.samc-motion .samc-wall *, .samc-page.samc-motion .samc-rail * { transition: none !important; animation: none !important; }
}

/* ========== Sara's page (getsam.pro/sara) ========== */
/* A personal page: Sara first, then SAM. Same brand, same stage light, each section on its own tone. */
html:has(body.samc-body) { scroll-behavior: smooth; }

/* top: round portrait beside the words, then a quiet arrow inviting a scroll */
.samc-page .samc-sara-hero { padding-bottom: 54px; }
.samc-page .samc-sara-top {
  max-width: var(--max); display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: center; text-align: left;
}
.samc-page .samc-sara-top .wp-block-column { margin: 0; }
.samc-page .samc-sara-photo .wp-block-image, .samc-page .samc-sara-face {
  border-radius: 50%; overflow: hidden; border: 3px solid var(--cyan); aspect-ratio: 1 / 1;
  box-shadow: 0 0 0 9px rgba(63, 227, 227, .10), 0 30px 80px rgba(27, 214, 214, .28); background: #0a3a4a;
}
.samc-page .samc-sara-photo img, .samc-page .samc-sara-face img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
.samc-page .samc-kicker { font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.samc-page .samc-sara-intro h1 { font-size: clamp(36px, 4.6vw, 64px); }
.samc-page .samc-sara-intro .samc-lead { margin-left: 0; margin-right: 0; max-width: 34ch; color: #cfe6ec; margin-top: 24px; }

.samc-page .samc-scroll { margin-top: 58px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.samc-page .samc-scroll a { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 18px; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.samc-page .samc-scroll a:hover, .samc-page .samc-scroll a:focus-visible { color: var(--white); }
.samc-page .samc-scroll a::after {
  content: ""; width: 30px; height: 19px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20'%3E%3Cpath d='M3 3l13 13L29 3' fill='none' stroke='%233fe3e3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: samc-drift 2.6s ease-in-out infinite;
}
@keyframes samc-drift {
  0% { transform: translateY(-4px); opacity: .25; }
  45% { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.samc-body) { scroll-behavior: auto; }
  .samc-page .samc-river-track { animation: none; }
  .samc-page .samc-scroll a::after { animation: none; opacity: .9; }
}

/* the note */
.samc-page .samc-sara-note { background: #00222d; border-top: 1px solid rgba(63, 227, 227, .10); scroll-margin-top: 0; }
.samc-page .samc-letter {
  max-width: 940px; text-align: left; padding: 60px 76px 54px; border-radius: 22px;
  background: linear-gradient(180deg, #073445, #052a38); border: 1px solid rgba(63, 227, 227, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.samc-page .samc-letter p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; font-weight: 500; color: #e6f3f6; }
.samc-page .samc-letter p + p { margin-top: 20px; }
.samc-page .samc-letter p:first-child { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.samc-page .samc-letter strong { color: var(--cyan); font-weight: 800; }
.samc-page .samc-letter .samc-sign { margin-top: 30px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; font-style: italic; color: var(--cyan); letter-spacing: -0.02em; }

/* Sara's note flows into the video: one colour fading into the next, no line between them */
.samc-page .samc-sara-watch {
  border-top: 0;
  background: radial-gradient(ellipse 70% 46% at 50% 34%, rgba(32, 171, 217, .18), rgba(32, 171, 217, 0) 100%), linear-gradient(180deg, #00222d 0%, #001a23 38%, #001720 100%);
}
/* the video's place, until the video is ready */
.samc-page .samc-video-soon {
  max-width: 960px; margin-top: 15px; aspect-ratio: 16 / 9; border-radius: 18px; border: 2px dashed rgba(63, 227, 227, .45);
  background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(14, 92, 116, .55), rgba(0, 25, 33, .2) 100%), #021d26;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px;
}
.samc-page .samc-video-soon p { font-size: 16px; font-weight: 500; color: var(--muted); max-width: 44ch; }
.samc-page .samc-video-soon .samc-video-soon-title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: var(--white); }

/* "SAM does the hard work": a river of SAM's work across the full width, and one small, still card for the owner's part */
.samc-page .samc-sara-lists {
  padding-left: 0; padding-right: 0; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 58%, rgba(14, 92, 116, .6) 0%, rgba(10, 74, 95, .3) 45%, rgba(10, 74, 95, 0) 100%), #052b38;
  border-top: 1px solid rgba(63, 227, 227, .14); border-bottom: 1px solid rgba(63, 227, 227, .08);
}
.samc-page .samc-sara-lists h2 { padding: 0 24px; }
.samc-page .samc-sara-lists h2 em { display: block; }
.samc-page .samc-river { position: relative; max-width: none; margin-top: 58px; }
/* SAM's work as pills. Without the script (and in the editor) they sit as one dense cloud. */
.samc-page .samc-river-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.samc-page .samc-river-list li, .samc-page .samc-river-track span {
  flex: none; white-space: nowrap; font-size: 17px; font-weight: 600; line-height: 1; color: #e4fbfb; padding: 14px 20px; border-radius: 999px;
  background: rgba(0, 25, 33, .55); border: 1px solid rgba(63, 227, 227, .42);
}
/* with the script: the cloud becomes rows that drift sideways, each row against the one above */
.samc-page .samc-river.samc-js .samc-river-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; margin: -1px; }
.samc-page .samc-river-rows {
  display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.samc-page .samc-river-rows + .samc-your-part + .samc-river-rows, .samc-page .samc-river-rows.samc-lower { margin-top: 14px; }
.samc-page .samc-river-row { overflow: hidden; }
.samc-page .samc-river-track { display: flex; width: max-content; animation: samc-flow var(--samc-dur, 90s) linear infinite; will-change: transform; }
.samc-page .samc-river-track span { margin-right: 12px; }
.samc-page .samc-river-row:nth-child(even) .samc-river-track { animation-direction: reverse; }
.samc-page .samc-river-row:nth-child(3n) .samc-river-track span { border-color: rgba(63, 227, 227, .26); color: #b9e6ea; }
.samc-page .samc-river-row:hover .samc-river-track { animation-play-state: paused; }
@keyframes samc-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* your part: the one still thing, in the middle */
.samc-page .samc-your-part {
  max-width: 400px; margin: 44px auto 0; padding: 32px 36px 34px; border-radius: 24px; text-align: left;
  background: #03202a; border: 2px solid var(--pink);
  box-shadow: 0 0 0 12px rgba(3, 32, 42, .72), 0 0 90px 70px rgba(3, 32, 42, .82), 0 26px 70px rgba(250, 52, 168, .22);
}
.samc-page .samc-river.samc-js .samc-your-part { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 400px; margin: 0; z-index: 2; }
.samc-page .samc-your-part h3 { color: var(--pink); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; text-align: center; }
.samc-page .samc-your-part ul { list-style: none; display: grid; gap: 13px; counter-reset: samc-part; }
.samc-page .samc-your-part li {
  position: relative; padding-left: 42px; min-height: 28px; display: flex; align-items: center; counter-increment: samc-part;
  font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--white);
}
.samc-page .samc-your-part li::before {
  content: counter(samc-part); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250, 52, 168, .14); color: var(--pink); box-shadow: inset 0 0 0 1.5px rgba(250, 52, 168, .75); font-size: 14px; font-weight: 800; line-height: 1;
}

/* the close: Sara again */
.samc-page .samc-sara-face { width: 158px; margin: 0 auto 32px; border-width: 2px; box-shadow: 0 0 0 6px rgba(63, 227, 227, .10), 0 18px 50px rgba(27, 214, 214, .28); }
.samc-page .samc-sara-close h2 { font-size: clamp(32px, 4.6vw, 58px); }
.samc-page .samc-sara-close h2 em { display: block; }
.samc-page .samc-sara-close .samc-lead { max-width: 58ch; }
.samc-page .samc-aside { margin-top: 26px; font-size: 16px; font-style: italic; font-weight: 500; color: var(--muted); max-width: 52ch; }

/* phone: one column, in reading order, everything centred */
@media (max-width: 820px) {
  .samc-page .samc-sara-hero { padding-bottom: 44px; }
  .samc-page .samc-sara-top { grid-template-columns: 1fr; gap: 34px; text-align: center; justify-items: center; }
  .samc-page .samc-sara-photo { width: 230px; max-width: 70%; margin: 0 auto !important; }
  .samc-page .samc-sara-intro { width: 100%; }
  .samc-page .samc-sara-intro .samc-lead { margin-left: auto; margin-right: auto; }
  .samc-page .samc-scroll { margin-top: 44px; }
  .samc-page .samc-letter { padding: 36px 24px 34px; text-align: center; }
  .samc-page .samc-sara-note { padding-bottom: 34px; }
  .samc-page .samc-sara-watch { padding-top: 40px; }
  /* the river: five rows above your part, five below; the card sits between them, centred */
  .samc-page .samc-river { margin-top: 42px; }
  .samc-page .samc-river-list li, .samc-page .samc-river-track span { font-size: 15px; padding: 11px 16px; }
  .samc-page .samc-river-rows { gap: 10px; }
  .samc-page .samc-river.samc-js .samc-your-part { position: static; transform: none; width: min(400px, calc(100% - 68px)); max-width: none; margin: 24px auto; box-shadow: 0 20px 60px rgba(250, 52, 168, .2); }
  .samc-page .samc-your-part { width: min(400px, calc(100% - 68px)); max-width: none; margin: 30px auto 0; padding: 24px 20px 26px; text-align: center; box-shadow: 0 20px 60px rgba(250, 52, 168, .2); }
  .samc-page .samc-your-part ul { width: fit-content; max-width: 100%; margin: 0 auto; text-align: left; }
  .samc-page .samc-your-part li { font-size: 17px; padding-left: 38px; }
  .samc-page .samc-your-part ul { gap: 11px; }
  .samc-page .samc-river-rows.samc-lower { margin-top: 0; }
  .samc-page .samc-video-soon { aspect-ratio: 4 / 3; }
  .samc-page .samc-sara-face { width: 134px; }
}
/* ========== end of Sara's page ========== */
/* ---------- inside the WordPress editor only ---------- */
.editor-styles-wrapper .samc-page { border-radius: 0; }
.editor-styles-wrapper .samc-page .wp-block { max-width: none; }
.editor-styles-wrapper .samc-page .samc-enquiry { border-top: 6px dashed #1bd6d6; }
.editor-styles-wrapper .samc-page .samc-enquiry::before {
  content: "Enquiry pop-up (demonstration). Visitors see this only after pressing the button.";
  display: block; max-width: 520px; margin: 0 auto 18px; font-size: 13px; font-weight: 700; color: #0c4a62;
}
