/* ==========================================================================
   Sinjar Academy — Landing Page
   Built from Figma handoff. Font files, real image exports, and Font Awesome
   licensing are dev TODOs — see comments marked "Dev note".
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------- */

@font-face {
  font-family: "Alisha";
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "avenir-lt-pro","Avenir",Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "avenir-lt-pro","Avenir",Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "avenir-lt-pro","Avenir",Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-display: swap;
}

/* ---- Grid tokens ----------------------------------------------------*/
:root {
  --color-red: #e42326;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-gray-light: #f2f2f2;
  --color-gray-lighter: #f3f3f3;
  --color-gray-mid: #828282;

  --font-script: "Alisha", serif;
  --font-body: "avenir-lt-pro","Avenir",Helvetica, Arial, sans-serif;

  --container-width: 1440px;
  --gutter: clamp(1.25rem, 10vw, 9rem);
  --section-padding: clamp(3rem, 6vw, 6.5rem);
  --radius: 5px;
}

/* ---- Reset / base ---------------------------------------------------------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--color-black);
  line-height: 1.5;
  background: var(--color-white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-padding) 0;
}
.section--gray { background: var(--color-gray-light); }

.eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  margin: 0 0 0.25rem;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.15;
}
h1 { font-size: clamp(2.75rem, 6vw, 5.65rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.15rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.375rem); font-weight: 700; }

p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.5625rem); line-height: 1.4; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.65rem 1.1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
}
.btn-secondary {
  background: var(--color-gray-mid);
  color: var(--color-white);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  background: var(--color-white);
  padding: 1rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { height: clamp(48px, 6vw, 80px); width: auto; }

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  align:left;

}
.hero-image img {
  width: 100%;
  height: clamp(260px, 38vw, 537px);
  object-fit: cover;
}
.hero-decor {
  position: absolute;
  right: -6%;
  top: 58%;
  height: clamp(160px, 34vw, 380px);   /* sized by height instead of width */
  width: auto;
  aspect-ratio: 529 / 390;
  background: url("assets/elevation-study-line-drawing.png") no-repeat center / contain;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);

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

/* ---- Through Education ----------------------------------------------------- */
.education {
  position: relative;
  overflow: hidden;
}
.education::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -12%;
  width: clamp(220px, 42vw, 580px);
  aspect-ratio: 808 / 503;
  background: url("assets/decorative-linework.svg") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  /* Dev note: was centered behind the copy column at 50% opacity, which
     read as a gray blob fighting the headline for attention and got
     hard-cropped at the left edge. Anchored to the bottom-left corner
     instead (mirroring .investment::after's bottom-right anchor) and
     dropped to a watermark-level opacity so it reads as texture, not
     a competing shape. If you've got the Figma node for this, send it
     over and I'll match the exact position/opacity instead of eyeballing it. */
}
.education-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.education-image {
  position: relative;
}
.education-image img {
  border-radius: var(--radius);
  aspect-ratio: 378 / 307;
  object-fit: cover;
  width: 100%;
}

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

/* ---- We've Already Started / Stats ------------------------------------------ */
.already-started-copy {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 3rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: var(--color-red);
  border-radius: var(--radius);
  color: var(--color-white);
  padding: 1.5rem 1rem;
  text-align: center;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-number {
  font-size: clamp(2.25rem, 4vw, 3.9rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 1rem;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ---- Practical Skills / Real Opportunity ------------------------------------ */
.skills {
  position: relative;
}
.skills-banner img {
  width: 100%;
  height: clamp(220px, 30vw, 503px);
  object-fit: cover;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: var(--section-padding);
  align-items: start;
}
.curriculum-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.curriculum-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}
.curriculum-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  font-weight: 700;
}
.skills-media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 492 / 540;
  object-fit: cover;
  margin-bottom: 2rem;
}
.testimonial {
  margin: 0;
  border: none;
  padding: 0;
}
.testimonial p {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.testimonial cite {
  font-family: var(--font-script);
  font-size: 1.25rem;
  font-style: normal;
}

@media (max-width: 800px) {
  .skills-grid { grid-template-columns: 1fr; }
  .skills-media { order: -1; }
}

/* ---- Investment Builds ------------------------------------------------------ */
.investment {
  position: relative;
  overflow: hidden;
}
.investment::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: 0;
  width: clamp(240px, 45vw, 620px);
  aspect-ratio: 808 / 503;
  background: url("assets/decorative-linework.svg") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.investment .container {
  position: relative;
  z-index: 1;
}
.investment-banner img {
  width: 100%;
  height: clamp(220px, 30vw, 503px);
  object-fit: cover;
  margin-bottom: var(--section-padding);
}
.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}
.investment-card p { font-size: 1.1rem; }

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

/* ---- FAQ --------------------------------------------------------------------- */
.faq-list {
  max-width: 900px;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-black);
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-icon {
  color: var(--color-red);
  font-weight: 400;
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 1.125rem;
  max-width: 720px;
}
.faq-item.is-open .faq-answer {
  max-height: 400px; 
}

/* ---- Contact ------------------------------------------------------------------ */
.contact .lede { max-width: 700px; }
.contact-form {
  max-width: 780px;
  margin-top: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-field {
  margin-bottom: 1.5rem;
}
.form-field label {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--color-gray-lighter);
  border: none;
  border-radius: 2px;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-black);
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-red);
  outline-offset: 1px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Footer -------------------------------------------------------------------- */
.site-footer {
  background: var(--color-white);
  padding: var(--section-padding) 0 2.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}
.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.logo--footer img { height: 60px; width: auto; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.25rem;
}
.footer-social-label {
  font-weight: 700;
  font-size: 1.375rem;
  margin-right: 0.5rem;
}
.copyright {
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
