/* =========================================================
   MFCG — Michigan Fashion Consulting Group
   Colors pulled straight from the logo.
   ========================================================= */
:root {
  --plum: #2d1044;        /* logo ink */
  --plum-soft: #5a3f73;   /* secondary text */
  --lavender: #ebe4f3;    /* section tint */
  --lilac: #b8a3d1;       /* lines, accents */
  --cream: #f4f4e9;       /* logo circle fill */
  --white: #ffffff;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--plum);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section--tint { background: var(--lavender); }
.section--cream { background: var(--cream); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.8em 1.8em;
  border: 1.5px solid var(--plum);
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--white); color: var(--plum); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lavender);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.hero-logo img { width: 100%; }
.brand span { font-family: var(--sans); letter-spacing: 0.18em; font-size: 0.8rem; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--lilac); }
.nav .btn { padding: 0.55em 1.4em; border-bottom: 1.5px solid var(--plum); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--plum); }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .brand span { display: none; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--lavender);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--lavender); }
  .nav .btn { width: auto; margin-top: 16px; border-bottom: 1.5px solid var(--plum); }
}

/* ---------- Home hero: the logo's orbit is the one bold move ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 96px) 0 clamp(72px, 10vw, 112px); text-align: center; }
.hero-logo { position: relative; width: min(340px, 72vw); margin: 0 auto 36px; }
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-orbit path { fill: none; stroke: var(--lilac); stroke-width: 1.2; }
.hero-orbit .star { fill: var(--plum); stroke: none; }
.hero h1 { max-width: 18ch; margin: 0 auto 0.4em; }
.hero p { margin: 0 auto 2em; color: var(--plum-soft); }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero-orbit path.arc { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s 0.3s ease-out forwards; }
  .hero-orbit .star { opacity: 0; animation: appear 0.6s 2.4s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes appear { to { opacity: 1; } }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lilac); border-bottom: 1px solid var(--lilac); }
.stat { padding: 36px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--lilac); }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; }
.stat span { color: var(--plum-soft); font-size: 0.95rem; }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--lilac); }
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--flip .split-media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }

/* ---------- Placeholders (delete as you fill in) ---------- */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--cream);
  border: 1.5px dashed var(--lilac);
  border-radius: 4px;
  color: var(--plum-soft);
  font-size: 0.9rem;
  padding: 16px;
}
.ph--photo { aspect-ratio: 4 / 3; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph-text { color: var(--plum-soft); font-style: italic; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.quote { display: none; }
.quote.active { display: block; }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; }
.quote cite { font-style: normal; letter-spacing: 0.08em; font-size: 0.9rem; color: var(--plum-soft); }
.quote-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; }
.quote-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--plum); background: transparent; color: var(--plum);
  cursor: pointer; font-size: 1.1rem;
}
.quote-controls button:hover { background: var(--plum); color: var(--white); }
.dots { display: flex; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); }
.dots span.active { background: var(--plum); }

/* ---------- Tiles (Projects / Team / Network) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: block; text-decoration: none; }
.tile .ph { aspect-ratio: 3 / 4; margin-bottom: 16px; transition: border-color 0.2s; }
.tile:hover .ph { border-color: var(--plum); }
.tile h3 { margin: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile .ph { aspect-ratio: 16 / 9; } }

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); background: var(--lavender); }
.page-head p { color: var(--plum-soft); margin-bottom: 0; }

/* ---------- Grids for team, alumni, services ---------- */
.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.person .ph { margin-bottom: 14px; }
.person h3 { font-size: 1.15rem; margin: 0 0 2px; }
.person p { margin: 0; color: var(--plum-soft); font-size: 0.95rem; }
.card { border-top: 1.5px solid var(--plum); padding-top: 20px; }
.card p { color: var(--plum-soft); }
.section-head { margin-bottom: 40px; }

/* ---------- Recruitment timeline (a real sequence) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--lilac); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--plum);
}
.timeline h3 { font-size: 1.15rem; margin: 0 0 4px; }
.timeline p { margin: 0; color: var(--plum-soft); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--lilac); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--plum-soft); }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: 0.95rem; }
.form input, .form textarea, .form select {
  font: inherit; color: var(--plum);
  padding: 12px 14px; border: 1.5px solid var(--lilac); border-radius: 4px; background: var(--white);
}
.form input:focus, .form textarea:focus { border-color: var(--plum); outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: var(--cream); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 88px; height: 88px; margin-bottom: 16px; }
.footer-brand p { color: var(--lilac); font-size: 0.95rem; }
.site-footer h4 { font-family: var(--sans); font-weight: 500; letter-spacing: 0.12em; font-size: 0.85rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--cream); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 16px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--lilac); border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; fill: var(--cream); }
.footer-base { border-top: 1px solid rgba(184, 163, 209, 0.35); margin-top: 48px; padding-top: 24px; font-size: 0.85rem; color: var(--lilac); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
