/* Hop'n Bar Figma V1 — Home + Partners.
   Loaded after hopnbar.css and scoped to .v1-page. */

.v1-page {
  --v1-bg: #f4f2ef;
  --v1-bg-subtle: #eae7e1;
  --v1-panel: #ffffff;
  --v1-text: #0f1b2d;
  --v1-muted: #44505f;
  --v1-soft: #667180;
  --v1-line: rgba(15, 27, 45, .12);
  --v1-line-strong: rgba(15, 27, 45, .22);
  --v1-accent: #d64323;
  --v1-accent-hover: #b9351d;
  --v1-dark: #0f1b2d;
  --v1-dark-panel: #132238;
  --v1-dark-text: #f6f2eb;
  --v1-shadow-soft: 0 12px 36px rgba(15, 27, 45, .08);
  --v1-shadow: 0 24px 70px rgba(15, 27, 45, .14);
  --v1-radius-sm: 10px;
  --v1-radius: 18px;
  --v1-radius-lg: 24px;
  --v1-container: 1280px;
  margin: 0;
  background: var(--v1-bg);
  color: var(--v1-text);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Home uses the wider editorial canvas approved for large desktop screens. */
.home-page { --v1-container: 1440px; }

:root:has(#theme-switch:checked) .v1-page {
  --v1-bg: #0f1b2d;
  --v1-bg-subtle: #14223a;
  --v1-panel: #172a44;
  --v1-text: #eef2f7;
  --v1-muted: #b6c0cf;
  --v1-soft: #98a5b7;
  --v1-line: rgba(238, 242, 247, .12);
  --v1-line-strong: rgba(238, 242, 247, .24);
  --v1-accent: #ff7657;
  --v1-accent-hover: #ff9278;
  --v1-dark: #091421;
  --v1-dark-panel: #091421;
  --v1-dark-text: #f6f2eb;
  --v1-shadow-soft: 0 14px 38px rgba(0, 0, 0, .26);
  --v1-shadow: 0 28px 76px rgba(0, 0, 0, .38);
}

.v1-page *,
.v1-page *::before,
.v1-page *::after { box-sizing: border-box; }

.v1-page a { color: inherit; text-decoration: none; }
.v1-page img,
.v1-page video { display: block; max-width: 100%; }
.v1-page p { margin: 0; }
.v1-page h1,
.v1-page h2,
.v1-page h3 {
  margin: 0;
  color: var(--v1-text);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.06;
}
.v1-page h1 { font-size: clamp(2.65rem, 1.85rem + 3vw, 5rem); }
.v1-page h2 { max-width: 22ch; font-size: clamp(2rem, 1.5rem + 1.7vw, 3.35rem); }
.v1-page h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.45rem); line-height: 1.18; }
.v1-page :focus-visible { outline: 3px solid var(--v1-accent); outline-offset: 3px; }

.v1-page main { display: block; padding-top: 72px; }
.v1-container { width: min(var(--v1-container), calc(100% - 64px)); margin-inline: auto; }
.v1-section { padding: clamp(64px, 7vw, 96px) 0; background: var(--v1-bg); }
.v1-section + .v1-section { border-top: 1px solid var(--v1-line); }
.v1-section-subtle { background: var(--v1-bg-subtle); }
.v1-section-grid { margin-top: 42px; }

.v1-eyebrow {
  margin-bottom: 16px !important;
  color: var(--v1-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.v1-lead { max-width: 64ch; color: var(--v1-muted); font-size: clamp(1rem, .94rem + .3vw, 1.18rem); }
.v1-note { margin-top: 14px !important; color: var(--v1-soft); font-size: .8rem; }
.v1-text-link { display: inline-flex; margin-top: 18px; color: var(--v1-accent); font-weight: 700; border-bottom: 1px solid transparent; }
.v1-text-link:hover { border-color: currentColor; }

.v1-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 max(32px, calc((100vw - var(--v1-container)) / 2));
  border-bottom: 1px solid var(--v1-line);
  background: color-mix(in srgb, var(--v1-bg) 92%, transparent);
  backdrop-filter: blur(18px);
}
.v1-brand { display: inline-flex; align-items: center; flex: none; }
.v1-brand img { width: 86px; height: auto; }
.v1-nav { display: flex; justify-content: flex-end; align-items: center; gap: 28px; color: var(--v1-muted); font-size: .84rem; }
.v1-nav a:hover { color: var(--v1-text); }
.v1-header-actions { display: flex; align-items: center; gap: 14px; }
.v1-theme { cursor: pointer; }
.v1-theme input { position: absolute; opacity: 0; pointer-events: none; }
.v1-theme span {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--v1-line-strong);
  border-radius: 999px;
  overflow: hidden;
  font-size: .68rem;
}
.v1-theme b { padding: 7px 9px; font-weight: 600; color: var(--v1-soft); }
.v1-theme b:first-child { color: var(--v1-panel); background: var(--v1-text); }
:root:has(#theme-switch:checked) .v1-theme b:first-child { color: var(--v1-soft); background: transparent; }
:root:has(#theme-switch:checked) .v1-theme b:last-child { color: #17110a; background: var(--v1-accent); }
.v1-menu { display: none; position: relative; }
.v1-menu summary { cursor: pointer; list-style: none; font-size: .78rem; font-weight: 700; }
.v1-menu summary::-webkit-details-marker { display: none; }
.v1-menu > div {
  position: absolute;
  top: 40px;
  right: 0;
  min-width: 230px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-sm);
  background: var(--v1-panel);
  box-shadow: var(--v1-shadow);
}
.v1-menu a { padding: 10px 12px; border-radius: 8px; }
.v1-menu a:hover { background: var(--v1-bg-subtle); }

.v1-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.v1-btn:hover { transform: translateY(-1px); }
.v1-btn-primary { color: #fff8f1 !important; background: var(--v1-accent); border-color: var(--v1-accent); }
.v1-btn-primary:hover { background: var(--v1-accent-hover); border-color: var(--v1-accent-hover); }
.v1-btn-secondary { color: var(--v1-text); background: var(--v1-panel); border-color: var(--v1-line-strong); }
.v1-btn-secondary:hover { border-color: var(--v1-accent); }
.v1-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.v1-hero { min-height: 760px; display: flex; align-items: center; }
.v1-hero-grid { display: grid; grid-template-columns: minmax(560px, .95fr) minmax(560px, 1.05fr); gap: clamp(64px, 6vw, 120px); align-items: center; }
.v1-hero-copy { max-width: 760px; }
.v1-hero-copy h1 { max-width: 14.5ch; }
.v1-hero-copy .v1-lead { margin-top: 24px; }
.v1-media { overflow: hidden; border-radius: var(--v1-radius); background: var(--v1-bg-subtle); }
.v1-media img,
.v1-media video { width: 100%; height: 100%; object-fit: cover; }
.v1-hero-media { height: 620px; box-shadow: var(--v1-shadow-soft); }

.v1-proof-card {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-lg);
  background: var(--v1-bg-subtle);
}
.v1-proof-card h2 { margin-bottom: 20px; }
.v1-proof-card p:not(.v1-eyebrow):not(.v1-note) { color: var(--v1-muted); }
.v1-proof-media { height: 356px; }

.v1-grid { display: grid; gap: 20px; }
.v1-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v1-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v1-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-sm);
  background: var(--v1-panel);
  box-shadow: 0 3px 0 rgba(15, 27, 45, .02);
}
.v1-card h3 + p { margin-top: 12px; }
.v1-card p { color: var(--v1-muted); font-size: .9rem; }
.v1-step > span,
.v1-venue > span {
  display: block;
  margin-bottom: 18px;
  color: var(--v1-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v1-dark-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 72px;
  align-items: center;
  padding: 48px;
  border-radius: var(--v1-radius-lg);
  background: var(--v1-dark-panel);
  color: var(--v1-dark-text);
}
.v1-dark-panel h2 { color: var(--v1-dark-text); }
.v1-dark-panel p:not(.v1-eyebrow) { margin-top: 18px; color: rgba(246, 242, 235, .76); }
.v1-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.v1-checks li { position: relative; padding-left: 26px; }
.v1-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--v1-accent); font-weight: 800; }

.v1-studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 70px; align-items: center; }
.v1-studio-grid > div:first-child > p:not(.v1-eyebrow) { margin-top: 22px; color: var(--v1-muted); max-width: 62ch; }
.v1-studio-preview { padding: 34px; border-radius: var(--v1-radius-lg); background: var(--v1-panel); box-shadow: var(--v1-shadow-soft); }
.v1-studio-preview ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: studio; }
.v1-studio-preview li { counter-increment: studio; padding: 18px; border-radius: 8px; background: var(--v1-bg-subtle); color: var(--v1-muted); }
.v1-studio-preview li::before { content: "0" counter(studio) " "; color: var(--v1-accent); font-weight: 800; }

.v1-timeline {
  margin: 44px 0 0;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-lg);
  background: var(--v1-panel);
}
.v1-timeline li { min-width: 0; position: relative; display: grid; align-content: start; gap: 10px; padding-right: 8px; }
.v1-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 15px; right: -4px; width: 18px; height: 1px; background: var(--v1-line-strong); }
.v1-timeline span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--v1-accent); font-size: .63rem; font-weight: 800; }
.v1-timeline b { color: var(--v1-text); font-size: .76rem; line-height: 1.25; }

.v1-founder-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-lg);
  background: var(--v1-panel);
}
.v1-founder-photo { margin: 0; height: 356px; overflow: hidden; border-radius: var(--v1-radius); background: var(--v1-bg-subtle); }
.v1-founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.v1-founder-card h2 { max-width: none; }
.v1-founder-card p { margin-top: 22px; max-width: 74ch; color: var(--v1-muted); font-size: 1.05rem; }

.v1-partner-teaser {
  padding: 42px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius-lg);
  background: var(--v1-panel);
}
.v1-partner-teaser p:not(.v1-eyebrow) { margin: 20px 0 26px; max-width: 76ch; color: var(--v1-muted); }

.v1-contact-panel { padding: 42px; border-radius: var(--v1-radius-lg); background: var(--v1-dark-panel); color: var(--v1-dark-text); }
.v1-contact-panel > h2 { color: var(--v1-dark-text); }
.v1-contact-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v1-contact-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: var(--v1-radius-sm); background: var(--v1-panel); color: var(--v1-text); }
.v1-contact-card p:not(.v1-eyebrow) { margin: 12px 0 22px; color: var(--v1-muted); }
.v1-contact-card .v1-text-link { margin-top: 14px; }
.v1-contact-details { margin-top: 24px !important; color: rgba(246, 242, 235, .82); font-size: .84rem; }
.v1-contact-details a:hover { color: var(--v1-accent); }

.v1-footer { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.1); background: var(--v1-dark); color: rgba(246, 242, 235, .82); }
.v1-footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.v1-footer .v1-brand img { filter: none; }
.v1-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; font-size: .72rem; }
.v1-footer p { font-size: .72rem; }
.v1-footer a:hover { color: var(--v1-accent); }

/* Partners */
.partners-page .v1-hero { min-height: 708px; }
.partners-page .v1-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(520px, .96fr); }
.partners-page .v1-hero-copy h1 { max-width: 11ch; }
.v1-partners-proof { padding-top: 44px; }
.v1-stage-copy { max-width: 960px; }
.v1-stage-copy p:not(.v1-eyebrow) { margin-top: 24px; color: var(--v1-muted); font-size: 1.05rem; }
.v1-responsibility-grid { margin-top: 36px; }
.v1-responsibility-grid .v1-card { min-height: 200px; }
.v1-collaboration {
  padding: 72px 0;
  background: var(--v1-dark-panel);
  color: var(--v1-dark-text);
}
.v1-collaboration h2 { color: var(--v1-dark-text); }
.v1-collaboration p:not(.v1-eyebrow) { margin-top: 22px; max-width: 82ch; color: rgba(246, 242, 235, .78); }
.v1-partner-contact {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--v1-line);
  border-radius: var(--v1-radius);
  background: var(--v1-bg-subtle);
}
.v1-partner-contact h3 { margin-bottom: 8px; }
.v1-partner-contact p { color: var(--v1-muted); }
.v1-partner-contact .v1-actions { justify-content: flex-end; margin-top: 0; }

@media (max-width: 1180px) {
  .v1-container { width: min(var(--v1-container), calc(100% - 64px)); }
  .v1-header { padding-inline: 32px; }
  .v1-nav { gap: 18px; }
  .v1-header-cta { display: none; }
  .v1-hero-grid,
  .partners-page .v1-hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .v1-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v1-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
  .v1-timeline li:nth-child(4)::after { display: none; }
}

@media (max-width: 920px) {
  .v1-page main { padding-top: 66px; }
  .v1-header { height: 66px; grid-template-columns: auto 1fr auto; padding-inline: 16px; }
  .v1-brand img { width: 72px; }
  .v1-nav { display: none; }
  .v1-header-actions { justify-self: end; }
  .v1-theme { display: none; }
  .v1-menu { display: block; }
  .v1-container { width: calc(100% - 32px); }
  .v1-section { padding: 52px 0; }
  .v1-hero { min-height: 0; padding-top: 42px; }
  .v1-hero-grid,
  .partners-page .v1-hero-grid,
  .v1-proof-card,
  .v1-dark-panel,
  .v1-studio-grid,
  .v1-founder-card,
  .v1-partner-contact { grid-template-columns: 1fr; }
  .v1-hero-copy { max-width: none; }
  .v1-hero-copy h1,
  .partners-page .v1-hero-copy h1 { max-width: 15ch; }
  .v1-hero-media { height: min(68vw, 560px); order: 2; }
  .v1-proof-card { gap: 28px; padding: 24px; }
  .v1-proof-media { height: min(64vw, 400px); }
  .v1-grid-3 { grid-template-columns: 1fr; }
  .v1-dark-panel { gap: 32px; padding: 34px; }
  .v1-studio-grid { gap: 34px; }
  .v1-founder-card { gap: 28px; }
  .v1-founder-photo { width: min(100%, 430px); }
  .v1-partner-contact .v1-actions { justify-content: flex-start; }
  .v1-footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .v1-footer nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .v1-page h1 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .v1-page h2 { font-size: clamp(1.75rem, 8vw, 2.55rem); }
  .v1-section { padding: 46px 0; }
  .v1-actions { display: grid; grid-template-columns: 1fr; }
  .v1-btn { width: 100%; }
  .v1-hero-media { height: 430px; }
  .v1-grid-4 { grid-template-columns: 1fr; }
  .v1-card { padding: 22px; }
  .v1-proof-card { padding: 16px; border-radius: var(--v1-radius); }
  .v1-proof-media { height: 240px; }
  .v1-dark-panel,
  .v1-contact-panel,
  .v1-partner-teaser { padding: 26px; border-radius: var(--v1-radius); }
  .v1-studio-preview { padding: 22px; }
  .v1-timeline { grid-template-columns: 1fr; padding: 20px; }
  .v1-timeline li { min-height: 52px; grid-template-columns: 34px 1fr; align-items: center; }
  .v1-timeline li:not(:last-child)::after { top: 31px; left: 14px; right: auto; width: 1px; height: 42px; }
  .v1-timeline li:nth-child(4)::after { display: block; }
  .v1-founder-card { padding: 16px; }
  .v1-founder-photo { width: 100%; height: 390px; }
  .v1-founder-card p { font-size: .95rem; }
  .v1-contact-grid { grid-template-columns: 1fr; }
  .v1-contact-card { padding: 22px; }
  .v1-footer { padding: 28px 0; }
  .v1-footer nav { display: grid; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .v1-page *, .v1-page *::before, .v1-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
