/* Direction: Michroma studio paper — pure white page, graphite ink,
   a cinematic fixed hero with glass navigation. Light-first, no ornament. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f0;
  --border: #e4e4e0;
  --border-strong: #b3b3b3;
  --ink: #131313;
  --muted: #6a6a66;
  --accent: #131313;
  --accent-hover: #101010;
  --accent-ink: #ffffff;
  --accent-text: #131313;
  --accent-strong: #131313;
  --accent-soft: #f2f2f0;
  --accent-border: #959595;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #e3f0e8;
  --success-strong: #137638;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f6eae1;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f7e4e4;
  --danger-strong: #b91c1c;
  --chart-1: #131313;
  --chart-2: #0c5d2a;
  --chart-3: #08556f;
  --chart-4: #5f3584;
  --chart-5: #832542;
  --chart-6: #84500d;

  --font-display: "Michroma", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Michroma", "Arial Narrow", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: 0.01em;
  --radius-card: 24px;
  --radius-btn: 999px;
  --gradient-hero: linear-gradient(165deg, #333333 0%, #101010 55%, #1d1d1d 100%);
  --x-on-photo: #ffffff;
  --x-ink-hover: #2c2c2c;
  --x-quote: #1c1c1a;
  --x-ink-2: #3a3a37;
  --x-ink-3: #3d3d3a;
  --x-ink-4: #4a4a46;
  --x-num: #5a5a56;
  --x-answer: #5f5f5b;
  --x-faint: #8b8b86;
  --x-link: #3b3b38;
  --x-link-hover: #0f0f0f;
  --x-line: #dcdcd7;
  --x-line-soft: #e8e8e4;
  --x-line-foot: #ddddd8;
  --x-outline: #cfcfc9;
  --x-card-hover: #b9b9b4;
  --x-hero-sub: #e6eaee;
  --x-glass: rgba(255, 255, 255, 0.2);
  --x-glass-strong: rgba(255, 255, 255, 0.4);
  --x-glass-hover: rgba(255, 255, 255, 0.5);
  --x-nav-glass: rgba(255, 255, 255, 0.3);
  --x-ghost: rgba(0, 0, 0, 0.08);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Michroma", "Arial Narrow", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #030303;
  --surface: #1c1c1c;
  --surface-2: #101010;
  --border: #262626;
  --border-strong: #4f4f4f;
  --ink: #ffffff;
  --muted: #9a9a9a;
  --accent: #373737;
  --accent-hover: #555555;
  --accent-ink: #ffffff;
  --accent-text: #868686;
  --accent-strong: #7b7b7b;
  --accent-soft: #0e0e0e;
  --accent-border: #1a1a1a;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #071f10;
  --success-strong: #39935b;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #2a1504;
  --warning-strong: #c06e2f;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #2b0909;
  --danger-strong: #cd5c5c;
  --chart-1: #686868;
  --chart-2: #3e9857;
  --chart-3: #1c8cb4;
  --chart-4: #936abd;
  --chart-5: #bf5b74;
  --chart-6: #b46e0d;
}

/* ===== Jaxon Grayson — single page ===== */

html {
  scroll-behavior: smooth;
}
html.is-loading,
html.is-loading body {
  overflow: hidden;
}
body {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--ink);
  color: var(--canvas);
}
.jx a {
  text-decoration: none;
  color: inherit;
}

/* ---------- loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--canvas);
  display: grid;
  place-items: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader span {
  font-size: 24px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.loader.is-up {
  transform: translateY(-101%);
}

/* ---------- reveal ---------- */
.rv {
  transition:
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
html.js-anim .rv {
  opacity: 0;
  transform: translateY(52px);
}
html.js-anim .rv.in {
  opacity: 1;
  transform: translateY(0);
}
.wline {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
}
.wline > i {
  display: inline-block;
  font-style: normal;
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
html.js-anim .ws .wline > i {
  opacity: 0;
  transform: translateY(110%);
}
html.js-anim .ws.in .wline > i {
  opacity: 1;
  transform: translateY(0);
}
html.reduced-motion .rv,
html.reduced-motion .ws .wline > i {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ---------- navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 4vw, 44px);
}
.nav-logo {
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--x-on-photo);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: var(--font-display);
}
.nav.scrolled .nav-logo {
  color: var(--ink);
}
.nav-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--x-on-photo);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--x-nav-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.3s ease,
    opacity 0.2s ease;
  white-space: nowrap;
}
.nav.scrolled .nav-cta {
  background: var(--ink);
}
.nav-cta:hover {
  opacity: 0.88;
}
.nav-cta:focus-visible,
.nav-logo:focus-visible {
  outline: 2px solid var(--x-glass-hover);
  outline-offset: 3px;
}
.nav.scrolled .nav-cta:focus-visible,
.nav.scrolled .nav-logo:focus-visible {
  outline-color: var(--ink);
}

.nav-menu {
  display: none;
}
.nav-menu.open {
  display: block;
  position: absolute;
  top: 66px;
  left: clamp(18px, 4vw, 44px);
  min-width: 214px;
  background: var(--surface);
  border: 1px solid var(--x-line-soft);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  padding: 10px;
}
.nav-menu a {
  display: block;
  color: var(--x-ink-4);
  font-size: 12px;
  padding: 15px 18px;
  border-radius: 14px;
}
.nav-menu a:hover {
  background: var(--surface-2);
}
.nav-menu a.active {
  background: var(--surface-2);
  color: var(--ink);
}
@media (min-width: 901px) {
  .nav-menu.open {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-inner {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 150px 20px 210px;
}
.hero-title {
  font-size: clamp(28px, 5.2vw, 70px);
  font-weight: 400;
  color: var(--x-on-photo);
  line-height: 1.22;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(11px, 1.1vw, 14px);
  color: var(--x-hero-sub);
  line-height: 1.9;
  max-width: 560px;
}
.hero-spacer {
  height: 100vh;
}

.pill {
  display: none;
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  gap: 2px;
  padding: 8px;
  border-radius: 999px;
  background: var(--x-glass);
  border: 1px solid var(--x-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pill a {
  font-size: 13px;
  font-weight: 700;
  color: var(--x-on-photo);
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s ease;
}
.pill a:hover {
  background: var(--x-glass-hover);
}
.pill a.active {
  background: var(--x-glass-strong);
}
@media (min-width: 901px) {
  .pill {
    display: flex;
  }
}

/* ---------- the stack that slides over the hero ---------- */
.after-hero {
  position: relative;
  z-index: 2;
  background: var(--canvas);
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.18);
}
.sec {
  position: relative;
  z-index: 2;
  background: var(--canvas);
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 90px);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
}

/* ---------- section 2 : what i do ---------- */
.s2-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
}
.s2-left,
.s2-rows {
  flex: 1 1 360px;
  min-width: 0;
}
.s2-h {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink);
}
.s2-sup {
  display: inline-block;
  vertical-align: super;
  margin-left: 12px;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  color: var(--x-ink-2);
  white-space: nowrap;
}
.s2-rows {
  border-top: 1px solid var(--x-line);
}
.s2-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 14px;
  padding: 26px 0;
  border-bottom: 1px solid var(--x-line);
}
.s2-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--x-num);
  padding-top: 2px;
}
.s2-title {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.s2-desc {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.9;
  font-weight: 600;
  color: var(--x-ink-3);
  margin-top: 12px;
}

/* ---------- about ---------- */
.ab-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 80px);
}
.ab-photo {
  flex: 1 1 320px;
  min-width: 0;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 5;
}
.ab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ab-body {
  flex: 1 1 420px;
  min-width: 0;
}
.ab-h {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink);
}
.ab-p {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.95;
  color: var(--x-ink-3);
  max-width: 54ch;
}
.ab-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--x-line);
  padding-top: clamp(26px, 3vw, 38px);
}
.ab-num {
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.ab-label {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--x-num);
}
@media (min-width: 601px) {
  .ab-stats {
    flex-direction: row;
    gap: clamp(24px, 4vw, 64px);
  }
  .ab-stat {
    flex: 1 1 0;
  }
}

/* ---------- section 3 : works ---------- */
.works-h {
  font-size: clamp(22px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.works-sub {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.works-grid {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 36px);
}
@media (min-width: 901px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.work {
  position: relative;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
  transition: border-color 0.4s ease;
}
.work:hover,
.work:focus-visible {
  border-color: var(--x-card-hover);
}
.work img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.work:hover img,
.work:focus-visible img {
  transform: scale(1.06);
}
.work-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  color: var(--x-on-photo);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}
.work-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 2.4vw, 30px);
  text-align: center;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--x-on-photo);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

/* ---------- section 4 : faqs ---------- */
.faq-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
}
.faq-left,
.faq-right {
  flex: 1 1 340px;
  min-width: 0;
}
.faq-h {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.faq-intro {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.95;
  max-width: 430px;
}
.pill-out {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 22px;
  border: 1px solid var(--x-outline);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.25s ease;
}
.pill-out:hover {
  background: var(--surface-2);
}
.pill-out .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 24px 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.6;
  color: var(--ink);
}
.faq-q .ar {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  transition: transform 0.4s ease;
}
.faq-item.open .faq-q .ar {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease;
}
.faq-item.open .faq-a {
  max-height: 260px;
  opacity: 1;
}
.faq-a p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--x-answer);
  padding: 0 44px 26px 2px;
}

/* ---------- section 5 : review ---------- */
.rev {
  text-align: center;
}
.rev-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7vw, 90px);
  line-height: 1;
  color: var(--x-ghost);
}
.rev-mark::before {
  content: "\201C";
}
.rev-quote {
  margin: 6px auto 0;
  max-width: 780px;
  font-size: clamp(17px, 2.3vw, 30px);
  font-weight: 700;
  color: var(--x-quote);
  line-height: 1.75;
  transition: opacity 0.3s ease;
}
.rev-name {
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink);
}
.rev-role {
  margin-top: 8px;
  font-size: 11px;
  color: var(--x-faint);
}
.strip {
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  cursor: ew-resize;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--ink) 12%, var(--ink) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, var(--ink) 12%, var(--ink) 88%, transparent 100%);
}
.strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  touch-action: pan-y;
}
.ph {
  flex: none;
  width: 128px;
  height: 92px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  opacity: 0.72;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  pointer-events: none;
}
.ph.active {
  opacity: 1;
  border: 2px solid var(--ink);
}
@media (min-width: 901px) {
  .ph {
    width: 164px;
    height: 116px;
  }
}

/* ---------- footer ---------- */
.foot {
  position: relative;
  z-index: 2;
  background: var(--canvas);
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 90px) 36px;
}
.foot-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 80px);
  justify-content: space-between;
}
.foot-h {
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink);
}
.foot-h .line {
  display: block;
}
.foot-btn-wrap {
  display: inline-block;
  margin-top: 30px;
  background: var(--accent);
  border-radius: 999px;
  transition: background 0.25s ease;
}
.foot-btn-wrap:hover {
  background: var(--x-ink-hover);
}
/* .jx a { color: inherit } is one step more specific than a bare class,
   so the label is set on a.foot-btn to keep it white on the dark pill. */
.jx a.foot-btn {
  display: block;
  background: transparent;
  color: var(--accent-ink);
  font-size: 13px;
  line-height: 1.2;
  padding: 15px 24px;
  border-radius: 999px;
  white-space: nowrap;
}
.jx a.foot-btn:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: -5px;
}
.foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 64px);
  text-align: left;
}
@media (min-width: 901px) {
  .foot-cols {
    text-align: right;
  }
}
.foot-col h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  font-size: 12px;
  color: var(--x-link);
  padding: 7px 0;
}
.foot-col a:hover {
  color: var(--x-link-hover);
}
.foot-bottom {
  max-width: 1240px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  border-top: 1px solid var(--x-line-foot);
  padding-top: 26px;
  text-align: center;
  font-size: 11px;
  color: var(--x-faint);
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .s2-desc {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(19px, 6.4vw, 28px);
  }
  .hero-inner {
    padding: 120px 18px 130px;
  }
  .faq-a p {
    padding-right: 10px;
  }
}
