@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eceef1;
  --bg-elevated: #f6f7f8;
  --ink: #14171c;
  --muted: #5a616c;
  --line: rgba(20, 23, 28, .14);
  --accent: #CB5588;
  --accent-ink: #CB5588;
  --accent-soft: color-mix(in srgb, var(--sg-orange) 14%, #f6f7f8);
  --sand: #ddd4c4;
  /* Strategrow brand gradient: orange upper-left → purple lower-right */
  --sg-orange: #F68E15;
  --sg-purple: #CB5588;
  --sg-gradient: linear-gradient(135deg, var(--sg-orange), var(--sg-purple));
  --sg-gradient-soft: linear-gradient(135deg, color-mix(in srgb, var(--sg-orange) 22%, transparent), color-mix(in srgb, var(--sg-purple) 22%, transparent));
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 44px rgba(20, 23, 28, .1);
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --bg-elevated: #1c2026;
    --ink: #eceef1;
    --muted: #9aa1ad;
    --line: rgba(236, 238, 241, .14);
    --accent: #F68E15;
    --accent-ink: color-mix(in srgb, var(--sg-orange) 62%, white);
    --accent-soft: color-mix(in srgb, var(--sg-purple) 24%, #1c2026);
    --sand: #3a342c;
    --shadow: 0 18px 44px rgba(0, 0, 0, .35);
    --sg-gradient-soft: linear-gradient(135deg, color-mix(in srgb, var(--sg-orange) 28%, transparent), color-mix(in srgb, var(--sg-purple) 28%, transparent));
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, color-mix(in srgb, var(--sg-orange) 12%, transparent), transparent 55%),
    radial-gradient(900px 500px at 88% 8%, rgba(20, 23, 28, .05), transparent 50%),
    var(--bg);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
button, textarea { font: inherit; }
a { color: var(--link-ink); }
img { display: block; max-width: 100%; height: auto; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .8rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 12px;
  width: min(1200px, calc(100% - 32px));
  min-height: var(--header-h);
  max-height: 80px;
  margin: 12px auto 0;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid color-mix(in srgb, var(--bg-elevated) 70%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  box-shadow: 0 10px 28px rgba(20, 23, 28, .06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 6px;
  background: url("assets/joel-logo-transparent.png") center / contain no-repeat;
}
nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
nav a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: .94rem;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
nav a:hover, nav a:focus-visible { background: var(--bg-elevated); outline: none; }
nav .nav-cta {
  color: #f2f4f6;
  background: #242830;
  border: 1px solid rgba(242, 244, 246, .28);
  padding-inline: 16px;
  margin-left: 4px;
}
nav .nav-cta:hover, nav .nav-cta:focus-visible {
  background: #34313a;
  border-color: var(--sg-orange);
  color: #f2f4f6;
}
nav .nav-cta:focus-visible {
  outline: 2px solid var(--sg-orange);
  outline-offset: 3px;
}

main { width: 100%; }

/* —— Hero: full-bleed, brand-first —— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait is 2:3; keep face/upper body in frame on wide viewports */
  object-position: 50% 18%;
  /* Keep the portrait in its original orientation. */
}
.hero-scrim {
  position: absolute;
  inset: 0;
  /* Left shade for mid-height type; face stays clearer on the right after mirror */
  background:
    linear-gradient(100deg, rgba(20, 23, 28, .86) 0%, rgba(20, 23, 28, .62) 34%, rgba(20, 23, 28, .18) 58%, rgba(20, 23, 28, .22) 100%),
    linear-gradient(to bottom, rgba(20, 23, 28, .28) 0%, transparent 28%, transparent 72%, rgba(20, 23, 28, .35) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  max-width: 720px;
  /* Center the introduction vertically within the portrait. */
  margin: 0 0 0 max(24px, calc((100% - 1200px) / 2 + 24px));
  padding: 32px 0;
  color: #f2f4f6;
}
.hero-brand {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.05;
  text-wrap: balance;
}
.hero-promise {
  margin: 0 0 12px;
  max-width: 20ch;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: #f2f4f6;
  text-wrap: balance;
}
.hero-promise em {
  font-style: italic;
  font-weight: 600;
  color: color-mix(in srgb, var(--sg-orange) 72%, white);
  padding-bottom: 0.08em;
}
.hero-lede {
  margin: 0;
  max-width: 46ch;
  color: rgba(242, 244, 246, .88);
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.98); }
.button-primary {
  color: white;
  background-color: var(--sg-orange);
  background-image: var(--sg-gradient);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--sg-purple) 28%, transparent);
}
.button-primary:hover {
  filter: brightness(1.05) saturate(1.05);
}
.button-primary:active {
  filter: brightness(.96);
}
.button-secondary {
  color: #f2f4f6;
  border: 1px solid rgba(242, 244, 246, .35);
  background: rgba(20, 23, 28, .28);
  backdrop-filter: blur(8px);
}
.button-secondary:hover { background: rgba(20, 23, 28, .5); }

/* —— Sections —— */
.work-section,
.hardware-section,
.approach-section,
.fit-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.work-section { padding: 110px 0 40px; }
.section-stack {
  max-width: 640px;
  margin-bottom: 36px;
}
.section-stack h2,
.approach-intro h2,
.contact-copy h2,
.fit-lead h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.05;
  text-wrap: balance;
}
.section-lede,
.contact-copy > p,
.fit-lead > p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.work-group {
  margin-top: 48px;
  scroll-margin-top: calc(12px + var(--header-h) + 72px);
}
.work-group:first-of-type {
  margin-top: 0;
}
.work-group-title {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.04em;
}


.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.project-row {
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.project-row:hover { background: color-mix(in srgb, var(--bg-elevated) 70%, transparent); }
.project-row.hidden { display: none; }
.project-link {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  min-height: 320px;
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
}
.project-feature .project-link {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  min-height: 480px;
}
.project-wide .project-link {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  padding: 0;
  min-height: 420px;
  background: #171a20;
  color: #f2f4f6;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
}
.project-wide:hover { background: transparent; }
.project-wide .project-body { padding: clamp(28px, 5vw, 56px); }
.project-wide .project-meta,
.project-wide p { color: rgba(242, 244, 246, .68); }
.project-wide .project-impact {
  color: rgba(242, 244, 246, .86);
  background:
    var(--sg-gradient) left / 3px 100% no-repeat,
    rgba(255, 255, 255, .05);
}
.project-wide .project-impact strong { color: color-mix(in srgb, var(--sg-orange) 70%, white); }
.project-wide .project-tags span {
  border-color: rgba(255, 255, 255, .16);
  color: rgba(242, 244, 246, .8);
}
.project-wide .card-cta { color: color-mix(in srgb, var(--sg-orange) 70%, white); }

.project-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
}
.project-feature .project-visual { min-height: 420px; }
.image-visual {
  display: grid;
  place-items: center;
  padding: 28px;
}
.image-visual img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.brand-frame { background: var(--accent-soft); }
.sand-frame { background: var(--sand); }
.document-visual img { transform: rotate(-1.2deg); }
.presentation-visual img { transform: rotate(1.2deg); }

.privacy-visual {
  display: grid;
  place-items: center;
  padding: 36px;
  color: #f2f4f6;
  background:
    radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--sg-orange) 45%, transparent), transparent 28%),
    var(--sg-gradient);
}
.privacy-title { position: relative; z-index: 2; width: min(100%, 320px); }
.privacy-title span,
.privacy-title strong {
  display: block;
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .88;
}
.privacy-title span { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.privacy-title strong {
  margin-left: 14%;
  color: color-mix(in srgb, white 82%, var(--sg-orange));
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}
.privacy-title small {
  display: block;
  margin-top: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}
.privacy-wave {
  position: absolute;
  right: 8%;
  bottom: 10%;
  left: 8%;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 6px;
  height: 80px;
  opacity: .45;
}
.privacy-wave i {
  width: 6px;
  height: 24%;
  border-radius: 99px;
  background: white;
}
.privacy-wave i:nth-child(2), .privacy-wave i:nth-child(7) { height: 58%; }
.privacy-wave i:nth-child(3), .privacy-wave i:nth-child(6) { height: 86%; }
.privacy-wave i:nth-child(4) { height: 46%; }
.privacy-wave i:nth-child(5) { height: 100%; background: color-mix(in srgb, white 75%, var(--sg-orange)); }

.project-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px 8px 0;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 500;
}
.project-row h3,
.project-row h4,
.hardware-body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.project-row p,
.hardware-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 56ch;
}
.project-impact {
  margin-top: 18px;
  padding: 14px 16px 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
  background:
    var(--sg-gradient) left / 3px 100% no-repeat,
    var(--accent-soft);
  font-size: .94rem;
}
.project-impact strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.project-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 500;
}
.card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-ink);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.card-cta::after { content: " →"; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.metric-row div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
}
.metric-row strong, .metric-row span { display: block; }
.metric-row strong {
  color: color-mix(in srgb, var(--sg-orange) 70%, white);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.metric-row span {
  color: rgba(242, 244, 246, .58);
  font-size: .72rem;
}

.risk-art {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--sg-purple) 22%, transparent), transparent 56%),
    linear-gradient(135deg, #1a2228, #12151a);
  border-radius: 0;
}
.risk-label {
  position: absolute;
  z-index: 4;
  right: 22px;
  top: 22px;
  color: color-mix(in srgb, var(--sg-orange) 70%, white);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
}
.risk-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid color-mix(in srgb, var(--sg-purple) 42%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 40%; aspect-ratio: 1; }
.ring-2 { width: 68%; aspect-ratio: 1; }
.ring-3 { width: 96%; aspect-ratio: 1; }
.risk-ring::before, .risk-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sg-orange) 80%, white);
}
.risk-ring::after {
  left: auto;
  right: 13%;
  top: auto;
  bottom: 9%;
  background: #d4a574;
}
.risk-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

/* —— Paper visual —— */
.paper-screenshot { display: grid; align-items: center; background: #edf5f5; }
.paper-screenshot img { display: block; width: 100%; height: auto; }
.paper-visual {
  background: radial-gradient(circle at 30% 20%, #2a2e35 0%, #15181d 55%, #0e1013 100%);
  display: grid;
  place-items: center;
  padding: 32px;
}
.paper-ink {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 3 / 4;
}
.ink-stroke {
  position: absolute;
  border-radius: 999px;
}
.ink-a {
  width: 62%;
  height: 3px;
  left: 8%;
  top: 18%;
  transform: rotate(-8deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sg-orange) 55%, transparent), transparent);
}
.ink-b {
  width: 44%;
  height: 2px;
  right: 6%;
  top: 34%;
  transform: rotate(12deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sg-purple) 70%, transparent), transparent);
}
.ink-c {
  width: 38%;
  height: 2px;
  left: 22%;
  bottom: 22%;
  transform: rotate(-4deg);
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, .5), transparent);
}
.paper-page {
  position: absolute;
  inset: 12% 14%;
  padding: 26px 20px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1c2026, #14171c);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.paper-line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
}
.paper-line.short { width: 62%; }
.paper-mood {
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--sg-orange) 40%, transparent);
  color: color-mix(in srgb, var(--sg-orange) 72%, white);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* —— Concrete —— */
.concrete-visual {
  background: linear-gradient(145deg, #d5d0c8, #b4aea4 48%, #979186);
  display: grid;
  place-items: center;
  padding: 32px;
}
.concrete-slab {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, #c8c2b6, #a29b8f);
  box-shadow: 0 22px 40px rgba(60, 48, 28, .22), inset 0 0 0 1px rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.concrete-grain {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(40, 32, 20, .18) 1px, transparent 1px);
  background-size: 7px 7px;
}
.concrete-mark {
  position: relative;
  z-index: 1;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.06em;
  color: rgba(30, 26, 20, .72);
}
.concrete-tag {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .55);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #3a3428;
}

/* —— Hardware track —— */
.hardware-section { padding: 80px 0 100px; }
.hardware-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.hardware-item {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hardware-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hardware-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.hardware-visual {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}
.hardware-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 26px;
}
.hardware-body .card-cta { margin-top: auto; padding-top: 18px; }

.garage-led-visual {
  background: linear-gradient(160deg, #1a1f2a, #0e1218);
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px;
}
.led-bar {
  width: 72%;
  height: 10px;
  border-radius: 999px;
  background: var(--sg-gradient);
  box-shadow: 0 0 22px color-mix(in srgb, var(--sg-purple) 35%, transparent);
}
.led-bar.dim { width: 58%; opacity: .4; height: 7px; box-shadow: none; }
.led-chip {
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .75);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
}

.nineblock-visual {
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  padding: 32px;
}
.nine-grid {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  gap: 9px;
}
.nine-grid span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.nine-grid span.lit {
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent);
}

.desk-wled-visual {
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--sg-orange) 35%, transparent), transparent 55%), #15181d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 28px 22px;
  gap: 14px;
}
.desk-glow {
  width: 78%;
  height: 12px;
  border-radius: 999px;
  background: var(--sg-gradient);
  box-shadow: 0 0 36px color-mix(in srgb, var(--sg-purple) 40%, transparent);
}
.desk-surface {
  width: 88%;
  height: 50px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #2a2e35, #1a1d22);
  border: 1px solid rgba(255, 255, 255, .08);
}
.desk-label {
  color: rgba(255, 255, 255, .55);
  font-family: "IBM Plex Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* —— Approach —— */
.approach-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.approach-intro {
  align-self: start;
}
.approach-intro h2 em {
  font-style: italic;
  color: var(--accent-ink);
}
.principles { list-style: none; margin: 0; padding: 0; }
.principles li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles > li > span {
  color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  font-weight: 500;
}
.principles h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  letter-spacing: -.03em;
}
.principles p { margin: 0; color: var(--muted); max-width: 56ch; }

/* —— Fit —— */
.fit-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  padding: 20px 0 90px;
}
.fit-panel {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
}
.fit-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--sg-orange);
  background-image: var(--sg-gradient);
  color: white;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--sg-purple) 22%, transparent);
}
.fit-lead h2 { color: white; }
.fit-lead p { color: rgba(255, 255, 255, .9); }
.fit-list {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.fit-list h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.fit-list ul { list-style: none; margin: 0; padding: 0; }
.fit-list li {
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-weight: 650;
  line-height: 1.35;
}
.fit-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }

/* —— Contact —— */
.contact-section {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: calc(var(--radius) + 4px);
  /* Calm interior; Strategrow gradient used as the outline only */
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    var(--sg-gradient) border-box;
  border: 2px solid transparent;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--sg-purple) 10%, transparent);
}
.contact-copy { align-self: center; }
.contact-builder {
  align-self: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
legend, .text-field {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-size: .84rem;
  font-weight: 700;
}
fieldset label { cursor: pointer; }
fieldset input { position: absolute; opacity: 0; pointer-events: none; }
fieldset label span {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--bg);
  font-size: .8rem;
  font-weight: 650;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
fieldset input:checked + span,
fieldset input:focus-visible + span {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}
textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.contact-builder .button { width: 100%; margin-top: 14px; }
.contact-builder .button { white-space: normal; line-height: 1.35; }
.contact-input {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}
.contact-input:focus {
  border-color: var(--sg-orange);
  outline: 3px solid color-mix(in srgb, var(--sg-orange) 22%, transparent);
}
.contact-details { margin: 20px 0; }
.contact-intent { margin-bottom: 20px; }
.contact-details summary { cursor: pointer; line-height: 1.5; }
.contact-details summary span { color: var(--muted); font-size: .85em; }
.contact-details .text-field { margin: 20px 0 8px; }
.contact-details textarea { margin-top: 0; }
.contact-builder button:disabled { opacity: .7; cursor: wait; }
.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--accent-ink);
  font-size: .8rem;
  font-weight: 650;
  text-align: center;
}

footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
footer a {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-ink);
}
footer a:hover { text-decoration: underline; }

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal .75s var(--ease) forwards;
}
.hero-copy .reveal:nth-child(2) { animation-delay: .08s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .16s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .24s; }

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

/* —— Detail pages —— */
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
}
.detail-back:hover { color: var(--accent-ink); }
.detail-hero { margin-bottom: 36px; }
.detail-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.05;
}
.detail-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 58ch;
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-ongoing { color: var(--accent-ink); background: var(--accent-soft); }
.badge-complete { color: var(--accent-ink); background: var(--accent-soft); }
.badge-neutral {
  color: var(--muted);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  .badge-complete { color: var(--accent-ink); background: var(--accent-soft); }
}
.detail-panel {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  margin-bottom: 16px;
}
.detail-panel h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -.03em;
}
.detail-panel p { margin: 0; color: var(--muted); }
.detail-panel ul { margin: 8px 0 0; padding-left: 1.15rem; color: var(--muted); }
.detail-panel li { margin: 6px 0; }
.detail-shot {
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--accent-soft);
}
.detail-shot img { width: 100%; max-height: 480px; object-fit: contain; }
.detail-shot.dark-frame { background: #15181d; }
.detail-shot.amber-frame,
.detail-shot.sand-frame { background: var(--sand); }
.purple-frame { background: var(--accent-soft); }
.detail-privacy-visual { min-height: 360px; }
.detail-visual-block {
  margin: 0 0 22px;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.detail-tags span, .detail-tags a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  font-weight: 500;
  background: var(--bg-elevated);
}


/* —— Ice Ice Breaker stand-in (matches live landing) —— */
.ice-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 0%, #bceeff 0%, transparent 55%),
    linear-gradient(180deg, #eefcff 0%, #f4fdff 55%, #ffffff 100%);
}
.ice-mock {
  width: min(100%, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.ice-mock img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(8, 127, 202, .25));
}
.ice-mock strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: #10104f;
}
.ice-field {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(16, 16, 79, .12);
  background: #fff;
  color: rgba(16, 16, 79, .35);
  font-size: .9rem;
  text-align: left;
}
.ice-cta {
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  background: #5464ff;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.ice-join {
  font-size: .82rem;
  color: rgba(16, 16, 79, .55);
}
.ice-join em {
  font-style: normal;
  text-decoration: underline;
  color: #087fca;
}

/* —— Called to Manhood stand-in —— */
.ctm-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--sg-orange) 18%, transparent), transparent 48%),
    linear-gradient(160deg, #2a241c 0%, #16141a 55%, #12151a 100%);
  color: #f4efe6;
}
.ctm-mock {
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid rgba(244, 239, 230, .16);
  border-radius: 12px;
  background: rgba(20, 18, 16, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.ctm-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sg-orange) 70%, white);
}
.ctm-mock strong {
  font-size: 1.35rem;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.ctm-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  color: rgba(244, 239, 230, .62);
}
.ctm-quote {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(244, 239, 230, .88);
}
.ctm-note {
  margin-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: .72rem;
  color: rgba(244, 239, 230, .5);
}
.detail-visual-block.ctm-visual {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
}

.collection-main { width: min(1200px, calc(100% - 40px)); margin: 48px auto 96px; }
.collection-main .about-hero { max-width: 760px; }
.collection-intro { max-width: 760px; margin: 36px 0 48px; }
.collection-intro p { color: var(--muted); }
.collection-main .work-group-title { position: static; width: auto; height: auto; margin: 0 0 24px; overflow: visible; clip: auto; white-space: normal; }
.collection-main .project-body h3 { margin: 12px 0; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.collection-back { margin-top: 48px; }
.collection-explore { display: inline-block; margin-bottom: 20px; font-weight: 600; }
.tools-main .tool-entry { scroll-margin-top: 150px; }
.tool-logo-strip { margin: 32px 0 40px; }
.tool-project-more { margin-top: 22px; }
.tool-project-more summary { padding: 14px 0; cursor: pointer; color: var(--sg-orange); }
.tool-project-monogram { font-size: 2.5rem; font-weight: 700; color: #f2f4f6; }
.project-tool-links { margin: 36px 0; }
.project-tool-links a { display: inline-block; margin: 0 12px 12px 0; padding: 8px 14px; border: 1px solid #50455c; border-radius: 20px; }
.tool-artifact-section { display: grid; grid-template-columns: .85fr 1.3fr; margin: 32px 0; border: 1px solid #4c405f; border-radius: 24px; overflow: hidden; background: #1b1e29; }
.tool-artifact-identity { padding: 36px; background: linear-gradient(145deg, #672e58, #29263f); }
.tool-artifact-identity .tool-brand-heading { flex-direction: column; align-items: flex-start; gap: 22px; font-size: clamp(32px, 4vw, 54px); line-height: 1.1; margin: 0 0 28px; overflow-wrap: normal; word-break: normal; hyphens: none; }
.tool-artifact-identity .tool-logo-icon { width: 96px; height: 96px; flex-basis: 96px; border-radius: 24px; overflow: hidden; }
.tool-artifact-identity .tool-logo-icon img { width: 74px; height: 74px; }
.tool-artifact-identity .tool-logo-icon img[src*="supabase"],
.tool-artifact-identity .tool-logo-icon img[src*="suno"],
.tool-artifact-identity .tool-logo-icon img[src*="grok-bot"] { width: 100%; height: 100%; }
.tool-artifact-identity h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.tool-artifact-identity p { color: #c9bdce; }
.tool-artifact-projects { padding: 32px; }
.tool-artifact-projects > h3 { margin: 0 0 24px; font-size: 1.35rem; }
.tool-artifact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-project-artifact { border: 1px solid #50455c; border-radius: 16px; overflow: hidden; background: #222333; min-width: 0; }
.tool-project-cover { aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(140deg, #f68e1560, #cb55886b); text-decoration: none; overflow: hidden; }
.tool-project-cover img { width: 82px; height: 82px; object-fit: contain; }
.tool-project-cover-full { height: auto; aspect-ratio: 1; overflow: hidden; }
.tool-project-cover-full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tool-project-body { padding: 20px; }
.tool-project-body .eyebrow { font-size: .65rem; margin: 0 0 10px; }
.tool-project-body h4 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 12px; }
.tool-project-body h4 a { color: #f2f4f6; text-decoration: none; }
.tool-project-body h4 { overflow-wrap: anywhere; }
.tool-project-title-detail { display: block; margin-top: 8px; color: var(--muted); font-size: .7em; font-weight: 500; line-height: 1.45; }
.tool-project-artifact { display: flex; flex-direction: column; }
.tool-project-cover { flex: none; }
.tool-project-body { display: flex; flex-direction: column; flex: 1; }
.tool-project-body > a { margin-top: auto; padding-top: 10px; }
.tool-project-body p { font-size: .9rem; color: #b4bbc6; }
.tool-project-body > a { font-size: .85rem; }
.tool-artifact-brand { display: grid; place-items: center; padding: 48px; background: radial-gradient(ellipse at center, #65457c30, transparent 70%); }
.tool-artifact-brand img { width: 150px; height: 150px; object-fit: contain; border-radius: 32px; }
.paper-cover { width: 100px; height: 115px; padding: 25px 14px; background: #e9e3dc; color: #4a414e; transform: rotate(-6deg); box-shadow: 12px 12px 0 #171b2460; }
.paper-cover i { display: block; height: 2px; margin-bottom: 10px; background: #7c7287; }
.paper-cover i:nth-child(2) { width: 70%; }
.paper-cover small { font: 9px monospace; }
@media (max-width: 850px) {
  .tool-artifact-section { grid-template-columns: 1fr; }
  .tool-artifact-brand { display: none; }
  .tool-artifact-identity, .tool-artifact-projects { padding: 26px; }
}
@media (max-width: 450px) {
  .tool-artifact-grid { grid-template-columns: 1fr; }
}
.tool-gallery-row { display: flex; align-items: center; gap: 12px; }
.tool-gallery-row .tool-logo-window { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.tool-gallery-row .tool-logo-window::-webkit-scrollbar { display: none; }
.tool-gallery-row .tool-logo-track { animation: none; }
.tool-gallery-row .tool-logo-set { gap: 25.6px; padding-right: 25.6px; align-items: flex-start; }
.tool-gallery-row .tool-logo-tile { width: 113px; min-height: 0; padding: 24px 0; gap: 18px; background: transparent; color: var(--muted); font-weight: 500; }
.tool-gallery-row .tool-logo-tile img { width: 64px; height: 64px; padding: 7px; background: #f2f4f6; border-radius: 50%; object-fit: contain; }
.tool-gallery-row .tool-logo-tile img[src*="supabase"],
.tool-gallery-row .tool-logo-tile img[src*="suno"],
.tool-gallery-row .tool-logo-tile img[src*="grok-bot"] { padding: 0; border-radius: 50%; object-fit: cover; }
.tool-gallery-arrow { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid #424955; border-radius: 50%; background: #22272f; color: #eceef1; font-size: 22px; cursor: pointer; }
.tool-gallery-arrow:hover { border-color: var(--sg-orange); background: #30343d; }
.tool-gallery-arrow:focus-visible { outline: 2px solid var(--sg-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .tool-gallery-row .tool-logo-window { overflow: visible; mask-image: none; }
  .tool-gallery-row .tool-logo-track { width: auto; }
  .tool-gallery-row .tool-logo-set { flex-wrap: wrap; justify-content: center; padding: 0; }
  .tool-gallery-arrow { display: none; }
}
.tool-strip-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--muted); font-size: .85rem; }
.tool-motion-toggle { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px 12px; border-radius: 8px; cursor: pointer; font: inherit; }
.tool-logo-window { overflow: hidden; padding: 5px 0; }
.tool-logo-track { display: flex; width: max-content; animation: toolkit-drift 70s linear infinite; }
.tool-logo-set { display: flex; gap: 14px; padding-right: 14px; }
.tool-logo-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 138px; min-height: 132px; padding: 16px 12px; border-radius: 14px; background: #f2f4f6; color: #242830; text-align: center; text-decoration: none; font-size: .85rem; font-weight: 600; }
.tool-logo-tile img, .tool-logo-icon img { width: 48px; height: 48px; object-fit: contain; }
.tool-logo-tile:focus-visible, .tool-motion-toggle:focus-visible { outline: 2px solid var(--sg-orange); outline-offset: 3px; }
.tool-logo-strip:hover .tool-logo-track, .tool-logo-strip:focus-within .tool-logo-track, .tool-logo-strip.is-paused .tool-logo-track { animation-play-state: paused; }
.tool-brand-heading { display: flex; align-items: center; gap: 16px; }
.tool-logo-icon { display: grid; place-items: center; width: 64px; height: 64px; flex: 0 0 64px; background: #f2f4f6; border-radius: 12px; }
.tool-logo-icon:has(img[src*="supabase"]), .tool-logo-icon:has(img[src*="suno"]) { overflow: hidden; }
.tool-logo-icon:has(img[src*="supabase"]) { background: #1e1e1e; }
.tool-logo-icon:has(img[src*="suno"]) { background: #ff6c22; border-radius: 50%; }
.tool-logo-icon img[src*="supabase"], .tool-logo-icon img[src*="suno"] { width: 100%; height: 100%; object-fit: cover; }
.tool-logo-tile img[src*="supabase"], .tool-logo-tile img[src*="suno"] { border-radius: 12px; }
.tool-logo-icon:has(img[src*="grok-bot"]) { overflow: hidden; background: #191919; }
.tool-logo-icon img[src*="grok-bot"] { width: 100%; height: 100%; object-fit: cover; }
.tool-logo-tile img[src*="grok-bot"] { border-radius: 12px; }
@keyframes toolkit-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tool-logo-track { animation: none; width: auto; }
  .tool-logo-window { overflow: visible; }
  .tool-logo-set { flex-wrap: wrap; padding: 0; }
  .tool-logo-set[aria-hidden="true"], .tool-motion-toggle { display: none; }
}
.tool-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tool-index a { border: 1px solid var(--line); padding: 10px 14px; }
.tool-entry h3 { font-size: 1rem; margin: 20px 0 8px; }
.tool-official { color: var(--muted); font-size: .9rem; }
.detail-tags a { text-decoration: underline; text-underline-offset: 3px; }
.detail-tags a:hover { border-color: var(--sg-orange); }
nav a[aria-current="page"], nav a[aria-current="true"] { text-decoration: none; }

/* —— About page —— */
.about-main {
  width: min(720px, calc(100% - 40px));
  margin: 48px auto 96px;
}
.about-hero {
  margin-bottom: 36px;
}
.about-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.about-lede,
.about-panel p,
.about-placeholder {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}
.about-panel {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.about-panel h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}
.about-placeholder {
  padding: 18px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
}
.about-family-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: var(--radius);
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* —— Poured with Passion real product frame —— */
.pwp-frame {
  background: #1a1a1a;
  padding: 0;
}
.pwp-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 240px;
  object-fit: cover;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}
.project-feature .pwp-frame img { min-height: 320px; }

/* —— Responsive —— */
@media (max-width: 960px) {
  .project-link,
  .project-feature .project-link,
  .project-wide .project-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .project-feature .project-visual { min-height: 320px; }
  .project-link > .project-body { grid-row: 1; }
  .project-link > .project-visual { grid-row: 2; }
  .approach-section,
  .fit-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .approach-intro { position: static; }
  .hardware-track {
    grid-auto-columns: minmax(260px, 80%);
  }
}

@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; max-height: none; gap: 8px; }
  .site-header nav { width: 100%; overflow-x: auto; }
  .site-header nav a { font-size: .85rem; padding: 10px 8px; }
  .work-group { scroll-margin-top: 140px; }
}

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    margin-top: 8px;
    min-height: 56px;
  }
  nav .nav-cta { padding: 9px 12px; font-size: .86rem; }
  .hero-media img {
    /* Keep head/shoulders in frame on tall mobile viewports */
    object-position: 50% 16%;
  }
  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 0 0 16px;
  }
  .hero-actions .button { width: 100%; }
  .work-section,
  .hardware-section,
  .approach-section,
  .fit-section,
  .contact-section {
    width: calc(100% - 32px);
  }
  .work-section { padding-top: 72px; }
  .metric-row { grid-template-columns: 1fr; }
  .contact-section { margin-bottom: 56px; padding: 24px 18px; }
  .contact-builder { padding: 18px 14px; }
  footer {
    width: calc(100% - 32px);
    flex-wrap: wrap;
  }
  .detail-main { width: calc(100% - 32px); padding: 36px 0 70px; }
  .detail-panel { padding: 20px 18px; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg-elevated);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .button-secondary { background: rgba(20, 23, 28, .72); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .project-row,
  .principles li,
  .fit-panel,
  .contact-section,
  .about-panel {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Orange is the action cue; non-interactive text accents stay neutral or pink. */
:root { --link-ink: var(--sg-orange); --decorative-ink: #a53368; }
@media (prefers-color-scheme: dark) {
  :root { --decorative-ink: #e69cbe; }
}
a[href], nav a[href], nav .nav-cta[href], footer a[href],
.tool-project-body h4 a[href], .tool-gallery-row .tool-logo-tile[href],
.detail-tags a[href], .tool-index a[href] { color: var(--link-ink); }
a[href]:hover { text-decoration-thickness: 2px; text-underline-offset: .2em; }
a[href]:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--link-ink); outline-offset: 4px; }
.project-link[href], .hardware-link[href] { color: var(--ink); }
.project-link h3, .project-link h4, .hardware-link h3,
.project-wide .card-cta, .card-cta { color: var(--link-ink); }
.eyebrow, .project-impact strong, .principles > li > span,
.approach-intro h2 em, .badge-ongoing, .badge-complete { color: var(--decorative-ink); }
.hero-promise em { color: #e69cbe; }
.hero a[href], .button-secondary[href] { color: var(--link-ink); }
.hero .button-secondary[href] { color: #fff; }
/* Shared gradient CTA: white text takes precedence over contextual link colors. */
.button-primary, .button-primary[href], .hero .button-primary[href] {
  color: #fff;
  background-color: var(--sg-orange);
  background-image: var(--sg-gradient);
  box-shadow: 0 8px 22px rgba(246, 142, 21, .18);
}
nav .nav-cta[href], .button-secondary[href] { border-color: currentColor; }
nav .nav-cta[href], nav .nav-cta[href]:hover { color: var(--link-ink); }
.tool-gallery-arrow, .work-filter, summary { color: var(--link-ink); }
fieldset label span { color: var(--link-ink); }
.form-status { color: var(--muted); }

/* Shared header: white navigation, orange current-section indicator. */
.site-header {
  background: rgba(28, 32, 38, .94);
  border-color: rgba(242, 244, 246, .12);
}
.site-header .brand[href], .site-header nav a[href],
.site-header nav .nav-cta[href], .site-header nav .nav-cta[href]:hover {
  color: #f2f4f6;
  text-decoration: none;
}
.site-header nav a[href]:hover, .site-header nav a[href]:focus-visible {
  background: #30343d;
}
.site-header nav a[href][aria-current="page"],
.site-header nav a[href][aria-current="true"] {
  color: var(--sg-orange);
  text-decoration: none;
}
.gradient-border {
  position: relative;
  border: 1px solid transparent;
}

/* Mask out the center so the shared brand gradient paints only the outline. */
.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: var(--sg-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.button-secondary.gradient-border,
.site-header nav .nav-cta.gradient-border[href] {
  background: transparent;
  border-color: transparent;
}

.button-secondary.gradient-border:hover,
.site-header nav .nav-cta.gradient-border[href]:hover,
.site-header nav .nav-cta.gradient-border[href]:focus-visible {
  background: rgba(242, 244, 246, .06);
}
/* Tools galleries: fluid page edges, readable identity panels and adaptive cards. */
.about-main.tools-main { width: calc(100% - 40px); }
.tools-main .about-hero { max-width: 760px; }
.tools-main .tool-artifact-section { grid-template-columns: clamp(280px, 25vw, 360px) minmax(0, 1fr); }
.tools-main .tool-artifact-identity, .tools-main .tool-artifact-projects { min-width: 0; }
.tools-main .tool-artifact-identity { align-self: stretch; }
.tools-main .tool-artifact-identity p { max-width: 45ch; }
.tools-main .tool-artifact-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tools-main .tool-project-body p { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .tools-main .tool-artifact-section { grid-template-columns: 1fr; }
  .tools-main .tool-artifact-brand { display: none; }
  .tools-main .tool-artifact-identity, .tools-main .tool-artifact-projects { padding: 26px; }
}
@media (max-width: 600px) {
  .about-main.tools-main { width: calc(100% - 32px); }
  .tools-main .tool-artifact-identity, .tools-main .tool-artifact-projects { padding: 22px; }
  .tools-main .tool-artifact-grid { grid-template-columns: 1fr; }
}
