/* Cam Richtik Home — minimal stack layout (conflicts resolved) */

:root {
  --bg: #050505;
  --ink: #f7f3e7;
  --muted: rgba(247, 243, 231, 0.72);
  --accent: #1f6e5c;
  --accent-soft: rgba(31, 110, 92, 0.22);
  --accent-dark: #145143;
  --border: rgba(247, 243, 231, 0.18);

  --hero-ratio: 0.5625;              /* hero art aspect ratio (height / width) */
  --crop-percent: 0.33;              /* trim the top 33% of the hero once sized */
  --hero-focus-x: 64%;               /* 0% left … 100% right */
  --hero-focus-y: 96%;               /* 0% top  … 100% bottom */
  --align-nudge: 1px;
  --hero-headroom: 96;               /* minimum px breathing room beneath the hero copy */
  --hero-copy-offset: -24px;         /* move hero copy up (-) / down (+) */

  /* Social buttons smart bottom offset */
  --hero-social-bottom-base: 70px;   /* anchor height for 1000px wide viewports */
  --hero-social-bottom-slope: 0.04;  /* move 0.04px per px away from 1000px */
  --hero-social-bottom-min: 44px;    /* keep buttons above hero edge on wide screens */
  --hero-social-bottom-max: 96px;    /* prevent buttons from slipping off on tall screens */
  --hero-social-bottom: clamp(
    var(--hero-social-bottom-min),
    calc(var(--hero-social-bottom-base) + (1000px - 100vw) * var(--hero-social-bottom-slope)),
    var(--hero-social-bottom-max)
  );
  --hero-social-width: min(62vw, 220px);
  --hero-social-gap: clamp(12px, 2vh, 18px);

  /* Notebook stack offsets by breakpoint */
  --stack-lift-mobile: 84px;
  --stack-lift-mobile-revealed: 148px;
  --stack-lift-tablet: 24px;
  --stack-lift-tablet-revealed: 120px;
  --stack-lift-desktop: -168px;
  --stack-lift-desktop-revealed: 232px;
  --stack-lift-wide: -196px;
  --stack-lift-wide-revealed: 216px;

  /* Default = wide; media queries will remap these */
  --stack-lift-adjust: var(--stack-lift-wide);
  --stack-lift-revealed-adjust: var(--stack-lift-wide-revealed);

  --hero-ink: #0b0b0b;
  --hero-muted: #334155;
  --hero-subhead-family: var(--family);
  --hero-heading-family: var(--display);
  --family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

/* Thank-you page tweaks */
body.page-thank-you {
  --hero-social-bottom: 123px;
  --hero-social-gap: 6px;
  --hero-social-width: min(52vw, 184px);
}
body.page-thank-you #cr-hero {
  min-height: clamp(480px, calc(100vw * var(--hero-ratio) * (1 - var(--crop-percent))), 720px);
}
body.page-thank-you .cr-social-button { gap: clamp(6px, 1.4vw, 10px); }
body.page-thank-you #cr-hero .cr-social-button {
  padding: clamp(4px, 0.8vw, 6px) clamp(18px, 3vw, 24px);
  font-size: clamp(13px, 2.4vw, 15px);
  border-radius: clamp(14px, 2.4vw, 18px);
}
body.page-thank-you .cr-social-button::before,
body.page-thank-you .cr-social-button::after { inset: clamp(-6px, -1.2vw, -4px); }
body.page-thank-you .cr-social-icon {
  width: clamp(18px, 3.4vw, 22px);
  height: clamp(18px, 3.4vw, 22px);
}

/* Photo booth download landing */
body.page-photo-booth-download {
  --ink: #f8f5ef;
  --muted: rgba(248, 245, 239, 0.74);
  --accent: #ff6f3c;
  --accent-dark: #d85625;
  --accent-soft: rgba(255, 111, 60, 0.16);
  --surface: rgba(21, 16, 32, 0.92);
  --surface-soft: rgba(21, 16, 32, 0.78);
  --border: rgba(248, 245, 239, 0.18);
  background-color: #0d0a15;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"%3E%3Crect width="120" height="120" fill="%230d0a15"/%3E%3Ccircle cx="12" cy="12" r="2" fill="%23ff6f3c" opacity="0.22"/%3E%3Ccircle cx="60" cy="36" r="1.5" fill="%23f8f5ef" opacity="0.16"/%3E%3Ccircle cx="96" cy="84" r="2.4" fill="%23ff6f3c" opacity="0.18"/%3E%3Ccircle cx="24" cy="72" r="1.4" fill="%23f8f5ef" opacity="0.16"/%3E%3C/svg%3E');
  background-size: 120px 120px;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.page-photo-booth-download #cr-page {
  display: block;
  min-height: 100vh;
  padding: clamp(36px, 7vw, 84px) clamp(18px, 7vw, 108px) clamp(64px, 10vw, 128px);
}

.page-photo-booth-download .download-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(48px, 8vw, 96px);
}

.download-hero {
  position: relative;
  background: var(--surface);
  border-radius: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  padding: clamp(32px, 5vw, 60px);
  box-shadow: 0 32px 72px rgba(8, 6, 14, 0.55);
  text-align: center;
  display: grid;
  gap: clamp(16px, 3vw, 26px);
  overflow: hidden;
}

.download-hero::after {
  content: "";
  position: absolute;
  inset: clamp(14px, 3vw, 22px);
  border-radius: calc(clamp(24px, 4vw, 36px) - clamp(14px, 3vw, 22px));
  border: 1px dashed rgba(248, 245, 239, 0.14);
  pointer-events: none;
}

.download-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 111, 60, 0.16);
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: clamp(12px, 2.4vw, 14px);
  margin: 0 auto;
}

.download-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(44px, 8vw, 68px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.04;
}

.download-hero p {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(16px, 2.6vw, 19px);
}

.download-hero__instructions {
  background: rgba(248, 245, 239, 0.08);
  border: 1px solid rgba(248, 245, 239, 0.16);
  border-radius: clamp(20px, 3.6vw, 28px);
  padding: clamp(20px, 4vw, 32px);
  display: grid;
  gap: clamp(12px, 2.6vw, 20px);
  text-align: left;
  width: min(100%, 520px);
  margin: 0 auto;
  box-shadow: 0 18px 34px rgba(8, 6, 14, 0.35);
}

.download-hero__instructions h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--ink);
}

.download-hero__instructions p {
  margin: 0;
  color: rgba(248, 245, 239, 0.82);
  font-size: clamp(15px, 2.6vw, 18px);
}

.download-hero__instructions .download-list {
  margin: 0;
  padding-left: clamp(18px, 4vw, 28px);
}

.download-actions {
  display: grid;
  gap: clamp(14px, 2.8vw, 22px);
  justify-items: center;
}

.download-actions__primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 20px);
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: clamp(12px, 2.8vw, 16px) clamp(24px, 5vw, 36px);
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(15px, 2.8vw, 18px);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}

.download-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(8, 6, 14, 0.4);
}

.download-button--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: rgba(255, 111, 60, 0.38);
}

.download-button--primary:hover,
.download-button--primary:focus-visible {
  background: var(--accent-dark);
}

.download-button--cta {
  background: linear-gradient(135deg, #ff6f3c, #ff9b62);
  color: #1a0f0f;
  border-color: rgba(255, 155, 98, 0.55);
  box-shadow: 0 20px 40px rgba(255, 111, 60, 0.35);
}

.download-button--cta:hover,
.download-button--cta:focus-visible {
  background: linear-gradient(135deg, #ff824f, #ffb37f);
  box-shadow: 0 28px 52px rgba(255, 111, 60, 0.4);
}

.download-button--outline {
  background: rgba(248, 245, 239, 0.06);
  border-color: rgba(248, 245, 239, 0.24);
  color: var(--ink);
}

.download-button--outline:hover,
.download-button--outline:focus-visible {
  background: rgba(248, 245, 239, 0.14);
}

.download-main {
  display: grid;
  gap: clamp(60px, 11vw, 96px);
  justify-items: center;
}

.download-grid {
  display: grid;
  gap: clamp(32px, 7vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  justify-items: center;
  padding-block: clamp(16px, 4vw, 36px);
}

.download-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: clamp(20px, 3.6vw, 28px);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 24px 48px rgba(8, 6, 14, 0.42);
  display: grid;
  gap: clamp(12px, 2.6vw, 20px);
  align-content: start;
  justify-items: center;
  text-align: center;
  width: min(100%, 420px);
}

.download-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(22px, 3.6vw, 30px);
  color: var(--ink);
}

.download-card p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 36ch;
  text-align: center;
}

.download-card small {
  color: rgba(248, 245, 239, 0.68);
  font-size: clamp(13px, 2.2vw, 14px);
  max-width: 34ch;
  text-align: center;
  display: block;
  margin: 0 auto;
}

.download-list {
  margin: 0 auto;
  padding-left: 20px;
  display: grid;
  gap: clamp(8px, 1.6vw, 12px);
  color: rgba(248, 245, 239, 0.78);
  font-size: clamp(15px, 2.6vw, 17px);
  text-align: left;
  max-width: 36ch;
}

.download-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 111, 60, 0.6);
  padding-bottom: 2px;
}

.download-list a:hover,
.download-list a:focus-visible {
  color: var(--accent);
}

.download-price-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(8px, 1.6vw, 12px);
  color: rgba(248, 245, 239, 0.82);
  font-size: clamp(15px, 2.6vw, 17px);
  text-align: center;
  max-width: 34ch;
}

.download-price-list strong {
  color: var(--ink);
}

.download-card--accent {
  background: linear-gradient(140deg, rgba(255, 111, 60, 0.2), rgba(21, 16, 32, 0.88));
  border-color: rgba(255, 111, 60, 0.38);
}

.download-card--accent p {
  color: rgba(248, 245, 239, 0.88);
}

.download-card--actions {
  display: grid;
  gap: clamp(12px, 2.4vw, 18px);
  justify-items: center;
}

.download-card--actions .download-button {
  min-width: 0;
  justify-self: center;
}

.download-card--social {
  background: rgba(21, 16, 32, 0.7);
}

.download-social {
  display: grid;
  gap: clamp(10px, 2vw, 16px);
  justify-items: center;
}

.download-social a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.08);
  border: 1px solid rgba(248, 245, 239, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.download-social a:hover,
.download-social a:focus-visible {
  border-color: rgba(255, 111, 60, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 6, 14, 0.42);
}

.download-social__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: transparent;
  display: block;
}

.download-social__icon--mail {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(248, 245, 239, 0.14);
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .download-card--actions .download-button {
    width: 100%;
    justify-self: stretch;
  }

  .download-actions .download-button {
    width: 100%;
    min-width: 0;
  }
}

.page-photo-booth-download footer {
  padding: clamp(28px, 5vw, 42px) 0 clamp(40px, 8vw, 64px);
  width: min(1080px, 100%);
  margin: 0 auto;
  color: rgba(248, 245, 239, 0.68);
}

.page-photo-booth-download footer a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dotted rgba(248, 245, 239, 0.4);
  padding-bottom: 1px;
}

.page-photo-booth-download footer a:hover,
.page-photo-booth-download footer a:focus-visible {
  color: var(--accent);
}

body.is-modal-open {
  overflow: hidden;
}

.tip-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: clamp(16px, 5vw, 32px);
}

.tip-modal[hidden] {
  display: none !important;
}

.tip-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.74);
}

.tip-modal__dialog {
  position: relative;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(247, 243, 231, 0.18);
  border-radius: clamp(18px, 3vw, 26px);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  width: min(100%, 420px);
  display: grid;
  gap: clamp(16px, 3vw, 20px);
  color: var(--ink);
}

.tip-modal__close {
  position: absolute;
  top: clamp(10px, 2vw, 14px);
  right: clamp(10px, 2vw, 14px);
  background: none;
  border: 0;
  color: var(--muted);
  font-size: clamp(24px, 4vw, 30px);
  cursor: pointer;
}

.tip-modal__close:hover,
.tip-modal__close:focus-visible {
  color: var(--ink);
}

.tip-modal__links {
  display: grid;
  gap: clamp(10px, 2vw, 14px);
}

.tip-modal__links .download-button {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  gap: clamp(6px, 1.8vw, 10px);
  min-width: 0;
  padding: clamp(9px, 2.8vw, 12px) clamp(14px, 5.4vw, 20px);
  font-size: clamp(13px, 3.2vw, 16px);
}

.tip-modal__logo {
  width: clamp(22px, 5vw, 28px);
  height: clamp(22px, 5vw, 28px);
  object-fit: contain;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (max-width: 640px) { :root { --hero-headroom: 40; } }

/* -------- Breakpoint mapping for stack offsets (single source of truth) -------- */

/* Tablet and down (≤1023px) */
@media (max-width: 1023px) {
  :root {
    --stack-lift-adjust: var(--stack-lift-tablet);
    --stack-lift-revealed-adjust: var(--stack-lift-tablet-revealed);
  }
}

/* Mobile and down (≤720px) overrides tablet */
@media (max-width: 720px) {
  :root {
    --stack-lift-adjust: var(--stack-lift-mobile);
    --stack-lift-revealed-adjust: var(--stack-lift-mobile-revealed);
  }
}

/* Desktop only (1024–1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --stack-lift-adjust: var(--stack-lift-desktop);
    --stack-lift-revealed-adjust: var(--stack-lift-desktop-revealed);
  }
}

/* ≥1280px (wide) keeps the default wide values from :root */

/* ---------------- Base styles (unchanged) ---------------- */

html, body { height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(31, 110, 92, 0.12), transparent 55%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 148, 0.08), transparent 60%),
    #050505;
  color: var(--ink);
  font-family: var(--family);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

p,h1,h2,h3,h4,h5,h6,a,small,span,strong,em,code,li{ -webkit-user-select:text; user-select:text; }

::selection { background: rgba(31, 110, 92, 0.32); color: var(--ink); }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

#cr-page{
  min-height: 100vh; min-height: 100svh; min-height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0,1fr);
}

#cr-hero{
  position: relative;
  min-height: clamp(320px, calc(100vw * var(--hero-ratio) * (1 - var(--crop-percent))), 720px);
  background:#000; overflow:hidden; z-index:1; --hero-shift: 0px;
}

#cr-hero .cr-layer{
  position:absolute; inset:0; top: calc(-1 * var(--hero-shift, 0px));
  height: calc(100% + var(--hero-shift, 0px)); width:100%; display:block; object-fit:cover;
  object-position: var(--hero-focus-x) var(--hero-focus-y);
  pointer-events:none; backface-visibility:hidden; -webkit-user-drag:none; -webkit-user-select:none; user-select:none;
}

.cr-fallback{ z-index:0; opacity:0; }
.cr-base{ z-index:1; }
.cr-overlay{
  z-index:2; cursor:default; transform: translate3d(0,100%,0); transform-origin: 50% 100%;
  transition: transform 800ms cubic-bezier(.2,.8,.2,1); pointer-events:none; will-change:transform;
  -webkit-mask-image: linear-gradient(#000 0 calc(100% - 1px), rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(#000 0 calc(100% - 1px), rgba(0,0,0,0) 100%);
}
#cr-hero .cr-overlay-trigger{ z-index:2; opacity:0; pointer-events:auto; cursor:default; transform: translate3d(0, var(--align-nudge), 0); }
#cr-hero.is-entered .cr-overlay{ transform: translate3d(0, var(--align-nudge), 0); }
#cr-hero.is-revealed .cr-overlay{ transform: translate3d(0,100%,0); }

#cr-copy{
  position:absolute; z-index:3;
  --hero-copy-base-top: clamp(14px, 5.4vh, 9.6vh);
  top: max(8px, calc(var(--hero-copy-base-top) + var(--hero-copy-offset, 0px)));
  left: clamp(16px, 6vw, 96px);
  width: min(62%, 48ch); max-width: 48ch;
  padding:0; color:var(--hero-ink); background:none; border:0; border-radius:0; box-shadow:none; backdrop-filter:none;
  container-type: inline-size;
}
#cr-copy h1{ margin:0; display:grid; gap: clamp(6px,1.4cqw,16px); font-family: var(--hero-heading-family,var(--family)); font-weight:600; letter-spacing:.01em; line-height:1.04; }
#cr-copy .cr-line{ display:block; color:var(--hero-ink); text-wrap:balance; }
#cr-copy .cr-line:first-child{ font-family:inherit; font-size: clamp(36px,11cqw,92px); font-weight:700; letter-spacing:.005em; }
#cr-copy .cr-line-secondary{ font-family: var(--hero-subhead-family,var(--family)); font-size: clamp(20px,6cqw,32px); font-weight:600; color:var(--hero-muted); letter-spacing:.005em; }

@supports not (font-size: 1cqw){
  #cr-copy .cr-line:first-child{ font-size: clamp(36px,11vw,92px); }
  #cr-copy .cr-line-secondary{ font-size: clamp(20px,6vw,32px); }
}

@media (min-width: 900px){
  #cr-copy{ --hero-copy-base-top: clamp(18px, 5.9vh, 10.4vh); left: clamp(32px, 8vw, 160px); width: min(40%, 52ch); }
}

@media (max-width: 900px){
  #cr-copy{ width: min(72%, 44ch); }
  :root{ --hero-social-width: min(70vw, 212px); }
}

@media (max-width: 720px){
  #cr-copy{
    --hero-copy-base-top: clamp(12px, 4.8vh, 8.6vh);
    left: clamp(14px, 6vw, 36px);
    width: min(82%, 40ch);
  }
  #cr-copy .cr-line:first-child{ font-size: clamp(32px,12vw,46px); }
  #cr-copy .cr-line-secondary{ font-size: clamp(17px,6vw,21px); }
  .cr-stack{ margin-top: calc(clamp(-264px, -46vw, -124px) + var(--stack-lift-adjust, 0px)); }
  #cr-hero.is-revealed + #cr-content .cr-stack{ margin-top: calc(clamp(-188px, -32vw, -84px) + var(--stack-lift-revealed-adjust, 0px)); }
  :root{
    --hero-social-width: min(74vw, 204px);
    --hero-social-gap: clamp(10px, 2.8vh, 14px);
  }
}

@media (max-width: 480px){ #cr-copy{ --hero-copy-base-top: clamp(10px, 4.2vh, 7.4vh); } }

.press-hero-links {
  margin: clamp(18px, 4vw, 26px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: clamp(12px, 3vw, 18px);
}

.press-hero-link {
  width: clamp(38px, 8vw, 48px);
  height: clamp(38px, 8vw, 48px);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.44);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.24);
  color: #f8fafc;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.press-hero-link img {
  width: clamp(22px, 4vw, 28px);
  height: clamp(22px, 4vw, 28px);
  object-fit: contain;
}

.press-hero-link span[aria-hidden="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(22px, 4vw, 28px);
  height: clamp(22px, 4vw, 28px);
  font-size: clamp(20px, 4vw, 26px);
  color: #f8fafc;
}

.press-hero-link:hover,
.press-hero-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.6), 0 18px 36px rgba(15, 23, 42, 0.4);
}

.press-hero-link:focus-visible {
  outline: 2px solid rgba(226, 232, 240, 0.7);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){ .cr-stack{ transition:none; } }

#cr-secret{
  position:absolute; left:50%; bottom: clamp(24px,10vh,88px);
  transform: translate(-50%, 10px);
  display:inline-flex; align-items:center; justify-content:center;
  padding:.55rem .85rem; border-radius:12px; border:1px dashed rgba(31,110,92,.55);
  background: rgba(6,12,10,.94); color: var(--accent);
  text-decoration:none; font:700 11px/1 var(--mono); letter-spacing:.18em; text-transform:uppercase;
  box-shadow:4px 4px 18px rgba(0,0,0,.45); backdrop-filter: blur(4px);
  opacity:0; pointer-events:none; transition: opacity .3s ease, transform .3s ease; z-index:12;
}
#cr-hero.is-revealed #cr-secret{ opacity:1; transform: translate(-50%,0); pointer-events:auto; }
#cr-secret:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

#cr-content{
  position:relative; z-index:6;
  padding: clamp(32px,8vw,80px) clamp(16px,6vw,96px) clamp(68px,10vw,132px);
  background:#000;
}

.cr-stack{
  position:relative;
  z-index:8;
  max-width:840px;
  margin: calc(clamp(-312px, -36vw, -148px) + var(--stack-lift-adjust, 0px)) auto clamp(64px,12vw,132px);
  padding: clamp(28px,6vw,56px) clamp(32px,8vw,84px) clamp(76px,12vw,116px);
  border-radius: 32px 32px 24px 24px;
  border: 1px solid rgba(247,243,231,.18);
  background:
    linear-gradient(180deg, rgba(20,20,19,.98) 0%, rgba(12,12,11,.96) 60%, rgba(7,7,7,.94) 100%),
    repeating-linear-gradient(0deg, rgba(247,243,231,.12) 0 1px, transparent 1px clamp(24px,4.8vw,34px));
  box-shadow: 0 46px 96px rgba(0,0,0,.58);
  overflow:visible;
  transition: margin-top 520ms cubic-bezier(.2,.8,.2,1);
  display:flex;
  flex-direction:column;
  gap: clamp(24px,5vw,40px);
}
#cr-hero.is-revealed + #cr-content .cr-stack{
  margin-top: calc(clamp(-224px, -28vw, -104px) + var(--stack-lift-revealed-adjust, 0px));
}
.cr-stack::after{
  content:"";
  position:absolute;
  top: clamp(24px,6vw,44px);
  left: clamp(26px,6vw,68px);
  right: clamp(26px,6vw,68px);
  border-top:1px dashed rgba(247,243,231,.18);
  pointer-events:none;
}

.cr-stack-plain{
  background: linear-gradient(180deg, rgba(16,16,15,.94) 0%, rgba(10,10,9,.9) 100%);
  border:1px solid rgba(247,243,231,.14);
  box-shadow:0 32px 72px rgba(0,0,0,.5);
}
.cr-stack-plain::after{ display:none; }

.cr-stack--bare{
  max-width: min(1180px, 96vw);
  width: min(1180px, 100%);
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 32px);
  align-items: stretch;
}
.cr-stack--bare::after{ display:none; }

.cr-stack > *{ position:relative; z-index:1; }
.cr-stack--bare > *{ min-width: 0; }

.cr-stack h2{
  margin:0;
  font-family:var(--display);
  font-size: clamp(26px,5vw,40px);
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.cr-stack-note{
  margin:0;
  font-family:var(--mono);
  font-size: clamp(14px,2.6vw,17px);
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}

@media (min-width: 720px){
  .cr-stack--bare{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-stack--bare > .cr-newsletter{ grid-column: 1 / -1; }
}
.cr-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap: clamp(14px, 2.8vw, 22px);
  padding: clamp(24px, 5.4vw, 36px);
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 12% 8%, rgba(248, 250, 252, 0.06), transparent 42%),
    linear-gradient(150deg, rgba(21, 24, 31, 0.82) 0%, rgba(11, 13, 17, 0.88) 55%, rgba(5, 6, 8, 0.92) 100%);
  box-shadow: 0 32px 82px rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(6px);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 320ms cubic-bezier(.2,.8,.2,1), border-color 320ms cubic-bezier(.2,.8,.2,1);
}
.cr-card::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.18);
  mix-blend-mode: screen;
  pointer-events:none;
}
.cr-card:hover,
.cr-card:focus-within{
  transform: translateY(-6px);
  border-color: rgba(226, 232, 240, 0.36);
  box-shadow: 0 40px 110px rgba(15, 23, 42, 0.55);
}
.cr-card.cr-card-feature{
  border-color: rgba(31, 110, 92, 0.52);
  background:
    radial-gradient(circle at 14% 18%, rgba(56, 189, 148, 0.22), transparent 48%),
    linear-gradient(150deg, rgba(16, 31, 26, 0.92) 0%, rgba(10, 24, 19, 0.94) 58%, rgba(7, 20, 16, 0.96) 100%);
  box-shadow: 0 42px 120px rgba(31, 110, 92, 0.24);
}
.cr-card.cr-card-feature::before{
  border-color: rgba(56, 189, 148, 0.34);
}
.cr-card-meta{
  margin:0;
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight:500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.76);
}
.cr-card-author{
  display:flex;
  align-items:center;
  gap: clamp(10px, 2.4vw, 14px);
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight:500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.86);
}
.cr-card-author-avatar{
  width: clamp(24px, 4.2vw, 28px);
  height: clamp(24px, 4.2vw, 28px);
  padding: clamp(2px, 0.6vw, 3px);
  border-radius: 999px;
  background-color: #fff;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-sizing: border-box;
}
.cr-card-author-byline{
  letter-spacing: .18em;
}
.cr-card-feature .cr-card-meta{ color: rgba(94, 234, 212, 0.82); }
.cr-card h3{
  margin:0;
  font-family: var(--display);
  font-size: clamp(22px, 4.6vw, 30px);
  font-weight:600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cr-card-summary{
  margin:0;
  font-family: var(--family);
  font-size: clamp(15px, 3vw, 19px);
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.7;
}
.cr-card-actions{ margin-top: auto; }
.cr-card-link{
  display:inline-flex;
  align-items:center;
  gap: clamp(8px, 1.8vw, 12px);
  font-family: var(--mono);
  font-size: clamp(13px, 2.4vw, 16px);
  font-weight:500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}
.cr-card-link::after{
  content: "→";
  display:inline-block;
  font-size: clamp(15px, 3vw, 18px);
  transform: translateX(0);
  transition: transform .2s ease;
}
.cr-card-link:hover,
.cr-card-link:focus-visible{ color: var(--accent-dark); }
.cr-card-link:hover::after,
.cr-card-link:focus-visible::after{ transform: translateX(4px); }
.cr-card-link:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
.cr-card-link--primary{
  color:#050505;
  background: var(--accent);
  border-radius: 999px;
  padding: clamp(12px, 3vw, 16px) clamp(22px, 5vw, 30px);
  box-shadow: 0 22px 48px rgba(31, 110, 92, 0.34);
}
.cr-card-link--primary::after{ color:#050505; }
.cr-card-link--primary:hover,
.cr-card-link--primary:focus-visible{
  color:#050505;
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 28px 62px rgba(31, 110, 92, 0.36);
}
.cr-card-link--primary:hover::after,
.cr-card-link--primary:focus-visible::after{ transform: translateX(6px); }

.cr-section-spaced{
  position: relative;
  margin: clamp(40px, 8vw, 72px) auto;
  max-width: 880px;
}
.cr-section-spaced::before{
  content:"";
  position:absolute;
  top: calc(-1 * clamp(28px, 6vw, 44px));
  left:50%;
  transform: translateX(-50%);
  width: min(240px, 62%);
  height:1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0) 0%, rgba(148, 163, 184, 0.38) 50%, rgba(148, 163, 184, 0) 100%);
  pointer-events:none;
}

.cr-section-card{
  border-radius: 28px;
  padding: clamp(24px, 5.4vw, 34px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 18% 12%, rgba(148, 163, 184, 0.16), transparent 52%),
    linear-gradient(150deg, rgba(15, 18, 26, 0.88) 0%, rgba(10, 14, 22, 0.9) 52%, rgba(5, 8, 14, 0.92) 100%);
  box-shadow: 0 30px 96px rgba(2, 6, 23, 0.48);
  backdrop-filter: blur(6px);
}
.cr-section-card > *{ position: relative; z-index:1; }

.cr-card.cr-newsletter{
  color: #0b0b0b;
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow: 0 26px 78px rgba(15, 23, 42, 0.22);
  backdrop-filter: none;
}
.cr-card.cr-newsletter::before{
  border-color: rgba(148, 163, 184, 0.18);
  mix-blend-mode: normal;
}
.cr-newsletter-eyebrow{
  margin:0;
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  font-weight:500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(100, 116, 139, 0.88);
}
.cr-newsletter h3{
  margin:0;
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 36px);
  font-weight:600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111827;
}
.cr-newsletter-copy{
  margin:0;
  font-size: clamp(14px, 2.8vw, 18px);
  color: rgba(30, 41, 59, 0.82);
  line-height:1.7;
}
.cr-newsletter-form{ margin-top: clamp(8px, 2vw, 14px); }
.cr-newsletter-form > div{ width:100%; }

/* Social buttons block */
.cr-social-buttons{
  position:absolute; z-index:3; left:50%;
  bottom: calc(var(--hero-social-bottom) + env(safe-area-inset-bottom, 0px));
  transform: translate3d(-50%, 0, 0);
  display:flex; flex-direction:column; align-items:center;
  gap: var(--hero-social-gap); margin:0; padding:0; width: var(--hero-social-width);
}

.cr-social-button{
  --icon-color: var(--accent);
  --icon-color-hover: var(--accent-dark);
  --icon-color-active: var(--accent);

  --button-lean: 0deg;
  --button-translate-x: 0px;
  --button-translate-y: 0px;

  --shadow-rest-x: 6px;
  --shadow-rest-y: 8px;
  --shadow-rest-color: rgba(31,110,92,.28);
  --shadow-hover-x: calc(var(--shadow-rest-x) + 3px);
  --shadow-hover-y: calc(var(--shadow-rest-y) + 3px);
  --shadow-hover-color: rgba(56,189,148,.34);
  --shadow-active-x: 3px;
  --shadow-active-y: 4px;
  --shadow-active-color: rgba(20,81,67,.42);
  --shadow-current-x: var(--shadow-rest-x);
  --shadow-current-y: var(--shadow-rest-y);
  --shadow-current-color: var(--shadow-rest-color);

  --before-rotate: -1.6deg;
  --before-rotate-hover: calc(var(--before-rotate) - 0.8deg);
  --before-rotate-active: calc(var(--before-rotate) + 0.4deg);
  --before-shift-x: 0px;
  --before-shift-y: 0px;
  --before-rotate-current: var(--before-rotate);
  --before-shift-x-current: var(--before-shift-x);
  --before-shift-y-current: var(--before-shift-y);

  --after-rotate: 0.9deg;
  --after-rotate-hover: calc(var(--after-rotate) + 0.8deg);
  --after-rotate-active: calc(var(--after-rotate) - 0.3deg);
  --after-shift-x: 0px;
  --after-shift-y: 0px;
  --after-rotate-current: var(--after-rotate);
  --after-shift-x-current: var(--after-shift-x);
  --after-shift-y-current: var(--after-shift-y);

  --button-top: rgba(22,22,21,.96);
  --button-mid: rgba(12,12,11,.92);
  --button-bottom: rgba(7,7,7,.9);
  --button-top-active: rgba(14,14,13,.95);
  --button-mid-active: rgba(8,8,8,.92);
  --button-bottom-active: rgba(4,4,4,.9);

  position:relative; display:inline-flex; align-items:center; justify-content:center;
  gap: clamp(8px, 2.4vw, 14px);
  padding: clamp(9px, 2.3vw, 12px) clamp(18px, 3vw, 22px);
  border:2px solid rgba(247,243,231,.2);
  border-radius: clamp(16px, 3vw, 22px);
  background: linear-gradient(180deg, var(--button-top) 0%, var(--button-mid) 60%, var(--button-bottom) 100%);
  color:var(--ink);
  font-family:var(--display);
  font-size: clamp(14px, 2.8vw, 17px);
  letter-spacing:.08em; text-transform:uppercase; text-decoration:none;
  text-align:center; line-height:1.2;
  box-shadow: var(--shadow-current-x) var(--shadow-current-y) 0 var(--shadow-current-color);
  transform: translate3d(var(--button-translate-x), var(--button-translate-y), 0) rotate(var(--button-lean));
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    box-shadow 220ms cubic-bezier(.2,.8,.2,1),
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}
.cr-social-button::before,
.cr-social-button::after{
  content:""; position:absolute; inset: clamp(-8px, -1.8vw, -4px);
  border-radius: inherit; pointer-events:none;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease;
}
.cr-social-button::before{
  border:2px dashed rgba(247,243,231,.22);
  transform: rotate(var(--before-rotate-current)) translate3d(var(--before-shift-x-current), var(--before-shift-y-current), 0);
  opacity:.75;
}
.cr-social-button::after{
  border:2px solid rgba(247,243,231,.48);
  transform: rotate(var(--after-rotate-current)) translate3d(var(--after-shift-x-current), var(--after-shift-y-current), 0);
  opacity:.85;
}
.cr-social-button:hover,
.cr-social-button:focus-visible{
  --button-translate-x: -2px;
  --button-translate-y: -2px;
  --shadow-current-x: var(--shadow-hover-x);
  --shadow-current-y: var(--shadow-hover-y);
  --shadow-current-color: var(--shadow-hover-color);
  --before-rotate-current: var(--before-rotate-hover);
  --before-shift-x-current: calc(var(--before-shift-x) - 1px);
  --before-shift-y-current: calc(var(--before-shift-y) - 1px);
  --after-rotate-current: var(--after-rotate-hover);
  --after-shift-x-current: calc(var(--after-shift-x) + 1px);
  --after-shift-y-current: calc(var(--after-shift-y) + 1px);
  border-color: rgba(247,243,231,.32);
}
.cr-social-button:focus-visible{ outline:3px solid rgba(31,110,92,.6); outline-offset:8px; }
.cr-social-button:active,
.cr-social-button.is-pressed{
  --button-translate-x: 1px;
  --button-translate-y: 1px;
  --shadow-current-x: var(--shadow-active-x);
  --shadow-current-y: var(--shadow-active-y);
  --shadow-current-color: var(--shadow-active-color);
  --before-rotate-current: var(--before-rotate-active);
  --before-shift-x-current: var(--before-shift-x);
  --before-shift-y-current: var(--before-shift-y);
  --after-rotate-current: var(--after-rotate-active);
  --after-shift-x-current: var(--after-shift-x);
  --after-shift-y-current: var(--after-shift-y);
  border-color: rgba(247,243,231,.34);
  background: linear-gradient(180deg, var(--button-top-active) 0%, var(--button-mid-active) 70%, var(--button-bottom-active) 100%);
}

.cr-social-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width: clamp(20px, 4vw, 28px); height: clamp(20px, 4vw, 28px);
  color: var(--icon-color);
  transition: color 200ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
}
.cr-social-icon svg{ width:100%; height:100%; }
.cr-social-label{ display:inline-block; }
.cr-social-button:hover .cr-social-icon,
.cr-social-button:focus-visible .cr-social-icon{ color: var(--icon-color-hover); transform: translate3d(-1px,-1px,0); }
.cr-social-button:active .cr-social-icon,
.cr-social-button.is-pressed .cr-social-icon{ color: var(--icon-color-active); transform: translate3d(1px,1px,0); }

#cr-hero .cr-social-button{
  width:100%; max-width:100%; justify-content:center;
  padding: clamp(9px, 2.2vw, 13px) clamp(18px, 3vw, 22px);
  font-size: clamp(14px, 2.6vw, 17px);
}

/* per-network accents */
.cr-social-button[data-social="instagram"]{
  --icon-color: #f77737; --icon-color-hover: #f56040; --icon-color-active: #d62976;
  --button-lean: -0.6deg; --before-rotate: -1.25deg; --after-rotate: 1.45deg;
  --before-shift-x: -1px; --after-shift-x: 1px;
  --shadow-rest-x: 5px; --shadow-rest-y: 7px;
  --shadow-rest-color: rgba(31,110,92,.3); --shadow-hover-color: rgba(56,189,148,.36);
  --button-top: rgba(34,26,18,.97); --button-mid: rgba(20,15,12,.94); --button-bottom: rgba(12,9,7,.92);
  --button-top-active: rgba(22,18,14,.95); --button-mid-active: rgba(14,11,8,.92); --button-bottom-active: rgba(8,6,5,.9);
  border-radius: clamp(18px, 3vw, 24px) clamp(20px, 3vw, 24px) clamp(18px, 3vw, 22px) clamp(16px, 3vw, 20px);
}
.cr-social-button[data-social="tiktok"]{
  --icon-color: #25f4ee; --icon-color-hover: #ff0050; --icon-color-active: #fe2c55;
  --button-lean: 0.8deg; --before-rotate: -1.85deg; --after-rotate: 0.75deg;
  --before-shift-y: 1px; --after-shift-y: -1px;
  --shadow-rest-x: 6px; --shadow-rest-y: 8px;
  --shadow-hover-x: calc(var(--shadow-rest-x) + 4px); --shadow-hover-y: calc(var(--shadow-rest-y) + 3px);
  --shadow-hover-color: rgba(56,189,148,.32);
  --button-top: rgba(18,24,28,.96); --button-mid: rgba(12,16,20,.93); --button-bottom: rgba(7,10,13,.92);
  --button-top-active: rgba(12,18,22,.95); --button-mid-active: rgba(8,12,16,.92); --button-bottom-active: rgba(4,6,10,.9);
  border-radius: clamp(18px, 3vw, 22px) clamp(16px, 3vw, 20px) clamp(22px, 3vw, 26px) clamp(18px, 3vw, 22px);
}
.cr-social-button[data-social="youtube"]{
  --icon-color: #ff0033; --icon-color-hover: #ff5f57; --icon-color-active: #e6002d;
  --button-lean: -0.3deg; --before-rotate: -1.5deg; --after-rotate: 1.1deg; --after-shift-y: -1px;
  --shadow-rest-x: 7px; --shadow-rest-y: 9px;
  --shadow-rest-color: rgba(31,110,92,.26); --shadow-hover-color: rgba(56,189,148,.34);
  --button-top: rgba(30,14,14,.96); --button-mid: rgba(18,9,9,.93); --button-bottom: rgba(10,5,5,.92);
  --button-top-active: rgba(18,10,10,.95); --button-mid-active: rgba(12,7,7,.92); --button-bottom-active: rgba(6,4,4,.9);
  border-radius: clamp(20px, 3vw, 26px) clamp(18px, 3vw, 24px) clamp(16px, 3vw, 20px) clamp(18px, 3vw, 22px);
}
.cr-social-button[data-social="bluesky"]{
  --icon-color: #1185fe; --icon-color-hover: #4aa8ff; --icon-color-active: #0b6ed1;
  --button-lean: 0.25deg; --before-rotate: -1.95deg; --after-rotate: 0.6deg;
  --before-shift-x: -2px; --before-shift-y: 1px; --after-shift-x: 2px; --after-shift-y: -1px;
  --shadow-rest-x: 5px; --shadow-rest-y: 8px;
  --shadow-rest-color: rgba(31,110,92,.24); --shadow-hover-color: rgba(56,189,148,.32);
  --button-top: rgba(18,24,32,.96); --button-mid: rgba(11,16,22,.93); --button-bottom: rgba(6,10,16,.92);
  --button-top-active: rgba(12,18,26,.95); --button-mid-active: rgba(8,12,18,.92); --button-bottom-active: rgba(4,7,12,.9);
  border-radius: clamp(18px, 3vw, 24px) clamp(16px, 3vw, 20px) clamp(20px, 3vw, 26px) clamp(18px, 3vw, 24px);
}

footer{
  padding:24px clamp(18px,8vw,40px) 40px;
  color:var(--muted); font-family:var(--mono); font-size:12px;
  font-weight:500; letter-spacing:.2em; text-transform:uppercase; border-top:1px solid var(--border);
}

@media (max-width: 540px){
  #cr-copy{
    --hero-copy-base-top: clamp(10px, 4.4vh, 7.4vh);
    left: clamp(12px, 6vw, 20px);
    width: min(92%, 34ch);
  }
  #cr-copy .cr-line:first-child{ font-size: clamp(30px,15vw,40px); }
  #cr-copy .cr-line-secondary{ font-size: clamp(16px,6.8vw,20px); }
  :root{ --hero-social-width: min(82vw, 198px); }
  .cr-card{ border-radius:12px; }
  #cr-secret{ bottom: clamp(16px,18vh,56px); }
}

@media (prefers-reduced-motion: reduce){
  .cr-base, .cr-overlay{ display:none !important; }
  .cr-fallback{ opacity:1 !important; }
  .cr-overlay{ transform:none !important; }
}

/* Press page layouts */
.press-grid {
  display: grid;
  gap: clamp(24px, 5vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}

.press-grid > * {
  min-width: 0;
}

.page-press .press-grid {
  grid-template-columns: minmax(0, 1fr);
}

.press-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 34px 96px rgba(15, 23, 42, 0.18);
  color: #0f172a;
}

.press-card::before {
  display: none;
}

.press-card .cr-card-meta {
  color: #1e293b;
}

.press-card h2,
.press-card h3 {
  color: #0f172a;
}

.press-card p {
  color: #1f2937;
}

.press-bio {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 44px);
}

.press-bio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 32px);
  align-items: end;
}

.press-bio-media {
  margin: 0;
  display: flex;
  justify-content: flex-start;
}

.press-bio-frame {
  position: relative;
  width: min(100%, clamp(260px, 54vw, 360px));
  aspect-ratio: 5 / 6;
  border-radius: clamp(32px, 6vw, 44px);
  background:
    radial-gradient(circle at 18% 16%, rgba(14, 116, 144, 0.12), transparent 56%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 42px 96px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.28);
  overflow: hidden;
}

.press-bio-photo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(220px, 48vw, 340px);
  max-width: none;
  height: auto;
  transform: translate(-8%, 6%);
}

.press-bio-copy {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.press-bio-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-bio-copy p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}

.press-contact-list {
  list-style: none;
  margin: clamp(10px, 2.6vw, 16px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 2.6vw, 16px);
}

.press-contact-link {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 16px);
  font-family: var(--mono);
  font-size: clamp(13px, 2.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-dark);
  transition: color 200ms ease, transform 200ms ease;
}

.press-contact-link:hover,
.press-contact-link:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.press-contact-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.press-contact-icon {
  width: clamp(30px, 6vw, 40px);
  height: clamp(30px, 6vw, 40px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 116, 144, 0.08);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.32);
}

.press-contact-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.press-contact-label {
  line-height: 1.3;
  color: inherit;
}

.press-contact-note {
  margin: clamp(16px, 3vw, 22px) 0 0;
  font-size: clamp(14px, 2.4vw, 16px);
  color: #475569;
}

.press-bio-reporting {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding-top: clamp(20px, 4vw, 32px);
  display: grid;
  gap: clamp(18px, 3.6vw, 26px);
}

.press-bio-reporting h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 4.4vw, 30px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.press-reporting-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 3.6vw, 26px);
}

.press-reporting-item {
  display: grid;
  gap: clamp(8px, 2.6vw, 14px);
  padding: clamp(16px, 3.4vw, 22px);
  border-radius: 22px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.press-reporting-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #475569;
}

.press-reporting-link {
  font-family: var(--display);
  font-size: clamp(18px, 4.4vw, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.3;
}

.press-reporting-link:hover,
.press-reporting-link:focus-visible {
  color: #0369a1;
}

.press-reporting-link:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 4px;
}

.press-reporting-summary {
  margin: 0;
  color: #1f2937;
  line-height: 1.6;
}

@media (min-width: 880px) {
  .press-bio-intro {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
    align-items: center;
  }

  .press-bio-media {
    justify-self: start;
  }

  .press-bio-photo {
    width: clamp(260px, 32vw, 360px);
    transform: translate(-14%, 4%);
  }

  .press-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .press-bio-photo {
    width: clamp(220px, 76vw, 300px);
    transform: translate(-10%, 8%);
  }
}

#news-following {
  max-width: min(1180px, 96vw);
  width: min(1180px, 100%);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
  position: relative;
  z-index: 1;
}

#news-following > h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 4.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#news-following .nf-panels {
  display: grid;
  gap: clamp(16px, 4vw, 24px);
  margin-top: clamp(14px, 3vw, 20px);
}

@media (min-width: 768px) {
  #news-following .nf-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-press #news-following .nf-panels {
  grid-template-columns: minmax(0, 1fr);
}

#news-following .nf-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 3vw, 18px);
  padding: clamp(18px, 4vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background:
    radial-gradient(circle at 18% 14%, rgba(148, 163, 184, 0.16), transparent 46%),
    linear-gradient(160deg, rgba(12, 17, 26, 0.92) 0%, rgba(9, 14, 24, 0.94) 52%, rgba(6, 10, 18, 0.96) 100%);
  box-shadow: 0 24px 68px rgba(2, 6, 23, 0.48);
}

#news-following .nf-panel-title {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(13px, 2.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

#news-following .nf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(14px, 3vw, 20px);
}

#news-following .nf-item {
  padding: clamp(12px, 3vw, 18px);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.16);
  display: grid;
  gap: clamp(6px, 2vw, 10px);
}

#news-following .nf-item a {
  text-decoration: none;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(17px, 3.8vw, 21px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#news-following .nf-item a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

#news-following .nf-source {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.62);
}

#news-following .nf-headline {
  margin: 0;
  font-size: clamp(15px, 2.8vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

#news-following .nf-meta {
  font-family: var(--mono);
  font-size: clamp(12px, 2.2vw, 14px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

#news-following .nf-meta span {
  display: inline-flex;
  align-items: center;
}

#news-following .nf-summary {
  margin: 0;
  font-size: clamp(14px, 2.8vw, 17px);
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.6;
}

#news-following .nf-tags {
  font-family: var(--mono);
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.66);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
}

#news-following .nf-tags span {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

#news-following .nf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(248, 113, 113, 0.18);
  color: rgba(248, 113, 113, 0.92);
  font-family: var(--mono);
  font-size: clamp(11px, 2.1vw, 13px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

#news-following .nf-status {
  margin-top: clamp(12px, 2.8vw, 18px);
  font-family: var(--mono);
  font-size: clamp(12px, 2.2vw, 14px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

#news-following .nf-status[hidden] {
  display: none;
}

#news-following .nf-footer {
  margin-top: clamp(6px, 1.6vw, 10px);
}

#news-following .nf-see-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 116, 144, 0.3);
  background: rgba(14, 116, 144, 0.12);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

#news-following .nf-see-all--primary {
  font-weight: 700;
  border-color: rgba(14, 116, 144, 0.6);
  background: linear-gradient(140deg, rgba(14, 116, 144, 0.86), rgba(14, 116, 144, 0.46));
  color: #041017;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.35);
}

#news-following .nf-see-all:hover,
#news-following .nf-see-all:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(14, 116, 144, 0.5);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
}

/* Dedicated news feed page */
body.page-news {
  background: radial-gradient(circle at 16% 18%, rgba(148, 163, 184, 0.08), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(14, 116, 144, 0.14), transparent 34%),
    linear-gradient(180deg, #0c111a 0%, #0a0f19 52%, #060a12 100%);
  color: var(--ink);
  min-height: 100vh;
}

.page-news #cr-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 30px) clamp(18px, 5vw, 38px) clamp(32px, 6vw, 54px);
  display: grid;
  gap: clamp(20px, 4vw, 30px);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-brand__home {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(20px, 4.2vw, 26px);
  font-weight: 700;
}

.news-brand__subtitle {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: clamp(11px, 2.4vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 231, 0.78);
}

.news-back-home {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 116, 144, 0.3);
  background: rgba(14, 116, 144, 0.1);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.news-back-home:hover,
.news-back-home:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(14, 116, 144, 0.5);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.3);
}

.news-intro {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.news-intro__copy {
  display: grid;
  gap: 10px;
}

.news-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(12px, 2.6vw, 14px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 243, 231, 0.7);
}

.news-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 42px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-intro__lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 3vw, 18px);
  max-width: 72ch;
}

.news-intro__note {
  margin: 0;
  color: rgba(247, 243, 231, 0.86);
  font-size: clamp(14px, 2.8vw, 17px);
}

.news-controls {
  display: grid;
  gap: clamp(14px, 3vw, 20px);
}

.news-toggle {
  display: inline-flex;
  background: rgba(10, 17, 32, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  padding: 6px;
  gap: 8px;
  align-self: flex-start;
}

.news-toggle__btn {
  border: none;
  background: transparent;
  color: rgba(247, 243, 231, 0.82);
  font-family: var(--mono);
  font-size: clamp(12px, 2.5vw, 14px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}

.news-toggle__btn.is-active {
  background: linear-gradient(140deg, rgba(14, 116, 144, 0.85), rgba(14, 116, 144, 0.48));
  color: #0b121b;
  font-weight: 700;
  transform: translateY(-1px);
}

.news-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.news-filter {
  display: grid;
  gap: 6px;
}

.news-filter--range {
  grid-column: 1 / -1;
}

.news-filter__label {
  font-family: var(--mono);
  font-size: clamp(11px, 2.4vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 231, 0.72);
}

.news-filter input,
.news-filter select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(10, 17, 32, 0.7);
  color: var(--ink);
  font-family: var(--family);
  font-size: 15px;
}

.news-filter--range .news-filter__range-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.news-filter__dash {
  font-family: var(--mono);
  color: rgba(247, 243, 231, 0.7);
}

@media (min-width: 720px) {
  .news-filters {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (min-width: 1040px) {
  .news-filters {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .news-filter--range .news-filter__range-fields {
    grid-template-columns: 1fr;
  }

  .news-filter__dash {
    display: none;
  }
}

.news-results {
  display: grid;
  gap: clamp(14px, 3vw, 20px);
}

.news-results__status {
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 231, 0.8);
}

.news-results__status[hidden] {
  display: none;
}

.news-results__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(12px, 3vw, 18px);
}

.news-item {
  padding: clamp(14px, 3.4vw, 18px);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 8px;
}

.news-item__title {
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(18px, 3.6vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-item__meta {
  font-family: var(--mono);
  font-size: clamp(12px, 2.4vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.news-item__summary {
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  line-height: 1.6;
  font-size: clamp(14px, 2.8vw, 17px);
}

.news-item__tags {
  font-family: var(--mono);
  font-size: clamp(11px, 2.3vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
}

.news-item__tags span {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.news-comment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.06);
  border: 1px solid rgba(14, 116, 144, 0.32);
}

.news-comment__avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(14, 116, 144, 0.4);
}

.news-comment__body {
  display: grid;
  gap: 6px;
}

.news-comment__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 116, 144, 0.9);
}

.news-comment__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.55;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  font-family: var(--mono);
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.news-badge--paywall {
  background: rgba(248, 113, 113, 0.18);
  color: rgba(248, 113, 113, 0.92);
}

.news-footer {
  margin-top: clamp(18px, 4vw, 26px);
  text-align: center;
  color: rgba(247, 243, 231, 0.74);
}
