/* Homepage palette and layout. The shared shell is loaded on other routes. */
html[data-alex-home-theme="dark"] { color-scheme: dark; }
html[data-alex-home-theme="light"] { color-scheme: light; }

body.alex-home {
  --home-pad: clamp(24px, 5.8vw, 100px);
  --home-bg: #101310;
  --home-surface: #181c17;
  --home-text: #f3f2e9;
  --home-muted: #bac0b1;
  --home-line: #3c4338;
  --home-accent: #c4e897;
  --home-focus: #f29a60;
  --home-pill: #20251d;
  --home-hero-bg: #0c100d;
  --home-hero-text: #f4f3e9;
  --home-hero-muted: #d9ddcf;
  --home-button: #a4ff3b;
  --home-button-hover: #c0ff7e;
  --home-button-text: #152507;
  --home-ask-bg: #11150f;
  --home-draft-bg: #191f17;
  --home-control-line: #67715a;

  /* Shared footer, focus, and consent UI inherit the local palette. */
  --bg: var(--home-bg);
  --bg-raised: var(--home-surface);
  --bg-sunken: var(--home-surface);
  --fg: var(--home-text);
  --fg-muted: var(--home-muted);
  --fg-subtle: var(--home-muted);
  --line: var(--home-line);
  --line-strong: var(--home-control-line);
  --fill: var(--home-pill);
  --signal: var(--home-accent);
  --signal-ink: #16210d;
  --er33t-analytics-surface: var(--home-surface);
  --er33t-analytics-fg: var(--home-text);
  --er33t-analytics-muted: var(--home-muted);
  --er33t-analytics-signal: var(--home-accent);
  --er33t-analytics-ink: var(--signal-ink);
  --er33t-analytics-border: var(--home-control-line);

  margin: 0;
  background: var(--home-bg);
  color: var(--home-text);
  font: 450 1rem/1.5 var(--font);
}

[data-alex-home-theme="light"] body.alex-home {
  --home-bg: #f4f1e6;
  --home-surface: #eae8da;
  --home-text: #20271e;
  --home-muted: #4e594a;
  --home-line: #b4baa8;
  --home-accent: #385d23;
  --home-focus: #99451c;
  --home-pill: #e3e7d7;
  --home-hero-bg: var(--home-bg);
  --home-hero-text: var(--home-text);
  --home-hero-muted: var(--home-muted);
  --home-button: #26351e;
  --home-button-hover: #3e572e;
  --home-button-text: #fcfbf1;
  --home-ask-bg: #e6e6d7;
  --home-draft-bg: #faf8ee;
  --home-control-line: #78876c;
  --signal-ink: #fcfbf1;
}

.alex-home .er33t-header {
  --er33t-header-bg: var(--home-bg);
  --er33t-header-line: var(--home-line);
  --er33t-header-text: var(--home-text);
  --er33t-header-muted: var(--home-muted);
  --er33t-header-soft: var(--home-pill);
  --er33t-header-signal: var(--home-accent);
}

.alex-home .er33t-header__panel {
  background: var(--home-surface);
  border-color: var(--home-line);
}

.alex-home .er33t-header__brand-copy small { display: none; }
.alex-home .er33t-header__eyebrow { color: var(--home-accent); }
.alex-home .er33t-header__panel-foot { border-color: var(--home-line); }
.alex-home .er33t-header__nav .er33t-header__panel-foot a { color: var(--home-muted); }
.alex-home .er33t-header__nav .er33t-header__panel-foot a:hover { color: var(--home-accent); }

.alex-home .er33t-header__nav a.er33t-header__join {
  background: var(--home-button);
  color: var(--home-button-text);
}

.alex-home .er33t-header__nav a.er33t-header__join:hover,
.alex-home .er33t-header__nav a.er33t-header__join:focus-visible {
  background: var(--home-button-hover);
  color: var(--home-button-text);
}

.alex-home .er33t-analytics-consent button,
.alex-home .er33t-analytics-preferences {
  border-color: var(--home-control-line) !important;
}

.alex-home .er33t-analytics-consent button[data-analytics-consent="grant"]:is(:hover, :focus-visible),
.alex-home .er33t-analytics-preferences[data-analytics-preferences="grant"]:is(:hover, :focus-visible) {
  background: var(--home-button-hover) !important;
  color: var(--home-button-text) !important;
}

[data-alex-home-theme="light"] .alex-home :is(.er33t-header__brand img, .footer-brand img) {
  filter: brightness(.52) saturate(.85);
}

.alex-home .site-footer { margin-top: 0; }
.alex-home .site-footer > .er33t-analytics-preferences {
  margin-inline-start: max(var(--s-5), calc((100% - var(--container)) / 2 + var(--s-5)));
}
.alex-home :focus-visible { outline: 3px solid var(--home-focus); outline-offset: 3px; }
.alex-home > .skip-link { position: fixed; z-index: 10002; }
.alex-home ::selection { background: #c7ee89; color: #112309; }

.alex-home main > section { margin: 0; }
.alex-home main :where(h1, h2, h3, p, figure, ul) { margin: 0; }
.alex-home main picture { display: block; }

.alex-home .wrap {
  width: 100%;
  max-width: 1610px;
  margin-inline: auto;
  padding-inline: var(--home-pad);
}

.alex-home .eyebrow,
.alex-home .tag {
  font-size: .6875rem;
  font-weight: 650;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.alex-home .eyebrow { color: var(--home-accent); }
.alex-home .arrow { white-space: nowrap; }
.alex-home .section { padding-block: clamp(38px, 4.7vw, 75px); }

.alex-home .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 16px 24px;
  margin-bottom: 23px;
}

.alex-home .section-head > * + * { margin-top: 0; }
.alex-home .section-head .eyebrow { margin-bottom: 7px; }
.alex-home .section-head h2,
.alex-home .ask h2 {
  font: 600 clamp(2.375rem, 4.3vw, 4.125rem)/1 var(--display);
  letter-spacing: -.06em;
}

.alex-home .hero,
.alex-home .ask {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.alex-home .hero {
  padding: 0;
  background: var(--home-hero-bg);
  color: var(--home-hero-text);
}

.alex-home .hero::before { content: none; }

.alex-home .hero-image,
.alex-home .hero-veil,
.alex-home .ask-art,
.alex-home .ask-veil {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.alex-home .hero-image img,
.alex-home .ask-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alex-home .hero-image img { object-position: 50% 55%; }
.alex-home .hero-veil {
  z-index: -1;
  background: linear-gradient(90deg, #0b100de8 0%, #0b100db5 29%, #0b100d4d 47%, transparent 63%);
}

.alex-home [data-theme-link] {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: max(var(--home-pad), calc((100% - 1610px) / 2 + var(--home-pad)));
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #73796c;
  background: #13170eef;
  color: #f3f2e9;
  font-size: .8125rem;
  font-weight: 650;
}

.alex-home [data-theme-link]:hover [data-theme-label] { text-decoration: underline; text-underline-offset: 4px; }
.alex-home .themeglyph { font-size: 1.125rem; line-height: 1; }

.alex-home .hero-inner {
  min-height: clamp(490px, 39.8vw, 637px);
  display: flex;
  align-items: center;
  padding-block: 52px;
}

.alex-home .hero-copy { width: 46%; max-width: 565px; }
.alex-home .hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alex-home .hero-copy .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: none;
  background: var(--home-accent);
}

.alex-home .hero h1 {
  margin-block: 18px 21px;
  font: 600 clamp(5.125rem, 9.45vw, 9.75rem)/.92 var(--display);
  letter-spacing: -.085em;
}

.alex-home .hello {
  font: 600 clamp(1.375rem, 2.05vw, 2.125rem)/1.1 var(--display);
  letter-spacing: -.05em;
}

.alex-home .herodeck {
  max-width: 38ch;
  margin-top: 11px;
  color: var(--home-hero-muted);
  font-size: clamp(1rem, 1.22vw, 1.25rem);
  line-height: 1.43;
}

.alex-home .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 27px;
}

.alex-home :is(.primary, .second, .textlink, .draft-link, .ask-guide, .crew-text-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 650;
}

.alex-home .primary {
  min-height: 48px;
  padding: 12px 18px;
  background: var(--home-button);
  color: var(--home-button-text);
  line-height: 1.2;
}

.alex-home .primary:hover { background: var(--home-button-hover); }
.alex-home .primary .age {
  border-left: 1px solid currentColor;
  padding-left: 7px;
  font-size: .6875rem;
  white-space: nowrap;
}

.alex-home :is(.second, .textlink, .draft-link, .ask-guide, .crew-text-link) {
  font-size: .875rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.alex-home :is(.second, .textlink, .draft-link, .ask-guide, .crew-text-link):hover {
  text-decoration-thickness: 2px;
}

.alex-home :is(.textlink, .draft-link, .ask-guide, .crew-text-link) { color: var(--home-accent); }

[data-alex-home-theme="light"] .alex-home .hero-image {
  left: 48%;
  border-left: 1px solid var(--home-line);
}

[data-alex-home-theme="light"] .alex-home .hero-image img { object-position: 72% 53%; }
[data-alex-home-theme="light"] .alex-home :is(.hero-veil, .ask-veil) { display: none; }
[data-alex-home-theme="light"] .alex-home .hero-copy { width: 43%; }

[data-alex-home-theme="light"] .alex-home [data-theme-link] {
  background: var(--home-bg);
  color: var(--home-text);
  border-color: var(--home-control-line);
}

.alex-home .rollbar {
  border-block: 1px solid var(--home-line);
  background: var(--home-surface);
}

.alex-home .roll-in { display: flex; align-items: stretch; gap: 25px; }
.alex-home .roll-title {
  flex: none;
  align-self: center;
  font: 600 1.25rem/1 var(--display);
  letter-spacing: -.05em;
}

.alex-home .roll-in > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.alex-home .roll-in > div a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-inline: 16px;
  border-left: 1px solid var(--home-line);
  font-size: .9375rem;
  font-weight: 600;
}

.alex-home .roll-in > div a span,
.alex-home .roll-in a:hover { color: var(--home-accent); }

.alex-home .wall-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px 30px;
}

.alex-home .artifact {
  display: block;
  min-width: 0;
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.alex-home .artifact.big { grid-row: span 2; }
.alex-home .artimg {
  display: block;
  overflow: hidden;
  background: var(--home-surface);
}

.alex-home .artimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

@media (hover: hover) {
  .alex-home .artifact:hover .artimg img { transform: scale(1.025); }
}

.alex-home .artifact.big .artimg { aspect-ratio: 2.13; }
.alex-home .artcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.alex-home .artifact.big .artcaption { padding-top: 12px; }
.alex-home .artcaption .tag {
  display: block;
  margin-bottom: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--home-muted);
  font: 650 .625rem/1.3 var(--font);
  letter-spacing: .13em;
}

.alex-home .artcaption strong {
  display: block;
  font: 600 clamp(1.3125rem, 2.3vw, 2.25rem)/1.04 var(--display);
  letter-spacing: -.055em;
}

.alex-home .openmark {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--home-line);
  color: var(--home-accent);
  font-size: 1.1875rem;
}

.alex-home .artifact:hover .openmark,
.alex-home .artifact:focus-visible .openmark { background: var(--home-pill); }

.alex-home .artifact.small {
  display: grid;
  grid-template-columns: 49% minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 12px;
}

.alex-home .artifact.small .artimg { aspect-ratio: 1.67; }
.alex-home .artifact.small .artcaption { gap: 6px; }
.alex-home .artifact.small .openmark { width: 24px; border: 0; }
.alex-home .artifact.small .artcaption strong { font-size: clamp(1.25rem, 2.05vw, 1.875rem); }

.alex-home .ask {
  border-block: 1px solid var(--home-line);
  background: var(--home-ask-bg);
}

.alex-home .ask-art { left: 30%; }
.alex-home .ask-art img { object-position: 72% 57%; }

.alex-home .ask-veil {
  z-index: -1;
  background: linear-gradient(90deg, #11150f 0%, #11150f 29%, #11150ff2 40%, #11150f70 54%, transparent 68%);
}

[data-alex-home-theme="light"] .alex-home .ask-art { left: 51%; }
.alex-home .ask-in { padding-block: 49px; }
.alex-home .ask-copy { width: 46%; max-width: 535px; }
.alex-home .ask h2 { margin-block: 7px 12px; }
.alex-home .ask-copy > p:not(.eyebrow) { max-width: 42ch; color: var(--home-muted); }

.alex-home .prompt-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 15px;
  border-bottom: 1px solid var(--home-control-line);
}

.alex-home .prompt-choices button {
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--home-muted);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
}

.alex-home .prompt-choices [aria-pressed="true"] {
  border-bottom-color: var(--home-accent);
  color: var(--home-text);
}

.alex-home .draft {
  margin-top: 14px;
  padding: 12px 14px 10px;
  border: 1px solid var(--home-control-line);
  background: var(--home-draft-bg);
}

.alex-home .draft label {
  color: var(--home-accent);
  font-size: .6875rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.alex-home .draft textarea {
  display: block;
  width: 100%;
  min-height: 72px;
  max-height: 220px;
  padding: 7px 0;
  resize: vertical;
  border: 0;
  background: transparent;
  color: var(--home-text);
  font-size: 1rem;
  line-height: 1.35;
}

.alex-home .draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }

.alex-home .copy {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--home-control-line);
  background: var(--home-pill);
  font-size: .875rem;
  font-weight: 650;
}

.alex-home .copy:hover { border-color: var(--home-accent); }

.alex-home .restore-draft {
  min-height: 44px;
  padding: 0;
  color: var(--home-accent);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.alex-home .restore-draft:hover { text-decoration-thickness: 2px; }
.alex-home .ask-guide { margin-top: 5px; }
.alex-home .ask-onboarding { margin-top: 12px; }
.alex-home .draft output { color: var(--home-accent); font-size: .8125rem; }
.alex-home .draft output:empty { display: none; }
.alex-home main [hidden] { display: none; }

.alex-home .crew-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4%;
}

.alex-home .crew-pic img {
  width: 100%;
  height: clamp(260px, 23vw, 365px);
  object-fit: cover;
  object-position: 70% 55%;
}

.alex-home .crew-pic figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  color: var(--home-muted);
  font-size: .75rem;
}

.alex-home .crew-pic figcaption span { text-align: right; }
.alex-home .records > p { max-width: 48ch; margin-bottom: 14px; color: var(--home-muted); }

.alex-home .member { border-top: 1px solid var(--home-line); }
.alex-home .member:last-of-type { border-bottom: 1px solid var(--home-line); }

.alex-home .member summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding-block: 10px;
  list-style: none;
  cursor: pointer;
}

.alex-home .member summary::-webkit-details-marker { display: none; }

.alex-home .member summary > span:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 13px;
}

.alex-home .member summary strong {
  font: 600 1.4375rem/1.03 var(--display);
  letter-spacing: -.055em;
}

.alex-home .member summary small { color: var(--home-muted); font-size: .8125rem; }
.alex-home .plus::after { content: "+"; color: var(--home-accent); font-size: 1.375rem; }
.alex-home .member[open] .plus::after { content: "−"; }
.alex-home .bio { padding: 0 24px 10px 0; color: var(--home-muted); font-size: .9375rem; }
.alex-home .crew-story { margin-top: 7px; }

.alex-home .crew-clips {
  border-top: 1px solid var(--home-line);
  padding-block: clamp(28px, 4vw, 52px);
}

.alex-home .crew-clips__intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-bottom: 16px;
}

.alex-home .crew-clips__intro h2 {
  font: 600 clamp(1.875rem, 3.6vw, 3rem)/1.08 var(--display);
  letter-spacing: -.05em;
}

.alex-home .crew-clips__intro p { color: var(--home-muted); }
.alex-home .crew-clips__intro .crew-text-link { border-bottom: 0; }

.alex-home .crew-clips__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
  list-style: none;
  padding: 0;
}

.alex-home .crew-clip {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  height: 100%;
  min-height: 106px;
  border-block: 1px solid var(--home-line);
}

.alex-home .crew-clip:hover { background: var(--home-surface); }

.alex-home .crew-clip__poster {
  position: relative;
  display: block;
  height: 106px;
  overflow: hidden;
  background: var(--home-surface);
}

.alex-home .crew-clip__poster img { width: 100%; height: 100%; object-fit: cover; }

.alex-home .crew-clip__poster::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  background: #101310ee;
  border: 1px solid #f3f2e9a0;
  border-radius: 50%;
}

.alex-home .crew-clip__poster::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right: 0;
  border-left: 7px solid #f3f2e9;
}

.alex-home .crew-clip__caption { display: grid; gap: 4px; padding: 8px 7px 8px 0; }
.alex-home .crew-clip__caption strong {
  font: 600 clamp(1.0625rem, 1.7vw, 1.4375rem)/1.08 var(--display);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.alex-home .crew-clip__caption > span { color: var(--home-muted); font-size: .8125rem; }
.alex-home .crew-clip:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.alex-home .home-elsewhere {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  padding-block: 12px;
  border-top: 1px solid var(--home-line);
}

.alex-home .crew-activity-section {
  padding-block: 0;
  border-top: 1px solid var(--home-line);
}

.alex-home .public-activity-details > summary {
  min-height: 44px;
  padding-block: 14px;
}

.alex-home .public-activity-details[open] { padding-bottom: 24px; }
.alex-home .activity-console { background: var(--home-draft-bg); }

.alex-home #viewer {
  width: min(890px, calc(100% - 32px));
  max-height: calc(100svh - 24px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-block-start: 52px;
  border: 1px solid var(--home-control-line);
  padding: 0;
  background: var(--home-bg);
  color: var(--home-text);
  box-shadow: 0 22px 80px #0008;
}

.alex-home #viewer::backdrop { background: #060905cc; }
html:has(body.alex-home #viewer[open]) { overflow: hidden; }
.alex-home .view-inner { padding: 14px 22px 18px; }
.alex-home .view-head,
.alex-home .view-meta,
.alex-home .view-meta nav,
.alex-home .view-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.alex-home .view-head {
  position: sticky;
  z-index: 1;
  top: 0;
  margin-bottom: 12px;
  background: var(--home-bg);
}

.alex-home .view-head .close,
.alex-home .view-meta button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--home-control-line);
  background: var(--home-pill);
}

.alex-home .view-head .close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-inline: 10px;
  font-size: .875rem;
  font-weight: 650;
}

.alex-home .view-head .close span,
.alex-home .view-meta button { font-size: 1.1875rem; }
.alex-home .view-head .close:hover,
.alex-home .view-meta button:hover { border-color: var(--home-accent); }

.alex-home .view-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #090d09;
}

.alex-home .view-image img { width: 100%; height: min(52svh, 500px); object-fit: contain; }
.alex-home .view-meta { margin-top: 14px; align-items: flex-start; }
.alex-home .view-meta h2 {
  margin: 0;
  font: 600 clamp(1.75rem, 3.5vw, 2.625rem)/1.05 var(--display);
  letter-spacing: -.05em;
}

.alex-home .view-meta p { max-width: 55ch; margin: 6px 0 0; color: var(--home-muted); }
.alex-home .view-meta nav { gap: 7px; flex: none; }
.alex-home #viewer output { color: var(--home-muted); font-size: .8125rem; }
.alex-home #viewer output:empty { display: none; }

.alex-home .view-links {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 18px;
  margin-top: 12px;
}

.alex-home .view-links .link-copy {
  min-height: 44px;
  padding: 0;
  color: var(--home-accent);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.alex-home .view-links .link-copy:hover { text-decoration-thickness: 2px; }

.alex-home .view-links textarea {
  flex: 0 1 100%;
  inline-size: 100%;
  min-inline-size: 0;
  padding: 6px 8px;
  border: 1px solid var(--home-control-line);
  background: var(--home-draft-bg);
  color: var(--home-text);
  font: 450 1rem/1.25 var(--font);
  word-break: break-all;
  scroll-margin-block: 6px;
  resize: none;
}

@media (max-width: 1199px) {
  .alex-home .er33t-header[data-er33t-enhanced] .er33t-header__nav { background: var(--home-bg); }
  .alex-home .er33t-header__panel { background: transparent; }
}

@media (max-width: 1000px) {
  .alex-home .hero h1 { font-size: clamp(4.75rem, 11vw, 6.6875rem); }
  .alex-home .hero-actions { gap: 5px 14px; }
  .alex-home .roll-in { gap: 12px; }
  .alex-home .roll-in > div a { padding-inline: 11px; }
  .alex-home .wall-grid { gap: 12px 18px; }
  .alex-home .artifact.small { gap: 12px; }
  .alex-home .artifact.small .openmark { display: none; }
  .alex-home .crew-clip { gap: 10px; grid-template-columns: 60px minmax(0, 1fr); }
}

@media (max-width: 749px) {
  body.alex-home { --home-pad: 20px; }

  .alex-home .hero { display: flex; flex-direction: column; }
  .alex-home [data-theme-link] { top: 9px; }
  .alex-home .hero-image {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(185px, 48vw, 305px);
  }

  .alex-home .hero-image img { object-position: 74% 58%; }

  .alex-home .hero-veil {
    z-index: 1;
    inset: 0 0 auto;
    height: clamp(185px, 48vw, 305px);
    background: linear-gradient(0deg, var(--home-hero-bg), transparent 36%);
  }

  .alex-home .hero-inner {
    min-height: 0;
    margin-top: -8px;
    padding-block: 0 25px;
  }

  .alex-home .hero-copy,
  .alex-home .ask-copy,
  [data-alex-home-theme="light"] .alex-home .hero-copy { width: 100%; max-width: 550px; }

  .alex-home .hero-copy { position: relative; z-index: 2; }
  .alex-home .hero-copy .eyebrow::before { width: 21px; }
  .alex-home .hero h1 { margin-block: 11px 12px; font-size: clamp(4.25rem, 19vw, 6.625rem); }
  .alex-home .hello { font-size: 1.5rem; }
  .alex-home .herodeck { margin-top: 5px; font-size: .9375rem; }
  .alex-home .hero-actions { margin-top: 17px; gap: 5px 17px; }
  .alex-home .primary { min-height: 44px; padding: 10px 12px; font-size: .875rem; }

  [data-alex-home-theme="light"] .alex-home .hero-inner {
    order: 1;
    margin-top: 0;
    padding-block: 62px 20px;
  }

  [data-alex-home-theme="light"] .alex-home .hero-image {
    left: auto;
    order: 2;
    height: clamp(177px, 44vw, 255px);
    border-left: 0;
  }

  [data-alex-home-theme="light"] .alex-home .hero-image img { object-position: 76% 56%; }
  .alex-home .roll-in { display: block; }
  .alex-home .roll-title { display: block; padding-top: 10px; font-size: 1.0625rem; }
  .alex-home .roll-in > div { margin-bottom: 5px; }
  .alex-home .roll-in > div a { min-height: 44px; justify-content: flex-start; padding-inline: 7px; font-size: .8125rem; }
  .alex-home .roll-in > div a:first-child { padding-left: 0; border-left: 0; }

  .alex-home .section { padding-block: 30px; }
  .alex-home .section-head { gap: 11px; margin-bottom: 15px; }
  .alex-home .section-head h2,
  .alex-home .ask h2 { font-size: clamp(2.125rem, 8.4vw, 2.9375rem); }

  .alex-home .section-head .eyebrow { font-size: .625rem; margin-bottom: 5px; }
  .alex-home .section-head .textlink { max-width: 13ch; flex-shrink: 0; font-size: .8125rem; line-height: 1.25; }
  .alex-home .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 17px 12px; }
  .alex-home .artifact.big { grid-area: auto / span 2; }
  .alex-home .artifact.big .artimg { aspect-ratio: 1.83; }
  .alex-home .artifact.small { display: block; padding: 0; border: 0; }
  .alex-home .artifact.small .artimg { aspect-ratio: 1.55; }
  .alex-home .artifact.big .artcaption,
  .alex-home .artifact.small .artcaption { padding-top: 7px; }
  .alex-home .openmark { width: 32px; height: 32px; }

  .alex-home .ask-art,
  [data-alex-home-theme="light"] .alex-home .ask-art {
    position: relative;
    inset: auto;
    z-index: 0;
    height: clamp(155px, 40vw, 240px);
  }

  .alex-home .ask-art img { object-position: 76% 57%; }
  .alex-home .ask-veil { display: none; }
  .alex-home .ask-in { padding-block: 23px 20px; }
  .alex-home .ask h2 { margin-block: 5px 8px; }
  .alex-home .prompt-choices { margin-top: 10px; }
  .alex-home .prompt-choices button { font-size: .8125rem; }
  .alex-home .draft { padding: 9px 11px; }

  .alex-home .crew-layout { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .alex-home .crew-pic img { height: clamp(150px, 42vw, 245px); }
  .alex-home .crew-pic figcaption { gap: 8px; }
  .alex-home .records > p { margin-bottom: 9px; }
  .alex-home .member summary { min-height: 49px; }
  .alex-home .member summary strong { font-size: 1.3125rem; }

  .alex-home .crew-clips__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .alex-home .crew-clips__list li + li .crew-clip { border-top: 0; }
  .alex-home .crew-clip { min-height: 84px; grid-template-columns: 57px minmax(0, 1fr); gap: 12px; }
  .alex-home .crew-clip__poster { height: 84px; }
  .alex-home .crew-clip__caption strong { font-size: 1.125rem; }

  .alex-home #viewer { width: calc(100% - 16px); max-height: calc(100svh - 16px); }
  .alex-home .view-inner { padding: 9px 12px 12px; }
  .alex-home .view-meta { flex-wrap: wrap; gap: 7px 12px; }
  .alex-home .view-meta p { font-size: .875rem; }
  .alex-home .view-image img { height: min(40svh, 360px); }
  .alex-home .view-links { gap: 0 12px; margin-top: 6px; }


}

@media (max-width: 500px) {
  .alex-home .roll-in > div { grid-template-columns: .75fr 1.25fr 1.15fr .7fr; }
  .alex-home .roll-in > div a span { display: none; }
  .alex-home .er33t-analytics-consent button { min-height: 44px !important; }
}

@media (max-width: 370px) {
  body.alex-home { --home-pad: 15px; }
  .alex-home .roll-in > div a { padding-inline: 5px; font-size: .75rem; }
}

@media (max-height: 480px) {
  .alex-home .view-image img { height: 31svh; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-alex-home-theme] { scroll-behavior: auto; }
  .alex-home *,
  .alex-home *::before,
  .alex-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .alex-home .artifact:hover .artimg img { transform: none; }
}
