/* =========================================================
   Kishore Krishna Atmakuri - Portfolio
   Unified design system (Feature 05)
   ========================================================= */

:root {
  /* Brand palette */
  --maroon:       #5b1719;
  --maroon-deep:  #2f0d0e;
  --olive:        #586b24;
  --olive-deep:   #1c260d;
  --leaf:         #9aa84d;
  --saffron:      #e97317;
  --saffron-hot:  #ff8423;
  --vermilion:    #9f1822;
  --skin-warm:    #d99a73;
  --cream:        #f7efe2;
  --charcoal:     #171511;

  /* Surface + text tints */
  --text:         #f7efe2;
  --text-muted:   rgba(247, 239, 226, 0.72);
  --text-soft:    rgba(247, 239, 226, 0.86);
  --hairline:     rgba(247, 239, 226, 0.08);
  --hairline-2:   rgba(247, 239, 226, 0.14);

  --surface-1:    linear-gradient(165deg, rgba(91, 23, 25, 0.32), rgba(47, 13, 14, 0.55));
  --surface-1-hi: linear-gradient(165deg, rgba(91, 23, 25, 0.45), rgba(47, 13, 14, 0.70));

  /* Layout */
  --container-max: 1180px;
  --section-pad:   clamp(80px, 11vw, 132px);
  --nav-h:         64px;

  /* Radii + shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft:    0 14px 40px rgba(0, 0, 0, 0.35);
  --shadow-portrait: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(247, 239, 226, 0.06);

  /* Type */
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   Reset + base
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--charcoal);
  background-image:
    radial-gradient(1100px 600px at 12% 8%, rgba(233, 115, 23, 0.10), transparent 60%),
    radial-gradient(900px 600px at 92% 92%, rgba(154, 168, 77, 0.08), transparent 60%),
    linear-gradient(180deg, #2a0c0d 0%, #1a0f10 55%, #120e0c 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; display: block; }

a {
  color: var(--saffron);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--saffron-hot);
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--saffron);
  color: var(--charcoal);
}

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  width: min(var(--container-max), 100% - 40px);
  margin-inline: auto;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
  max-width: 68ch;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--cream);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
}

.section-title {
  margin: 0 0 clamp(24px, 3.5vw, 36px);
  max-width: 22ch;
}

.section-intro {
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  color: var(--text-muted);
  max-width: 64ch;
  margin: -8px 0 clamp(28px, 4vw, 40px);
}

.section-prose { max-width: 880px; }

/* =========================================================
   Skip link
   ========================================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--saffron);
  color: var(--charcoal);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 200ms var(--ease);
}

.skip-link:focus { top: 12px; color: var(--charcoal); }

/* =========================================================
   Accessibility utilities
   ========================================================= */

.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;
}

/* =========================================================
   Header + nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(18, 14, 12, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-weight: 700;
}

.brand:hover, .brand:focus-visible { color: var(--cream); }

.brand-mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(233, 115, 23, 0.35);
}

.brand-name { font-size: 1rem; }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.nav-menu a {
  display: inline-block;
  padding: 8px 14px;
  color: rgba(247, 239, 226, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--cream);
  background: rgba(247, 239, 226, 0.06);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--cream);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--cream);
  transition: transform 200ms var(--ease), top 200ms var(--ease);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { top: 0; transform: rotate(-45deg); }

/* =========================================================
   Buttons + links
   ========================================================= */

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--saffron);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  box-shadow: 0 10px 26px rgba(233, 115, 23, 0.32);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: var(--saffron-hot);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(233, 115, 23, 0.42);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), gap 160ms var(--ease);
}

.cta-link:hover,
.cta-link:focus-visible {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
  gap: 12px;
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  position: relative;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--hairline);
}

.section:first-of-type { border-top: 0; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 112px) 0 clamp(72px, 10vw, 128px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 78% 30%, rgba(233, 115, 23, 0.18), transparent 70%),
    radial-gradient(500px 380px at 18% 90%, rgba(154, 168, 77, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.hero-copy { max-width: 620px; }

.hero-eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #fff7e8 0%, #f0d9b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 500;
  max-width: 52ch;
}

.hero-subtitle strong {
  color: var(--cream);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.portrait-wrap {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 960 / 984;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--maroon), var(--olive-deep));
  box-shadow: var(--shadow-portrait);
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 14, 12, 0.30) 100%);
  pointer-events: none;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* =========================================================
   Card (unified - role, expertise, opportunity, contact)
   ========================================================= */

.role-card,
.expertise-card,
.opportunity-list li,
.contact-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.2vw, 26px);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.role-card:hover,
.expertise-card:hover,
.opportunity-list li:hover,
.contact-card:hover {
  border-color: rgba(233, 115, 23, 0.55);
  background: var(--surface-1-hi);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* role-card variant: more padding, full-width */
.role-card {
  max-width: 880px;
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--radius-lg);
}

.role-title {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: 0 0 6px;
}

.role-org {
  color: var(--leaf);
  font-weight: 600;
  margin: 0 0 18px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.role-body {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.role-body:last-child { margin-bottom: 0; }

.role-pillars {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.role-pillars li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: rgba(154, 168, 77, 0.07);
  border: 1px solid rgba(154, 168, 77, 0.22);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.role-pillars li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(154, 168, 77, 0.18);
  transition: background 160ms var(--ease), box-shadow 160ms var(--ease);
}

.role-pillars li:hover {
  border-color: rgba(233, 115, 23, 0.4);
  background: rgba(233, 115, 23, 0.08);
}

.role-pillars li:hover::before {
  background: var(--saffron);
  box-shadow: 0 0 0 3px rgba(233, 115, 23, 0.18);
}

/* =========================================================
   Expertise / vision grid
   ========================================================= */

.expertise-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: expertise-counter;
}

.expertise-card {
  position: relative;
  overflow: hidden;
}

.expertise-card::after {
  counter-increment: expertise-counter;
  content: "0" counter(expertise-counter);
  position: absolute;
  top: -12px;
  right: -8px;
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(247, 239, 226, 0.025);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.expertise-card:hover::after {
  color: rgba(233, 115, 23, 0.06);
  transform: scale(1.05) translate(-4px, 4px);
}

.expertise-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--cream);
}

.expertise-desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* =========================================================
   Vision
   ========================================================= */

.vision-statement {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.45;
  color: var(--cream);
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* =========================================================
   Action List (Key Initiatives)
   ========================================================= */

.action-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 200ms var(--ease), padding-left 200ms var(--ease), padding-right 200ms var(--ease);
  cursor: default;
}

.action-row:hover {
  background: rgba(247, 239, 226, 0.02);
  padding-left: 20px;
  padding-right: 20px;
  border-bottom-color: rgba(233, 115, 23, 0.3);
}

.action-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.action-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--cream);
}

.action-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.action-arrow {
  font-size: 1.5rem;
  color: var(--saffron);
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}

.action-row:hover .action-arrow {
  transform: translateX(8px);
  color: var(--saffron-hot);
}

.vision-initiatives {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--hairline);
}

.eyebrow-sub { margin-bottom: 6px; }

.subsection-title {
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  margin: 0 0 24px;
  color: var(--cream);
}

/* =========================================================
   Collaborate & Contact (Finale)
   ========================================================= */

.finale-grid {
  display: grid;
  gap: clamp(48px, 8vw, 80px);
}

@media (min-width: 880px) {
  .finale-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.collaborate-intro {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.opportunity-list {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(32px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.opportunity-list li {
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 16px 18px;
}

.collaborate-close {
  color: var(--cream);
  font-weight: 500;
  margin: 0;
  max-width: 720px;
  font-size: 1.1rem;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 44px) clamp(28px, 3vw, 36px);
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--surface-1-hi);
  border-color: rgba(233, 115, 23, 0.3);
}

.contact-card:hover {
  border-color: rgba(233, 115, 23, 0.6);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.contact-lead {
  color: var(--text-muted);
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 32ch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(18, 14, 12, 0.4);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: inherit;
  color: var(--cream);
  font-size: 0.95rem;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: rgba(18, 14, 12, 0.7);
  box-shadow: 0 0 0 3px rgba(233, 115, 23, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.cta-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.cta-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Honeypot - visually & positionally hidden, accessible via tabindex=-1 */
.form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: 0.95rem;
}
.form-status.is-ok  { color: #1f7a3a; }
.form-status.is-err { color: var(--vermilion, #9f1822); }

/* =========================================================
   About
   ========================================================= */

.about-grid {
  display: grid;
  gap: clamp(32px, 5vw, 40px);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
  }
}

.about h2 { max-width: 22ch; }

.role-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 clamp(26px, 4vw, 34px);
}

.about-closing {
  margin-top: 10px;
  color: var(--cream);
  font-weight: 500;
}

/* =========================================================
  Chip (role chip row)
   ========================================================= */

.chip,
.role-chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(154, 168, 77, 0.10);
  border: 1px solid rgba(154, 168, 77, 0.35);
  border-radius: var(--radius-pill);
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.chip:hover,
.role-chip-row span:hover {
  background: rgba(233, 115, 23, 0.16);
  border-color: var(--saffron);
  color: var(--cream);
}

/* =========================================================
   Leadership Bento
   ========================================================= */

.leadership-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 26px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

@media (min-width: 880px) {
  .leadership-bento {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.leadership-bento .bento-main {
  max-width: none;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-main .role-title {
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  margin: 0 0 14px;
  line-height: 1.25;
}

.bento-focus-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-focus-wrapper .role-org {
  margin-bottom: 0;
}

.bento-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  flex-grow: 1;
}

.bento-item {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-md);
  padding: 16px 16px 16px 40px;
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.bento-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(154, 168, 77, 0.18);
  transition: background 160ms var(--ease), box-shadow 160ms var(--ease);
}

.bento-item:hover {
  border-color: rgba(233, 115, 23, 0.55);
  background: var(--surface-1-hi);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.bento-item:hover::before {
  background: var(--saffron);
  box-shadow: 0 0 0 3px rgba(233, 115, 23, 0.18);
}

.leadership-close {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 1.02rem;
  margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--hairline);
  background: rgba(18, 14, 12, 0.6);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name  { margin: 0; font-weight: 700; color: var(--cream); }
.footer-tag   { margin: 0; font-size: 0.86rem; color: var(--text-muted); }
.footer-copy  { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portrait-wrap {
    order: -1;
    justify-self: center;
    max-width: 320px;
  }

  .hero-copy { max-width: none; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(18, 14, 12, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(calc(-100% - var(--nav-h) - 8px));
    transition: transform 240ms var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    visibility: hidden;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 1.02rem;
  }

  .site-footer-inner { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand-name      { display: none; }
  .nav-toggle-label { display: none; }
  .hero-title      { font-size: clamp(2rem, 9vw, 2.6rem); }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .role-card,
  .expertise-card,
  .opportunity-list li,
  .contact-card,
  .role-pillars li,
  .chip,
  .role-chip-row span {
    transition: none;
  }
  .role-card:hover,
  .expertise-card:hover,
  .opportunity-list li:hover,
  .contact-card:hover {
    transform: none;
  }
}
