/* ============================================================
   INDIE ARTIST SCHOOL : Shared Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Palette */
  --cream:        #FFF6EA;
  --cream-deep:   #F6E7CF;
  --cream-card:   #FFFCF6;
  --orange:       #FF7809;
  --orange-deep:  #E5650A;
  --orange-soft:  #FFE2C2;
  --maroon:       #6F3430;
  --maroon-deep:  #441714;
  --maroon-ink:   #571F1B;
  --green:        #71BF34;
  --green-deep:   #4F9020;

  /* Tints */
  --ink:          var(--maroon-ink);
  --ink-soft:     rgba(111, 52, 48, 0.68);
  --ink-faint:    rgba(111, 52, 48, 0.44);
  --line:         rgba(111, 52, 48, 0.16);
  --line-strong:  rgba(111, 52, 48, 0.32);

  /* Type */
  --display: 'Bricolage Grotesque', -apple-system, system-ui, sans-serif;
  --serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
  --body:    'Hanken Grotesk', -apple-system, system-ui, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(78,33,30,.06), 0 18px 44px -22px rgba(78,33,30,.30);
  --shadow-lg: 0 2px 4px rgba(78,33,30,.07), 0 40px 80px -36px rgba(78,33,30,.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--maroon-ink); text-wrap: balance; }

.display {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2.title { font-size: clamp(34px, 5vw, 60px); }
h3.subtitle { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }

.serif-accent { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }

.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 16px 26px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  line-height: 1; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px -10px rgba(255,120,9,.7); }
.btn--primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 18px 32px -10px rgba(255,120,9,.75); }
.btn--dark { background: var(--maroon-ink); color: var(--cream); }
.btn--dark:hover { background: var(--maroon-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--maroon-ink); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--maroon-ink); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--maroon-ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--lg { padding: 19px 34px; font-size: 17px; }

.textlink { color: var(--orange-deep); font-weight: 600; border-bottom: 1.5px solid var(--orange-soft); transition: border-color .2s; }
.textlink:hover { border-color: var(--orange); }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,246,234,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand__logo { height: 44px; width: auto; display: block; }
.brand > span { white-space: nowrap; line-height: 1.05; }
.brand__mark {
  width: 38px; height: 38px;
  object-fit: contain;
  flex: none;
}
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-top: 1px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: 15.5px; color: var(--maroon); transition: color .18s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--orange-deep); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; color: var(--maroon-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--maroon-ink); color: var(--cream); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer a { color: rgba(255,246,234,.72); transition: color .18s; }
.footer a:hover { color: var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--cream); margin-bottom: 14px; }
.footer h5 { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,246,234,.14); font-size: 13.5px; color: rgba(255,246,234,.5); flex-wrap: wrap; }

/* ---------- Cards & misc ---------- */
.card {
  background: var(--cream-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--orange-soft); color: var(--maroon-deep);
  font-weight: 600; font-size: 13.5px; padding: 7px 14px; border-radius: 100px;
}
.pill--green { background: rgba(113,191,52,.18); color: var(--green-deep); }

/* photo placeholder */
.ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(111,52,48,.05) 0 11px, transparent 11px 22px),
    var(--cream-deep);
  border: 1px solid var(--line);
  display: grid; place-items: center; min-height: 220px;
}
.ph span { font-family: 'Hanken Grotesk', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }

/* dark section base */
.dark { background: var(--maroon-ink); color: var(--cream); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.dark .lede, .dark .muted { color: rgba(255,246,234,.7); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav__cta .btn { display: none; }
}

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--cream); padding: 28px var(--gutter); flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 46px; margin-bottom: 30px; }
.mobile-menu a { font-family: var(--display); font-weight: 700; font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--maroon-ink); }
.mobile-menu .btn { margin-top: 26px; }
