/* CareNetwork, the website. Brand colours (calm blue #81A2E3, its deep ink, the PDF's orange used once), Manrope for
   what you see first, Inter for what you read, Outfit only for the name. Editorial: big capitals, tiny labels in
   brackets, full bleed pictures. Motion lives in js/site.js. */
:root {
  --blue: #81A2E3; --blue-deep: #5C7FC9; --ink: #141414; --ink-2: #1E2433; --paper: #F1F0EC; --white: #fff;
  --mute: #6B6F7A; --line: rgba(20, 20, 20, 0.14);
  --pad: clamp(16px, 2.2vw, 36px);
  --display: 'Manrope', system-ui, sans-serif; --text: 'Inter', system-ui, sans-serif; --name: 'Outfit', var(--display);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--white); color: var(--ink); font-family: var(--text); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lab { font: 500 11px/1.2 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
em { font-style: normal; }

/* ---------- the opening ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 18px; background: var(--blue); color: var(--white); }
.loader__mark { width: 64px; }
.loader__count { font: 800 clamp(64px, 11vw, 180px)/0.9 var(--display); letter-spacing: -0.05em; }
.loader__line { position: absolute; left: var(--pad); bottom: var(--pad); font: 700 11.5px/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }   /* (small capitals in Manrope, set a little close: Ajay) */
body.is-loading { overflow: hidden; }

/* ---------- what stays on screen ---------- */
.ui { position: fixed; inset: 0; z-index: 50; pointer-events: none; color: var(--white); transition: color 0.45s var(--ease); }
body[data-ui='dark'] .ui { color: var(--ink); }
.ui { transition: color 0.45s var(--ease), opacity 0.5s var(--ease); }
body.at-foot .ui { opacity: 0; pointer-events: none; }
body.at-foot .ui a, body.at-foot .ui p { pointer-events: none; }
.ui a, .ui p { pointer-events: auto; }
.ui__brand { position: absolute; left: var(--pad); top: var(--pad); display: flex; align-items: center; gap: 9px; font: 600 19px/1 var(--name); letter-spacing: -0.02em; }
.ui__brand img { width: 24px; transition: filter 0.45s var(--ease); }
body[data-ui='dark'] .ui__brand img, body[data-ui='dark'] .ui__app span { filter: invert(1) brightness(0.1); }
.ui__nav { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); font: 600 10.5px/1.5 var(--text); letter-spacing: 0.05em; text-transform: uppercase; }
.ui__menu { margin-bottom: 8px; }
.ui__menu span, .ui__nav i { font-style: normal; font-weight: 500; margin-right: 6px; }
.ui__nav ol { padding-left: 22px; }
.ui__nav a { display: inline-block; opacity: 0.62; transition: opacity 0.3s, transform 0.3s var(--ease); }
.ui__nav a:hover, .ui__nav a.is-on { opacity: 1; transform: translateX(4px); }
.ui__app { position: absolute; right: var(--pad); top: var(--pad); font: 600 11px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.ui__count { position: absolute; left: 50%; bottom: var(--pad); transform: translateX(-50%); font: 500 11px/1 var(--text); letter-spacing: 0.06em; }

/* ---------- 1 hero: the photo, then the blue frame opening over it ---------- */
.hero { position: relative; height: 340vh; background: var(--ink-2); }
.hero__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }   /* (the lawn: the two of them low, the sky above for the line) */
.hero__shade { background: linear-gradient(180deg, rgba(14, 30, 60, 0.32) 0%, rgba(14, 30, 60, 0.08) 45%, rgba(14, 30, 60, 0) 60%, rgba(8, 24, 8, 0.3) 100%); }
.hero__title { position: absolute; left: 50%; top: 34%; width: min(92vw, 1180px); transform: translate(-50%, -50%); text-align: center; color: var(--white); font: 800 clamp(34px, 4.7vw, 92px)/0.9 var(--display); letter-spacing: -0.04em; text-transform: uppercase; }
.hero__title span { display: block; text-wrap: balance; }
.hero__card { position: absolute; right: var(--pad); bottom: var(--pad); width: clamp(250px, 21vw, 330px); height: clamp(190px, 15.5vw, 245px); padding: 12px 12px 10px; background: var(--white); color: var(--ink); }
.hero__card-mark { position: absolute; right: 12px; top: -16px; width: clamp(38px, 3.2vw, 50px); }
/* the mark in 3D (js/mark3d.js), turning towards the pointer; one fixed layer the scroll steers (js/site.js): on the
   card's corner, then the page's corner, then big in the foot. Drawn at its biggest size and scaled down. The flat
   mark on the card stays if there's no WebGL */
.mark3d { position: fixed; left: 0; top: 0; z-index: 45; width: 460px; height: 460px; transform-origin: 0 0; pointer-events: none; visibility: hidden; }
.mark3d canvas { display: block; width: 100%; height: 100%; }
body.has-3d .mark3d { visibility: visible; }
body.has-3d .hero__card-mark { visibility: hidden; }
/* (like Ajay's reference: a small serif with tight leading at the top, a tight bold block of capitals at the bottom
   right with the arrows lined up at the edge, open paper between) */
.hero__card-lead { font: 400 clamp(18px, 1.45vw, 22px)/0.98 'Instrument Serif', Georgia, serif; letter-spacing: -0.005em; max-width: 64%; }
.hero__card ul { position: absolute; left: 47%; right: 12px; bottom: 10px; display: grid; gap: 0; }
.hero__card a { display: flex; justify-content: space-between; align-items: baseline; font: 800 clamp(13px, 1.02vw, 15px)/1.06 var(--display); letter-spacing: -0.025em; text-transform: uppercase; }
.hero__card a span { font-weight: 700; transition: transform 0.3s var(--ease); }
.hero__card a:hover span { transform: translate(2px, -2px); }
.hero__scroll { position: absolute; right: var(--pad); top: 50%; display: flex; align-items: center; gap: 10px; color: var(--white); font: 600 11px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
.hero__scroll span { width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: tick 2.4s var(--ease) infinite; }
@keyframes tick { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.hero__panel { position: absolute; inset: 0; background: var(--blue); clip-path: inset(50% 49.7% 50% 49.7%); }   /* (a point at the centre: it grows to a line, then opens to the screen) */
.hero__pic { position: absolute; left: 50%; top: 50%; width: 46vw; aspect-ratio: 16 / 10; translate: -50% -50%; overflow: hidden; clip-path: inset(50% 50% 50% 50%); }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame { position: absolute; left: 50%; top: 50%; width: 46vw; aspect-ratio: 16 / 10; translate: -50% -50%; background: var(--white); color: var(--ink); display: grid; place-items: center; padding: 6%; clip-path: inset(50% 50% 50% 50%); }
.hero__frame-line { max-width: 20ch; text-align: center; font: 800 clamp(20px, 2.3vw, 42px)/0.98 var(--display); letter-spacing: -0.035em; text-transform: uppercase; }
.hero__frame-note { position: absolute; left: 5%; bottom: 5.5%; max-width: 25ch; text-align: left; font: 500 clamp(9px, 0.62vw, 10px)/1.25 var(--text); letter-spacing: 0; opacity: 0.9; }   /* (small, tight, a few lines like the reference: Ajay) */

/* ---------- 2 about ---------- */
.about { position: relative; height: 220vh; background: var(--white); }
.about__stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; padding: 0 var(--pad) 0 max(var(--pad), 15vw); }
.about__lab { margin-bottom: 18px; color: var(--mute); }
.about__text { max-width: 31ch; font: 600 clamp(28px, 4.2vw, 80px)/1.05 var(--display); letter-spacing: -0.035em; }
/* (Ajay: the side photo felt vague: the key words in the serif, in italic, and small photos in the line beside what they show) */
.about__text .sf { font: italic 400 1.12em/1 'Instrument Serif', Georgia, serif; letter-spacing: -0.01em; }
.about__text .pill { display: inline-block; width: 1.55em; height: 0.8em; margin: 0 0.2em 0 0; border-radius: 999px; overflow: hidden; vertical-align: -0.06em; }   /* (its own gap after it: no double space while it's shut) */
.about__text .pill :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; }   /* (short real clips, looping like gifs: Ajay) */
.about__text .w { opacity: 0.14; }
.about__foot { position: absolute; left: max(var(--pad), 15vw); right: var(--pad); bottom: calc(var(--pad) + 26px); display: flex; justify-content: space-between; color: var(--mute); }

/* ---------- 3 numbers ---------- */
.numbers { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: var(--white); }
.numbers__media, .numbers__shade { position: absolute; inset: 0; }
.numbers__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.numbers__shade { background: linear-gradient(180deg, rgba(20, 40, 80, 0.28) 0%, rgba(20, 40, 80, 0) 45%, rgba(10, 16, 30, 0.42) 100%); }
.numbers__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: calc(var(--pad) * 2.6) var(--pad) 0; }
.num:nth-child(2) { text-align: center; } .num:nth-child(3) { text-align: right; }
.num__big { font: 800 clamp(90px, 15vw, 280px)/0.8 var(--display); letter-spacing: -0.06em; }
.num__cap { margin-top: 14px; font: 600 11px/1.35 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
.numbers__text { position: absolute; left: 50%; bottom: calc(var(--pad) * 2.4); width: min(560px, 86vw); transform: translateX(-50%); text-align: center; font: 500 16px/1.45 var(--text); letter-spacing: -0.005em; }
.numbers__text .sf { font: italic 400 1.3em/1 'Instrument Serif', Georgia, serif; }

/* ---------- 4 our care ---------- */
.care { position: relative; height: 560vh; background: var(--white); }
.care__stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr minmax(0, 36vw); overflow: hidden; }
.care__rule { position: absolute; z-index: 2; left: 0; right: 0; top: 12vh; border-top: 7px solid var(--ink); }   /* (one unbroken rule across the whole width, the photo hanging under it: it had looked cut where the photo began, Ajay) */
.care__rule .lab { position: absolute; left: var(--pad); top: 8px; }
.care__left { position: relative; padding: 0 var(--pad) var(--pad) max(var(--pad), 15vw); display: grid; align-content: end; }
.care__heads { position: relative; height: 1.86em; font: 800 clamp(40px, 5.6vw, 104px)/0.9 var(--display); letter-spacing: -0.045em; text-transform: uppercase; overflow: hidden; margin-bottom: 9vh; }
.care__head { position: absolute; left: 0; top: 0; font: inherit; white-space: nowrap; }
.care__head em { color: var(--blue-deep); }
.care__foot { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; }
.care__count { font: 500 12px/1 var(--text); letter-spacing: 0.06em; }
.care__notes { position: relative; height: 2.8em; max-width: 360px; font: 500 15px/1.4 var(--text); letter-spacing: -0.005em; }   /* (sentences in normal case, not capitals: Ajay) */
.care__note { position: absolute; left: 0; bottom: 0; }
.care__pics { position: relative; margin: calc(12vh + 7px) 0 0; overflow: hidden; }
.care__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 5 why ---------- */
.why { position: relative; height: 130vh; min-height: 820px; overflow: hidden; color: var(--white); }
.why__media, .why__shade { position: absolute; inset: 0; }
.why__media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 70%; }
.why__shade { background: linear-gradient(180deg, rgba(6, 12, 30, 0.2), rgba(6, 12, 30, 0) 40%, rgba(6, 12, 30, 0.55) 100%); }
.why__word { position: absolute; left: 0; white-space: nowrap; font: 800 clamp(110px, 19vw, 360px)/0.8 var(--display); letter-spacing: -0.06em; text-transform: uppercase; }
.why__word--a { top: 13vh; } .why__word--b { top: calc(13vh + 0.8em); left: 26vw; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9); }
/* a two-sided card that turns over slowly as you scroll, the door on its front and a visit on its back (Ajay, after
   the reference's turning panel) */
.why__card { position: absolute; right: 13vw; top: 38vh; width: clamp(200px, 16vw, 280px); aspect-ratio: 3 / 4; margin: 0; perspective: 1400px; }
.why__flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.why__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.why__face--back { transform: rotateY(180deg); }
.why__grid { position: absolute; left: max(var(--pad), 15vw); bottom: calc(var(--pad) * 2.2); display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); gap: 34px 60px; }
.why__k { font: 600 11px/1.2 var(--text); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; color: rgba(255, 255, 255, 0.58); }   /* (headings in capitals, dimmed and spaced so they read apart from the bright sentences under them: Ajay) */
.why__k::before { content: ''; display: block; width: 28px; height: 1px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.45); }
.why__v { font: 500 15px/1.4 var(--text); letter-spacing: -0.005em; }

/* ---------- 6 ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 4.4vh 0; background: var(--white); border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; }
.ticker__row { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 60px); padding-right: clamp(28px, 3.4vw, 60px); white-space: nowrap; font: 800 clamp(30px, 3.6vw, 64px)/1 var(--display); letter-spacing: -0.04em; text-transform: uppercase; }
.ticker__row i { font-style: normal; font-weight: 500; color: #B9BDC7; }   /* (a slash between the areas, not the mark: Ajay) */

/* ---------- 7 for carers ---------- */
.work { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--pad); min-height: 110vh; background: var(--paper); padding: calc(var(--pad) * 2.6) var(--pad) calc(var(--pad) * 2.2) max(var(--pad), 15vw); perspective: 1400px; }
.work__a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; }
.work__a .lab { color: var(--mute); }
.work__line { max-width: 15.5ch; font: 500 clamp(24px, 2.2vw, 38px)/1.12 var(--text); letter-spacing: -0.052em; }   /* (Inter, smaller and tighter: the big Manrope line looked off beside the capitals, Ajay) */
.work__cta { margin-top: 8px; padding: 14px 18px; background: var(--ink); color: var(--white); font: 700 11.5px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.3s; }
.work__cta:hover { background: var(--blue-deep); }
.work__b { display: flex; flex-direction: column; align-items: center; gap: 5vh; }
.work__head { align-self: flex-start; font: 800 clamp(40px, 4.6vw, 88px)/0.88 var(--display); letter-spacing: -0.045em; text-transform: uppercase; }
.work__head em.sf { font: italic 400 1.15em/0.8 'Instrument Serif', Georgia, serif; letter-spacing: -0.01em; text-transform: none; color: var(--blue-deep); }
.work__pic { width: 78%; aspect-ratio: 3 / 4; overflow: hidden; transform-origin: 50% 50%; }
.work__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.work__c { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; padding-bottom: 120px; }   /* (clear of the 3D mark in the corner) */
.work__pay { margin-top: 18vh; display: grid; justify-items: end; }
.work__lab { color: var(--mute); margin-bottom: 12px; }
.work__h3 { font: 800 clamp(34px, 3.6vw, 66px)/0.9 var(--display); letter-spacing: -0.045em; text-transform: uppercase; }
.work__cap { margin-top: 10px; max-width: 30ch; font: 500 15px/1.4 var(--text); letter-spacing: -0.005em; }
.work__big { font: 800 clamp(64px, 7vw, 132px)/1 var(--display); letter-spacing: -0.055em; }
.work__num .work__cap { margin-top: 18px; }   /* (clear of the descenders of "app": they had run into this line) */

/* ---------- 8 the people ---------- */
.people { position: relative; padding: calc(var(--pad) * 3) var(--pad) calc(var(--pad) * 3) max(var(--pad), 15vw); background: var(--white); }
.people__top { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 7vh; }
.people__top .lab { color: var(--mute); align-self: start; }
.people__head { text-align: right; font: 800 clamp(44px, 6vw, 112px)/0.88 var(--display); letter-spacing: -0.05em; text-transform: uppercase; }
.people__list { border-top: 1px solid var(--ink); }
.people__list li { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 0.7fr 0.7fr; align-items: baseline; padding: 2.4vh 0; border-bottom: 1px solid var(--line); cursor: default; transition: color 0.3s, padding 0.4s var(--ease); }
.people__list li span:first-child { font: italic 400 clamp(30px, 3.2vw, 56px)/1 'Instrument Serif', Georgia, serif; letter-spacing: -0.01em; }   /* (the names in the serif, like credits: Ajay) */
.people__list li span:not(:first-child) { font: 700 11.5px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
.people__list li span:last-child { text-align: right; }
.people__list li:hover { color: var(--blue-deep); padding-left: 14px; }
.people__float { position: fixed; left: 0; top: 0; z-index: 40; width: 220px; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0.85); }
.people__float img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }   /* (portraits: keep the face) */

/* ---------- 9 contact ---------- */
.contact { position: relative; padding: calc(var(--pad) * 3) var(--pad) calc(var(--pad) * 3.4) max(var(--pad), 15vw); background: var(--ink-2); color: var(--white); }
.contact .lab { color: rgba(255, 255, 255, 0.6); }
.contact__head { margin: 16px 0 8vh; font: 800 clamp(56px, 9.6vw, 190px)/0.84 var(--display); letter-spacing: -0.055em; text-transform: uppercase; }
.contact__head span { color: var(--blue); }
.contact__head em.sf { font: italic 400 1.1em/0.8 'Instrument Serif', Georgia, serif; letter-spacing: -0.01em; text-transform: none; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.contact__lead { max-width: 36ch; font: 500 clamp(17px, 1.4vw, 22px)/1.35 var(--display); letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.86); }
.contact__apps { display: flex; gap: 12px; margin-top: 32px; }
.contact__apps a { padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.4); font: 700 11.5px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.contact__apps a:hover { background: var(--white); color: var(--ink); }
.contact__form { display: grid; gap: 20px; }
.contact__form label { display: grid; gap: 8px; }
.contact__form label span { font: 500 11px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.contact__form input, .contact__form select { width: 100%; padding: 10px 0 12px; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); color: var(--white); font: 500 20px/1.2 var(--display); letter-spacing: -0.01em; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.contact__form select option { color: var(--ink); }
.contact__form input::placeholder { color: rgba(255, 255, 255, 0.35); }
.contact__form input:focus, .contact__form select:focus { border-bottom-color: var(--blue); }
.contact__form button { justify-self: start; margin-top: 10px; padding: 16px 22px; border: 0; background: var(--blue); color: var(--ink); font: 700 12px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.3s; }
.contact__form button:hover { background: var(--white); }
.contact__done { min-height: 1.3em; font: 500 14px/1.3 var(--display); color: var(--blue); }

/* ---------- 10 the foot, on the lawn ---------- */
.page { position: relative; z-index: 2; margin-bottom: 100vh; margin-bottom: 100svh; background: var(--white); }
.foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; height: 100vh; height: 100svh; overflow: hidden; color: var(--white); display: grid; grid-template-rows: auto 1fr auto auto; padding: calc(var(--pad) * 2.6) var(--pad) var(--pad); }
.foot__media, .foot__shade { position: absolute; inset: 0; z-index: -1; }
.foot__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.foot__shade { background: linear-gradient(180deg, rgba(10, 24, 50, 0.5) 0%, rgba(10, 24, 50, 0.12) 42%, rgba(8, 22, 8, 0.42) 100%); }
.foot__cols { grid-row: 1; position: relative; z-index: 2; display: flex; justify-content: flex-end; gap: clamp(40px, 5vw, 96px); }   /* (small capitals on the right, up in the sky: Ajay) */
.foot__cols p { display: grid; align-content: start; justify-items: start; gap: 7px; font: 600 11.5px/1.3 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }
.foot__cols b { font: 500 11px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; opacity: 0.65; }
.foot__cols a { opacity: 0.9; transition: opacity 0.3s; } .foot__cols a:hover { opacity: 1; text-decoration: underline; }
.foot__word { grid-row: 3; pointer-events: none; font: 600 clamp(70px, 16.6vw, 330px)/0.8 var(--name); letter-spacing: -0.055em; white-space: nowrap; margin: 0 -0.04em -0.06em; }
.foot__base { grid-row: 4; position: relative; z-index: 2; display: flex; justify-content: space-between; margin-top: 18px; font: 600 11px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- phones and small screens ---------- */
@media (max-width: 860px) {
  .ui__nav, .hero__scroll, .ui__count { display: none; }
  .hero { height: 240vh; }
  .hero__card { left: var(--pad); right: auto; width: min(300px, calc(100vw - var(--pad) * 2)); height: 200px; }
  .hero__pic, .hero__frame { width: 84vw; aspect-ratio: 4 / 5; }
  .hero__frame-line { font-size: clamp(22px, 6.4vw, 34px); }
  .hero__panel { clip-path: inset(50% 49% 50% 49%); }
  .about { height: 170vh; }
  .about__stick, .care__left, .people, .contact { padding-left: var(--pad); }
  .about__foot { left: var(--pad); }
  .numbers__row { grid-template-columns: 1fr; gap: 26px; padding-top: calc(var(--pad) * 4); }
  .num, .num:nth-child(2), .num:nth-child(3) { text-align: left; }
  .num__big { font-size: 26vw; }
  .numbers__text { bottom: var(--pad); text-align: left; left: var(--pad); transform: none; }
  .care { height: auto; }
  .care__stick { position: relative; height: auto; display: block; padding-bottom: calc(var(--pad) * 2); }
  .care__rule { position: relative; top: 0; margin-top: calc(var(--pad) * 3); }
  .care__left { padding-top: 60px; }
  .care__heads { height: auto; overflow: visible; margin-bottom: 0; }
  .care__head { position: relative; margin-bottom: 26px; white-space: normal; }
  .care__foot, .care__count { display: none; }
  .care__pics { display: none; }
  .why { height: auto; min-height: 100svh; padding-bottom: 40px; }
  .why__word { font-size: 30vw; }
  .why__card { display: none; }
  .why__grid { position: relative; left: 0; bottom: 0; padding: 62vh var(--pad) 0; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .work { grid-template-columns: 1fr; gap: 48px; padding-left: var(--pad); }
  .work__pic { width: 100%; }
  .work__c, .work__pay { align-items: flex-start; justify-items: start; text-align: left; margin-top: 0; gap: 40px; padding-bottom: 0; }
  .people__top { grid-template-columns: 1fr; gap: 16px; }
  .people__head { text-align: left; }
  .people__list li { grid-template-columns: 1fr auto; row-gap: 8px; }
  .people__list li span:nth-child(3), .people__list li span:nth-child(4) { display: none; }
  .people__float { display: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .foot__cols { gap: 30px; justify-content: flex-start; flex-wrap: wrap; }
  .foot__base { flex-direction: column; gap: 10px; }
  .foot__word { font-size: 16vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .about, .care { height: auto; }
  .hero__stick, .about__stick, .care__stick { position: relative; }
  .hero__panel { display: none; }
  .about__text .w { opacity: 1; }
}
