/* =========================================
   EFFECTIVE LEARNING — DESIGN DIR #1113
   White + Black + Red / Sharp / Grid / DM
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:   #ffffff;
  --black:   #0a0a0a;
  --red:     #d90024;
  --red-dim: #a80019;
  --grey-1:  #f4f4f4;
  --grey-2:  #e0e0e0;
  --grey-3:  #9a9a9a;
  --border:  2px solid var(--black);
  --border-red: 2px solid var(--red);
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --gap: 2.4rem;
  --max-w: 1240px;
  --pad: 0 clamp(1rem, 4vw, 3rem);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-dim); }

img { display: block; width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--black);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

p { max-width: 72ch; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: var(--pad); }

section { padding: 5rem 0; }
section + section { border-top: var(--border); }

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
}

.nav-left, .nav-right {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}
.nav-right { justify-content: flex-end; }

.nav-inner a, .nav-inner .nav-logo {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
}
.nav-inner a:hover { color: var(--red); }

.nav-logo {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: -.01em;
  text-transform: none;
  line-height: 1;
}
.nav-logo span { color: var(--red); }

/* ---- HERO ---- */
.hero {
  padding: 7rem 0 5rem;
  border-bottom: var(--border);
}

.hero-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  border: var(--border-red);
  padding: .3em .8em;
  margin-bottom: 2rem;
}

.hero h1 { margin-bottom: 1.6rem; max-width: 18ch; }

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #333;
  max-width: 58ch;
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85em 2em;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--white) !important; }

.btn-outline {
  background: transparent;
  color: var(--black) !important;
}
.btn-outline:hover { background: var(--black); color: var(--white) !important; }

/* ---- GRID CONTENT ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

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

/* ---- CARDS ---- */
.card {
  border: var(--border);
  padding: 2rem;
}

.card-num {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: .5rem;
}

.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; color: #333; }

/* ---- IMAGE BLOCKS ---- */
.img-full {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: var(--border);
}

.img-section { padding: 0 0 5rem; border-bottom: var(--border); }

/* ---- STAT STRIP ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--border);
}
.stat-item {
  padding: 2rem 1.6rem;
  border-right: var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--red);
  line-height: 1;
  display: block;
}
.stat-label { font-size: .85rem; color: #555; margin-top: .3rem; }

@media (max-width: 860px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: var(--border); }
}
@media (max-width: 500px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-top: var(--border); }
  .stat-item:first-child { border-top: none; }
}

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}

/* ---- PULL QUOTE ---- */
.pull-quote {
  border-left: 4px solid var(--red);
  padding: 1.4rem 2rem;
  background: var(--grey-1);
  margin: 2rem 0;
}
.pull-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  max-width: none;
  color: var(--black);
}
.pull-quote cite { font-size: .85rem; font-style: normal; color: var(--grey-3); display: block; margin-top: .6rem; }

/* ---- TECHNIQUE LIST ---- */
.technique-list { list-style: none; }
.technique-list li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--grey-2);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.technique-list li:last-child { border-bottom: none; }
.tech-idx {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--red);
  line-height: 1;
}
.tech-body h4 { margin-bottom: .3rem; }
.tech-body p { font-size: .925rem; color: #333; }

/* ---- ACCORDION / FAQ ---- */
details {
  border-bottom: 1px solid var(--grey-2);
  padding: 1rem 0;
}
details:first-of-type { border-top: 1px solid var(--grey-2); }
summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
}
summary::after { content: '+'; font-size: 1.4rem; color: var(--red); }
details[open] summary::after { content: '−'; }
details p { padding: .8rem 0 .4rem; font-size: .95rem; color: #333; max-width: 72ch; }

/* ---- CONTACT FORM ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field.span-2 { grid-column: span 2; }
@media (max-width: 600px) { .field.span-2 { grid-column: span 1; } }

label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: var(--border);
  background: var(--white);
  padding: .7em .9em;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
input:focus, textarea:focus { border-color: var(--red); }
textarea { resize: vertical; min-height: 130px; }

/* ---- FOOTER ---- */
.site-footer {
  border-top: var(--border);
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.5rem; text-align: left; }
.footer-brand p { font-size: .875rem; color: #aaa; margin-top: 1rem; line-height: 1.6; max-width: 30ch; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: #aaa; font-size: .875rem; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  font-size: .8rem;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ---- ABOUT PAGE ---- */
.about-hero { padding: 5rem 0 4rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

.team-card { border: var(--border); padding: 1.8rem; }
.team-card .team-name { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: .2rem; }
.team-card .team-role { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.team-card p { font-size: .9rem; color: #444; margin-top: .8rem; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: .8rem;
  color: var(--grey-3);
  padding: 1rem 0;
  display: flex; gap: .5rem; align-items: center;
}
.breadcrumb a { color: var(--grey-3); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--grey-2); }

/* ---- UTILITIES ---- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-red { color: var(--red); }
.text-muted { color: var(--grey-3); }
.fw-bold { font-weight: 700; }

/* ---- NAV HAMBURGER (MOBILE) ---- */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: .2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; grid-column: 3; justify-self: end; }
  .nav-left, .nav-right {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    border-bottom: var(--border);
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .nav-inner.open .nav-left,
  .nav-inner.open .nav-right { display: flex; }
  .nav-left { grid-column: 1; }
  .nav-right { grid-column: 2; top: calc(68px + 160px); }
  .nav-inner { position: relative; }
}

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: var(--border);
}
.page-header h1 { max-width: 22ch; }
.page-header .hero-lead { margin-top: 1rem; }
