/* ==========================================================================
   Arthana — one-page portfolio
   Typeface: Zilla Slab (self-hosted, SIL OFL)
   No frameworks, no external requests.
   ========================================================================== */

@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #faf6ec;
  --paper-2: #f4efe2;
  --paper-3: #fffdf7;
  --ink: #264653;
  --ink-deep: #1c3540;
  --muted: #50656d;
  --mint: #dde7e4;
  --mint-2: #a8c0c4;

  --verdigris: #2a9d8f;
  --verdigris-ink: #1f7268;
  --tuscan: #e9c46a;
  --sandy: #f4a261;
  --peach: #e76f51;
  --peach-ink: #b84a30;

  --rule: rgba(38, 70, 83, 0.18);
  --rule-strong: rgba(38, 70, 83, 0.34);
  --dark-rule: rgba(250, 246, 236, 0.18);

  --ease: cubic-bezier(0.2, 0.65, 0.25, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1440px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --header-h: 76px;
  --shadow: 0 24px 60px rgba(28, 53, 64, 0.14);
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zilla Slab", serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

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

::selection {
  background: var(--tuscan);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--ink);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Icons, buttons, links
   -------------------------------------------------------------------------- */
.icon,
.service__icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translate(2px, -2px);
}

.btn--small {
  min-height: 44px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

.btn--primary,
.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--primary:hover,
.btn--dark:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.btn--accent {
  background: var(--tuscan);
  border-color: var(--tuscan);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--sandy);
  border-color: var(--sandy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: fit-content;
  position: relative;
  font-weight: 600;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1.5px;
  background: var(--verdigris);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.text-link .icon {
  transition: transform 0.25s var(--ease);
}

.text-link:hover .icon--down {
  transform: translateY(3px);
}

.text-link:hover .icon--arrow {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: 3px;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--verdigris), var(--tuscan), var(--peach));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.96);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(250, 246, 236, 0.88);
    backdrop-filter: blur(12px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(28, 53, 64, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  flex: none;
}

.brand__name {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__descriptor {
  max-width: 9ch;
  padding-left: 14px;
  border-left: 1px solid var(--rule-strong);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  margin-left: auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1.5px;
  background: var(--verdigris-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="location"] {
  color: var(--verdigris-ink);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.menu {
  display: none;
  position: relative;
}

.menu__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.menu__toggle::-webkit-details-marker {
  display: none;
}

.menu__icon {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
}

.menu__icon i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.menu__icon i:first-child {
  top: 5px;
}

.menu__icon i:last-child {
  bottom: 5px;
}

.menu[open] .menu__icon i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu[open] .menu__icon i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 110;
  display: grid;
  gap: 2px;
  width: min(300px, calc(100vw - 32px));
  padding: 10px;
  background: var(--paper-3);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--shadow);
}

.menu[open] .menu__panel {
  animation: menu-in 0.2s var(--ease);
}

.menu__panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.menu__panel a:hover {
  background: var(--paper-2);
}

.menu__panel .menu__cta {
  justify-content: space-between;
  margin-top: 6px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.menu__panel .menu__cta:hover {
  background: var(--ink-deep);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(38, 70, 83, 0.045) 1px, transparent 1px);
  background-size: 100% 88px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
  min-height: clamp(660px, calc(100svh - var(--header-h) - 88px), 880px);
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px);
}

.hero__copy {
  max-width: 840px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 30px);
  color: var(--verdigris-ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--peach-ink);
}

.hero__title {
  margin-left: -0.035em;
  font-size: clamp(3.5rem, 8.4vw, 8.5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.055em;
}

.hero__title .line__inner {
  display: block;
  transform: translateY(110%);
  animation: line-up 0.9s var(--ease-spring) forwards;
  animation-delay: calc(0.08s + var(--i) * 0.08s);
}

.hero__place {
  display: inline-block;
  position: relative;
  color: var(--verdigris-ink);
  font-style: italic;
  font-weight: 600;
}

.scribble {
  position: absolute;
  left: 0;
  bottom: -0.02em;
  z-index: 1;
  width: 100%;
  height: 0.14em;
  overflow: visible;
  pointer-events: none;
}

.scribble path {
  fill: none;
  stroke: var(--peach);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.1s 0.85s var(--ease) forwards;
}

.hero__lede {
  max-width: 49ch;
  margin-top: clamp(20px, 2.6vw, 28px);
  color: var(--muted);
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.32rem);
  line-height: 1.5;
  opacity: 0;
  animation: fade-up 0.8s 0.42s var(--ease) forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(22px, 3vw, 32px);
  opacity: 0;
  animation: fade-up 0.8s 0.52s var(--ease) forwards;
}

.hero__note {
  max-width: 52ch;
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0;
  animation: fade-up 0.8s 0.62s var(--ease) forwards;
}

/* Hero aside: the store, in four layers */
.hero__aside {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  padding: 26px 18px 18px 0;
  opacity: 0;
  animation: fade-in 0.9s 0.22s var(--ease) forwards;
}

.system {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(250, 246, 236, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 246, 236, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  color: var(--paper);
  box-shadow:
    14px 14px 0 var(--tuscan),
    28px 28px 0 rgba(42, 157, 143, 0.18);
}

.system__top,
.system__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--mint-2);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.system__top {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dark-rule);
  margin-bottom: 14px;
}

.system__bottom {
  padding-top: 14px;
  border-top: 1px solid var(--dark-rule);
  margin-top: 14px;
}

.system__count {
  color: var(--tuscan);
}

.system__layers {
  display: grid;
  gap: 9px;
}

.system__layer {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas:
    "num label"
    "num desc";
  align-items: center;
  gap: 1px 10px;
  padding: 13px 15px;
  border-radius: 8px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  animation: layer-in 0.6s var(--ease-spring) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.1s);
  transition: transform 0.3s var(--ease);
}

.system__layer--brand {
  background: var(--tuscan);
}

.system__layer--storefront {
  background: var(--sandy);
}

.system__layer--apps {
  background: var(--verdigris-ink);
  color: var(--paper);
}

.system__layer--ops {
  background: var(--peach-ink);
  color: var(--paper);
}

.system__num {
  grid-area: num;
  align-self: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.system__label {
  grid-area: label;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.1;
}

.system__desc {
  grid-area: desc;
  font-size: 0.76rem;
  line-height: 1.35;
}

.seal {
  position: absolute;
  top: -30px;
  right: -24px;
  z-index: 3;
  width: clamp(88px, 9vw, 126px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 10px 18px rgba(28, 53, 64, 0.18));
  animation: spin 30s linear infinite;
}

.seal svg {
  width: 100%;
  height: 100%;
}

.seal text {
  font-family: "Zilla Slab", serif;
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Discipline ticker
   -------------------------------------------------------------------------- */
.marquee {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--gutter);
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid var(--ink);
}

.marquee__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.marquee span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee i {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--tuscan);
  transform: rotate(45deg);
}

.marquee i:nth-of-type(2n) {
  background: var(--sandy);
}

.marquee i:nth-of-type(3n) {
  background: var(--verdigris);
}

.marquee__checkbox:checked ~ .marquee__viewport .marquee__track {
  animation-play-state: paused;
}

.marquee__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 44px;
  flex: none;
  padding: 0 12px;
  border: 1px solid var(--dark-rule);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.marquee__toggle:hover {
  border-color: var(--tuscan);
  color: var(--tuscan);
}

.marquee__toggle-play {
  display: none;
}

.marquee__checkbox:checked ~ .marquee__toggle {
  background: var(--tuscan);
  border-color: var(--tuscan);
  color: var(--ink);
}

.marquee__checkbox:checked ~ .marquee__toggle .marquee__toggle-pause {
  display: none;
}

.marquee__checkbox:checked ~ .marquee__toggle .marquee__toggle-play {
  display: inline;
}

.marquee__checkbox:focus-visible ~ .marquee__toggle {
  outline: 3px solid var(--tuscan);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Section foundations
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 148px);
  border-top: 1px solid var(--rule);
}

.section__label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--verdigris-ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section__label::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.65;
}

.section__label--light {
  color: var(--tuscan);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 28px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section__head h2 {
  max-width: 15ch;
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.section__intro {
  max-width: 44ch;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.12rem, 1rem + 0.55vw, 1.42rem);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   01 — Point of view
   -------------------------------------------------------------------------- */
.section--pov {
  background: var(--paper);
}

.section__grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
}

.section__rail {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.section__mark {
  margin-top: 22px;
  color: transparent;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.72;
  -webkit-text-stroke: 1px rgba(38, 70, 83, 0.45);
  user-select: none;
}

.section__body h2 {
  max-width: 18ch;
  margin-bottom: clamp(22px, 3vw, 30px);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.pov__statement {
  max-width: 28ch;
  margin-top: 30px;
  padding-left: 20px;
  border-left: 4px solid var(--peach);
  font-size: clamp(1.28rem, 1.1rem + 0.75vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
}

.layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 64px);
  border-block: 1px solid var(--rule-strong);
}

.layer-card {
  min-height: 190px;
  padding: 24px 20px;
  border-right: 1px solid var(--rule);
  transition: background-color 0.3s var(--ease);
}

.layer-card:last-child {
  border-right: 0;
}

.layer-card__num {
  display: block;
  margin-bottom: 28px;
  color: var(--verdigris-ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.layer-card h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
}

.layer-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.pov__close {
  max-width: 56ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   02 — Services
   -------------------------------------------------------------------------- */
.section--services {
  background: var(--paper-2);
}

.services {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}

.service {
  --accent: var(--tuscan);
  --accent-strong: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  grid-column: span 5;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}

.service--theme {
  --accent: var(--tuscan);
  --accent-strong: var(--verdigris-ink);
  grid-column: span 7;
  grid-row: span 2;
}

.service--brand {
  --accent: var(--sandy);
  --accent-strong: var(--peach-ink);
}

.service--apps {
  --accent: var(--verdigris);
  --accent-strong: var(--verdigris-ink);
}

.service--pos {
  --accent: var(--peach);
  --accent-strong: var(--peach-ink);
  grid-column: span 4;
  min-height: 250px;
}

.service--catalog {
  --accent: var(--verdigris-ink);
  --accent-strong: var(--verdigris-ink);
  grid-column: span 4;
  min-height: 250px;
}

.service--care {
  --accent: var(--peach-ink);
  --accent-strong: var(--peach-ink);
  grid-column: span 4;
  min-height: 250px;
}

.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.service__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.service__icon {
  width: 28px;
  height: 28px;
  color: var(--ink);
  transition:
    transform 0.4s var(--ease),
    color 0.3s var(--ease);
}

.service h3 {
  max-width: 18ch;
  margin-bottom: 10px;
  font-size: clamp(1.32rem, 1.1rem + 0.9vw, 1.82rem);
}

.service p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.service__tags li {
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service__aside {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--verdigris-ink);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.45;
}

.specimen {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: clamp(24px, 3vw, 36px);
}

.specimen__type {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  line-height: 0.74;
}

.specimen__type span,
.specimen__type em {
  font-size: clamp(4rem, 7vw, 6.6rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.specimen__type em {
  color: var(--verdigris-ink);
  font-style: italic;
}

.specimen__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.specimen__swatches {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 100%;
  height: 16px;
  border-radius: 2px;
}

.swatch--1 {
  background: var(--ink);
}
.swatch--2 {
  background: var(--verdigris);
}
.swatch--3 {
  background: var(--tuscan);
}
.swatch--4 {
  background: var(--sandy);
}
.swatch--5 {
  background: var(--peach);
}

.specimen__ui {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.5fr;
  gap: 6px;
}

.specimen__ui span {
  height: 6px;
  border-radius: 2px;
  background: var(--rule);
}

/* --------------------------------------------------------------------------
   03 — Audience
   -------------------------------------------------------------------------- */
.section--audience {
  background: var(--paper);
}

.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(36px, 6vw, 96px);
}

.audience__intro h2 {
  max-width: 14ch;
  margin: 16px 0 24px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.mix {
  max-width: 440px;
  margin-top: 36px;
  padding: 24px;
  background: var(--tuscan);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 8px 0 rgba(38, 70, 83, 0.13);
}

.mix__label {
  margin-bottom: 12px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.mix__note {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.stages {
  border-top: 1px solid var(--rule-strong);
}

.stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.3s var(--ease);
}

.stage__num {
  padding-top: 5px;
  color: var(--verdigris-ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.stage h3 {
  margin-bottom: 7px;
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.65rem);
}

.stage p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.stage__tag {
  padding: 6px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   04 — Process
   -------------------------------------------------------------------------- */
.section--process {
  background: var(--paper-2);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(36px, 6vw, 96px);
}

.process__intro {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.process__intro h2 {
  max-width: 11ch;
  margin: 16px 0 24px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.process__note {
  max-width: 40ch;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.process__list {
  position: relative;
  padding-left: 36px;
}

.process__list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 2px;
  background: var(--rule-strong);
}

.process__list::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 4px;
  background: linear-gradient(var(--verdigris), var(--tuscan), var(--peach));
  transform: scaleY(var(--process-progress, 0));
  transform-origin: top;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: clamp(34px, 5vw, 56px);
}

.step:last-child {
  padding-bottom: 0;
}

.step__dot {
  position: absolute;
  top: 7px;
  left: -33px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  transition: background-color 0.35s var(--ease);
}

.step.is-visible .step__dot {
  background: var(--tuscan);
}

.step__num {
  padding-top: 4px;
  color: var(--verdigris-ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.step h3 {
  margin-bottom: 9px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}

.step p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.step__out {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   05 — Threads
   -------------------------------------------------------------------------- */
.section--threads {
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 0;
}

.threads__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at var(--mx, 50%) var(--my, 26%),
    rgba(233, 196, 106, 0.13),
    transparent 58%
  );
  pointer-events: none;
}

.threads {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: start;
  gap: clamp(38px, 6vw, 96px);
}

.threads h2 {
  max-width: 10ch;
  margin: 16px 0 24px;
  color: var(--paper);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
}

.threads h2 em {
  color: var(--tuscan);
  font-style: italic;
}

.threads__lede {
  max-width: 52ch;
  color: var(--mint);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  line-height: 1.55;
}

.threads__aside {
  margin-top: 20px;
  color: var(--tuscan);
  font-size: 1.02rem;
  font-weight: 600;
}

.threads .btn {
  margin-top: 28px;
}

.threads__note {
  margin-top: 15px;
  color: var(--mint-2);
  font-size: 0.78rem;
  line-height: 1.45;
}

.topics {
  position: relative;
  align-self: center;
  padding-left: 30px;
}

.topics::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 6px;
  width: 1px;
  background: var(--dark-rule);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.9s var(--ease);
}

.topics.is-visible::before,
.no-js .topics::before,
.js-fallback .topics::before {
  transform: scaleY(1);
}

.topic {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--dark-rule);
}

.topic:last-child {
  border-bottom: 0;
}

.topic__dot {
  position: absolute;
  top: 25px;
  left: -28px;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--tuscan);
  border-radius: 50%;
  background: var(--ink-deep);
}

.topic__num {
  padding-top: 3px;
  color: var(--tuscan);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.topic h3 {
  margin-bottom: 5px;
  color: var(--paper);
  font-size: 1.2rem;
}

.topic p {
  max-width: 44ch;
  color: var(--mint-2);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   06 — FAQ
   -------------------------------------------------------------------------- */
.section--faq {
  background: var(--paper);
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(36px, 6vw, 96px);
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.faq__intro h2 {
  max-width: 12ch;
  margin: 16px 0 24px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.faq__intro .text-link {
  margin-top: 18px;
}

.faq__list {
  border-top: 1px solid var(--rule-strong);
}

.faq__item {
  border-bottom: 1px solid var(--rule);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 20px 0;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--verdigris-ink);
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.25s var(--ease);
}

.faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__answer {
  max-width: 62ch;
  padding: 0 0 24px;
}

.faq__answer p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq__item[open] .faq__answer {
  animation: answer-in 0.3s var(--ease);
}

/* --------------------------------------------------------------------------
   07 — Contact
   -------------------------------------------------------------------------- */
.section--contact {
  overflow: hidden;
  background: var(--tuscan);
  color: var(--ink);
  border-top: 0;
}

.section--contact::after {
  content: "@";
  position: absolute;
  right: -0.04em;
  bottom: -0.32em;
  color: rgba(38, 70, 83, 0.08);
  font-size: clamp(18rem, 36vw, 34rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(36px, 6vw, 96px);
}

.section--contact .section__label {
  color: var(--ink);
}

.section--contact .section__label::before {
  background: var(--ink);
}

.contact h2 {
  max-width: 9ch;
  margin: 16px 0 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.contact__lede {
  max-width: 42ch;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem);
  line-height: 1.5;
}

.contact__action {
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 rgba(38, 70, 83, 0.18);
}

.contact__send {
  margin-bottom: 14px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  counter-reset: item;
}

.contact__list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.contact__list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  padding-top: 2px;
  color: var(--verdigris-ink);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact .btn {
  width: 100%;
  justify-content: space-between;
}

.contact__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.nf {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 150px);
  background: var(--paper);
}

.nf::after {
  content: "404";
  position: absolute;
  right: -0.04em;
  bottom: -0.3em;
  color: var(--paper-2);
  font-size: clamp(18rem, 40vw, 36rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
  -webkit-text-stroke: 1px var(--rule);
  pointer-events: none;
  user-select: none;
}

.nf__inner {
  position: relative;
  z-index: 1;
}

.nf__title {
  max-width: 12ch;
  margin: 18px 0 24px;
  font-size: clamp(3.2rem, 8.5vw, 8rem);
  line-height: 0.9;
}

.nf__lede {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
  line-height: 1.55;
}

.nf__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}

@media (max-width: 420px) {
  .nf__actions {
    align-items: stretch;
  }

  .nf__actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .nf__actions .text-link {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 7vw, 96px) 24px;
  background: var(--ink-deep);
  color: var(--paper);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--dark-rule);
}

.footer__name {
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.footer__brand p {
  margin-top: 9px;
  color: var(--mint);
  font-size: 0.92rem;
}

.footer__brand address {
  margin-top: 5px;
  color: var(--mint-2);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.45;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  color: var(--mint);
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}

.footer__nav a:hover {
  color: var(--tuscan);
}

.footer__threads {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--tuscan);
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.footer__threads:hover {
  color: var(--sandy);
}

.footer__contact p {
  margin-top: 6px;
  color: var(--mint-2);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer__word {
  margin: clamp(30px, 5vw, 60px) 0 30px;
  color: transparent;
  font-size: clamp(4rem, 17.5vw, 17rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.7;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(250, 246, 236, 0.36);
  user-select: none;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-rule);
  color: var(--mint-2);
  font-size: 0.72rem;
  line-height: 1.5;
}

.footer__legal {
  max-width: 54ch;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.footer__top-link:hover {
  color: var(--tuscan);
}

/* --------------------------------------------------------------------------
   Reveal system
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js-fallback [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.no-js .process__list::after,
.js-fallback .process__list::after {
  transform: scaleY(1);
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes line-up {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes layer-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Hover enhancements, only where they make sense
   -------------------------------------------------------------------------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service:hover {
    transform: translateY(-5px);
    border-color: var(--rule-strong);
    box-shadow: 0 18px 44px rgba(28, 53, 64, 0.12);
  }

  .service:hover .service__icon {
    color: var(--accent-strong);
    transform: rotate(-4deg) scale(1.06);
  }

  .system__layer:hover {
    transform: translateX(6px);
  }

  .layer-card:hover {
    background: var(--paper-3);
  }

  .stage:hover {
    background: var(--paper-2);
    box-shadow: inset 4px 0 0 var(--tuscan);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: clamp(48px, 7vw, 80px) clamp(56px, 7vw, 88px);
  }

  .hero__copy {
    max-width: 900px;
  }

  .hero__aside {
    justify-self: start;
    width: min(100%, 620px);
    margin-top: 8px;
    padding: 30px 22px 18px 0;
  }

  .system {
    max-width: 560px;
  }

  .seal {
    left: auto;
    right: 8px;
  }

  .section__grid {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .footer__bottom {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav,
  .header__cta {
    display: none;
  }

  .menu {
    display: block;
  }

  .section__head,
  .audience,
  .process,
  .threads,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .section__head {
    align-items: start;
  }

  .section__intro {
    max-width: 58ch;
  }

  .section__grid {
    grid-template-columns: 1fr;
  }

  .section__rail {
    position: static;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
  }

  .section__mark {
    margin-top: 0;
    font-size: 4.2rem;
    line-height: 0.7;
  }

  .layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layer-card:nth-child(2) {
    border-right: 0;
  }

  .layer-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .services {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service--theme,
  .service--brand,
  .service--apps,
  .service--pos,
  .service--catalog,
  .service--care {
    grid-column: span 3;
    grid-row: auto;
  }

  .service--theme {
    grid-column: span 6;
  }

  .service--care {
    grid-column: span 6;
  }

  .process__intro,
  .faq__intro {
    position: static;
  }

  .process__list {
    max-width: 680px;
  }

  .topics {
    max-width: 640px;
  }

  .threads h2 {
    max-width: 12ch;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 68px;
  }

  .brand__descriptor {
    display: none;
  }

  .hero__title {
    font-size: clamp(3.2rem, 15vw, 5.6rem);
  }

  .hero__grid {
    padding-top: 38px;
  }

  .hero__aside {
    padding-top: 36px;
    padding-right: 14px;
  }

  .system {
    border-radius: 14px;
    box-shadow:
      8px 8px 0 var(--tuscan),
      16px 16px 0 rgba(42, 157, 143, 0.18);
  }

  .seal {
    width: 84px;
    top: -20px;
    right: 0;
  }

  .hero__foot {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 22px;
  }

  .marquee {
    gap: 10px;
    padding-block: 13px;
  }

  .marquee__toggle {
    min-width: 58px;
    padding-inline: 10px;
  }

  .marquee__group {
    gap: 20px;
    padding-right: 20px;
  }

  .section {
    padding-block: clamp(64px, 12vw, 92px);
  }

  .layers {
    grid-template-columns: 1fr;
  }

  .layer-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .layer-card:last-child {
    border-bottom: 0;
  }

  .layer-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .layer-card__num {
    margin-bottom: 16px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service--theme,
  .service--brand,
  .service--apps,
  .service--pos,
  .service--catalog,
  .service--care {
    grid-column: 1 / -1;
  }

  .service {
    min-height: 0;
  }

  .specimen__type span,
  .specimen__type em {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .stage {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .stage__tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 10px;
  }

  .process__list {
    padding-left: 30px;
  }

  .process__list::before {
    left: 5px;
  }

  .process__list::after {
    left: 4px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .step__dot {
    left: -30px;
  }

  .topics {
    padding-left: 26px;
  }

  .topics::before {
    left: 4px;
  }

  .topic {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .topic__dot {
    left: -27px;
  }

  .topic__num {
    padding-top: 0;
  }

  .contact__action {
    box-shadow: 7px 7px 0 rgba(38, 70, 83, 0.18);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__contact {
    grid-column: auto;
  }

  .footer__word {
    font-size: clamp(4rem, 20vw, 7rem);
    margin-block: 34px 26px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 0.76rem;
  }

  .footer__top-link {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .header__inner {
    gap: 12px;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .system__layer {
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 11px 12px;
  }

  .system__label {
    font-size: 0.98rem;
  }

  .system__desc {
    font-size: 0.74rem;
  }

  .contact h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .contact .btn {
    font-size: 0.86rem;
  }
}

/* Short laptop screens: keep the primary action above the fold. */
@media (min-width: 1100px) and (max-height: 880px) {
  .hero__grid {
    padding-block: 40px 56px;
  }

  .hero__title {
    font-size: clamp(4rem, 7vw, 7.5rem);
  }

  .hero__lede {
    margin-top: 20px;
    font-size: clamp(1.04rem, 0.95rem + 0.3vw, 1.2rem);
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__note {
    margin-top: 24px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@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;
  }

  .hero__title .line__inner,
  .hero__lede,
  .hero__actions,
  .hero__note,
  .hero__aside,
  .system__layer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .scribble path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .seal {
    animation: none !important;
  }

  .marquee__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none !important;
    transform: none !important;
  }

  .marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 0;
  }

  .marquee__group:nth-child(2) {
    display: none;
  }

  .marquee__checkbox,
  .marquee__toggle {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .topics::before {
    transform: scaleY(1) !important;
  }

  .process__list::after {
    transform: scaleY(1) !important;
  }

  .threads__glow {
    display: none;
  }
}
