/* =========================================================
   GarrettPrep Website Styles
   File: styles.css

   Image filenames to use in HTML:
   images/Garrettprep whiteboard logo.png
   images/profile photo clipped.JPG
   ========================================================= */

/* -----------------------------
   Global Reset
----------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: #ffffff;
  color: #101010;
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

/* -----------------------------
   Brand Variables
----------------------------- */

:root {
  --black: #101010;
  --white: #ffffff;
  --red: #e42222;
  --gray: #f5f5f5;
  --gray-dark: #444444;
  --paper: #fffdf8;
  --border: 3px solid #101010;
  --radius: 18px;
  --shadow: 6px 6px 0 #101010;
  --shadow-red: 6px 6px 0 #e42222;
  --max-width: 1160px;
}

/* -----------------------------
   Layout Helpers
----------------------------- */

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20px 20px, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 32px 32px;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-gray {
  background: var(--gray);
  border-top: var(--border);
  border-bottom: var(--border);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stack {
  display: grid;
  gap: 18px;
}

.center {
  text-align: center;
}

.max-760 {
  max-width: 760px;
}

.max-860 {
  max-width: 860px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------
   Typography
----------------------------- */

.eyebrow {
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffffff;
  transform: rotate(-1deg);
  margin-bottom: 14px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  color: var(--black);
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  letter-spacing: -0.06em;
  font-weight: 1000;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  font-weight: 1000;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  font-weight: 1000;
}

h4 {
  font-size: 1.1rem;
  font-weight: 1000;
}

p {
  margin: 0;
  font-size: 1.05rem;
  color: #232323;
}

.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  color: #222222;
}

.small {
  font-size: 0.92rem;
  color: var(--gray-dark);
}

.marker {
  font-weight: 1000;
  letter-spacing: -0.04em;
}

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

.marker-underline {
  position: relative;
  display: inline-block;
}

.marker-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.22em;
  background: rgba(228, 34, 34, 0.25);
  z-index: -1;
  transform: rotate(-1deg);
  border-radius: 999px;
}

/* -----------------------------
   Navigation
----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: var(--border);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 1000;
  letter-spacing: -0.04em;
  font-size: 1.45rem;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
}

.nav-links a {
  padding: 8px 6px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--red);
}

.nav-cta {
  padding: 11px 16px !important;
  border: 3px solid var(--black) !important;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  transition: none;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

/* -----------------------------
   Buttons
----------------------------- */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 3px solid var(--black);
  border-radius: 999px;
  font-weight: 1000;
  background: var(--white);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--black);
  cursor: pointer;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--black);
}

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

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-disabled {
  background: #eeeeee;
  color: #777777;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* -----------------------------
   Cards / Whiteboard Elements
----------------------------- */

.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-red {
  box-shadow: var(--shadow-red);
}

.card-soft {
  background: var(--paper);
}

.sketch {
  position: relative;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.sketch::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px dashed rgba(16, 16, 16, 0.35);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

.note {
  display: inline-block;
  background: var(--paper);
  border: var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 4px 4px 0 var(--black);
  font-weight: 1000;
  transform: rotate(-1deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 3px solid var(--black);
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--white);
  font-weight: 1000;
  box-shadow: 3px 3px 0 var(--black);
}

.badge-red {
  background: var(--red);
  color: var(--white);
}

.badge-outline-red {
  border-color: var(--red);
  color: var(--red);
}

.status {
  display: inline-block;
  border: 3px solid var(--red);
  color: var(--red);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fff;
}

.price {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.06em;
  margin: 12px 0;
}

.price-sub {
  font-weight: 1000;
  color: #222;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.card-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--red);
  font-weight: 1000;
}

/* -----------------------------
   Hero / Opening Sections
----------------------------- */

.opening {
  padding: 72px 0 64px;
}

.opening-copy {
  display: grid;
  gap: 22px;
}

.hero-board {
  min-height: 390px;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 18px;
  transform: rotate(1deg);
}

.score-card {
  border: var(--border);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--black);
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 1000;
  font-size: 1.25rem;
}

.score-arrow {
  font-size: 2rem;
  color: var(--red);
  font-weight: 1000;
}

.doodle-big {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.doodle-small {
  font-weight: 1000;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -----------------------------
   Strips / Feature Blocks
----------------------------- */

.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.feature-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 1000;
  box-shadow: 3px 3px 0 var(--black);
}

/* -----------------------------
   Timeline
----------------------------- */

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: stretch;
}

.timeline-date {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--black);
  color: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 14px;
  font-weight: 1000;
}

.timeline-content {
  padding: 20px;
}

/* -----------------------------
   Testimonial Placeholder
----------------------------- */

.testimonial {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.8;
  color: var(--red);
  font-weight: 1000;
}

/* -----------------------------
   About Page
----------------------------- */

.headshot-frame {
  border: var(--border);
  border-radius: 28px;
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.headshot-frame img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: none;
}

.placeholder-photo {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: var(--border);
  border-radius: 20px;
  background: var(--gray);
  font-weight: 1000;
  text-align: center;
  padding: 24px;
}

/* -----------------------------
   Form Embed
----------------------------- */

.form-frame {
  border: var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-frame iframe {
  width: 100%;
  min-height: 1200px;
  border: 0;
  border-radius: 12px;
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  border-top: var(--border);
  background: var(--black);
  color: var(--white);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 999px;
  background: var(--white);
}

.footer-copy,
.footer-copy p,
.footer-copy a {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
  font-weight: 900;
}

.footer-links a {
  border-bottom: 2px solid transparent;
}

.footer-links a:hover {
  border-bottom-color: var(--red);
}

/* -----------------------------
   Utilities
----------------------------- */

.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-42 { margin-top: 42px; }

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

.rotate-left {
  transform: rotate(-1deg);
}

.rotate-right {
  transform: rotate(1deg);
}

.red-circle {
  position: relative;
  display: inline-block;
}

.red-circle::after {
  content: "";
  position: absolute;
  inset: -8px -12px;
  border: 4px solid var(--red);
  border-radius: 999px;
  transform: rotate(-3deg);
  pointer-events: none;
}

.x-mark {
  color: var(--red);
  font-weight: 1000;
}

.kicker-line {
  height: 5px;
  width: 120px;
  background: var(--red);
  border-radius: 999px;
  margin: 18px 0;
  transform: rotate(-1deg);
}

.kicker-line.centered {
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 980px) {
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .nav-cta {
    margin-top: 4px;
  }

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

  .hero-board {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--max-width));
  }

  .section {
    padding: 54px 0;
  }

  .opening {
    padding: 46px 0 48px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brand {
    font-size: 1.3rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .nav-links {
    font-size: 0.95rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .form-frame iframe {
    min-height: 1450px;
  }

  .score-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
