/* Homepage only. Loaded by index.html after styles.css.
   Concept 05, "Business Brain": the hero, the intelligence layer, the work carousel and the
   sections below them. Blue has three jobs here: the primary button, the headline's second
   line and "AI at work" in the hero panel. */

.dotgrid {
  background-image: radial-gradient(rgba(10, 10, 10, 0.14) 1px, transparent 1.3px);
  background-size: 22px 22px;
}
.home-card {
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(11, 14, 20, 0.07);
}
.home-shell {
  padding: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(11, 14, 20, 0.07);
}
.home-rule { border-top: 1px solid var(--line); }
.home-section { padding-block: 96px; }
.home-h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.home-copy { color: var(--mute); line-height: 1.625; }
.step-n { color: var(--mute); font-family: var(--display); font-size: 13px; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .home-section { padding-block: 128px; }
}

/* Hero */
.home-hero { padding-top: 48px; text-align: center; }
.home-place { margin: 0 0 20px; color: var(--mute); font-size: 13px; line-height: 1.5; }
.home-place span { white-space: nowrap; }
.home-headline { position: relative; }
.home-hero h1 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 8.4vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.home-promise {
  display: block;
  padding-bottom: 4px;
  color: var(--blue);
  font-family: var(--news);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.home-hero h1.is-typing [data-typed-word],
.home-hero h1.is-typing-line .home-promise { color: transparent; }
.typed-overlay {
  position: absolute;
  white-space: nowrap;
  line-height: normal;
  pointer-events: none;
}
.typed-caret {
  display: inline-block;
  width: 0.06em;
  min-width: 2px;
  height: 0.82em;
  margin-right: -0.13em;
  margin-left: 0.06em;
  vertical-align: -0.04em;
  background: currentColor;
  opacity: 0.55;
  animation: caret-blink 1.06s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.home-lede {
  max-width: 44ch;
  margin: 20px auto 0;
  color: var(--mute);
  font-size: 17px;
  line-height: 1.625;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 768px) {
  .home-hero { padding-top: 64px; }
  .home-lede { font-size: 19px; }
}

/* The intelligence layer: a still grid of labels without JavaScript, a moving field with it */
.home-layer { margin-top: 40px; }
.layer-tile { box-shadow: 0 30px 60px -40px rgba(11, 14, 20, 0.25), 0 0 0 1px rgba(11, 14, 20, 0.07); }
.layer-field {
  position: relative;
  isolation: isolate;
  height: 380px;
  overflow: hidden;
  background-color: var(--white);
  border-radius: 17px;
}
.layer-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer-heading { position: absolute; top: 24px; left: 24px; pointer-events: none; }
.layer-heading p { margin: 5px 0 0; color: var(--mute); font-size: 12px; }
.layer-heading .layer-title { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.layer-hint {
  position: absolute;
  top: 28px;
  right: 24px;
  display: none;
  margin: 0;
  color: var(--mute);
  font-size: 12px;
  pointer-events: none;
}
.layer-field[data-ready="true"] .layer-hint { display: block; }
.layer-hint-tap { display: none; }
.layer-labels {
  position: absolute;
  inset: 82px 28px 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.layer-label {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 5px 9px 5px 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(11, 14, 20, 0.07), 0 6px 14px -8px rgba(11, 14, 20, 0.28);
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
}
.layer-mark { flex: none; width: 6px; height: 6px; background: var(--ink); }
.layer-label[data-lit="true"] { color: var(--blue-deep); background: var(--blue-soft); }
.layer-label[data-lit="true"] .layer-mark { background: var(--blue); }
/* The list keeps its box when the animation starts, so nothing shifts; labels sit inside it. */
.layer-field[data-ready="true"] .layer-labels { display: block; }
.layer-field[data-ready="true"] .layer-label { position: absolute; top: var(--y); left: var(--x); transform: translate(-50%, -50%); }
.layer-field[data-ready="true"][data-still="false"] .layer-label { opacity: var(--alpha, 0); }
.layer-footer {
  position: absolute;
  right: 24px;
  bottom: 19px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.layer-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; color: var(--mute); font-size: 11.5px; }
.layer-legend span { display: inline-flex; align-items: center; gap: 7px; }
.layer-legend i { width: 6px; height: 6px; background: var(--ink); }
.layer-legend span:last-child i { background: var(--blue); }
.layer-pause {
  min-width: 44px;
  min-height: 44px;
  margin: -12px -8px -12px 0;
  padding: 8px;
  color: var(--mute);
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}
.layer-pause:hover { color: var(--ink); }
.layer-pause[hidden] { display: none; }
@media (hover: none), (pointer: coarse) {
  .layer-hint-mouse { display: none; }
  .layer-hint-tap { display: inline; }
}
@media (min-width: 768px) {
  .home-layer { margin-top: 48px; }
  .layer-field { height: 460px; }
}
@media (max-width: 767px) {
  .layer-heading { top: 16px; left: 16px; }
  .layer-heading p { margin-top: 3px; }
  .layer-hint { top: 66px; right: auto; left: 16px; font-size: 11px; }
  .layer-labels {
    inset: 96px 12px 70px;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(26px, auto));
  }
  .layer-footer { right: 16px; bottom: 14px; left: 16px; gap: 8px; }
  .layer-legend { max-width: 230px; gap: 6px 12px; font-size: 11px; }
  .layer-pause { flex-shrink: 0; }
  /* A still view fits every label, with room to wrap on the narrowest phones. */
  .layer-field:not([data-still="false"]) { height: auto; min-height: 380px; }
  .layer-field:not([data-still="false"]) .layer-labels { position: relative; display: grid; inset: auto; margin: 96px 12px 70px; }
  .layer-field:not([data-still="false"]) .layer-label { position: static; transform: none; line-height: 1.2; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .layer-pause { display: none; }
}

.layer-steps { display: grid; gap: 0 32px; margin: 16px 0 0; padding: 0; list-style: none; }
.layer-steps li { padding-block: 16px; }
.layer-steps li::before { content: ""; display: block; height: 2px; background: rgba(11, 14, 20, 0.1); }
.layer-step-head { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.layer-steps h3 { margin: 0; font-family: var(--display); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.02em; }
.layer-steps p { max-width: 40ch; margin: 6px 0 0; padding-left: 2.1rem; color: var(--mute); font-size: 15px; line-height: 1.625; }
@media (min-width: 768px) {
  .layer-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Work: the active project wide and in colour, the next three as greyscale strips */
.home-work { margin-top: 64px; }
.home-work .home-h2 { max-width: 18ch; }
.home-work .home-intro { max-width: 60ch; margin: 20px 0 0; }
.home-note { margin: 32px 0 0; color: var(--mute); font-size: 13px; line-height: 1.5; }
.wc { margin-top: 48px; container-type: inline-size; }
.wc-stage {
  display: flex;
  gap: 12px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.wc-stage::-webkit-scrollbar { display: none; }
.wc-card { position: relative; flex: 0 0 86%; min-width: 0; scroll-snap-align: start; }
.wc-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9ebef;
  border-radius: 14px;
}
.wc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wc-cap { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.wc-copy { max-width: 46ch; }
.wc-type { margin: 0; color: var(--mute); font-size: 13px; }
.wc-copy h3 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.wc-copy p:not(.wc-type) { margin: 8px 0 0; color: rgba(11, 14, 20, 0.75); font-size: 15px; line-height: 1.625; }
.wc-copy .wc-note { color: var(--mute); font-size: 13px; }
.wc-visit { align-self: flex-start; }
.wc-visit[hidden] { display: none; }
.wc-controls { display: none; }
@media (min-width: 768px) {
  .home-work { margin-top: 80px; }
  .home-work .home-h2 { font-size: 3.75rem; }
  .wc-card { flex-basis: 40%; }
}
/* The carousel. It applies from the first paint whenever JavaScript is available, with the
   starting slots written into the HTML, so the script changes nothing on load and nothing
   shifts. Without JavaScript, below 1024px, or in a browser that doesn't know the scripting
   media feature, the swipe row stays and every project is visible. */
@media (min-width: 1024px) and (scripting: enabled) {
  /* The screenshot sits clean and in full colour; the caption sits under it, never over it.
     Every card shares one grid cell, so the stage is as tall as the tallest card and holds one
     height for all ten projects. --H is the picture's height. */
  .wc .wc-stage {
    --A: 70cqw;
    --G: 12px;
    --S: calc((100cqw - var(--A) - 3 * var(--G)) / 3);
    --R: 18px;
    --H: calc(var(--A) * 0.5625);
    position: relative;
    display: grid;
    justify-content: start;
    margin-inline: 0;
    padding-inline: 0;
    /* Not a scroll container, so the browser can never slide the stage sideways. */
    overflow: hidden;
    overflow: clip;
    scroll-snap-type: none;
  }
  .wc .wc-card {
    grid-area: 1 / 1;
    width: var(--A);
    cursor: pointer;
    scroll-snap-align: none;
    transition: transform 800ms var(--ease-in-out), clip-path 800ms var(--ease-in-out), opacity 500ms ease;
    will-change: transform, clip-path;
  }
  .wc .wc-card[data-k="0"] { z-index: 1; transform: translateX(0); cursor: default; clip-path: inset(0 0 0 0 round var(--R)); }
  /* The strips show only their picture: the caption band below it is clipped away. */
  .wc .wc-card[data-k="1"],
  .wc .wc-card[data-k="2"],
  .wc .wc-card[data-k="3"] {
    --k: 1;
    transform: translateX(calc(var(--A) + var(--G) + (var(--k) - 1) * (var(--S) + var(--G)) - (var(--A) - var(--S)) / 2));
    clip-path: inset(0 calc((var(--A) - var(--S)) / 2) calc(100% - var(--H)) calc((var(--A) - var(--S)) / 2) round var(--R));
  }
  .wc .wc-card[data-k="2"] { --k: 2; }
  .wc .wc-card[data-k="3"] { --k: 3; }
  /* Waiting off stage to the right: invisible, so it moves without a transition. */
  .wc .wc-card[data-k="hidden"] {
    opacity: 0;
    transform: translateX(calc(100cqw + var(--G) - (var(--A) - var(--S)) / 2));
    clip-path: inset(0 calc((var(--A) - var(--S)) / 2) calc(100% - var(--H)) calc((var(--A) - var(--S)) / 2) round var(--R));
    transition: none;
  }
  /* The card that just left slides out to the left. */
  .wc .wc-card[data-k="prev"] {
    opacity: 0;
    transform: translateX(calc(-1 * var(--A) - var(--G)));
    clip-path: inset(0 0 calc(100% - var(--H)) 0 round var(--R));
  }
  .wc .wc-media {
    height: var(--H);
    aspect-ratio: auto;
    border-radius: var(--R);
  }
  /* A hairline edge, so a white screenshot still reads as a picture on the paper. */
  .wc .wc-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(11, 14, 20, 0.08);
    pointer-events: none;
  }
  /* Strips in greyscale, a touch darker so a white screenshot still shows against the paper. */
  .wc .wc-media img { filter: grayscale(1) contrast(0.95) brightness(0.94); transition: filter 700ms ease; }
  .wc .wc-card[data-k="0"] .wc-media img { filter: none; }
  .wc .wc-cap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin: 0;
    padding: 24px 0 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 250ms ease, transform 500ms var(--ease-out);
  }
  .wc .wc-card[data-k="0"] .wc-cap { opacity: 1; transform: translateY(0); transition-delay: 300ms; }
  .wc .wc-copy { max-width: 62ch; }
  .wc .wc-copy h3 { font-size: 2rem; }
  .wc .wc-visit { flex-shrink: 0; margin-top: 4px; }

  /* Shown from the first paint with the tab row's height reserved, so nothing below moves
     when the script adds the tabs. */
  .wc .wc-controls { display: flex; align-items: flex-start; gap: 16px; min-height: 54px; margin-top: 24px; }
  .wc-tabs { flex: 1; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 12px; }
  .wc-tab {
    min-width: 0;
    padding: 16px 0 4px;
    color: rgba(11, 14, 20, 0.6);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
  }
  .wc-track { position: relative; display: block; height: 1px; overflow: hidden; background: rgba(11, 14, 20, 0.12); }
  .wc-progress { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
  .wc-tab[data-selected="true"] .wc-progress { animation: wc-progress var(--wc-dur, 6500ms) linear forwards; }
  .wc[data-paused="true"] .wc-progress { animation-play-state: paused; }
  .wc-tab-name {
    display: block;
    margin-top: 12px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 200ms ease;
  }
  .wc-tab:hover, .wc-tab[data-selected="true"] { color: var(--ink); }
  .wc-pause {
    min-width: 44px;
    min-height: 44px;
    margin-top: 2px;
    padding: 8px;
    color: var(--mute);
    background: none;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
  }
  .wc-pause:hover { color: var(--ink); }
  .wc-pause[hidden] { display: none; }
}
.wc[data-instant="true"] .wc-card,
.wc[data-instant="true"] .wc-cap,
.wc[data-instant="true"] .wc-media img { transition: none !important; }
@keyframes wc-progress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .wc-tab[data-selected="true"] .wc-progress { animation: none; transform: scaleX(1); }
}

/* BR Built sample report */
.report-dialog {
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 80px -30px rgba(11, 14, 20, 0.45);
  overflow-y: auto;
}
.report-dialog::backdrop { background: rgba(11, 14, 20, 0.6); }
html:has(.report-dialog[open]) { overflow: hidden; }
.report-dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 3vw, 32px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.report-dialog-head p { margin: 0 0 4px; color: var(--mute); font-size: 13px; }
.report-dialog-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.report-dialog-close { flex-shrink: 0; }
.report-dialog-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(18px, 3vw, 32px);
}
.report-dialog-body figure { margin: 0; }
.report-dialog-body img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.report-dialog-body figcaption { margin-top: 10px; color: var(--mute); font-size: 13px; line-height: 1.5; }
.report-dialog-note { margin: 0; padding: 0 clamp(18px, 3vw, 32px) clamp(20px, 3vw, 30px); color: var(--mute); font-size: 13px; }
@media (min-width: 701px) {
  .report-dialog-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Built for the work after launch: three steps on a dotted line */
.home-standard { padding-bottom: 96px; }
.standard-card {
  display: grid;
  gap: 48px;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 48px -36px rgba(11, 14, 20, 0.25);
}
.standard-card h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.standard-card > div > p { max-width: 46ch; margin: 20px 0 0; }
.standard-steps { position: relative; display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.standard-steps::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
  display: none;
  height: 3px;
  background: radial-gradient(circle, rgba(11, 14, 20, 0.32) 1px, transparent 1.6px) 0 0 / 9px 3px;
}
.standard-steps li { position: relative; }
.standard-steps li::before { content: ""; position: relative; display: block; width: 11px; height: 11px; background: var(--ink); }
.standard-steps .step-n { display: block; margin-top: 24px; }
.standard-steps h3 { margin: 4px 0 0; font-family: var(--display); font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; }
.standard-steps p { margin: 8px 0 0; color: var(--mute); font-size: 15px; line-height: 1.625; }
@media (min-width: 640px) {
  .standard-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .standard-steps::before { display: block; }
}
@media (min-width: 768px) {
  .home-standard { padding-bottom: 128px; }
  .standard-card { padding: 56px 48px; }
  .standard-card h2 { font-size: 2.6rem; }
}
@media (min-width: 1024px) {
  .standard-card { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .standard-card > div { grid-column: span 5; }
  .standard-steps { grid-column: span 7; align-self: center; }
}

/* How I help */
.services-grid { display: grid; gap: 56px; }
.services-grid .home-h2 { max-width: 14ch; }
.services-grid .home-copy { max-width: 44ch; margin: 24px 0 0; }
.services-grid .services-more { margin: 20px 0 0; }
.services-grid .btn { margin-top: 28px; }
.services-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.services-list > li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 16px;
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}
.services-list > li > .step-n { padding-top: 8px; font-size: 15px; }
.services-list h3 { margin: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.03em; }
.services-list p { max-width: 52ch; margin: 12px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 6px 12px;
  color: rgba(11, 14, 20, 0.75);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(11, 14, 20, 0.12);
  font-size: 12px;
}
@media (min-width: 768px) {
  .services-grid .home-h2 { font-size: 3.4rem; }
  .services-list > li { grid-template-columns: 4rem 1fr; }
  .services-list h3 { font-size: 1.9rem; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .services-grid > div { grid-column: span 5; }
  .services-list { grid-column: 6 / span 7; }
}

/* About and ways to work together */
.home-about { padding-bottom: 96px; }
.about-grid { display: grid; gap: 16px; }
.about-portrait { width: 100%; max-width: 320px; margin: 0 auto; padding: 8px; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #e9ebef; border-radius: 16px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait figcaption { padding: 16px 12px 8px; }
.about-portrait strong { display: block; font-family: var(--display); font-size: 1.125rem; font-weight: 400; letter-spacing: -0.01em; }
.about-portrait span { display: block; margin-top: 2px; color: var(--mute); font-size: 13px; }
.about-card { display: flex; flex-direction: column; padding: 32px; }
.about-card h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.about-card .about-lead { max-width: 58ch; margin: 24px 0 0; font-size: 1.125rem; line-height: 1.625; }
.about-card .home-copy { max-width: 64ch; margin: 16px 0 0; }
.about-availability { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; font-size: 14px; }
.about-availability::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--ink); }
.about-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 28px;
  color: var(--blue-deep);
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(64, 101, 174, 0.4);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease;
}
.about-link:hover { text-decoration-color: var(--blue-deep); }
.ways-card { display: grid; gap: 32px; padding: 32px; background-color: var(--white); }
.ways-card h2 { max-width: 20ch; margin: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; }
.ways-list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.ways-list li { display: grid; grid-template-columns: 14px 1fr; gap: 0 16px; }
.ways-list li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--ink); }
.ways-list h3 { margin: 0; font-family: var(--display); font-size: 1.125rem; font-weight: 400; letter-spacing: -0.01em; }
.ways-list p { max-width: 60ch; margin: 4px 0 0; color: var(--mute); font-size: 15px; line-height: 1.625; }
@media (min-width: 768px) {
  .home-about { padding-bottom: 128px; }
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .about-portrait { grid-column: span 4; max-width: none; }
  .about-card { grid-column: span 8; padding: 48px; }
  .about-card h2 { font-size: 3rem; }
  .ways-card { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); padding: 48px; }
  .ways-card h2 { grid-column: span 4; font-size: 1.875rem; }
  .ways-list { grid-column: 6 / span 7; }
}

/* The course */
.course-grid { display: grid; gap: 56px; }
.course-grid h2 {
  margin-bottom: 0;
  font-family: var(--news);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.course-grid .home-copy { max-width: 46ch; margin: 24px 0 0; font-size: 1.125rem; }
.course-grid .btn { margin-top: 36px; }
@media (min-width: 768px) {
  .course-grid h2 { font-size: 4.6rem; }
}
@media (min-width: 1024px) {
  .course-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .course-grid > div { grid-column: span 6; }
}

/* Closing */
.home-closing { position: relative; overflow: hidden; text-align: center; }
.home-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 10, 10, 0.14) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 70%);
}
.home-closing .wrap { position: relative; padding-block: 112px; }
.home-closing h2 {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.home-closing p { max-width: 46ch; margin: 24px auto 0; color: var(--mute); font-size: 1.125rem; line-height: 1.55; }
.home-closing .home-actions { margin-top: 40px; }
@media (min-width: 768px) {
  .home-closing .wrap { padding-block: 160px; }
  .home-closing h2 { font-size: 4rem; }
}

@media (max-width: 374px) {
  .btn { padding-left: 18px; font-size: 14px; }
}
@media print {
  .layer-field canvas, .layer-hint, .layer-pause, .wc-controls { display: none; }
  .wc-stage { display: block; overflow: visible; }
}
