/* Sketchpad Solutions: site styles. Plain CSS, no build step.
   A white sketchpad page: charcoal ink, pencil grey, and one colour, the teal from the business card. */

@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schoolbell";
  src: url("fonts/schoolbell-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fdfdfb;
  --white: #ffffff;
  --ink: #303434;
  --text: #5b5f5d;
  --graphite: #8a8a84;
  --rule: rgba(48, 52, 52, 0.14);
  --grid: rgba(48, 52, 52, 0.045);
  --teal: #4eaeb4;
  --teal-ink: #26747a;

  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --hand: "Schoolbell", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;

  --gutter: max(clamp(16px, 5vw, 64px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --cell: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

/* A white sketchpad with a faint grid. */
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { background: var(--teal); color: var(--ink); }

a { color: inherit; }
a, button { -webkit-tap-highlight-color: rgba(78, 174, 180, 0.18); }

:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 30;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Header ---------------------------------------------------------------- */

.site-header { position: relative; z-index: 20; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 4.75rem;
  padding-block: 0.75rem;
}
html:not(.js) .header-inner { flex-wrap: wrap; }

/* Home link: the S monogram from the favicon. The full name is the hero heading. */
.home-mark { display: inline-block; flex-shrink: 0; border-radius: 6px; }
.mark { width: 2.5rem; height: 2.5rem; }
.mark-tile { fill: var(--ink); }
.mark-s { fill: var(--paper); }
.mark-line { fill: var(--teal); }

.wordmark {
  font-size: min(1.0625rem, 4.6vw);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.wordmark span { white-space: nowrap; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
}

.site-nav a {
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(var(--teal), var(--teal)) no-repeat left bottom / 0 2px;
  transition: background-size 0.25s ease;
}
.site-nav a:hover { background-size: 100% 2px; }

.nav-toggle { display: none; }

@media (max-width: 47.99rem) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    margin-left: auto;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--ink);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.9375rem;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-toggle-icon {
    position: relative;
    width: 1rem;
    height: 0.625rem;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease, top 0.25s ease;
  }
  .nav-toggle-icon::before { top: 0; }
  .nav-toggle-icon::after { top: calc(100% - 1.5px); }
  .menu-open .nav-toggle-icon::before { top: calc(50% - 0.75px); transform: rotate(45deg); }
  .menu-open .nav-toggle-icon::after { top: calc(50% - 0.75px); transform: rotate(-45deg); }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-block: 1px solid var(--rule);
    box-shadow: 0 24px 40px -28px rgba(48, 52, 52, 0.35);
    padding: 0.5rem var(--gutter) 1.5rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .js.menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav li + li { border-top: 1px solid var(--rule); }
  .js .site-nav a {
    display: block;
    padding-block: 0.9rem;
    font-size: 1.125rem;
    font-weight: 400;
    background: none;
  }
}

@media (max-width: 22.5em) {
  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .js .nav-toggle { min-width: 2.75rem; justify-content: center; padding-inline: 0.75rem; }
}

/* Buttons and links ------------------------------------------------------ */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.65rem min(1.3rem, 5vw);
  border-radius: 4px;
  border: 1px solid var(--ink);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.btn-secondary { background: var(--white); color: var(--ink); }
.btn-secondary:hover { border-color: var(--teal-ink); color: var(--teal-ink); }

.text-link {
  display: inline-block;
  padding-block: 0.25rem;
  font-weight: 400;
  color: var(--teal-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--teal);
  text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--ink); }

.hand-label {
  font-family: var(--hand);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.125rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}
.hand-label-teal { color: var(--teal-ink); }
.hand-label-teal::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.85em;
  margin-left: 0.55em;
  border: solid var(--teal);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg) translateY(-0.1em);
}

/* Hero ------------------------------------------------------------------ */

.hero { padding-block: clamp(1.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 4rem); }

.hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.hero-title {
  font-weight: 500;
  font-size: min(clamp(2rem, 0.9rem + 3.2vw, 3.5rem), 10.5vw);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

/* The tagline is handwritten with a teal pencil underline, like the back of the card. */
.hero-line {
  display: inline-block;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: 0.35rem;
  font-family: var(--hand);
  font-size: clamp(1.125rem, 0.9rem + 0.45vw, 1.375rem);
  line-height: 1.3;
  color: var(--ink);
  background: linear-gradient(var(--teal), var(--teal)) no-repeat left bottom / 100% 1.5px;
}
.hero-line span { display: inline-block; }
@media (max-width: 40rem) {
  .hero-line { font-size: clamp(0.875rem, 4.6vw, 1.125rem); }
}

.hero .actions { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }

.hero-figure { width: min(100%, 40rem); justify-self: center; }
.hero-art { width: 100%; height: auto; }

@media (min-width: 60rem) {
  .hero-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .hero-figure { justify-self: end; }
}
/* Phones and tablets: one centred column. */
@media (max-width: 59.99rem) {
  .hero-copy { text-align: center; }
  .hero .actions { justify-content: center; }
}
/* Phones: the name fits on one line (it wraps onto two only with very large text). */
@media (max-width: 40rem) {
  .hero-title { font-size: clamp(1.25rem, 7.2vw, 2.25rem); }
}

/* Pencil drawings --------------------------------------------------------- */

.hero-art, .panel-art { overflow: visible; }
.hero-art .ink, .panel-art .ink { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .ghost, .panel-art .ghost { fill: none; stroke: var(--ink); stroke-opacity: 0.28; stroke-width: 0.8; stroke-linecap: round; }
.cons { fill: none; stroke: var(--graphite); stroke-width: 0.7; stroke-opacity: 0.75; }
.dashed { stroke-dasharray: 3 5; }
.hatch-dark { fill: none; stroke: #4a4e4d; stroke-width: 0.75; stroke-opacity: 0.8; }
.hatch-light { fill: none; stroke: var(--graphite); stroke-width: 0.6; stroke-opacity: 0.35; }
.hatch-teal { fill: none; stroke: #23767c; stroke-width: 0.7; stroke-opacity: 0.35; }
.teal-face { fill: var(--teal); fill-opacity: 0.92; }
.dim { fill: none; stroke: var(--graphite); stroke-width: 0.8; }
.note { font-family: var(--hand); font-size: 17px; fill: var(--graphite); }
.check { fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.p-lead { fill: var(--ink); }
.p-wood { fill: #efe9dc; }
.p-body { fill: var(--white); }
.p-facet { fill: #ecebe5; }
.p-line { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.p-line.thin { stroke-width: 0.7; stroke: var(--text); }
.p-shade { fill: none; stroke: var(--graphite); stroke-width: 0.7; }
.p-metal { fill: #dcdbd5; stroke: var(--ink); stroke-width: 1.2; }
.p-cap { fill: var(--teal); stroke: var(--ink); stroke-width: 1.2; }
.e-face { fill: var(--white); }
.e-top { fill: #f8f7f3; }
.e-side { fill: #e9e8e2; }
.e-sleeve { fill: var(--ink); }
.e-band { fill: none; stroke: var(--paper); stroke-width: 1; stroke-linecap: round; }
.e-line { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.crumbs { fill: none; stroke: var(--graphite); stroke-width: 1; stroke-linecap: round; }
.scribble { fill: none; stroke: #4a4e4d; stroke-width: 0.9; stroke-opacity: 0.85; stroke-linecap: round; }
.scribble.soft { stroke: var(--graphite); stroke-opacity: 0.5; }
.dot { fill: var(--ink); }

/* Thin pencil lines get a little heavier when the drawing is shown small. */
@media (max-width: 40rem) {
  .hero-art .ink { stroke-width: 2.2; }
  .hero-art .ghost { stroke-width: 1.1; }
  .hero-art .cons, .hero-art .dim { stroke-width: 1.1; }
  .hero-art .hatch-dark, .hero-art .hatch-teal { stroke-width: 1; }
  .hero-art .note { font-size: 24px; }
}

/* The hero drawing: script.js moves the pencil and draws the cube once on load. */
.hero-art .after { transition: opacity 0.9s ease; }
.hero-art .teal-face { transition-delay: 0.15s; }
.hero-art .check { transition-delay: 0.5s; }
.motion .hero-art:not(.done) .edge { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.motion .hero-art:not(.done) .after,
.motion .hero-art:not(.done) .check { opacity: 0; }

/* Problem, ideas, solution ----------------------------------------------- */

.process { padding-block: clamp(2rem, 4vw, 4rem); }

.panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(0.75rem, 3vw, 2rem);
  text-align: center;
}
.panel { display: grid; justify-items: center; }
.panel-art { width: min(100%, 15rem); height: auto; margin-bottom: 0.75rem; }
.panel-line {
  margin-top: 0.25rem;
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.1875rem);
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
}

@media (max-width: 21em) {
  .panels { grid-template-columns: 1fr; }
  .panel-art { width: min(100%, 10rem); }
}
@media (max-width: 30rem) {
  .panels .hand-label { font-size: 0.875rem; letter-spacing: 0.08em; }
}

/* Each sketch draws itself once when it scrolls into view. */
.panel-art .scribble,
.panel-art .circle,
.panel-art .edge { transition: stroke-dashoffset 1.6s cubic-bezier(0.55, 0.1, 0.35, 1); }
.panel-art .cons, .panel-art .dot, .panel-art .after, .panel-art .check { transition: opacity 0.8s ease; }
.motion .process:not(.in) .panel-art .scribble,
.motion .process:not(.in) .panel-art .circle,
.motion .process:not(.in) .panel-art .edge { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.motion .process .panel-art .scribble,
.motion .process .panel-art .circle,
.motion .process .panel-art .edge { stroke-dasharray: 1 2; }
.motion .process:not(.in) .panel-art .cons,
.motion .process:not(.in) .panel-art .dot,
.motion .process:not(.in) .panel-art .after,
.motion .process:not(.in) .panel-art .check { opacity: 0; }
.motion .panel:nth-child(2) .panel-art * { transition-delay: 0.5s; }
.motion .panel:nth-child(3) .panel-art * { transition-delay: 1s; }
.motion .panel:nth-child(3) .panel-art .after,
.motion .panel:nth-child(3) .panel-art .check { transition-delay: 2s; }

/* Fallback if the script never runs: show every drawing finished. */
.no-anim .hero-art .edge,
.no-anim .panel-art .scribble,
.no-anim .panel-art .circle,
.no-anim .panel-art .edge { stroke-dashoffset: 0 !important; }
.no-anim .hero-art .after,
.no-anim .hero-art .check,
.no-anim .panel-art .cons,
.no-anim .panel-art .dot,
.no-anim .panel-art .after,
.no-anim .panel-art .check { opacity: 1 !important; }

/* Sections -------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 2.25rem + 5vw, 6.5rem); }

.section-title {
  font-size: min(clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem), 10vw);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* What we build */

#what-we-build .section-title { text-align: center; }

/* Six services: the sketch on top, the name below, in an even grid. */
.offer-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 4vw, 3rem);
}
.offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.25;
}

.glyph { width: clamp(2.5rem, 2.2rem + 0.8vw, 3rem); height: clamp(2.5rem, 2.2rem + 0.8vw, 3rem); flex-shrink: 0; overflow: visible; }
.glyph * { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.glyph .g-node { fill: var(--white); }
.glyph .g-teal { fill: var(--teal); stroke: var(--ink); }
.glyph .g-teal-fill { fill: var(--teal); }
.glyph .g-teal-line { stroke: var(--teal); stroke-width: 3; }

@media (min-width: 48rem) {
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 54rem; margin-inline: auto; }
}

.industries {
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  max-width: 46ch;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
  color: var(--graphite);
}
@media (min-width: 48rem) {
  .industries { max-width: none; }
}

/* Latest builds: SiteQuote, then MacroCam */

.build-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.build-inner + .build-inner { margin-top: clamp(4.5rem, 3rem + 6vw, 8rem); }
.build-label {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.build-name {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
}
.build-line {
  margin-top: 0.6rem;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.1875rem);
  line-height: 1.45;
  text-align: justify;
  color: var(--text);
}
/* Phones: the line fits the full width on one line. */
@media (max-width: 40rem) {
  .build-line { font-size: clamp(0.875rem, 4.3vw, 1.0625rem); }
}
.build-copy .text-link { margin-top: 1.25rem; }

/* A printed quote on the page, and the app on a phone in front of it. */
.build-art {
  position: relative;
  width: min(100%, 36rem);
  aspect-ratio: 1 / 0.95;
  justify-self: center;
}
.sheet {
  position: absolute;
  right: 4%;
  top: 4%;
  width: 58%;
  background: var(--white);
  transform: rotate(3deg);
  box-shadow: 0 1px 2px rgba(48, 52, 52, 0.08), 0 22px 40px -26px rgba(48, 52, 52, 0.45);
}
.sheet img { width: 100%; height: auto; }

.phone {
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 40%;
  padding: 2.2%;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 13% / 6%;
  transform: rotate(-4deg);
  box-shadow: 0 26px 44px -28px rgba(48, 52, 52, 0.55);
}
.phone img { width: 100%; height: auto; border-radius: 10% / 4.6%; }
.phone::before {
  content: "";
  position: absolute;
  top: 3.6%;
  left: 50%;
  width: 26%;
  height: 2.4%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
}
/* A second, looser pencil outline around the phone. */
.phone::after {
  content: "";
  position: absolute;
  inset: -6px -4px -3px -7px;
  border: 1px solid var(--graphite);
  border-radius: 14% / 6.4%;
  transform: rotate(1.4deg);
  opacity: 0.7;
  pointer-events: none;
}

/* MacroCam: the day card behind, rounded like the app's own card. */
.sheet-card { right: 1%; width: 54%; border-radius: 9% / 6.5%; overflow: hidden; background: #f2f0fa; }

@media (min-width: 60rem) {
  .build-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .build-art { justify-self: end; }
  .build-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .build-flip .build-copy { order: 2; }
  .build-flip .build-art { justify-self: start; }
}


/* About */

.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 4rem;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--ink);
}
.founder-name {
  font-size: min(clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem), 9vw);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.founder-role {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.founder-quote {
  max-width: 18.65em;
  text-align: justify;
  hyphens: manual;
  font-family: var(--hand);
  font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.375rem);
  line-height: 1.4;
  color: var(--ink);
}
.company { margin-top: 1.25rem; color: var(--text); }
.contact-line { margin-top: 0.35rem; color: var(--text); scroll-margin-top: 50vh; }
.email {
  padding-bottom: 0.1rem;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--teal), var(--teal)) no-repeat left bottom / 100% 1.5px;
  transition: color 0.2s ease;
}
.email:hover { color: var(--teal-ink); }

.about-sketch { width: 8.5rem; justify-self: end; overflow: visible; }
.about-sketch circle,
.about-sketch path { fill: none; stroke: var(--graphite); stroke-width: 1; stroke-linecap: round; }
.about-sketch text { font-family: var(--hand); font-size: 11px; fill: var(--graphite); }

@media (min-width: 64rem) {
  .about-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: start; }
}
@media (max-width: 63.99rem) {
  .about-sketch { display: none; }
  .about-inner { text-align: center; }
  .founder-quote { margin-inline: auto; text-align-last: center; }
  .site-footer { text-align: center; }
}
@media (max-width: 40rem) {
  .founder-quote { font-size: clamp(0.9375rem, 4.6vw, 1.25rem); }
}


/* Footer ---------------------------------------------------------------- */

.site-footer {
  padding-block: 2rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--text);
}

/* 404 ------------------------------------------------------------------- */

.notfound {
  padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 3rem + 8vw, 10rem);
  min-height: 70vh;
}
.notfound h1 {
  font-size: min(clamp(1.75rem, 1rem + 2.6vw, 3rem), 10vw);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}
.notfound p {
  margin-top: 1.25rem;
  max-width: 34ch;
  font-size: 1.0625rem;
  color: var(--text);
}
.notfound .actions { margin-top: 2.25rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
