/* REEL Consulting LLC — first-draft site styles */

:root {
  --ink: #10202b;
  --ink-soft: #3c5160;
  --navy: #0c1c28;
  --navy-2: #152a3a;
  --navy-3: #1c3a4d;
  --paper: #f3f0e8;
  --paper-2: #e7e2d6;
  --foam: #c9d6dc;
  --bronze: #b5852b;
  --bronze-2: #d4a84e;
  --bronze-dark: #8c671c;
  --white: #fbfaf6;
  --line: rgba(16, 32, 43, 0.12);
  --line-strong: rgba(16, 32, 43, 0.2);
  --line-light: rgba(243, 240, 232, 0.16);
  --shadow: 0 16px 40px rgba(12, 28, 40, 0.12);
  --header-h: 4.5rem;
  --max: 70rem;
  --narrow: 44rem;
  --font-sans: "Source Sans 3", "Segoe UI", Calibri, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mark: "Barlow Condensed", "Arial Narrow", "Source Sans 3", sans-serif;
  --ease: 0.2s ease;
}

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

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

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--bronze-2);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

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

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

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mark);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-dark);
}

.hero .eyebrow,
.contact .eyebrow,
.site-footer .eyebrow {
  color: var(--bronze-2);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  font-weight: 600;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 28, 40, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
  min-width: 0;
}

.wordmark:hover {
  color: var(--bronze-2);
}

.mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--bronze-2);
  flex: none;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-name {
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.16em;
}

.wordmark-sub {
  margin-top: 0.18rem;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foam);
}

.wordmark:hover .wordmark-sub {
  color: var(--bronze-2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--bronze-2);
}

.nav-cta {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  color: var(--bronze-2) !important;
}

.nav-cta:hover {
  background: var(--bronze);
  color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 0.4rem;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-primary {
  background: var(--bronze);
  color: var(--navy);
  border-color: var(--bronze);
}

.btn-primary:hover {
  background: var(--bronze-2);
  color: var(--navy);
  border-color: var(--bronze-2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(243, 240, 232, 0.55);
}

.btn-ghost:hover {
  border-color: var(--bronze-2);
  color: var(--bronze-2);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(28, 58, 77, 0.9), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 58%, #0a2230 100%);
  color: var(--paper);
  min-height: min(42rem, calc(100svh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 0 5.5rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze) 20%, var(--bronze-2) 50%, var(--bronze) 80%, transparent);
  opacity: 0.55;
}

.hero-swell {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -20%;
  height: 48%;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(8, 18, 26, 0.95), transparent 70%),
    repeating-linear-gradient(
      180deg,
      transparent 0 18px,
      rgba(201, 214, 220, 0.04) 18px 19px
    );
  border-radius: 50% 50% 0 0;
}

.hero-mark {
  position: absolute;
  right: min(3.5vw, 3.5rem);
  top: 12%;
  width: min(20rem, 40vw);
  height: auto;
  color: rgba(212, 168, 78, 0.14);
}

.hero-content {
  position: relative;
  max-width: 46rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2rem, 46rem);
}

.hero h1 {
  color: var(--white);
}

.lead {
  font-size: 1.15rem;
  color: var(--foam);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stats */

.stats {
  background: var(--navy-3);
  color: var(--paper);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid rgba(12, 28, 40, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  padding: 1.75rem 0;
}

.stat-value {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: var(--bronze-2);
  letter-spacing: -0.02em;
}

.stat-label {
  margin: 0;
  color: var(--foam);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-intro p {
  color: var(--ink-soft);
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
  gap: 3rem 3.5rem;
  align-items: start;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-card {
  background: var(--navy);
  color: var(--paper);
  padding: 1.85rem 1.7rem;
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--bronze);
}

.about-card-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-mark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bronze-2);
}

.about-card h3 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}

.about-card-role {
  margin: 0 0 1.25rem;
  color: var(--foam);
  line-height: 1.45;
}

.about-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.about-card-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--foam);
  font-size: 0.98rem;
}

.about-card-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Services */

.services {
  background: var(--paper-2);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  background: var(--white);
  padding: 1.5rem 1.4rem 1.55rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--bronze);
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.capability-block {
  margin-top: 2.5rem;
  padding: 1.75rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.capability-block h3 {
  margin-bottom: 1rem;
}

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

.capability-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--bronze);
  border-radius: 1px;
}

/* Experience */

.experience {
  background: var(--navy);
  color: var(--paper);
}

.experience .section-intro p,
.experience .eyebrow {
  color: var(--foam);
}

.experience .eyebrow {
  color: var(--bronze-2);
}

.experience h2 {
  color: var(--white);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 50rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 1.6rem;
  border-left: 2px solid rgba(212, 168, 78, 0.35);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--bronze-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--navy);
}

.timeline-dates {
  margin: 0 0 0.3rem;
  font-family: var(--font-mark);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--bronze-2);
}

.timeline h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.timeline p {
  color: var(--foam);
}

.org-note {
  font-weight: 500;
  color: var(--foam);
  font-family: var(--font-sans);
  font-size: 0.92em;
  letter-spacing: 0;
}

/* Certifications */

.certifications {
  background: var(--paper);
}

.cert-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.2rem;
}

.cert-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.85rem 1rem 0.85rem 2.2rem;
  position: relative;
  font-weight: 500;
}

.cert-grid li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--bronze);
  border-radius: 1px;
}

/* Contact */

.contact {
  background:
    linear-gradient(180deg, var(--navy-2), var(--navy));
  color: var(--paper);
}

.contact h2 {
  color: var(--white);
}

.contact-copy > p {
  color: var(--foam);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-details {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line-light);
}

.contact-details li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.contact-label {
  font-family: var(--font-mark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-2);
}

.contact-details a {
  color: var(--paper);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--bronze-2);
}

.placeholder {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  color: var(--bronze-2);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.1rem 0.4rem;
  border: 1px dashed rgba(212, 168, 78, 0.7);
  border-radius: 0.2rem;
  background: rgba(212, 168, 78, 0.08);
}

.contact-form {
  background: var(--paper);
  color: var(--ink);
  padding: 1.75rem 1.6rem;
  border-radius: 0.35rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.3rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 1px;
  border-color: var(--bronze);
}

.form-row textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  background: #08141c;
  color: var(--foam);
  padding: 2rem 0;
  border-top: 1px solid var(--line-light);
}

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

.wordmark-footer .wordmark-name {
  font-size: 1.3rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.footer-contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
}

.footer-contact a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--bronze-2);
}

.footer-meta {
  margin: 0;
  font-size: 0.9rem;
  max-width: 28rem;
  text-align: right;
}

/* Responsive */

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 150;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: var(--navy);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  }

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

  .site-nav a {
    padding: 0.8rem 0.4rem;
    border-bottom: 1px solid var(--line-light);
  }

  .site-nav .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
    border-bottom: 1px solid var(--bronze);
  }

  .stats-grid,
  .about-grid,
  .service-grid,
  .capability-list,
  .contact-grid,
  .cert-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding: 3.25rem 0 4rem;
    align-items: center;
  }

  .hero-mark {
    display: none;
  }

  .section {
    padding: 3.15rem 0;
  }

  .contact-form {
    padding: 1.4rem 1.15rem;
  }
}

@media (min-width: 861px) and (max-width: 1024px) {
  .service-grid,
  .capability-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

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

@media print {
  .site-header,
  .nav-toggle,
  .hero-actions,
  .contact-form,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a { color: inherit; }
  .hero, .experience, .contact, .about-card, .site-footer, .stats {
    background: #fff;
    color: #000;
  }
}
