:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --ink: #0a0a0b;
  --ink-2: #0f0f11;
  --panel: #141417;
  --panel-2: #1a1a1f;
  --line: #26262c;
  --line-2: #34343c;
  --white: #f4f5f7;
  --silver: #b9bec7;
  --silver-dim: #7d838e;

  --brass: #d5a441;
  --brass-lt: #f0c877;
  --pole-red: #c8342c;
  --pole-blue: #1f4f9c;

  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1240px;
  --rail: 78px;

  --font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.svc__name,
.brand__name {
  font-kerning: normal;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-transform: uppercase;
}

p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

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

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brass);
  flex: none;
}

.section-title {
  font-size: var(--text-2xl);
  max-width: 18ch;
}

.lede {
  color: var(--silver);
  max-width: 56ch;
  margin-top: var(--space-5);
}

/* ================= BARBER POLE RAIL ================= */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail);
  height: 100vh;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(90deg, #0e0e10, #08080a 70%, transparent);
  border-right: 1px solid var(--line);
}

@media (min-width: 1080px) {
  .rail {
    display: flex;
  }
  body {
    padding-left: var(--rail);
  }
}

.pole {
  width: 34px;
  height: calc(100vh - 128px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pole__cap {
  width: 44px;
  height: 26px;
  flex: none;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #3a3d44 0%,
    #9ea6b2 22%,
    #e9edf3 42%,
    #aeb6c2 62%,
    #4a4e57 100%
  );
  box-shadow: 0 0 0 1px #000, 0 6px 16px -8px #000;
}

.pole__cap--top {
  border-radius: 3px 3px 2px 2px;
}

.pole__tube {
  position: relative;
  flex: 1;
  width: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px #000;
}

.pole__stripes {
  position: absolute;
  left: -60%;
  top: -100%;
  width: 220%;
  height: 300%;
  background: repeating-linear-gradient(
    38deg,
    var(--pole-red) 0 27px,
    #ffffff 27px 54px,
    var(--pole-blue) 54px 81px,
    #ffffff 81px 108px
  );
  will-change: transform;
}

/* cylinder shading */
.pole__tube::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.12) 22%,
    rgba(255, 255, 255, 0.42) 40%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(0, 0, 0, 0.3) 78%,
    rgba(0, 0, 0, 0.68) 100%
  );
  pointer-events: none;
}

.rail__label {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* mobile inline pole */
.pole--inline {
  height: 260px;
  width: 30px;
}

.pole--inline .pole__tube {
  width: 30px;
}

.pole-inline-wrap {
  display: flex;
  justify-content: center;
  padding-block: var(--space-10);
}

@media (min-width: 1080px) {
  .pole-inline-wrap {
    display: none;
  }
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
  border-bottom: 1px solid transparent;
}

@media (min-width: 1080px) {
  .header {
    left: var(--rail);
  }
}

.header.is-scrolled {
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 84px;
  transition: height 0.35s ease;
}

.header.is-scrolled .header__inner {
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand__name em {
  font-style: normal;
  color: var(--brass);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: 5px;
}

.nav {
  display: none;
  gap: var(--space-8);
}

@media (min-width: 940px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  padding-block: var(--space-2);
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover {
  color: var(--white);
}
.nav a:hover::after {
  width: 100%;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brass);
  color: #17130a;
  font-weight: 700;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brass-lt);
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary:hover::before {
  transform: translateY(0);
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--outline {
  border-color: var(--line-2);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 0.78rem;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -12% 0 -12% 0;
  background: url('img/shop.jpg') center 40% / cover no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 11, 0.92) 0%,
      rgba(10, 10, 11, 0.55) 32%,
      rgba(10, 10, 11, 0.82) 72%,
      var(--ink) 100%
    ),
    linear-gradient(90deg, rgba(10, 10, 11, 0.86) 0%, rgba(10, 10, 11, 0.18) 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--line-2);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.5);
}

.hero__tag .star {
  color: var(--brass);
}

.hero h1 {
  font-size: var(--text-3xl);
  margin-top: var(--space-6);
  max-width: 13ch;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .line:nth-child(2) > span {
  animation-delay: 0.09s;
}
.hero h1 .line:nth-child(3) > span {
  animation-delay: 0.18s;
}

@keyframes riseUp {
  to {
    transform: translateY(0);
  }
}

.hero h1 .brass {
  color: var(--brass);
}

.hero__sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--silver);
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
  max-width: 720px;
}

@media (min-width: 700px) {
  .hero__facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--white);
  line-height: 1;
}

.fact span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: var(--space-2);
}

.scroll-cue {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-8);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-dim);
  display: none;
  align-items: center;
  gap: var(--space-3);
}

@media (min-width: 900px) {
  .scroll-cue {
    display: flex;
  }
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--brass), transparent);
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ================= MARQUEE ================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding-block: var(--space-4);
}

.marquee__track {
  display: flex;
  gap: var(--space-10);
  width: max-content;
  animation: slide 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

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

.marquee__item {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  color: var(--silver-dim);
  display: flex;
  align-items: center;
  gap: var(--space-10);
  white-space: nowrap;
}

.marquee__item::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}

/* ================= BEFORE / AFTER ================= */
.ba-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.ba-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-dim);
  border: 1px dashed var(--line-2);
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.ba-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

@media (min-width: 780px) {
  .ba-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ba {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.ba__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--panel-2);
  touch-action: pan-y;
  cursor: ew-resize;
  -webkit-tap-highlight-color: transparent;
}

.ba__stage:focus-within {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.ba__stage.is-dragging {
  cursor: grabbing;
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba__img--after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.ba__label {
  position: absolute;
  top: var(--space-4);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  color: var(--silver);
  transition: opacity 0.3s ease;
}

.ba__label--before {
  left: var(--space-4);
}

.ba__label--after {
  right: var(--space-4);
  color: var(--brass);
  border-color: rgba(213, 164, 65, 0.45);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.65);
  z-index: 4;
  pointer-events: none;
  transform: translateX(-1px);
}

.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brass);
  display: grid;
  place-items: center;
  color: #17130a;
  box-shadow: 0 6px 22px -6px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ba:hover .ba__knob {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba__stage.is-dragging .ba__knob {
  transform: translate(-50%, -50%) scale(1.14);
  box-shadow: 0 8px 28px -6px rgba(0, 0, 0, 0.95);
}

.ba__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 60px;
  height: 100%;
  cursor: ew-resize;
}

.ba__range::-moz-range-thumb {
  width: 60px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.ba__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--line);
}

.ba__meta h3 {
  font-size: var(--text-lg);
  letter-spacing: -0.035em;
}

.ba__meta p {
  font-size: var(--text-sm);
  color: var(--silver-dim);
  margin-top: var(--space-1);
  max-width: 34ch;
}

.ba__time {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(213, 164, 65, 0.35);
  border-radius: 3px;
  padding: 0.3rem 0.6rem;
  flex: none;
  white-space: nowrap;
}

/* ================= SERVICES ================= */
.services {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.svc-list {
  margin-top: var(--space-12);
  border-top: 1px solid var(--line);
}

.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brass);
  transform: scaleY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc:hover::before {
  transform: scaleY(1);
}

.svc:hover {
  padding-left: var(--space-5);
}

.svc__n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--silver-dim);
  letter-spacing: 0.1em;
}

.svc__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-lg);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.svc__desc {
  font-size: var(--text-sm);
  color: var(--silver-dim);
  margin-top: var(--space-1);
}

.svc__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--brass);
}

/* ================= SHOP / SPLIT ================= */
.split {
  display: grid;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.frame:hover img {
  transform: scale(1.04);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: var(--space-10) 0 0;
  display: grid;
  gap: var(--space-5);
}

.info-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-4);
  align-items: baseline;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.info-list dt,
.info-list .k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.info-list .v {
  color: var(--white);
}

.info-list .v a {
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.info-list .v a:hover {
  color: var(--brass);
  border-color: var(--brass);
}

/* ================= REVIEWS ================= */
.reviews {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.rev-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-12);
}

@media (min-width: 820px) {
  .rev-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rev {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.rev:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.rev__stars {
  color: var(--brass);
  letter-spacing: 0.16em;
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.rev p {
  font-size: var(--text-base);
  line-height: 1.55;
}

.rev__who {
  margin-top: auto;
  padding-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* ================= CTA ================= */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(var(--space-20), 11vw, var(--space-32));
}

.cta__bg {
  position: absolute;
  inset: -20% 0;
  background: url('img/shop.jpg') center 60% / cover no-repeat;
  filter: grayscale(0.4);
  will-change: transform;
  z-index: 0;
}

.cta__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    rgba(10, 10, 11, 0.78) 38%,
    rgba(10, 10, 11, 0.82) 62%,
    var(--ink) 100%
  );
}

.cta__inner {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: var(--text-2xl);
  max-width: 16ch;
  margin-inline: auto;
}

.cta p {
  color: var(--silver);
  margin-top: var(--space-5);
  max-width: 48ch;
  margin-inline: auto;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-10);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-12);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

.footer__links a:hover {
  color: var(--brass);
}

.footer__meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
}

.credit {
  color: var(--silver-dim);
}

.credit a {
  color: var(--brass);
}

/* ================= REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero h1 .line > span {
    transform: none;
  }
}


/* --- QA fixes --- */
section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 640px) {
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: 1.05rem;
  }
}
