/* Standard website mode: the home ("Work") page.
   Same theme as the AI-native portfolio: black canvas, #FFCD29 accent, light-grey cards. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.st-page {
  margin: 0; min-height: 100dvh; background: var(--ax-bg); color: var(--ax-ink);
  font-family: var(--ax-font); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-top: var(--ax-head-h);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .7rem 1rem; border-radius: 10px; background: var(--ax-brand); color: #000; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.st-hero, .st-work, .st-contact { width: min(1180px, calc(100% - 2 * var(--ax-pad))); margin-inline: auto; }

/* Hero */
.st-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center;
  gap: clamp(2rem, 6vw, 5rem); padding: clamp(3rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 6rem);
}
.st-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); margin-bottom: 1.25rem; }
.st-hero h1 {
  font-size: clamp(1.85rem, 4.8vw, 4rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 700;
  text-wrap: balance; max-width: 18ch;
}
.st-sub { margin-top: 1.4rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--ax-ink-2); }
.st-sub span { color: var(--ax-ink); font-weight: 600; }
.st-hero-media { justify-self: end; width: min(100%, 360px); }
.st-hero-media img {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 6px #000, 0 0 0 8px var(--ax-brand), 0 30px 80px -30px rgba(255, 205, 41, .45);
}

/* Buttons */
.st-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.st-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.35rem;
  border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: transform .35s var(--ax-spring), background-color .2s, color .2s, box-shadow .25s;
}
.st-btn-primary { background: var(--ax-brand); color: #000; }
.st-btn-primary:hover { background: var(--ax-brand-hi); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255, 205, 41, .7); }
.st-btn-ghost { color: var(--ax-ink); box-shadow: inset 0 0 0 1.5px #3A3935; }
.st-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ax-brand); color: #fff; transform: translateY(-2px); }
.st-btn:focus-visible { outline: 2px solid var(--ax-ink); outline-offset: 3px; }

/* Work grid */
.st-work { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 8vw, 6rem); scroll-margin-top: calc(var(--ax-head-h) + 16px); }
.st-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.25rem, 3vw, 2rem); padding-top: 1.5rem; border-top: 1px solid var(--ax-line); }
.st-section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.025em; }
.st-section-head p { color: var(--ax-muted); }
.st-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.st-grid > li { display: flex; }
.st-card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  border-radius: 16px; overflow: hidden; background: var(--ax-card); color: var(--ax-card-ink); text-decoration: none;
  transition: transform .45s var(--ax-spring), box-shadow .3s;
}
.st-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -22px rgba(255, 205, 41, .5); }
.st-card:focus-visible { outline: 3px solid var(--ax-brand); outline-offset: 4px; }
.st-card-top { display: flex; flex-direction: column; gap: .35rem; padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.1rem, 2.2vw, 1.6rem) 0; }
.st-card-org { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3F3E3A; }
.st-card-name { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; }
.st-card-media { position: relative; display: block; aspect-ratio: 16 / 9; margin-top: 1.1rem; overflow: hidden; }
.st-card-media img {
  position: absolute; left: clamp(1.1rem, 2.2vw, 1.6rem); top: 0; width: 118%; max-width: none;
  border-radius: 10px 0 0 0; box-shadow: -10px -10px 36px -16px rgba(0, 0, 0, .35);
  transition: transform .7s var(--ax-ease);
}
.st-card:hover .st-card-media img { transform: translate(-10px, -6px); }
.st-card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.4vw, 1.7rem); border-top: 1px solid #D4D4D4; flex: 1; }
.st-card-body h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.st-card-body p { font-size: .98rem; line-height: 1.5; color: #26251F; }
.st-card-meta { margin-top: auto; padding-top: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #3F3E3A; }

/* Contact band */
.st-contact { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--ax-line); }
.st-contact h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.03em; line-height: 1.1; max-width: 20ch; text-wrap: balance; }
.st-contact p { margin-top: .9rem; color: var(--ax-ink-2); }

@media (max-width: 860px) {
  .st-hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .st-hero-media { grid-row: 1; justify-self: start; width: 120px; }
  .st-hero-media img { box-shadow: 0 0 0 4px #000, 0 0 0 6px var(--ax-brand); }
  .st-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .st-actions .st-btn { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 1920px) {
  .st-hero, .st-work, .st-contact { width: min(1440px, calc(100% - 2 * var(--ax-pad))); }
  body.st-page { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-card-media img, .st-btn { transition: none; }
}

/* ======================= Design feedback 2 ======================= */
/* Hero: the same static content as the AI home */
.st-hero { display: flex; flex-direction: column; align-items: center; text-align: center; grid-template-columns: none; min-height: calc(100svh - var(--ax-head-h)); justify-content: center; padding: clamp(3rem, 8vw, 6rem) 0; gap: 0; }
.st-what { max-width: 22ch; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.st-prev { margin-top: 1.4rem; font-size: clamp(1rem, 1.35vw, 1.15rem); font-weight: 500; color: var(--ax-muted); }
.st-prev span { color: var(--ax-ink); }
.st-hero .st-actions { justify-content: center; margin-top: 2.25rem; }
@media (max-width: 860px) { .st-hero { padding-top: 2rem; min-height: calc(88svh - var(--ax-head-h)); } }
@media (min-width: 1920px) { .st-what { font-size: 3.9rem; } }

/* About, below the project cards */
.st-about { width: min(1180px, calc(100% - 2 * var(--ax-pad))); margin-inline: auto; padding: 0 0 clamp(3rem, 8vw, 6rem); scroll-margin-top: calc(var(--ax-head-h) + 16px); }
.st-about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.st-about-text { display: flex; flex-direction: column; gap: 1rem; color: var(--ax-ink-2); font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 52ch; }
.st-about-lead { color: var(--ax-ink); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.35; letter-spacing: -.01em; }
.st-about-images { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.st-about-img { margin: 0; border-radius: 16px; overflow: hidden; background: #111; }
.st-about-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.st-about-img--large { grid-column: 1 / -1; }
.st-about-img--large img { aspect-ratio: 16 / 9; }
.st-quotes-h { margin: clamp(2.5rem, 6vw, 4rem) 0 1.25rem; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.st-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.st-quote { margin: 0; padding: clamp(1.25rem, 2.6vw, 1.9rem); border-radius: 16px; background: var(--ax-card); color: var(--ax-card-ink); display: flex; flex-direction: column; gap: 1.25rem; }
.st-quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: #1F1E1B; }
.st-quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: .15rem; }
.st-quote figcaption b { font-weight: 700; }
.st-quote figcaption span { font-size: .85rem; color: #3F3E3A; }
@media (max-width: 860px) {
  .st-about-grid, .st-quotes { grid-template-columns: 1fr; }
}
@media (min-width: 1920px) { .st-about { width: min(1440px, calc(100% - 2 * var(--ax-pad))); } }
.st-hero .st-what { font-weight: 600; letter-spacing: -.035em; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12; }
@media (min-width: 1920px) { .st-hero .st-what { font-size: 3.9rem; } }
@media (max-width: 420px) { html.mode-site .ax-switch-label { display: none; } }

/* ======================= Design feedback 3 ======================= */
.st-card-media { aspect-ratio: 1600 / 971; margin-top: .25rem; }
.st-card-media img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; border-radius: 0; box-shadow: none; }
.st-card:hover .st-card-media img { transform: scale(1.03); transform-origin: 100% 100%; }
