/* amitch.design — press page (Amit approved Dec 1 2026).
   Uses the site's shell (header, footer, phone menu) from styles.css + shell.css, the same way
   contact.css does; this file turns the full-screen layout into a scrolling page and styles the list. */

.is-press { overflow: auto; height: auto; }
html:has(body.is-press) { height: auto; }
.is-press .page { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; display: flex; flex-direction: column; }
.is-press .header { position: relative; inset: auto; }
.is-press .footer { position: relative; inset: auto; padding: 0 var(--pad) calc(.85 * var(--u)); margin-top: auto; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.press {
  --dim: color-mix(in srgb, var(--fg) 45%, transparent);
  --line: color-mix(in srgb, var(--fg) 22%, transparent);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: max(6vh, 48px) var(--pad) max(10vh, 72px);
}

/* ---- intro ---- */
.press__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4vw;
  padding-bottom: max(5vh, 40px);
}
.press__title {
  margin: 0;
  font-size: 80px;  /* Amit, Dec 1 */
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: .86;
}
.press__side { display: grid; gap: 18px; justify-items: end; text-align: right; padding-bottom: .6em; }
.press__lead {
  margin: 0;
  max-width: 340px;
  font-size: 23.5px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.press__count, .feature__num, .feature__meta {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--dim);
}

/* ---- list ---- */
.press__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.press__list li { border-bottom: 2px solid var(--line); }

.feature {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3vw;
  align-items: start;
  padding: max(4vh, 32px) 0;
  color: var(--fg);
}
.feature__num { padding-top: 6px; }
.feature__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #2a2928;
  position: relative;
  outline: 1px solid var(--line);
  outline-offset: -1px;
}
.feature__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.001);
  transition: transform .8s var(--sh-ease);
}
.feature__media::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .35s ease;
}
.feature__body { display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.feature__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 6px; }
.feature__meta span:first-child { color: var(--fg); }
.feature__title {
  margin: 0;
  font-size: 32px;  /* Amit, Dec 1 */
  font-weight: 600;
  letter-spacing: -0.03em;  /* looser than the big titles (Amit) */
  line-height: 1.05;
  text-wrap: balance;
}
.feature__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; }
.feature__tag { font-size: 16px; font-weight: 600; letter-spacing: -0.045em; color: var(--dim); }
.feature__tag b { color: var(--fg); font-weight: 600; }

/* the same pill shape as the "book time" nav button */
.feature__cta {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .5em 1em .55em;
  border: 2px solid var(--fg);
  border-radius: 999px;
  font-size: 20px; font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  transition: background .25s ease, color .25s ease;
}
.feature__cta i { font-style: normal; display: inline-block; transition: transform .35s var(--sh-ease); }

@media (hover: hover) {
  .feature:hover .feature__media img { transform: scale(1.04); }
  .feature:hover .feature__media::after { opacity: 1; }
  .feature:hover .feature__cta { background: var(--fg); color: var(--bg); }
  .feature:hover .feature__cta i { transform: translate(2px, -2px); }
}
.feature:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; border-radius: 6px; }

/* ---- phones ---- */
@media (max-width: 760px) {
  .press { padding-top: 32px; }
  .press__intro { grid-template-columns: 1fr; gap: 22px; padding-bottom: 32px; }
  .press__side { justify-items: start; text-align: left; padding-bottom: 0; }
  .press__lead { font-size: 20px; }
  .feature { grid-template-columns: 1fr; gap: 16px; padding: 26px 0 30px; }
  .feature__num { display: none; }
  .feature__media { border-radius: 14px; }
  .feature__body { gap: 14px; }
  .feature__title { font-size: 32px; }
  .feature__cta { font-size: 18px; }
}
