/* Sitewide Dialaxy theme: Merriweather headings + Lato body */
body.theme-dialaxy {
  --white: #ffffff;
  --off-white: #ffffff;
  --surface: #ffffff;
  --ink: #1e1e1e;
  --ink-70: rgba(30, 30, 30, 0.78);
  --ink-60: rgba(30, 30, 30, 0.68);
  --ink-50: rgba(30, 30, 30, 0.62);
  --ink-30: rgba(30, 30, 30, 0.45);
  --ink-10: rgba(30, 30, 30, 0.1);

  --dark-bg: #1a1d22;
  --dark-surface: #262b32;
  --dark-border: rgba(255, 255, 255, 0.14);
  --light-border: rgba(30, 30, 30, 0.1);

  --orange: #159946;
  --orange-mid: #2ba79d;
  --orange-light: #57cf84;
  --orange-soft: rgba(21, 153, 70, 0.12);
  --orange-deep: #0f7a36;
  --accent: #159946;
  --accent-soft: rgba(21, 153, 70, 0.12);
  --accent-2: #2ba79d;
  --accent-2-soft: rgba(43, 167, 157, 0.12);
  --accent-warm: #159946;
  --accent-warm-soft: rgba(21, 153, 70, 0.12);

  --green: #159946;
  --green-dim: rgba(21, 153, 70, 0.14);

  --font: "Lato", "Inter", system-ui, sans-serif;
  --font-display: "Merriweather", "Playfair Display", Georgia, serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 24px;

  --sh-sm: 0 1px 2px rgba(30, 30, 30, 0.05);
  --sh-md: 0 10px 28px rgba(30, 30, 30, 0.07);
  --sh-lg: 0 18px 44px rgba(30, 30, 30, 0.09);

  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Soften 3D canvas so copy stays readable */
body.theme-dialaxy #gl {
  opacity: 0;
  mix-blend-mode: normal;
  visibility: hidden;
}

/* ── Display headings: Merriweather Bold Italic (Dialaxy) ── */
body.theme-dialaxy .hero__billboard,
body.theme-dialaxy .h1-name,
body.theme-dialaxy .giant-h2,
body.theme-dialaxy h1,
body.theme-dialaxy h2,
body.theme-dialaxy .faq-heading,
body.theme-dialaxy .contact__h2,
body.theme-dialaxy .essay-h1,
body.theme-dialaxy header.nav .nav__logo span,
body.theme-dialaxy .uiux-banner__title,
body.theme-dialaxy .fe-card__title,
body.theme-dialaxy .be-card__title,
body.theme-dialaxy .seo-banner__title,
body.theme-dialaxy .work-card__title,
body.theme-dialaxy .pin__name {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

body.theme-dialaxy .giant-h2--light,
body.theme-dialaxy .dark-section .giant-h2,
body.theme-dialaxy .dark-section h2 {
  color: #ffffff !important;
}

body.theme-dialaxy .hero__billboard {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

body.theme-dialaxy .h1-name {
  font-size: inherit;
}

body.theme-dialaxy .giant-h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

body.theme-dialaxy .section--center .giant-h2,
body.theme-dialaxy .section-head .giant-h2 {
  max-width: 22ch;
}

body.theme-dialaxy .giant-h2 em,
body.theme-dialaxy .kw-fe,
body.theme-dialaxy .kw-be,
body.theme-dialaxy .kw-seo {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
}

body.theme-dialaxy header.nav .nav__logo em {
  font-style: italic;
  color: var(--accent);
}

/* Labels / eyebrows — Lato */
body.theme-dialaxy .h1-who,
body.theme-dialaxy .section-label,
body.theme-dialaxy .hero__eyebrow,
body.theme-dialaxy .skill-ticker__head {
  font-family: var(--font) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-30);
}

/* Body / subheads — Lato */
body.theme-dialaxy,
body.theme-dialaxy p,
body.theme-dialaxy li,
body.theme-dialaxy td,
body.theme-dialaxy th,
body.theme-dialaxy a,
body.theme-dialaxy button,
body.theme-dialaxy input,
body.theme-dialaxy textarea,
body.theme-dialaxy .hero__sub,
body.theme-dialaxy .section-desc,
body.theme-dialaxy .about__lead,
body.theme-dialaxy .about__body,
body.theme-dialaxy .nav__links a,
body.theme-dialaxy .skill-row__name,
body.theme-dialaxy .skill-row__cat,
body.theme-dialaxy h3,
body.theme-dialaxy h4,
body.theme-dialaxy summary,
body.theme-dialaxy summary h3 {
  font-family: var(--font) !important;
  font-style: normal;
}

body.theme-dialaxy .hero__sub,
body.theme-dialaxy .section-desc,
body.theme-dialaxy .about__lead,
body.theme-dialaxy .about__body {
  color: var(--ink-70);
  font-weight: 400;
  line-height: 1.75;
}

body.theme-dialaxy .about__lead {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 400;
}

body.theme-dialaxy h3,
body.theme-dialaxy summary h3,
body.theme-dialaxy .skill-row__name {
  font-weight: 700 !important;
  color: var(--ink);
}

/* ── Hero: Dialaxy-style centered marketing block ── */
body.theme-dialaxy .hero {
  background: #ffffff;
  text-align: center;
  align-items: center;
}

body.theme-dialaxy .hero__content {
  align-items: center;
  text-align: center;
}

body.theme-dialaxy .hero__billboard,
body.theme-dialaxy .hero__sub,
body.theme-dialaxy .hero__ctas,
body.theme-dialaxy .hero__chips,
body.theme-dialaxy .hero__stats {
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-inline: auto;
}

body.theme-dialaxy .hero__sub {
  max-width: 54ch;
  font-size: 1.125rem;
}

/* ── Content sections: left-aligned, solid readable surfaces ── */
body.theme-dialaxy .section {
  background: #ffffff;
  color: var(--ink);
}

body.theme-dialaxy .section.about,
body.theme-dialaxy #about {
  background: #ffffff;
}

body.theme-dialaxy .section-head,
body.theme-dialaxy .section--center .section-head {
  text-align: left;
  align-items: flex-start;
}

body.theme-dialaxy .section-desc--center {
  text-align: left;
  margin-inline: 0;
  max-width: 52ch;
}

body.theme-dialaxy .about__layout,
body.theme-dialaxy .about__content {
  text-align: left;
}

body.theme-dialaxy .dark-section {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.92);
}

body.theme-dialaxy .dark-section p,
body.theme-dialaxy .dark-section .section-desc,
body.theme-dialaxy .dark-section li {
  color: rgba(255, 255, 255, 0.78);
}

body.theme-dialaxy .dark-section .section-label,
body.theme-dialaxy .dark-section .section-label--light {
  color: rgba(255, 255, 255, 0.5);
}

/* Nav / buttons */
body.theme-dialaxy .nav.is-scrolled {
  background: color-mix(in srgb, #ffffff 92%, transparent);
  border-bottom-color: rgba(30, 30, 30, 0.08);
  box-shadow: var(--sh-sm);
}

body.theme-dialaxy .nav__cta,
body.theme-dialaxy .btn-black {
  background: var(--accent);
  color: #ffffff !important;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 8px 22px rgba(21, 153, 70, 0.28);
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

body.theme-dialaxy .nav__cta:hover,
body.theme-dialaxy .btn-black:hover {
  background: var(--orange-deep);
  opacity: 1;
}

body.theme-dialaxy .btn-outline {
  border-radius: 999px;
  border: 1.5px solid rgba(30, 30, 30, 0.16);
  color: var(--ink) !important;
  background: #ffffff;
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-style: normal !important;
}

body.theme-dialaxy .uiux-readmore {
  justify-content: flex-start;
  text-align: left;
  border: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-weight: 300 !important;
}

body.theme-dialaxy .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

body.theme-dialaxy a.ilink {
  color: var(--orange-deep);
  font-style: italic;
  font-weight: 400;
}

body.theme-dialaxy .inline-link {
  color: var(--accent);
  font-weight: 700;
}

body.theme-dialaxy .hero-stat__num,
body.theme-dialaxy .hero-stat__sfx {
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

body.theme-dialaxy .hero-stat__lbl {
  color: var(--accent) !important;
  font-family: var(--font) !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

body.theme-dialaxy .hero__chip {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  color: var(--ink);
}

body.theme-dialaxy .scroll-prog__fill {
  background: var(--accent);
}

body.theme-dialaxy .skill-row,
body.theme-dialaxy .faq-item,
body.theme-dialaxy .work-card,
body.theme-dialaxy .fe-card,
body.theme-dialaxy .be-card {
  color: var(--ink);
}

/* Keep top nav readable over dark footer/contact: light bar, dark type */
body.theme-dialaxy header.nav {
  z-index: 8000;
}

body.theme-dialaxy header.nav.is-scrolled,
body.theme-dialaxy header.nav.over-dark,
body.theme-dialaxy header.nav.over-dark.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(30, 30, 30, 0.08);
  box-shadow: var(--sh-sm);
}

body.theme-dialaxy header.nav.over-dark .nav__logo,
body.theme-dialaxy header.nav.over-dark .nav__logo span,
body.theme-dialaxy header.nav.over-dark .nav__burger,
body.theme-dialaxy header.nav.over-dark .nav__links a {
  color: var(--ink) !important;
}

body.theme-dialaxy header.nav.over-dark .nav__logo em {
  color: var(--accent) !important;
}

body.theme-dialaxy header.nav .nav__logo-mark,
body.theme-dialaxy header.nav.over-dark .nav__logo-mark {
  display: none !important;
}

body.theme-dialaxy .footer .nav__logo-mark {
  width: 32px;
  height: 32px;
  background: #ffffff;
}

body.theme-dialaxy header.nav.over-dark .nav__links a:hover,
body.theme-dialaxy header.nav.over-dark .nav__links a.is-active {
  color: var(--ink) !important;
}

body.theme-dialaxy header.nav.over-dark .nav__cta {
  background: var(--accent) !important;
  color: #ffffff !important;
}

/* Footer brand: white Abhinav on dark bar */
body.theme-dialaxy .footer {
  background: #1a1d22;
  color: rgba(255, 255, 255, 0.78);
}

body.theme-dialaxy .footer .nav__logo,
body.theme-dialaxy .footer .footer__logo,
body.theme-dialaxy .footer .nav__logo span,
body.theme-dialaxy .footer .footer__logo span {
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-weight: 700 !important;
}

body.theme-dialaxy .footer .nav__logo em,
body.theme-dialaxy .footer .footer__logo em {
  color: #57cf84 !important;
  font-style: italic !important;
}

body.theme-dialaxy .footer__tagline,
body.theme-dialaxy .footer-map a:not(.soc),
body.theme-dialaxy .footer-map__label,
body.theme-dialaxy .footer__bottom p,
body.theme-dialaxy .footer__bottom a:not(.soc) {
  color: rgba(255, 255, 255, 0.55);
}

body.theme-dialaxy .footer-brand__faqs {
  color: #57cf84;
  border-bottom-color: rgba(87, 207, 132, 0.5);
}

body.theme-dialaxy .footer-map a:hover:not(.soc),
body.theme-dialaxy .footer-map a[aria-current="page"],
body.theme-dialaxy .footer__bottom a:hover:not(.soc),
body.theme-dialaxy .footer-brand__faqs:hover {
  color: #ffffff;
}

/* Internal links: thin italic green, never underlined */
body.theme-dialaxy a.ilink,
body.theme-dialaxy a.inline-link,
body.theme-dialaxy main p a:not(.btn-black):not(.btn-outline):not(.btn-white):not(.btn-outline-white):not(.nav__cta):not(.soc):not(.hero__chip),
body.theme-dialaxy main li a:not(.btn-black):not(.btn-outline):not(.soc),
body.theme-dialaxy .faq details a,
body.theme-dialaxy .essay-copy a,
body.theme-dialaxy .essay-lead a,
body.theme-dialaxy .about__body a:not(.soc),
body.theme-dialaxy .about__lead a:not(.soc) {
  color: var(--orange-deep) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-family: var(--font) !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  background: none;
}

body.theme-dialaxy .footer a.ilink,
body.theme-dialaxy .footer a.inline-link {
  color: #57cf84 !important;
}

body.theme-dialaxy a.ilink:hover,
body.theme-dialaxy a.inline-link:hover,
body.theme-dialaxy main p a:not(.soc):not(.hero__chip):not(.btn-black):not(.btn-outline):hover,
body.theme-dialaxy .faq details a:hover {
  opacity: 0.72;
  text-decoration: none !important;
}

body.theme-dialaxy .soc,
body.theme-dialaxy .about__body a.soc,
body.theme-dialaxy main p a.soc,
body.theme-dialaxy .footer a.soc,
body.theme-dialaxy .footer__bottom a.soc {
  font-style: normal !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  border: 0 !important;
}

body.theme-dialaxy .soc--li,
body.theme-dialaxy .about__body a.soc--li,
body.theme-dialaxy main p a.soc--li,
body.theme-dialaxy .footer .soc--li,
body.theme-dialaxy .footer-map a.soc--li,
body.theme-dialaxy .footer__bottom a.soc--li {
  color: #0a66c2 !important;
  background: #ffffff !important;
}

body.theme-dialaxy .soc--ig,
body.theme-dialaxy .about__body a.soc--ig,
body.theme-dialaxy main p a.soc--ig,
body.theme-dialaxy .footer .soc--ig,
body.theme-dialaxy .footer-map a.soc--ig,
body.theme-dialaxy .footer__bottom a.soc--ig {
  color: #ffffff !important;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
}

body.theme-dialaxy .about__body,
body.theme-dialaxy .about__profiles {
  overflow: visible;
}

body.theme-dialaxy .essay-h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.18;
}

@media (max-width: 720px) {
  body.theme-dialaxy .hero__billboard {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  body.theme-dialaxy .giant-h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    max-width: none;
  }
}

/* Project/work photos in color. Personal portrait stays grayscale. */
body.theme-dialaxy img {
  filter: none !important;
}

body.theme-dialaxy img[src*="photo.jpg"],
body.theme-dialaxy .photo-frame img {
  filter: grayscale(1) contrast(1.06) !important;
}

body.theme-dialaxy html,
html:has(body.theme-dialaxy) {
  background: #ffffff;
}
