/* ============================================================
   AAU Asia Records — styles
   Palette locked to source (spacemedia.uk):
   bg #f0f0f0 · text #000000 · accent #e80020 · dark #0a0a0a / #101018
   ============================================================ */

:root {
  --bg: #f0f0f0;
  --surface: #ffffff;
  --surface-2: #f8f8f8;
  --ink: #000000;
  --ink-soft: #505050;
  --ink-mute: #686868;
  --accent: #e80020;
  --accent-dark: #c02828;
  --dark: #0a0a0a;
  --dark-2: #101018;
  --line: #e2e2e2;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.06);
  --container: 1160px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(232, 0, 32, 0.28); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); padding: 10px 16px; }
.btn--ghost:hover { color: var(--accent); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 240, 240, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(248, 248, 248, 0.95); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__link { font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.22s ease;
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section__head { max-width: 720px; margin: 0 auto 52px; }
.section__title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section__title.center { text-align: center; }
.section__title.display { text-transform: uppercase; letter-spacing: 0.01em; }
.section__sub { text-align: center; color: var(--ink-mute); margin-top: 14px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__head .eyebrow { display: block; text-align: center; }
.about__copy .eyebrow, .platforms__copy .eyebrow, .contact__copy .eyebrow { text-align: left; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; background: linear-gradient(180deg, #f4f4f4 0%, var(--bg) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero__tag { font-size: 1.18rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.hero__lead { color: var(--ink-mute); font-size: 1.02rem; max-width: 520px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats { list-style: none; display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.hero__stats span { font-size: 0.85rem; color: var(--ink-mute); }
.hero__panel {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease;
}
.hero__panel:hover { transform: rotate(0deg) translateY(-4px); }
.hero__panel img { border-radius: 12px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__copy p { color: var(--ink-soft); margin-top: 16px; }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/12px no-repeat;
}

/* ---------- Cards / Services ---------- */
.services { background: var(--surface-2); }
.cards { display: grid; gap: 24px; }
.services__grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(232, 0, 32, 0.35); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(232, 0, 32, 0.1); color: var(--accent); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--ink-mute); font-size: 0.95rem; }

/* ---------- Platforms ---------- */
.platforms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.platforms__copy p { color: var(--ink-soft); margin-top: 14px; margin-bottom: 22px; }
.platforms__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow-sm);
}
.platforms__media { position: relative; }
.platforms__media > img:first-child { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.platforms__partner {
  position: absolute; right: -6px; bottom: -18px; width: 150px; height: auto;
  background: var(--surface); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow);
}

/* ---------- Portfolio ---------- */
.portfolio__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.portfolio__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.portfolio__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.portfolio__thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark-2); }
.portfolio__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio__item:hover .portfolio__thumb img { transform: scale(1.06); }
.portfolio__meta { padding: 16px 18px; }
.portfolio__meta h3 { font-size: 1.05rem; font-weight: 800; }
.portfolio__meta span { font-size: 0.82rem; color: var(--ink-mute); }

/* ---------- Why (feature grid) ---------- */
.why { background: var(--surface-2); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.why__cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; font-weight: 700; display: flex; align-items: center; gap: 12px;
  min-height: 74px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__cell .dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); flex: none;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}
.why__free { flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.why__free strong { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.why__free span { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.05em; }
.why__cta { text-align: center; margin-top: 40px; }

/* ---------- Team ---------- */
.team__grid { grid-template-columns: repeat(4, 1fr); }
.team__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.team__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team__avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--dark-2), var(--accent));
}
.team__card h3 { font-size: 1.1rem; font-weight: 800; }
.team__role { display: block; color: var(--accent); font-weight: 700; font-size: 0.85rem; margin: 4px 0 10px; }
.team__card p { color: var(--ink-mute); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 820px; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform 0.2s ease;
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { color: var(--ink-soft); padding: 0 0 20px; font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact { background: var(--surface-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__copy p { color: var(--ink-soft); margin-top: 14px; }
.contact__meta { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.contact__meta li { display: flex; flex-direction: column; }
.contact__meta span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); font-weight: 700; }
.contact__meta a, .contact__meta li { font-weight: 600; }
.contact__meta a:hover { color: var(--accent); }
.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; background: var(--surface-2); resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 0, 32, 0.12); background: #fff;
}
.field input.invalid, .field textarea.invalid { border-color: var(--accent); }
.form__status { margin-top: 14px; font-weight: 700; font-size: 0.92rem; min-height: 1.2em; }
.form__status.ok { color: #1a8a3a; }
.form__status.err { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cfcfcf; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 0.92rem; max-width: 320px; color: #9a9a9a; }
.footer__col h4, .footer__network h4 {
  color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer__col a { display: block; margin-bottom: 10px; font-size: 0.92rem; color: #b5b5b5; transition: color 0.18s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__network img { background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.footer__note { font-size: 0.78rem; color: #7a7a7a; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem; color: #8a8a8a;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid, .team__grid, .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--surface); padding: 20px 24px 28px; box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform 0.3s ease; height: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { width: 100%; margin: 12px 0 0; flex-direction: column; }
  .nav__cta .btn { width: 100%; }
  .nav__toggle { display: flex; }
  .hero__inner, .about__grid, .platforms__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { order: 2; }
  .hero__panel { transform: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .services__grid, .team__grid, .portfolio__grid, .why__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .platforms__partner { position: static; margin: 16px auto 0; }
}
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .footer__grid { grid-template-columns: 1fr; }
}
