/* Singh Media redesign (FEAT-redesign, 2026-11-28): "the work comes first".
   Fonts: Schibsted Grotesk + IBM Plex Mono, self-hosted (Fontsource 5.3.0, SIL OFL 1.1). No outside requests. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* Layout concept: one white page, rules instead of cards, the work up front.
   Orange (--mark) appears in four places only: the logo's full stop, the headline underline,
   Care's top rule, and the shadow on primary call-to-action buttons. */
:root {
  --ink: #121826; /* text and buttons (17.9:1 on white) */
  --text: #4a5163; /* secondary text (8.0:1 on white, 7.2:1 on --band) */
  --line: #e6e8ee;
  --line-strong: #d9dce4;
  --field: #8a90a0; /* form field borders (3.3:1 on white) */
  --band: #f3f4f7;
  --mark: #e8590c;
  --hover: #16306b;
  --ok: #166534;
  --err: #b91c1c;
  --radius: 6px;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  margin: 0;
}
a {
  color: var(--ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--hover);
}
:focus-visible {
  outline: 3px solid var(--hover);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: calc(1180px + 64px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .container {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 16px;
  color: #fff;
}
.tbc {
  background: #fff3bf;
  outline: 1px dashed #b45309;
}
.mono {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
}
.muted {
  color: var(--text);
}

/* Sections */
.section {
  padding-block: 64px;
}
@media (min-width: 720px) {
  .section {
    padding-block: 88px;
  }
}
.band {
  background: var(--band);
}
.section__title {
  margin: 0 0 16px;
  font-size: clamp(2.125rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.rule-top {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

/* Buttons and marked links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--hover);
  color: #fff;
}
.btn--primary {
  box-shadow: 0 4px 0 var(--mark);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--ghost:hover {
  background: var(--band);
  color: var(--ink);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.link-mark {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* Header */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo__dot {
  color: var(--mark);
}
/* The line beside the name: a thin rule, then what we do. Hidden on small phones, where the hero says it. */
.logo__tag {
  display: none;
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  line-height: 1.35;
}
@media (min-width: 600px) and (max-width: 859px), (min-width: 1080px) {
  .logo__tag {
    display: block;
  }
}
.nav {
  display: none;
}
.nav__item {
  white-space: nowrap;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}
.nav__item:hover {
  color: var(--ink);
}
.nav__item.link-mark {
  color: var(--ink);
  text-decoration: underline;
}
@media (min-width: 860px) {
  .nav {
    display: flex;
    align-items: baseline;
    gap: 28px;
  }
  .mmenu {
    display: none;
  }
}
.mmenu {
  position: relative;
}
.mmenu__btn {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: pointer;
}
.mmenu__btn::-webkit-details-marker {
  display: none;
}
.mmenu__btn svg {
  width: 22px;
  height: 22px;
}
.mmenu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(18, 24, 38, 0.12);
}
.mmenu__panel ul {
  margin: 0;
  padding: 8px 0;
  list-style: none;
}
.mmenu__panel a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 500;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-block: 48px;
}
.footer__logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.footer__text,
.footer__details {
  color: var(--text);
}
.footer__title {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.footer__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.footer__base {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text);
}

/* Contact: free homepage preview form */
.contact__grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
}
.contact__intro {
  display: grid;
  gap: 16px;
  color: var(--text);
}
.contact__intro .section__title {
  color: var(--ink);
  margin: 0;
}
.contact__lead {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.contact__panel {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 24px;
  background: #fff;
}
@media (min-width: 720px) {
  .contact__panel {
    padding: 32px;
  }
}
.notice {
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.notice--off {
  background: var(--band);
  border: 1px solid var(--line-strong);
}
.notice--error {
  background: #fdecec;
  border: 1px solid #f1b5b5;
  color: var(--err);
}
.notice--ok {
  background: #e9f5ed;
  border: 1px solid #b7dcc3;
  color: var(--ok);
}
.form__row {
  display: grid;
  gap: 0 16px;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  min-width: 0;
}
.field label {
  font-size: 1rem;
  font-weight: 600;
}
.field__optional {
  font-weight: 400;
  color: var(--text);
}
.req {
  color: var(--err);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.field textarea {
  resize: vertical;
}
.field [aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 1px var(--err);
}
.field__guidance,
.field__counter,
.form__privacy {
  font-size: 0.9375rem;
  color: var(--text);
}
.field__error {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--err);
}
.form__privacy {
  margin-bottom: 20px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Home page ---------- */
.section--tight {
  padding-top: 24px;
}
.section--flush-top {
  padding-top: 0;
}
.label {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

/* Hero: big plain headline, short side note */
.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 64px;
  padding-block: 48px 56px;
}
@media (min-width: 720px) {
  .hero__grid {
    padding-block: 72px 64px;
  }
}
.hero__title {
  flex: 999 1 560px;
  min-width: 0;
  margin: 0;
  font-size: clamp(2.625rem, 6.2vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__mark {
  background-image: linear-gradient(var(--mark), var(--mark));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.09em;
}
.hero__side {
  flex: 1 1 300px;
  display: grid;
  gap: 18px;
  padding-bottom: 8px;
}
.hero__lead {
  color: var(--text);
}
.hero__actions {
  margin-top: 6px;
}

/* Recent work */
.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.work {
  flex: 2 1 340px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work--wide {
  flex: 1 1 100%;
  max-width: 980px;
}
.work__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0 8px;
  border-bottom: 1px solid var(--ink);
}
.work__view {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--band);
}
.work__view--dark {
  background: #0c0c0c;
  color: #fff; /* the alt text, if the screenshot ever fails to load */
}
.work__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  font-size: 1rem;
}
/* How it works */
.steps {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 32px;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}
.step {
  display: grid;
  gap: 10px;
  align-content: start;
}
.step__num {
  font-weight: 800;
  font-size: 1.25rem;
}
.step h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--text);
}

/* Two-column sections: title on the left, content on the right */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}
.split__side {
  flex: 1 1 280px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.split__side .section__title {
  margin: 0;
}
.split__main {
  flex: 999 1 560px;
  min-width: 0;
}

/* Price list */
.pricelist {
  margin: 0;
}
.pricelist__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.pricelist__row:first-child {
  border-top-color: var(--ink);
}
.pricelist__row:last-child {
  border-bottom: 1px solid var(--line);
}
.pricelist dt {
  flex: 0 0 140px;
  font-size: 1.375rem;
  font-weight: 700;
}
.pricelist dd {
  margin: 0;
}
.pricelist dd.muted {
  flex: 999 1 240px;
  min-width: 0;
}
.pricelist__price {
  font-size: 2.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.pricelist__from {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.pricelist__more {
  margin-top: 16px;
  font-size: 1rem;
}

/* Compare table (fold-out) */
.compare {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compare summary {
  cursor: pointer;
  padding-block: 16px;
  font-weight: 700;
  min-height: 44px;
}
.compare > p,
.compare > ul,
.compare > h4 {
  font-size: 1rem;
}
.compare > p {
  margin-block: 16px;
  color: var(--text);
}
.compare > h4 {
  margin: 16px 0 6px;
}
.compare > ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--text);
}
.table-wrap {
  overflow-x: auto;
}
.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px 12px 0;
  border-top: 1px solid var(--line);
}
.table-wrap thead th {
  border-top: 0;
  font-weight: 700;
}
.table-wrap thead th span {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--text);
}
.table-wrap tbody th {
  font-weight: 600;
}

/* After launch: plans */
.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.plan {
  flex: 1 1 200px;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.plan--marked {
  border-top: 3px solid var(--mark);
  padding-top: 18px;
}
.plan h3 {
  margin: 0;
  font-size: 1.375rem;
}
.plan h3 .mono {
  font-size: 0.8125rem;
  font-weight: 500;
}
.plan__price {
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan__price span {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 1rem;
  color: var(--text);
}

/* About */
.about {
  display: grid;
  gap: 18px;
}
.about > p {
  max-width: 46rem;
}
.about .label {
  margin: 0;
}
.about__lead {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Questions */
.faq {
  border-top: 1px solid var(--ink);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  cursor: pointer;
  padding-block: 18px;
  font-weight: 700;
  font-size: 1.125rem;
  min-height: 44px;
}
.faq__a {
  padding-bottom: 18px;
  color: var(--text);
}
.work__shot {
  width: 100%;
  height: auto;
}

/* ---------- Motion (FEAT-redesign) ----------
   1. The headline's two lines rise in, then the orange underline draws under "look the part".
   2. Live work: the client screenshot scrolls inside its 16:10 frame. The image is 1280×3200 (1:2.5)
      and the frame is 1:0.625 at any width, so moving it up by 100 × (1 − 0.625 / 2.5) = 75% of its
      own height always ends exactly at its bottom edge. Pauses on hover and with the Pause button. */
.hero__line {
  display: inline-block;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__line + .hero__line {
  animation-delay: 0.12s;
}
.hero__mark {
  animation: draw 0.7s 0.75s cubic-bezier(0.6, 0, 0.2, 1) both;
}
.work__shot {
  animation: browse 18s 1.5s ease-in-out infinite alternate;
}
.work__view:hover .work__shot,
.work.is-paused .work__shot {
  animation-play-state: paused;
}
.work__pause {
  min-height: 36px;
  padding: 6px 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 0.8125rem;
  cursor: pointer;
}
.work__pause:hover {
  border-color: var(--ink);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes draw {
  from {
    background-size: 0 0.09em;
  }
  to {
    background-size: 100% 0.09em;
  }
}
@keyframes browse {
  0%,
  8% {
    transform: translateY(0);
  }
  92%,
  100% {
    transform: translateY(-75%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__line,
  .hero__mark,
  .work__shot {
    animation: none;
  }
  .hero__mark {
    background-size: 100% 0.09em;
  }
}

/* 3. Sections fade in as they scroll into view (Marcus, 29 Nov). Tied to the scroll position, so it
      plays backwards when you scroll up, runs off the main thread and needs no JavaScript.
      Browsers without scroll timelines, and anyone who asks for reduced motion, see everything at once. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section .section__title,
    .section .label,
    .section .muted,
    .work,
    .step,
    .pricelist__row,
    .compare,
    .plan,
    .about__lead,
    .faq__item,
    .contact__panel {
      animation: appear linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 60%;
    }
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Other pages: privacy, sent, not sent, 404 ---------- */
.narrow > *,
.prose > * {
  max-width: 46rem;
}
.narrow {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.narrow p {
  color: var(--text);
}
.narrow p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.prose h1 {
  margin-bottom: 28px;
}
.prose h2 {
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.prose p,
.prose ul {
  margin: 0 0 14px;
}
.prose ul {
  padding-left: 20px;
}
.prose .table-wrap {
  max-width: none;
  margin: 8px 0 20px;
}
.prose .table-wrap table {
  min-width: 640px;
}
