/* ==========================================================================
   TechCircle — Design System & Stylesheet
   ========================================================================== */

:root {
  --ink-1000: #f1f0ec;
  --ink-950:  #ffffff;
  --ink-900:  #f8f7f4;
  --ink-850:  #f2f0eb;
  --ink-800:  #e9e6df;
  --ink-700:  #d6d2c8;

  --hairline:        rgba(16, 16, 18, 0.10);
  --hairline-strong: rgba(16, 16, 18, 0.22);

  --text:       #101012;
  --text-dim:   #5b5b62;
  --text-faint: #67676f;

  --accent:        #ff5436;
  --accent-bright: #ff7054;
  --accent-tint:   rgba(255, 84, 54, 0.10);
  --on-accent:     #15100e;
  --accent-text:   #c2381c;

  --cool:      #2b4bd4;
  --cool-tint: rgba(43, 75, 212, 0.07);

  --header-bg: rgba(255, 255, 255, 0.78);

  /* Typography */
  --font-display: "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --step--2: clamp(0.72rem, 0.70rem + 0.08vw, 0.78rem);
  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.16vw, 1.06rem);
  --step-1:  clamp(1.12rem, 1.04rem + 0.38vw, 1.35rem);
  --step-2:  clamp(1.38rem, 1.20rem + 0.80vw, 1.95rem);
  --step-3:  clamp(1.75rem, 1.38rem + 1.60vw, 2.9rem);
  --step-4:  clamp(2.15rem, 1.45rem + 3.00vw, 4.3rem);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.30, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast: 0.22s;
  --dur-mid:  0.45s;
  --dur-slow: 0.9s;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ==========================================================================
   Layout Primitives & Atmosphere
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section__title { font-size: var(--step-2); margin-bottom: 0.5rem; }

.rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hairline-strong) 15%,
    var(--hairline-strong) 85%,
    transparent
  );
  border: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow--accent { background: var(--accent-tint); }
.glow--cool   { background: var(--cool-tint); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              backdrop-filter var(--dur-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hairline);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  z-index: 110;
}

.logo-mark {
  --s: 32px;
  width: var(--s);
  height: var(--s);
  flex: none;
}
.header .logo-mark { --s: 40px; }
.header .wordmark  { font-size: 1.2rem; }
@media (min-width: 640px) {
  .header .logo-mark { --s: 44px; }
  .header .wordmark  { font-size: 1.28rem; }
}
.logo-mark img { width: 100%; height: 100%; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.09em;
  line-height: 1;
}

.nav { display: none; }

@media (min-width: 1100px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
  }
  .nav__link { white-space: nowrap; }
}

.nav__link {
  position: relative;
  font-size: var(--step--1);
  color: var(--text-dim);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  scale: 0 1;
  transform-origin: left;
  transition: scale var(--dur-mid) var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { scale: 1 1; }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { scale: 1 1; background: var(--text-faint); }

.header .header__cta { display: none; }
@media (min-width: 1100px) { .header .header__cta { display: inline-flex; } }

.burger {
  position: relative;
  z-index: 110;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  display: grid;
  place-items: center;
}
@media (min-width: 1100px) { .burger { display: none; } }

.burger__box { width: 22px; height: 12px; position: relative; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-in-out),
              opacity var(--dur-fast) linear;
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { bottom: 0; }

.burger[aria-expanded="true"] .burger__box span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box span:nth-child(2) {
  transform: translateY(-5.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--ink-1000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path 0.7s var(--ease-in-out);
  visibility: hidden;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 36px);
  visibility: visible;
}

.mobile-menu__list { display: grid; gap: 0.25rem; }
.mobile-menu__item { overflow: hidden; }
.mobile-menu__link {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 11vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  translate: 0 110%;
  transition: translate 0.75s var(--ease-out), color var(--dur-fast);
}
.mobile-menu.is-open .mobile-menu__link { translate: 0 0; }
.mobile-menu__link:hover { color: var(--accent); }

.mobile-menu.is-open .mobile-menu__item:nth-child(1) .mobile-menu__link { transition-delay: 0.10s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) .mobile-menu__link { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) .mobile-menu__link { transition-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) .mobile-menu__link { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(5) .mobile-menu__link { transition-delay: 0.34s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(6) .mobile-menu__link { transition-delay: 0.40s; }
.mobile-menu.is-open .mobile-menu__item:nth-child(7) .mobile-menu__link { transition-delay: 0.46s; }

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: var(--step--1);
  color: var(--text-faint);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out) 0.4s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }

/* ==========================================================================
   Buttons & Typography Helpers
   ========================================================================== */

.btn {
  --btn-h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: var(--btn-h);
  padding-inline: 1.5rem;
  border-radius: var(--r-pill);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn__label { position: relative; z-index: 2; }
.btn svg { position: relative; z-index: 2; width: 15px; height: 15px; flex: none; }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  translate: 0 101%;
  transition: translate var(--dur-mid) var(--ease-out);
}
.btn:hover::before { translate: 0 0; }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.btn--primary::before { background: var(--accent-bright); }

.btn--ghost {
  border: 1px solid var(--hairline-strong);
  color: var(--text);
}
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--ink-950); border-color: var(--text); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--accent-text);
}
.btn-text svg {
  width: 14px;
  transition: translate var(--dur-fast) var(--ease-out);
}
.btn-text:hover svg { translate: 4px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

.display-md { font-size: var(--step-3); }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 38rem;
}

.faint { color: var(--text-faint); }

/* ==========================================================================
   Hero & Banner Carousel
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero--banner {
  padding-top: calc(72px + clamp(0.75rem, 2.5vw, 1.75rem));
  padding-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}

.hero-banner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  aspect-ratio: 12 / 5;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
@media (min-width: 1460px) {
  .hero-banner { border-radius: var(--r-lg); }
}
@media (max-width: 899px) {
  .hero-banner {
    aspect-ratio: 4 / 5;
    max-height: 78vh;
  }
}

.hero-slides {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s var(--ease-in-out);
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(0.9rem, 2.2vw, 1.5rem);
  translate: -50% 0;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 16, 18, 0.26);
  transition: background var(--dur-fast) var(--ease-out),
              width var(--dur-mid) var(--ease-out);
}
.hero-dot[aria-selected="true"] {
  width: 22px;
  border-radius: var(--r-pill);
  background: var(--text);
}
.hero-dot:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  color: var(--text);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow--prev { left: clamp(0.75rem, 2vw, 1.5rem); }
.hero-arrow--next { right: clamp(0.75rem, 2vw, 1.5rem); }
.hero-arrow:hover { background: rgba(255, 255, 255, 0.9); }

@media (min-width: 900px) {
  .hero-arrow { display: grid; }
  .hero-banner:hover .hero-arrow,
  .hero-banner:focus-within .hero-arrow { opacity: 1; }
  .hero-arrow:focus-visible { opacity: 1; outline: 2px solid var(--text); outline-offset: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ==========================================================================
   Grids, Cards & Accordion
   ========================================================================== */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950));
  overflow: hidden;
  transition: border-color var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
.card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.card__title { font-size: var(--step-1); margin-bottom: 0.65rem; }
.card__body { font-size: var(--step-0); color: var(--text-dim); }

.accordion { border-top: 1px solid var(--hairline); }

.ac { border-bottom: 1px solid var(--hairline); }
.ac__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color var(--dur-fast);
}
.ac__btn:hover { color: var(--accent-text); }

.ac__sign {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.ac__sign::before, .ac__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-in-out), opacity var(--dur-fast);
}
.ac__sign::before { inset: 7.25px 0; height: 1.5px; }
.ac__sign::after  { inset: 0 7.25px; width: 1.5px; }
.ac__btn[aria-expanded="true"] .ac__sign::after { transform: rotate(90deg); opacity: 0; }

.ac__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-mid) var(--ease-in-out);
}
.ac__btn[aria-expanded="true"] + .ac__panel { grid-template-rows: 1fr; }
.ac__panel > div { overflow: hidden; }
.ac__panel p {
  padding-bottom: 1.5rem;
  color: var(--text-dim);
  max-width: 44rem;
}

/* ==========================================================================
   Contact Form & Detail List
   ========================================================================== */

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.5rem; }
.field__label {
  font-size: var(--step--1);
  color: var(--text-dim);
  letter-spacing: 0.01em;
}
.field__label .req { color: var(--accent-text); }

.input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--ink-900);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font-size: var(--step-0);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.input::placeholder { color: var(--text-faint); }
.input:hover { border-color: var(--hairline-strong); }
.input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--ink-850);
}
textarea.input { min-height: 8.5rem; resize: vertical; }

.field--row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field--row { grid-template-columns: 1fr 1fr; } }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__note { font-size: var(--step--2); color: var(--text-faint); }
.form__note a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }

.form__status {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--step--1);
  border: 1px solid;
}
.form__status.is-shown { display: flex; }
.form__status[data-state="ok"] {
  border-color: rgba(27, 107, 58, 0.28);
  background: rgba(27, 107, 58, 0.07);
  color: #1b6b3a;
}
.form__status[data-state="err"] {
  border-color: rgba(166, 38, 38, 0.28);
  background: rgba(166, 38, 38, 0.07);
  color: #a62626;
}

.btn.is-busy { pointer-events: none; opacity: 0.75; }
.btn.is-busy .btn__label { opacity: 0.6; }
.spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-busy .spinner { display: block; }
@keyframes spin { to { rotate: 360deg; } }

.detail { display: grid; gap: 1.75rem; }
.detail__item { display: grid; gap: 0.3rem; }
.detail__key {
  font-size: var(--step--2);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail__val { font-size: var(--step-0); }
.detail__val a {
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 1px;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.detail__val a:hover { color: var(--accent-text); border-color: var(--accent); }

/* ==========================================================================
   CTA Band, Value Pillars & Footer
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(var(--r-lg), 3vw, 28px);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(120% 140% at 0% 0%, var(--cool-tint), transparent 55%),
    radial-gradient(100% 120% at 100% 100%, var(--accent-tint), transparent 50%),
    var(--ink-900);
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.cta__title { font-size: var(--step-4); max-width: 24ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; margin-top: 1.25rem; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.whys {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.why { background: var(--ink-950); padding: 1.6rem 1.4rem; }
.why__n {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  color: var(--accent-text);
  margin-bottom: 0.9rem;
}
.why__t {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.why__d { font-size: var(--step--1); color: var(--text-dim); }

.footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--ink-1000);
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 760px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

.footer__tagline,
.footer__blurb {
  margin-top: 1rem;
  color: var(--text-dim);
  max-width: 24rem;
  font-size: var(--step--1);
}

.footer__h {
  font-size: var(--step--2);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}
.footer__list { display: grid; gap: 0.65rem; font-size: var(--step--1); }
.footer__list a { color: var(--text-dim); transition: color var(--dur-fast); }
.footer__list a:hover { color: var(--accent-text); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--step--2);
  color: var(--text-faint);
}

/* ==========================================================================
   Product Cards & Homepage Sections
   ========================================================================== */

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--ink-950);
  overflow: hidden;
  transition: border-color var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.product:hover { border-color: var(--hairline-strong); }
.product.is-hidden { display: none !important; }

.product__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.product:has(.product__link):hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}
.product:has(.product__link) {
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-mid) var(--ease-out);
}
.product__link:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.product__shot {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(120% 110% at 30% 15%, var(--tint, #cfcfd4), transparent 62%),
    linear-gradient(170deg, var(--ink-900), var(--ink-850));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product__shot--plate { background: #ffffff; }
.product__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: scale var(--dur-slow) var(--ease-out);
}
.product:hover .product__shot img { scale: 1.03; }

.product__ribs {
  position: relative;
  width: 56%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: var(--ink-850);
}

.product__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product__cat {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.product__name { font-family: var(--font-display); font-size: var(--step-0); font-weight: 600; letter-spacing: -0.01em; }
.product__meta { font-size: var(--step--1); color: var(--text-dim); }
.product__foot { margin-top: auto; padding-top: 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  white-space: nowrap;
}

.dots { display: flex; gap: 0.3rem; }
.dot {
  width: 13px; height: 13px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(16, 16, 18, 0.18);
}
.dots__more {
  font-size: var(--step--2);
  color: var(--text-faint);
  align-self: center;
  margin-left: 0.15rem;
}

.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.sec-head-row .section-head { margin-bottom: 0; }
.sec-head-meta { font-size: var(--step--1); color: var(--text-faint); }

.devcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--ink-950);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.devcard:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -18px rgba(16, 16, 18, 0.16);
}
.devcard:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.devcard__shot {
  position: relative;
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(120% 110% at 30% 15%, var(--tint, #e4e4e8), transparent 65%),
    linear-gradient(170deg, var(--ink-900), var(--ink-850));
  overflow: hidden;
}
.devcard__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0.55rem;
  object-fit: contain;
  transition: scale var(--dur-slow) var(--ease-out);
}
.devcard:hover .devcard__shot img { scale: 1.05; }

.devcard__body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.devcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.devcard__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.devcard__arrow {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--text-faint);
  transition: translate var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.devcard:hover .devcard__arrow {
  translate: 3px 0;
  color: var(--accent-text);
}
.devcard__blurb {
  font-size: var(--step--1);
  color: var(--text-dim);
  line-height: 1.52;
}
.devcard__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--step--2);
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.sig-points {
  display: grid;
  gap: 0.9rem 1.5rem;
  margin: 1.75rem 0 2rem;
}
@media (min-width: 560px) {
  .sig-points { grid-template-columns: 1fr 1fr; }
}
.sig-point {
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent);
}
.sig-point__t {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.sig-point__d {
  font-size: var(--step--1);
  color: var(--text-dim);
  line-height: 1.5;
}

/* ==========================================================================
   Category Filters
   ========================================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--ink-900);
}
.filter-row {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}
@media (min-width: 760px) {
  .filter-row {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.75rem;
  }
}
.filter-row__label {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-top: 0.55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  background: var(--ink-950);
  font-size: var(--step--1);
  color: var(--text-dim);
  white-space: nowrap;
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-active { background: var(--text); border-color: var(--text); color: var(--ink-950); }
.chip.is-zero:not(.is-active) { opacity: 0.42; }
.chip__n { font-size: var(--step--2); opacity: 0.65; }
.chip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.filters__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: var(--step--1);
}
.filters__count { color: var(--text-faint); margin: 0; }
.filters__reset {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.filters__reset:hover { color: var(--text); }
.filters__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-lg);
  color: var(--text-dim);
}

html:not(.js) .filter-panel,
html:not(.js) .filters__bar { display: none; }

/* ==========================================================================
   Product Detail Page (PDP)
   ========================================================================== */

.crumbs {
  padding-top: calc(72px + 1.25rem);
  padding-bottom: 1.25rem;
  font-size: var(--step--1);
  color: var(--text-faint);
  border-bottom: 1px solid var(--hairline);
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin-inline: 0.4rem; }

.pdp { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1fr 1fr; }
  .pdp__media { position: sticky; top: calc(72px + 1.5rem); }
}

.pdp__stage {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: #fff;
  overflow: hidden;
}
.pdp__stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp__noimg { width: 100%; height: 100%; background: var(--ink-900); }

.pdp__thumbs {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 0.4rem;
}
@media (max-width: 699px) {
  .pdp__thumbs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }
  .pdp__thumbs::-webkit-scrollbar { display: none; }
  .pdp__thumbs > li { flex: 0 0 72px; scroll-snap-align: start; }
}
.pdp__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp__thumb:hover { border-color: var(--hairline-strong); }
.pdp__thumb.is-active { border-color: var(--text); }

.pdp__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0.4rem 0 1rem;
}
.pdp__longtitle {
  font-size: var(--step--2);
  line-height: 1.6;
  color: var(--text-faint);
  margin: -0.4rem 0 1.25rem;
  max-width: 54ch;
}

.pdp__meta { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.pdp__price { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; }
.pdp__rating { color: var(--text-dim); font-size: var(--step--1); }
.pdp__rcount { color: var(--text-faint); }

.pdp__opt { margin-bottom: 1.5rem; }
.pdp__optlabel {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.pdp__optval { color: var(--text); text-transform: none; letter-spacing: 0; font-weight: 400; }

.pdp__swatches, .pdp__sizes {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.pdp__swatch {
  display: block;
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sw);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(16,16,18,0.16);
  transition: box-shadow var(--dur-fast) var(--ease-out), scale var(--dur-fast) var(--ease-out);
}
.pdp__swatch img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  scale: 1.45;
}
.pdp__swatch:hover { scale: 1.08; }
.pdp__swatch.is-active { box-shadow: 0 0 0 2px var(--ink-950), 0 0 0 4px var(--text); }

.pdp__size {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-strong);
  font-size: var(--step--1);
  color: var(--text-dim);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.pdp__size:hover { border-color: var(--text); color: var(--text); }
.pdp__size.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--ink-950);
}
.pdp__size.is-unavailable { opacity: 0.45; }
.pdp__size:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.pdp__buy { margin-top: 0.5rem; }
.pdp__note { font-size: var(--step--2); color: var(--text-faint); margin-top: 0.75rem; }

.pdp__bullets { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.pdp__bullets li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-dim);
  font-size: var(--step--1);
  line-height: 1.65;
}
.pdp__bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 5px; height: 1px; background: var(--accent);
}

.pdp__specs { margin: 1.5rem 0 0; display: grid; gap: 0; }
.pdp__specrow {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--step--1);
}
.pdp__specrow dt { color: var(--text-faint); }
.pdp__specrow dd { margin: 0; color: var(--text-dim); }
@media (max-width: 599px) {
  .pdp__specrow { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ==========================================================================
   Scroll Reveal, Page Headers, 404, Legal Prose & Accessibility
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.8s var(--ease-out), translate 0.8s var(--ease-out);
}
.js [data-reveal].is-revealed { opacity: 1; translate: 0 0; }

.js [data-reveal-stagger] > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out);
}
.js [data-reveal-stagger].is-revealed > * { opacity: 1; translate: 0 0; }
.js [data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: 0.24s; }
.js [data-reveal-stagger].is-revealed > *:nth-child(5) { transition-delay: 0.32s; }
.js [data-reveal-stagger].is-revealed > *:nth-child(6) { transition-delay: 0.40s; }

.page-head {
  position: relative;
  padding-top: clamp(7.5rem, 16vh, 10rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}
.page-head__title { font-size: var(--step-4); max-width: 22ch; }

.notfound {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 6rem var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 13rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--text) 10%, var(--ink-700) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prose { max-width: 42rem; }
.prose h2 {
  font-size: var(--step-2);
  margin-top: 3rem;
  margin-bottom: 0.9rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); margin-bottom: 1rem; }
.prose ul { display: grid; gap: 0.5rem; margin: 0 0 1.5rem; }
.prose li { position: relative; padding-left: 1.25rem; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}
.prose a { color: var(--text); border-bottom: 1px solid var(--accent); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    translate: 0 !important;
  }
}
