/* ==========================================================
   Muhammad Umer — home page
   Light editorial: warm paper, serif + italic display type,
   frosted white cards, black pill buttons.
   ========================================================== */
:root {
  --paper: #f3f1ec;
  --paper-2: #ebe8e1;
  --card: #ffffff;
  --ink: #121212;
  --ink-2: #2b2b2b;
  --muted: #6f6c66;
  --line: rgba(18, 18, 18, 0.09);
  --line-2: rgba(18, 18, 18, 0.16);
  --lime: #d4f26a;
  --lilac: #c4b5ff;
  --peach: #ffbf96;
  --sky: #a9d8ff;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r: 1.5rem;
  --r-lg: 2.25rem;
  --shadow: 0 1px 2px rgba(18, 18, 18, 0.04), 0 12px 32px -8px rgba(18, 18, 18, 0.12), 0 32px 64px -24px rgba(18, 18, 18, 0.10);
  --shadow-sm: 0 1px 2px rgba(18, 18, 18, 0.05), 0 8px 20px -6px rgba(18, 18, 18, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 50% -10%, #ffffff, transparent 70%),
    radial-gradient(40rem 30rem at 100% 60%, rgba(255, 255, 255, 0.6), transparent 70%),
    var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h2 { font-family: var(--serif); font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); line-height: 1; letter-spacing: -0.02em; }
h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
h2 em, h3 em, .hero__title em { font-style: italic; }
p { margin: 0; color: var(--muted); }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
sup { font-size: 0.55em; vertical-align: super; margin-left: 1px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: -4rem; left: 0.75rem; z-index: 100; padding: 0.7rem 1rem; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 0.75rem; }

/* ---------- shared bits ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: center;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
}
.label::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ink); }
.lead { color: var(--ink-2); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }

.arr, .ext { display: inline-block; transition: transform 0.25s var(--ease); }
a:hover .arr, .resource:hover .arr { transform: translateX(3px); }
a:hover .ext { transform: translate(2px, -2px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 99px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.25s, transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45); }
.btn--dark:hover { background: #000; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.55); }
.btn--light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); padding-left: 0.6rem; }
.btn--light:not(:has(.play)) { padding-left: 1.4rem; }
.btn--light:hover { box-shadow: var(--shadow); }
.play { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: #fff; }
.play svg { width: 0.85rem; height: 0.85rem; fill: currentColor; margin-left: 2px; }
.play--lg { width: 3.5rem; height: 3.5rem; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5); }
.play--lg svg { width: 1.2rem; height: 1.2rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 600;
}
.tag--lime { background: var(--lime); border-color: transparent; color: var(--ink); }
.tag--sky { background: var(--sky); border-color: transparent; color: var(--ink); }
.tag--peach { background: var(--peach); border-color: transparent; color: var(--ink); }
.tag--lilac { background: var(--lilac); border-color: transparent; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { padding: 0.32rem 0.75rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }

.card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.dot--lime { background: #b6dc2a; } .dot--lilac { background: #9d88ff; } .dot--peach { background: #ff9a5c; } .dot--sky { background: #5cb3ff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { background: rgba(243, 241, 236, 0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { justify-self: start; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.nav__pill {
  display: flex;
  gap: 0.15rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav__pill a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 1rem;
  border-radius: 99px;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s, box-shadow 0.25s;
}
.nav__pill a:hover { background: rgba(255, 255, 255, 0.8); }
.nav__pill a.is-active { background: #fff; box-shadow: var(--shadow-sm); }
.header-cta { justify-self: end; }
.menu-btn {
  display: none;
  justify-self: end;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn__bars { display: grid; gap: 5px; width: 1.05rem; }
.menu-btn__bars i { height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 60rem) {
  .site-header__in { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .js .menu-btn { display: grid; }
  .js .nav { display: none; grid-column: 1 / -1; padding-bottom: 1rem; }
  .js .nav[data-open] { display: block; }
  .js .nav__pill { flex-direction: column; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
  .js .nav__pill a { min-height: 3rem; font-size: 1rem; }
  .js .site-header:has(.nav[data-open]) { background: rgba(243, 241, 236, 0.95); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(1.5rem, 4vw, 3rem); overflow: clip; }
.hero__in { position: relative; display: grid; justify-items: center; text-align: center; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 1.2rem + 6.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title span, .hero__title em { display: block; }
.hero__title em { margin-top: 0.02em; }
.hero__sub { max-width: 35rem; margin-top: 1.5rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1rem); }
.hero__actions { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke: rgba(18, 18, 18, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero__lines path { vector-effect: non-scaling-stroke; }

/* stage */
.stage { position: relative; z-index: 1; isolation: isolate; width: 100%; height: clamp(22rem, 40vw, 32rem); margin-top: clamp(1.5rem, 4vw, 2.5rem); perspective: 70rem; }
.stage__glow {
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: min(46rem, 90vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: -1;
}
.stage__photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 112%;
  max-width: none;
  transform: translateX(-50%);
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  -webkit-mask-image: radial-gradient(ellipse 44% 54% at 50% 36%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 44% 54% at 50% 36%, #000 60%, transparent 100%);
}

.chip {
  --px: 0px; --py: 0px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem 0.75rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.9) inset, 0 18px 40px -14px rgba(18, 18, 18, 0.28);
  text-align: left;
  transition: transform 0.6s var(--ease);
}
.chip b { display: block; color: var(--ink); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
.chip small { display: block; color: var(--muted); font-size: 0.75rem; }
.chip__icon { display: grid; flex: none; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 0.75rem; }
.chip__icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip__icon--lime { background: var(--lime); } .chip__icon--lilac { background: var(--lilac); }
.chip__icon--peach { background: var(--peach); } .chip__icon--sky { background: var(--sky); }
.chip--1 { left: calc(50% - 25rem); top: 10%; transform: translate3d(var(--px), var(--py), 0) rotateY(22deg) rotateZ(-7deg); }
.chip--2 { left: calc(50% - 19rem); top: 52%; transform: translate3d(var(--px), var(--py), 0) rotateY(18deg) rotateZ(-3deg); }
.chip--3 { left: calc(50% + 8rem); top: 18%; transform: translate3d(var(--px), var(--py), 0) rotateY(-22deg) rotateZ(6deg); }
.chip--4 { left: calc(50% + 10.5rem); top: 60%; transform: translate3d(var(--px), var(--py), 0) rotateY(-18deg) rotateZ(3deg); }

/* floating side cards */
.float-card {
  --px: 0px; --py: 0px;
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.3rem;
  width: 13.5rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-align: left;
  text-decoration: none;
  transition: transform 0.6s var(--ease), box-shadow 0.3s;
}
.float-card--left { left: 0; top: 21rem; transform: translate3d(var(--px), var(--py), 0) rotate(-5deg); }
.float-card--right { right: 0; top: 24rem; transform: translate3d(var(--px), var(--py), 0) rotate(5deg); }
a.float-card:hover { box-shadow: 0 30px 60px -20px rgba(18, 18, 18, 0.3); }
.float-card__title { margin-top: 0.75rem; color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.float-card__text { font-size: 0.85rem; line-height: 1.45; }
.float-card__wave { display: flex; align-items: center; gap: 3px; height: 1.6rem; }
.float-card__wave i { width: 2px; border-radius: 2px; background: var(--ink); }
.float-card__wave i:nth-child(1), .float-card__wave i:nth-child(5) { height: 35%; }
.float-card__wave i:nth-child(2), .float-card__wave i:nth-child(4) { height: 70%; }
.float-card__wave i:nth-child(3) { height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .float-card__wave i { animation: wave 1.2s ease-in-out infinite; transform-origin: center; }
  .float-card__wave i:nth-child(2) { animation-delay: 0.15s; } .float-card__wave i:nth-child(3) { animation-delay: 0.3s; }
  .float-card__wave i:nth-child(4) { animation-delay: 0.45s; } .float-card__wave i:nth-child(5) { animation-delay: 0.6s; }
  @keyframes wave { 50% { transform: scaleY(0.45); } }
}

.faces { display: flex; align-items: center; }
.faces > * {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-right: -0.55rem;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.faces img.is-portrait { filter: grayscale(1); background: #e9e6df; }
.faces__tile { background: var(--ink); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.02em; }
.faces__plus { background: #fff; color: var(--ink); font-size: 1rem; font-weight: 500; }
.faces--sm > * { width: 1.9rem; height: 1.9rem; }

/* rotating badge */
.badge { position: absolute; top: 3.5rem; right: 0; width: 6.5rem; height: 6.5rem; }
.badge__ring { width: 100%; height: 100%; overflow: visible; }
.badge__ring text { font-family: var(--sans); font-size: 8.4px; font-weight: 600; letter-spacing: 2.1px; fill: var(--ink); }
.badge__spark { position: absolute; inset: 0; width: 1.7rem; height: 1.7rem; margin: auto; fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .badge__ring { animation: spin 22s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* bottom corners */
.corner { position: absolute; bottom: 3rem; z-index: 2; display: grid; gap: 0.75rem; text-align: left; }
.corner p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.35; }
.corner--left { left: 0; }
.corner--right { right: 0; justify-items: start; }
.corner__rule { display: block; width: 1.75rem; height: 1px; background: var(--line-2); }
.corner--right p { display: grid; grid-template-columns: auto auto; column-gap: 1rem; align-items: center; }
.corner--right .corner__rule { grid-row: span 2; }
.corner__spark { width: 1.3rem; height: 1.3rem; margin-left: 2.75rem; fill: var(--ink); }

@media (max-width: 63.99rem) {
  .float-card, .hero__lines, .corner { display: none; }
  .badge { top: auto; bottom: 1.5rem; right: var(--gutter); width: 5rem; height: 5rem; z-index: 3; }
  .chip { padding: 0.55rem 0.8rem 0.55rem 0.55rem; gap: 0.55rem; }
  .chip__icon { width: 2rem; height: 2rem; }
  .chip small { display: none; }
  .chip--1 { left: 2%; top: 14%; }
  .chip--2 { left: 0; top: 56%; }
  .chip--3 { left: auto; right: 2%; top: 22%; }
  .chip--4 { left: auto; right: 0; top: 64%; }
}
@media (max-width: 30rem) {
  .badge { display: none; }
  .chip b { font-size: 0.8rem; }
  .stage { height: 23rem; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--soft { background: linear-gradient(180deg, transparent, var(--paper-2) 18%, var(--paper-2) 82%, transparent); }
.section__head { display: grid; justify-items: center; gap: 1.1rem; max-width: 46rem; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.section__head--sub { margin-top: clamp(4.5rem, 10vw, 7rem); }
.section__sub { max-width: 34rem; font-size: 1.05rem; }

/* projects */
.works { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.work { display: grid; overflow: hidden; padding: clamp(0.75rem, 1.5vw, 1rem); }
.work__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: calc(var(--r) - 0.5rem); background: var(--paper-2); text-decoration: none; }
.work__body { display: grid; align-content: center; justify-items: start; gap: 0.9rem; padding: clamp(1.25rem, 3vw, 2.5rem); }
.work__top { display: flex; align-items: center; gap: 0.75rem; }
.work__n { font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1; color: var(--muted); }
.work__body h3 { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.25rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 0.4rem; }
.meta dt { color: var(--muted); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.meta dd { color: var(--ink); font-size: 0.9rem; font-weight: 500; }
@media (min-width: 56rem) {
  .work { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: stretch; }
  .work__media { aspect-ratio: auto; min-height: 26rem; }
  .work--flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .work--flip .work__media { order: 2; }
}

.shot__img {
  position: absolute;
  inset: 0;
  background: var(--paper-2) var(--shot) center top / 100% auto no-repeat;
  transition: background-position 6s ease-in-out;
}
.shot:hover .shot__img, .shot:focus-visible .shot__img { background-position: center bottom; }
.shot__hint { position: absolute; right: 0.9rem; bottom: 0.9rem; padding: 0.35rem 0.8rem; border-radius: 99px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 0.75rem; font-weight: 600; box-shadow: var(--shadow-sm); transition: opacity 0.3s; }
.shot:hover .shot__hint { opacity: 0; }
@media (hover: none) { .shot__hint { display: none; } }

.phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: radial-gradient(30rem 22rem at 50% 110%, #bfe3ff, transparent 70%), linear-gradient(180deg, #eef6fb, #dfeef8);
}
.phones img {
  width: 26%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 1.1rem;
  box-shadow: 0 18px 36px -12px rgba(10, 40, 70, 0.4);
  transition: transform 0.45s var(--ease);
}
.phones img:nth-child(1) { transform: rotate(-5deg) translateY(4%); }
.phones img:nth-child(2) { width: 29%; z-index: 1; }
.phones img:nth-child(3) { transform: rotate(5deg) translateY(4%); }
.phones:hover img:nth-child(1) { transform: rotate(-8deg) translate(-6%, 2%); }
.phones:hover img:nth-child(2) { transform: translateY(-4%); }
.phones:hover img:nth-child(3) { transform: rotate(8deg) translate(6%, 2%); }

/* learn along */
.videos { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.subhead { margin: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; }
.prompt-cards { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 46rem) { .prompt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prompt-card { display: flex; align-items: center; gap: 1rem; padding: clamp(1.1rem, 2.5vw, 1.5rem); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.prompt-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 18, 18, 0.04), 0 26px 50px -20px rgba(18, 18, 18, 0.22); }
.prompt-card__copy { display: grid; flex: 1; gap: 0.2rem; min-width: 0; }
.prompt-card__copy b { color: var(--ink); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.prompt-card__copy > span:last-child { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.prompt-card__arrow { display: grid; flex: none; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 0.25s var(--ease); }
.prompt-card:hover .prompt-card__arrow { transform: translateX(3px); }
.resource { display: grid; gap: 1.75rem; padding: clamp(1.25rem, 3vw, 2.5rem); text-decoration: none; transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.resource:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 18, 18, 0.04), 0 30px 60px -20px rgba(18, 18, 18, 0.22); }
@media (min-width: 56rem) { .resource { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.resource__copy { display: grid; justify-items: start; gap: 0.9rem; }
.resource__top { display: flex; align-items: center; gap: 0.6rem; }
.resource h3 { font-family: var(--serif); font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.note { overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--paper); }
.note__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.8rem; }
.note__dots { display: flex; gap: 0.35rem; }
.note__dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-2); }
.note__dots i:nth-child(1) { background: var(--peach); } .note__dots i:nth-child(2) { background: var(--lime); } .note__dots i:nth-child(3) { background: var(--sky); }
.note__body { display: grid; gap: 0.75rem; padding: 1.25rem; }
.note__c { color: var(--muted); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.8rem; }
.note__body p { color: var(--ink); font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.05; }
.note__cursor { font-family: var(--sans); }
@media (prefers-reduced-motion: no-preference) {
  .note__cursor { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}
.note__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding: 0.65rem 0.85rem; border: 1px solid var(--line); border-radius: 0.75rem; background: #fff; color: var(--ink-2); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.8rem; }
.note__row b { font-family: var(--sans); font-weight: 600; }

.video { display: grid; align-content: start; overflow: hidden; padding: 0.6rem; }
.video__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: calc(var(--r) - 0.4rem); background: var(--paper-2); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__frame--soon { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #fff, var(--paper-2) 70%); }
.video__body { display: grid; gap: 0.55rem; padding: 1rem 0.9rem 1.1rem; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.about__copy { display: grid; justify-items: start; gap: 1.1rem; max-width: 42rem; }
.about__copy .label { justify-self: start; }
.about__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.handles a > * { min-width: 0; }
.about__card { padding: clamp(1.25rem, 3vw, 1.75rem); }
.about__card h3 { margin-bottom: 0.75rem; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; letter-spacing: -0.01em; }
@media (min-width: 56rem) { .about { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.now div { display: grid; gap: 0.15rem; padding-block: 0.75rem; border-top: 1px solid var(--line); }
.now dt { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-size: 0.8125rem; font-weight: 600; }
.now dd { color: var(--muted); font-size: 0.95rem; }
.handles { border-top: 1px solid var(--line); }
.handles a { display: flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.handles__net { min-width: 5.5rem; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.handles__id { overflow: hidden; color: var(--muted); font-size: 0.95rem; text-overflow: ellipsis; white-space: nowrap; }
.handles .ext { margin-left: auto; }
.handles a:hover .handles__net { text-decoration: underline; text-underline-offset: 0.25em; }

.modes { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .modes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mode { display: grid; align-content: start; gap: 0.7rem; padding: clamp(1.25rem, 3vw, 1.75rem); transition: transform 0.3s var(--ease); }
.mode:hover { transform: translateY(-4px) rotate(-0.6deg); }
.mode .chip__icon { margin-bottom: 0.6rem; }

/* contact */
.cta { display: grid; justify-items: center; gap: 1.1rem; padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem); border-radius: var(--r-lg); text-align: center; overflow: hidden; }
.cta h2 { max-width: 18ch; font-size: clamp(2.8rem, 1.4rem + 5vw, 5.5rem); }
.cta .hero__actions { margin-top: 0.75rem; }
.cta__spark { position: absolute; fill: var(--ink); }
.cta__spark--a { top: 12%; left: 8%; width: 1.6rem; height: 1.6rem; }
.cta__spark--b { bottom: 14%; right: 9%; width: 1.1rem; height: 1.1rem; opacity: 0.6; }

/* footer */
.site-footer { padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-footer__big { margin-bottom: clamp(1.5rem, 4vw, 3rem); color: var(--ink); font-family: var(--serif); font-size: clamp(3rem, 12vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap; }
.site-footer__big em { font-style: italic; color: var(--muted); }
.site-footer__in { display: grid; gap: 2rem; }
.site-footer__in p { max-width: 24rem; }
.site-footer__brand { margin-bottom: 0.4rem; color: var(--ink); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.03em; }
.site-footer a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.6rem; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; align-content: start; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
@media (min-width: 60rem) { .site-footer__in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    translate: 0 1.8rem;
    transition: opacity 0.9s var(--ease), translate 1s var(--ease), transform 0.6s var(--ease), box-shadow 0.3s;
    transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
  }
  .reveal-ready [data-reveal].is-in { opacity: 1; translate: none; }
}
@media (max-width: 47.99rem), (pointer: coarse) {
  .card, .chip, .float-card, .nav__pill { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card { background: rgba(255, 255, 255, 0.92); }
}

/* ==========================================================
   Inner pages (resources + project pages)
   ========================================================== */
.page { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem); }
.page__head { display: grid; justify-items: center; gap: 1.1rem; max-width: 52rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.page__head h1 { font-family: var(--serif); font-size: clamp(2.8rem, 1.3rem + 6vw, 6rem); line-height: 0.95; letter-spacing: -0.03em; }
.page__head h1 em { font-style: italic; }
.page__lede { max-width: 38rem; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem); }
.page__lede a { color: var(--ink); font-weight: 500; text-underline-offset: 0.2em; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0 1rem 0 0.4rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.back:hover { background: #fff; box-shadow: var(--shadow-sm); }
.back__icon { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.85rem; transition: transform 0.25s var(--ease); }
.back:hover .back__icon { transform: translateX(-2px); }
.page__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.facts li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink-2); font-size: 0.85rem; font-weight: 500; box-shadow: 0 1px 2px rgba(18, 18, 18, 0.04); }
.facts li::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #b6dc2a; }

/* collection list (resource hub page) */
.collection { display: grid; gap: 1.25rem; max-width: 56rem; margin-inline: auto; }
.collection__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.collection__item:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 18, 18, 0.04), 0 30px 60px -20px rgba(18, 18, 18, 0.22); }
.collection__n { min-width: 1.35em; font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.75rem); font-style: italic; line-height: 1; color: var(--muted); }
.collection__copy { display: grid; gap: 0.45rem; }
.collection__copy b { color: var(--ink); font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.collection__copy > span:last-child { color: var(--muted); }
@media (max-width: 34rem) {
  .collection__item { grid-template-columns: minmax(0, 1fr) auto; }
  .collection__n { grid-column: 1 / -1; font-size: 2.2rem; }
}

/* prompt pages */
.prompt-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.5rem; }
@media (min-width: 62rem) {
  .prompt-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr); }
  .how { position: sticky; top: calc(var(--header-h) + 1rem); }
}
.how { padding: clamp(1.25rem, 3vw, 1.75rem); }
.how h2 { margin-bottom: 1rem; font-size: 2rem; }
.steps { display: grid; gap: 0.85rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 0.75rem; color: var(--ink-2); font-size: 0.95rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; }
.how__note { margin-top: 1.25rem; padding: 0.9rem 1rem; border-radius: 0.9rem; background: var(--paper); font-size: 0.875rem; line-height: 1.5; }
.prompt-panel { overflow: hidden; padding: 0.6rem; }
.prompt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 1.1rem; }
.prompt-toolbar h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
.prompt-toolbar p { font-size: 0.9rem; }
.copy-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn .copied-symbol { display: none; }
.copy-btn.is-copied { background: #2f7a1f; }
.copy-btn.is-copied .copy-symbol { display: none; }
.copy-btn.is-copied .copied-symbol { display: block; }
.copy-btn:disabled { opacity: 0.55; cursor: progress; }
.copy-status { padding: 0 1rem 0.8rem; color: #2f7a1f; font-size: 0.85rem; font-weight: 500; }
.copy-status:empty { display: none; }
.prompt-doc {
  max-height: min(70vh, 44rem);
  overflow: auto;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) - 0.4rem);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.7;
  overscroll-behavior: contain;
}
.prompt-doc:focus-visible { outline-offset: -3px; }
.prompt-doc > * + * { margin-top: 0.8rem; }
.prompt-doc h3 { margin-top: 1.6rem; color: var(--ink); font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em; }
.prompt-doc h3:first-child { margin-top: 0; }
.prompt-doc h4 { margin-top: 1.2rem; color: var(--ink); font-size: 1rem; font-weight: 600; }
.prompt-doc p { color: var(--ink-2); }
.prompt-doc ul, .prompt-doc ol { padding-left: 1.3rem; }
.prompt-doc ul { list-style: disc; }
.prompt-doc ol { list-style: decimal; }
.prompt-doc li + li { margin-top: 0.3rem; }
.prompt-doc mark { padding: 0.05rem 0.35rem; border-radius: 0.35rem; background: var(--lime); color: var(--ink); font-weight: 500; }
.prompt-doc a { color: var(--ink); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.prompt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 1rem 1rem 0.5rem; color: var(--muted); font-size: 0.875rem; }
.prompt-foot a { color: var(--ink); font-weight: 500; text-underline-offset: 0.2em; }

/* project page (Talking Bloop) */
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.p-hero__copy { display: grid; justify-items: start; gap: 1.1rem; }
.p-hero__id { display: flex; align-items: center; gap: 0.9rem; }
.p-hero__id img { width: 3.5rem; height: 3.5rem; border-radius: 1rem; box-shadow: var(--shadow-sm); }
.p-hero h1 { font-family: var(--serif); font-size: clamp(3rem, 1.5rem + 6vw, 6.5rem); line-height: 0.92; letter-spacing: -0.03em; }
.p-hero h1 em { font-style: italic; }
.p-hero__tagline { color: var(--ink); font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-style: italic; line-height: 1.15; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.p-hero__media { aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.p-hero__media.phones img { width: 27%; }
.p-hero__media.phones img:nth-child(2) { width: 30%; }
@media (min-width: 60rem) { .p-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.split__head { display: grid; justify-items: start; gap: 1rem; }
.split__head .label { justify-self: start; }
.split__body { display: grid; gap: 1.1rem; }
.split__body > p { font-size: 1.05rem; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.features { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: grid; align-content: start; gap: 0.6rem; padding: clamp(1.25rem, 3vw, 1.75rem); }
.feature .chip__icon { margin-bottom: 0.4rem; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 3vw, 2rem); max-width: 56rem; margin-inline: auto; }
.gallery figure { display: grid; align-content: start; gap: 0.75rem; margin: 0; }
.gallery a { display: block; overflow: hidden; border: 4px solid #fff; border-radius: clamp(1rem, 2.5vw, 1.75rem); box-shadow: var(--shadow); transition: transform 0.35s var(--ease); }
.gallery a:hover { transform: translateY(-6px) rotate(-1deg); }
.gallery img { width: 100%; aspect-ratio: 9 / 20; object-fit: cover; }
.gallery figcaption { color: var(--muted); font-size: 0.8rem; line-height: 1.4; text-align: center; }
@media (max-width: 34rem) {
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0.5rem var(--gutter) 1.25rem; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: center; }
}

.tech { display: grid; gap: 1rem; }
.tech__item { padding: 1.25rem 1.4rem; }
.tech__item h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.stack li { padding: 0.45rem 0.95rem; border-radius: 99px; background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 500; }

/* typographic panel for projects without a screenshot */
.brandpanel {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.9rem;
  min-height: 18rem;
  padding: 2rem;
  background:
    radial-gradient(28rem 20rem at 50% 0%, rgba(232, 196, 120, 0.35), transparent 70%),
    radial-gradient(24rem 18rem at 50% 110%, rgba(232, 196, 120, 0.18), transparent 70%),
    #16130f;
  color: #f6ecd8;
  text-align: center;
}
.brandpanel__mark {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(232, 196, 120, 0.6);
  border-radius: 50%;
  color: #e8c478;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  box-shadow: 0 0 0 6px rgba(232, 196, 120, 0.08);
}
.brandpanel__name { font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; }
.brandpanel__name em { color: #e8c478; }
.brandpanel__url { padding: 0.35rem 0.9rem; border: 1px solid rgba(246, 236, 216, 0.25); border-radius: 99px; color: rgba(246, 236, 216, 0.8); font-size: 0.8rem; font-weight: 500; transition: background-color 0.2s; }
.brandpanel:hover .brandpanel__url { background: rgba(246, 236, 216, 0.1); }

/* guide page */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.5rem; }
@media (min-width: 62rem) {
  .guide-layout { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
  .toc { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow: auto; }
  .toc summary { pointer-events: none; }
  .toc summary::after { display: none; }
}
.toc { padding: 1.1rem 1.1rem 0.9rem; }
.toc summary { display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-family: var(--serif); font-size: 1.5rem; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 1rem; }
.toc details[open] summary::after { content: "\2212"; }
.toc ol { display: grid; gap: 0.1rem; margin-top: 0.75rem; }
.toc a { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.45rem 0.6rem; border-radius: 0.6rem; color: var(--muted); font-size: 0.875rem; line-height: 1.35; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.toc a span { flex: none; width: 1.3rem; color: var(--muted); font-family: var(--serif); font-size: 1rem; font-style: italic; }
.toc a:hover { background: var(--paper); color: var(--ink); }
.toc a.is-active { background: var(--ink); color: #fff; }
.toc a.is-active span { color: var(--lime); }

.guide { padding: clamp(1.25rem, 4vw, 3rem); color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.guide > * + * { margin-top: 1rem; }
.guide h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: clamp(2rem, 5vw, 2.75rem); border-top: 1px solid var(--line); color: var(--ink); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.05; scroll-margin-top: calc(var(--header-h) + 1rem); }
.guide h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.step-n { display: inline-flex; align-items: center; padding: 0.25rem 0.7rem; border-radius: 99px; background: var(--lime); color: var(--ink); font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0; transform: translateY(-0.2em); }
.guide p { color: var(--ink-2); }
.guide strong { color: var(--ink); font-weight: 600; }
.guide a { color: var(--ink); font-weight: 500; text-underline-offset: 0.2em; }
.guide ul, .guide ol { display: grid; gap: 0.5rem; padding-left: 1.4rem; }
.guide ul { list-style: disc; }
.guide ol { list-style: decimal; }
.guide li::marker { color: var(--muted); }
.guide :not(pre) > code { padding: 0.1rem 0.4rem; border-radius: 0.35rem; background: var(--paper-2); color: var(--ink); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.88em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.guide table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.guide th { padding: 0.8rem 1rem; background: var(--paper); color: var(--ink); font-weight: 600; text-align: left; white-space: nowrap; }
.guide td { padding: 0.8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.guide td:first-child { color: var(--ink); font-weight: 500; }
.code { overflow: hidden; border: 1px solid #262626; border-radius: 1rem; background: #141414; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.5); }
.code__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 1rem; border-bottom: 1px solid #262626; color: #9a9a9a; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.code__copy { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.25rem; padding: 0 0.9rem; border: 0; border-radius: 99px; background: #fff; color: var(--ink); font: inherit; font-size: 0.8rem; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background-color 0.2s; }
.code__copy svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.code__copy:hover { background: var(--lime); }
.code__copy.is-copied { background: var(--lime); }
.code pre { margin: 0; padding: 1rem 1.1rem 1.2rem; overflow-x: auto; }
.code code { color: #ededed; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.85rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }

.resource--next { margin-top: 1.25rem; }

@media (max-width: 40rem) {
  .guide table { min-width: 0; }
  .guide thead { display: none; }
  .guide tbody, .guide tr, .guide td { display: block; }
  .guide tr { padding: 0.85rem 1rem; border-top: 1px solid var(--line); }
  .guide tr:first-child { border-top: 0; }
  .guide td { padding: 0.1rem 0; border: 0; }
  .guide td:first-child { margin-bottom: 0.25rem; color: var(--ink); font-weight: 600; }
  .guide td:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 500; }
}

.video__link { justify-self: start; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.2rem; color: var(--ink); font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* ==========================================================
   Client-focused home page
   ========================================================== */
a.chip { color: inherit; text-decoration: none; }
a.chip:hover { box-shadow: 0 1px 1px rgba(255, 255, 255, 0.9) inset, 0 24px 48px -14px rgba(18, 18, 18, 0.35); }
.hero__badge { margin-bottom: 1.25rem; }
.hero__badge::before { display: none; }
.pulse { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #3fbf5a; }
@media (prefers-reduced-motion: no-preference) {
  .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3fbf5a; animation: ping 1.8s ease-out infinite; }
  @keyframes ping { to { transform: scale(2.6); opacity: 0; } }
}
.faces__tile--gold { background: #16130f; color: #e8c478; font-family: var(--serif); font-style: italic; font-size: 0.8rem; font-weight: 400; }

/* tools strip */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.45); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2rem; padding-block: 1.4rem; }
.strip__label { color: var(--muted); font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.strip__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; }
.strip__list li { color: var(--ink-2); font-family: var(--serif); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); font-style: italic; }

/* services */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service { display: grid; align-content: start; gap: 0.9rem; padding: clamp(1.4rem, 3vw, 2.25rem); transition: transform 0.35s var(--ease), box-shadow 0.35s; scroll-margin-top: calc(var(--header-h) + 1rem); }
.service:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(18, 18, 18, 0.04), 0 34px 64px -24px rgba(18, 18, 18, 0.25); }
.service__top { display: flex; align-items: center; justify-content: space-between; }
.service__top .chip__icon { width: 3rem; height: 3rem; border-radius: 0.9rem; }
.service__top .chip__icon svg { width: 1.35rem; height: 1.35rem; }
.service__n { color: var(--muted); font-family: var(--serif); font-size: 1.6rem; font-style: italic; }
.service h3 { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.service__fit { padding: 0.75rem 0.9rem; border-radius: 0.8rem; background: var(--paper); color: var(--muted); font-size: 0.9rem; }
.service__fit b { color: var(--ink); font-weight: 600; }
.service__cta { justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.2rem; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.ticks { display: grid; gap: 0.55rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.ticks svg { width: 1.25rem; height: 1.25rem; padding: 0.2rem; border-radius: 50%; background: var(--lime); color: var(--ink); }
.ticks--sm li { font-size: 0.9rem; }

/* case study video */
.work__video { background: #0d0d0d; }
.work__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* process */
.process { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; display: grid; align-content: start; gap: 0.7rem; padding: clamp(1.4rem, 3vw, 2rem); }
.step__n { color: var(--ink); font-family: var(--serif); font-size: 3.25rem; font-style: italic; line-height: 1; }
.step h3 { font-size: 1.2rem; }

/* dark "why" band */
.section--dark { background: var(--ink); color: #f3f1ec; }
.section--dark h2 { color: #fff; }
.section--dark p { color: rgba(243, 241, 236, 0.66); }
.label--dark { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: #f3f1ec; }
.label--dark::before { background: var(--lime); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(212, 242, 106, 0.5); }
.btn--lime:hover { background: #e2fb86; }
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why__head { display: grid; justify-items: start; gap: 1.25rem; }
.why__head .label { justify-self: start; }
@media (min-width: 62rem) { .why { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } .why__head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.why__list li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.why__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.why__n { color: var(--lime); font-family: var(--serif); font-size: 1.6rem; font-style: italic; line-height: 1.1; }
.why__list h3 { margin-bottom: 0.35rem; color: #fff; font-size: 1.25rem; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__head { display: grid; justify-items: start; gap: 1rem; }
.faq__head .label { justify-self: start; }
.faq__head a { color: var(--ink); font-weight: 500; text-underline-offset: 0.2em; }
@media (min-width: 60rem) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.faq__list { display: grid; gap: 0.75rem; }
.faq__item { padding: 0; overflow: hidden; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; color: var(--ink); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; display: grid; flex: none; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.1rem; font-weight: 400; transition: transform 0.25s var(--ease), background-color 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq__item p { padding: 0 1.35rem 1.25rem; }

/* inquiry */
.inquiry { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); padding: clamp(1.25rem, 5vw, 3.5rem); border-radius: var(--r-lg); }
@media (min-width: 62rem) { .inquiry { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.inquiry__intro { position: relative; display: grid; align-content: start; justify-items: start; gap: 1.1rem; }
.inquiry__intro .label { justify-self: start; }
.inquiry__intro h2 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.5rem); }
.inquiry__intro .cta__spark--a { top: 0; right: 0.5rem; left: auto; }
.next { display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.next li { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-2); font-weight: 500; }
.next span { display: grid; flex: none; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; }
.inquiry__direct { margin-top: 0.5rem; font-size: 0.95rem; }
.inquiry__direct a { color: var(--ink); font-weight: 500; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.form { position: relative; display: grid; gap: 1rem; padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field > span { color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 0.8rem;
  background-color: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23121212%22 stroke-width=%222%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212, 242, 106, 0.7); }
.field [aria-invalid="true"] { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.15); }
.field--trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.25rem; }
.form__status { color: var(--ink-2); font-size: 0.9rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status[data-state="error"] { color: #c23b3b; }
.form__status[data-state="success"] { color: #2f7a1f; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.site-footer .footer-cta { margin-top: 1.25rem; color: #fff; }
.site-footer .footer-cta:hover { color: #fff; text-decoration: none; }

@media (min-width: 64rem) and (max-width: 80rem) { .float-card--left { top: 17.5rem; } }

.about--brief { align-items: center; }

/* ---------------- blog ---------------- */
.posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 46rem) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0.6rem; color: inherit; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 18, 18, 0.04), 0 26px 50px -20px rgba(18, 18, 18, 0.22); }
.post-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: calc(var(--r) - 0.4rem); background: var(--paper-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--ink); font-family: var(--serif); font-size: 4rem; font-style: italic; }
.post-card__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm); transform: translate(-50%, -50%); }
.post-card__play svg, .yt__play svg { width: 1.2rem; height: 1.2rem; margin-left: 0.15rem; fill: var(--ink); }
.post-card__body { display: grid; align-content: start; gap: 0.6rem; padding: 1rem 0.9rem 1rem; }
.post-card__body b { color: var(--ink); font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.85rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }
.post-card__body b em { font-style: italic; }
.post-card__desc { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.post-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.35rem; padding-top: 0.85rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.85rem; font-weight: 500; }
.post-card__go { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink); font-weight: 600; }
.post-card:hover .post-card__go .arr { transform: translateX(3px); }
.post-card__go .arr { display: inline-block; transition: transform 0.25s var(--ease); }
@media (min-width: 56rem) {
  .post-card--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 0.5rem; }
  .post-card--featured .post-card__body { gap: 0.85rem; padding: clamp(1.25rem, 3vw, 2.5rem); }
  .post-card--featured .post-card__body b { font-size: clamp(2rem, 1.2rem + 2vw, 3rem); }
  .post-card--featured .post-card__desc { font-size: 1.02rem; }
}
.post-empty { display: grid; justify-items: center; gap: 0.85rem; max-width: 40rem; margin-inline: auto; padding: clamp(2rem, 5vw, 3rem); text-align: center; }

.post-video { max-width: 60rem; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.yt { position: relative; overflow: hidden; padding: 0.6rem; }
.yt__btn, .yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: calc(var(--r) - 0.4rem); background: #111; }
.yt__btn { padding: 0; cursor: pointer; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0.94; transition: transform 0.6s var(--ease), opacity 0.3s; }
.yt__btn:hover img { transform: scale(1.02); opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: clamp(3.5rem, 8vw, 4.75rem); height: clamp(3.5rem, 8vw, 4.75rem); border-radius: 50%; background: var(--lime); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.yt__play svg { width: 1.6rem; height: 1.6rem; }
.yt__btn:hover .yt__play, .yt__btn:focus-visible .yt__play { transform: translate(-50%, -50%) scale(1.08); }
.post-video figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; text-align: center; }
.post-video figcaption a { color: var(--ink); font-weight: 500; text-underline-offset: 0.2em; }

.draft-note { padding: 0.55rem 1rem; border-radius: 99px; background: var(--peach); color: var(--ink); font-size: 0.85rem; font-weight: 500; }
.post h3 { margin-top: 1.75rem; color: var(--ink); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; scroll-margin-top: calc(var(--header-h) + 1rem); }
.post blockquote { padding: 0.25rem 0 0.25rem 1.1rem; border-left: 3px solid var(--lime); color: var(--ink); font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.post-prompts > * + * { margin-top: 1rem; }
.post-prompt { padding-top: 0.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.post-prompt h3 { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.75rem 0 0.75rem; }
.post-prompt h3 span { color: var(--muted); font-family: var(--serif); font-size: 1.35rem; font-style: italic; font-weight: 400; }
.post-prompt:target .code { box-shadow: 0 0 0 3px var(--lime), 0 16px 36px -18px rgba(0, 0, 0, 0.5); }
.post-cta { display: grid; gap: 1.25rem; align-items: center; margin-top: clamp(2.5rem, 6vw, 3.5rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r); background: var(--ink); color: #cfcfcf; }
.post-cta .label { color: #cfcfcf; }
.post-cta p + p { margin-top: 0.5rem; }
.post-cta__title { color: var(--ink); font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.post-cta .post-cta__title { margin-top: 0.6rem; color: #fff; }
.post-cta__title em { font-style: italic; }
.post-cta .btn--dark { justify-self: start; background: var(--lime); color: var(--ink); }
@media (min-width: 46rem) { .post-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.post-more { margin-top: clamp(3rem, 7vw, 4.5rem); }
.post-more .subhead { margin-top: 0; }
.post-more .subhead em, .subhead em { font-style: italic; }
.blog-link { display: flex; justify-content: center; margin-top: 1.5rem; }
.blog-link .btn { max-width: 100%; white-space: normal; text-align: center; }
.guide .post-prompts h2:first-child { margin-top: clamp(2.5rem, 6vw, 3.5rem); padding-top: clamp(2rem, 5vw, 2.75rem); border-top: 1px solid var(--line); }
.guide .post-cta p { color: #cfcfcf; }
.guide .post-cta .post-cta__title { color: #fff; }
.guide .post-cta .label { color: #f3f1ec; }
.prompt-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; padding: 0.8rem 1rem; border: 1px solid var(--line-2); border-radius: 0.9rem; background: var(--paper); color: var(--ink); text-decoration: none; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.guide a.prompt-ref { font-weight: 400; text-decoration: none; }
.prompt-ref:hover { border-color: var(--ink); background: #fff; transform: translateY(-1px); }
.prompt-ref__n { padding: 0.2rem 0.55rem; border-radius: 99px; background: var(--ink); color: var(--lime); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.prompt-ref__t { flex: 1; min-width: 10rem; font-weight: 600; }
.prompt-ref__go { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.75rem; border-radius: 99px; background: var(--lime); font-size: 0.82rem; font-weight: 600; }
.prompt-ref + .prompt-ref { margin-top: 0.6rem; }
.guide .post-prompt__back { display: inline-flex; gap: 0.3rem; margin: -0.35rem 0 0.75rem; color: var(--muted); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.guide .post-prompt__back:hover { color: var(--ink); text-decoration: underline; }
.post-prompt .code pre { max-height: 30rem; overflow: auto; }
.prompt-ref { flex-wrap: nowrap; }
.prompt-ref__t { min-width: 0; }
.prompt-ref__go { flex: none; white-space: nowrap; }
@media (max-width: 30rem) { .prompt-ref { flex-wrap: wrap; } .prompt-ref__t { flex-basis: calc(100% - 6rem); } }
.post-card__ph { display: grid; grid-template-rows: auto 1fr; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(212, 242, 106, 0.16), transparent 55%), #141414; color: #ededed; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.8rem; font-style: normal; text-align: left; }
.post-card__ph-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.8rem; border-bottom: 1px solid #262626; color: #8a8a8a; font-size: 0.72rem; }
.post-card__ph-bar i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #3a3a3a; }
.post-card__ph-bar i:first-child { background: var(--lime); }
.post-card__ph-code { display: grid; align-content: center; gap: 0.4rem; padding: 0.8rem 1.1rem; color: #fff; font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.05; }
.post-card__ph-code > span:first-child { color: var(--lime); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.78rem; }
.post-card__ph-code em { font-style: italic; color: #cfcfcf; }
.post-card__ph-cursor { color: var(--lime); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .post-card__ph-cursor { animation: none; } }
.post-card__ph { place-items: stretch; }
.post-cover { padding: 0.6rem; } .post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--r) - 0.4rem); }

/* ---------------- separate pages (split from the one-page home) ---------------- */
.sec-h1 { font-family: var(--serif); font-size: clamp(2.8rem, 1.3rem + 5.2vw, 5.6rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.025em; }
.sec-h1 em { font-style: italic; }
.section--dark .sec-h1 { color: #fff; }
.inquiry__intro .sec-h1 { font-size: clamp(2.8rem, 1.4rem + 4.4vw, 4.8rem); }
.split-page > .section:first-child { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

.explore { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 40rem) { .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .explore { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.explore li { display: flex; }
.explore__item { position: relative; display: grid; align-content: start; gap: 0.55rem; width: 100%; min-height: 12.5rem; padding: clamp(1.25rem, 2.5vw, 1.6rem); color: inherit; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.explore__item:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 18, 18, 0.04), 0 26px 50px -20px rgba(18, 18, 18, 0.22); }
.explore__n { justify-self: start; padding: 0.2rem 0.6rem; border-radius: 99px; background: var(--paper-2); color: var(--ink); font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.explore__n--lime { background: var(--lime); } .explore__n--lilac { background: var(--lilac); } .explore__n--peach { background: var(--peach); } .explore__n--sky { background: var(--sky); }
.explore__item b { margin-top: 0.6rem; color: var(--ink); font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.explore__d { color: var(--muted); font-size: 0.95rem; line-height: 1.5; padding-right: 2.5rem; }
.explore__go { position: absolute; right: 1.1rem; bottom: 1.1rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 0.25s var(--ease); }
.explore__item:hover .explore__go { transform: translateX(3px); }
.explore__item--cta { border-radius: var(--r); background: var(--ink); box-shadow: var(--shadow); }
.explore__item--cta b { color: #fff; }
.explore__item--cta .explore__d { color: #cfcfcf; }
.explore__item--cta .explore__n { background: rgba(255, 255, 255, 0.1); color: var(--lime); }
.explore__item--cta .explore__go { background: var(--lime); color: var(--ink); }
