/* =====================================================================
   Sourcewise Design System — v1 (Oct 2026)
   Aesthetic reference: Ploy (mobbin.com/sites/ploy). Condensed poster
   headlines, neutral canvas, rounded inset panels, black pills and
   pastel colour blocks, with Sourcewise orange as the brand colour.
   No decorative 3D shapes: they were removed site-wide in Oct 2026.

   Standalone: pages on the new system load this file instead of
   style.css. Everything is namespaced `sw-` so the two can coexist
   while pages are migrated.

   Contents
   1. Tokens          5. Layout (container, panel, split)
   2. Base            6. Components (pill, button, card, ...)
   3. Typography      7. Site chrome (header, footer)
   4. Colour utils    8. Page sections (home)
                      9. Motion
   ===================================================================== */

/* 1. Tokens ---------------------------------------------------------- */
:root {
  /* Neutrals */
  --sw-canvas: #f4f4f2;
  --sw-surface: #ffffff;
  --sw-surface-2: #fafaf8;
  --sw-ink: #1c1a19;
  --sw-ink-2: #55524e;
  --sw-ink-3: #8c8883;
  --sw-line: #e4e2de;
  --sw-line-subtle: rgba(28, 26, 25, 0.08);
  --sw-ink-soft: #2a2725;

  /* Brand */
  --sw-orange: #f4530a;
  --sw-orange-deep: #d6470a;
  --sw-orange-soft: #ffe2d3;

  /* Pastel blocks */
  --sw-butter: #fff27a;
  --sw-lime: #d6f38a;
  --sw-lilac: #f6c8ff;
  --sw-sky: #d3e3ff;
  --sw-peach: #ffd9c6;

  /* Type */
  --sw-font-display: "Archivo", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --sw-font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --sw-display-xl: clamp(52px, 8.6vw, 128px);
  --sw-display-l: clamp(44px, 6.6vw, 88px);
  --sw-display-m: clamp(36px, 5vw, 64px);
  --sw-h1: clamp(36px, 4.6vw, 60px);
  --sw-h2: clamp(30px, 3.6vw, 48px);
  --sw-h3: 20px;
  --sw-h4: 17px;
  --sw-body-l: 18px;
  --sw-body: 16px;
  --sw-small: 14px;
  --sw-micro: 11px;

  --sw-track-display: -0.005em;
  --sw-track-heading: -0.04em;
  --sw-track-body: -0.02em;

  /* Radius */
  --sw-r-sm: 8px;
  --sw-r-md: 12px;
  --sw-r-lg: 16px;
  --sw-r-xl: 24px;
  --sw-r-pill: 999px;

  /* Space (4px base) */
  --sw-s-1: 4px;
  --sw-s-2: 8px;
  --sw-s-3: 12px;
  --sw-s-4: 16px;
  --sw-s-5: 24px;
  --sw-s-6: 32px;
  --sw-s-7: 48px;
  --sw-s-8: 64px;
  --sw-s-9: 96px;
  --sw-section-y: clamp(72px, 9vw, 128px);
  --sw-gutter: 12px;
  --sw-max: 1120px;
  --sw-max-narrow: 760px;

  /* Elevation */
  --sw-shadow-card: 0 1px 2px rgba(28, 26, 25, 0.04), 0 10px 30px -14px rgba(28, 26, 25, 0.16);
  --sw-shadow-pop: 0 2px 6px rgba(28, 26, 25, 0.06), 0 24px 48px -20px rgba(28, 26, 25, 0.28);

  /* Motion */
  --sw-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sw-fast: 0.18s;
  --sw-slow: 0.7s;
}

/* 2. Base ------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.sw {
  font-family: var(--sw-font-body);
  font-size: var(--sw-body);
  line-height: 1.5;
  letter-spacing: var(--sw-track-body);
  color: var(--sw-ink);
  background: var(--sw-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

:where(.sw) img,
:where(.sw) video,
:where(.sw) svg {
  display: block;
  max-width: 100%;
}

:where(.sw) a {
  color: inherit;
  text-decoration: none;
}

:where(.sw) ul {
  list-style: none;
}

:where(.sw) button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:where(.sw) :focus-visible {
  outline: 2px solid var(--sw-orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.sw-skip {
  position: absolute;
  left: -9999px;
}

.sw-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--sw-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--sw-r-pill);
}

/* 3. Typography ------------------------------------------------------ */

/* Display: condensed poster caps. Always uppercase, very tight leading. */
.sw-display {
  font-family: var(--sw-font-display);
  font-weight: 800;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: var(--sw-track-display);
  text-wrap: balance;
  font-size: var(--sw-display-l);
}

.sw-display--xl { font-size: var(--sw-display-xl); line-height: 0.86; }
.sw-display--l  { font-size: var(--sw-display-l); }
.sw-display--m  { font-size: var(--sw-display-m); line-height: 0.92; }

/* Heading: sentence-case grotesk, tight tracking. */
.sw-heading {
  font-family: var(--sw-font-body);
  font-weight: 600;
  letter-spacing: var(--sw-track-heading);
  line-height: 1.04;
  text-wrap: balance;
  font-size: var(--sw-h2);
}

.sw-heading--1 { font-size: var(--sw-h1); }
.sw-heading--2 { font-size: var(--sw-h2); }
.sw-heading--3 { font-size: var(--sw-h3); line-height: 1.25; letter-spacing: -0.025em; }
.sw-heading--4 { font-size: var(--sw-h4); line-height: 1.3; letter-spacing: -0.02em; }

.sw-accent { color: var(--sw-orange); }

.sw-lede {
  font-size: var(--sw-body-l);
  line-height: 1.55;
  color: var(--sw-ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.sw-text {
  font-size: var(--sw-body);
  line-height: 1.6;
  color: var(--sw-ink-2);
  text-wrap: pretty;
}

.sw-small {
  font-size: var(--sw-small);
  line-height: 1.55;
  color: var(--sw-ink-2);
}

/* Micro meta: uppercase label used on card footers and article meta. */
.sw-meta {
  font-size: var(--sw-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sw-ink-3);
}

/* 4. Colour utilities ------------------------------------------------ */
.sw-bg-canvas  { background: var(--sw-canvas); }
.sw-bg-surface { background: var(--sw-surface); }
.sw-bg-ink     { background: var(--sw-ink); color: #fff; }
.sw-bg-orange  { background: var(--sw-orange); color: var(--sw-ink); }
.sw-bg-peach   { background: var(--sw-peach); }
.sw-bg-butter  { background: var(--sw-butter); }
.sw-bg-lime    { background: var(--sw-lime); }
.sw-bg-lilac   { background: var(--sw-lilac); }
.sw-bg-sky     { background: var(--sw-sky); }
.sw-bg-accent  { background: var(--sw-accent, var(--sw-peach)); }

/* Each page can pick its pastel: <body class="sw" data-accent="lime"> */
[data-accent="peach"]  { --sw-accent: var(--sw-peach); }
[data-accent="butter"] { --sw-accent: var(--sw-butter); }
[data-accent="lime"]   { --sw-accent: var(--sw-lime); }
[data-accent="lilac"]  { --sw-accent: var(--sw-lilac); }
[data-accent="sky"]    { --sw-accent: var(--sw-sky); }

/* 5. Layout ---------------------------------------------------------- */
.sw-container {
  width: 100%;
  max-width: calc(var(--sw-max) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.sw-container--narrow { max-width: calc(var(--sw-max-narrow) + 48px); }

.sw-section {
  position: relative;
  padding: var(--sw-section-y) 0;
}

/* Panel: a rounded block inset from the viewport edges. The core move of
   the system: sections read as cards laid on the canvas. */
.sw-panel {
  position: relative;
  margin: 0 var(--sw-gutter);
  padding: var(--sw-section-y) 0;
  border-radius: var(--sw-r-lg);
  overflow: hidden;
  isolation: isolate;
}

.sw-panel + .sw-panel,
.sw-panel + .sw-section,
.sw-section + .sw-panel {
  margin-top: var(--sw-gutter);
}

/* Section heads. The pill always sits directly above its heading.
   Default: stacked, left-aligned.
   --wide:   heading across the top, lede drops into the right half (Ploy "Live sites").
   --center: centred stack above a row of cards (Ploy "One platform"). */
.sw-head > .sw-pill { margin-bottom: 20px; }

.sw-head h2 { max-width: 16ch; }
.sw-head .sw-display { max-width: 18ch; }
.sw-head--wide .sw-display { max-width: 24ch; }

.sw-head .sw-lede { margin-top: 24px; }
.sw-head > .sw-link { margin-top: 28px; }

.sw-head--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--sw-s-7);
}

.sw-head--wide > .sw-pill { justify-self: start; }
.sw-head--wide > .sw-pill,
.sw-head--wide > h2 { grid-column: 1 / -1; }
.sw-head--wide > :not(.sw-pill):not(h2) { grid-column: 2; margin-top: clamp(28px, 4vw, 48px); }

.sw-head--center { text-align: center; }
.sw-head--center h2,
.sw-head--center .sw-lede { margin-left: auto; margin-right: auto; }
.sw-head--center h2 { max-width: 20ch; }

/* Feature split: head stacked on one side, content on the other (Ploy
   "Identify" / "Build"). --reverse puts the head on the right. */
.sw-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sw-s-6) clamp(40px, 6vw, 88px);
  align-items: center;
}

.sw-feature--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sw-feature--reverse > .sw-head { order: 2; }
.sw-feature > .sw-head { margin-bottom: 0; }
.sw-feature > .sw-head h2 { max-width: 14ch; }

.sw-section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.sw-center { text-align: center; }
.sw-center .sw-lede { margin-left: auto; margin-right: auto; }

.sw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sw-s-3);
  align-items: center;
}

.sw-center .sw-actions { justify-content: center; }

.sw-actions--below { margin-top: clamp(40px, 5vw, 56px); }

/* 6. Components ------------------------------------------------------ */

/* Pill — small dark label with coloured text. */
.sw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--sw-r-pill);
  background: var(--sw-ink);
  color: var(--sw-butter);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.sw-pill--orange { color: #ff9a6b; }
.sw-pill--lime   { color: var(--sw-lime); }
.sw-pill--lilac  { color: var(--sw-lilac); }
.sw-pill--sky    { color: var(--sw-sky); }
.sw-pill--light  { background: #fff; color: var(--sw-ink); }

/* Button — pill shaped. Primary is ink; orange is reserved for accents. */
.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--sw-r-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--sw-fast) ease, color var(--sw-fast) ease,
              border-color var(--sw-fast) ease, transform var(--sw-fast) ease;
}

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

.sw-btn .arrow {
  display: inline-block;
  transition: transform var(--sw-fast) var(--sw-ease);
}

.sw-btn:hover .arrow { transform: translateX(3px); }

.sw-btn--primary { background: var(--sw-ink); color: #fff; }
.sw-btn--primary:hover { background: var(--sw-orange); color: var(--sw-ink); }

.sw-btn--secondary { background: #fff; color: var(--sw-ink); border-color: var(--sw-line); }
.sw-btn--secondary:hover { border-color: var(--sw-ink); }

.sw-btn--light { background: #fff; color: var(--sw-ink); }
.sw-btn--light:hover { background: var(--sw-butter); }

.sw-btn--sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }

/* Text link with arrow */
.sw-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--sw-small);
  font-weight: 600;
  color: var(--sw-ink);
}

.sw-link .arrow { transition: transform var(--sw-fast) var(--sw-ease); }
.sw-link:hover .arrow { transform: translate(2px, -2px); }
.sw-link:hover { color: var(--sw-orange-deep); }

/* Icon tile */
.sw-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--sw-r-sm);
  background: #fff;
  border: 1px solid var(--sw-line);
  color: var(--sw-ink);
}

.sw-icon svg { width: 18px; height: 18px; }

.sw-icon--ink { background: var(--sw-ink); border-color: var(--sw-ink); color: #fff; }
.sw-icon--orange { background: var(--sw-orange); border-color: var(--sw-orange); color: #fff; }

/* Card */
.sw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sw-surface);
  border: 1px solid var(--sw-line-subtle);
  border-radius: var(--sw-r-md);
  padding: 22px;
  transition: transform var(--sw-fast) var(--sw-ease), box-shadow var(--sw-fast) ease;
}

.sw-card--lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--sw-shadow-card);
}

.sw-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sw-card__title {
  font-size: var(--sw-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sw-card__text {
  font-size: var(--sw-small);
  line-height: 1.55;
  color: var(--sw-ink-2);
}

.sw-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--sw-line-subtle);
}

.sw-card__text + .sw-card__foot { margin-top: 22px; }

.sw-card--ink {
  background: var(--sw-ink);
  border-color: var(--sw-ink);
  color: #fff;
}

.sw-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sw-s-3);
}

/* Columns card: one white card split by hairlines (Ploy "Monitor / Act / Surface"). */
.sw-cols {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  background: var(--sw-surface);
  border-radius: var(--sw-r-md);
  border: 1px solid var(--sw-line-subtle);
}

.sw-cols__item {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}

.sw-cols__item + .sw-cols__item { border-left: 1px solid var(--sw-line); }

.sw-cols__item .sw-icon { margin-bottom: clamp(40px, 6vw, 72px); }

.sw-cols--2x2 { --cols: 2 !important; }
.sw-cols--2x2 .sw-cols__item:nth-child(odd) { border-left: 0; }
.sw-cols--2x2 .sw-cols__item:nth-child(n + 3) { border-top: 1px solid var(--sw-line); }
.sw-cols--2x2 .sw-cols__item .sw-icon { margin-bottom: 28px; }

.sw-cols__item h3 { margin-bottom: 10px; }

/* Numbered rows (Ploy "Design / Build / Launch") */
.sw-rows > * + * { border-top: 1px solid var(--sw-line); }

.sw-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--sw-s-5);
  padding: 28px 0;
}

.sw-row__num {
  font-family: var(--sw-font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 62;
  font-size: 56px;
  line-height: 0.9;
  color: var(--sw-ink);
}

.sw-row h3 { margin-bottom: 8px; }

/* Check list */
.sw-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: var(--sw-small);
  font-weight: 500;
  color: var(--sw-ink-2);
}

.sw-center .sw-checks { justify-content: center; }

.sw-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sw-checks svg {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50%;
  background: var(--sw-lime);
  color: var(--sw-ink);
}

/* Media frame */
.sw-media {
  border-radius: var(--sw-r-lg);
  overflow: hidden;
  background: var(--sw-ink);
}

.sw-media img,
.sw-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ: heading on the left, accordion rows on the right (Ploy "explained") */
.sw-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--sw-s-5) var(--sw-s-7);
  align-items: start;
}

.sw-faq + .sw-faq {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--sw-line);
}

.sw-faq__head {
  position: sticky;
  top: 96px;
}

.sw-faq__head > * + * { margin-top: 18px; }

.sw-faq__list { border-bottom: 1px solid var(--sw-line); }

.sw-faq__list details { border-top: 1px solid var(--sw-line); }

.sw-faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.sw-faq__list summary::-webkit-details-marker { display: none; }

.sw-faq__list summary h3 {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0;
}

.sw-faq__list summary:hover h3 { color: var(--sw-orange-deep); }

.sw-faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sw-canvas);
  transition: background var(--sw-fast) ease, transform var(--sw-fast) var(--sw-ease);
}

.sw-faq__icon::before,
.sw-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--sw-ink);
  transform: translate(-50%, -50%);
}

.sw-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--sw-fast) var(--sw-ease); }

details[open] > summary .sw-faq__icon { background: var(--sw-ink); }
details[open] > summary .sw-faq__icon::before,
details[open] > summary .sw-faq__icon::after { background: #fff; }
details[open] > summary .sw-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.sw-faq .faq-answer {
  padding: 0 52px 24px 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--sw-ink-2);
  max-width: 70ch;
}

.sw-faq .faq-answer > * + * { margin-top: 12px; }

.sw-bg-canvas .sw-faq__icon,
.sw-section .sw-faq__icon { background: #fff; }

/* Team: four pastel poster cards, all visible at once. Giant condensed
   first name on top, portrait, then role pill and bio. Even cards sit lower on wide
   screens for a staggered, editorial rhythm.
   Markup: .sw-team > article.sw-team__card(style="--tone: var(--sw-…)") */
.sw-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sw-s-3);
  align-items: start;
  counter-reset: team;
  padding-bottom: 56px;
}

.sw-team__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
  border-radius: var(--sw-r-lg);
  background: var(--tone, var(--sw-peach));
  transition: transform 0.4s var(--sw-ease);
}

.sw-team__card:nth-child(even) { margin-top: 56px; }

.sw-team__card::before {
  counter-increment: team;
  content: counter(team, decimal-leading-zero);
  font-size: var(--sw-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sw-ink-2);
}

.sw-team__name {
  display: flex;
  flex-direction: column;
  margin: 10px 0 18px;
  font-weight: inherit;
}

.sw-team__first {
  font-family: var(--sw-font-display);
  font-weight: 800;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  text-transform: uppercase;
  font-size: clamp(52px, 5vw, 72px);
  line-height: 0.84;
  letter-spacing: var(--sw-track-display);
  color: var(--sw-ink);
}

.sw-team__last {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--sw-ink-2);
}

.sw-team__photo {
  position: relative;
  aspect-ratio: 4 / 5;
}

.sw-team__photo > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--sw-r-md);
  box-shadow: var(--sw-shadow-card);
  transition: transform 0.6s var(--sw-ease);
}

.sw-team__role {
  align-self: flex-start;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: var(--sw-r-pill);
  background: var(--sw-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.sw-team__bio {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--sw-ink);
  text-wrap: pretty;
}

@media (hover: hover) {
  .sw-team__card:hover { transform: translateY(-6px); }
  .sw-team__card:hover .sw-team__photo > img:first-child { transform: scale(1.02); }
}

@media (max-width: 1080px) {
  .sw-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
}

@media (max-width: 560px) {
  .sw-team { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .sw-team__card:nth-child(even) { margin-top: 0; }
  .sw-team__photo { aspect-ratio: 1; }
}

@media (prefers-reduced-motion: reduce) {
  
  .sw-team__card,
  .sw-team__photo > img:first-child { transition: none; }
}

/* 7. Site chrome ----------------------------------------------------- */

/* Header: sticky, frosted canvas, links grouped in a white pill. */
.sw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 242, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.sw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.sw-header .logo-img {
  height: 30px;
  width: auto;
}

.sw-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--sw-r-pill);
  background: #fff;
  border: 1px solid var(--sw-line-subtle);
}

.sw-nav a {
  padding: 8px 14px;
  border-radius: var(--sw-r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--sw-ink-2);
  transition: background var(--sw-fast) ease, color var(--sw-fast) ease;
}

.sw-nav a:hover { background: var(--sw-canvas); color: var(--sw-ink); }
.sw-nav a[aria-current="page"] { color: var(--sw-ink); background: var(--sw-canvas); }

.sw-nav .sw-nav__mobile { display: none; }

.sw-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--sw-line-subtle);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sw-menu span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--sw-ink);
  border-radius: 2px;
  transition: transform var(--sw-fast) ease, opacity var(--sw-fast) ease;
}

.sw-menu span + span { margin-top: 4px; }
.sw-menu.is-active span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.sw-menu.is-active span:nth-child(2) { opacity: 0; }
.sw-menu.is-active span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* Footer: dark inset panel with an oversized logo. */
.sw-footer {
  margin: var(--sw-gutter);
  padding: clamp(56px, 7vw, 88px) 0 0;
  border-radius: var(--sw-r-lg);
  background: var(--sw-ink);
  color: #fff;
  overflow: hidden;
}

.sw-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.sw-footer__tagline {
  max-width: 34ch;
  font-size: var(--sw-body-l);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.sw-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.sw-footer__cta .arrow { color: var(--sw-orange); transition: transform var(--sw-fast) var(--sw-ease); }
.sw-footer__cta:hover .arrow { transform: translateX(4px); }

.sw-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sw-footer__heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.sw-footer__links li + li { margin-top: 8px; }

.sw-footer__links a,
.sw-footer__links li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.sw-footer__links a:hover { color: var(--sw-orange); }

.sw-footer__mark {
  margin-top: clamp(56px, 7vw, 96px);
  padding: 0 var(--sw-s-5);
}

.sw-footer__mark img {
  width: 100%;
  max-width: none;
  height: auto;
  opacity: 0.98;
}

.sw-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* 8. Page sections — home ------------------------------------------- */

/* Hero */
.sw-hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
  isolation: isolate;
}

.sw-hero .sw-pill { margin-bottom: 26px; }

.sw-hero__title { max-width: 1120px; margin: 0 auto; }

.sw-hero .sw-lede {
  margin-top: 28px;
  max-width: 54ch;
}

.sw-hero .sw-actions { margin-top: 32px; }
.sw-hero .sw-checks { margin-top: 28px; }

/* Hero video: home-hero.mp4 is pre-cropped to the photo (754x408). */
.sw-hero__media {
  width: calc(100% - 48px);
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 754 / 408;
  box-shadow: var(--sw-shadow-pop);
}

.sw-hero__media + .sw-panel { margin-top: clamp(56px, 8vw, 112px); }

/* Services */
.sw-svc .sw-card__foot .sw-meta { color: var(--sw-ink); }
.sw-svc .sw-card__foot a.sw-meta:hover { color: var(--sw-orange-deep); }
.sw-svc .sw-card__text { margin-bottom: 2px; }

.sw-svc-all {
  justify-content: space-between;
  min-height: 220px;
  background: var(--sw-ink);
  border-color: var(--sw-ink);
  color: #fff;
  overflow: hidden;
}

.sw-svc-all .sw-display { font-size: clamp(40px, 4.4vw, 56px); max-width: 6ch; }
.sw-svc-all .arrow-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sw-orange);
  color: var(--sw-ink);
  font-size: 20px;
  transition: transform var(--sw-fast) var(--sw-ease);
}

.sw-svc-all:hover .arrow-badge { transform: rotate(-45deg); }

.sw-svc-all > *:not(img) { position: relative; z-index: 1; }

/* About */
.sw-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
}

.sw-about__media { aspect-ratio: 4 / 3; }

.sw-about__rows-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sw-ink);
  font-weight: 600;
  font-size: var(--sw-small);
}

.sw-about__rows-label .arrow { color: var(--sw-orange); font-size: 18px; }

/* Works */
.sw-work {
  padding: 10px;
}

.sw-work__img {
  border-radius: var(--sw-r-sm);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sw-canvas);
}

.sw-work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--sw-ease);
}

.sw-work:hover .sw-work__img img { transform: scale(1.04); }

.sw-work__meta { padding: 16px 8px 8px; }
.sw-work__meta .sw-card__title { margin-bottom: 6px; }

/* Testimonial */
.sw-quote {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.sw-quote blockquote {
  margin-top: 28px;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.sw-quote__author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  text-align: left;
}

.sw-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sw-butter);
  color: var(--sw-ink);
  font-size: 14px;
  font-weight: 700;
}

.sw-quote__name { display: block; font-weight: 600; font-size: 15px; }
.sw-quote__loc { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* Blog */
.sw-post { padding: 10px; }

.sw-post__img {
  aspect-ratio: 16 / 9;
  border-radius: var(--sw-r-sm);
  overflow: hidden;
  background: var(--sw-canvas);
}

.sw-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--sw-ease); }
.sw-post:hover .sw-post__img img { transform: scale(1.04); }

.sw-post__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 8px 8px;
}

.sw-post__body .sw-card__title { margin-bottom: 18px; }
.sw-post .sw-card__foot { padding-top: 14px; }
.sw-post .arrow { color: var(--sw-ink); transition: transform var(--sw-fast) var(--sw-ease); }
.sw-post:hover .arrow { transform: translate(2px, -2px); color: var(--sw-orange); }

/* Closing CTA */
.sw-cta { text-align: center; }
.sw-cta .sw-display { max-width: 15ch; margin: 0 auto; }
.sw-cta .sw-lede { color: var(--sw-ink); opacity: 0.82; margin: 24px auto 0; }
.sw-cta .sw-actions { margin-top: 32px; justify-content: center; }

.sw-contact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.sw-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--sw-r-pill);
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  color: var(--sw-ink);
  transition: background var(--sw-fast) ease;
}

.sw-chip svg { width: 16px; height: 16px; color: var(--sw-orange-deep); }
a.sw-chip:hover { background: #fff; }

/* 9. Motion ---------------------------------------------------------- */
.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--sw-slow) var(--sw-ease), transform var(--sw-slow) var(--sw-ease);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.has-js .sw-hero [data-enter] {
  opacity: 0;
  transform: translateY(18px);
  animation: sw-enter 0.9s var(--sw-ease) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}

@keyframes sw-enter {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  
  .has-js .sw-hero [data-enter] { animation: none; opacity: 1; transform: none; }
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .sw-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-cols { --cols: 2 !important; }
  .sw-cols__item:nth-child(odd) { border-left: 0; }
  .sw-cols__item:nth-child(n + 3) { border-top: 1px solid var(--sw-line); }
  .sw-about__grid { grid-template-columns: 1fr; }
  .sw-faq { grid-template-columns: 1fr; }
  .sw-faq__head { position: static; }
  .sw-about__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .sw-head--wide { display: block; }
  .sw-head--wide > :not(.sw-pill):not(h2) { margin-top: 24px; }
  .sw-feature,
  .sw-feature--reverse { grid-template-columns: 1fr; }
  .sw-feature--reverse > .sw-head { order: 0; }
  .sw-nav,
  .sw-header__actions .sw-btn--secondary { display: none; }
  .sw-menu { display: flex; }

  /* Mobile menu: the nav pill becomes a dropdown sheet */
  .sw-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: var(--sw-r-lg);
    box-shadow: var(--sw-shadow-pop);
    animation: sw-enter 0.25s var(--sw-ease);
  }

  .sw-nav.is-open a { padding: 14px 16px; font-size: 16px; border-radius: var(--sw-r-md); }
  .sw-nav.is-open .sw-nav__mobile { display: block; }
  .sw-nav.is-open .sw-btn { display: flex; margin-top: 6px; min-height: 50px; color: #fff; }
  .sw-nav.is-open .sw-btn:hover { color: var(--sw-ink); }
}

@media (max-width: 640px) {
  :root { --sw-gutter: 8px; }
  .sw-container { padding: 0 20px; }
  .sw-card-grid { grid-template-columns: 1fr; }
  .sw-cols { --cols: 1 !important; }
  .sw-cols__item + .sw-cols__item { border-left: 0; border-top: 1px solid var(--sw-line); }
  .sw-cols__item .sw-icon { margin-bottom: 24px; }
  .sw-row { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .sw-row__num { font-size: 40px; }
  .sw-hero__media { width: calc(100% - 40px); }
  .sw-footer__top { flex-direction: column; }
  .sw-footer__cols { grid-template-columns: 1fr 1fr; }
  .sw-footer__cols > :last-child { grid-column: 1 / -1; }
  .sw-footer__bottom { flex-direction: column; }
  .sw-header .logo-img { height: 26px; }
  
  
  
  .sw-actions .sw-btn { flex: 1 1 auto; }
  
  
  
  
  
  
}
