/* Now Open Online — New-Site Kit sales site
   Locked 2026-09-13. Not the Ridge Studio brand book. */

:root {
  --paper: #FFF8EF;
  --ink: #221C18;
  --open: #E5342A;
  --open-deep: #C4251C;
  --sky: #6FB3D2;
  --line: #E8D4BC;
  --muted: #6E6056;
  --wash: #F3E6D4;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --max: 40rem;
  --wide: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--open-deep);
}

:focus-visible {
  outline: 2px solid var(--open);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-md);
}

h1 {
  font-size: clamp(2.6rem, 8vw, 4.25rem);
  font-style: italic;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

p {
  margin: 0 0 var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

li:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2.25rem, var(--wide));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2.25rem, var(--max));
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

/* Sign bar */
.signbar {
  height: 6px;
  background: var(--open);
}

/* Header */
.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand:hover .brand-mark__open {
  filter: brightness(1.05);
}

/* Connected wordmark: NOW + hanging OPEN sign + ONLINE */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-mark__now,
.brand-mark__online {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-mark__sign {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0.05rem;
}

.brand-mark__hook {
  width: 2px;
  height: 0.45rem;
  background: var(--ink);
  border-radius: 1px;
  margin-bottom: 1px;
}

.brand-mark__hook::before {
  content: "";
  position: absolute;
  top: -0.12rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  background: var(--paper);
}

.brand-mark__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.35rem;
  padding: 0.38rem 0.48rem 0.32rem;
  background: var(--open);
  color: #FFF8EF;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  border-radius: 4px;
  box-shadow:
    0 0 0 2px rgba(229, 52, 42, 0.18),
    0 2px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
}

@media (max-width: 520px) {
  .brand-mark {
    gap: 0.32rem;
  }
  .brand-mark__now,
  .brand-mark__online {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }
  .brand-mark__open {
    min-width: 2.9rem;
    font-size: 0.6rem;
    padding: 0.32rem 0.4rem 0.28rem;
  }
}

.nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--open-deep);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.9rem 1.45rem;
  border: 2px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  text-shadow: none;
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--open-deep);
  color: #fff;
  border-color: var(--open-deep);
}

.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section--wash {
  background: var(--wash);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink a {
  color: var(--paper);
}

.section--ink a:hover {
  color: #fff;
}

.kicker {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--open-deep);
  margin-bottom: 0.7rem;
}

.section--ink .kicker {
  color: var(--sky);
}

.lede {
  font-size: 1.2rem;
  max-width: 36rem;
}

.muted {
  color: var(--muted);
}

/* Hero */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 800px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--open-deep);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.3rem 0.65rem;
  margin-bottom: var(--space-sm);
  border-radius: 4px;
}

.hero__alt {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.hero__price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  font-style: normal;
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

.frame {
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
}

.frame img {
  width: 100%;
  height: auto;
  background: var(--wash);
}

.hero .frame {
  align-self: center;
}

.hero .frame img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background: var(--wash);
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  gap: 1.15rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.95rem;
  align-items: start;
  margin: 0;
  padding: 0;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--sky);
  color: var(--ink);
  border-radius: 50%;
}

.steps strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

/* Kit */
.kit {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .kit {
    grid-template-columns: 1fr 1fr;
  }
}

.kit li {
  margin: 0;
  padding: 1.25rem 1.25rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--open);
  border-radius: 2px;
}

.kit strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

/* Fit */
.fit {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .fit {
    grid-template-columns: 1fr 1fr;
  }
}

.fit-card {
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
}

.fit-card--yes {
  border-top: 4px solid var(--sky);
}

.fit-card--no {
  border-top: 4px solid var(--line);
}

.fit-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
}

/* Price */
.price-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 760px) {
  .price-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.price-card {
  padding: 1.75rem 1.6rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.price-card__amount {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  margin: 0 0 0.75rem;
}

.price-card__note {
  font-size: 1rem;
  color: var(--muted);
}

.pay {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: pay;
}

.pay li {
  counter-increment: pay;
  position: relative;
  padding: 0.85rem 0 0.85rem 3.2rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.pay li:last-child {
  border-bottom: none;
}

.pay li::before {
  content: counter(pay);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2.15rem;
  height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  background: var(--open);
  color: #fff;
  border-radius: 4px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--open-deep);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 0.7rem;
  max-width: 36rem;
}

/* Close / CTA */
.close {
  text-align: center;
}

.close .lede {
  margin-inline: auto;
}

.close .btn-row {
  justify-content: center;
}

/* Footer */
.colophon {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.colophon p {
  margin-bottom: 0.4rem;
}

.colophon a {
  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;
}

/* Kickoff form */
.kickoff {
  margin-top: var(--space-lg);
  text-align: left;
  position: relative;
}

.kickoff-form {
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(232, 212, 188, 0.35);
  border-radius: 1rem;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  margin: 0;
}

.field label,
.check-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #FFF8EF;
}

.field .opt {
  font-weight: 400;
  opacity: 0.75;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(232, 212, 188, 0.45);
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #FFF8EF;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
}

.check {
  display: flex;
  align-items: flex-start;
}

.check-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 600;
  cursor: pointer;
}

.check-label input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 248, 239, 0.75);
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.form-status.is-pending { color: var(--sky); }
.form-status.is-ok { color: #9BE28A; }
.form-status.is-err { color: #FFB4A8; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}


/* Success overlay — sits on top of the form, same page */
.kickoff-success {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(34, 28, 24, 0.72);
  border-radius: 1rem;
  backdrop-filter: blur(2px);
}

.kickoff-success[hidden] {
  display: none !important;
}

.kickoff-success__card {
  width: min(100%, 22rem);
  background: #FFF8EF;
  color: var(--ink);
  border: 2px solid var(--open);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.kickoff-success__badge {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.2rem 0.55rem;
  background: var(--open);
  color: #FFF8EF;
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 0.35rem;
}

.kickoff-success__title {
  margin: 0 0 0.5rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--ink);
}

.kickoff-success__body {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.kickoff.is-success .kickoff-form {
  pointer-events: none;
}
