/* Alexandre de Witt, portfolio. Plain CSS, no framework. */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #0f0f10;
  --muted: #62625f;
  --line: rgba(15, 15, 16, 0.1);
  --sage: #4a6650;
  --sage-soft: #e4ebe3;
  --blue: #2663eb; /* Wherart brand blue, used on the Wherart page only */
  --blue-soft: #e8eefd;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
/* CV timeline in About: the line draws itself as the block comes into view, then each step rises in turn */
.cv-timeline { list-style: none; margin: 48px 0 0; padding: 0; position: relative; }
.cv-timeline::before { content: none; }
.cv-timeline.is-in::before { transform: none; }
.cv-item { position: relative; padding: 0 0 26px 32px; }
.cv-item:last-child { padding-bottom: 0; }
.cv-item:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 17px; bottom: -5px; width: 2px; background: var(--ink); transform-origin: top; transform: scaleY(0); transition: transform 0.9s var(--ease); }
.cv-timeline.is-in .cv-item:not(:last-child)::after { transform: scaleY(1); }
.cv-item::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.cv-item time { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.cv-item strong { display: block; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.cv-item span { display: block; color: var(--muted); font-size: 0.9375rem; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .cv-item::after { transition: none; } }

/* Reading column: starts on the same left edge as .wrap (never centred), so blocks line up on case study pages */
.narrow { width: min(720px, 100% - 2 * var(--gutter)); margin-left: max(var(--gutter), calc(50% - var(--wrap) / 2)); margin-right: auto; }

/* Type scale: tracking tightens as size grows */
h1, h2, h3 { font-weight: 650; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--muted); letter-spacing: -0.008em; max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Header: translucent layer, content scrolls under it */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; text-decoration: none; }
.nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav a { text-decoration: none; font-size: 0.9375rem; color: var(--muted); transition: color 0.15s; padding: 8px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Buttons: feedback on press, instant */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: transform 0.12s ease-out, background 0.2s, color 0.2s;
}
.btn:hover { background: #2a2a2c; }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Sections */
section { padding-block: clamp(77px, 13.2vw, 168px); }
.section-head { margin-bottom: clamp(32px, 6vw, 64px); max-width: 780px; }
/* Selected work section: a quarter of the original space above it (section padding was clamp(64px, 11vw, 140px)) */
#work { padding-top: clamp(19px, 3.3vw, 42px); }
/* Same title size as the About statement */
#work h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; }

/* Hero */
.hero { padding-top: clamp(67px, 12vw, 154px); padding-bottom: clamp(58px, 9.6vw, 115px); }
.hero h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(0.4em); animation: rise 0.9s var(--ease) forwards; }
.hero .lead, .hero .btn-row { opacity: 0; animation: rise 0.9s var(--ease) 0.5s forwards; }
.hero .btn-row { animation-delay: 0.65s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; font-weight: 650; }
.fact span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9375rem; max-width: 22em; }

/* Project cards */
.projects { display: grid; gap: 24px; }
.card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  background: var(--surface); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 5vw, 56px);
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15, 15, 16, 0.25); }
.card:active { transform: scale(0.992); }
.card .tag { font-size: 0.8125rem; font-weight: 600; color: var(--sage); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.card h3 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; }
.card h3.catch { font-size: clamp(1.4rem, 2.8vw, 2rem); letter-spacing: -0.02em; line-height: 1.18; font-weight: 600; }
.card p { color: var(--muted); max-width: 30em; }
.card .more { font-weight: 600; font-size: 1rem; display: inline-flex; gap: 8px; margin-top: 8px; }
.card .more i { font-style: normal; transition: transform 0.3s var(--ease); }
.card:hover .more i { transform: translateX(6px); }
.card .shots { display: flex; justify-content: center; align-items: flex-start; gap: 12px; }
.card .shots img { width: 31%; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35); }
.card .shots img:nth-child(2) { transform: translateY(24px); }
.card.wherart { background: var(--blue-soft); }
.card.wherart .tag { color: #1e40af; }
.card.small { grid-template-columns: 1fr 1fr; }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
/* The About title is a full sentence, so it uses the card title scale instead of the section scale */
.about-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; }

/* Contact */
.contact { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 12px); padding: clamp(40px, 8vw, 96px); margin-bottom: 24px; }
.contact h2 { max-width: 14em; }
/* On desktop, keep the headline on one line */
@media (min-width: 861px) { .contact h2 { max-width: none; white-space: nowrap; } }
.contact .lead { color: rgba(255, 255, 255, 0.7); margin-top: 20px; }
.contact .btn { background: #fff; color: var(--ink); border-color: #fff; }
.contact .btn:hover { background: #e9e9e9; }
.contact .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.contact .btn.ghost:hover { border-color: #fff; }
.contact :focus-visible { outline-color: #b9d1bd; }
.contact-lines a { text-decoration: none; }
.contact-lines { margin-top: 32px; font-size: 1.0625rem; color: rgba(255, 255, 255, 0.85); }
.site-footer { padding: 32px 0 48px; color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Case study pages */
.cs-hero { padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); }
.back { text-decoration: none; color: var(--muted); font-size: 0.9375rem; display: inline-block; margin-bottom: 40px; }
.back:hover { color: var(--ink); }
.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.meta dt { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.meta dd { margin: 0; font-size: 0.9875rem; }
.cs section { padding-block: clamp(24px, 3.375vw, 48px); }
.cs h2 { margin-bottom: 24px; }
.cs .narrow p, .cs .narrow li { color: #2b2b2b; }
.cs .insight { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.2; font-weight: 600; max-width: 22em; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-block: 32px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-size: 2rem; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { display: block; font-size: 0.875rem; color: var(--muted); margin-top: 6px; }
.note { border-left: 3px solid var(--sage); padding: 4px 0 4px 18px; color: var(--muted); font-size: 0.9875rem; margin-block: 24px; }

.finding-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.finding-list li { background: var(--surface); border-radius: 14px; padding: 16px 20px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; }
.finding-list b { font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.good b { color: var(--sage); }
.bad b { color: #a3402c; }

.decisions { display: grid; gap: 16px; margin-top: 24px; }
.decision { background: var(--surface); border-radius: var(--radius); padding: 24px 28px; }
.decision h3 { margin-bottom: 6px; }
.decision p { margin: 0; color: var(--muted); }
.decision .alt { margin-top: 10px; font-size: 0.9375rem; }
.decision .alt b { color: var(--ink); font-weight: 600; }

/* Browsers give <figure> a 40px side margin by default; reset it so screens align with .wrap */
.fig { margin-block: 40px; margin-inline: 0; }

/* Success targets: cards per feature, plus a common status card. Values are goals, never results */
.target-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
/* Ornikar has three feature cards: let them sit on one row, wider than the 720px reading column */
.target-cards--row { width: min(var(--wrap), 100vw - 2 * var(--gutter)); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .target-cards--row { grid-template-columns: 1fr; } }
.target-card { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.target-card h3 { margin-bottom: 16px; }
.target-card ul { list-style: none; margin: 0; padding: 0; }
.target-card li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9875rem; }
.target-card li:first-child { border-top: 0; padding-top: 0; }
.target-card .figure { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin-bottom: 4px; }
.fig figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 12px; max-width: 40em; }
/* Every phone mockup in a gallery has the same width (252px, the size of the last Choose gallery) */
.screens { display: grid; grid-template-columns: repeat(auto-fill, 252px); justify-content: start; gap: 30px; align-items: start; }
/* Same phone frame height for every capture; contain keeps a non-phone screenshot whole */
/* Ornikar galleries: every screen at the same fixed width, so top and bottom galleries match */
.screens img { aspect-ratio: 375 / 812; object-fit: contain; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.3); background: #fff; }
.wide-img { border-radius: var(--radius); width: 100%; }

/* Pinned phone showcase (Wherart) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); }
.showcase .steps { padding-block: 10vh; }
/* Inactive steps keep full contrast (dimming body text fails WCAG 1.4.3); only the accent rule marks the active one */
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding-left: 24px; border-left: 2px solid var(--line); transition: border-color 0.5s var(--ease); }
.step.is-active { border-left-color: var(--ink); }
.wherart-page .step.is-active { border-left-color: var(--blue); }
.step h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.03em; margin-bottom: 12px; line-height: 1.1; }
.step p { color: var(--muted); max-width: 26em; }
.phone-stage { position: sticky; top: 90px; height: calc(100vh - 120px); display: grid; place-items: center; }
.phone { position: relative; height: min(100%, 640px); aspect-ratio: 720 / 1561; border-radius: 40px; background: #0f0f10; padding: 6px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
.phone img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 34px; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.phone img.is-active { opacity: 1; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }

/* Gallery screens rise one after another when their block comes into view */
.reveal:not(.is-in) .screens img { opacity: 0; transform: translateY(32px); }
.screens img { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.screens img:nth-child(2) { transition-delay: 0.12s; }
.screens img:nth-child(3) { transition-delay: 0.24s; }

/* Project cards: the mockups lift slightly on hover (translate keeps the existing offsets) */
.card .shots img { transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.card:hover .shots img { translate: 0 -8px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.4); }

.next { display: flex; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.next a { text-decoration: none; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; }
.next small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; margin-bottom: 2px; }

.wherart-page .eyebrow, .wherart-page .good b { color: var(--blue); }
.wherart-page .note { border-color: var(--blue); }

/* Responsive */
@media (max-width: 860px) {
  .card, .card.small { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about img { max-width: 280px; }
  .meta { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .showcase { grid-template-columns: 1fr; }
  .phone-stage { top: 64px; height: 56vh; z-index: 2; background: linear-gradient(var(--bg) 85%, transparent); }
  .step { min-height: 46vh; }
}

/* Reduced motion: keep comprehension, drop movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .w, .hero .lead, .hero .btn-row { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone img { transition: opacity 0.2s; transform: none; }
  .card, .card:hover { transform: none; transition: none; }
  .screens img, .card .shots img { transition: none; transform: none; opacity: 1; translate: none; }
  .card:hover .shots img { box-shadow: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print { .site-header { position: static; } .reveal { opacity: 1; transform: none; } }

/* Big wordmark: the logo is 11x its former size (1000% larger) at the top of every page.
   It scrolls away; a slim sticky bar with a small logo and the nav takes over. */
.site-header { position: relative; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
.site-header .wrap { height: auto; align-items: center; padding-top: 12px; }
.site-header .logo { font-size: clamp(1.594rem, 8.925vw, 4.734rem); line-height: 0.9; letter-spacing: -0.055em; margin-left: -0.04em; }
.site-header .nav { padding-bottom: 0; }
.mini-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(246, 245, 241, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%); transition: transform 0.45s var(--ease);
}
.mini-bar.show { transform: none; }
.mini-bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mini-bar .logo { font-size: 1.35rem; line-height: 1; }
.hero { padding-top: clamp(29px, 4.8vw, 67px); }
.cs-hero { padding-top: clamp(16px, 3vw, 40px); }
@media (prefers-reduced-motion: reduce) { .mini-bar { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .mini-bar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 860px) { .site-header .wrap { flex-wrap: wrap; } .nav a { padding-block: 12px; } }

/* Placeholders for mockups still to be added, and tester quotes */
.placeholder { aspect-ratio: 375 / 812; border: 1.5px dashed rgba(15, 15, 16, 0.3); border-radius: 18px; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--muted); font-size: 0.875rem; background: rgba(255, 255, 255, 0.6); }
.placeholder.wide { aspect-ratio: 16 / 9; width: 100%; margin-block: 24px; }
.quotes { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.quotes li { background: var(--surface); border-radius: 14px; padding: 16px 20px; color: var(--ink); font-size: 0.9375rem; }

/* User journey diagrams (inline SVG, vertical so they read at phone width) */
.journey { max-width: 420px; }
.journey-svg { width: 100%; height: auto; display: block; }

/* Case study videos: same rounded corners as the mockups */
.case-video { display: block; width: 252px; max-width: 100%; aspect-ratio: 1170 / 2532; height: auto; object-fit: cover; margin: 0; border-radius: 28px; background: none; }

/* Three benchmark screens side by side; the phone frame used for tall screenshots */
.device { background: #0f0f10; border-radius: 46px; padding: 8px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45); }
.device img { border-radius: 38px; }

/* Local proposal: one accent colour per case study (A), serif headings (B), tinted sections (C) */
.ornikar-page { --accent: #5b4bea; --band: #eeecfd; }
.choose-page { --accent: #1f4d3a; --band: #e4ebe3; }
.wherart-page { --accent: #2663eb; --band: #e8eefd; }
.cs .eyebrow { color: var(--accent); }
.cs .note { border-left-color: var(--accent); }

.cs section.band { background: var(--band); }

/* Three benchmark screens on one row: the row is wider than the 720px reading column, so it may run past it on desktop */
.screens.trio { width: max-content; max-width: none; display: flex; flex-wrap: nowrap; gap: 30px; }
.screens.trio > img { flex: 0 0 252px; width: 252px; }
@media (max-width: 860px) { .screens.trio { width: auto; max-width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 1fr)); } .screens.trio > img { width: auto; flex: none; } }

/* Two screens side by side in a figure (What we changed): one row, not wrapped by the 520px cap */
.screens.row { width: max-content; max-width: none; display: flex; flex-wrap: nowrap; gap: 30px; }
.screens.row > img, .screens.row > .device { flex: 0 0 252px; width: 252px; }
@media (max-width: 860px) { .screens.row { width: auto; max-width: 100%; grid-template-columns: repeat(auto-fill, minmax(0, 1fr)); } }

/* What we changed: spacing between sub-parts is 50% larger (40px to 60px); the gap before the V2 video uses the same 60px */
.cs section.gap-50 { padding-bottom: 60px; }
.cs section.gap-50 .fig { margin-block: 40px 0; }
.cs section.gap-50 .fig + .fig { margin-top: 60px; }
.cs section.video-section { padding-top: 0; }

/* On small screens the explicit column counts give way to fluid columns */
@media (max-width: 860px) { .screens.row, .screens.trio { display: grid; grid-template-columns: repeat(auto-fill, minmax(0, 1fr)); } .screens.row > img, .screens.row > .device { width: auto; flex: none; } }
