/* GroupRates.com — PR landing page styles */

:root {
  --cream: #f9f5f1;
  --cream-warm: #f5ede6;
  --powder-petal: #edd3c4;
  --thistle: #c8adc0;
  --thistle-light: #d8c7d2;
  --thistle-card: #d4c0cc;
  --slate-indigo: #3b60e4;
  --slate-indigo-hover: #2f4fd0;
  --medium-slate: #7765e3;
  --black: #080708;
  --text-muted: rgba(8, 7, 8, 0.65);
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 4px 24px rgba(8, 7, 8, 0.06);
  --shadow-form: 0 8px 32px rgba(8, 7, 8, 0.08);
  --header-h: 72px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1080px;
  --narrow: 680px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--black);
}

h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

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

ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 3rem, var(--narrow));
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid rgba(8, 7, 8, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.03em;
  color: var(--black);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav a:not(.btn) {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--black);
}

.site-nav a:not(.btn):focus-visible {
  outline: 2px solid rgba(59, 96, 228, 0.4);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-nav .btn-nav {
  position: static;
  flex-shrink: 0;
}

.header-cta {
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.btn:focus-visible {
  outline: 3px solid rgba(59, 96, 228, 0.45);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--slate-indigo);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(59, 96, 228, 0.2);
}

.btn-primary:hover {
  background: var(--slate-indigo-hover);
  box-shadow: 0 4px 16px rgba(59, 96, 228, 0.32);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(59, 96, 228, 0.2);
}

.btn-nav {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-full {
  width: calc(100% - 3rem);
  margin: 0.75rem 1.5rem 0;
  padding: 0.9rem 1.5rem;
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4rem);
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 480px);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(8, 7, 8, 0.06);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: none;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* Interest forms */
.interest-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0 0 1.35rem;
  box-shadow: var(--shadow-form);
  overflow: hidden;
}

.form-intro {
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.5rem 1.2rem;
  background: linear-gradient(
    180deg,
    rgba(245, 237, 230, 0.7) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  border-bottom: 1px solid rgba(8, 7, 8, 0.06);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--black);
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 0 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(8, 7, 8, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: var(--white);
  color: var(--black);
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:hover,
.field select:hover {
  border-color: rgba(8, 7, 8, 0.18);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--slate-indigo);
  box-shadow: 0 0 0 3px rgba(59, 96, 228, 0.15);
  background: var(--white);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23080708' d='M1.4.3 6 4.9 10.6.3 12 1.7 6 7.7 0 1.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.form-success {
  margin-top: 0.9rem;
  padding: 0 1.5rem;
  color: var(--black);
  font-weight: 500;
}

.form-error {
  margin-top: 0.9rem;
  padding: 0 1.5rem;
  color: #8b2e2e;
  font-size: 0.9rem;
}

.interest-form.is-success .form-intro,
.interest-form.is-success .form-fields,
.interest-form.is-success .btn-full {
  display: none;
}

.interest-form.is-submitting .btn-full {
  opacity: 0.75;
  cursor: wait;
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: auto;
  padding: 0.5rem 0;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(8, 7, 8, 0.1);
}

/* Vision */
.vision {
  text-align: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--cream-warm);
}

.vision h2 {
  margin-bottom: 1rem;
  max-width: 36ch;
  margin-inline: auto;
}

.vision p {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* Audience cards */
.audiences {
  background: var(--cream-warm);
  padding-top: 0;
}

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

.audience-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(8, 7, 8, 0.04);
}

.card-organizers {
  background: var(--thistle-card);
}

.card-hotels {
  background: linear-gradient(
    165deg,
    rgba(237, 211, 196, 0.45),
    var(--white) 55%
  );
}

.audience-card .btn:hover {
  box-shadow: 0 4px 16px rgba(59, 96, 228, 0.32);
}

.audience-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.audience-card p {
  flex: 0 0 auto;
  margin-bottom: 1.25rem;
}

.checklist {
  flex: 1;
  margin-bottom: 1.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--slate-indigo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath fill='white' d='M3.5 7.5 0 4l1.2-1.2L3.5 5.1 8.8 0 10 1.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 6px;
}

.audience-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Path / steps */
.path {
  background: var(--cream);
}

.section-intro {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section-intro h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--cream-warm);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(8, 7, 8, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--slate-indigo);
  line-height: 1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--cream-warm);
  border-top: 1px solid rgba(8, 7, 8, 0.05);
}

.cta-band h2 {
  margin-bottom: 0.65rem;
}

.cta-sub {
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  max-width: 48ch;
  margin-inline: auto;
}

.cta-band .interest-form {
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.5rem;
}

/* About */
.about {
  padding-top: 0;
  text-align: center;
  background: var(--cream);
}

.about h2 {
  margin-bottom: 1rem;
}

.about p {
  max-width: 52ch;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(8, 7, 8, 0.06);
  background: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-tagline,
.footer-coming,
.copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.footer-coming {
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--medium-slate);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--black);
}

.copyright {
  font-size: 0.825rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
    justify-content: center;
    padding: 1.5rem 0 0;
  }

  .hero-image {
    max-width: min(100%, 448px);
  }

  .hero-copy {
    order: 1;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
    margin-left: auto;
    order: 3;
  }

  .nav-toggle {
    display: flex;
    order: 4;
    margin-left: 0.75rem;
  }

  .logo {
    order: 1;
    font-size: 1.5rem;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(8, 7, 8, 0.08);
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .step:hover {
    box-shadow: none;
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}
