/* Valkyrja Labs — studio site */

:root {
  /* Light */
  --crimson: #801f2e;            /* the logo red */
  --crimson-hover: #661824;
  --ink: #202428;
  --ink-2: #4a5056;
  --paper: #f7f6f3;
  --paper-2: #efede8;
  --line: #dedbd4;
  --mist: #e6e7e8;

  /* Dark */
  --crimson-bright: #b52a3c;     /* the logo red, lifted just enough to read on dark (no pink cast) */
  --night: #111315;
  --night-2: #181b1e;
  --night-line: #2a2e33;
  --warm-white: #f1f0ed;
  --warm-white-2: #b9b7b2;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible { outline-color: var(--warm-white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .85rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 1.25rem;
}
/* Spear rule — echoes the spear in the wordmark */
.eyebrow::before {
  content: ""; flex: 0 0 auto; width: 2.75rem; height: 7px;
  background:
    linear-gradient(currentColor, currentColor) left center / calc(100% - 7px) 1.5px no-repeat,
    conic-gradient(from -135deg at 100% 50%, currentColor 90deg, transparent 0) right center / 7px 7px no-repeat;
}
.eyebrow--dark { color: var(--crimson-bright); }

.hero__title, .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: inherit;
}
.hero__title span, .section-title > span { display: block; }
.accent { color: var(--crimson); }
.section--dark .accent, .charge .accent, .apps-hero .accent { color: var(--crimson-bright); }

.section-title { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.25rem); }
.section-lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 38rem; }
.section--dark .section-lede { color: var(--warm-white-2); }

/* ---------- Buttons / links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.875rem; padding: .7rem 1.4rem;
  border: 0; border-radius: 999px;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.button--primary { background: var(--crimson); color: #fff; }
.button--primary:hover { background: var(--crimson-hover); }
.button:active { transform: translateY(1px); }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link span { transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgb(247 246 243 / .88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), 84rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-header__logo { display: block; flex: 0 0 auto; }
.site-header__logo img { height: 2.75rem; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink);
  padding-block: .4rem; background: linear-gradient(var(--crimson), var(--crimson)) left bottom / 0 1.5px no-repeat;
  transition: background-size .25s var(--ease);
}
.site-nav ul a:hover { background-size: 100% 1.5px; }

.nav-toggle { display: none; }

@media (max-width: 759px) {
  :root { --header-h: 4rem; }
  .site-header__logo img { height: 2rem; }

  .nav-toggle {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
    background: none; border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--paper); box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgb(0 0 0 / .25);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); background: none; }
  .site-nav__cta { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(38rem, 92svh, 58rem);
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 2rem) 4rem;
  background: var(--mist);
  isolation: isolate;
  overflow: hidden;
}
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* Keep the left side quiet for the copy */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(238 239 240 / .9) 0%, rgb(238 239 240 / .72) 30%, rgb(238 239 240 / 0) 56%),
    linear-gradient(180deg, rgb(238 239 240 / .55) 0%, rgb(238 239 240 / 0) 22%);
}
.hero__content { max-width: var(--container); }
.hero__content > * { max-width: 34rem; }
.hero__content > .hero__title { max-width: none; }
.hero__title { font-size: clamp(2.9rem, 1.5rem + 4.4vw, 5.5rem); margin-bottom: 1.5rem; }
.hero__lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #33393f; margin-bottom: 2.25rem; max-width: 31rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }

@media (max-width: 1023px) and (min-width: 760px) {
  .hero__art img { object-position: 74% 50%; }
  .hero::before {
    background: linear-gradient(90deg, rgb(238 239 240 / .94) 0%, rgb(238 239 240 / .8) 42%, rgb(238 239 240 / 0) 72%);
  }
}

/* Mobile: copy on the mist, art below it, cropped on the Valkyrie */
@media (max-width: 759px) {
  .hero {
    flex-direction: column; align-items: stretch;
    min-height: auto;
    padding: calc(var(--header-h) + 2.25rem) 0 0;
    background: linear-gradient(180deg, #ecedee 0%, var(--mist) 100%);
  }
  .hero::before { display: none; }
  .hero__content { width: auto; margin: 0; padding: 2rem var(--gutter) 3.5rem; }
  .hero__art { position: relative; inset: auto; z-index: 0; margin-top: 1.5rem; }
  .hero__art img {
    aspect-ratio: 900 / 667; height: auto; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem); }
.section--dark { background: var(--night); color: var(--warm-white); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.section-head .section-title { margin-bottom: 1.25rem; }
.section-head--split { display: grid; gap: 1.5rem 4rem; align-items: end; }
.section-head--split .section-title { margin-bottom: 0; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr 1fr; } }

/* ---------- Products ---------- */
.products { background: linear-gradient(180deg, #131518 0%, var(--night) 100%); }
.product-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.product article {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(26rem, 22rem + 9vw, 32rem);
  height: 100%;   /* every card in a row matches the tallest */
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / .08);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product article:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgb(0 0 0 / .75); }
.product__bg { position: absolute; inset: 0; z-index: -2; }
.product__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product article:hover .product__bg img { transform: scale(1.04); }
.product article::before { content: ""; position: absolute; inset: 0; z-index: -1; }

.product__kind {
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  opacity: .75; margin-bottom: 1.1rem;
}
/* All three logos get the same width, so none looks bigger than the others */
.product__logo img { width: min(100%, 13.5rem); height: auto; }
/* Status: a quiet label above the logo, in each product's accent colour */
.product__status {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.product__status { flex-wrap: wrap; white-space: nowrap; }
.product__cat { flex-basis: 100%; margin-top: .3rem; color: rgb(255 255 255 / .6); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.product__desc { font-size: 1.05rem; line-height: 1.55; margin-bottom: 1.5rem; max-width: 26rem; }
.product__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 3px; border-bottom: 1.5px solid currentColor;
}
.product__cta span { transition: transform .2s var(--ease); }
.product__cta:hover span { transform: translateX(4px); }

/* Skald — warm, candlelit, antique gold */
.product--skald article { background: #0f0b08; color: #f4ead6; }
.product--skald .product__bg img { object-position: 22% 60%; filter: brightness(1.12) contrast(1.12) saturate(1.2); }
/* Dark only where the logo and text sit; the candlelit hall shows through in between */
.product--skald article::before {
  background: linear-gradient(180deg, rgb(15 11 8 / .7) 0%, rgb(15 11 8 / 0) 26%, rgb(15 11 8 / 0) 48%, rgb(15 11 8 / .94) 80%);
}
.product--skald .product__kind { color: #d7b56d; }
.product--skald .product__status { color: #e8c161; }
.product--skald .product__cta { color: #e8c161; }

/* Saipher — navy telemetry, cyan with restrained orange */
/* Saipher's own logo colours as soft glows: orange low left, cyan high right */
.product--saipher article {
  background:
    radial-gradient(70% 50% at 0% 85%, rgb(255 106 0 / .38), transparent 70%),
    radial-gradient(65% 50% at 100% 25%, rgb(0 195 220 / .34), transparent 70%),
    #00102e;
  color: #eef4ff;
}
.product--saipher .product__bg { opacity: .9; mix-blend-mode: screen; }
/* The official Saipher mark, large and faint, behind everything */
.product__mark {
  position: absolute; z-index: -2; right: -12%; top: 18%; width: 62%; height: auto;
  opacity: .2; pointer-events: none; transition: transform 1.2s var(--ease), opacity .6s;
}
.product--saipher article:hover .product__mark { transform: translateY(-6px) scale(1.03); opacity: .2; }
/* Lift the network field from the bottom of the art into the middle of the card */
.product--saipher .product__bg { inset: auto 0 22% 0; height: 130%; }
.product--saipher .product__bg img { object-position: 50% 100%; }
.product--saipher article::before { background: linear-gradient(180deg, rgb(0 16 46 / 0) 40%, rgb(0 12 36 / .85) 85%); }
.product--saipher .product__kind { color: #12bbd3; }
.product--saipher .product__status { color: #ff8a3d; }
.product--saipher .product__cta { color: #2fd3ea; }

/* Retreev — recruiting workspace in navy, orange accent */
.product--retreev article { background: radial-gradient(120% 80% at 80% 40%, #163452 0%, #0b2338 60%); color: #f3f6fa; }

.product--retreev .product__kind { color: #f0b37a; }
.product--retreev .product__status { color: #f0b37a; }
.product--retreev .product__cta { color: #f0b37a; }
/* Retreev: the screenshots get their own space between logo and text, so they can never overlap it */
.product__top { order: 0; }
.product__shots {
  order: 1; position: relative; flex: 1; min-height: 9rem; margin: 1.25rem 0 1rem; pointer-events: none;
}
.product__body { order: 2; }
.shot { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -16px rgb(0 0 0 / .65); border: 1px solid rgb(255 255 255 / .12); }
.shot img { width: 100%; }
/* Both screenshots stay fully inside the card */
.shot--back { width: 62%; right: 0; top: 0; transform: rotate(3deg); opacity: .85; }
.shot--front { width: 76%; left: 0; top: 16%; transform: rotate(-3deg); transition: transform .8s var(--ease); }
/* Fade the bottom of the screenshots into the card */
.product__shots { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.product--retreev article:hover .shot--front { transform: rotate(-2deg) translateY(-6px); }
/* Skald: two real app screens standing in phones */
.product__shots--skald .phone { width: 40%; bottom: auto; transition: transform .8s var(--ease); }
.product__shots--skald .phone--back { right: 4%; left: auto; top: 0; transform: rotate(6deg); opacity: .92; }
.product__shots--skald .phone--front { left: 6%; right: auto; top: 10%; transform: rotate(-4deg); }
.product--skald article:hover .phone--front { transform: rotate(-3deg) translateY(-6px); }
/* Saipher: dashboard screens */
.product__shots--saipher .shot--front { width: 92%; left: 0; top: 22%; }
.product__shots--saipher .shot--back { width: 72%; right: 0; top: 0; }
.product--saipher article:hover .shot--front { transform: rotate(-2deg) translateY(-6px); }

@media (max-width: 1023px) {
  .product article { min-height: clamp(26rem, 60vw + 8rem, 34rem); }
  .product__shots { min-height: 14rem; }
  .shot--front { width: 62%; }
  .shot--back { width: 50%; }
}
@media (max-width: 559px) {
  .product__shots { min-height: 52vw; }
  .shot--front { width: 80%; }
  .shot--back { width: 64%; }
}

/* ---------- Work ---------- */
.work { background: var(--paper); }
.work-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) 2.5rem; }
@media (min-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }

/* Cards are equal height, so frames, titles and links line up across the row */
.work-item article { display: flex; flex-direction: column; height: 100%; }
.work-item__meta { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.work-item__meta .text-link { margin-top: auto; }

/* Desktop browser frame with the phone view overlapping its lower-right corner */
.showcase { position: relative; margin: 0 0 2.25rem; padding: 0 9% 8% 0; }
.browser {
  border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 30px 60px -36px rgb(32 36 40 / .45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-item article:hover .browser { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 40px 70px -36px rgb(32 36 40 / .55); }
.browser__viewport { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
/* Hovering (or tabbing to the card's link) slowly scrolls the whole page inside the frame */
.browser__viewport img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  transition: object-position 1.2s var(--ease);
}
.work-item article:hover .browser__viewport img,
.work-item article:focus-within .browser__viewport img {
  object-position: 50% 100%;
  transition: object-position 10s cubic-bezier(.45, 0, .55, 1);
}
/* A modern phone: thin black bezel, slim metal edge, camera island and side buttons */
.phone {
  position: absolute; right: 0; bottom: 0; width: 22%;
  padding: .3rem; border-radius: 1.05rem; background: #0b0c0e;
  box-shadow:
    0 0 0 1.5px #5b5f66,                       /* metal edge */
    0 0 0 2.5px #2a2c30,
    0 26px 44px -18px rgb(17 19 21 / .55);
  transition: transform .4s var(--ease);
}
.phone::before {                               /* camera island */
  content: ""; position: absolute; z-index: 1; top: .62rem; left: 50%; translate: -50% 0;
  width: 30%; height: .52rem; border-radius: 999px; background: #0b0c0e;
}
.phone::after {                                /* side buttons */
  content: ""; position: absolute; right: -4px; top: 24%; width: 2px; height: 14%;
  border-radius: 0 2px 2px 0; background: #4a4e55;
  box-shadow: -1px 0 0 #2a2c30;
}
.work-item article:hover .phone { transform: translateY(-8px); }
/* The top strip is a status bar in the site's own colour, so the camera island never covers the page */
.phone img {
  width: 100%; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; border-radius: .8rem;
  box-sizing: border-box; padding-top: 1.35rem; background: var(--screen, #fff);
}
@media (max-width: 559px) {
  .phone { padding: .22rem; border-radius: .75rem; }
  .phone img { border-radius: .55rem; padding-top: .9rem; }
  .phone::before { top: .4rem; height: .36rem; }
}
.browser__bar {
  display: flex; align-items: center; gap: 6px;
  height: 2.1rem; padding-inline: .9rem; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: #cfcac1; }
.browser__bar em {
  margin-left: .75rem; font-style: normal; font-size: .75rem; color: var(--ink-2);
  background: #fff; border-radius: 6px; padding: .1rem .7rem; border: 1px solid var(--line);
}


.work-item__kind { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); margin-bottom: .5rem; }
.work-item__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.1; margin-bottom: .75rem; }
.work-item__meta > p:not(.work-item__kind) { color: var(--ink-2); margin-bottom: 1.1rem; max-width: 34rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.tags li { font-size: .78rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2); }

.services {
  display: grid; gap: 2rem;
  margin-top: clamp(4rem, 3rem + 4vw, 6rem); padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.services h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin-bottom: .5rem; }
.services p { color: var(--ink-2); }

/* ---------- About ---------- */
.about { position: relative; isolation: isolate; overflow: hidden; }
/* Line-art textures (single-colour SVGs used as masks; colour comes from background-color) */
.about__texture {
  position: absolute; inset: auto 0 0 0; height: min(75%, 34rem); z-index: -1;
  background-color: var(--warm-white); opacity: .085;
  -webkit-mask: url("/assets/texture/ridgelines.svg") center bottom / cover no-repeat;
  mask: url("/assets/texture/ridgelines.svg") center bottom / cover no-repeat;
}
/* Contours fade in from the top of their section, so they never start on a hard line */
.about__texture--contours {
  inset: 0; height: auto; opacity: .07;
  -webkit-mask: url("/assets/texture/contours.svg") right center / cover no-repeat, linear-gradient(180deg, transparent 0, #000 22rem);
  -webkit-mask-composite: source-in;
  mask: url("/assets/texture/contours.svg") right center / cover no-repeat, linear-gradient(180deg, transparent 0, #000 22rem);
  mask-composite: intersect;
}
.page-banner img { width: 100%; height: clamp(16rem, 33vw, 34rem); object-fit: cover; object-position: 68% 55%; }
@media (max-width: 759px) { .page-banner img { height: auto; aspect-ratio: 965 / 724; } }
.about__inner { display: grid; gap: 0 5rem; }
@media (min-width: 900px) {
  .about__inner { grid-template-columns: 1fr 1fr; align-items: end; }
  .about .section-head { margin-bottom: 0; }
}
.about__copy p + p { margin-top: 1.1rem; color: var(--warm-white-2); }
.about__copy .section-lede { color: var(--warm-white); }

.principles {
  grid-column: 1 / -1;
  display: grid; gap: 2rem 2.5rem;
  margin-top: clamp(3.5rem, 3rem + 3vw, 5.5rem);
  counter-reset: p;
}
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles li { counter-increment: p; padding-top: 1.4rem; border-top: 1px solid var(--night-line); position: relative; }
.principles li::before {
  content: counter(p, decimal-leading-zero);
  position: absolute; top: -1px; left: 0; padding-top: .45rem;
  border-top: 2px solid var(--crimson-bright); width: 2.5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--crimson-bright);
}
.principles h3 {
  margin-top: 1rem; margin-bottom: .5rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.principles p { color: var(--warm-white-2); font-size: 1rem; }

/* ---------- Call-to-action band (Valkyrie charge) ---------- */
/* The whole painting is shown, never cropped: the band takes the image's own 3:1 shape. */
.charge {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--night); color: var(--warm-white);
}
.charge__art { position: relative; }
.charge__art img { width: 100%; height: auto; aspect-ratio: 2171 / 724; }
/* Blend the top edge into the dark About section above */
.charge__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--night) 0%, rgb(17 19 21 / 0) 10%, rgb(17 19 21 / 0) 70%, var(--night) 100%);
}
.charge__content { padding-block: 0 4rem; margin-top: -1rem; position: relative; z-index: 1; }
.charge .section-title { margin-bottom: 1.25rem; }
.charge__lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #d9d6d0; margin-bottom: 2rem; max-width: 30rem; }

/* Wider screens: headline on the left, line + button on the right, beneath the painting */
@media (min-width: 900px) {
  .charge__art::after { background: linear-gradient(180deg, var(--night) 0%, rgb(17 19 21 / 0) 10%, rgb(17 19 21 / 0) 82%, var(--night) 100%); }
  .charge__content { margin-top: 0; padding-block: 2.5rem 5rem; }
  .charge__copy {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 4rem; align-items: end;
  }
  .charge__copy .eyebrow { grid-column: 1 / -1; }
  .charge .section-title { margin-bottom: 0; grid-row: 2; }
  .charge__actions { grid-row: 2; }
}

/* Phones: the dedicated crop centred on the Valkyrie */
@media (max-width: 759px) {
  .charge__art img { aspect-ratio: 1086 / 724; }
  .charge__art::after { background: linear-gradient(180deg, var(--night) 0%, rgb(17 19 21 / 0) 12%, rgb(17 19 21 / 0) 60%, var(--night) 100%); }
  .charge__content { padding-bottom: 3.5rem; margin-top: -1.25rem; }
}

/* When the Valkyrie band runs straight into the apps: less dead space, same background,
   and a hairline so the apps clearly start a new section */
.charge + .products, .charge + .apps-strip, .charge + .section--dark { background: var(--night); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.charge + .products > .container, .charge + .apps-strip > .container, .charge + .section--dark > .container { position: relative; padding-top: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--night-line); }
@media (min-width: 900px) { .charge__content { padding-bottom: 3.5rem; } }
.products + .about, .apps-strip + .about { padding-top: 0; }
.products + .about > .about__inner, .apps-strip + .about > .about__inner { padding-top: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--night-line); }

/* ---------- 'More apps on the horizon' card (end of the apps grid) ---------- */
.horizon {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 1.5rem;
  min-height: clamp(15rem, 20vw, 19rem); display: flex; align-items: center;
  border-radius: var(--radius); border: 1px solid rgb(255 255 255 / .08);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); color: var(--warm-white);
}
.horizon__art { position: absolute; inset: 0; z-index: -2; }
.horizon__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; }
.horizon::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(17 19 21 / .94) 0%, rgb(17 19 21 / .8) 30%, rgb(17 19 21 / .15) 62%, rgb(17 19 21 / 0) 80%);
}
.horizon__copy { padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); max-width: 38rem; }
.horizon .product__status { color: #e8c161; }
.horizon__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1.05; margin-bottom: .6rem; }
.horizon .accent { color: var(--crimson-bright); }
.horizon__copy > p:last-child { color: var(--warm-white-2); }
@media (max-width: 759px) {
  .horizon { align-items: flex-end; min-height: 26rem; }
  .horizon__art img { object-position: 50% 40%; }
  .horizon::before { background: linear-gradient(180deg, rgb(17 19 21 / 0) 30%, rgb(17 19 21 / .92) 72%); }
}

/* ---------- Apps page ---------- */
.apps-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(30rem, 62svh, 44rem); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(8rem, 6rem + 6vw, 12rem);
  background: var(--night); color: var(--warm-white);
}
.apps-hero__art { position: absolute; inset: 0; z-index: -2; }
.apps-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.apps-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(17 19 21 / .9) 0%, rgb(17 19 21 / .7) 34%, rgb(17 19 21 / 0) 64%),
    linear-gradient(180deg, rgb(17 19 21 / .55) 0%, rgb(17 19 21 / 0) 25%, rgb(17 19 21 / 0) 70%, var(--night) 100%);
}
.apps-hero__copy > * { max-width: 42rem; }
.apps-hero .eyebrow { color: var(--warm-white); }
.apps-hero .eyebrow::before { color: var(--crimson-bright); }
.apps-hero .section-title { margin-bottom: 1.25rem; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.75rem); }
.apps-hero .section-lede { color: #d9d6d0; }
@media (max-width: 759px) {
  .apps-hero { min-height: 36rem; }
  .apps-hero__art img { object-position: 62% 50%; }
  .apps-hero::before { background: linear-gradient(180deg, rgb(17 19 21 / .4) 0%, rgb(17 19 21 / 0) 30%, rgb(17 19 21 / .85) 62%, var(--night) 100%); }
}
/* The cards rise into the bottom of the painting; the section fades from transparent to night, and
   the contour texture fades in rather than starting on a hard line. */
.products--page {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(-9rem, -5rem - 4vw, -6rem); padding-top: 0;
  background: linear-gradient(180deg, rgb(17 19 21 / 0) 0, var(--night) clamp(6rem, 5rem + 4vw, 9rem));
}
.products--page .about__texture--contours {
  -webkit-mask: url("/assets/texture/contours.svg") right center / cover no-repeat, linear-gradient(180deg, transparent 10rem, #000 30rem);
  -webkit-mask-composite: source-in;
  mask: url("/assets/texture/contours.svg") right center / cover no-repeat, linear-gradient(180deg, transparent 10rem, #000 30rem);
  mask-composite: intersect;
}
.horizon-note { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; color: var(--warm-white-2); }
.horizon-note .dot { color: #e8c161; }
.horizon-note strong { color: var(--warm-white); }

/* ---------- Homepage apps strip ---------- */
.apps-strip__inner { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 1000px) { .apps-strip__inner { grid-template-columns: 1fr 1.5fr; } }
.apps-strip .section-title { margin-bottom: 1rem; }
.apps-strip .section-lede { margin-bottom: 1.25rem; }
.app-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.app-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 9.5rem; padding: 1.4rem; border-radius: var(--radius); text-decoration: none;
  border: 1px solid rgb(255 255 255 / .08); color: rgb(255 255 255 / .6);
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: transform .3s var(--ease), border-color .3s;
}
.app-tile:hover { transform: translateY(-4px); border-color: rgb(255 255 255 / .2); }
.app-tile img { width: 100%; max-width: 11rem; height: auto; }
.app-tile--skald { background: linear-gradient(160deg, #2a1d10, #0f0b08 70%); }
.app-tile--saipher { background: radial-gradient(80% 70% at 100% 0%, rgb(0 195 220 / .25), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgb(255 106 0 / .22), transparent 70%), #00102e; }
.app-tile--retreev { background: radial-gradient(120% 80% at 80% 20%, #163452 0%, #0b2338 60%); }

/* ---------- Homepage (studio redesign) ---------- */

.m-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.02; }
.m-tag { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); margin-bottom: .6rem; }
.m-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.m-head .eyebrow { flex-basis: 100%; margin-bottom: .25rem; }

/* 2. Proof strip */
.m-proof { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.m-proof__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 2rem; padding-block: 1.6rem; }
.m-proof__list li { font-size: .9rem; color: var(--ink-2); }
.m-proof__list strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }

/* 3. Selected work: one large case + two smaller */
.m-work { background: var(--paper); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.m-work__grid { display: grid; gap: 1.5rem; }
@media (min-width: 960px) {
  .m-work__grid { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; }
  .m-case--feature { grid-row: span 2; }
}
.m-case {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.m-case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgb(32 36 40 / .5); }
.m-case__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fcfaf6; }
.m-case--feature .m-case__shot { aspect-ratio: 16 / 11; }
.m-case__shot--navy { background: #0b2338; }
.m-case__shot > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 8s cubic-bezier(.45,0,.55,1); }
.m-case:hover .m-case__shot > img:first-child { object-position: 50% 100%; }
.m-case__phone { position: absolute; right: 5%; bottom: -18%; width: 20%; border-radius: .8rem; border: .28rem solid #0b0c0e; box-shadow: 0 20px 40px -16px rgb(0 0 0 / .5); }
.m-case__meta { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; flex: 1; }
.m-case__meta h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.1; }
.m-case__meta > p:not(.m-tag) { color: var(--ink-2); }
.m-case__meta .text-link { margin-top: auto; padding-top: .5rem; }
.m-case--open { background: var(--paper-2); border-style: dashed; justify-content: center; }
.m-case--open .button { margin-top: .75rem; }

/* 4. Services: numbered list on charcoal */
.m-services { background: var(--ink); color: var(--warm-white); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.m-services__inner { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 900px) { .m-services__inner { grid-template-columns: 1fr 1.6fr; } }
.m-services__list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid rgb(255 255 255 / .12); }
.m-services__list li:last-child { border-bottom: 1px solid rgb(255 255 255 / .12); }
.m-num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--crimson-bright); }
.m-services__list h3 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; margin-bottom: .35rem; }
.m-services__list p { color: var(--warm-white-2); }

/* 5. Statement over painting #2 */
.m-statement { position: relative; isolation: isolate; background: var(--night); }
.m-statement__art img { width: 100%; height: clamp(22rem, 42vw, 40rem); object-fit: cover; object-position: 35% 35%; }
.m-statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(17 19 21 / .85) 0%, rgb(17 19 21 / .2) 55%, rgb(17 19 21 / .1) 100%); }
.m-statement__text {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(2rem, 4vw, 4rem);
  font-family: var(--font-display); font-weight: 700; color: #fff; line-height: 1.05;
  font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); text-shadow: 0 2px 30px rgb(0 0 0 / .5);
}
.m-statement .accent { color: var(--crimson-bright); }

/* 6. Process timeline */
.m-process { background: var(--paper); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.m-timeline { display: grid; gap: 2rem; position: relative; }
@media (min-width: 900px) {
  .m-timeline { grid-template-columns: repeat(4, 1fr); }
  .m-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; height: 2px; background: var(--line); }
}
.m-timeline li { position: relative; }
.m-dot { display: block; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--crimson); margin-bottom: 1.25rem; position: relative; }
.m-timeline h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .35rem; }
.m-timeline p { color: var(--ink-2); }

/* 7. Apps bento */
.m-apps { background: var(--night); color: var(--warm-white); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.m-bento { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .m-bento { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; }
  .m-tile--skald { grid-row: span 2; }
  .m-tile--next { grid-column: span 2; }
}
.m-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem; border-radius: var(--radius); text-decoration: none; color: inherit;
  border: 1px solid rgb(255 255 255 / .08); transition: transform .35s var(--ease);
}
a.m-tile:hover { transform: translateY(-4px); }
.m-tile .m-tag { color: rgb(255 255 255 / .6); margin: 0; }
.m-tile__logo { width: min(100%, 12rem); height: auto; }
.m-tile__shot { width: 100%; border-radius: .6rem; margin-top: auto; box-shadow: 0 20px 40px -16px rgb(0 0 0 / .6); }
.m-tile--skald { background: linear-gradient(170deg, #2a1d10, #0f0b08 70%); }
.m-tile--skald p:not(.m-tag) { color: #c3b198; }
.m-tile__phones { display: flex; gap: 1rem; margin-top: auto; justify-content: center; }
.m-tile__phones img { width: 42%; border-radius: .9rem; border: .3rem solid #0b0c0e; box-shadow: 0 0 0 1.5px #5b5f66, 0 24px 40px -18px rgb(0 0 0 / .7); }
.m-tile__phones img:last-child { transform: translateY(1.5rem) rotate(3deg); }
.m-tile__phones img:first-child { transform: rotate(-3deg); }
.m-tile--saipher { background: radial-gradient(80% 70% at 100% 0%, rgb(0 195 220 / .25), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgb(255 106 0 / .2), transparent 70%), #00102e; }
.m-tile--retreev { background: radial-gradient(120% 80% at 80% 20%, #163452 0%, #0b2338 60%); }
.m-tile--next { justify-content: center; background: transparent; border-style: dashed; border-color: rgb(255 255 255 / .2); }
.m-tile__big { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }

/* 8. Testimonial on burgundy */
.m-quote { background: var(--crimson); color: #fff; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); text-align: center; }
.m-quote blockquote { margin: 0 auto 1.25rem; max-width: 46rem; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.2; }
.m-quote blockquote { font-style: italic; }
.m-quote figcaption { color: rgb(255 255 255 / .75); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.m-quote figcaption span { color: #fff; }
.m-quote__rune { font-size: 1.1rem; letter-spacing: .6em; color: rgb(255 255 255 / .45); margin-bottom: 1.5rem; }

/* 9. FAQ */
.m-faq { background: var(--paper); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }

/* 10. Closing CTA over painting #3 */
.m-close { position: relative; isolation: isolate; background: var(--night); color: var(--warm-white); }
.m-close__art img { width: 100%; height: clamp(26rem, 44vw, 40rem); object-fit: cover; object-position: 70% 55%; }
.m-close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(17 19 21 / .88) 0%, rgb(17 19 21 / .55) 40%, rgb(17 19 21 / 0) 70%); }
.m-close__copy { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; translate: 0 -50%; }
.m-close__copy > * { max-width: 30rem; }
.m-close__title { font-family: var(--font-display); font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.8rem); line-height: 1; margin-bottom: 1rem; }
.m-close .accent { color: var(--crimson-bright); }
.m-close p { color: #d9d6d0; margin-bottom: 1.75rem; }
@media (max-width: 759px) {
  .m-close::after { background: linear-gradient(0deg, rgb(17 19 21 / .92) 0%, rgb(17 19 21 / .4) 60%, rgb(17 19 21 / .1) 100%); }
  .m-close__copy { top: auto; bottom: 2rem; translate: none; }
}
.m-footer { background: var(--night); border-top-color: rgb(255 255 255 / .08); }
.m-footer ul a, .m-footer .site-footer__legal { color: var(--warm-white-2); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__inner { display: grid; gap: 3rem 5rem; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 5fr 6fr; align-items: start; } }
.contact__head .section-title { margin-bottom: 1.25rem; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgb(32 36 40 / .35);
}
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 559px) { .field { grid-column: 1 / -1; } }
.field label { font-size: .85rem; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--ink-2); font-size: .78rem; margin-left: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; min-height: 2.875rem;
  background: var(--paper); border: 1px solid #cbc7bf; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--crimson); box-shadow: 0 0 0 3px rgb(128 31 46 / .2);
}
.field [aria-invalid="true"] { border-color: var(--crimson); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { font-size: .92rem; color: var(--ink-2); }
.form-status.is-error { color: var(--crimson); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 2.5rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.site-footer__logo img { height: 2rem; width: auto; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.site-footer ul a { text-decoration: none; font-size: .9rem; color: var(--ink-2); }
.site-footer ul a:hover { color: var(--crimson); }
.site-footer__legal { font-size: .85rem; color: var(--ink-2); }

.work__cta { margin-top: 1.5rem; }
.work__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }

/* ---------- Homepage websites teaser ---------- */
.teaser { background: var(--paper); }
.teaser__inner { display: grid; gap: 3rem 5rem; align-items: center; }
@media (min-width: 900px) { .teaser__inner { grid-template-columns: 1fr 1fr; } }
.teaser .section-title { margin-bottom: 1.25rem; }
.teaser__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.teaser__shot { display: block; }
.teaser__shot .browser { display: block; transform: rotate(-1.5deg); }
.teaser__shot .browser__bar, .teaser__shot .browser__viewport { display: flex; }
.teaser__shot .browser__viewport { display: block; }
.teaser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 8s cubic-bezier(.45,0,.55,1); }
.teaser__inner:hover .teaser__shot img { object-position: 50% 100%; }

/* Websites page intro */
.page-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }

/* About: the two sides */
.side-card { display: block; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.side-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgb(32 36 40 / .45); }
.side-card p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 1.5rem; }

/* ---------- About page ---------- */
.text-link--light { color: var(--warm-white); margin-top: .75rem; }

.page-intro { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6.5rem)); background: var(--paper); }
.page-intro__inner { display: grid; gap: 2rem 5rem; align-items: end; padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
@media (min-width: 900px) { .page-intro__inner { grid-template-columns: 1.1fr 1fr; } }
.page-intro__title { font-size: clamp(2.8rem, 1.6rem + 4vw, 5.25rem); }
.page-intro__copy p + p { margin-top: 1.1rem; color: var(--ink-2); }
.page-intro__copy .section-lede { color: var(--ink); }

.services--cards { margin-top: 0; padding-top: 0; border-top: 0; }
.services--cards li { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

.principles--steps { margin-top: clamp(1rem, .5rem + 2vw, 2.5rem); }

.fit-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-card { padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fit-card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); line-height: 1.05; margin-bottom: 1.5rem; }
.checklist li { position: relative; padding: .85rem 0 .85rem 2rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: .1rem; top: 1.35rem;
  width: .7rem; height: .38rem; border: solid var(--crimson); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}

.section--tint { background: var(--paper-2); }
.principles--light { margin-top: 0; }
.principles--light li { border-top-color: var(--line); }
.principles--light li::before { border-top-color: var(--crimson); color: var(--crimson); }
.principles--light p { color: var(--ink-2); }

.faq-wrap { display: grid; gap: 0 5rem; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: .6rem; height: .6rem; margin-right: .3rem;
  border: solid var(--crimson); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 40rem; }

.cta-band { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band .section-title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem); }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.legal .page-intro__title { margin-bottom: 1rem; }
.legal__updated { color: var(--ink-2); font-size: .9rem; margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.15; margin: 2.25rem 0 .6rem; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--crimson); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .teaser__inner:hover .teaser__shot img { object-position: 50% 0; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .product article:hover, .work-item article:hover .browser, .work-item article:hover .phone { transform: none; }
  .work-item article:hover .browser__viewport img, .work-item article:focus-within .browser__viewport img { object-position: 50% 0; }
  .product article:hover .product__bg img { transform: none; }
  .product--retreev article:hover .shot--front, .product--saipher article:hover .shot--front { transform: rotate(-3deg); }
  .product--skald article:hover .phone--front { transform: rotate(-4deg); }
}
