:root {
  --bg-dark: #111111;
  --bg-light: #f4f2ec;
  --accent: #b8dd63;
  --accent-soft: #dff2a0;
  --warm: #c9d2b2;
  --warm-light: #ecf0df;
  --text-light: #ffffff;
  --text-dark: #111111;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-dark: rgba(17, 17, 17, 0.68);
  --border-soft: rgba(255, 255, 255, 0.14);
  --shadow-card: 0 20px 60px rgba(17, 17, 17, 0.12);
  --radius-shell: 2rem;
  --radius-card: 1.25rem;
  --container: min(100% - 3rem, 1180px);
  --title-font: "Anton", Impact, sans-serif;
  --body-font: "Manrope", sans-serif;
  --transition: 240ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background: #111111;
  color: var(--text-light);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  color-scheme: only light;
  forced-color-adjust: none;
}

svg,
video,
canvas {
  forced-color-adjust: none;
}

.section-dark,
.site-header,
.site-footer,
.command-palette,
.social-image-lightbox {
  color-scheme: dark;
}

.section-light,
.social-image-card,
.review-card {
  color-scheme: only light;
}

.school-paper {
  color-scheme: dark;
}

input,
select,
textarea,
button {
  accent-color: var(--accent);
  forced-color-adjust: none;
}

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

button {
  font: inherit;
}

.page-shell {
  width: 100%;
  margin: 0;
  background: var(--bg-dark);
  border: none;
  border-radius: 0;
  overflow: clip;
  position: relative;
}

.section-dark,
.section-light,
.site-footer {
  position: relative;
  isolation: isolate;
}

.section-dark::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.18;
  pointer-events: none;
}

.site-header {
  width: min(100% - 4rem, 1520px);
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  padding: 1.05rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(31, 35, 25, 0.94), rgba(12, 13, 12, 0.92));
  backdrop-filter: blur(22px) saturate(1.08);
  border: 1px solid rgba(221, 255, 150, 0.24);
  box-shadow:
    0 1.2rem 3.5rem rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background-color var(--transition),
    backdrop-filter var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.site-header.scrolled {
  background:
    linear-gradient(135deg, rgba(35, 41, 27, 0.98), rgba(9, 10, 9, 0.96));
  backdrop-filter: blur(24px) saturate(1.12);
  border-color: rgba(221, 255, 150, 0.34);
  box-shadow:
    0 1rem 3rem rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-flower,
.flower {
  display: inline-block;
  background: var(--accent);
}

.brand-flower {
  width: 0.65rem;
  aspect-ratio: 1;
  clip-path: polygon(
    50% 0%,
    64% 18%,
    84% 10%,
    76% 32%,
    100% 50%,
    76% 68%,
    84% 90%,
    64% 82%,
    50% 100%,
    36% 82%,
    16% 90%,
    24% 68%,
    0% 50%,
    24% 32%,
    16% 10%,
    36% 18%
  );
  box-shadow: 0 0 0 0.25rem rgba(184, 221, 99, 0.16);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.9;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(184, 221, 99, 0.18);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(184, 221, 99, 0.28);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--text-light);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.26rem auto;
  background: currentColor;
}

main section,
.site-footer {
  padding-inline: clamp(1.5rem, 3vw, 3rem);
}

.hero-grid,
.section-intro,
.about-layout,
.skills-header,
.skills-stats,
.portfolio .section-title,
.carousel,
.quote-orbit,
.section-title.huge,
.testimonial-grid,
.footer-topline,
.footer-main,
.footer-wordmark,
.copyright {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.hero {
  padding-top: 6rem;
  padding-bottom: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.hero-grid {
  min-height: calc(100vh - 8rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
}

.hero-copy,
.hero-visual {
  position: relative;
  grid-area: 1 / 1;
}

.hero-copy {
  z-index: 1;
  min-height: calc(100vh - 8rem);
  display: grid;
  align-content: end;
  padding-bottom: 2rem;
}

.hero-copy > :not(.hero-title) {
  position: relative;
  z-index: 3;
  max-width: fit-content;
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-label.light {
  color: var(--text-light);
}

.hero-title,
.section-title,
.footer-wordmark,
.footer-topline {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-title {
  margin: 0;
  display: block;
  line-height: 0.9;
  font-size: clamp(5.8rem, 9.7vw, 9.2rem);
  position: absolute;
  left: 0;
  top: 52%;
  transform: translateY(-50%);
  width: min(38vw, 540px);
  text-align: left;
  z-index: 3;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

.hero-title-kicker {
  position: absolute;
  left: 1%;
  top: -1.08em;
  font-family: var(--title-font);
  font-size: clamp(1.65rem, 3.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.03em;
}

.glitch {
  position: relative;
  display: inline-block;
  color: var(--text-light);
  text-shadow:
    1px 0 rgba(255, 255, 255, 0.6),
    -1px 0 rgba(184, 221, 99, 0.46);
  animation: noiseShift 2.4s infinite steps(1);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.glitch::before {
  color: rgba(255, 255, 255, 0.75);
  transform: translate(-2px, 1px);
  clip-path: inset(12% 0 55% 0);
}

.glitch::after {
  color: rgba(184, 221, 99, 0.9);
  transform: translate(2px, -1px);
  clip-path: inset(55% 0 10% 0);
}

.hero-tagline,
.section-copy {
  max-width: 26rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.hero-note {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.12rem;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0;
  line-height: 1.05;
}

.crosshair {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  position: relative;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(184, 221, 99, 0.82);
}

.crosshair::before {
  width: 1px;
  height: 5rem;
  transform: translate(-50%, -50%);
}

.crosshair::after {
  width: 5rem;
  height: 1px;
  transform: translate(-50%, -50%);
}

.crosshair {
  box-shadow: 0 0 0 0.2rem rgba(184, 221, 99, 0.12) inset;
}

.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  z-index: 2;
  width: 100%;
  padding-right: clamp(1rem, 4vw, 4rem);
}

.hero-visual img,
.quote-image-wrap img,
.footer-portrait {
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}

.hero-visual img {
  width: min(100%, 760px);
  height: min(90vh, 980px);
  border-radius: 1.5rem 1.5rem 0 0;
  margin-inline: auto;
  filter: none;
}

.hero-lines {
  position: absolute;
  inset: 8% 0 18% 0;
  border-inline: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.stamp-badge {
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(184, 221, 99, 0.45);
  background:
    radial-gradient(circle, #111111 0 24%, transparent 24%),
    radial-gradient(circle, rgba(184, 221, 99, 0.18), rgba(184, 221, 99, 0.06));
  color: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 0 0 0.55rem rgba(184, 221, 99, 0.09) inset;
}

.stamp-badge span {
  grid-area: 1 / 1;
}

.stamp-badge span:nth-child(1) {
  transform: translateY(-1.35rem);
}

.stamp-badge span:nth-child(2) {
  transform: translateY(0);
}

.stamp-badge span:nth-child(3) {
  transform: translateY(1.35rem);
}

.hero .stamp-badge {
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  top: 55%;
  z-index: 5;
  background:
    radial-gradient(circle, rgba(17, 17, 17, 0.96) 0 24%, rgba(17, 17, 17, 0.82) 24%),
    rgba(184, 221, 99, 0.14);
  backdrop-filter: blur(14px);
}

.hero-aside {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: 8.5rem;
  z-index: 5;
  max-width: 15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(184, 221, 99, 0.18);
  border-radius: 0.85rem;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
  padding-block: clamp(4rem, 7vw, 6rem);
}

.section-break {
  position: relative;
  height: clamp(3.5rem, 6vw, 5.5rem);
  background:
    linear-gradient(rgba(184, 221, 99, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.06) 1px, transparent 1px),
    #111111;
  background-size: 72px 72px, 72px 72px, auto;
  overflow: hidden;
}

.section-break::before,
.section-break::after {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 3vw, 3rem);
  right: clamp(1.5rem, 3vw, 3rem);
}

.section-break::before {
  top: 0;
  height: 1px;
  background: rgba(17, 17, 17, 0.2);
}

.section-break::after {
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.section-break span {
  position: absolute;
  left: clamp(1.5rem, 3vw, 3rem);
  right: clamp(1.5rem, 3vw, 3rem);
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateY(-50%);
  opacity: 0.82;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.section-copy {
  color: var(--muted-dark);
  justify-self: end;
}

.about.section-dark {
  background: #111111;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.about.section-dark .section-label {
  color: var(--accent-soft);
}

.about.section-dark .creator-os-card {
  border: 1px solid rgba(221, 255, 150, 0.2);
  background:
    linear-gradient(135deg, rgba(184, 221, 99, 0.12), transparent 38%),
    #171a14;
  box-shadow:
    0 1.2rem 3.2rem rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about.section-dark .creator-os-card::after {
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(0, 0, 0, 0.78) 100%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(184, 221, 99, 0.1) 19px 20px);
}

.about-layout {
  display: grid;
  gap: 2rem;
  margin-top: 2.2rem;
  padding-bottom: clamp(2rem, 4vw, 3.8rem);
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(3.3rem, 8vw, 6.2rem);
  line-height: 0.93;
}

.section-title.oversized {
  max-width: 12ch;
  justify-self: center;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.portrait-card {
  display: block;
  overflow: hidden;
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.26), transparent 45%),
    linear-gradient(145deg, var(--warm-light), var(--warm));
  min-height: clamp(17rem, 22vw, 23rem);
  height: 100%;
  box-shadow: var(--shadow-card);
  transition:
    transform 320ms ease,
    box-shadow 320ms ease;
}

.portrait-card.tall {
  min-height: clamp(17rem, 22vw, 23rem);
  height: 100%;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.portrait-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.18);
}

.skills {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.skills.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.skills-header {
  display: grid;
  gap: 2rem;
}

.progress-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-ornament::before,
.progress-ornament::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(184, 221, 99, 0.7), rgba(184, 221, 99, 0.1));
}

.flower {
  flex: none;
  clip-path: path(
    "M29 0C37.2843 0 44 6.71573 44 15C44 20.9988 40.4819 26.1758 35.4062 28.5869C41.7404 29.0805 46.7341 34.3951 46.7344 40.8574C46.7344 47.6454 41.2314 53.1484 34.4434 53.1484C28.2638 53.1481 23.1509 48.5801 22.291 42.6377C20.3068 47.4803 15.5506 50.8906 10 50.8906C2.26801 50.8906 -4 44.6226 -4 36.8906C-4 30.7071 0.00974918 25.4581 5.57715 23.6631C2.22827 21.2086 0 17.2545 0 12.7773C0 5.72063 5.72063 0 12.7773 0C19.4194 0.000311699 24.8782 5.06662 25.5078 11.5459C27.8665 4.80887 33.7829 0 40.8867 0H29Z"
  );
}

.flower-large {
  width: 4.2rem;
  height: 4.2rem;
}

.flower-small {
  width: 1.75rem;
  height: 1.75rem;
}

.flower.dim {
  opacity: 0.35;
}

.skills-stats {
  width: min(100%, 980px);
  margin-top: 3rem;
  margin-inline: auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(8rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
  justify-content: center;
}

.skills.section-light .skills-stats {
  border-top-color: rgba(17, 17, 17, 0.12);
}

.skills.section-light .skill-pills span {
  color: var(--text-dark);
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(184, 221, 99, 0.18);
}

.skills.section-light .focus-row {
  color: rgba(17, 17, 17, 0.76);
}

.skills.section-light .focus-track {
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(17, 17, 17, 0.07);
}

.stat-number {
  font-family: var(--title-font);
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 0.9;
  color: var(--accent);
}

.stat-copy h2 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 0.95;
}

.stat-copy p {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.skills-stats:hover .stat-number {
  transform: translateY(-3px);
}

.portfolio-intro {
  margin-bottom: 1rem;
}

.carousel {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 28%);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 1rem 0.2rem 1.5rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  scroll-snap-align: center;
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(145deg, var(--warm-light), var(--warm));
  min-height: clamp(23rem, 30vw, 32rem);
  box-shadow: var(--shadow-card);
  transition:
    transform 320ms ease,
    box-shadow 320ms ease;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rotate-left {
  transform: rotate(-6deg);
}

.rotate-right {
  transform: rotate(6deg);
}

.carousel-card:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 26px 50px rgba(17, 17, 17, 0.16);
}

.carousel-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  background: white;
  color: var(--text-dark);
  display: grid;
  place-items: center;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.carousel-button.next {
  background: #f1c739;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-2px);
}

.quote-section {
  padding-block: clamp(4rem, 8vw, 6rem);
  display: grid;
  place-items: center;
}

.quote-orbit {
  position: relative;
  width: min(100%, 700px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.quote-image-wrap {
  width: min(58%, 290px);
  aspect-ratio: 0.75;
  overflow: hidden;
  border-radius: 999px 999px 1.5rem 1.5rem;
}

.quote-image-wrap img {
  width: 100%;
  height: 100%;
}

.circular-text {
  position: absolute;
  inset: 0;
  animation: spin 16s linear infinite;
}

.circular-text text {
  fill: white;
  font-family: var(--title-font);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
}

.testimonials {
  overflow: hidden;
}

.testimonial-layout {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  justify-items: center;
}

.section-title.huge {
  font-size: clamp(4rem, 13vw, 9.5rem);
  text-align: center;
}

.testimonial-grid {
  width: 100%;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  justify-items: center;
}

.testimonial-top {
  margin-bottom: -1.2rem;
}

.flower-card {
  --flower-fill: #ffffff;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin-inline: auto;
  position: relative;
  background:
    radial-gradient(circle at 50% 20%, var(--flower-fill) 0 18%, transparent 18.5%),
    radial-gradient(circle at 24% 42%, var(--flower-fill) 0 18%, transparent 18.5%),
    radial-gradient(circle at 76% 42%, var(--flower-fill) 0 18%, transparent 18.5%),
    radial-gradient(circle at 38% 74%, var(--flower-fill) 0 18%, transparent 18.5%),
    radial-gradient(circle at 62% 74%, var(--flower-fill) 0 18%, transparent 18.5%),
    radial-gradient(circle at 50% 50%, var(--flower-fill) 0 26%, transparent 26.5%);
  box-shadow: none;
  padding: 4.2rem 3rem;
  text-align: center;
}

.testimonial-content {
  position: absolute;
  inset: 26% 24% 24%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
}

.flower-card.pink {
  --flower-fill: var(--accent-soft);
}

.stars {
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.testimonial p {
  margin: 0;
  color: rgba(17, 17, 17, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

.testimonial h3 {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer {
  padding-top: 2rem;
  padding-bottom: 1.3rem;
}

.footer-topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  font-size: clamp(2rem, 4.5vw, 4rem);
  color: var(--accent-soft);
}

.footer-topline span:first-child {
  justify-self: start;
}

.footer-topline span:last-child {
  justify-self: end;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: 1rem;
}

.footer-left {
  position: relative;
  min-height: 21rem;
  display: flex;
  align-items: end;
  justify-content: center;
}

.footer-portrait {
  width: auto;
  max-width: min(100%, 760px);
  height: 32rem;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(1.2rem);
}

.footer-stamp {
  position: absolute;
  left: 0;
  top: 3rem;
}

.footer-links {
  display: grid;
  gap: 1.8rem;
  justify-items: start;
  align-content: center;
  text-transform: uppercase;
}

.footer-links nav {
  display: grid;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.social-links a {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

.footer-wordmark {
  margin-top: -0.35em;
  font-size: clamp(5.6rem, 16vw, 12rem);
  line-height: 0.82;
  text-align: center;
}

.copyright {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

.reveal-section {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes noiseShift {
  0%,
  100% {
    filter: contrast(1);
  }

  20% {
    filter: contrast(1.15) saturate(0.85);
  }

  40% {
    filter: blur(0.2px) contrast(1.08);
  }

  60% {
    filter: contrast(1.25);
  }

  80% {
    filter: saturate(0.9);
  }
}

@media (max-width: 1080px) {
  .section-intro,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 7.5rem;
    min-height: auto;
    display: block;
  }

  .hero-copy {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 0;
    min-height: 28rem;
  }

  .hero-title {
    top: 48%;
    font-size: clamp(5.2rem, 9vw, 7.8rem);
    width: min(38vw, 480px);
  }

  .hero-title-kicker {
    left: 1%;
    top: -1em;
    font-size: clamp(1.5rem, 4.4vw, 3.1rem);
  }

  .hero-visual img {
    width: min(100%, 620px);
    height: 35rem;
    border-radius: 1.6rem;
  }

  .hero-aside {
    right: 1rem;
    top: 7.4rem;
  }

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

  .carousel-track {
    grid-auto-columns: minmax(240px, 45%);
  }

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

  .footer-links {
    justify-items: center;
  }
}

@media (max-width: 1024px) {
  :root {
    --container: min(100% - 2.5rem, 980px);
  }

  main section,
  .site-footer {
    padding-inline: clamp(1.25rem, 3vw, 2rem);
  }

  .site-header {
    width: calc(100% - 2rem);
    top: 0.9rem;
    padding: 0.95rem 1rem;
  }

  .hero {
    padding-top: 6.8rem;
  }

  .hero-grid {
    gap: 1.5rem;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(4.8rem, 8.8vw, 7rem);
  }

  .hero-title-kicker {
    left: 1%;
  }

  .hero-tagline,
  .section-copy {
    max-width: 34rem;
    font-size: 0.92rem;
  }

  .hero-note {
    margin-top: 2.5rem;
  }

  .hero-visual {
    min-height: 24rem;
    padding-right: 1.25rem;
  }

  .hero-visual img {
    width: min(100%, 500px);
    height: 30rem;
  }

  .section-intro {
    gap: 1rem;
  }

  .about-layout {
    gap: 1.5rem;
  }

  .section-title {
    font-size: clamp(3rem, 7.4vw, 5rem);
  }

  .about-gallery {
    gap: 1rem;
  }

  .carousel-track {
    grid-auto-columns: minmax(240px, 44%);
    gap: 1rem;
  }

  .quote-orbit {
    width: min(100%, 560px);
  }

  .circular-text text {
    font-size: 1.5rem;
  }

  .testimonial-grid {
    gap: 1rem;
  }

  .flower-card {
    width: min(100%, 300px);
    padding: 2.8rem 1.9rem;
  }

  .footer-main {
    gap: 1.5rem;
  }

  .footer-portrait {
    width: min(100%, 360px);
    height: 24rem;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .site-header {
    width: calc(100% - 1rem);
    top: 0.5rem;
    grid-template-columns: auto auto auto;
    padding: 0.9rem 1rem;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    padding: 6.5rem 1.5rem 2rem;
    background:
      linear-gradient(rgba(184, 221, 99, 0.04), rgba(184, 221, 99, 0.04)),
      rgba(17, 17, 17, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    z-index: -1;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--transition),
      opacity var(--transition);
  }

  .site-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .menu-toggle {
    display: block;
    justify-self: center;
    z-index: 2;
  }

  .header-cta {
    justify-self: end;
    padding-inline: 0.85rem;
    font-size: 0.65rem;
    z-index: 2;
  }

  .hero-grid {
    min-height: auto;
    gap: 1rem;
  }

  .hero-copy,
  .hero-visual {
    grid-area: auto;
  }

  .hero-visual {
    padding-right: 0;
  }

  .hero-copy {
    padding-top: 1rem;
  }

  .hero-title {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin-top: 1.25rem;
    font-size: clamp(4.4rem, 22vw, 7rem);
    width: 100%;
  }

  .hero-title-kicker {
    left: 0;
    top: -0.98em;
    font-size: clamp(1.15rem, 6.4vw, 2rem);
  }

  .eyebrow,
  .section-label {
    font-size: 0.74rem;
  }

  .hero-tagline,
  .section-copy {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .hero-visual img {
    width: 100%;
    height: min(28rem, 82vh);
  }

  .hero .stamp-badge {
    width: 5.8rem;
    right: 0.3rem;
    top: auto;
    bottom: 3rem;
  }

  .hero-aside {
    position: relative;
    margin: 1rem 0 0 auto;
    text-align: right;
    right: auto;
    top: auto;
  }

  .hero-note {
    margin-top: 2rem;
    font-size: 0.92rem;
    align-items: flex-start;
  }

  .section-title,
  .section-title.huge {
    text-align: left;
  }

  .section-title {
    font-size: clamp(2.65rem, 13vw, 4.5rem);
  }

  .section-title.huge {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .section-intro,
  .about-layout,
  .skills-header,
  .skills-stats,
  .footer-main {
    gap: 1.1rem;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.2rem;
  }

  .testimonial-top {
    margin-bottom: 0.4rem;
  }

  .portrait-card,
  .portrait-card.tall {
    min-height: 20rem;
  }

  .skills-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .carousel-track {
    order: 0;
    grid-auto-columns: 78%;
    gap: 0.9rem;
    padding-inline: 0.1rem;
  }

  .carousel-button {
    display: none;
  }

  .quote-orbit {
    width: min(100%, 360px);
  }

  .circular-text text {
    font-size: 1.25rem;
  }

  .footer-topline {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.4rem;
  }

  .footer-topline span:first-child,
  .footer-topline span:last-child {
    justify-self: center;
  }

  .footer-left {
    min-height: 16rem;
    justify-content: center;
  }

  .footer-stamp {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .footer-portrait {
    height: 19rem;
  }

  .footer-links {
    justify-items: center;
  }

  .footer-links nav {
    justify-items: center;
  }

  .flower-card {
    width: min(100%, 360px);
    padding: 3.2rem 2.2rem;
  }

  .testimonial-content {
    inset: 25% 22% 22%;
  }
}

/* Editorial command bar */
.site-header {
  min-height: 4.8rem;
  grid-template-columns: minmax(9.5rem, auto) minmax(0, 1fr) auto;
  gap: clamp(0.7rem, 1.6vw, 1.5rem);
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  border-radius: 0.5rem;
  border-color: rgba(223, 242, 160, 0.24) !important;
  background:
    linear-gradient(90deg, rgba(223, 242, 160, 0.08), transparent 24%),
    rgba(13, 15, 13, 0.96) !important;
  box-shadow:
    0 1.1rem 3rem rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.site-header::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1rem;
  width: clamp(5rem, 12vw, 10rem);
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 1rem rgba(184, 221, 99, 0.5);
}

.site-header .brand {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  row-gap: 0.12rem;
  align-items: center;
}

.site-header .brand-flower {
  grid-row: 1 / 3;
}

.site-header .brand-text {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.brand-mode {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  min-width: 0;
  gap: 0;
  font-size: inherit;
}

.site-nav .editorial-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.15rem, 0.65vw, 0.55rem);
}

.editorial-menu > li {
  position: relative;
}

.editorial-menu > li > a,
.editorial-more summary {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.55rem clamp(0.42rem, 0.8vw, 0.72rem);
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.68) !important;
  cursor: pointer;
  font-size: clamp(0.56rem, 0.62vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.editorial-menu > li > a > span,
.editorial-more-menu a > span {
  color: rgba(184, 221, 99, 0.62);
  font-size: 0.52rem;
}

.editorial-menu > li > a::after {
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.28rem;
  width: auto;
}

.editorial-menu > li > a:hover,
.editorial-menu > li > a:focus-visible,
.editorial-menu > li > a.is-active,
.editorial-more summary:hover,
.editorial-more details.is-current > summary {
  border-color: rgba(223, 242, 160, 0.16);
  background: rgba(223, 242, 160, 0.06);
  color: #fff !important;
}

.editorial-menu > li > a.is-active {
  color: var(--accent-soft) !important;
}

.editorial-menu > li > a.is-active > span {
  color: var(--accent-soft);
}

.editorial-more details {
  position: relative;
}

.editorial-more summary {
  list-style: none;
}

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

.editorial-more summary > span {
  color: var(--accent);
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.editorial-more details[open] summary > span {
  transform: rotate(45deg);
}

.editorial-more-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 35;
  width: 14rem;
  display: grid;
  padding: 0.45rem;
  border: 1px solid rgba(223, 242, 160, 0.24);
  background: rgba(15, 17, 15, 0.98);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.editorial-more-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-more-menu a:last-child {
  border-bottom: 0;
}

.editorial-more-menu a:hover,
.editorial-more-menu a.is-active {
  background: var(--accent-soft);
  color: #111 !important;
}

.editorial-more-menu a:hover > span,
.editorial-more-menu a.is-active > span {
  color: #48630f;
}

.editorial-search {
  margin-left: clamp(0.15rem, 0.6vw, 0.5rem);
  padding-left: clamp(0.15rem, 0.6vw, 0.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-search {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  cursor: pointer;
}

.nav-search > span {
  color: var(--accent-soft);
  font-size: 1rem;
}

.nav-search strong {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-search kbd {
  padding: 0.18rem 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.5rem;
}

.nav-search:hover,
.nav-search:focus-visible {
  border-color: rgba(223, 242, 160, 0.42);
  background: rgba(223, 242, 160, 0.09);
}

.site-header .header-cta {
  min-width: 5.2rem;
  display: grid;
  place-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 0.25rem;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .brand-mode,
  .nav-search strong,
  .nav-search kbd {
    display: none;
  }

  .site-header {
    width: calc(100% - 1.5rem);
    grid-template-columns: auto 1fr auto;
  }

  .editorial-menu > li > a,
  .editorial-more summary {
    padding-inline: 0.4rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 4.25rem;
    grid-template-columns: 1fr auto auto;
    border-radius: 0.4rem;
  }

  .site-header .brand-mode {
    display: block;
  }

  .site-nav .editorial-menu {
    width: min(100%, 32rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin: auto;
  }

  .editorial-menu > li > a,
  .editorial-more summary {
    width: 100%;
    min-height: 3.2rem;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-color: rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
  }

  .editorial-more-menu {
    position: static;
    width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .editorial-search {
    margin: 0;
    padding: 0;
    border-left: 0;
  }

  .nav-search {
    width: 100%;
    min-height: 3.2rem;
    justify-content: center;
  }

  .nav-search strong,
  .nav-search kbd {
    display: inline;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(100% - 1.25rem, 100%);
  }

  main section,
  .site-footer {
    padding-inline: 0.75rem;
  }

  .site-header {
    width: calc(100% - 0.75rem);
    padding: 0.75rem 0.8rem;
  }

  .brand {
    font-size: 0.72rem;
  }

  .header-cta {
    padding: 0.62rem 0.72rem;
    font-size: 0.58rem;
  }

  .menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 1.5rem;
  }

  .hero-copy {
    padding-top: 0.5rem;
  }

  .hero-title {
    font-size: clamp(3.9rem, 20vw, 5.7rem);
  }

  .hero-title-kicker {
    left: 0;
    top: -1.02em;
    font-size: clamp(1rem, 7vw, 1.5rem);
  }

  .hero-note {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .crosshair {
    width: 3.75rem;
    height: 3.75rem;
  }

  .crosshair::before {
    height: 3.75rem;
  }

  .crosshair::after {
    width: 3.75rem;
  }

  .hero-visual {
    min-height: 22rem;
  }

  .hero-visual img {
    height: min(24.5rem, 72vh);
    border-radius: 1.15rem;
  }

  .hero .stamp-badge {
    width: 4.9rem;
    bottom: 1.5rem;
  }

  .testimonial-content {
    inset: 24% 19% 21%;
  }

  .stamp-badge {
    font-size: 0.58rem;
  }

  .stamp-badge span:nth-child(1) {
    transform: translateY(-0.95rem);
  }

  .stamp-badge span:nth-child(3) {
    transform: translateY(0.95rem);
  }

  .section-light,
  .skills,
  .quote-section,
  .site-footer {
    padding-block: 3rem;
  }

  .section-title {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .section-title.huge {
    font-size: clamp(2.9rem, 17vw, 4.7rem);
  }

  .stat-number {
    font-size: clamp(4rem, 23vw, 5.8rem);
  }

  .stat-copy h2 {
    font-size: clamp(1.75rem, 10vw, 2.8rem);
  }

  .carousel-track {
    grid-auto-columns: 86%;
  }

  .carousel-card {
    min-height: 20rem;
  }

  .quote-orbit {
    width: min(100%, 300px);
  }

  .quote-image-wrap {
    width: min(60%, 200px);
  }

  .circular-text text {
    font-size: 1rem;
  }

  .flower-card {
    width: min(100%, 300px);
    padding: 2.8rem 1.7rem;
  }

  .testimonial-content {
    width: 46%;
    transform: translateY(-0.1rem);
  }

  .testimonial p {
    font-size: 0.85rem;
  }

  .footer-portrait {
    width: min(100%, 270px);
    height: 16rem;
  }

  .footer-wordmark {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .copyright {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

  .reveal-section {
    opacity: 1;
    transform: none;
  }
}

.site-nav .menu,
.footer-links .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .menu {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-nav .menu li a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
  position: relative;
}

.site-nav .menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav .menu li a:hover::after,
.site-nav .menu li a:focus-visible::after {
  transform: scaleX(1);
}

.footer-links .menu {
  display: grid;
  gap: 0.7rem;
}

.footer-links .menu li a {
  color: inherit;
  text-decoration: none;
}

.custom-logo-link,
.brand-text {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.custom-logo-link img {
  max-height: 2rem;
  width: auto;
}

.content-shell {
  min-height: 100vh;
  padding-block: 8rem 4rem;
}

.wp-content-wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.wp-entry {
  max-width: 900px;
  margin-inline: auto;
}

.archive-list {
  display: grid;
  gap: 2rem;
}

.entry-content,
.entry-content p,
.entry-content li {
  color: rgba(17, 17, 17, 0.76);
  line-height: 1.8;
  font-size: 1rem;
}

.entry-content a {
  color: inherit;
}

.entry-thumbnail {
  margin: 2rem 0;
}

.entry-thumbnail img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.sidebar-area {
  width: 100%;
  max-width: 320px;
  margin: 3rem auto 0;
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  margin: 0 0 1rem;
  font-family: var(--title-font);
  text-transform: uppercase;
  font-size: 1.8rem;
}

@media (max-width: 760px) {
  .site-nav .menu {
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
  }

  .site-nav .menu li a {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }
}

.site-nav {
  font-size: 0.68rem;
}

.site-nav .menu {
  gap: clamp(0.65rem, 1.4vw, 1.25rem);
}

.section-dark::before,
.site-footer::before {
  background-image:
    linear-gradient(rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.055) 1px, transparent 1px);
}

.crosshair::before,
.crosshair::after {
  background: rgba(184, 221, 99, 0.82);
}

.hero-builder {
  width: min(50vw, 660px);
  height: min(74vh, 760px);
  margin-left: auto;
  margin-right: 0;
}

.builder-visual,
.placeholder-card,
.product-mark,
.footer-placeholder {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    #151713;
  color: var(--accent-soft);
  position: relative;
  overflow: hidden;
}

.builder-visual::before,
.placeholder-card::before,
.product-mark::before,
.footer-placeholder::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(184, 221, 99, 0.18);
  pointer-events: none;
}

.builder-visual {
  border-radius: 1.5rem 1.5rem 0 0;
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  opacity: 0.96;
}

.visual-screen {
  min-height: 42%;
  border: 1px solid rgba(184, 221, 99, 0.2);
  background: #20231d;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 2rem;
}

.screen-line {
  display: block;
  width: 64%;
  height: 0.75rem;
  background: rgba(184, 221, 99, 0.7);
}

.screen-line.wide {
  width: 88%;
}

.screen-line.short {
  width: 42%;
}

.visual-console {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 221, 99, 0.2);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-card {
  display: grid;
  place-items: end start;
  padding: 1.25rem;
  color: var(--text-light);
  background:
    linear-gradient(135deg, rgba(184, 221, 99, 0.22), transparent 36%),
    #1b1d18;
}

.placeholder-card span {
  position: relative;
  z-index: 1;
  font-family: var(--title-font);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.skill-pills span,
.status-badge,
.proof-kicker {
  border: 1px solid rgba(184, 221, 99, 0.28);
  color: var(--accent-soft);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.focus-stats {
  grid-template-columns: minmax(7rem, auto) 1fr;
}

.focus-stats .stat-number::after {
  content: "%";
  font-size: 0.45em;
}

.focus-bars {
  width: min(100%, 680px);
  display: grid;
  gap: 0.65rem;
}

.focus-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.focus-track {
  height: 0.65rem;
  border: 1px solid rgba(184, 221, 99, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.focus-track span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.project-card {
  display: grid;
  grid-template-rows: minmax(14rem, 1fr) auto;
  background: #f8f7f1;
  color: var(--text-dark);
}

.project-card:hover {
  transform: rotate(0deg) translateY(-8px);
}

.project-image {
  min-height: 16rem;
  border: 0;
  border-radius: 0;
}

.project-meta {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
  background: #f8f7f1;
}

.project-meta h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.project-meta p {
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  line-height: 1.55;
  font-size: 0.9rem;
}

.status-badge {
  width: fit-content;
  border-color: rgba(17, 17, 17, 0.16);
  background: var(--accent-soft);
  color: var(--text-dark);
}

.status-badge.live {
  background: #111111;
  color: white;
}

.status-badge.writing {
  background: #e9eadf;
}

.status-badge.experiment {
  background: #d8e5bd;
}

.product-mark {
  width: min(58%, 290px);
  aspect-ratio: 0.75;
  border-radius: 999px 999px 1.5rem 1.5rem;
  display: grid;
  place-items: center;
  border-color: rgba(184, 221, 99, 0.28);
}

.product-mark span {
  font-family: var(--title-font);
  font-size: clamp(5rem, 12vw, 8rem);
  color: var(--accent);
  line-height: 0.85;
}

.proof-kicker {
  color: var(--text-dark);
  border-color: rgba(17, 17, 17, 0.14);
  background: var(--accent-soft);
}

.footer-copy {
  max-width: 21rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  text-transform: none;
}

.footer-placeholder {
  display: grid;
  place-items: center;
  object-fit: initial;
  filter: none;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem);
}

.footer-placeholder span {
  font-family: var(--title-font);
  width: 100%;
  max-width: 9ch;
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  color: var(--accent);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.social-links a {
  color: var(--accent-soft);
}

.social-links svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

@media (max-width: 1080px) {
  .hero-builder {
    width: min(58vw, 560px);
    height: 34rem;
    border-radius: 1.6rem;
  }
}

@media (max-width: 1024px) {
  .hero-builder {
    width: min(56vw, 470px);
    height: 29rem;
  }

  .site-nav .menu {
    gap: 0.7rem;
  }
}

@media (max-width: 760px) {
  .site-nav .menu {
    gap: 1.35rem;
  }

  .hero-builder {
    width: 100%;
    height: min(24rem, 70vh);
    margin-top: 1.25rem;
  }

  .focus-stats {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 27rem;
  }
}

@media (max-width: 480px) {
  .hero-builder {
    height: min(21rem, 62vh);
    border-radius: 1.15rem;
  }

  .visual-console {
    display: grid;
  }

  .project-card {
    min-height: 27rem;
  }

  .project-meta {
    padding: 1rem;
  }
}

.hero-visual {
  position: relative;
  min-height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: visible;
}

.hero-lines {
  display: block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(430px, 82%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.builder-visual.hero-builder {
  position: relative;
  z-index: 2;
  width: min(420px, 82vw);
  min-height: 420px;
}

.hero .stamp-badge {
  position: absolute;
  right: 4%;
  top: 12%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero .stamp-badge span {
  display: block;
  grid-area: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  transform: none;
}

.hero-aside {
  position: absolute;
  left: 4%;
  right: auto;
  top: auto;
  bottom: 8%;
  z-index: 3;
  max-width: 260px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-visual {
    min-height: auto;
    padding: 60px 0 30px;
    flex-direction: column;
    gap: 24px;
  }

  .builder-visual.hero-builder {
    width: min(320px, 86vw);
    min-height: 320px;
  }

  .hero .stamp-badge,
  .hero-aside {
    position: static;
  }

  .hero .stamp-badge {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-aside {
    max-width: 90%;
    text-align: center;
  }
}

/* Hero composition reset: text lives on the left, visual lives on the right. */
.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr) !important;
  gap: clamp(2.5rem, 5vw, 5.5rem) !important;
  align-items: center !important;
}

.hero-copy {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding-bottom: 0 !important;
  z-index: 4 !important;
}

.hero-copy > :not(.hero-title) {
  max-width: 34rem !important;
  z-index: auto !important;
}

.hero-title {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 620px !important;
  margin: clamp(1.6rem, 4vw, 3rem) 0 1.25rem !important;
  font-size: clamp(4.8rem, 8.4vw, 8rem) !important;
  line-height: 0.82 !important;
  text-align: left !important;
  z-index: auto !important;
}

.hero-title-kicker {
  position: static !important;
  display: block !important;
  margin-bottom: 0.05em !important;
  font-size: clamp(2.1rem, 4vw, 4.15rem) !important;
  line-height: 0.9 !important;
}

.glitch {
  display: block !important;
}

.hero-tagline {
  margin: 0 !important;
  max-width: 34rem !important;
}

.hero-note {
  margin-top: 2rem !important;
}

.hero-visual {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-height: clamp(560px, 72vh, 760px) !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.9rem !important;
  z-index: 2 !important;
}

.builder-visual.hero-builder {
  width: min(430px, 100%) !important;
  min-height: 430px !important;
  height: auto !important;
}

.hero .stamp-badge {
  top: 2rem !important;
  right: 2rem !important;
}

.hero-aside {
  position: static !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .hero-copy,
  .hero-visual {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .hero-copy {
    order: 0 !important;
  }

  .hero-visual {
    order: 1 !important;
    min-height: auto !important;
    padding: 2rem 0 1rem !important;
  }

  .hero-title {
    max-width: 100% !important;
    font-size: clamp(4rem, 17vw, 6.6rem) !important;
  }

  .builder-visual.hero-builder {
    width: min(340px, 88vw) !important;
    min-height: 320px !important;
  }

  .hero .stamp-badge {
    position: static !important;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button-primary,
.button-secondary,
.project-actions a,
.writing-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.button-primary,
.project-actions a:first-child,
.writing-card a {
  background: var(--accent-soft);
  color: var(--text-dark);
}

.button-secondary,
.project-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.project-actions a:hover,
.project-actions a:focus-visible,
.writing-card a:hover,
.writing-card a:focus-visible {
  transform: translateY(-2px);
}

.builder-visual.hero-builder {
  background:
    linear-gradient(135deg, rgba(184, 221, 99, 0.14), transparent 34%),
    #f7f6ee !important;
  padding: clamp(1rem, 3vw, 1.6rem) !important;
  min-height: 520px !important;
}

.hero-image {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.36));
}

.visual-console {
  width: 100%;
  flex: none;
}

.now-building {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.now-layout {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.now-title {
  text-align: left;
  margin-top: 1rem;
}

.now-board {
  display: grid;
  gap: 1rem;
}

.now-board article,
.writing-card {
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fbfaf4;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.now-board h3,
.writing-card h3 {
  margin: 0.8rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.now-board p,
.writing-card p {
  margin: 0.85rem 0 0;
  color: rgba(17, 17, 17, 0.68);
  line-height: 1.65;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.project-actions a {
  min-height: 2.25rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.63rem;
}

.project-actions a:last-child {
  border-color: rgba(17, 17, 17, 0.14);
  color: var(--text-dark);
}

.writing-section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.writing-grid {
  width: 100%;
  max-width: var(--container);
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.writing-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #151713;
  border-color: rgba(184, 221, 99, 0.18);
  color: var(--text-light);
}

.writing-card span {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.writing-card p {
  color: rgba(255, 255, 255, 0.68);
}

.writing-card a {
  margin-top: auto;
}

@media (max-width: 980px) {
  .now-layout,
  .writing-grid {
    grid-template-columns: 1fr;
  }

  .builder-visual.hero-builder {
    min-height: 360px !important;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .project-actions {
    display: grid;
    width: 100%;
  }

  .button-primary,
  .button-secondary,
  .project-actions a {
    width: 100%;
  }

  .writing-card {
    min-height: 18rem;
  }

  .footer-placeholder span {
    font-size: clamp(2.1rem, 15vw, 3.6rem);
  }
}

/* Final hero polish: readable title spacing and contained mascot art. */
.hero-title {
  max-width: 560px !important;
  margin: clamp(1.4rem, 3vw, 2.4rem) 0 1.35rem !important;
  line-height: 0.88 !important;
}

.hero-title-kicker {
  display: block !important;
  margin-bottom: 0.18em !important;
  font-size: clamp(2.35rem, 4.6vw, 4.55rem) !important;
  line-height: 0.88 !important;
}

.glitch {
  display: block !important;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.55) !important;
  animation: none !important;
}

.glitch::before,
.glitch::after {
  display: none !important;
}

.builder-visual.hero-builder {
  overflow: visible !important;
  border-radius: 50% !important;
  min-height: auto !important;
  width: min(360px, 72%) !important;
  aspect-ratio: 1 !important;
  padding: clamp(1rem, 2vw, 1.4rem) !important;
  border-color: rgba(184, 221, 99, 0.42) !important;
}

.builder-visual.hero-builder::before {
  inset: 1.35rem !important;
  border-color: rgba(184, 221, 99, 0.24) !important;
}

.hero-image {
  width: min(90%, 330px) !important;
  max-height: 330px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.visual-console {
  max-width: 100%;
  margin: 0.9rem auto 0;
  color: #111111;
  border-top-color: rgba(17, 17, 17, 0.16);
  position: static;
  width: min(360px, 86%);
  transform: none;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(10px);
}

.hero .builder-visual.hero-builder {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 1) 0 26%, rgba(248, 248, 242, 0.96) 52%, rgba(231, 238, 212, 0.92) 100%) !important;
  color: #111111 !important;
  border-color: rgba(184, 221, 99, 0.52) !important;
  border-radius: 50% !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset !important;
}

.hero .builder-visual.hero-builder::before {
  inset: 1rem !important;
  border-color: rgba(17, 17, 17, 0.1) !important;
  border-radius: 50% !important;
}

.hero .visual-console {
  color: #111111 !important;
  border-top-color: rgba(17, 17, 17, 0.18) !important;
}

.hero .visual-console strong,
.hero .visual-console span {
  color: #111111 !important;
}

.hero .stamp-badge {
  position: static !important;
  flex-direction: row !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-top: 0.25rem !important;
}

.hero .stamp-badge span {
  background: rgba(17, 17, 17, 0.86) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

@media (max-width: 980px) {
  .hero-title {
    max-width: 620px !important;
    font-size: clamp(4rem, 16vw, 6.25rem) !important;
  }

  .hero-title-kicker {
    font-size: clamp(2rem, 10vw, 3.4rem) !important;
  }

  .builder-visual.hero-builder {
    min-height: auto !important;
    width: min(280px, 78vw) !important;
    aspect-ratio: 1 !important;
  }

  .hero-image {
    width: min(90%, 245px) !important;
    max-height: 245px !important;
  }

  .visual-console {
    width: min(300px, 86%);
    font-size: 0.68rem;
  }

  .hero-lines {
    width: min(320px, 86%);
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 120ms linear;
  box-shadow: 0 0 18px rgba(184, 221, 99, 0.55);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--accent-soft);
}

.hero .eyebrow {
  animation: editorialRise 720ms 90ms both;
}

.hero-title {
  animation: editorialRise 800ms 220ms both;
}

.hero-tagline,
.hero-actions,
.hero-note {
  animation: editorialRise 760ms 360ms both;
}

.hero-visual {
  animation: editorialSettle 920ms 260ms both;
}

.builder-visual.hero-builder {
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    border-color 420ms ease;
  will-change: transform;
}

.builder-visual.hero-builder:hover {
  transform: translateY(-10px) rotate(0.8deg);
  border-color: rgba(184, 221, 99, 0.38);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.42);
}

.hero-image {
  transition: transform 520ms ease;
}

.builder-visual.hero-builder:hover .hero-image {
  transform: translateY(-8px) scale(1.025);
}

/* Final hero portrait layout: circular frame inside the orbit line. */
.hero-visual {
  position: relative !important;
  min-height: clamp(540px, 70vh, 700px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  overflow: visible !important;
  isolation: isolate !important;
}

.hero-lines {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  top: 46% !important;
  width: min(520px, 88%) !important;
  aspect-ratio: 1 !important;
  transform: translate(-50%, -50%) !important;
  border: 0 !important;
  border-radius: 50% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.hero .builder-visual.hero-builder {
  position: relative !important;
  z-index: 2 !important;
  width: min(430px, 74vw) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(1.1rem, 2.3vw, 1.7rem) !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  background: #fafaf4 !important;
  border: 1px solid rgba(218, 244, 143, 0.78) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(17, 17, 17, 0.08) inset !important;
}

.hero .builder-visual.hero-builder::before {
  display: none !important;
}

.hero-image {
  width: min(92%, 392px) !important;
  max-height: 92% !important;
  height: auto !important;
  flex: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.34)) !important;
  transform: translateY(0.5rem) !important;
}

.hero .visual-console {
  display: none !important;
}

.hero .stamp-badge {
  position: relative !important;
  z-index: 3 !important;
  top: auto !important;
  right: auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  width: min(430px, 82vw) !important;
  margin: 0 !important;
}

.hero .stamp-badge span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.35rem !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px !important;
  background: rgba(17, 17, 17, 0.86) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px) !important;
  white-space: nowrap !important;
  transform: none !important;
}

.hero-aside {
  position: relative !important;
  z-index: 3 !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  max-width: 440px !important;
  margin: 0 !important;
  text-align: center !important;
}

@media (max-width: 980px) {
  .hero-visual {
    min-height: auto !important;
    padding: 1rem 0 0 !important;
    gap: 0.85rem !important;
  }

  .hero-lines {
    top: 42% !important;
    width: min(360px, 92vw) !important;
  }

  .hero .builder-visual.hero-builder {
    width: min(310px, 82vw) !important;
  }

  .hero-image {
    width: min(92%, 280px) !important;
    max-height: 92% !important;
  }

  .hero .stamp-badge {
    width: min(330px, 90vw) !important;
  }

  .hero .stamp-badge span {
    min-height: 2rem !important;
    padding: 0.45rem 0.8rem !important;
    font-size: 0.68rem !important;
  }

  .hero-aside {
    max-width: min(330px, 90vw) !important;
    font-size: 0.9rem !important;
  }
}

.project-card,
.writing-card,
.now-board article {
  transition:
    transform 360ms ease,
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.project-card:hover {
  transform: rotate(0deg) translateY(-12px) !important;
  box-shadow: 0 34px 70px rgba(17, 17, 17, 0.18);
}

.project-card:hover .project-image {
  border-color: rgba(184, 221, 99, 0.4);
}

.project-actions {
  opacity: 0.86;
  transform: translateY(2px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.project-card:hover .project-actions {
  opacity: 1;
  transform: translateY(0);
}

.now-board article:hover,
.writing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 221, 99, 0.34);
}

.writing-card {
  position: relative;
  overflow: hidden;
}

.writing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(184, 221, 99, 0.12) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform 620ms ease;
  pointer-events: none;
}

.writing-card:hover::after {
  transform: translateX(120%);
}

.focus-track {
  overflow: hidden;
}

.focus-track span {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.skills.is-visible .focus-track span {
  transform: scaleX(1);
}

.section-label {
  transition:
    transform 520ms ease,
    opacity 520ms ease;
}

.reveal-section:not(.is-visible) .section-label {
  opacity: 0;
  transform: translateX(-18px);
}

@keyframes editorialRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes editorialSettle {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress span,
  .builder-visual.hero-builder,
  .hero-image,
  .project-card,
  .writing-card,
  .now-board article,
  .project-actions,
  .focus-track span,
  .section-label {
    transition: none !important;
  }

  .hero .eyebrow,
  .hero-title,
  .hero-tagline,
  .hero-actions,
  .hero-note,
  .hero-visual {
    animation: none !important;
  }

  .focus-track span {
    transform: none;
  }
}

.blog-hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 9rem clamp(1.5rem, 3vw, 3rem) clamp(4rem, 7vw, 6rem);
}

.blog-hero-inner,
.blog-index-layout,
.blog-posts {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.blog-title {
  max-width: 10ch;
  margin-top: 2.2rem;
  text-align: left;
  font-size: clamp(5rem, 13vw, 12rem);
}

.blog-lede {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

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

.blog-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.blog-index-grid a {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fbfaf4;
  color: rgba(17, 17, 17, 0.82);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.blog-index-grid a:hover,
.blog-index-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.28);
  background: var(--accent-soft);
}

.blog-posts {
  display: grid;
  gap: 1rem;
  padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 7rem);
}

.blog-post {
  scroll-margin-top: 8rem;
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(1.2rem, 3vw, 2.25rem);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #fbfaf4;
  color: var(--text-dark);
  transition:
    transform 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 17, 17, 0.24);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.1);
}

.blog-post aside {
  color: rgba(17, 17, 17, 0.56);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-post h2 {
  margin: 0.85rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 6vw, 5.75rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.blog-post p {
  max-width: 58rem;
  color: rgba(17, 17, 17, 0.68);
  line-height: 1.75;
}

.blog-placeholder {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(17, 17, 17, 0.2);
  background: rgba(184, 221, 99, 0.14);
  color: rgba(17, 17, 17, 0.72);
  font-weight: 800;
}

@media (max-width: 860px) {
  .blog-index-layout,
  .blog-post {
    grid-template-columns: 1fr;
  }

  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .blog-title {
    font-size: clamp(4rem, 17vw, 7rem);
  }
}

/* BYTEBASHERR originality pass: build-loop identity and sharper creator systems. */
.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.section-label::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-visible .section-label::before {
  transform: scaleX(1);
}

.section-title {
  text-wrap: balance;
}

.section-title::after {
  content: "";
  display: block;
  width: min(8rem, 22vw);
  height: 2px;
  margin-top: 0.32em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 760ms 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-visible .section-title::after {
  transform: scaleX(1);
}

.hero-title::after,
.footer-topline::after,
.section-title.huge::after,
.now-title::after {
  display: none;
}

.creator-os-card {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: 0.35rem !important;
}

.creator-os-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 48%, rgba(17, 17, 17, 0.76) 100%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(184, 221, 99, 0.08) 19px 20px);
  opacity: 0.72;
  pointer-events: none;
}

.creator-os-card span,
.creator-os-card figcaption {
  position: relative;
  z-index: 2;
}

.creator-os-card span {
  max-width: 8ch;
}

.creator-os-card figcaption {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.project-card {
  position: relative;
  isolation: isolate;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(17, 17, 17, 0.08);
  pointer-events: none;
}

.project-image,
.project-meta {
  position: relative;
  z-index: 2;
}

.project-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.project-data div {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  padding-top: 0.55rem;
}

.project-data dt {
  color: rgba(17, 17, 17, 0.48);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-data dd {
  margin: 0.2rem 0 0;
  color: var(--text-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-section {
  min-height: auto;
  padding-block: clamp(5rem, 9vw, 8rem) !important;
  overflow: hidden;
}

.build-loop-shell {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.build-loop-copy {
  display: grid;
  justify-items: start;
}

.build-loop-copy .section-label + .section-title {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.build-loop-copy p:not(.section-label) {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.build-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 34rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.018);
  background-size: 64px 64px, 64px 64px, auto;
}

.build-loop::before,
.build-loop::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.build-loop::before {
  inset: 50% 1.5rem auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 221, 99, 0.8), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.build-loop::after {
  inset: 1.5rem auto 1.5rem 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(184, 221, 99, 0.72), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 900ms 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-section.is-visible .build-loop::before {
  transform: scaleX(1);
}

.quote-section.is-visible .build-loop::after {
  transform: scaleY(1);
}

.loop-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 15rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(10, 10, 10, 0.72);
  overflow: hidden;
  transform: translateY(28px);
  opacity: 0;
  transition:
    opacity 620ms ease,
    transform 620ms ease,
    border-color 360ms ease,
    background 360ms ease;
  transition-delay: calc(var(--i) * 90ms);
}

.quote-section.is-visible .loop-step {
  opacity: 1;
  transform: translateY(0);
}

.loop-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(184, 221, 99, 0.16) 48%, transparent 58% 100%);
  transform: translateX(-130%);
  transition: transform 780ms ease;
}

.loop-step:hover::before,
.loop-step.is-active::before {
  transform: translateX(130%);
}

.loop-step:hover,
.loop-step.is-active {
  border-color: rgba(184, 221, 99, 0.46);
  background: rgba(19, 23, 14, 0.9);
}

.loop-step span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.loop-step h3 {
  position: relative;
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.loop-step p {
  position: relative;
  max-width: 18rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.loop-mark {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: clamp(5.6rem, 10vw, 7.2rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.25rem;
  color: var(--text-dark);
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition:
    opacity 620ms 420ms ease,
    transform 620ms 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-section.is-visible .loop-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.loop-mark strong {
  font-family: var(--title-font);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 0.78;
}

.loop-mark small {
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signature-index {
  position: fixed;
  left: clamp(0.8rem, 2vw, 1.5rem);
  top: 50%;
  z-index: 140;
  display: grid;
  gap: 0.62rem;
  padding: 0.75rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.48);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.signature-index a {
  position: relative;
  width: 0.68rem;
  height: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.42);
  text-indent: -999px;
  overflow: hidden;
  transition:
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms ease;
}

.signature-index a::before {
  content: "";
  position: absolute;
  inset: 0.17rem;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.35);
  opacity: 0.55;
  transition:
    background 240ms ease,
    opacity 240ms ease;
}

.signature-index a:hover,
.signature-index a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
}

.signature-index a:hover::before,
.signature-index a.is-active::before {
  background: #10120f;
  opacity: 1;
}

@media (max-width: 980px) {
  body:has(.signature-index) {
    padding-bottom: 4.5rem;
  }

  .build-loop-shell {
    grid-template-columns: 1fr;
  }

  .build-loop {
    min-height: auto;
  }

  .loop-step {
    min-height: 12rem;
  }

  .signature-index {
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.72rem;
    padding: 0.65rem 0.78rem;
    transform: translateX(-50%);
  }

  .signature-index a {
    width: 0.72rem;
    height: 0.72rem;
  }
}

@media (max-width: 640px) {
  .build-loop {
    grid-template-columns: 1fr;
  }

  .build-loop::before,
  .build-loop::after {
    display: none;
  }

  .loop-mark {
    position: relative;
    left: auto;
    top: auto;
    grid-row: 1;
    margin: 0 auto;
    transform: scale(0.92);
  }

  .quote-section.is-visible .loop-mark {
    transform: scale(1);
  }

  .loop-step {
    min-height: 10rem;
  }

  .project-data {
    grid-template-columns: 1fr;
  }
}

/* BYTEBASHERR lab expansion */
.command-palette[hidden] {
  display: none;
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: min(12vh, 7rem) 1rem 1rem;
}

.command-backdrop,
.case-study-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.command-panel {
  position: relative;
  width: min(100%, 720px);
  max-height: min(76vh, 680px);
  overflow: hidden;
  border: 1px solid rgba(223, 242, 160, 0.32);
  background: #151714;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.62);
}

.command-input-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.command-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 1rem var(--body-font);
}

.command-input-wrap kbd {
  padding: 0.3rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
}

.command-results {
  max-height: 52vh;
  overflow-y: auto;
  padding: 0.55rem;
}

.command-results a {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 3.8rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid transparent;
}

.command-results a.is-active,
.command-results a:hover {
  border-color: rgba(223, 242, 160, 0.28);
  background: rgba(223, 242, 160, 0.08);
}

.command-results span,
.command-results small {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-hint,
.command-empty {
  margin: 0;
  padding: 0.85rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

body.command-open,
body.modal-open {
  overflow: hidden;
}

.cursor-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  transform: translate(calc(var(--cursor-x, -100px) + 16px), calc(var(--cursor-y, -100px) + 16px)) scale(0.75);
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #111;
  opacity: 0;
  pointer-events: none;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 120ms ease, transform 120ms ease;
}

.cursor-label.is-visible {
  opacity: 1;
  transform: translate(calc(var(--cursor-x) + 16px), calc(var(--cursor-y) + 16px)) scale(1);
}

.lab-dashboard,
.creator-dashboard,
.lab-index,
.research-desk,
.lab-operations,
.changelog-section,
.recommendation-section,
.guestbook-section,
.colophon-grid {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.lab-dashboard-head,
.creator-dashboard-head,
.lab-section-head,
.lab-index-grid,
.research-board,
.priority-board,
.creator-stats,
.lab-entry-strip,
.changelog-list,
.recommendation-shelf,
.guestbook-section,
.colophon-grid {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.lab-dashboard-head,
.creator-dashboard-head,
.lab-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.lab-dashboard-head .section-title,
.creator-dashboard-head .section-title,
.lab-section-head .section-title {
  margin: 0.6rem 0 0;
  max-width: 12ch;
}

.build-timeline {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline-stage {
  position: relative;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}

.timeline-stage:last-child {
  border-right: 0;
}

.timeline-stage span,
.timeline-stage small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-stage strong {
  font-family: var(--title-font);
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.timeline-stage:hover,
.timeline-stage.is-active {
  background: var(--accent-soft);
  color: #111;
}

.timeline-stage:hover span,
.timeline-stage:hover small,
.timeline-stage.is-active span,
.timeline-stage.is-active small {
  color: rgba(17, 17, 17, 0.62);
}

.timeline-detail {
  width: 100%;
  max-width: var(--container);
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: 0.8fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(223, 242, 160, 0.28);
  background: #181b16;
}

.timeline-detail h3 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
}

.timeline-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.7;
}

.timeline-detail a,
.random-discovery {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(223, 242, 160, 0.32);
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.priority-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.priority-board article {
  min-height: 17rem;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.priority-board article:last-child {
  border-right: 0;
}

.priority-board span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.priority-board h3 {
  margin: 4rem 0 0.8rem;
  font-family: var(--title-font);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.priority-board p {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.creator-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.creator-stats article {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.creator-stats article:last-child {
  border-right: 0;
}

.creator-stats strong {
  color: var(--accent-soft);
  font-family: var(--title-font);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1;
}

.creator-stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-entry-strip {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem;
  border: 1px solid rgba(223, 242, 160, 0.3);
  background: rgba(184, 221, 99, 0.07);
}

.lab-entry-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.lab-entry-strip strong {
  color: #fff;
}

.lab-hero {
  min-height: 74vh;
  display: grid;
  align-items: end;
}

.lab-search {
  display: grid;
  gap: 0.5rem;
}

.lab-search span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lab-search input {
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 1rem var(--body-font);
}

.lab-filter-row {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lab-filter-row button {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lab-filter-row button.is-active,
.lab-filter-row button:hover {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  color: #111;
}

.lab-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lab-index-item {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  background: #141514;
  transition: background var(--transition), transform var(--transition);
}

.lab-index-item:hover {
  z-index: 1;
  background: #20251a;
  transform: translateY(-5px);
}

.lab-index-item.is-hidden {
  display: none;
}

.lab-index-item span {
  color: var(--accent);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-index-item h3 {
  margin: auto 0 0.65rem;
  font-family: var(--title-font);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.lab-index-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.lab-result-count {
  width: 100%;
  max-width: var(--container);
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.research-board {
  min-height: 42rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #171817;
  background-image: radial-gradient(rgba(223, 242, 160, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
}

.research-pin {
  position: absolute;
  width: min(27rem, 38%);
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: #f3f1e9;
  color: #111;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.3);
  transform: rotate(-1.5deg);
}

.research-pin:nth-child(1) { top: 8%; left: 6%; }
.research-pin:nth-child(2) { top: 14%; right: 7%; transform: rotate(1.3deg); }
.research-pin:nth-child(3) { bottom: 8%; left: 17%; transform: rotate(1deg); }
.research-pin:nth-child(4) { right: 13%; bottom: 10%; transform: rotate(-1deg); }

.research-pin::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  left: 50%;
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
}

.research-pin span {
  color: #557119;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-pin h3 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.research-pin p {
  margin: 0;
  color: rgba(17, 17, 17, 0.67);
  line-height: 1.6;
}

.changelog-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.changelog-list article {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.changelog-list time,
.changelog-list > article > span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.changelog-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.changelog-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.recommendation-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.recommendation-shelf article {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #171917;
}

.recommendation-shelf span,
.recommendation-shelf a {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendation-shelf h3 {
  margin: auto 0 0.8rem;
  font-family: var(--title-font);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.recommendation-shelf p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.recommendation-shelf a {
  margin-top: 1rem;
}

.guestbook-section {
  display: grid;
  grid-template-columns: 0.72fr 0.8fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.guestbook-copy p:last-child {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.guestbook-form {
  display: grid;
  gap: 1rem;
}

.guestbook-form label {
  display: grid;
  gap: 0.45rem;
}

.guestbook-form label span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  resize: vertical;
}

.guestbook-form textarea {
  min-height: 9rem;
}

.guestbook-wall {
  max-height: 29rem;
  display: grid;
  gap: 0.7rem;
  overflow-y: auto;
}

.guestbook-wall article {
  padding: 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.guestbook-wall span,
.guestbook-wall time {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guestbook-wall p {
  margin: 0.7rem 0;
  line-height: 1.55;
}

.guestbook-empty {
  color: rgba(255, 255, 255, 0.5);
}

.achievement-constellation {
  width: 100%;
  max-width: var(--container);
  margin: clamp(5rem, 9vw, 8rem) auto;
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.constellation-copy p:last-child {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.constellation-map {
  position: relative;
  min-height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background-image: radial-gradient(rgba(223, 242, 160, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
}

.constellation-node {
  position: absolute;
  width: 7rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  border: 1px solid rgba(223, 242, 160, 0.45);
  border-radius: 50%;
  background: #181c15;
  box-shadow: 0 0 0 0.65rem rgba(184, 221, 99, 0.06);
  transition: transform var(--transition), background var(--transition);
}

.constellation-node:hover {
  z-index: 2;
  transform: scale(1.1);
  background: #26301b;
}

.constellation-node strong {
  color: var(--accent-soft);
  font-family: var(--title-font);
  font-size: 2rem;
}

.constellation-node small {
  max-width: 6rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.55rem;
  text-align: center;
  text-transform: uppercase;
}

.node-core { width: 9rem; top: 36%; left: 39%; }
.node-cyber { top: 8%; left: 13%; }
.node-osint { top: 10%; right: 10%; }
.node-puzzle { bottom: 8%; left: 10%; }
.node-build { right: 13%; bottom: 8%; }

.constellation-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48%;
  height: 1px;
  background: rgba(223, 242, 160, 0.28);
  transform-origin: left;
}

.line-a { transform: rotate(-139deg); }
.line-b { transform: rotate(-38deg); }
.line-c { transform: rotate(37deg); }

.case-study-trigger {
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #48630f;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-modal[hidden] {
  display: none;
}

.case-study-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.case-study-modal > article {
  position: relative;
  width: min(100%, 1040px);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(223, 242, 160, 0.3);
  background: #141614;
}

.case-study-modal h2 {
  margin: 1rem 0 2rem;
  font-family: var(--title-font);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.case-study-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

.case-study-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.case-study-steps section {
  min-height: 16rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.case-study-steps section:last-child {
  border-right: 0;
}

.case-study-steps span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
}

.case-study-steps h3 {
  margin: 4rem 0 0.7rem;
  font-family: var(--title-font);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.case-study-steps p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.6;
}

.project-card .project-image,
.archive-product-card .archive-product-visual {
  position: relative;
  overflow: hidden;
}

[data-hero-mood="morning"] .hero-builder {
  box-shadow: 0 0 0 1px rgba(223, 242, 160, 0.28), 0 2rem 6rem rgba(184, 221, 99, 0.14);
}

[data-hero-mood="evening"] .hero-builder,
[data-hero-mood="night"] .hero-builder {
  box-shadow: 0 0 0 1px rgba(223, 242, 160, 0.18), 0 2rem 6rem rgba(0, 0, 0, 0.6);
}

.colophon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.colophon-grid article {
  min-height: 23rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #151615;
}

.colophon-grid span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colophon-grid h2 {
  margin: 7rem 0 1rem;
  font-family: var(--title-font);
  font-size: clamp(2.3rem, 4.5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.colophon-grid p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.stack-field-note {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 5rem) clamp(6rem, 10vw, 10rem);
}

.stack-note-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(223, 242, 160, 0.3);
  background:
    linear-gradient(135deg, rgba(223, 242, 160, 0.09), transparent 52%),
    #111211;
}

.stack-note-intro h2 {
  max-width: 13ch;
  margin: 1rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.stack-note-intro > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.75;
}

.stack-note-projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stack-note-projects article {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 2.3vw, 1.8rem);
  background: #171817;
}

.stack-path-heading > span,
.stack-note-footer > span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-note-projects span {
  color: var(--accent);
  font-family: var(--title-font);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stack-note-projects p {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.8rem;
  line-height: 1.65;
}

.stack-note-path {
  display: grid;
  grid-template-columns: minmax(15rem, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-inline: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #101110;
}

.stack-path-heading h3 {
  max-width: 12ch;
  margin: 1rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.stack-note-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stack-path;
}

.stack-note-path li {
  counter-increment: stack-path;
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stack-note-path li::before {
  content: "0" counter(stack-path);
  grid-column: 1 / -1;
  color: rgba(223, 242, 160, 0.48);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.stack-note-path strong {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.stack-note-path li span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.8rem;
  line-height: 1.7;
}

.stack-note-footer {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(223, 242, 160, 0.32);
  border-top: 0;
  background: var(--accent);
  color: #111;
}

.stack-note-footer > span {
  color: #111;
}

.stack-note-footer p {
  margin: 1rem 0 0.8rem;
  font-family: var(--title-font);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.stack-note-footer small {
  display: block;
  max-width: 72rem;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .stack-note-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stack-note-intro,
  .stack-note-path {
    grid-template-columns: 1fr;
  }

  .stack-note-projects {
    grid-template-columns: 1fr;
  }

  .stack-note-projects article {
    min-height: 11rem;
  }

  .stack-note-projects p {
    margin-top: 2rem;
  }

  .stack-note-path li {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background-color: #101110;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.error-experiment {
  width: min(100%, 1000px);
}

.error-experiment h1 {
  margin: 1rem 0;
  font-family: var(--title-font);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 400;
  line-height: 0.82;
  text-transform: uppercase;
}

.error-terminal {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(223, 242, 160, 0.3);
  background: #171a15;
  color: var(--accent-soft);
  font-family: Consolas, monospace;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .build-timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline-stage:nth-child(3) { border-right: 0; }
  .timeline-stage:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .lab-index-grid,
  .recommendation-shelf { grid-template-columns: repeat(2, 1fr); }
  .case-study-steps { grid-template-columns: repeat(2, 1fr); }
  .case-study-steps section { border-bottom: 1px solid rgba(255,255,255,.12); }
  .guestbook-section { grid-template-columns: 1fr 1fr; }
  .guestbook-wall { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .command-results a { grid-template-columns: 5rem 1fr; }
  .command-results small { display: none; }
  .command-hint { display: none; }
  .lab-dashboard-head,
  .creator-dashboard-head,
  .lab-section-head,
  .timeline-detail,
  .achievement-constellation { grid-template-columns: 1fr; }
  .build-timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-stage { min-height: 8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .timeline-stage:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); }
  .timeline-stage:nth-child(even) { border-right: 0; }
  .priority-board,
  .creator-stats,
  .lab-index-grid,
  .recommendation-shelf,
  .colophon-grid { grid-template-columns: 1fr; }
  .priority-board article,
  .creator-stats article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .priority-board article:last-child,
  .creator-stats article:last-child { border-bottom: 0; }
  .priority-board h3 { margin-top: 2.5rem; }
  .lab-entry-strip { align-items: flex-start; flex-direction: column; }
  .research-board {
    min-height: auto;
    display: grid;
    gap: 0.8rem;
    padding: 0.8rem;
  }
  .research-pin {
    position: relative;
    inset: auto !important;
    width: 100%;
    transform: none !important;
  }
  .changelog-list article { grid-template-columns: 1fr; gap: 0.55rem; }
  .guestbook-section { grid-template-columns: 1fr; }
  .guestbook-wall { grid-column: auto; }
  .constellation-map { min-height: 27rem; }
  .constellation-node { width: 5.5rem; }
  .node-core { width: 7rem; left: 36%; }
  .case-study-steps { grid-template-columns: 1fr; }
  .case-study-steps section { min-height: auto; border-right: 0; }
  .case-study-steps h3 { margin-top: 1.5rem; }
  .colophon-grid h2 { margin-top: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-label { display: none; }
}

/* Proof wall shapes: dashboard, note card, and experiment ticket. */
.proof-card {
  position: relative;
  width: min(100%, 380px);
  min-height: 21rem;
  margin-inline: auto;
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.proof-card.testimonial-top {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.proof-card .testimonial-content {
  position: relative;
  inset: auto;
  min-height: inherit;
  width: auto;
  padding: clamp(1.2rem, 2.4vw, 1.65rem);
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
}

.proof-card p {
  color: rgba(17, 17, 17, 0.62);
}

.proof-card h3 {
  max-width: 9ch;
}

.dashboard-proof {
  border-radius: 0.55rem;
  background:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    #f8f7f1;
  background-size: 42px 42px, 42px 42px, auto;
}

.dashboard-proof::before {
  content: "";
  position: absolute;
  inset: 1rem 1rem auto;
  height: 3rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 0.4rem;
  background:
    linear-gradient(90deg, var(--accent) 0 62%, rgba(17, 17, 17, 0.08) 62% 100%);
}

.proof-widget-bars {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  margin-top: 1rem;
}

.proof-widget-bars span {
  display: block;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 999px;
}

.note-proof {
  transform: none;
  border-radius: 0.25rem;
  background:
    repeating-linear-gradient(#fffdf4 0 2.35rem, rgba(17, 17, 17, 0.1) 2.42rem 2.48rem),
    #fffdf4;
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(17, 17, 17, 0.08) inset;
}

.note-proof::before {
  content: "";
  position: absolute;
  left: 2.8rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(184, 221, 99, 0.72);
}

.note-lines {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
}

.note-lines span {
  display: block;
  height: 1px;
  background: rgba(17, 17, 17, 0.18);
}

.note-lines span:nth-child(2) {
  width: 78%;
}

.note-lines span:nth-child(3) {
  width: 54%;
}

.idea-proof {
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at 0 50%, transparent 0 1.25rem, #e5fa96 1.3rem),
    radial-gradient(circle at 100% 50%, transparent 0 1.25rem, #e5fa96 1.3rem),
    var(--accent);
  border: 0;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 96% 50%, 100% 62%, 100% 100%, 0 100%, 0 62%, 4% 50%, 0 38%);
}

.idea-proof::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 50%;
  border-left: 1px dashed rgba(17, 17, 17, 0.28);
}

.idea-proof .testimonial-content {
  color: var(--text-dark);
}

.ticket-dots {
  display: flex;
  gap: 0.42rem;
  margin-top: 1rem;
}

.ticket-dots span {
  width: 0.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.2);
}

@media (max-width: 780px) {
  .proof-card {
    min-height: 18rem;
    width: min(100%, 320px);
  }

  .proof-card.testimonial-top {
    margin-bottom: 2rem;
  }

  .note-proof {
    transform: none;
  }
}

/* Products archive page. */
.products-hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 9rem clamp(1.5rem, 3vw, 3rem) clamp(4rem, 7vw, 6rem);
}

.products-hero-inner,
.product-archive {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.products-hero-inner {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(32rem, 1.15fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.products-visual {
  position: relative;
  margin: 0;
  min-height: clamp(27rem, 48vw, 44rem);
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center stretch;
  padding: clamp(0.8rem, 1.5vw, 1.2rem);
  border: 1px solid rgba(223, 242, 160, 0.3);
  background:
    linear-gradient(rgba(184, 221, 99, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #20251d, #10110f);
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow:
    1.5rem 1.5rem 0 rgba(184, 221, 99, 0.08),
    0 2rem 5rem rgba(0, 0, 0, 0.42);
  transform: rotate(1.25deg) translateX(clamp(0.25rem, 1vw, 0.8rem));
}

.products-visual::before {
  content: "ARCHIVE / 001";
  position: absolute;
  top: 1rem;
  left: -1.2rem;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(223, 242, 160, 0.38);
  background: #111;
  color: var(--accent-soft);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.products-visual img {
  width: 100%;
  height: 100%;
  max-height: 38rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1.4rem 2.4rem rgba(0, 0, 0, 0.38));
}

.products-visual figcaption {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.2rem 0.15rem;
  border-top: 1px solid rgba(223, 242, 160, 0.18);
  color: #fff;
  text-transform: uppercase;
}

.products-visual figcaption span {
  color: var(--accent-soft);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.products-visual figcaption small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.products-hero .blog-title {
  font-size: clamp(3.1rem, 7vw, 5.4rem) !important;
}

.product-archive {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.42fr);
  gap: 1.5rem;
  align-items: end;
}

.archive-toolbar > div {
  display: grid;
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
}

.badge-image-wrap {
  width: min(100%, 17rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  padding: 0.75rem;
}

.badge-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.8rem rgba(0, 0, 0, 0.18));
}

.badge-image-wrap .google-badge-image {
  transform: scale(1.16);
}

.credential-proof-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(184, 221, 99, 0.48);
  border-radius: 50px;
  background: rgba(184, 221, 99, 0.14);
  color: var(--accent-soft);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition);
}

.credential-proof-link:hover,
.credential-proof-link:focus-visible {
  background: var(--accent);
  color: #111;
  transform: translateY(-2px);
}

.credential-proof-link.is-pending {
  cursor: default;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.48);
}


.archive-search {
  display: grid;
  gap: 0.45rem;
}

.archive-search span {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-search input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-dark);
  font: inherit;
  padding: 0.75rem 1rem;
}

.archive-search input:focus {
  outline: 2px solid rgba(184, 221, 99, 0.65);
  outline-offset: 2px;
}

.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.archive-filters button {
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  padding: 0.72rem 1rem;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.archive-filters button:hover,
.archive-filters button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.archive-results {
  margin-top: 1.3rem;
  color: rgba(17, 17, 17, 0.6);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: 2rem;
}

.archive-product-card {
  display: grid;
  grid-template-rows: 13rem 1fr;
  min-height: 32rem;
  background: #f8f7f1;
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: var(--text-dark);
  transition:
    opacity 220ms ease,
    transform 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.archive-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(17, 17, 17, 0.22);
  box-shadow: 0 26px 60px rgba(17, 17, 17, 0.1);
}

.archive-product-card.is-hidden {
  display: none;
}

.archive-product-visual {
  display: flex;
  align-items: flex-end;
  min-height: 13rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(184, 221, 99, 0.16), transparent 38%),
    #111111;
  color: #ffffff;
  overflow: hidden;
}

.archive-product-visual span {
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.archive-product-body {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.archive-product-body h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.archive-product-body p {
  margin: 0;
  color: rgba(17, 17, 17, 0.66);
  line-height: 1.55;
}

.archive-product-body a {
  align-self: end;
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  min-height: 2.35rem;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.archive-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.archive-cta p {
  margin: 0;
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .products-hero-inner {
    grid-template-columns: 1fr;
  }

  .products-visual {
    transform: none;
    min-height: clamp(24rem, 80vw, 38rem);
  }

  .products-visual::before {
    left: 0.7rem;
  }

  .products-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .archive-toolbar,
  .product-archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-product-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .products-hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .archive-filters button {
    flex: 1 1 auto;
  }
}

/* Standalone creator pages and draggable carousel polish. */
.carousel-track {
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.page-hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 9rem clamp(1.5rem, 3vw, 3rem) clamp(4rem, 7vw, 6rem);
}

.page-hero-inner,
.creator-page-section {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.page-hero-inner:has(.youtube-visual) {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(460px, 1.12fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: center;
}

.page-hero-inner:has(.youtube-visual) > div,
.page-hero-inner:has(.youtube-visual) .youtube-visual {
  min-width: 0;
}

.page-hero-inner:has(.youtube-visual) .blog-title {
  max-width: 8ch !important;
  font-size: clamp(3rem, 6.2vw, 5.3rem) !important;
  line-height: 0.98 !important;
}

.page-hero-inner:has(.youtube-visual) .blog-lede {
  max-width: 34rem !important;
}

.youtube-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  min-height: auto;
  display: grid;
  place-items: center;
  padding: clamp(0.45rem, 1vw, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    #090909;
  overflow: hidden;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.32);
  transform: translateX(clamp(0.2rem, 0.8vw, 0.75rem));
}

.youtube-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  border-radius: 0.45rem;
  filter: saturate(1.02) contrast(1.03);
}

.youtube-library {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.youtube-library-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

.video-switch {
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.video-switch button {
  min-height: 2.55rem;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--text-dark);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.video-switch button.is-active {
  background: var(--accent);
}

.youtube-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(1.8rem, 3.4vw, 2.8rem);
}

.youtube-video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 241, 231, 0.98));
  box-shadow:
    0 1.1rem 2.7rem rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
  overflow: hidden;
}

.youtube-video-card.is-hidden {
  display: none;
}

.youtube-embed {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    #111111;
  background-size: 38px 38px, 38px 38px, auto;
  color: rgba(255, 255, 255, 0.72);
}

.youtube-embed.short {
  aspect-ratio: 9 / 16;
  max-height: 34rem;
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.youtube-embed::before {
  content: "Add YouTube Link";
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.youtube-embed:has(iframe)::before {
  display: none;
}

.youtube-video-meta {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.youtube-video-meta h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.youtube-video-meta p {
  margin: 0;
  color: rgba(17, 17, 17, 0.66);
  line-height: 1.58;
}

.creator-page-section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.creator-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.creator-page-grid.compact {
  grid-template-columns: 1fr;
}

.creator-page-card {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.1rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #f8f7f1;
  color: var(--text-dark);
}

.creator-page-card.dark {
  background: #111111;
  color: #ffffff;
  border-color: rgba(221, 255, 150, 0.22);
}

.creator-page-card.dark h2,
.creator-page-card.dark h3,
.creator-page-card.dark p {
  color: #ffffff !important;
}

.creator-page-card.dark p {
  opacity: 0.78;
}

.creator-page-card.dark .status-badge {
  color: #111111 !important;
  border-color: rgba(221, 255, 150, 0.35) !important;
  background: var(--accent-soft) !important;
}

.creator-page-card.accent {
  background: var(--accent);
}

.creator-page-card h2,
.creator-page-card h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.creator-page-card p {
  margin: 0;
  color: currentColor;
  opacity: 0.72;
  max-width: 34rem;
  line-height: 1.7;
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.social-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.85rem;
}

.social-directory-card {
  min-width: 0;
  min-height: 10.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(17, 17, 17, 0.24);
  background: #e9e7dd;
  box-shadow:
    0 0.45rem 0 rgba(17, 17, 17, 0.08),
    0 1rem 2.2rem rgba(17, 17, 17, 0.06);
  color: var(--text-dark);
  text-decoration: none;
  transition:
    transform 280ms ease,
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.social-directory-card:hover {
  transform: translateY(-6px);
  background: var(--accent);
  border-color: rgba(17, 17, 17, 0.72);
  box-shadow:
    0 0.5rem 0 rgba(17, 17, 17, 0.22),
    0 1.25rem 2.5rem rgba(17, 17, 17, 0.12);
}

.social-directory-card span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--title-font);
  font-size: clamp(1.75rem, 2.6vw, 2.7rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.social-directory-card svg {
  width: clamp(2.25rem, 3vw, 2.75rem);
  height: clamp(2.25rem, 3vw, 2.75rem);
  fill: currentColor;
}

.social-directory-card strong {
  max-width: 34ch;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .creator-page-grid,
  .about-page-layout,
  .social-directory {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .creator-page-card {
    min-height: 17rem;
  }

  .social-directory-card {
    min-height: 9.5rem;
  }

  .social-directory-card span {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
}

/* Premium hero hover and build-wipe page transitions. */
.hero .builder-visual.hero-builder {
  --hero-x: 50%;
  --hero-y: 50%;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --spotlight-opacity: 0;
  transform: perspective(900px) rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y)) translateY(0);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
  opacity: var(--spotlight-opacity);
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(255, 255, 255, 0.72) 0 9%, rgba(184, 221, 99, 0.18) 18%, transparent 34%),
    linear-gradient(115deg, transparent 0 44%, rgba(184, 221, 99, 0.18) 49%, transparent 55% 100%);
  mix-blend-mode: multiply;
  transition: opacity 220ms ease;
}

.hero .builder-visual.hero-builder.is-magnetic {
  --spotlight-opacity: 1;
  border-color: rgba(184, 221, 99, 0.95) !important;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(184, 221, 99, 0.52) inset,
    0 0 42px rgba(184, 221, 99, 0.2) !important;
}

.hero .builder-visual.hero-builder.is-magnetic .hero-spotlight {
  opacity: 1;
}

.hero .builder-visual.hero-builder::after {
  content: "";
  position: absolute;
  inset: -0.45rem;
  z-index: 4;
  border-radius: 50%;
  pointer-events: none;
  background:
    conic-gradient(from 0deg, transparent 0 22%, rgba(184, 221, 99, 0.95) 28%, transparent 35% 100%);
  opacity: 0;
  mask: radial-gradient(circle, transparent 0 68%, #000 69% 72%, transparent 73%);
  transition: opacity 260ms ease;
}

.hero .builder-visual.hero-builder.is-magnetic::after {
  opacity: 1;
  animation: scanRing 1.45s linear infinite;
}

.hero .builder-visual.hero-builder.is-magnetic .hero-image {
  transform: translateY(-8px) scale(1.025);
}

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

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #0d0d0d;
  color: var(--accent);
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 520ms cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(184, 221, 99, 0.8);
  transform: scaleX(0);
  transform-origin: left;
}

.page-transition::after {
  content: attr(data-page-title);
  position: relative;
  font-family: var(--title-font);
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 260ms 180ms ease,
    transform 260ms 180ms ease;
}

body.is-leaving .page-transition {
  transform: translateY(0);
}

body.is-leaving .page-transition::before {
  animation: buildScan 520ms 80ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-leaving .page-transition::after {
  opacity: 1;
  transform: translateY(0);
}

body.page-enter .page-shell {
  animation: pageEnter 520ms ease both;
}

@keyframes buildScan {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spotlight,
  .page-transition {
    display: none !important;
  }

  body.page-enter .page-shell {
    animation: none !important;
  }
}

/* Homepage section rhythm: light/dark alternation after Current Focus. */
.portfolio.section-dark {
  background: #111111;
  color: var(--text-light);
}

.portfolio.section-dark .section-copy,
.portfolio.section-dark .archive-cta p {
  color: rgba(255, 255, 255, 0.68);
}

.portfolio.section-dark .section-label {
  color: var(--accent-soft);
}

.portfolio.section-dark .carousel-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.portfolio.section-dark .carousel-button:hover {
  color: var(--text-dark);
  background: var(--accent);
  border-color: var(--accent);
}

.quote-section.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.quote-section.section-light .section-label {
  color: var(--text-dark);
}

.quote-section.section-light .build-loop-copy p:not(.section-label) {
  color: rgba(17, 17, 17, 0.66);
}

.quote-section.section-light .build-loop {
  border-color: rgba(17, 17, 17, 0.13);
  background:
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    rgba(17, 17, 17, 0.018);
  background-size: 64px 64px, 64px 64px, auto;
}

.quote-section.section-light .loop-step {
  color: var(--text-dark);
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.quote-section.section-light .loop-step:hover,
.quote-section.section-light .loop-step.is-active {
  background: #ffffff;
  border-color: rgba(184, 221, 99, 0.78);
}

.quote-section.section-light .loop-step p {
  color: rgba(17, 17, 17, 0.62);
}

.testimonials.section-dark {
  background: #111111;
  color: var(--text-light);
}

.testimonials.section-dark .section-title.huge {
  color: var(--text-light);
}

.site-footer.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.site-footer.section-light::before {
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.055) 1px, transparent 1px);
}

.site-footer.section-light .footer-copy {
  color: rgba(17, 17, 17, 0.68);
}

.site-footer.section-light .footer-placeholder {
  border-color: rgba(17, 17, 17, 0.14);
  background:
    linear-gradient(135deg, rgba(184, 221, 99, 0.16), transparent 34%),
    #151713;
}

.site-footer.section-light .footer-links .menu li a,
.site-footer.section-light .copyright {
  color: rgba(17, 17, 17, 0.78);
}

/* Final contrast pass for light homepage sections. */
.section-light,
.section-light .section-title,
.section-light h1,
.section-light h2,
.section-light h3,
.section-light p,
.section-light li,
.section-light a,
.section-light strong,
.section-light span:not(.status-badge):not(.proof-kicker):not(.brand-flower) {
  color: var(--text-dark);
}

.section-light .section-copy,
.section-light .blog-lede,
.section-light .archive-cta p,
.section-light .build-loop-copy p:not(.section-label),
.section-light .footer-copy,
.section-light .copyright {
  color: rgba(17, 17, 17, 0.68) !important;
}

.section-light .section-label,
.section-light .eyebrow {
  color: rgba(17, 17, 17, 0.82) !important;
}

.section-light .skill-pills span,
.section-light .status-badge,
.section-light .proof-kicker {
  color: var(--text-dark) !important;
  border-color: rgba(17, 17, 17, 0.14) !important;
  background: rgba(184, 221, 99, 0.2) !important;
}

.section-light .button-secondary,
.section-light .project-actions a,
.section-light .writing-card a,
.section-light .archive-product-body a {
  color: var(--text-dark) !important;
}

.section-light .focus-row,
.section-light .project-data dt,
.section-light .project-meta p,
.section-light .archive-product-body p,
.section-light .now-board p,
.section-light .writing-card p,
.section-light .loop-step p {
  color: rgba(17, 17, 17, 0.64) !important;
}

.quote-section.section-light .loop-step,
.quote-section.section-light .loop-step h3,
.quote-section.section-light .loop-step span {
  color: var(--text-dark) !important;
}

.site-footer.section-light .footer-placeholder span {
  color: var(--accent) !important;
}

.site-footer.section-light .social-links a {
  color: var(--text-dark) !important;
}

/* Full dark homepage pass. */
body:has(.hero) .section-dark,
body:has(.hero) .now-building,
body:has(.hero) .about,
body:has(.hero) .skills,
body:has(.hero) .portfolio,
body:has(.hero) .quote-section,
body:has(.hero) .testimonials,
body:has(.hero) .site-footer {
  background: #111111 !important;
  color: var(--text-light) !important;
}

body:has(.hero) .section-dark::before,
body:has(.hero) .site-footer::before {
  background-image:
    linear-gradient(rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.055) 1px, transparent 1px) !important;
}

body:has(.hero) .section-title,
body:has(.hero) .section-title.huge,
body:has(.hero) .now-board h3,
body:has(.hero) .stat-copy h2,
body:has(.hero) .loop-step h3,
body:has(.hero) .footer-topline,
body:has(.hero) .footer-links,
body:has(.hero) .copyright {
  color: var(--text-light) !important;
}

body:has(.hero) .section-label,
body:has(.hero) .section-label.light {
  color: var(--accent-soft) !important;
}

body:has(.hero) .section-copy,
body:has(.hero) .hero-aside,
body:has(.hero) .now-board p,
body:has(.hero) .focus-row,
body:has(.hero) .build-loop-copy p:not(.section-label),
body:has(.hero) .loop-step p,
body:has(.hero) .footer-copy {
  color: rgba(255, 255, 255, 0.7) !important;
}

body:has(.hero) .now-board article,
body:has(.hero) .writing-card,
body:has(.hero) .loop-step {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--text-light) !important;
}

body:has(.hero) .now-board article,
body:has(.hero) .loop-step {
  min-height: clamp(10.5rem, 18vw, 14rem);
}

body:has(.hero) .skill-pills span,
body:has(.hero) .status-badge,
body:has(.hero) .proof-kicker {
  color: var(--accent-soft) !important;
  border-color: rgba(184, 221, 99, 0.32) !important;
  background: rgba(184, 221, 99, 0.08) !important;
}

body:has(.hero) .skills-stats {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

body:has(.hero) .focus-track {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(184, 221, 99, 0.24) !important;
}

body:has(.hero) .build-loop {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background:
    linear-gradient(rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.018) !important;
  background-size: 64px 64px, 64px 64px, auto !important;
}

body:has(.hero) .project-card {
  grid-template-rows: minmax(12rem, 0.8fr) auto;
  min-height: 28rem;
  background: #f8f7f1;
}

body:has(.hero) .project-card .status-badge {
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.18) !important;
  background: #dff89a !important;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
}

body:has(.hero) .project-card .status-badge.live {
  color: #ffffff !important;
  border-color: rgba(17, 17, 17, 0.18) !important;
  background: #111111 !important;
}

body:has(.hero) .project-card .status-badge.writing {
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.2) !important;
  background: #ffffff !important;
}

body:has(.hero) .project-card .status-badge.experiment {
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.18) !important;
  background: #c8d69b !important;
}

body:has(.hero) .project-image {
  min-height: 13rem;
}

body:has(.hero) .proof-card {
  width: min(100%, 360px);
  min-height: 19rem;
}

body:has(.hero) .testimonial-grid {
  align-items: stretch;
}

body:has(.hero) .footer-links .menu li a,
body:has(.hero) .social-links a {
  color: var(--text-light) !important;
}

body:has(.hero) .archive-cta p {
  color: rgba(255, 255, 255, 0.62) !important;
}

body:has(.hero) .site-footer {
  padding-bottom: 2rem !important;
}

body:has(.hero) .footer-main {
  grid-template-columns: 1fr !important;
  align-items: center !important;
  justify-items: center !important;
  gap: clamp(1.4rem, 3vw, 2.2rem) !important;
  max-width: min(980px, 100%) !important;
  margin-top: clamp(1.6rem, 3vw, 2.6rem) !important;
}

body:has(.hero) .footer-links {
  width: 100% !important;
  justify-items: center !important;
  text-align: center !important;
}

body:has(.hero) .footer-copy {
  max-width: 46rem !important;
}

body:has(.hero) .footer-links .menu {
  justify-content: center !important;
}

body:has(.hero) .copyright {
  margin-top: clamp(1.5rem, 4vw, 2.5rem) !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
  body:has(.hero) .footer-links .menu {
    justify-content: center !important;
  }
}

/* Proof Vault page. */
.badge-vault {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.badge-vault-intro,
.badge-grid {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.badge-vault-feature {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-inline: auto;
}

.badge-vault-intro p:not(.section-label) {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.badge-vault-intro .section-label {
  margin-bottom: 0.85rem;
}

.awards-visual {
  position: relative;
  margin: 0;
  min-height: clamp(18rem, 34vw, 28rem);
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 221, 99, 0.24);
  background:
    radial-gradient(circle at 50% 28%, rgba(184, 221, 99, 0.18), transparent 42%),
    linear-gradient(rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: auto, 42px 42px, 42px 42px, auto;
  overflow: hidden;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.32);
}

.awards-visual img {
  width: min(86%, 420px);
  max-height: 24rem;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1.2rem 2rem rgba(0, 0, 0, 0.34));
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.badge-card {
  position: relative;
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 221, 99, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.045);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--text-light);
  overflow: hidden;
}

.badge-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 12rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(184, 221, 99, 0.1);
}

.badge-mark {
  width: 6.5rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 221, 99, 0.38);
  border-radius: 50%;
  background: rgba(184, 221, 99, 0.1);
  color: var(--accent);
  font-family: var(--title-font);
  font-size: 3rem;
  line-height: 1;
}

.geoguessr-badge {
  width: 8rem;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 0.28rem solid #f4f2ec;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(145deg, #db3751 0 48%, #182a55 49% 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 1rem 2.2rem rgba(0, 0, 0, 0.3);
  color: #fff;
  overflow: hidden;
}

.geoguessr-badge::before,
.geoguessr-badge::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.geoguessr-badge::before {
  width: 140%;
  height: 42%;
}

.geoguessr-badge::after {
  width: 45%;
  height: 140%;
}

.geoguessr-pin {
  width: 2.25rem;
  height: 2.75rem;
  position: absolute;
  top: 1.15rem;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  transform: rotate(-45deg);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.25);
}

.geoguessr-pin i {
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #db3751;
}

.geoguessr-badge strong,
.geoguessr-badge small {
  position: absolute;
  z-index: 3;
  text-transform: uppercase;
}

.geoguessr-badge strong {
  bottom: 1.35rem;
  font-family: var(--title-font);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.geoguessr-badge small {
  bottom: 0.72rem;
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.geoguessr-badge-card {
  border-color: rgba(219, 55, 81, 0.52);
}

.geoguessr-badge-card::after {
  background: rgba(219, 55, 81, 0.1);
}

.badge-card h3 {
  min-height: 1.82em;
  display: flex;
  align-items: flex-end;
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 0.91;
  text-transform: uppercase;
}

.badge-card .status-badge {
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.badge-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.badge-card a {
  width: fit-content;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.badge-card .credential-proof-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: var(--accent-soft);
}

.badge-card a.credential-proof-link:hover,
.badge-card a.credential-proof-link:focus-visible {
  color: #111;
}

.badge-card .credential-proof-link.is-pending {
  color: rgba(255, 255, 255, 0.48);
}

.badge-card.verified {
  border-color: rgba(184, 221, 99, 0.5);
}

.badge-card.empty {
  border-style: dashed;
  opacity: 0.86;
}

/* Final navbar contrast pass. */
.site-header {
  background:
    linear-gradient(135deg, rgba(31, 35, 25, 0.96), rgba(11, 12, 11, 0.94)) !important;
  border-color: rgba(221, 255, 150, 0.26) !important;
  box-shadow:
    0 1.2rem 3.5rem rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.site-header.scrolled {
  background:
    linear-gradient(135deg, rgba(38, 45, 28, 0.98), rgba(8, 9, 8, 0.97)) !important;
  border-color: rgba(221, 255, 150, 0.38) !important;
  box-shadow:
    0 1rem 3rem rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.site-nav a {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent-soft) !important;
}

/* Give the home hero more breathing room below the fixed navbar. */
body:has(.hero) .hero {
  padding-top: clamp(8.5rem, 13vh, 11rem) !important;
}

body:has(.hero) .hero-grid {
  align-items: center !important;
  padding-top: clamp(1.2rem, 3vh, 2.4rem) !important;
}

@media (max-width: 980px) {
  body:has(.hero) .hero {
    padding-top: clamp(7.6rem, 11vh, 9rem) !important;
  }

  body:has(.hero) .hero-grid {
    padding-top: 0.75rem !important;
  }
}

/* Card-free footer layout across pages. */
.site-footer .footer-main {
  grid-template-columns: 1fr !important;
  align-items: center !important;
  justify-items: center !important;
  gap: clamp(1.4rem, 3vw, 2.2rem) !important;
  max-width: min(980px, 100%) !important;
  margin-top: clamp(1.6rem, 3vw, 2.6rem) !important;
}

.site-footer .footer-links {
  width: 100% !important;
  justify-items: center !important;
  text-align: center !important;
}

.site-footer .footer-copy {
  max-width: 46rem !important;
}

.site-footer .footer-links .menu {
  justify-content: center !important;
}

.site-footer .footer-left,
.site-footer .footer-portrait,
.site-footer .footer-placeholder {
  display: none !important;
}

/* Final text spacing pass for standalone pages. */
.page-hero-inner {
  display: grid !important;
  gap: clamp(0.9rem, 2vw, 1.35rem) !important;
}

.page-hero-inner .blog-title {
  max-width: 11ch !important;
  line-height: 0.96 !important;
}

.page-hero-inner .blog-lede {
  max-width: 58rem !important;
  line-height: 1.72 !important;
}

.about-page-hero .eyebrow {
  font-size: clamp(0.62rem, 0.8vw, 0.72rem);
}

.about-page-hero .blog-title {
  max-width: 12ch !important;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
}

.creator-page-card {
  gap: clamp(1rem, 2vw, 1.35rem) !important;
}

.creator-page-card h2,
.creator-page-card h3 {
  line-height: 0.94 !important;
  max-width: 10ch !important;
}

.creator-page-card p {
  max-width: 34rem !important;
  line-height: 1.72 !important;
}

.creator-page-card .status-badge {
  width: fit-content;
  margin-bottom: 0.15rem;
}

.site-footer .footer-copy {
  line-height: 1.72 !important;
}

/* Keep dark creator cards readable inside light page sections. */
.section-light .creator-page-card.dark,
.section-light .creator-page-card.dark h2,
.section-light .creator-page-card.dark h3,
.section-light .creator-page-card.dark p {
  color: #ffffff !important;
}

.section-light .creator-page-card.dark .status-badge {
  color: #111111 !important;
  border-color: rgba(221, 255, 150, 0.35) !important;
  background: var(--accent-soft) !important;
}

/* Lift light cards so they do not blend into light sections. */
.section-light .project-card,
.section-light .archive-product-card,
.section-light .blog-post,
.section-light .creator-page-card:not(.dark):not(.accent),
.section-light .writing-card,
.section-light .now-board article,
.section-light .testimonial,
.section-light .proof-card,
body:has(.hero) .project-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 241, 231, 0.98)) !important;
  border: 1px solid rgba(17, 17, 17, 0.16) !important;
  box-shadow:
    0 1.1rem 2.7rem rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset !important;
}

.section-light .project-meta,
body:has(.hero) .project-meta {
  background: rgba(255, 255, 255, 0.82) !important;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.section-light .project-image,
.section-light .archive-product-visual,
body:has(.hero) .project-image {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1) !important;
}

.section-light .creator-page-card.accent {
  border: 1px solid rgba(17, 17, 17, 0.18) !important;
  box-shadow: 0 1.1rem 2.7rem rgba(0, 0, 0, 0.14) !important;
}

/* Center the Skills & Systems focus window. */
.skills .skills-stats.focus-stats {
  width: min(100%, 980px) !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(8rem, 0.42fr) minmax(0, 1fr) !important;
  justify-content: center !important;
}

.skills .focus-bars {
  width: 100% !important;
}

@media (max-width: 760px) {
  .skills .skills-stats.focus-stats {
    grid-template-columns: 1fr !important;
    text-align: left;
  }
}

/* Fit Proof & Highlights typography into the section. */
.testimonials .section-title.huge {
  max-width: 12ch !important;
  margin-inline: auto !important;
  font-size: clamp(3rem, 8.5vw, 6.4rem) !important;
  line-height: 0.95 !important;
}

.proof-card {
  width: min(100%, 340px) !important;
  min-height: 18.5rem !important;
}

.proof-card .testimonial-content {
  gap: 0.75rem !important;
  padding: clamp(1rem, 2vw, 1.35rem) !important;
}

.proof-card h3 {
  max-width: 11ch !important;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem) !important;
  line-height: 0.95 !important;
}

.proof-card p {
  max-width: 18rem !important;
  font-size: clamp(0.78rem, 1.4vw, 0.9rem) !important;
  line-height: 1.48 !important;
}

.proof-kicker {
  font-size: 0.62rem !important;
  padding: 0.42rem 0.58rem !important;
}

body:has(.hero) .proof-card {
  width: min(100%, 340px) !important;
  min-height: 18.5rem !important;
}

.testimonials .note-proof {
  transform: none !important;
}

.testimonials .proof-card,
.testimonials .proof-card h3,
.testimonials .proof-card p,
.testimonials .proof-card .testimonial-content {
  color: #111111 !important;
}

.testimonials .proof-card p {
  color: rgba(17, 17, 17, 0.72) !important;
}

.testimonials .proof-card .proof-kicker {
  color: #111111 !important;
  background: rgba(17, 17, 17, 0.08) !important;
  border-color: rgba(17, 17, 17, 0.2) !important;
}

.testimonials .idea-proof .proof-kicker {
  background: rgba(255, 255, 255, 0.55) !important;
}

/* Keep the BB build-loop mark from covering step text. */
.build-loop .loop-mark {
  width: clamp(5.4rem, 9vw, 7rem) !important;
}

.build-loop .loop-mark strong {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem) !important;
}

.build-loop .loop-mark small {
  font-size: 0.5rem !important;
}

.build-loop .loop-step:nth-of-type(1),
.build-loop .loop-step:nth-of-type(3) {
  padding-right: clamp(1rem, 3vw, 3.6rem) !important;
}

.build-loop .loop-step:nth-of-type(2),
.build-loop .loop-step:nth-of-type(4) {
  padding-left: clamp(1rem, 3vw, 3.6rem) !important;
}

.build-loop .loop-step h3 {
  font-size: clamp(2rem, 4.1vw, 3.8rem) !important;
}

@media (max-width: 980px) {
  .build-loop .loop-step {
    padding: clamp(1rem, 2vw, 1.35rem) !important;
  }
}

@media (max-width: 760px) {
  .testimonials .section-title.huge {
    font-size: clamp(2.7rem, 15vw, 4.3rem) !important;
  }

  .proof-card {
    width: min(100%, 300px) !important;
    min-height: 17rem !important;
  }
}

/* About cards should read as a clean system grid, not a collage. */
.about-gallery.creator-os-grid {
  align-items: stretch !important;
}

.about-gallery.creator-os-grid .creator-os-card,
.about-gallery.creator-os-grid .portrait-card.tall {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
}

.about.section-dark {
  padding-top: clamp(2.8rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem) !important;
  border-top: 0;
}

.about.section-dark .about-layout {
  padding-bottom: 0 !important;
}

.hero-about-divider {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  height: 1px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 221, 99, 0.28) 12%,
    rgba(223, 242, 160, 0.75) 50%,
    rgba(184, 221, 99, 0.28) 88%,
    transparent
  );
  box-shadow: 0 0 22px rgba(184, 221, 99, 0.12);
}

.hero-about-divider::before,
.hero-about-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(223, 242, 160, 0.72);
  background: #111;
  transform: translateY(-50%) rotate(45deg);
}

.hero-about-divider::before {
  left: 10%;
}

.hero-about-divider::after {
  right: 10%;
}

.hero-about-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(184, 221, 99, 0.3);
  border-radius: 999px;
  background: #111;
  color: rgba(223, 242, 160, 0.78);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.about.section-dark .section-title.oversized {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  line-height: 0.94;
}

.about-gallery.creator-os-grid {
  margin-bottom: 0 !important;
}

.about-gallery.creator-os-grid .creator-os-card {
  position: relative;
  margin: 0;
  border: 1px solid rgba(221, 255, 150, 0.24) !important;
  background: #171917 !important;
  box-shadow: 0 1.4rem 3.4rem rgba(0, 0, 0, 0.38) !important;
}

.about-gallery.creator-os-grid .creator-os-card::after {
  display: none !important;
}

.about-gallery.creator-os-grid .creator-os-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), filter 400ms ease;
}

.about-gallery.creator-os-grid .creator-os-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 34%, rgba(7, 8, 7, 0.18) 52%, rgba(7, 8, 7, 0.78) 76%, rgba(7, 8, 7, 0.98) 100%),
    linear-gradient(90deg, rgba(7, 8, 7, 0.22), transparent 58%);
  pointer-events: none;
}

.about-gallery.creator-os-grid .creator-os-copy,
.about-gallery.creator-os-grid .creator-os-copy > span,
.about-gallery.creator-os-grid .creator-os-card figcaption {
  position: relative;
  z-index: 2;
}

.about-gallery.creator-os-grid .creator-os-copy {
  margin-top: auto;
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.about-gallery.creator-os-grid .creator-os-copy > span {
  max-width: 100%;
  color: #fff;
  font-family: var(--title-font);
  font-size: clamp(2rem, 2.9vw, 3.15rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.92);
}

.about-gallery.creator-os-grid .research-stack-card .creator-os-copy {
  padding-left: 0.18rem;
}

.about-gallery.creator-os-grid .creator-os-card figcaption {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95);
}

.about-gallery.creator-os-grid .creator-os-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) brightness(1.04);
}

.project-card-linked {
  cursor: pointer;
}

.project-card-linked:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 5px;
}

.bashtree-project-visual {
  isolation: isolate;
  background: #111111 !important;
}

.bashtree-project-visual::before {
  display: none;
}

.bashtree-project-visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none !important;
}

.bashctf-project-visual {
  isolation: isolate;
  background: #111111 !important;
}

.bashctf-project-visual::before {
  display: none;
}

.bashctf-project-visual .bashctf-logo-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.bashsounds-project-visual {
  isolation: isolate;
  background: #111111 !important;
}

.bashsounds-project-visual::before {
  display: none;
}

.bashsounds-project-visual .bashsounds-logo-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.skills.section-dark {
  padding-top: clamp(2rem, 3.5vw, 3rem);
}

.skills .section-system-divider {
  margin-bottom: clamp(2.75rem, 4.5vw, 4rem);
}

.skills .skills-header {
  gap: 1.25rem;
}

.skills .skills-header > .section-label {
  font-size: clamp(0.9rem, 1.25vw, 1.1rem);
  letter-spacing: 0.16em;
}

.skills .skill-pills {
  gap: 0.85rem;
}

.skills .skill-pills span {
  padding: 0.68rem 0.95rem;
  font-size: clamp(0.76rem, 0.9vw, 0.88rem);
  letter-spacing: 0.09em;
}

/* Give the opening composition a stronger, more legible type hierarchy. */
.hero-grid {
  min-height: calc(100vh - 8rem) !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr) !important;
  gap: clamp(1.5rem, 3.5vw, 4rem) !important;
}

.hero-copy {
  align-self: stretch !important;
  min-height: clamp(590px, 72vh, 760px) !important;
  display: grid !important;
  grid-template-rows: auto 1fr auto auto 1fr auto !important;
  align-content: stretch !important;
  padding-block: clamp(2.5rem, 6vh, 4.5rem) clamp(1.5rem, 4vh, 3rem) !important;
}

.hero .eyebrow {
  align-self: start;
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  line-height: 1.35;
}

.hero-title {
  align-self: end;
  font-size: clamp(5.25rem, 9vw, 8.65rem) !important;
  margin: clamp(1.3rem, 3vh, 2.2rem) 0 1rem !important;
}

.hero-title-kicker {
  font-size: clamp(2.8rem, 5vw, 4.65rem) !important;
}

.hero-tagline {
  align-self: start;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: clamp(1.15rem, 2.5vh, 1.75rem);
}

.hero-note {
  align-self: end;
  margin-top: 0 !important;
  font-size: clamp(1.25rem, 1.65vw, 1.5rem);
  font-weight: 600;
}

.hero-visual {
  min-height: clamp(620px, 76vh, 800px) !important;
}

.hero .builder-visual.hero-builder {
  width: min(500px, 78vw) !important;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 50%;
}

.hero-slideshow .hero-slide {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  max-height: none !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 0;
  transform: scale(0.965) !important;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.3)) !important;
  transition:
    opacity 900ms ease,
    transform 1400ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.hero-slideshow .hero-slide.is-active {
  opacity: 1;
  transform: scale(1) !important;
}

.hero-slideshow .hero-slide:nth-child(2) {
  object-position: center 54% !important;
  transform: scale(0.94) !important;
}

.hero-slideshow .hero-slide:nth-child(2).is-active {
  transform: scale(0.975) !important;
}

.hero-slideshow .hero-slide:nth-child(3) {
  object-position: center 52% !important;
  transform: scale(0.91) !important;
}

.hero-slideshow .hero-slide:nth-child(3).is-active {
  transform: scale(0.95) !important;
}

.hero-image {
  width: min(93%, 455px) !important;
}

.hero .stamp-badge span {
  min-height: 2.65rem !important;
  padding: 0.65rem 1.15rem !important;
  font-size: clamp(0.76rem, 0.9vw, 0.86rem) !important;
  letter-spacing: 0.1em;
}

.hero-aside {
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  line-height: 1.55 !important;
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
  }

  .hero-copy {
    min-height: auto !important;
    display: flex !important;
    padding-block: 2rem 0 !important;
  }

  .hero-title {
    font-size: clamp(4.4rem, 18vw, 6.5rem) !important;
  }

  .hero-title-kicker {
    font-size: clamp(2.45rem, 11vw, 3.65rem) !important;
  }

  .hero-note {
    margin-top: 2rem !important;
  }

  .hero-visual {
    min-height: auto !important;
  }

  .hero .builder-visual.hero-builder {
    width: min(330px, 84vw) !important;
  }

  .hero-slideshow {
    inset: 0;
  }

  .hero-image {
    width: min(92%, 295px) !important;
  }

  .hero-slideshow .hero-slide:nth-child(2).is-active {
    transform: scale(0.95) !important;
  }

  .hero-slideshow .hero-slide:nth-child(3).is-active {
    transform: scale(0.92) !important;
  }

  .hero .stamp-badge span {
    min-height: 2.3rem !important;
    padding: 0.55rem 0.9rem !important;
    font-size: 0.74rem !important;
  }

  .hero-aside {
    font-size: 0.98rem !important;
  }
}

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

  .hero-slideshow .hero-slide:not(.is-active) {
    display: none;
  }
}


@media (max-width: 980px) {
  .page-hero-inner:has(.youtube-visual) {
    grid-template-columns: 1fr;
  }

  .youtube-visual {
    transform: none;
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .youtube-library-header,
  .youtube-video-grid {
    grid-template-columns: 1fr;
  }

  .video-switch {
    width: fit-content;
  }

  .badge-vault-feature {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .badge-grid {
    grid-template-columns: 1fr;
  }

  .badge-card {
    min-height: 19rem;
  }
}

/* Final integration details for the lab feature set. */
.search-trigger {
  border: 0;
  cursor: pointer;
}

.project-card,
.archive-product-card {
  position: relative;
}

.project-card .project-image > span,
.archive-product-card .archive-product-visual > span {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-image > span,
.archive-product-card:hover .archive-product-visual > span {
  transform: scale(1.06) translateY(-0.15rem);
}

.error-page .page-transition {
  display: none;
}

@media (min-width: 981px) and (max-width: 1320px) {
  .site-nav {
    gap: 0.8rem;
    font-size: 0.64rem;
  }

  .site-header {
    width: min(100% - 2rem, 1520px);
  }
}

/* Clear separation between the blog index and full article windows. */
.blog-index.section-light {
  border-bottom: 0.35rem solid var(--accent);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.28);
}

.blog-posts.section-light {
  width: 100%;
  max-width: none;
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
  padding:
    clamp(3rem, 6vw, 5rem)
    clamp(1.5rem, 3vw, 3rem)
    clamp(5rem, 8vw, 7rem);
  background:
    linear-gradient(rgba(223, 242, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 242, 160, 0.035) 1px, transparent 1px),
    #151715;
  background-size: 72px 72px, 72px 72px, auto;
}

.blog-posts.section-light .blog-post {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(1.5rem, 3.5vw, 2.8rem);
  border: 1px solid rgba(223, 242, 160, 0.34) !important;
  border-top: 0.3rem solid var(--accent) !important;
  background: #f8f7f1 !important;
  box-shadow:
    0 1.5rem 3.8rem rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
}

.blog-posts.section-light .blog-post:hover {
  border-color: rgba(223, 242, 160, 0.66) !important;
  box-shadow:
    0 2rem 4.5rem rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

.blog-posts .blog-post aside {
  padding-right: clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid rgba(17, 17, 17, 0.18);
}

.blog-posts .blog-post > div {
  min-width: 0;
}

.blog-posts .blog-placeholder {
  border-color: rgba(72, 99, 15, 0.32);
  background: rgba(184, 221, 99, 0.18);
}

@media (max-width: 860px) {
  .blog-posts .blog-post aside {
    padding: 0 0 0.9rem;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  }
}

/* Professional editorial treatment for the writing archive. */
.blog-index.section-light {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  box-shadow: none;
}

.blog-posts.section-light {
  gap: 1rem;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  background: #e4e5df;
  background-image: none;
}

.blog-archive-header {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.24);
  color: #111;
}

.blog-archive-header h2 {
  margin: 0.6rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.blog-archive-header > p {
  max-width: 36rem;
  margin: 0;
  color: rgba(17, 17, 17, 0.62);
  line-height: 1.7;
}

.blog-posts.section-light .blog-post {
  grid-template-columns: minmax(9rem, 0.27fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid rgba(17, 17, 17, 0.16) !important;
  border-left: 0.3rem solid var(--accent) !important;
  border-top-width: 1px !important;
  background: #f8f7f2 !important;
  box-shadow: 0 0.55rem 1.5rem rgba(17, 17, 17, 0.07) !important;
}

.blog-posts.section-light .blog-post:hover {
  transform: none;
  border-color: rgba(17, 17, 17, 0.28) !important;
  border-left-color: #86a936 !important;
  box-shadow: 0 0.9rem 2.2rem rgba(17, 17, 17, 0.1) !important;
}

.blog-posts .blog-post aside {
  padding-right: clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid rgba(17, 17, 17, 0.16);
  color: rgba(17, 17, 17, 0.54);
}

.blog-posts .blog-post h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
}

.blog-posts .blog-post p {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
}

@media (max-width: 860px) {
  .blog-archive-header,
  .blog-posts.section-light .blog-post {
    grid-template-columns: 1fr;
  }

  .blog-archive-header {
    gap: 1rem;
  }

  .blog-posts .blog-post aside {
    padding: 0 0 0.9rem;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.16);
  }
}

/* Resource Stack */
.resource-hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding-block: 10rem clamp(4rem, 8vw, 7rem);
}

.resource-hero-inner,
.resource-toolbar,
.resource-controls,
.resource-results-bar,
.resource-grid,
.resource-empty,
.resource-note {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.resource-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.55fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.resource-title {
  max-width: 9ch;
  margin: 1.4rem 0 0;
  font-size: clamp(4rem, 9.5vw, 8.5rem);
  line-height: 0.94;
}

.resource-hero-copy > p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.resource-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.resource-hero-stats div {
  padding: 1rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.resource-hero-stats div:last-child {
  border-right: 0;
}

.resource-hero-stats dt {
  color: var(--accent-soft);
  font-family: var(--title-font);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.resource-hero-stats dd {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-repository {
  padding-block: clamp(5rem, 9vw, 9rem);
  background: #151715;
  opacity: 1;
  transform: none;
  isolation: auto;
}

.resource-repository.section-dark::before {
  display: none;
}

body:has(.resource-repository) .page-shell {
  overflow: visible;
}

.resource-toolbar {
  display: grid;
  grid-template-columns: minmax(20rem, 46rem);
  justify-content: end;
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.resource-toolbar .section-title {
  max-width: 11ch;
  margin: 0.7rem 0 0;
}

.resource-search {
  display: grid;
  gap: 0.6rem;
}

.resource-search span,
.resource-filter-group > span,
.resource-selects label > span {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-search input {
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 1rem var(--body-font);
}

.resource-search input:focus {
  border-color: var(--accent-soft);
}

.resource-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.resource-filter-group {
  display: grid;
  gap: 0.8rem;
}

.resource-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resource-filter-row button,
.resource-results-bar button {
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.resource-filter-row button:hover,
.resource-filter-row button.is-active {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  color: #111;
}

.resource-selects {
  display: flex;
  gap: 0.7rem;
  align-items: end;
}

.resource-selects label {
  display: grid;
  gap: 0.55rem;
}

.resource-selects select {
  min-width: 10rem;
  height: 2.6rem;
  padding-inline: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: #1d201c;
  color: #fff;
  font: 700 0.7rem var(--body-font);
  text-transform: uppercase;
}

.resource-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.resource-results-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-results-bar button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.66);
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
}

.resource-grid.is-refreshing .resource-directory-entry {
  animation: resourceCardEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--resource-order, 0) * 38ms);
}

@keyframes resourceCardEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.resource-card {
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1b1d1a;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  .resource-grid.is-refreshing .resource-directory-entry {
    animation: none;
  }
}

.resource-directory-section {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid rgba(223, 242, 160, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    #171917;
  background-size: 100% 1.8rem;
}

.resource-directory-section summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  cursor: pointer;
  list-style: none;
}

.resource-directory-section summary::-webkit-details-marker {
  display: none;
}

.resource-directory-section summary::after {
  content: "+";
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223, 242, 160, 0.42);
  color: var(--accent-soft);
  font-family: var(--title-font);
  font-size: 1.8rem;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.resource-directory-section[open] summary::after {
  content: "–";
  background: var(--accent-soft);
  color: #111;
}

.resource-directory-section summary:hover::after {
  transform: translateY(-2px);
}

.resource-directory-section h3 {
  margin: 0;
  padding-bottom: 0.8rem;
  border-bottom: 0.16rem solid var(--accent);
  color: #f4f2ec;
  font-family: var(--title-font);
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.resource-directory-section summary > span {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-directory-panel {
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
}

.resource-directory-subsection + .resource-directory-subsection {
  margin-top: clamp(1.8rem, 4vw, 3rem);
}

.resource-directory-subsection h4 {
  margin: 0 0 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-directory-subsection ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-directory-entry {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-directory-entry a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: #f4f2ec;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(223, 242, 160, 0.38);
  text-underline-offset: 0.2rem;
}

.resource-directory-entry a:hover {
  color: var(--accent-soft);
  text-decoration-color: currentColor;
}

.resource-directory-entry a span {
  font-size: 0.72em;
}

.resource-directory-entry p {
  max-width: 78ch;
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  line-height: 1.65;
}

.resource-directory-entry .resource-directory-context {
  color: rgba(255, 255, 255, 0.5);
}

.resource-directory-entry small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 242, 160, 0.42);
  background: #20231e;
}

.resource-card-main {
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.resource-subcategory {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(223, 242, 160, 0.28);
  color: var(--accent-soft);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.resource-card h3 {
  min-height: 1.9em;
  display: flex;
  align-items: flex-end;
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.75rem, 2.45vw, 2.75rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.resource-card-main > p {
  min-height: 4.4rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1.5;
}

.resource-card-media {
  min-height: 29rem;
}

.resource-card-media .resource-card-main {
  padding-bottom: 1rem;
}

.resource-preview {
  position: relative;
  min-height: 10rem;
  display: block;
  margin: auto 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #0d0e0d;
  overflow: hidden;
}

.resource-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform 380ms ease, opacity 380ms ease;
}

.resource-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.resource-preview span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  left: 0.8rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-preview span b {
  width: 1.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #111;
  font-size: 0.62rem;
}

.resource-preview:hover img {
  transform: scale(1.04);
  opacity: 0.84;
}

.resource-brand-preview {
  min-height: 10.5rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 242, 160, 0.22), transparent 34%),
    linear-gradient(145deg, #252a20, #111310);
}

.resource-brand-preview::after {
  background: linear-gradient(transparent 58%, rgba(0, 0, 0, 0.78));
}

.resource-brand-preview .resource-brand-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.resource-brand-preview > img {
  width: 4.2rem;
  height: 4.2rem;
  grid-row: 2 / 4;
  position: relative;
  z-index: 1;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(244, 242, 236, 0.96);
  object-fit: contain;
}

.resource-brand-preview > strong,
.resource-brand-preview > small {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.resource-brand-preview > strong {
  grid-column: 2;
  grid-row: 2;
  color: #fff;
  font-family: var(--title-font);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.resource-brand-preview > small {
  grid-column: 2;
  grid-row: 3;
  margin-top: 0.3rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-brand-preview .resource-brand-action {
  top: auto;
}

.resource-brand-learning,
.resource-brand-engineering,
.resource-brand-certification {
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 242, 160, 0.3), transparent 34%),
    linear-gradient(145deg, #2d3520, #121510);
}

.resource-brand-security,
.resource-brand-hacking-tool,
.resource-brand-osint {
  background:
    radial-gradient(circle at 82% 18%, rgba(101, 198, 255, 0.25), transparent 34%),
    linear-gradient(145deg, #172b31, #101315);
}

.resource-brand-software,
.resource-brand-repository {
  background:
    radial-gradient(circle at 82% 18%, rgba(193, 159, 255, 0.24), transparent 34%),
    linear-gradient(145deg, #282238, #121116);
}

.resource-brand-indie {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 174, 93, 0.25), transparent 34%),
    linear-gradient(145deg, #38271d, #15110e);
}

.resource-brand-reference {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 225, 128, 0.24), transparent 34%),
    linear-gradient(145deg, #34301e, #14130f);
}

.resource-card footer {
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.resource-card footer a {
  display: block;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card footer a:hover {
  color: var(--accent-soft);
}

.resource-card footer small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.resource-empty {
  padding: 5rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
}

.resource-empty strong {
  font-family: var(--title-font);
  font-size: 2.5rem;
  font-weight: 400;
  text-transform: uppercase;
}

.resource-empty p {
  color: rgba(255, 255, 255, 0.55);
}

.resource-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(5rem, 9vw, 9rem);
  align-items: end;
}

.resource-note .section-title {
  max-width: 10ch;
  margin: 0.7rem 0 0;
}

.resource-note > div:last-child > p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.resource-safety {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 0.25rem solid var(--accent);
  background: rgba(184, 221, 99, 0.07);
}

.school-invitation {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: end;
}

.school-invitation .section-title {
  max-width: 7ch;
  margin: 0.7rem 0 0;
}

.school-invitation p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.school-invitation a {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--accent-soft);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.school-hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding-block: 10rem clamp(4rem, 8vw, 7rem);
}

.school-hero-inner,
.school-directory {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.school-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.55fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.school-title {
  max-width: 7ch;
  margin: 1.4rem 0 0;
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 0.94;
}

.school-hero-copy > p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.school-directory {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.school-directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.school-directory-head .section-title {
  margin: 0.7rem 0 0;
}

.school-directory-head > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.75;
}

.school-tools {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(12rem, 0.35fr) auto auto;
  gap: 0.7rem;
  padding-block: 1.2rem;
  align-items: end;
}

.school-tools label {
  display: grid;
  gap: 0.5rem;
}

.school-tools label > span {
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.school-tools input,
.school-tools select,
.school-tools button,
.school-tools > a {
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: #1a1d19;
  color: #fff;
  font: 800 0.7rem var(--body-font);
}

.school-tools input,
.school-tools select {
  width: 100%;
  padding-inline: 0.9rem;
  outline: 0;
}

.school-tools input:focus,
.school-tools select:focus {
  border-color: var(--accent-soft);
}

.school-tools button,
.school-tools > a {
  display: grid;
  place-items: center;
  padding-inline: 1rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-tools button:hover,
.school-tools > a:hover {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  color: #111;
}

.school-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.school-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-paper {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid rgba(223, 242, 160, 0.18);
  background-color: #171917;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #171917;
  background-size: 100% 1.75rem;
  color: #f4f2ec;
}

.school-text-directory {
  margin: 0;
  color: #f4f2ec;
  font: 600 clamp(0.78rem, 1.2vw, 0.92rem)/1.7 var(--body-font);
}

.school-paper ::selection {
  background: #b8dd63;
  color: #111;
}

.school-topic + .school-topic {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(2rem, 5vw, 4rem);
  border-top: 0.18rem solid var(--accent);
}

.school-topic h3 {
  margin: 0 0 2rem;
  color: #f4f2ec;
  font-family: var(--title-font);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.school-subtopic + .school-subtopic {
  margin-top: 2.5rem;
}

.school-subtopic h4 {
  margin: 0 0 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.school-subtopic ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.45fr);
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.school-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
}

.school-entry a {
  color: #f4f2ec;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(223, 242, 160, 0.38);
  text-underline-offset: 0.18rem;
}

.school-entry a:hover {
  color: var(--accent-soft);
  text-decoration-color: currentColor;
}

.school-entry a span {
  margin-left: 0.25rem;
  font-size: 0.65em;
}

.school-entry .is-related {
  font-weight: 650;
}

.school-link-divider {
  color: rgba(255, 255, 255, 0.3);
}

.school-entry p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.55;
}

.school-no-results {
  margin: 0;
  padding: 5rem 1rem;
  border: 1px dashed rgba(223, 242, 160, 0.28);
  color: #f4f2ec;
  text-align: center;
  font-family: var(--title-font);
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
}

/* Reviews */
.reviews-hero {
  min-height: 70vh;
  display: grid;
  align-items: end;
  padding-block: 9rem clamp(4rem, 7vw, 6rem);
}

.reviews-hero-inner,
.reviews-toolbar,
.reviews-grid,
.reviews-empty,
.review-submit {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.reviews-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.58fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}

.reviews-title {
  max-width: 8ch;
  margin: 0.9rem 0 0;
  font-size: clamp(4.2rem, 9vw, 8rem);
  line-height: 0.94;
}

.reviews-hero-copy p {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.reviews-hero-copy a {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--accent-soft);
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews-vault {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.reviews-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.reviews-toolbar .section-title {
  max-width: 9ch;
  margin: 0.7rem 0 0;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  line-height: 0.95;
}

.reviews-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.reviews-filter-row button {
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reviews-filter-row button:hover,
.reviews-filter-row button.is-active {
  border-color: #111;
  background: #111;
  color: var(--accent-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.reviews-grid.is-refreshing .review-card {
  animation: resourceCardEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--review-order, 0) * 38ms);
}

.review-card {
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background:
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    var(--bg-light);
  background-size: 100% 2rem;
  color: #111;
}

.review-card header,
.review-card footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.review-card header span,
.review-card header small {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card header span {
  color: #506d13;
}

.review-card header small {
  color: rgba(17, 17, 17, 0.5);
}

.review-card blockquote {
  margin: auto 0;
  padding-block: 1.6rem;
  font-family: var(--title-font);
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.review-card footer {
  align-items: end;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.review-card footer div {
  display: grid;
  gap: 0.25rem;
}

.review-card footer strong {
  font-size: 0.75rem;
}

.review-card footer span {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.65rem;
}

.review-card footer a {
  width: 2.2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: var(--accent-soft);
}

.reviews-empty {
  margin-top: 1rem;
  padding: clamp(3rem, 7vw, 5.5rem);
  border: 1px dashed rgba(17, 17, 17, 0.24);
  color: #111;
  text-align: center;
}

.reviews-empty span {
  color: #506d13;
  font-family: var(--title-font);
  font-size: 1.2rem;
}

.reviews-empty h3 {
  margin: 0.8rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.reviews-empty p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: rgba(17, 17, 17, 0.66);
  font-size: 0.9rem;
  line-height: 1.65;
}

.reviews-empty a {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #111;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-submit {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(22rem, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 9vw, 9rem);
  align-items: start;
}

.review-submit-copy .section-title {
  max-width: 9ch;
  margin: 0.7rem 0 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.review-submit-copy > p {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.review-submit-copy ul {
  display: grid;
  gap: 0;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.review-submit-copy li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 600;
  line-height: 1.55;
}

.review-submit-copy li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.review-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.review-form label:not(.review-consent) {
  display: grid;
  gap: 0.58rem;
}

.review-form label > span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-form label > span em {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  outline: 0;
  background: #171917;
  color: #fff;
  font: 600 0.9rem var(--body-font);
}

.review-form input,
.review-form select {
  min-height: 3.25rem;
  padding-inline: 0.9rem;
}

.review-form textarea {
  resize: vertical;
  padding: 0.9rem;
  line-height: 1.6;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: var(--accent-soft);
}

.review-form label > small {
  justify-self: end;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6rem;
}

.review-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  cursor: pointer;
}

.review-consent input {
  width: 1rem;
  min-height: auto;
  aspect-ratio: 1;
  margin-top: 0.15rem;
}

.review-consent span {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  text-transform: none !important;
}

.review-form .button-primary {
  width: 100%;
  justify-content: center;
}

.review-form .button-primary:disabled {
  cursor: wait;
  opacity: 0.58;
}

.review-form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  line-height: 1.55;
}

.review-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

/* Social Images */
.images-hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  padding-block: 10rem clamp(4rem, 8vw, 7rem);
}

.images-hero-inner,
.social-image-grid,
.social-images-empty,
.image-archive-note {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.images-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.55fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.images-title {
  margin: 1.4rem 0 0;
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.92;
}

.images-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.images-hero-copy small {
  display: block;
  margin-top: 1.2rem;
  color: var(--accent-soft);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-gallery {
  position: relative;
  padding-block: clamp(5rem, 9vw, 9rem);
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 221, 99, 0.09), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(223, 242, 160, 0.055), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #121411;
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
}

.social-image-grid {
  columns: 3 18rem;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1rem, 3vw, 2.5rem);
}

.social-image-grid.is-refreshing .social-image-card {
  animation: resourceCardEnter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--image-order, 0) * 35ms);
}

.social-image-card {
  --polaroid-rotate: -1.5deg;
  display: inline-block;
  width: 100%;
  position: relative;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  padding: clamp(0.65rem, 1.2vw, 0.95rem) clamp(0.65rem, 1.2vw, 0.95rem) clamp(3.4rem, 6vw, 5.2rem);
  border: 1px solid rgba(17, 17, 17, 0.2);
  background:
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.018) 1px, transparent 1px),
    linear-gradient(145deg, #f7f3e8, #e6dfce);
  background-size: 18px 18px, 18px 18px, auto;
  box-shadow:
    0 1.8rem 3rem rgba(0, 0, 0, 0.52),
    0 0.2rem 0.4rem rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  break-inside: avoid;
  transform: rotate(var(--polaroid-rotate));
  transform-origin: center;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.social-image-card:nth-child(3n + 2) {
  --polaroid-rotate: 1.8deg;
}

.social-image-card:nth-child(3n) {
  --polaroid-rotate: -0.7deg;
}

.social-image-card:nth-child(5n) {
  --polaroid-rotate: 2.4deg;
}

.social-image-card::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  position: absolute;
  top: -0.62rem;
  left: 50%;
  z-index: 2;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.82), transparent 18%),
    radial-gradient(circle at 50% 50%, #dff2a0 0 35%, #98bc43 58%, #4d6718 100%);
  border: 1px solid rgba(17, 17, 17, 0.42);
  border-radius: 50%;
  box-shadow:
    0.15rem 0.38rem 0.4rem rgba(0, 0, 0, 0.38),
    inset -0.12rem -0.16rem 0.22rem rgba(17, 17, 17, 0.28);
  transform: translateX(-50%);
  pointer-events: none;
}

.social-image-card:nth-child(even)::before {
  left: 52%;
}

.social-image-card::after {
  content: "";
  width: 0.12rem;
  height: 0.85rem;
  position: absolute;
  top: 0.25rem;
  left: 50%;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(#c6c9c0, #555950);
  box-shadow: 0.16rem 0.22rem 0.22rem rgba(0, 0, 0, 0.3);
  transform: translateX(-50%) rotate(5deg);
  pointer-events: none;
}

.social-image-card:nth-child(even)::after {
  left: 52%;
  transform: translateX(-50%) rotate(-4deg);
}

.social-image-card:hover {
  z-index: 3;
  border-color: rgba(17, 17, 17, 0.28);
  box-shadow:
    0 2.4rem 4.2rem rgba(0, 0, 0, 0.62),
    0 0.25rem 0.5rem rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  transform: rotate(0deg) translateY(-0.45rem) scale(1.015);
}

.social-image-card > button {
  width: 100%;
  display: block;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.45);
  background: #080908;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow:
    0 0.5rem 1.2rem rgba(0, 0, 0, 0.28) inset,
    0 0.25rem 0.55rem rgba(0, 0, 0, 0.18);
}

.social-image-card > button img {
  width: 100%;
  display: block;
  transition: transform 420ms ease, opacity 420ms ease;
}

.social-image-card > button:hover img {
  transform: scale(1.02);
  opacity: 0.94;
}

.polaroid-placeholder {
  width: 100%;
  min-height: clamp(12rem, 25vw, 20rem);
  display: grid;
  place-content: center;
  gap: 0.3rem;
  border: 1px solid rgba(17, 17, 17, 0.45);
  background:
    radial-gradient(circle at 50% 45%, rgba(184, 221, 99, 0.08), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #161815;
  background-size: auto, 28px 28px, 28px 28px, auto;
  color: rgba(223, 242, 160, 0.42);
  text-align: center;
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.32) inset;
}

.polaroid-placeholder span {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.polaroid-placeholder strong {
  font-family: var(--title-font);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1;
}

.social-image-card.is-empty {
  opacity: 0.72;
}

.social-image-card.is-empty:hover {
  opacity: 1;
}

.polaroid-note {
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  left: 1rem;
  margin: 0;
  color: #20241d;
  font-family: "Permanent Marker", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  filter: contrast(0.9);
}

.social-image-card:nth-child(even) .polaroid-note {
  transform: rotate(1.2deg);
}

.social-images-empty {
  margin-top: 0;
  padding: clamp(3rem, 8vw, 7rem);
  border: 1px dashed rgba(223, 242, 160, 0.24);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  text-align: center;
}

.social-images-empty > span {
  color: var(--accent-soft);
  font-family: var(--title-font);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.social-images-empty h3 {
  margin: 0.8rem 0 0;
  font-family: var(--title-font);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.social-images-empty p {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.social-images-empty div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-images-empty a {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--accent-soft);
  color: var(--accent-soft);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.image-archive-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(5rem, 9vw, 9rem);
  align-items: end;
}

.image-archive-note .section-title {
  max-width: 8ch;
  margin: 0.7rem 0 0;
}

.image-archive-note > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.social-image-lightbox {
  width: min(92vw, 1100px);
  max-height: 90vh;
  padding: 0;
  border: 1px solid rgba(223, 242, 160, 0.28);
  background: #111;
  color: #fff;
  overflow: auto;
}

.social-image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.social-image-lightbox > button {
  width: 2.6rem;
  aspect-ratio: 1;
  position: sticky;
  top: 0.8rem;
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0.8rem 0.8rem -3.4rem auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
}

.social-image-lightbox figure {
  margin: 0;
}

.social-image-lightbox figure > img {
  width: 100%;
  height: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: #080808;
}

@media (max-width: 1100px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-controls {
    grid-template-columns: 1fr;
  }

  .resource-selects {
    justify-content: flex-start;
  }

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

@media (max-width: 760px) {
  .resource-hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .resource-hero-inner,
  .resource-toolbar,
  .resource-note,
  .school-invitation,
  .school-hero-inner,
  .school-directory-head,
  .reviews-hero-inner,
  .reviews-toolbar,
  .review-submit,
  .images-hero-inner,
  .image-archive-note {
    grid-template-columns: 1fr;
  }

  .resource-title {
    font-size: clamp(3.5rem, 17vw, 5.8rem);
    line-height: 0.96;
  }

  .school-hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .school-title {
    font-size: clamp(4.2rem, 22vw, 7rem);
    line-height: 0.96;
  }

  .school-tools {
    grid-template-columns: 1fr 1fr;
  }

  .school-tools label {
    grid-column: auto;
  }

  .school-tools label:first-child,
  .school-tools > a {
    grid-column: 1 / -1;
  }

  .school-entry {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .reviews-hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .reviews-title {
    margin-top: 0.65rem;
    font-size: clamp(3.4rem, 17vw, 5.2rem);
    line-height: 0.96;
  }

  .reviews-filter-row {
    justify-content: flex-start;
  }

  .reviews-filter-row button {
    flex: 1 1 auto;
    min-height: 2.7rem;
  }

  .reviews-grid,
  .review-form-row {
    grid-template-columns: 1fr;
  }

  .reviews-toolbar .section-title,
  .review-submit-copy .section-title {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .review-form {
    padding: 1rem;
  }

  .review-consent {
    gap: 0.6rem;
  }

  .images-hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .images-title {
    font-size: clamp(4rem, 22vw, 7rem);
  }

  .about-page-hero .blog-title {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .social-image-grid {
    columns: 1;
    padding-inline: 0.5rem;
  }

  .social-image-card,
  .social-image-card:nth-child(n) {
    --polaroid-rotate: 0deg;
    margin-bottom: 2rem;
  }

  .school-status {
    flex-direction: column;
  }

  .resource-hero-stats {
    margin-top: 1rem;
  }

  .resource-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .resource-selects select {
    width: 100%;
    min-width: 0;
  }

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

  .resource-card {
    min-height: 20rem;
  }

  .resource-card h3,
  .resource-card-main > p {
    min-height: auto;
  }

  .resource-card-media {
    min-height: 27rem;
  }

  .resource-card-media h3,
  .resource-card-media .resource-card-main > p {
    min-height: auto;
  }
}

/* Final command-bar sizing: readable labels, more visible pages, wider search. */
.site-header {
  grid-template-columns: minmax(9.5rem, auto) minmax(0, 1fr) !important;
}

.site-header > .header-cta {
  display: none !important;
}

.site-nav .editorial-menu {
  gap: clamp(0.08rem, 0.32vw, 0.28rem) !important;
}

.editorial-menu > li > a,
.editorial-more summary {
  padding-inline: clamp(0.38rem, 0.58vw, 0.62rem) !important;
  font-size: clamp(0.75rem, 0.78vw, 0.84rem) !important;
}

.editorial-menu > li > a > span,
.editorial-more-menu a > span {
  display: none !important;
}

.editorial-more-menu {
  width: 12rem !important;
}

.editorial-more-menu a {
  font-size: 0.75rem !important;
}

.editorial-search {
  flex: 1 1 11rem !important;
  min-width: clamp(9rem, 13vw, 12.5rem) !important;
  max-width: 20rem !important;
  margin-left: clamp(0.2rem, 0.5vw, 0.45rem) !important;
  padding-left: clamp(0.2rem, 0.5vw, 0.45rem) !important;
}

.nav-search {
  width: 100% !important;
  justify-content: flex-start !important;
  padding-inline: 0.8rem !important;
}

.nav-search strong {
  font-size: 0.7rem !important;
}

@media (max-width: 1260px) and (min-width: 761px) {
  .site-header {
    width: calc(100% - 1.25rem) !important;
  }

  .brand-mode,
  .nav-search kbd {
    display: none !important;
  }

  .editorial-menu > li > a,
  .editorial-more summary {
    padding-inline: 0.32rem !important;
    font-size: 0.7rem !important;
  }

  .editorial-search {
    min-width: 6.6rem !important;
  }

  .nav-search {
    padding-inline: 0.55rem !important;
  }

  .nav-search strong {
    font-size: 0.61rem !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto !important;
  }

  .site-nav .editorial-menu {
    grid-template-columns: 1fr !important;
  }

  .editorial-menu > li > a,
  .editorial-more summary {
    padding-inline: 1rem !important;
    font-size: 0.86rem !important;
  }

  .editorial-search {
    min-width: 0 !important;
  }

  .nav-search {
    justify-content: center !important;
  }

  .nav-search strong,
  .nav-search kbd {
    display: inline !important;
  }
}

/* Navbar links highlight on interaction only, not simply for the current page. */
.editorial-menu > li > a.is-active,
.editorial-more details.is-current > summary {
  border-color: transparent !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.editorial-menu > li > a:hover,
.editorial-menu > li > a:focus-visible,
.editorial-more summary:hover,
.editorial-more summary:focus-visible {
  border-color: rgba(223, 242, 160, 0.2) !important;
  background: rgba(223, 242, 160, 0.08) !important;
  color: var(--accent-soft) !important;
}

/* Keep More-menu labels readable against their highlighted background. */
.site-header .site-nav .editorial-more-menu a:hover,
.site-header .site-nav .editorial-more-menu a:focus-visible,
.site-header .site-nav .editorial-more-menu a.is-active {
  border-color: var(--accent-soft) !important;
  background: var(--accent-soft) !important;
  color: #111111 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.site-header .site-nav .editorial-more-menu a:hover::after,
.site-header .site-nav .editorial-more-menu a:focus-visible::after,
.site-header .site-nav .editorial-more-menu a.is-active::after {
  display: none !important;
}
