:root {
  --blue: #3a5bd9;
  --green: #2e9e6b;
  --yellow: #f5b62a;
  --red: #f2543d;
  --ink: #1f1b16;
  --cream: #f6efe4;
  --stone: #e4dccd;
  --white: #fff;
  --muted: rgba(31, 27, 22, .75);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4.5vw, 64px);
  --radius: clamp(28px, 3vw, 44px);
}

/* One colour per product. Ink on yellow and red, white on blue and green. */
.p-learn { --brand: var(--yellow); }
.p-tech { --brand: var(--red); }
.p-learn, .p-tech { --on: var(--ink); --on-soft: rgba(31, 27, 22, .82); --dim: rgba(31, 27, 22, .16); }
.p-3d { --brand: var(--green); }
.p-stickers { --brand: var(--blue); }
.p-3d, .p-stickers { --on: var(--white); --on-soft: rgba(255, 255, 255, .92); --dim: rgba(255, 255, 255, .3); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(38px, 5.6vw, 84px); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }

/* Four-pill E. --u is one bar height. Product marks light one pill only. */
.mark {
  --u: 8px;
  --off: var(--stone);
  display: grid;
  flex: none;
  grid-template-columns: repeat(3, var(--u));
  grid-template-rows: var(--u) calc(var(--u) * 1.6) var(--u);
  gap: calc(var(--u) * .27);
}
.mark i { border-radius: 999px; background: var(--off); }
.mark i:nth-child(1), .mark i:nth-child(4) { grid-column: 1 / 4; }
.mark--learn i:nth-child(1) { background: var(--on-pill, var(--yellow)); }
.mark--tech i:nth-child(2) { background: var(--on-pill, var(--red)); }
.mark--3d i:nth-child(3) { background: var(--on-pill, var(--green)); }
.mark--stickers i:nth-child(4) { background: var(--on-pill, var(--blue)); }

.sublogo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}
.sublogo span span { font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--small { height: 42px; padding: 0 20px; font-size: 15px; }
.btn--brand { background: var(--brand); color: var(--on); }

/* Floating nav capsule */
.nav-shell { position: sticky; top: 0; z-index: 10; height: 0; padding-inline: var(--gutter); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 980px;
  margin: 14px auto 0;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(31, 27, 22, .1);
}
.nav__links { display: flex; gap: 4px; font-weight: 600; font-size: 15px; }
.nav__links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.nav__links a:hover { background: var(--stone); }

/* Hero: the product colour leads. */
.hero { background: var(--brand); color: var(--on); border-radius: 0 0 var(--radius) var(--radius); }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: min(88svh, 820px);
  padding-block: 128px 72px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 { font-size: clamp(48px, 8.2vw, 128px); line-height: .9; letter-spacing: -.055em; }
.hero__copy p { font-size: clamp(18px, 1.7vw, 23px); color: var(--on-soft); max-width: 28em; }
.hero__spec { font-family: var(--mono); font-weight: 500; font-size: 13px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { background: var(--on); color: var(--brand); }
.p-learn .hero .btn, .p-tech .hero .btn { color: var(--white); }
.p-3d .hero .btn, .p-stickers .hero .btn { color: var(--ink); }
.hero .btn.btn--quiet { background: var(--dim); color: var(--on); }

.hero .mark { --u: min(8vw, 10svh); --off: var(--dim); --on-pill: var(--on); margin-right: clamp(0px, 3vw, 48px); }
/* The lit pill prints once on load. */
.hero .mark--learn i:nth-child(1), .hero .mark--stickers i:nth-child(4) { animation: print-x 1s .25s cubic-bezier(.3, .9, .3, 1) backwards; }
.hero .mark--tech i:nth-child(2), .hero .mark--3d i:nth-child(3) { animation: print-y 1s .25s cubic-bezier(.3, .9, .3, 1) backwards; }
@keyframes print-x { from { clip-path: inset(0 100% 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }
@keyframes print-y { from { clip-path: inset(100% 0 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }

/* What we make */
.offer { padding-block: clamp(56px, 8vw, 120px); }
/* Photo band with the section heading set in its empty top-left corner. */
.showcase { position: relative; margin-bottom: clamp(12px, 1.4vw, 20px); border-radius: var(--radius); overflow: hidden; }
.showcase h2 { position: absolute; top: clamp(24px, 3.4vw, 52px); left: clamp(24px, 3.4vw, 52px); }
.showcase img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: var(--focus, 100% 50%); }
.p-learn .showcase img { --focus: 60% 60%; }
.p-tech .showcase img { --focus: 50% 70%; }
.offer__grid li.has-img { padding: 0; overflow: hidden; justify-content: flex-start; gap: 0; }
.offer__grid li.has-img::before { display: none; }
.offer__grid li.has-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.offer__grid li.has-img div { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 36px); }
.offer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.offer__grid li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 260px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: clamp(24px, 2.4vw, 36px);
  background: var(--white);
}
.offer__grid li::before { content: ''; width: 56px; height: 20px; border-radius: 999px; background: var(--brand); margin-bottom: auto; }
.offer__grid h3 { font-size: clamp(28px, 3vw, 42px); }
.offer__grid p { color: var(--muted); }

/* How it works: a real sequence, so it is numbered. */
.steps { background: var(--white); border-radius: var(--radius); padding-block: clamp(48px, 7vw, 104px); }
.steps__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 22px;
  border-top: 2px solid var(--stone);
}
.steps li:last-child { border-bottom: 2px solid var(--stone); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 18px;
}
.steps h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.05; align-self: end; }
.steps li p { color: var(--muted); }

/* Call to action */
.cta-wrap { padding-block: clamp(16px, 2vw, 24px); }
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: clamp(32px, 6vw, 88px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}
.cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .75); }

/* More from Elty: the other products stay grey. */
.more { padding-block: clamp(48px, 6vw, 88px); }
.more h2 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.03em; margin-bottom: 20px; }
.more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--stone);
  transition: background .18s ease, transform .18s ease;
}
.more__list a:hover { background: var(--white); transform: translateY(-3px); }
.more__list .mark { --u: 9px; --off: rgba(31, 27, 22, .14); }

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: rgba(31, 27, 22, .65);
}
.footer__strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 10px; background: var(--stone); }
.footer__strip i { background: var(--brand); }
.p-stickers .footer__strip i { grid-column: 1; }
.p-3d .footer__strip i { grid-column: 2; }
.p-learn .footer__strip i { grid-column: 3; }
.p-tech .footer__strip i { grid-column: 4; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav { gap: 10px; padding-left: 16px; }
  .nav .sublogo { font-size: 19px; }
  .nav .btn { padding: 0 14px; font-size: 14px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 112px 48px; }
  .hero .mark { --u: 30px; order: -1; margin: 0; }
  .offer__grid, .more__list { grid-template-columns: 1fr; }
  .offer__grid li { min-height: 200px; }
  .showcase { overflow: visible; }
  .showcase h2 { position: static; margin-bottom: 20px; }
  .showcase img { aspect-ratio: 4 / 3; border-radius: clamp(24px, 2.4vw, 36px); }
  .p-stickers .showcase img, .p-3d .showcase img { --focus: 92% 50%; }
  .steps__inner, .cta { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
