/* Quorum Digital — marketing site
   Modern studio feel; harmonious with navy/cream/gold client demos */

:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --slate: #334155;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --stone: #f5f3ef;
  --stone-dark: #ebe7df;
  --white: #ffffff;
  --navy: #1a2744;
  --navy-soft: #2a3a5c;
  --accent: #b8975a;
  --accent-soft: #d4b87a;
  --accent-deep: #8f7342;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 650;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.85rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

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

.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 38rem;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

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

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--ink) 100%);
  display: grid;
  place-items: center;
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  font-weight: 600;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--stone);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.site-nav.open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--stone);
  color: var(--ink);
}

.site-nav a.nav-cta {
  margin-top: 0.35rem;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-weight: 600;
}

.site-nav a.nav-cta:hover {
  background: var(--navy-soft);
  color: var(--white);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
  }

  .site-nav a[aria-current="page"] {
    background: transparent;
    color: var(--accent-deep);
  }

  .site-nav a.nav-cta {
    margin-top: 0;
    margin-left: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  font-family: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
  color: var(--white);
}

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

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

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, rgba(184, 151, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(26, 39, 68, 0.06), transparent 50%),
    var(--stone);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin-bottom: 0.85rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.price-band {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 3px var(--accent);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p,
.section-dark .lead {
  color: rgba(245, 243, 239, 0.78);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head p {
  margin-bottom: 0;
}

/* Cards / grids */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

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

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--stone);
  box-shadow: none;
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(184, 151, 90, 0.18);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.section-alt .audience-list li {
  background: var(--stone);
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.4rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

/* Portfolio teaser */
.portfolio-card {
  display: grid;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 760px) {
  .portfolio-card {
    grid-template-columns: 1.1fr 1fr;
  }
}

.portfolio-visual {
  min-height: 220px;
  background:
    linear-gradient(160deg, var(--navy) 0%, var(--ink) 70%),
    var(--navy);
  color: var(--stone);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.portfolio-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(184, 151, 90, 0.25), transparent 45%);
}

.portfolio-visual > * {
  position: relative;
}

.portfolio-visual .sample-name {
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--white);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.portfolio-visual .sample-meta {
  color: rgba(245, 243, 239, 0.75);
  font-size: 0.92rem;
  margin: 0;
}

.portfolio-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.portfolio-body h3 {
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  background: rgba(184, 151, 90, 0.15);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* Offer page */
.offer-hero {
  padding: 2.75rem 0 2rem;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--slate);
}

.offer-meta strong {
  color: var(--ink);
  font-weight: 650;
}

.include-grid .card h3 {
  margin-bottom: 0.5rem;
}

.out-of-scope {
  background: var(--stone-dark);
  border-left: 3px solid var(--muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.25rem;
  margin-top: 1.5rem;
}

.out-of-scope h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.out-of-scope p {
  margin: 0;
  font-size: 0.95rem;
}

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

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.25rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 0.9rem 0;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-deep);
  font-weight: 700;
}

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

.faq details p {
  margin: 0 0 1rem;
  padding-top: 0;
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.aside-card {
  background: var(--ink);
  color: var(--stone);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.aside-card h3 {
  color: var(--white);
}

.aside-card p {
  color: rgba(245, 243, 239, 0.78);
}

.aside-card p:last-child {
  margin-bottom: 0;
}

/* Contact form */
.form-layout {
  display: grid;
  gap: 2rem;
}

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

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  background: var(--stone);
  border-radius: var(--radius-sm);
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.field {
  margin-bottom: 1rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(184, 151, 90, 0.45);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hint-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--slate);
}

.hint-list li {
  margin-bottom: 0.4rem;
}

/* Page header (inner pages) */
.page-hero {
  padding: 2.5rem 0 2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(184, 151, 90, 0.1), transparent 50%),
    var(--stone);
}

.page-hero .lead {
  margin-bottom: 0;
}

/* CTA band */
.cta-band {
  padding: 3rem 0;
  text-align: center;
}

.cta-band .lead {
  margin-inline: auto;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(245, 243, 239, 0.7);
  padding: 2rem 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer strong {
  color: var(--white);
  font-weight: 650;
}

.site-footer a {
  color: var(--accent-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-mark {
  color: var(--accent-soft);
}

/* Utility */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

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

/* Dual-track pricing & intro offer */
.limited-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: rgba(184, 151, 90, 0.28);
  border: 1px solid rgba(184, 151, 90, 0.55);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  margin: 0 0 0.85rem;
}

.hero-card-intro .limited-badge {
  margin-bottom: 0.75rem;
}

.scope-tight {
  font-size: 0.88rem;
  color: var(--muted);
  margin: -0.5rem 0 1.15rem;
}

.pricing-tracks .track-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-tracks .track-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.track-intro {
  border-color: rgba(184, 151, 90, 0.45);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(184, 151, 90, 0.15);
}

.track-intro .price-band {
  color: var(--accent-deep);
}
