:root {
  --primary: #2563EB;
  --primary-ink: #1D4ED8;
  --accent: #22D3EE;
  --accent-hover: #1D4ED8;
  --accent-ink: #1D4ED8;
  --ink: #0F172A;
  --dark: #0F172A;
  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --ph: #E6ECF4;
  --deep-ph: #1E293B;
  --text: #334155;
  --muted: #526077;
  --on-dark: #CBD5E1;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --gap-section: 96px;
  --radius: 10px;
  --title: "Space Grotesk", Arial, sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html:has(.menu[open]) { overflow: hidden; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-strong) var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--body);
  overflow-x: clip;
}
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; color: transparent; }
img.is-missing { visibility: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
svg.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
h1, h2, h3 {
  font-family: var(--title);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}
::selection { background: var(--accent); color: var(--dark); }
input { caret-color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.footer :focus-visible, .menu :focus-visible { outline-color: var(--accent); }
.topbar :focus-visible { outline-color: #fff; outline-offset: -2px; }

.wrap { width: min(100%, calc(var(--wrap) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: var(--gap-section); }
.section-title { font-size: 34px; margin-bottom: 32px; }
.section-title.center { text-align: center; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--surface); padding: 10px 18px; border-radius: 999px;
  transition: top 200ms var(--ease);
}
.skip:focus { top: 8px; }
.media { background: var(--ph); overflow: hidden; }
.media img { transition: transform 280ms var(--ease); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 26px;
  border-radius: 999px;
  background: var(--accent); color: var(--dark);
  font-weight: 600; font-size: 15px;
  transition: background-color 250ms ease, transform 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }

/* Header */
.topbar { background: var(--primary); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: flex-end; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.topbar svg.icon { width: 15px; height: 15px; }
.header { background: var(--surface); }
.header-main { display: flex; align-items: center; gap: 40px; padding-block: 16px; }
.logo { display: inline-flex; align-items: center; height: 40px; flex: none; }
.logo img { width: auto; height: 100%; object-fit: contain; }
.logo-text {
  font: 700 22px/1 var(--title);
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink);
}
.footer .logo { height: 36px; }
.footer .logo img { filter: brightness(0) invert(1); }
.footer .logo-text { color: #fff; }

.search { position: relative; flex: 1; display: flex; align-items: center; }
.search > svg.icon { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 44px; padding: 0 20px 0 48px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  outline-offset: 0;
  transition: border-color 250ms ease;
  appearance: none;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search-results {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.14);
  padding: 8px;
  transform-origin: top center;
  animation: pop 180ms var(--ease);
}
.search-results a, .search-results p { display: block; padding: 10px 12px; border-radius: 6px; }
.search-results a { transition: background-color 200ms ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }

.nav { border-top: 1px solid var(--line); }
.nav ul { display: flex; gap: 32px; }
.nav a {
  display: flex; align-items: center; gap: 8px;
  min-height: 48px;
  color: var(--ink); font-weight: 500; font-size: 14px;
  transition: color 250ms ease;
}
.nav a[aria-current="page"] { color: var(--accent-ink); }
.menu-open { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); margin-left: auto; }
.menu-open svg.icon, .menu-close svg.icon { width: 26px; height: 26px; }

.menu {
  position: fixed; inset: 0; width: 100%; height: 100dvh;
  max-width: none; max-height: none; margin: 0; border: 0;
  padding: 16px var(--gutter) 32px;
  background: var(--dark); color: #fff;
}
.menu[open] { animation: menu-in 240ms var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } }
.menu-close { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-left: auto; }
.menu a {
  display: flex; align-items: center; gap: 16px; min-height: 60px;
  font: 500 26px/1 var(--title);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.menu svg.icon { color: var(--accent); }
.menu .menu-close svg.icon { color: #fff; }

/* Carousel */
.hero { position: relative; overflow: hidden; aspect-ratio: 18 / 7; min-height: 440px; max-height: 660px; width: 100%; background: var(--ph); }
.slide { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.slide.is-active { visibility: visible; }
.slide-img { position: absolute; inset: 0; background: var(--ph); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(245 248 252 / 0.92) 0%, rgb(245 248 252 / 0.72) 32%, rgb(245 248 252 / 0) 60%);
}
.slide .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-copy { max-width: 500px; padding-left: 40px; }
.slide-copy h1, .slide-copy h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.06; margin-bottom: 24px; }
.m-enter:not(.m-enter-done) .slide.is-active .slide-copy > * { opacity: 0; transform: translateY(8px); }
.slide-copy > * { transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.hero-arrow {
  position: absolute; z-index: 5; top: 50%; margin-top: -22px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.16);
  transition: background-color 250ms ease, color 250ms ease, transform 160ms var(--ease);
}
.hero-arrow:active { transform: scale(0.97); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots {
  position: absolute; z-index: 5; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center;
  padding-inline: 8px; border-radius: 999px; background: var(--surface);
}
.hero-dots button { display: flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; }
.hero-dots span { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); transition: width 250ms var(--ease), background-color 250ms ease; }
.hero-dots [aria-current="true"] { min-width: 40px; }
.hero-pause { color: var(--ink); }
.hero-dots .hero-pause span { width: auto; height: auto; background: none; border-radius: 0; }
.hero-pause svg.icon { display: block; width: 16px; height: 16px; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-dots [aria-current="true"] span { width: 24px; background: var(--accent); }

/* Category circles */
.circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.circle { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; }
.circle img { transform: scale(1.1); transition: transform 300ms var(--ease); }
.pill {
  display: inline-block; background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 7px 20px;
  font: 600 18px/1.25 var(--title); white-space: nowrap;
  box-shadow: 0 2px 8px rgb(15 23 42 / 0.12);
}
.circle .pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Products */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .section-title { margin: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tabs button {
  position: relative; min-height: 44px; min-width: 44px; color: var(--muted);
  font-size: 14px; font-weight: 500;
  transition: color 250ms ease;
}
.tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease);
}
.tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.tabs button[aria-pressed="true"]::after { transform: scaleX(1); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 12px 16px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.card .media { aspect-ratio: 1; border-radius: 6px; }
.card-name { font: 500 19px/1.2 var(--title); color: var(--ink); padding-inline: 4px; }
.empty a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Category tall cards */
.talls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tall { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); }
.tall .pill { position: absolute; left: 14px; top: 14px; }

/* Masonry */
.masonry-wrap { width: min(100%, 1640px); margin-inline: auto; padding-inline: var(--gutter); }
.masonry { columns: 3; column-gap: 16px; }
.masonry > * { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); }
.masonry-block {
  aspect-ratio: 3 / 2;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px;
  font: 500 clamp(24px, 2vw, 32px)/1.1 var(--title);
  letter-spacing: 0.02em;
}

/* Collection */
.collection { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.25fr); gap: 20px; align-items: end; }
.collection .grid { grid-template-columns: repeat(3, 1fr); }
.spots { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.spot {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: flex; align-items: center; justify-content: center;
}
.spot-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 2px 10px rgb(15 23 42 / 0.24);
  animation: spot-pulse 2s ease-in-out infinite;
}
.spot-btn svg.icon { width: 16px; height: 16px; stroke-width: 2; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgb(255 255 255 / 0.7);
  animation: spot-sonar 2s infinite;
}
.spot .pill {
  position: absolute; bottom: calc(100% + 2px); left: 50%; translate: -50% 0;
  font-size: 16px; padding: 5px 14px;
  opacity: 0; transform: translateY(4px) scale(0.97); transform-origin: bottom center;
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.spot:focus-visible .pill { opacity: 1; transform: none; }
@keyframes spot-pulse { 50% { transform: scale(1.2); } }
@keyframes spot-sonar {
  0% { opacity: 0; transform: scale(0.2); }
  50% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1); }
}

/* How we work */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.how-media { position: relative; }
.how-media::before {
  content: ""; position: absolute; left: -12%; bottom: -9%; width: 72%; aspect-ratio: 1 / 1.1;
  background: var(--ph);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.how-media .media { position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius); }
.how-list { display: grid; gap: 18px; margin-bottom: 40px; }
.how-list li { position: relative; padding-left: 24px; font-size: 18px; line-height: 1.45; color: var(--ink); }
.how-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.capsule { position: relative; aspect-ratio: 2 / 1; border-radius: 999px; display: grid; place-items: center; }
.capsule img { position: absolute; inset: 0; }
.capsule::after { content: ""; position: absolute; inset: 0; background: rgb(15 23 42 / 0.58); }
.capsule p {
  position: relative; z-index: 1; color: #fff; text-align: center; max-width: 72%;
  font: 500 clamp(22px, 2.3vw, 32px)/1.15 var(--title);
  text-wrap: balance;
}

/* Story */
.story { max-width: 820px; }
.story p + p { margin-top: 14px; }
.story-fade { -webkit-mask-image: linear-gradient(#000 10%, transparent 95%); mask-image: linear-gradient(#000 10%, transparent 95%); }
.more-link {
  display: inline-block; margin-top: 8px; padding-block: 11px;
  color: var(--accent-ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: text-decoration-color 250ms ease;
}

/* Inner pages */
.page-top { margin-top: 56px; }
.page-title { font-size: 44px; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.detail .media { aspect-ratio: 1; border-radius: var(--radius); }
.detail h1 { font-size: 44px; margin-bottom: 14px; }
.detail-intro { font-size: 16px; max-width: 56ch; margin-bottom: 24px; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.specs th, .specs td { padding: 13px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 1px solid var(--line); }
.specs th { width: 34%; font-weight: 600; color: var(--ink); }
.about-img { aspect-ratio: 2 / 1; border-radius: var(--radius); margin-top: 28px; }
.prose { max-width: 68ch; font-size: 16px; }
.prose p + p { margin-top: 14px; }
.wrap.prose { max-width: none; }
.wrap.prose > p { max-width: 68ch; }
.prose-lead { font: 500 26px/1.25 var(--title); color: var(--ink); }
.prose .section-title { margin-bottom: 18px; }
.about-cta { margin-top: 22px; }
.asks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.ask { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; }
.ask-img { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); }
.ask h3 { font-size: 24px; margin-bottom: 8px; }
.ask h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 250ms ease; }
.contact { display: grid; gap: 20px; justify-items: start; }
.contact-mail { font: 500 clamp(26px, 6vw, 56px)/1.1 var(--title); color: var(--ink); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.notfound { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }

/* Footer */
.footer { margin-top: var(--gap-section); background: var(--dark); color: var(--on-dark); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-block: 56px 40px; }
.footer a:not(.logo) { display: inline-block; padding-block: 6px; transition: color 250ms ease; }
.footer-mail a { color: #fff; font-weight: 600; }
.footer-legal { border-top: 1px solid rgb(255 255 255 / 0.12); padding-block: 18px; font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); }
  .hero-arrow:hover { background: var(--primary); color: #fff; }
  .nav a:hover, .tabs button:hover { color: var(--accent-ink); }
  .search input:hover { border-color: var(--line-strong); }
  .search-results a:hover { background: var(--bg); }
  .circle:hover img { transform: scale(1); }
  .card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(15 23 42 / 0.1); }
  .card:hover img, .tall:hover img { transform: scale(1.03); }
  .spot:hover .pill { opacity: 1; transform: none; }
  .more-link:hover { text-decoration-color: currentColor; }
  .ask h3 a:hover { text-decoration-color: currentColor; }
  .ask-img:hover img { transform: scale(1.03); }
  .footer a:not(.logo):hover { color: var(--accent); }
}

@media (max-width: 1023px) {
  :root { --gap-section: 72px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav ul { gap: 20px; }
  .collection { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .pill { font-size: 16px; padding: 6px 14px; }
  .how { gap: 48px; }
  .detail { gap: 32px; }
  .slide-copy { padding-left: 56px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-open { display: flex; }
  .header-main { flex-wrap: wrap; gap: 8px 16px; padding-block: 10px 12px; }
  .search { order: 3; flex-basis: 100%; }
  .how, .detail { grid-template-columns: 1fr; }
  .asks { grid-template-columns: 1fr; gap: 32px; }
  .how-media::before { left: -6%; width: 44%; }
  .how-media .media { aspect-ratio: 16 / 10; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; --gap-section: 60px; }
  .section-title { font-size: 28px; margin-bottom: 22px; }
  .page-title, .detail h1 { font-size: 36px; }
  .topbar .wrap { justify-content: center; }
  .topbar a { min-height: 44px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .collection .grid { gap: 8px; }
  .collection .card { padding: 8px 8px 12px; }
  .collection .card-name { font-size: 15px; padding-inline: 2px; }
  .circles, .talls { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card-name { font-size: 17px; }
  .ask { grid-template-columns: 110px 1fr; gap: 16px; }
  .prose-lead { font-size: 22px; }
  .tall .pill { left: 10px; top: 10px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry > * { margin-bottom: 10px; }
  .hero { aspect-ratio: auto; height: 460px; }
  .slide::after { background: linear-gradient(180deg, rgb(245 248 252 / 0.94) 0%, rgb(245 248 252 / 0.78) 42%, rgb(245 248 252 / 0) 72%); }
  .slide-img img { object-position: 70% 50%; }
  .slide .wrap { align-items: flex-start; padding-top: 32px; }
  .slide-copy { padding-left: 0; }
  .slide-copy h1, .slide-copy h2 { font-size: 36px; margin-bottom: 18px; }
  .hero-arrow { top: auto; bottom: 8px; margin: 0; }
  .hero-prev { left: 16px; }
  .hero-next { right: 16px; }
  .hero-dots { bottom: 8px; }
  .hero-dots button { min-height: 44px; }
  .collection { grid-template-columns: 1fr; }
  .spots { order: -1; }
  .capsule { aspect-ratio: 16 / 9; }
  .capsule p { font-size: 21px; max-width: 76%; }
  .how-list li { font-size: 17px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 40px 28px; }
  .footer-mail { grid-column: 1 / -1; }
}

@media (max-width: 400px) {
  .pill { font-size: 15px; padding: 5px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .spot-btn, .spot::before { animation: none; }
  .spot::before { opacity: 0; }
  .media img, .card, .btn, .pill, .slide-copy > *, .menu[open], .search-results, .circle img { transition: none; animation: none; }
}

/* nextgentradinginc.com */
html { font-synthesis: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
.btn { background: var(--primary); color: #fff; border-radius: 8px; }
::selection { background: var(--primary); color: #fff; }

/* Header: one white row */
.topbar { background: var(--dark); color: var(--on-dark); }
.topbar :focus-visible { outline-color: var(--accent); }
.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.nav { flex: 1; border: 0; }
.nav ul { justify-content: center; gap: clamp(8px, 1.4vw, 22px); }
.nav a { position: relative; gap: 0; white-space: nowrap; font-size: 14.5px; font-weight: 500; }
.nav svg.icon { display: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease);
}
.nav a[aria-current="page"] { color: var(--primary-ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.search { flex: 0 1 210px; min-width: 120px; }
.search input { width: 100%; min-width: 0; border-radius: 8px; }

/* Hero: dark split, copy left, photo filling the right half */
.hero { aspect-ratio: auto; height: clamp(520px, 42vw, 620px); min-height: 0; max-height: none; background: var(--dark); }
.slide { background: var(--dark); }
.slide::after { content: none; }
.slide-img { inset: 0 0 0 auto; width: 52%; }
.slide .wrap { align-items: center; }
.slide-copy { max-width: min(500px, 42%); padding: 0 0 48px; }
.slide-copy::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 26px; background: var(--accent); }
.slide-copy h1, .slide-copy h2 { color: #fff; font-size: clamp(38px, 3.9vw, 56px); line-height: 1.05; margin-bottom: 30px; }
.hero :focus-visible { outline-color: var(--accent); }
.hero-arrow { top: auto; bottom: 40px; margin: 0; border-radius: 8px; background: rgb(255 255 255 / 0.1); color: #fff; box-shadow: none; }
.hero-prev { left: var(--edge); }
.hero-next { left: calc(var(--edge) + 54px); right: auto; }
.hero-dots { left: calc(var(--edge) + 112px); bottom: 40px; transform: none; background: none; padding-inline: 0; color: #fff; }
.hero-dots button:not(.hero-pause) span { background: rgb(255 255 255 / 0.4); }
.hero-pause { color: #fff; }
.hero-dots button[aria-current="true"]:not(.hero-pause) span { background: var(--accent); }
.hero-dots button, .hero-dots [aria-current="true"] { min-height: 44px; }

/* Categories: round photos, name underneath */
.circles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.circle { display: flex; flex-direction: column; align-items: center; gap: 18px; aspect-ratio: auto; border-radius: 0; min-width: 0; }
.circle-img {
  display: block; width: calc(100% - 16px); aspect-ratio: 1; border-radius: 50%;
  outline: 2px solid var(--line-strong); outline-offset: 6px;
  transition: outline-color 250ms ease;
}
.circle-img img { transform: scale(1.06); transition: transform 300ms var(--ease); }
.circle-name { font: 600 19px/1.25 var(--title); color: var(--ink); text-align: center; }

/* Featured */
.tabs button[aria-pressed="true"] { color: var(--primary-ink); }
.tabs button[aria-pressed="true"]::after { background: var(--primary); }
.grid { gap: 20px; }
.card { padding: 0; gap: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.card .media { border-radius: 0; aspect-ratio: 1; }
.card-name { padding: 14px 16px 16px; font: 600 16px/1.3 var(--title); border-top: 1px solid var(--line); }

/* Category cards: four in a row, name at the bottom */
.talls { gap: 20px; }
.tall { border-radius: var(--radius); }
.tall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 23 42 / 0.7), transparent 45%); pointer-events: none; }
.tall .pill {
  left: 20px; right: 20px; top: auto; bottom: 18px; transform: none; z-index: 1;
  background: none; box-shadow: none; padding: 0; color: #fff; text-align: left;
  font: 600 20px/1.2 var(--title); white-space: normal;
}

/* Product collections: one tall photo, then two rows */
.masonry-wrap { width: min(100%, 1440px); }
.masonry {
  columns: auto; display: grid; gap: 14px;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px;
  grid-template-areas: "a b c" "a d e";
}
.masonry > * { margin: 0; border-radius: var(--radius); aspect-ratio: auto; }
.m-1 { grid-area: a; } .m-2 { grid-area: b; } .m-3 { grid-area: c; } .m-4 { grid-area: d; } .m-5 { grid-area: e; }
.masonry-block { background: var(--primary); color: #fff; }

/* Collection: desk photo with the three products stacked beside it */
.collection { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: stretch; }
.spots { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.collection .grid { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 12px; }
.collection .card { flex-direction: row; align-items: center; gap: 16px; padding: 10px; }
.collection .card .media { width: 104px; flex: none; border-radius: 6px; }
.collection .card-name { border-top: 0; padding: 0; }

/* How we work: dark panel, list left, photo right */
.how {
  grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
  padding: 56px; background: var(--dark); border-radius: 16px;
}
.how-media { order: 2; }
.how-media::before { content: none; }
.how-media .media { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--deep-ph); }
.how-list { margin: 0; gap: 22px; }
.how-list li { color: #fff; font-size: 19px; padding-left: 30px; }
.how-list li::before { width: 16px; height: 2px; border-radius: 0; top: 0.72em; background: var(--accent); }
.capsule { margin-top: 20px; border-radius: 16px; aspect-ratio: 4 / 1; }
.capsule::after { background: rgb(15 23 42 / 0.6); }

/* About blurb */
.story { max-width: 820px; }
.story p:first-of-type { font: 600 24px/1.35 var(--title); color: var(--ink); margin-bottom: 8px; }

/* Inner pages */
.detail .media { background: var(--surface); border: 1px solid var(--line); }
.specs th { color: var(--primary-ink); }
.contact-mail { text-decoration-color: var(--accent); }

.footer { background: var(--dark); }
.footer-mail a { color: var(--accent); }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--primary-ink); }
  .nav a:hover::after { transform: scaleX(1); }
  .btn:hover { background: var(--primary-ink); }
  .hero-arrow:hover { background: var(--primary); color: #fff; }
  .circle:hover .circle-img { outline-color: var(--primary); }
  .circle:hover .circle-img img { transform: scale(1); }
  .card:hover { transform: none; box-shadow: none; border-color: var(--primary); }
  .card:hover img { transform: scale(1.04); }
  .footer a:not(.logo):hover { color: #fff; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-open { display: flex; order: 3; margin-left: 0; }
  .header-bar { justify-content: space-between; }
  .search { order: 2; flex: 1 1 auto; max-width: 340px; margin-left: auto; }
}
@media (max-width: 1199px) {
  .collection { grid-template-columns: 1fr; }
  .collection .grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .collection .card .media { width: 72px; }
}
@media (max-width: 1023px) {
  .circles { gap: 28px; }
  .circle-name { font-size: 17px; }
  #featured-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .talls { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .tall .pill { left: 14px; right: 14px; bottom: 12px; font-size: 16px; }
  .how { gap: 40px; padding: 44px; }
}
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how-media { order: 0; }
}
@media (max-width: 767px) {
  .header-bar { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px 12px; min-height: 0; }
  .search { order: 4; flex: 1 1 100%; max-width: none; margin: 0; }
  .hero { height: 640px; }
  .slide-img { inset: 0 0 auto 0; width: auto; height: 280px; }
  .slide .wrap { align-items: flex-end; padding: 0 16px 84px; }
  .slide-copy { max-width: none; padding: 0; }
  .slide-copy::before { margin-bottom: 18px; }
  .slide-copy h1, .slide-copy h2 { font-size: 31px; margin-bottom: 20px; }
  .hero-arrow { bottom: 16px; }
  .hero-prev { left: 16px; }
  .hero-next { left: auto; right: 16px; }
  .hero-dots { left: 50%; bottom: 16px; transform: translateX(-50%); }
  .circles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .circle { gap: 12px; }
  #featured-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-name { font-size: 15px; padding: 12px; }
  .talls { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tall .pill { left: 14px; right: 14px; bottom: 12px; font-size: 16px; }
  .masonry { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; gap: 10px; grid-template-areas: "a a" "b c" "d e"; }
  .collection .grid { grid-template-columns: 1fr; gap: 10px; }
  .how { padding: 28px 20px; gap: 28px; border-radius: 14px; }
  .how-list li { font-size: 17px; }
  .capsule { aspect-ratio: 16 / 9; }
  .story p:first-of-type { font-size: 21px; }
}
@media (max-width: 400px) {
  .footer-mail a { overflow-wrap: anywhere; }
}
