/*
  Appy Vibes — foundation.
  Website developed by pressific.com Emily Park, Dileep C. Kaluaratchie and Tech Generation Ltd.

  An app-studio site, dark register. Colours are the brand's own, read off the
  supplied SVG logos: orange #FF7A46 on a near-black navy #0D0D1A, with a cooler
  panel navy #202237 and muted #B7BBC8. The motion is the point of this build,
  so the visual system is deliberately restrained: one accent, a lot of black,
  generous space, and let the animation carry it.
*/

:root {
  --bg:        #0d0d1a;
  --bg-2:      #14142400;
  --panel:     #16182b;
  --panel-2:   #202237;
  --line:      rgba(183, 187, 200, 0.14);
  --ink:       #f4f5fb;
  --ink-soft:  rgba(244, 245, 251, 0.66);
  --muted:     #b7bbc8;
  --orange:    #ff7a46;
  --orange-2:  #ff9a6e;
  --orange-deep: #e2532180;
  /* cool secondary, used by tick marks and product accents. Defined here and
     not only on the Ounce page: the shared components below are used on the
     homepage too, and an undefined var there silently drops the colour. */
  --app:       #5b8cff;
  --app-2:     #7ea6ff;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1140px;
  --radius: 18px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1.05rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* height:auto matters: every image here carries width/height attributes for
   layout stability, and without this the attribute height wins over the aspect
   ratio and the picture is stretched. The Ounce screenshot shipped squashed
   into a tall rectangle exactly this way. */
img, svg { display: block; max-width: 100%; height: auto; }
canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.03; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; }

.wrap { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 12vw, 9rem) 0; position: relative; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 1.1rem;
}
.lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink-soft); max-width: 52ch; }

/* accent gradient text, used sparingly */
.grad {
  background: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 60%, #ffd0b8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 999px; font-weight: 650; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s var(--ease);
}
.btn--primary {
  color: #1a0d06; background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 30px -8px var(--orange-deep);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--orange-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-2); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--orange); color: #1a0d06; padding: .8rem 1.2rem; }
.skip:focus { left: 0; }

/* ---- header ---- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem);
  transition: padding .35s var(--ease), background .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-head.is-stuck {
  padding-block: .7rem; background: rgba(13,13,26,.72);
  backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 750; letter-spacing: -0.02em; font-size: 1.2rem; }
.brand svg, .brand img { width: 30px; height: 30px; }
.brand b { font-weight: 800; }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.site-head nav a { color: var(--ink-soft); font-size: .95rem; font-weight: 550; transition: color .2s var(--ease); }
.site-head nav a:hover { color: var(--ink); }
.site-head .btn { padding: .65rem 1.25rem; }
@media (max-width: 46rem) { .site-head nav a:not(.btn) { display: none; } }

/* ---- reveal primitives ----
   Every from-state here is gated behind .js, which an inline script in the page
   sets before any of this content renders. Written without that gate, a visitor
   with scripting off, a blocked asset, or a thrown error gets a page of
   invisible text. So: no JS, nothing is ever hidden. Reveals also only ever
   translate and fade; nothing here is the sole reason a thing is on screen.
   The headline's own from-state is applied by GSAP, not by CSS, so it can never
   outlive the script that is supposed to undo it. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* inline-block, not block: these wrap individual WORDS, and as blocks they put
   every word on its own line and turned the hero into a column. The mask that
   the words slide out of needs the overflow, so the wrapper stays an element
   rather than becoming a plain span. */
.reveal-line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .09em; }
.reveal-line > span { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal-line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================================
   HERO
   A WebGL field of drifting particles behind the headline. The canvas is
   decorative and additive: it fades in only once a frame has drawn, and the
   headline/CTA are complete HTML underneath it, so no WebGL means a clean dark
   hero rather than a blank one.
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.has-gl .hero__gl { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 8%, transparent 40%, var(--bg) 92%);
}
.hero__in { position: relative; z-index: 2; padding-block: 8rem 4rem; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem;
  padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem;
  color: var(--ink-soft); background: rgba(255,255,255,.02); }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { max-width: 16ch; }
.hero__lede { margin: 1.6rem 0 2.4rem; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--ink-soft); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; z-index: 2;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); opacity: .7; }
.hero__scroll span { display: block; width: 1px; height: 40px; margin: .6rem auto 0; background: linear-gradient(var(--orange), transparent); }

/* ============================================================================
   MARQUEE — a running statement of intent
   ========================================================================= */
.strip { border-block: 1px solid var(--line); overflow: hidden; padding: 1.5rem 0; background: var(--panel); }
.strip__track { display: flex; gap: 3rem; width: max-content; animation: strip 32s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item { display: flex; align-items: center; gap: 3rem; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); }
.strip__item::after { content: "✦"; color: var(--orange); font-size: .6em; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ============================================================================
   WHAT WE DO
   ========================================================================= */
.pitch { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .pitch { grid-template-columns: 1fr 1fr; align-items: center; } }
.pitch__head h2 { max-width: 14ch; }
.cards { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--orange-deep); }
.card__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(255,122,70,.12); color: var(--orange); font-size: 1.4rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ============================================================================
   APPS SHOWCASE
   ========================================================================= */
.app {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, var(--panel-2), var(--panel) 45%, var(--bg));
  position: relative; overflow: hidden;
}
@media (min-width: 62rem) { .app { grid-template-columns: 1fr 1.15fr; } .app--flip .app__media { order: -1; } }
.app__badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 650; letter-spacing: .04em; margin-bottom: 1.1rem; }
.app__badge--live { background: rgba(255,122,70,.14); color: var(--orange-2); }
.app__badge--soon { background: rgba(183,187,200,.12); color: var(--muted); }
.app__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.app__badge--live .dot { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,122,70,.5); } 50% { box-shadow: 0 0 0 6px rgba(255,122,70,0); } }
.app__title { display: flex; align-items: center; gap: .9rem; margin-bottom: .6rem; }
.app__title img { width: 56px; height: 56px; border-radius: 14px; }
.app__title h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.app__sub { color: var(--muted); font-size: .95rem; margin: 0 0 1.2rem; }
.app p { color: var(--ink-soft); }
/* three even columns rather than a wrapping flex row: the first stat's label is
   much longer than the others, so as flex it claimed a whole line to itself and
   left the other two orphaned underneath. */
.app__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0; }
@media (max-width: 26rem) { .app__stat span { font-size: .74rem; } }
.app__stat { }
.app__stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.app__stat span { font-size: .82rem; color: var(--muted); }
.app__price { display: inline-flex; align-items: baseline; gap: .5rem; margin: .5rem 0 1.5rem; }
.app__price b { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.app__price span { color: var(--muted); font-size: .9rem; }
.app__media { position: relative; }
.app__shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); width: 100%; }
.app__glow { position: absolute; inset: -20% -10% auto; height: 60%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,122,70,.35), transparent 70%); filter: blur(30px); }

/* The coming-soon card has no screenshot, so it must NOT inherit the two column
   app grid: doing so scattered its badge, title and blurb into separate columns
   with a hole where the artwork would be. One centred column instead. */
/* gap goes to zero too: the two column gap is 4.5rem, which stacked as vertical
   space left the badge, title and blurb drifting apart down the card. Spacing
   here comes from the elements' own margins. */
.app-soon { grid-template-columns: 1fr; gap: 0; text-align: center; justify-items: center; padding-block: clamp(3rem, 7vw, 5rem); }
.app-soon p { max-width: 46ch; }
.app-soon .app__title { justify-content: center; }
.app-soon .app__sub { max-width: 44ch; }
.app-soon__devices { display: flex; justify-content: center; gap: .8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.app-soon__devices span { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--muted); }

.apps-grid { display: grid; gap: 1.5rem; }

/* ============================================================================
   FOOTER
   ========================================================================= */
.site-foot { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.site-foot__grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.site-foot__brand { max-width: 34ch; }
.site-foot__brand p { color: var(--ink-soft); font-size: .95rem; margin: .8rem 0 0; }
.site-foot nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.site-foot nav a { color: var(--ink-soft); font-size: .95rem; transition: color .2s; }
.site-foot nav a:hover { color: var(--orange-2); }
.site-foot__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: var(--muted); }

/* condensed header dot for magnetic buttons handled in JS */
.magnetic { will-change: transform; }

/* Stop single words dropping to a line of their own. "so you don't have / to"
   was the giveaway on the coming-soon card. */
h1, h2, h3, .lede, .app__sub, .hero__lede { text-wrap: balance; }

/* the big cards travel a little further than a standard reveal */
.js .reveal--far { transform: translateY(44px); }

/* ============================================================================
   The platform's own footer credit block. It ships with the lock-in pack and
   inherits the default serif house style, which lands as a completely different
   typeface directly under our sans footer and reads as a mistake. It is a
   lock-in file so it is not edited; it is restyled from here to match.
   ========================================================================= */
.footer, .footer__inner { font-family: var(--sans); }
.footer__brand, .footer__copy, .footer__credit {
  font-family: var(--sans) !important;
  letter-spacing: 0; color: var(--muted);
}
.footer__brand { font-size: .95rem; font-weight: 650; color: var(--ink-soft); }
.footer__copy, .footer__credit { font-size: .78rem; line-height: 1.6; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--orange-2); }

/* ============================================================================
   OPENING
   Hidden unless .intro-running is set by the inline script, so a visitor whose
   scripts fail never meets a full-screen panel with nothing to remove it.
   ========================================================================= */
.intro { display: none; }
.intro-running .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
}
/* Deliberately NOT overflow:hidden on the document. Lenis initialises during
   the opening, and with the page locked it measured an unscrollable document
   and never recovered once the class came off: the site loaded and simply could
   not be scrolled. The opening holds scroll through lenis.stop() instead, which
   is reversible. */
.intro__stage { text-align: center; position: relative; }
.intro__mark { position: relative; display: inline-grid; place-items: center; margin-bottom: 1.6rem; }
.intro__mark img { width: clamp(84px, 12vw, 120px); height: auto; }
.intro__ring {
  position: absolute; inset: -38%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,122,70,.30), transparent 62%);
  filter: blur(14px); opacity: 0;
}
.intro__word {
  margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1; display: flex; gap: .32em; justify-content: center;
}
.intro__word span { display: inline-block; }
.intro__word span:last-child { color: var(--orange); }
.intro__tag {
  margin: .9rem 0 0; font-size: clamp(.85rem, 1.6vw, 1rem);
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
/* the sparks that converge into the mark; created by the script */
.intro__spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .intro-running .intro { display: none; } }

/* ============================================================================
   PROCESS STEPS, NATIVE EXPLAINER, TEAM
   Website developed by pressific.com Emily Park, Dileep C. Kaluaratchie and Tech Generation Ltd.
   ========================================================================= */
.feat__note { margin-top: 1.5rem; font-size: 1.05rem; color: var(--ink); font-weight: 600; }

.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 76rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg));
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--orange-deep); }
.step__n {
  display: block; font-size: .82rem; font-weight: 800; letter-spacing: .16em;
  color: var(--orange); margin-bottom: .9rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* a band of photographs, kept small so they support the text rather than shout */
.strip-photos { display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: repeat(3, 1fr); }
.strip-photos img { border-radius: var(--radius); object-fit: cover; width: 100%; height: clamp(120px, 18vw, 220px); }
@media (max-width: 40rem) { .strip-photos { grid-template-columns: 1fr 1fr; } .strip-photos img:last-child { display: none; } }

/* ---- team ---- */
.team { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.team li { text-align: center; }
.team__shot {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 1rem;
  /* the portraits are pencil on white paper, so they sit on a light disc rather
     than being knocked out onto the dark page, which would erase the pencil */
  background: #f2f1ee; border: 1px solid var(--line);
}
.team__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.team p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---- about ---- */
.about-hero { padding: clamp(7rem, 14vw, 10rem) 0 clamp(2rem, 5vw, 3rem); }
.about-hero h1 { max-width: 18ch; }
.about-hero .lede { margin-top: 1.5rem; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.about-shot { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.about-shot img { width: 100%; height: auto; }
.about-shot figcaption { padding: 1rem 1.2rem; font-size: .88rem; color: var(--muted); background: var(--panel); }
.prose { max-width: 62ch; }
.prose p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---- contact form ---- */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 62rem) { .contact { grid-template-columns: 1fr 1fr; } }
.form { display: grid; gap: 1.1rem; padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel), var(--bg)); }
.form label { display: grid; gap: .45rem; }
.form label > span { font-size: .88rem; font-weight: 600; color: var(--ink); }
.form label em { font-style: normal; color: var(--muted); font-weight: 400; }
.form input, .form textarea {
  font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); background: rgba(255,255,255,.06);
}
.form textarea { resize: vertical; min-height: 7rem; }
.form button { justify-self: start; }
.form__note { margin: 0; font-size: .85rem; color: var(--muted); }
.form__note a { color: var(--orange-2); text-decoration: underline; }
.form__ok { margin: 0; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem;
  background: rgba(255,122,70,.12); border: 1px solid var(--orange-deep); color: var(--ink); }
/* the platform's own status message, styled to match */
.form-status { margin: 0; font-size: .9rem; color: var(--muted); }

/* ============================================================================
   SHARED TWO COLUMN FEATURE BLOCK + TICK LISTS
   These were written inside ounce.css and then reused on the homepage,
   which does not load that file: the "website in a costume" section lost
   its grid entirely and rendered as a stacked block with a stranded image.
   They live here now because more than one page uses them.
   ========================================================================= */
/* ---- feature blocks ---- */
.feat { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 62rem) {
  .feat { grid-template-columns: 1fr 1fr; }
  .feat--flip .feat__media { order: -1; }
}
.feat__media img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
/* 15ch was set for a two or three word heading and squeezed a real sentence
   into four stacked lines. */
.feat h2 { max-width: 20ch; }
/* paragraphs need their own spacing here: without it the block ran on as one
   undifferentiated wall of text with no gap between thoughts. */
.feat p { color: var(--ink-soft); margin: 0 0 1.15rem; }
.feat p:last-of-type { margin-bottom: 0; }
/* a portrait-ish crop so the photograph carries its share of the column rather
   than floating as a small tile beside a tall stack of text */
.feat--photo .feat__media img { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; }

.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .85rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; align-items: start; color: var(--ink-soft); }
.ticks li::before { content: "✓"; color: var(--app-2); font-weight: 700; }
.ticks b { color: var(--ink); font-weight: 650; }


/* ============================================================================
   "APPS PEOPLE LIKE USING": a mosaic of people actually using their devices.
   Website developed by pressific.com Emily Park, Dileep C. Kaluaratchie and Tech Generation Ltd.
   Five photographs at deliberately different sizes so it reads as a wall of
   people rather than a tidy row of stock. Every tile crops to fill, so mixed
   source ratios cannot break the grid.
   ========================================================================= */
.loved__head { max-width: 62ch; }
.mosaic {
  display: grid; gap: .9rem; margin: 3rem 0 0;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(110px, 20vw, 190px);
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic__a { grid-column: span 2; grid-row: span 2; }
@media (min-width: 48rem) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 13vw, 180px); }
  .mosaic__a { grid-column: span 2; grid-row: span 2; }
  .mosaic__b { grid-column: span 2; grid-row: span 1; }
  .mosaic__c { grid-column: span 1; grid-row: span 1; }
  .mosaic__d { grid-column: span 1; grid-row: span 1; }
  .mosaic__e { grid-column: span 4; grid-row: span 1; }
}
@media (min-width: 68rem) {
  .mosaic { grid-template-columns: repeat(6, 1fr); }
  .mosaic__a { grid-column: span 3; grid-row: span 2; }
  .mosaic__b { grid-column: span 3; grid-row: span 1; }
  .mosaic__c { grid-column: span 1; grid-row: span 1; }
  .mosaic__d { grid-column: span 1; grid-row: span 1; }
  .mosaic__e { grid-column: span 1; grid-row: span 1; }
}
.loved__note {
  margin: 2.5rem 0 0; max-width: 48ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink); font-weight: 600;
}

/* Inside a half-width column a 3.8rem heading only fits three or four words per
   line, which turned a one sentence headline into a four line stack. The
   feature blocks get their own, smaller display size. */
.feat h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
/* the shorthand in `.feat p` above zeroes margin-top and outranks the note's own
   rule, so the closing line sat flush against the list */
.feat .feat__note { margin-top: 1.8rem; }

/* Faces sit in the upper half of these photographs, and a centred crop cut
   heads off in the short wide tiles. Bias the crop upward. */
.mosaic img { object-position: 50% 32%; }
.mosaic__b { object-position: 50% 22%; }
