/* =============================================================
   SEVORA BASE - page-sevora.php only.

   The source page is a light Framer template and this file keeps its
   structure, rhythm and element inventory - but it is dressed in THIS
   site's own system rather than the template's: warm paper, warm ink,
   one terracotta accent, and the sharp-leaning radius scale (2/4/8px).
   Every colour and every radius is read from tokens.css, so the page
   cannot drift away from the rest of the site. Pills stay pills; cards
   are --r-lg like .card everywhere else.

   The one type change is deliberate: the template pairs its display
   serif (Lora) with a UI sans (Instrument Sans). Instrument Sans is
   already self-hosted by the theme, so only Lora is added here, OFL
   licensed like the other two.
   ============================================================= */

/* ---- Lora, self-hosted (SIL OFL 1.1) ------------------------- */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-var.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.tpl-sevora {
  /* Lora is the one addition: the source pairs a display serif with a UI sans,
     and the site's own UI face (Instrument Sans) is already loaded. */
  --sv-display: 'Lora', ui-serif, Georgia, 'Times New Roman', serif;
  --sv-body: var(--font-body);
  --sv-mono: var(--font-mono);

  /* Layout only. Colour, radius and motion all come from tokens.css. */
  --sv-gap: var(--gutter);
  --sv-pad: var(--s-5);
  --sv-radius: var(--r-lg);
  --sv-radius-lg: var(--r-lg);
  --sv-shadow: 0 18px 44px -30px rgba(20, 17, 14, 0.45);

  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---- Reset within the template only -------------------------- */
.tpl-sevora *,
.tpl-sevora *::before,
.tpl-sevora *::after { box-sizing: border-box; }

.tpl-sevora h1, .tpl-sevora h2, .tpl-sevora h3, .tpl-sevora p,
.tpl-sevora figure, .tpl-sevora dl, .tpl-sevora dd, .tpl-sevora ul,
.tpl-sevora ol, .tpl-sevora blockquote {
  margin: 0;
  padding: 0;
}
.tpl-sevora ul, .tpl-sevora ol { list-style: none; }
.tpl-sevora img { display: block; max-width: 100%; height: auto; }
.tpl-sevora a { color: inherit; text-decoration: none; }

.tpl-sevora .sv-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper-sunk);
  border: 1px solid var(--ink-hairline);
  border-radius: 0.5rem;
}
.tpl-sevora .sv-skip:focus { left: 1rem; top: 1rem; }

/* The admin bar overlaps the sticky nav on logged-in previews. */
body.admin-bar .tpl-sevora .sv-navwrap { top: calc(1rem + 32px); }

.tpl-sevora :focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout primitives --------------------------------------- */
.tpl-sevora .sv-shell {
  max-width: 96rem;
  margin-inline: auto;
  padding-inline: var(--sv-gap);
}

/* Anchor targets clear the sticky nav. The value is deliberately small:
   each section already carries 6-8rem of top padding and a pill above its
   heading, so a large scroll-margin stacked on top of that and parked the
   heading ~330px down, in a band of empty paper. */
.tpl-sevora .sv-sec { scroll-margin-top: 1.25rem; }
.tpl-sevora .sv-sec__head,
.tpl-sevora .sv-h2 { scroll-margin-top: 1.25rem; }

.tpl-sevora .sv-sec {
  padding-block: clamp(3.5rem, 2rem + 7vw, 8rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.tpl-sevora .sv-grid-2,
.tpl-sevora .sv-grid-3,
.tpl-sevora .sv-grid-4 {
  display: grid;
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}
.tpl-sevora .sv-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-sevora .sv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-sevora .sv-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tpl-sevora .sv-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.tpl-sevora .sv-split__aside { padding-top: 2.75rem; }

/* ---- Type ----------------------------------------------------- */
.tpl-sevora .sv-display {
  font-family: var(--sv-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}
.tpl-sevora .sv-h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 600; }
.tpl-sevora .sv-h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.tpl-sevora .sv-h3--tight { margin-top: auto; }

.tpl-sevora .sv-lede {
  max-width: 34ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.tpl-sevora .sv-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.tpl-sevora .sv-sub {
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.tpl-sevora .sv-mono {
  font-family: var(--sv-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tpl-sevora .sv-muted { color: var(--ink-muted); }

.tpl-sevora .sv-sec__head { display: flex; flex-direction: column; gap: 1rem; }
.tpl-sevora .sv-sec__head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 46rem;
}

/* ---- Pills, buttons, icons ------------------------------------ */
.tpl-sevora .sv-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--ink-hairline);
  border-radius: 999px;
  background: var(--paper-sunk);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  width: fit-content;
}
.tpl-sevora .sv-sec__head--center .sv-pill { margin-inline: auto; }

/* Buttons reuse the site's own component: an ink-outlined pill with the
   arrow in its own well. Same shape, same press, same accent on hover. */
.tpl-sevora .sv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out-expo),
              color var(--t-fast) var(--ease-out-expo),
              transform var(--t-fast) var(--ease-out-expo),
              border-color var(--t-fast) var(--ease-out-expo);
}
.tpl-sevora .sv-btn--sm { padding: 0.375rem 0.375rem 0.375rem 0.9rem; font-size: var(--t-fine); }
/* Primary. The source sets its primary actions solid black on the light
   page; here that is solid ink, which is the same move in this palette.
   Hover is the site's accent, so the accent stays rationed. */
.tpl-sevora .sv-btn--accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.tpl-sevora .sv-btn--accent .sv-arrow { background: var(--paper); color: var(--ink); }
.tpl-sevora .sv-btn--accent:hover { background: var(--signal); border-color: var(--signal); color: var(--paper-raised); }
.tpl-sevora .sv-btn--accent:hover .sv-arrow { background: var(--paper-raised); color: var(--signal); }
.tpl-sevora .sv-btn:hover { background: var(--signal); border-color: var(--signal); color: var(--paper-raised); }
.tpl-sevora .sv-btn:active { transform: scale(0.985); }
.tpl-sevora .sv-btn--ghost { border-color: var(--ink-hairline); }
.tpl-sevora .sv-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-raised); }
.tpl-sevora .sv-btn--block { display: flex; width: 100%; justify-content: center; }
.tpl-sevora .sv-btn--wide { padding-block: 0.7rem; width: 100%; justify-content: center; }
/* The arrow rides in its own disc, exactly as .pill-arrow does. */
.tpl-sevora .sv-arrow {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  transition: transform var(--t-mid) var(--ease-out-expo),
              background var(--t-fast) var(--ease-out-expo);
}
.tpl-sevora .sv-btn:hover .sv-arrow {
  background: var(--paper-raised);
  color: var(--signal);
  transform: translate(2px, -2px) scale(1.06);
}

.tpl-sevora .sv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--ink-hairline);
  border-radius: var(--r-md);
  background: var(--paper-sunk);
  font-size: 1.125rem;
  line-height: 1;
  flex: none;
}

/* ---- Cards ---------------------------------------------------- */
.tpl-sevora .sv-card {
  border: 1px solid var(--ink-hairline);
  border-radius: var(--sv-radius);
  background: var(--paper-sunk);
  box-shadow: var(--sv-shadow);
}
.tpl-sevora .sv-card--pad { padding: clamp(1.25rem, 0.9rem + 1vw, 2rem); }

/* The template's black cards, inverted: on a dark page the contrast
   beat has to come from the other direction or it disappears. */
.tpl-sevora .sv-card--invert {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.tpl-sevora .sv-card--invert .sv-body { color: rgba(247, 246, 243, 0.74); }
.tpl-sevora .sv-card--invert .sv-figure__l { color: rgba(247, 246, 243, 0.62); }
.tpl-sevora .sv-card--invert .sv-stars { color: var(--signal); }
.tpl-sevora .sv-card--invert .sv-icon {
  background: transparent;
  border-color: rgba(247, 246, 243, 0.22);
  color: var(--paper);
}
.tpl-sevora .sv-card--invert .sv-btn {
  border-color: var(--paper);
  color: var(--paper);
}
.tpl-sevora .sv-card--invert .sv-btn .sv-arrow { background: var(--paper); color: var(--ink); }
.tpl-sevora .sv-card--invert .sv-btn:hover { background: var(--signal); border-color: var(--signal); color: var(--paper-raised); }
.tpl-sevora .sv-card--invert .sv-btn:hover .sv-arrow { background: var(--paper-raised); color: var(--signal); }

.tpl-sevora .sv-card--pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  font-size: var(--t-small);
}
.tpl-sevora .sv-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ok, #5FA371);
  box-shadow: 0 0 0 3px rgba(63, 107, 74, 0.18);
}

/* ---- Nav ------------------------------------------------------ */
.tpl-sevora .sv-navwrap {
  position: sticky;
  top: 1rem;
  z-index: 40;
  padding-top: 1rem;
}
.tpl-sevora .sv-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.625rem 0.75rem 0.625rem 1rem;
  border: 1px solid var(--ink-hairline);
  border-radius: 999px;
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sv-shadow);
}
.tpl-sevora .sv-brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.tpl-sevora .sv-brand__mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.tpl-sevora .sv-brand__name { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.tpl-sevora .sv-nav__links {
  display: flex;
  gap: 0.25rem;
  margin-inline: auto;
}
.tpl-sevora .sv-nav__links a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-md);
  font-size: var(--t-small);
  color: var(--ink-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.tpl-sevora .sv-nav__links a:hover { color: var(--ink); background: var(--paper-raised); }

/* ---- Hero ----------------------------------------------------- */
.tpl-sevora .sv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
  min-height: min(78vh, 46rem);
  margin-top: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border: 1px solid var(--ink-hairline);
  border-radius: var(--sv-radius-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(180, 70, 42, 0.07), transparent 55%),
    var(--paper-sunk);
  box-shadow: var(--sv-shadow);
}
.tpl-sevora .sv-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(0.5rem, 0rem + 2vw, 2rem);
}
.tpl-sevora .sv-hero__h1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 4.75rem); font-weight: 500; }
.tpl-sevora .sv-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.tpl-sevora .sv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  margin-top: 0.5rem;
}
.tpl-sevora .sv-stat__n {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}
.tpl-sevora .sv-stat__n span { color: var(--ink-muted); }
.tpl-sevora .sv-stat__l {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.tpl-sevora .sv-hero__media { position: relative; align-self: stretch; }
.tpl-sevora .sv-hero__portrait {
  width: 100%;
  height: 100%;
  max-height: 34rem;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-md);
  /* The template's photo runs off the card edge; the fade keeps the
     hard crop from looking like a mistake. */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.tpl-sevora .sv-float {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  width: min(21rem, 92%);
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--ink-hairline);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--sv-shadow);
}
.tpl-sevora .sv-float__kicker { grid-column: 1; color: var(--ink-muted); }
.tpl-sevora .sv-float__title { grid-column: 1; font-weight: 600; }
.tpl-sevora .sv-float__body {
  grid-column: 1;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.tpl-sevora .sv-float__go {
  grid-row: 1 / span 3;
  grid-column: 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

/* ---- Client marquee ------------------------------------------- */
.tpl-sevora .sv-strip {
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: 1.5rem;
  border-block: 1px solid var(--ink-hairline);
  overflow: hidden;
}
.tpl-sevora .sv-marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  width: max-content;
  animation: sv-scroll 42s linear infinite;
}
.tpl-sevora .sv-marquee__item {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-muted);
  white-space: nowrap;
}
.tpl-sevora .sv-strip:hover .sv-marquee__track { animation-play-state: paused; }

@keyframes sv-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Live system cards ---------------------------------------- */
.tpl-sevora .sv-site { display: flex; flex-direction: column; gap: 0.75rem; }
.tpl-sevora .sv-site .sv-thumb { display: block; }
.tpl-sevora .sv-site .sv-thumb img { transition: transform var(--t-slow) var(--ease-out-expo); }
.tpl-sevora .sv-site .sv-thumb:hover img { transform: scale(1.02); }
.tpl-sevora .sv-site__meta { color: var(--ink-faint); }
.tpl-sevora .sv-site__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--t-small);
  color: var(--ink-muted);
  transition: color var(--t-fast) var(--ease-out-expo);
}
.tpl-sevora .sv-site__link:hover { color: var(--signal); }
.tpl-sevora .sv-site__link:hover .sv-arrow {
  background: var(--signal);
  color: var(--paper-raised);
}

/* ---- Standout cards ------------------------------------------- */
.tpl-sevora .sv-card--pad .sv-thumb {
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-hairline);
  margin-bottom: 1.25rem;
  background: var(--paper-raised);
}
.tpl-sevora .sv-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tpl-sevora .sv-card .sv-h3 + .sv-body { margin-top: 0.5rem; }

/* ---- Projects ------------------------------------------------- */
.tpl-sevora .sv-project {
  display: grid;
  gap: 0.75rem;
  padding: 0.5rem;
  border: 1px solid var(--ink-hairline);
  border-radius: var(--r-lg);
  background: var(--paper-sunk);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tpl-sevora .sv-project:hover { transform: translateY(-4px); border-color: var(--ink-muted); }
.tpl-sevora .sv-project__frame {
  display: block;
  overflow: hidden;
  border-radius: var(--sv-radius);
}
.tpl-sevora .sv-project__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tpl-sevora .sv-project__frame--light { background: #F2F3F5; }
.tpl-sevora .sv-project__frame--dark { background: #0A0A0A; }
.tpl-sevora .sv-project__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--paper-raised);
}
.tpl-sevora .sv-project__body { display: flex; flex-direction: column; gap: 0.3125rem; }
.tpl-sevora .sv-project__name { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em; }
.tpl-sevora .sv-project__host { color: var(--ink-faint); }
.tpl-sevora .sv-project__line {
  margin-top: 0.25rem;
  font-size: var(--t-fine);
  line-height: 1.5;
  color: var(--ink-muted);
}
.tpl-sevora .sv-project__bar .sv-arrow { margin-top: 0.125rem; flex: none; }
.tpl-sevora .sv-project:hover .sv-project__name { color: var(--signal); }
.tpl-sevora .sv-project:hover .sv-arrow { background: var(--signal); color: var(--paper-raised); }

/* ---- Bento ---------------------------------------------------- */
.tpl-sevora .sv-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}

.tpl-sevora .sv-bento__tall {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 12rem;
}
.tpl-sevora .sv-bento__wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 12rem;
}
.tpl-sevora .sv-bento__rating {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
}
.tpl-sevora .sv-figure {
  font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
}
.tpl-sevora .sv-figure__l { font-size: 0.875rem; color: var(--ink-muted); }
.tpl-sevora .sv-stars { color: var(--signal); letter-spacing: 0.1em; font-size: 0.875rem; }
/* When the row carries a word rather than a star rating, the star spacing
   and the accent colour both read wrong. */
.tpl-sevora .sv-stars--label {
  color: var(--ink-muted);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
}
.tpl-sevora .sv-bento .sv-card--pill { grid-column: span 2; }

/* ---- Services (sticky accordion) ------------------------------ */
.tpl-sevora .sv-svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.tpl-sevora .sv-svc__list { display: flex; flex-direction: column; gap: 1rem; }
.tpl-sevora .sv-svc__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0.62;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.tpl-sevora .sv-svc__item.is-active {
  opacity: 1;
  border-color: var(--signal-edge, rgba(255, 90, 31, 0.3));
}
.tpl-sevora .sv-svc__visual { position: sticky; top: 6.5rem; }
.tpl-sevora .sv-svc__panel {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(180, 70, 42, 0.05), transparent 60%),
    var(--paper-sunk);
}
.tpl-sevora .sv-svc__panel img,
.tpl-sevora .sv-spec {
  width: min(100%, 22rem);
  filter: drop-shadow(0 20px 34px rgba(20, 17, 14, 0.28));
}
.tpl-sevora .sv-spec { color: var(--ink); }

/* ---- Process --------------------------------------------------- */
.tpl-sevora .sv-process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.tpl-sevora .sv-process__intro {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
/* -------------------------------------------------------------
   Process steps.

   Geometry is declared once here so the icon, the step number and
   the connector cannot drift apart:

     --sv-step-pad   the card's own padding (also the icon's offset)
     --sv-step-icon  the icon box, a square
     --sv-step-mid   = pad + icon/2, i.e. the icon's exact centre.
                      The connector line sits on that value, so it
                      runs through every icon centre by construction
                      rather than by a hand-tuned guess.
   ------------------------------------------------------------- */
.tpl-sevora .sv-steps {
  --sv-step-pad: 1.75rem;
  --sv-step-icon: 2.75rem;
  /* The icon is a full title-height taller than the number row above the
     title, so it starts below the padding line to land its CENTRE on the
     title rather than on the top of the number. */
  --sv-step-icon-top: calc(var(--sv-step-pad) + 0.5625rem);
  /* Two different midpoints, and conflating them is what put the rule 9px
     off the icons: the rule runs DOWN the column, so its horizontal
     position is the icon's centre across, while where it starts and ends
     is the icon's centre down. */
  --sv-step-axis: calc(var(--sv-step-pad) + (var(--sv-step-icon) / 2));
  --sv-step-icon-mid: calc(var(--sv-step-icon-top) + (var(--sv-step-icon) / 2));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
/* Connector: one hairline on the icon centre line, running first to last
   icon. The cards are opaque, so it reads in the gaps between them. */
.tpl-sevora .sv-steps::before {
  content: '';
  position: absolute;
  left: var(--sv-step-axis);
  top: var(--sv-step-icon-mid);
  bottom: var(--sv-step-icon-mid);
  width: 1px;
  background: var(--ink-hairline);
}
.tpl-sevora .sv-step {
  position: relative;
  /* room for the icon, then the text column */
  padding-left: calc(var(--sv-step-axis) + (var(--sv-step-icon) / 2) + 1.25rem);
  padding-top: var(--sv-step-pad);
}
.tpl-sevora .sv-step__icon {
  position: absolute;
  /* inside the card, on the card's own padding line - not straddling
     its border, which is what read as "not on position" before */
  left: var(--sv-step-pad);
  top: var(--sv-step-icon-top);
  display: grid;
  place-items: center;
  width: var(--sv-step-icon);
  height: var(--sv-step-icon);
  border: 1px solid var(--ink-hairline);
  border-radius: var(--r-md);
  background: var(--paper-raised);
  color: var(--ink);
}
.tpl-sevora .sv-step__icon svg { width: 1.25rem; height: 1.25rem; display: block; }
.tpl-sevora .sv-step__n {
  color: var(--ink-faint);
  margin-bottom: 0.375rem;
}
.tpl-sevora .sv-step .sv-h3 { margin-bottom: 0.375rem; }

/* ---- Quotes ---------------------------------------------------- */
.tpl-sevora .sv-grid-3--quotes .sv-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tpl-sevora .sv-quote p {
  font-family: var(--sv-display);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.tpl-sevora .sv-quote__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  font-size: 0.875rem;
}
.tpl-sevora .sv-quote__who img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
}
.tpl-sevora .sv-cta-wide { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }

/* ---- Pricing ---------------------------------------------------- */
.tpl-sevora .sv-plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
.tpl-sevora .sv-plan .sv-price {
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
  font-family: var(--sv-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-block: 0.5rem;
}
.tpl-sevora .sv-price__cur {
  font-family: var(--sv-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 0.375rem;
}
.tpl-sevora .sv-card--invert .sv-price__cur { color: rgba(247, 246, 243, 0.62); }
.tpl-sevora .sv-price--text { font-family: var(--sv-body); font-size: var(--t-h3); font-weight: 500; letter-spacing: -0.015em; }
.tpl-sevora .sv-plan__features {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-hairline);
}
.tpl-sevora .sv-card--invert .sv-plan__features { border-top-color: rgba(247, 246, 243, 0.2); }
.tpl-sevora .sv-plan__features-h { font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.75rem; }
.tpl-sevora .sv-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-block: 0.3125rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.tpl-sevora .sv-card--invert .sv-plan__features li { color: rgba(247, 246, 243, 0.74); }
.tpl-sevora .sv-tick { color: var(--signal); line-height: 1.4; }

/* ---- FAQ -------------------------------------------------------- */
.tpl-sevora .sv-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 46rem;
  margin-inline: auto;
  width: 100%;
}
.tpl-sevora .sv-faq__row { padding: 0; overflow: hidden; }
.tpl-sevora .sv-faq__row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  list-style: none;
}
.tpl-sevora .sv-faq__row summary::-webkit-details-marker { display: none; }
/* Plus that becomes a minus, drawn rather than typed. */
.tpl-sevora .sv-faq__sign {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: none;
}
.tpl-sevora .sv-faq__sign::before,
.tpl-sevora .sv-faq__sign::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--ink-muted);
}
.tpl-sevora .sv-faq__sign::after { transform: rotate(90deg); transition: transform 0.25s ease; }
.tpl-sevora .sv-faq__row[open] .sv-faq__sign::after { transform: rotate(0deg); }
.tpl-sevora .sv-faq__row > .sv-body {
  padding: 0 1.5rem 1.5rem;
  max-width: 62ch;
}

/* ---- Footer ------------------------------------------------------ */
.tpl-sevora .sv-footer { padding-block: clamp(2rem, 1rem + 4vw, 5rem); }
.tpl-sevora .sv-footer__panel {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--sv-radius-lg);
  /* Container query context, so the wordmark below can size itself against the
     card it has to fit inside rather than the viewport - padding and gutter
     included. */
  container-type: inline-size;
}
.tpl-sevora .sv-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.tpl-sevora .sv-footer__brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.tpl-sevora .sv-footer__brand .sv-body { max-width: 34ch; }
.tpl-sevora .sv-footer__col { display: flex; flex-direction: column; gap: 0.5rem; }
.tpl-sevora .sv-footer__h { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.5rem; }
.tpl-sevora .sv-footer__col a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  width: fit-content;
}
.tpl-sevora .sv-footer__col a:hover { color: var(--signal); }

/* The oversized wordmark. On the light template it is a chrome
   gradient; here it is an ink gradient that fades into the card. */
.tpl-sevora .sv-wordmark {
  font-family: var(--sv-display);
  /* Sized against the card, not the viewport. This is one long word with wrap
     disabled, so it has to be derived from the space it actually has: at
     16.5cqi a nine-letter serif word fills roughly 95% of the card and still
     fits on a 390px screen, where a vw-based size runs past the edge. */
  font-size: clamp(1.75rem, 15.8cqi, 12rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: nowrap;
  margin-block: clamp(1.5rem, 1rem + 3vw, 3rem);
  background: linear-gradient(to bottom, rgba(20, 17, 14, 0.82), rgba(20, 17, 14, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.tpl-sevora .sv-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-hairline);
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ---- Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .tpl-sevora .sv-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-sevora .sv-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-sevora .sv-bento__tall,
  .tpl-sevora .sv-bento__wide,
  .tpl-sevora .sv-bento .sv-card--pill { grid-column: span 2; }
  .tpl-sevora .sv-hero,
  .tpl-sevora .sv-svc,
  .tpl-sevora .sv-process,
  .tpl-sevora .sv-split { grid-template-columns: minmax(0, 1fr); }
  .tpl-sevora .sv-split__aside { padding-top: 0; }
  .tpl-sevora .sv-svc__visual,
  .tpl-sevora .sv-process__intro { position: static; }
  .tpl-sevora .sv-svc__panel { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  .tpl-sevora .sv-grid-2,
  .tpl-sevora .sv-grid-3,
  .tpl-sevora .sv-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .tpl-sevora .sv-bento { grid-template-columns: minmax(0, 1fr); }
  .tpl-sevora .sv-bento__tall,
  .tpl-sevora .sv-bento__wide,
  .tpl-sevora .sv-bento .sv-card--pill { grid-column: span 1; }
  /* Stacked, the media must size from its own content: height:100% on the
     portrait resolves against an auto-height row, which collapsed the box and
     let the card below it spill over the headline. */
  .tpl-sevora .sv-hero { min-height: 0; align-items: stretch; }
  .tpl-sevora .sv-hero__media { order: -1; align-self: auto; height: auto; }
  .tpl-sevora .sv-hero__portrait {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .tpl-sevora .sv-float { position: static; width: 100%; margin-top: 0.75rem; }
  .tpl-sevora .sv-nav__links { display: none; }
  .tpl-sevora .sv-nav { justify-content: space-between; }
  .tpl-sevora .sv-footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Motion & print ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .tpl-sevora .sv-marquee__track { animation: none; }
  .tpl-sevora *,
  .tpl-sevora *::before,
  .tpl-sevora *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .tpl-sevora { background: #fff; color: #000; }
  .tpl-sevora .sv-navwrap,
  .tpl-sevora .sv-strip { display: none; }
  .tpl-sevora .sv-card { box-shadow: none; border-color: #ccc; background: #fff; }
}