:root {
  --navy: #101c32;
  --navy-2: #172640;
  --gold: #c5a568;
  --gold-light: #e4d1a0;
  --ivory: #f7f5f0;
  --white: #ffffff;
  --text: #1c2430;
  --muted: #687386;
  --line: #e5e7eb;
  --success: #1f6b4a;
  --error: #9b2c2c;
  --info: #172640;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 16px 40px rgba(16, 28, 50, 0.08);
  --header: 4.75rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p { overflow-wrap: anywhere; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 50;
}
.skip-link:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow { width: min(820px, 100%); }

.brand-bar { height: 4px; background: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: var(--ivory);
}

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--gold-light);
  min-width: 0;
}

.logo-mark { width: 2.6rem; height: 2.6rem; flex: none; color: var(--gold); }

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--display);
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-dhaviram { font-size: 1rem; }

.brand-ventures {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.brand-tagline {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--gold-light);
}

.brand-descriptor {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(228, 209, 160, 0.45);
  min-height: 44px;
  padding: 0 0.8rem;
  font: inherit;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--gold-light);
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -5px; }
.nav-toggle-lines::after { top: 5px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}

.site-nav > a,
.nav-parent {
  color: var(--ivory);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  padding: 0.4rem 0;
  cursor: pointer;
}

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

.nav-label { display: none; margin: 0; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.has-menu { position: relative; }

.caret {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 18rem;
  padding: 0.6rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.has-menu.is-open .dropdown { display: grid; }

.dropdown a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 0.7rem 0.75rem;
}
.dropdown a:hover,
.dropdown a:focus-visible { background: var(--ivory); }
.dropdown small { color: var(--muted); }
.dropdown-all { border-top: 1px solid var(--line); margin-top: 0.3rem; }

.nav-cta { margin-left: 0.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  text-align: center;
}
.btn:disabled { opacity: 0.7; cursor: wait; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(228, 209, 160, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }

.hero, .page-hero, .band {
  background: var(--navy);
  color: var(--ivory);
}

.hero { padding: 3.5rem 0 4rem; }
.page-hero { padding: 2.5rem 0 3rem; }
.band { padding: 4rem 0; }

.hero-grid, .split, .contact-layout, .prose-layout, .footer-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow, .section-index {
  margin: 0 0 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}
.eyebrow.light, .section-index.light { color: var(--gold-light); }

.lede { font-size: 1.15rem; max-width: 42rem; color: var(--gold-light); }
.hero .lede, .page-hero .lede, .band .lede { color: #d9deE6; }

.motto, .tagline {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.tagline-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  margin: 1.15rem 0 0.2rem;
}

.tagline-lead {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.tagline-rest {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--gold);
}

.tagline-enterprise {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero .tagline-lead,
.page-hero .tagline-lead,
.site-footer .tagline-lead { color: var(--gold-light); }

.hero .tagline-rest,
.page-hero .tagline-rest,
.site-footer .tagline-rest { color: var(--gold); }

.hero .tagline-enterprise,
.page-hero .tagline-enterprise,
.site-footer .tagline-enterprise { color: #d9dee6; }

.hero-index {
  display: grid;
  gap: 0.35rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-index a { color: var(--gold-light); text-underline-offset: 0.2em; }

.hero-art {
  background: var(--navy-2);
  border: 1px solid rgba(228, 209, 160, 0.25);
  padding: 1.25rem;
}

.section { padding: 4.5rem 0; }
.section-ivory { background: var(--ivory); }
.section-copy { max-width: 44rem; color: var(--muted); }

.section-head { max-width: 40rem; margin-bottom: 1.5rem; }

.principle-grid, .philosophy-grid, .process, .card-grid, .venture-grid, .chip-list {
  display: grid;
  gap: 1rem;
}

.principle-grid { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.philosophy-grid, .card-grid { margin-top: 1.5rem; }

.principle-grid li, .process li, .info-card, .philosophy-grid article, .side-card, .industry-block {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.section-ivory .principle-grid li,
.section-ivory .process li { background: var(--white); }

.index-num {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.venture-card { background: var(--white); border: 1px solid var(--line); min-width: 0; }
.venture-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.venture-art { background: var(--navy); padding: 1rem; }
.venture-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.venture-body { padding: 1.15rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.venture-body h3 { margin-bottom: 0.2rem; }
.venture-body p { color: var(--muted); }
.venture-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.8rem; }
.venture-card:hover { border-color: var(--gold); }

.text-link { color: var(--navy); text-decoration: underline; text-underline-offset: 0.18em; }
.section-more { margin-top: 1.25rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--text);
  padding: 0.2rem 0.55rem;
  font-size: 0.82rem;
  line-height: 1.3;
}
.badge-icon { width: 0.9rem; height: 0.9rem; flex: none; }
.hero-status .badge, .band .badge { background: transparent; color: var(--gold-light); border-color: rgba(228, 209, 160, 0.4); }

.split { align-items: start; }
.why-list { margin: 0; padding: 0; display: grid; gap: 0; }
.why-list li { list-style: none; padding: 1rem 0; border-top: 1px solid var(--line); }
.why-list h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.why-list p { color: var(--muted); margin: 0; }

.process { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.process li { border-top: 3px solid var(--gold); }

.industry-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.industry-list li {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}
.industry-list h3 { margin-bottom: 0.3rem; }
.industry-list a { color: var(--navy); }
.industry-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-content: start; }
.industry-links a { text-decoration: underline; text-underline-offset: 0.18em; }

.chip-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.chip-list li { border: 1px solid rgba(228, 209, 160, 0.3); padding: 1rem; }
.chip-list h3 { font-size: 1.15rem; }
.chip-list p { color: #d9dee6; margin: 0.4rem 0 0; }

.cta-band { background: var(--ivory); padding: 4rem 0; }
.cta-inline { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; font-size: 0.92rem; color: var(--gold-light); }
.breadcrumb a { color: var(--gold-light); }

.note {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  background: var(--ivory);
  color: var(--text);
}
.page-hero .note, .hero .note { background: rgba(255, 255, 255, 0.04); color: var(--ivory); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filters button {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.venture-group + .venture-group { margin-top: 2rem; }

.prose { max-width: 46rem; }
.prose a, .legal a { color: var(--navy); }
.value-list, .plain-list { padding-left: 1.1rem; }
.value-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.4rem 1rem; list-style: disc; }
.plain-list li { margin: 0.4rem 0; }

.side-card ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.side-card li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.side-card span { color: var(--muted); font-size: 0.9rem; }

.industry-stack { display: grid; gap: 1rem; }
.industry-block h2 { margin-top: 0.2rem; }
.related-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.related-links li { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.5rem 0; }
.related-links a { color: var(--navy); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 46rem; background: var(--white); }
th, td { text-align: left; vertical-align: top; padding: 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
th { font-weight: 650; }

.figure-panel { margin: 0; background: var(--navy); padding: 1rem; }
.figure-panel figcaption { color: var(--gold-light); padding-top: 0.75rem; font-size: 0.95rem; }

.contact-layout { align-items: start; }
.enquiry-form, .messages { display: grid; gap: 0.9rem; }
.form-row { display: grid; gap: 0.35rem; }
.form-row label { font-weight: 650; }
.req, .opt { font-weight: 500; color: var(--muted); font-size: 0.82rem; margin-left: 0.35rem; }
.help { color: var(--muted); font-size: 0.92rem; margin: 0; }
.field, .enquiry-form select, .enquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9ced6;
  background: var(--white);
  color: var(--text);
  font: inherit;
}
.enquiry-form textarea { min-height: 9rem; resize: vertical; }
.is-invalid .field, .is-invalid select, .is-invalid textarea { border-color: var(--error); }
.field-error { color: var(--error); margin: 0; }
.form-errors { border: 1px solid var(--error); padding: 0.75rem 1rem; color: var(--error); }
.repair-fields { border: 1px solid var(--line); padding: 1rem; margin: 0; display: grid; gap: 0.9rem; }
.repair-fields legend { padding: 0 0.4rem; font-family: var(--display); }
.consent-row { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.7rem; }
.consent-row input { width: 1.15rem; height: 1.15rem; margin-top: 0.35rem; }
.consent-row .field-error { grid-column: 1 / -1; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.messages { list-style: none; margin: 0 0 1rem; padding: 0; }
.message { padding: 0.9rem 1rem; border: 1px solid var(--line); }
.message-success { border-color: var(--success); }
.message-error { border-color: var(--error); }
.message-info { border-color: var(--navy); }

.site-footer { background: var(--navy); color: #d9dee6; padding: 3rem 0 1.5rem; }
.site-footer h2 { color: var(--ivory); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--sans); font-weight: 650; }
.site-footer a { color: var(--gold-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-motto { color: var(--gold); letter-spacing: 0.08em; }
.footer-tagline { color: var(--ivory); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(228, 209, 160, 0.25);
}
.footer-base ul { display: flex; gap: 1rem; }
.footer-base p { margin: 0; }

@media (min-width: 720px) {
  .principle-grid, .philosophy-grid { grid-template-columns: repeat(3, 1fr); }
  .venture-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .chip-list { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .contact-layout, .prose-layout { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .prose-layout { align-items: start; }
  .industry-list li { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
}

@media (min-width: 980px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr; }
  .split { grid-template-columns: 0.8fr 1.2fr; }
  .chip-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--navy-2);
    border-top: 1px solid rgba(228, 209, 160, 0.25);
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-parent, .nav-label { padding: 0.75rem 0; }
  .nav-parent { display: none; }
  .nav-label { display: block; }
  .has-menu { display: grid; }
  .dropdown {
    display: grid;
    position: static;
    min-width: 0;
    background: transparent;
    color: var(--ivory);
    border: 0;
    box-shadow: none;
    padding: 0 0 0.4rem 0.2rem;
  }
  .dropdown a { color: var(--ivory); padding: 0.55rem 0; }
  .dropdown a:hover, .dropdown a:focus-visible { background: transparent; }
  .dropdown small { color: var(--gold-light); }
  .nav-cta { margin: 0.6rem 0 0; width: 100%; }
  .hero-grid, .contact-layout, .prose-layout { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .container { width: min(1120px, calc(100% - 1.5rem)); }
  .button-row .btn, .nav-cta, .side-card .btn, .industry-block .btn { width: 100%; }
  .brand-dhaviram { font-size: 0.82rem; letter-spacing: 0.08em; }
  .brand-ventures { font-size: 0.62rem; letter-spacing: 0.1em; }
  .brand-tagline { font-size: 0.78rem; }
  .brand-descriptor { letter-spacing: 0.06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
