/* =========================================
   MKC — Design System & Styles
   Minimalist white/black, Lucida Console headings
   ========================================= */

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

:root {
  --font-heading: 'Lucida Console', 'Monaco', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --black: #111;
  --dark: #333;
  --muted: #666;
  --light: #999;
  --border: #e0e0e0;
  --bg-off: #f7f7f7;
  --bg-card: #fafafa;
  --white: #fff;
  --section-pad: 100px 0;
  --container-max: 1140px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--black); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--black); transition: var(--transition); }
a:hover { color: var(--muted); }
ul { list-style: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section-alt { background: var(--bg-off); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; letter-spacing: 0.5px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.3; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 24px; }
h3 { font-size: 1.1rem; margin-bottom: 12px; }
h4 { font-size: 0.95rem; }
p { margin-bottom: 16px; color: var(--dark); }
.section-intro { font-size: 1.05rem; color: var(--muted); max-width: 700px; margin-bottom: 48px; }
.section-subheading { font-family: var(--font-body); font-size: 1.1rem; font-weight: 400; color: var(--muted); margin-top: -16px; margin-bottom: 32px; }
.section-sub { padding: 60px 0; }
.sub-section-heading { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 400; margin-bottom: 16px; color: var(--dark); }
.sub-section-intro { font-size: 0.9rem; color: var(--light); max-width: 650px; margin-bottom: 40px; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 14px 32px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; border: 2px solid var(--black); border-radius: 0; cursor: pointer; transition: var(--transition); letter-spacing: 0.5px; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

/* =========================================
   NAVBAR
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: var(--transition); }
.navbar.scrolled { border-bottom-color: var(--border); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: flex; align-items: center; }
.logo img { height: 84px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.85rem; font-weight: 400; color: var(--muted); letter-spacing: 0.3px; text-transform: none; transition: var(--transition); }
.nav-links a:hover { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--black); }

/* =========================================
   HERO
   ========================================= */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 96px; }
.hero-content { max-width: 800px; }
.hero h1 { margin-bottom: 28px; }
.hero-sub { font-size: 1.05rem; line-height: 1.8; color: var(--muted); margin-bottom: 36px; }
.hero-sub a { color: var(--black); border-bottom: 1px solid var(--black); }
.hero-sub a:hover { color: var(--muted); border-color: var(--muted); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================
   ABOUT
   ========================================= */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.career-list { margin: 24px 0; }
.career-list li { padding: 8px 0 8px 20px; border-left: 2px solid var(--border); margin-bottom: 8px; font-size: 0.95rem; }
.career-list li strong { color: var(--black); }
.independence-note { font-style: italic; color: var(--muted); margin-top: 16px; font-size: 1rem; }
.awards-list { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.awards-list h3 { margin-bottom: 16px; }
.awards-list li { font-size: 0.9rem; color: var(--muted); padding: 4px 0; }

/* =========================================
   ENTERPRISE PROFESSOR
   ========================================= */
.professor-intro { font-style: italic; color: var(--muted); margin-bottom: 32px; }
.dean-quote { background: var(--bg-off); border-left: 3px solid var(--black); padding: 32px 40px; margin: 0; font-size: 0.95rem; line-height: 1.9; color: var(--dark); }
.dean-quote p { margin-bottom: 12px; font-style: italic; }
.dean-attribution { margin-top: 20px; font-style: normal; font-weight: 600; color: var(--black); }

/* =========================================
   SERVICES
   ========================================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.service-card { border: 1px solid var(--border); padding: 36px; transition: var(--transition); }
.service-card:hover { border-color: var(--black); }
.service-card h3 { font-size: 1rem; margin-bottom: 16px; }
.service-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* =========================================
   VIDEO TIMELINE
   ========================================= */
.timeline { position: relative; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.timeline-entry { display: flex; align-items: flex-start; margin-bottom: 60px; position: relative; }
.timeline-entry:nth-child(odd) { flex-direction: row; }
.timeline-entry:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; background: var(--black); border-radius: 50%; z-index: 2; }
.timeline-content { width: 44%; padding: 0 32px; }
.timeline-year { font-family: var(--font-heading); font-size: 0.85rem; color: var(--light); margin-bottom: 8px; letter-spacing: 1px; }
.timeline-content h3 { font-size: 0.95rem; margin-bottom: 8px; }
.timeline-content p { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.timeline-content a { font-size: 0.85rem; color: var(--black); font-weight: 600; border-bottom: 1px solid var(--black); }
.timeline-content a:hover { color: var(--muted); border-color: var(--muted); }
.timeline-thumb { display: block; border-bottom: none !important; margin-bottom: 12px; overflow: hidden; }
.timeline-thumb:hover { border-bottom: none !important; }
.timeline-thumb img { width: 100%; height: 180px; object-fit: cover; border: 1px solid var(--border); transition: var(--transition); }
.timeline-thumb:hover img { opacity: 0.85; }
.timeline-video { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--border); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-carousel { position: relative; max-width: 800px; margin: 0 auto; padding: 0 48px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { min-width: 100%; padding: 0 24px; }
.carousel-slide blockquote { font-size: 1.05rem; line-height: 1.8; color: var(--dark); font-style: italic; margin-bottom: 24px; border: none; padding: 0; }
.carousel-slide .attribution { font-family: var(--font-heading); font-size: 0.8rem; }
.carousel-slide .attribution strong { display: block; color: var(--black); font-size: 0.85rem; margin-bottom: 4px; font-weight: 400; }
.carousel-slide .attribution span { color: var(--light); font-size: 0.75rem; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--border); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; color: var(--black); transition: var(--transition); z-index: 2; }
.carousel-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--transition); border: none; }
.carousel-dot.active { background: var(--black); }

/* =========================================
   CLIENTS / LOGOS
   ========================================= */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-tab { padding: 8px 20px; font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; border: 1px solid var(--border); background: var(--white); cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-tab:hover, .filter-tab.active { background: var(--black); color: var(--white); border-color: var(--black); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 20px; align-items: start; }
.client-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; }
.client-logo img { width: 80px; height: 50px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: var(--transition); }
.client-logo:hover img { filter: grayscale(0%); opacity: 1; }
.client-name { font-size: 0.65rem; color: var(--light); text-align: center; line-height: 1.2; transition: var(--transition); }
.client-logo:hover .client-name { color: var(--dark); }

/* =========================================
   PHILANTHROPY / MORH
   ========================================= */
.morh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.morh-video { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--border); }
.morh-link { display: inline-block; margin-top: 16px; font-weight: 600; border-bottom: 1px solid var(--black); }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; color: var(--muted); }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 0.95rem; border: 1px solid var(--border); background: var(--white); color: var(--black); transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--black); }
.form-group textarea { min-height: 120px; resize: vertical; }
.checkbox-group { margin-bottom: 20px; }
.checkbox-group label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; color: var(--muted); }
.checkbox-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--black); }
.checkbox-item span { font-size: 0.9rem; }
.form-submit { margin-top: 8px; }
.form-success { display: none; padding: 24px; background: var(--bg-off); border: 1px solid var(--border); text-align: center; }
.form-success.show { display: block; }

/* =========================================
   FOOTER
   ========================================= */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-left { font-family: var(--font-heading); font-size: 0.8rem; color: var(--muted); }
.footer-abn { font-family: var(--font-body); font-size: 0.7rem; color: var(--light); margin-top: 4px; }
.footer-center { display: flex; align-items: center; gap: 12px; }
.footer-center a { color: var(--muted); font-size: 0.85rem; transition: var(--transition); }
.footer-center a:hover { color: var(--black); }
.footer-sep { color: var(--light); }
.footer-right { font-size: 0.75rem; color: var(--light); }

/* =========================================
   FADE-IN ANIMATION
   ========================================= */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 96px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .morh-grid, .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-entry, .timeline-entry:nth-child(even) { flex-direction: column; padding-left: 48px; }
  .timeline-content { width: 100%; padding: 0; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .filter-tabs { justify-content: center; }
}
