/* Shared presentation system for Mahando's About and Contact pages. */
:root {
  color-scheme: light;
  --page-bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f8;
  --surface-strong: #0a1423;
  --text: #101a2b;
  --muted: #5f6c7e;
  --line: #dce4ee;
  --brand: #d99a24;
  --brand-bright: #f2bd52;
  --brand-soft: #fff4d6;
  --shadow: 0 24px 70px rgba(25, 42, 68, .10);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #07101d;
  --surface: #0d1829;
  --surface-soft: #111f33;
  --surface-strong: #050d18;
  --text: #f7f9fc;
  --muted: #a8b4c6;
  --line: #223149;
  --brand: #efb640;
  --brand-bright: #ffd36d;
  --brand-soft: #292313;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(239, 182, 64, .42);
  outline-offset: 4px;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--page-bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.site-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 10px 30px rgba(7, 16, 29, .18);
}

.site-brand strong {
  display: block;
  font-size: .96rem;
  letter-spacing: -.025em;
}

.site-brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: .63rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: .79rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

.theme-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(15, 23, 42, .06);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.eyebrow {
  max-width: 68ch;
  margin: 0;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 128px) 0 clamp(68px, 8vw, 108px);
  background:
    radial-gradient(circle at 84% 10%, rgba(231, 170, 50, .18), transparent 29%),
    radial-gradient(circle at 5% 92%, rgba(52, 108, 178, .13), transparent 30%),
    var(--page-bg);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.hero-title {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(2.35rem, 3.55vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero-title .headline-line {
  display: block;
}

.hero-title .headline-line + .headline-line {
  margin-top: .08em;
}

.hero-copy {
  max-width: 68ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.35vw, 1.08rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #111827;
}

.button.primary:hover {
  background: var(--brand-bright);
}

.profile-card,
.contact-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, var(--brand) 4%), var(--surface));
  box-shadow: var(--shadow);
}

.profile-card::before,
.contact-hero-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #68b6bb, transparent 86%);
  content: "";
}

.profile-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-intro img {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border: 2px solid color-mix(in srgb, var(--brand) 48%, var(--line));
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 14px 35px rgba(8, 16, 29, .24);
}

.profile-intro h2,
.contact-hero-card h2 {
  margin: 7px 0 0;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  letter-spacing: -.035em;
  line-height: 1.2;
}

.profile-role {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}

.profile-statement,
.contact-hero-card > p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.8;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 24px;
}

.proof-item {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.proof-item strong {
  display: block;
  color: var(--brand);
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.5;
}

.page-section {
  padding: clamp(72px, 8vw, 108px) 0;
}

.page-section.alt {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-head {
  max-width: 1040px;
}

.section-title {
  max-width: 1040px;
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 2.65vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.section-copy {
  max-width: 72ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.78;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: 0 13px 38px rgba(20, 37, 62, .055);
}

.info-card-number {
  color: var(--brand);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.info-card h3 {
  margin: 20px 0 0;
  font-size: 1.02rem;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.75;
}

.statement-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 82px);
  align-items: start;
}

.statement-panel {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.statement-panel blockquote {
  margin: 0;
  font-size: clamp(1.42rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.32;
}

.statement-panel cite {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: .73rem;
  font-style: normal;
}

.principles {
  display: grid;
  gap: 14px;
}

.principle {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.principle:first-child {
  padding-top: 0;
}

.principle:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.principle-marker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .76rem;
  font-weight: 700;
}

.principle h3 {
  margin: 1px 0 0;
  font-size: 1rem;
}

.principle p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.72;
}

.cta-section {
  padding: clamp(68px, 8vw, 100px) 0;
  background:
    radial-gradient(circle at 87% 15%, rgba(239, 182, 64, .22), transparent 30%),
    linear-gradient(145deg, #081321, #101e32);
  color: #f8fafc;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.cta-section .eyebrow {
  color: #f5c55f;
}

.cta-section h2 {
  max-width: 780px;
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.cta-section p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #b7c3d3;
  font-size: .92rem;
  line-height: 1.8;
}

.cta-actions {
  display: grid;
  gap: 11px;
}

.cta-actions .button {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.cta-actions .button.primary {
  border-color: #e7aa32;
  background: #e7aa32;
  color: #111827;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 42px;
}

.channel-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(19, 34, 58, .06);
  transition: transform .18s ease, border-color .18s ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
}

.channel-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
}

.channel-icon svg {
  width: 22px;
  height: 22px;
}

.channel-card h2 {
  margin: 22px 0 0;
  font-size: 1.02rem;
  letter-spacing: -.02em;
}

.channel-card p {
  flex: 1;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.7;
}

.channel-value {
  display: block;
  margin-top: 22px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: .77rem;
  font-weight: 700;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.detail-panel {
  padding: clamp(27px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 27px;
  background: var(--surface);
}

.detail-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -.035em;
}

.detail-panel > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
}

.check-list li::before {
  position: absolute;
  top: .25em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  content: "✓";
  font-size: .65rem;
  font-weight: 700;
}

.availability {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.availability-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.availability-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.availability-row span {
  color: var(--muted);
  font-size: .76rem;
}

.availability-row strong {
  max-width: 58%;
  font-size: .76rem;
  text-align: right;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, .14);
  background: #050e1a;
  color: #f8fafc;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(135px, .55fr));
  gap: 40px;
  padding: 58px 0 44px;
}

.footer-brand {
  max-width: 390px;
}

.footer-brand .site-brand {
  color: #fff;
}

.footer-brand .site-brand small {
  color: #91a1b7;
}

.footer-brand > p {
  margin: 17px 0 0;
  color: #9faec1;
  font-size: .78rem;
  line-height: 1.75;
}

.site-footer h2 {
  margin: 3px 0 16px;
  color: #f1c55f;
  font-size: .67rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  color: #9faec1;
  font-size: .76rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 27px;
  border-top: 1px solid rgba(148, 163, 184, .14);
  color: #8090a6;
  font-size: .7rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-card,
  .contact-hero-card {
    max-width: 760px;
  }
}

@media (min-width: 1181px) {
  .hero-title {
    max-width: none;
  }

  .about-page .hero-title {
    font-size: clamp(2.3rem, 3vw, 2.5rem);
  }

  .hero-title .headline-line {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .statement-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .profile-card,
  .contact-hero-card {
    max-width: 720px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .section-title .headline-line {
    display: block;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header-inner {
    min-height: 70px;
  }

  .site-nav a:not([aria-current="page"]) {
    display: none;
  }

  .site-nav {
    gap: 10px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-title {
    font-size: clamp(2.05rem, 8.5vw, 2.65rem);
    line-height: 1.11;
  }

  .hero-title .headline-line {
    display: inline;
  }

  .hero-title .headline-line + .headline-line {
    margin-top: 0;
  }

  .hero-copy {
    max-width: 42rem;
    font-size: .98rem;
    line-height: 1.74;
  }

  .section-title {
    font-size: clamp(1.75rem, 7.2vw, 2.2rem);
    line-height: 1.17;
  }

  .cta-section h2 {
    font-size: clamp(1.9rem, 7.8vw, 2.25rem);
    line-height: 1.15;
  }

  .contact-channel-grid,
  .card-grid.three,
  .contact-detail-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    max-width: 520px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-brand small {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    display: none;
  }

  .profile-intro {
    align-items: flex-start;
  }

  .profile-intro img {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .proof-grid,
  .card-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .info-card {
    padding: 24px;
  }

  .availability-row {
    display: grid;
    gap: 6px;
  }

  .availability-row strong {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
