/* =========================================
   SHAHIL KHAN — PREMIUM PORTFOLIO UI
   ========================================= */

:root {
  --bg: #f6f2ea;
  --bg-soft: #ece6db;
  --surface: #fffdf8;
  --surface-muted: #f3ede2;
  --ink: #18222f;
  --ink-soft: #4d5a69;
  --stroke: #d3c7b7;
  --accent: #9f6f38;
  --accent-strong: #7e5425;
  --navy: #233447;
  --success: #2e7445;
  --danger: #a23535;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;
  --shadow-soft: 0 12px 36px rgba(24, 34, 47, 0.12);
  --shadow-card: 0 18px 42px rgba(24, 34, 47, 0.08);
  --transition: all 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top right, #ffffff 0%, var(--bg) 55%),
    linear-gradient(180deg, #f9f6f0 0%, #f2ebdf 100%);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  cursor: default;
}

a,
button,
[onclick] {
  cursor: pointer;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #e7dfd2;
}

::-webkit-scrollbar-thumb {
  background: #b3956e;
  border-radius: 20px;
}

/* ---- ADMIN TOGGLE BTN ---- */
#adminToggleBtn {
  position: fixed;
  top: 55px;
  right: 18px;
  z-index: 9000;
  background: rgba(24, 34, 47, 0.95);
  color: #f4ede0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: var(--transition);
}

#adminToggleBtn:hover {
  transform: translateY(-1px);
  background: #101926;
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 23, 34, 0.7);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.modal-box {
  background: #ffffff;
  border: 1px solid #e1d6c7;
  padding: 32px;
  border-radius: 16px;
  width: min(92vw, 360px);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.modal-box h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 14px;
}

.modal-box input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5c6b4;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}

.modal-box input:focus {
  border-color: var(--accent);
}

.password-wrap {
  position: relative;
  width: 100%;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: var(--ink-soft);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toggle-pass:hover {
  opacity: 1;
}

.modal-btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.modal-btns button {
  flex: 1;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--font-body);
}

.modal-btns button:first-child {
  background: var(--accent);
  color: #fff;
}

.modal-btns button:first-child:hover {
  background: var(--accent-strong);
}

.cancel-btn {
  background: #f1ece4 !important;
  color: #556274 !important;
}

/* ---- ADMIN PANEL ---- */
#adminPanel {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  background: #f6efe5;
}

#adminSidebar {
  width: 260px;
  background: #1a2735;
  color: #e5d7c4;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
}

.admin-logo {
  padding: 24px 20px;
  font-size: 18px;
  letter-spacing: 1.3px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#adminSidebar nav {
  flex: 1;
  padding: 10px 0;
}

.admin-nav-btn {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(238, 228, 214, 0.8);
  text-align: left;
  padding: 11px 18px;
  border-left: 3px solid transparent;
  font-size: 13px;
  transition: var(--transition);
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #d6b182;
}

.admin-logout {
  margin: 12px 16px 20px;
  border: 1px solid rgba(255, 122, 122, 0.8);
  color: #ff8a8a;
  background: transparent;
  border-radius: 8px;
  padding: 10px;
}

#adminContent {
  flex: 1;
  overflow-y: auto;
  padding: 36px;
}

.admin-section h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 22px;
}

.admin-field {
  margin-bottom: 18px;
}

.admin-field label {
  display: block;
  color: #647487;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8c8b3;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.admin-save {
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.admin-save:hover {
  background: #172230;
}

.admin-add {
  border: 1px dashed #998060;
  background: #f8f3eb;
  color: #7f613d;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
}

.admin-row {
  display: grid;
  gap: 10px;
  border: 1px solid #deceb8;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
}

.admin-row-del {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: #d85a5a;
  font-size: 16px;
}

.admin-section-note {
  color: #5f7084;
  margin-bottom: 14px;
  font-size: 14px;
}

.admin-awards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-award-row {
  border: 1px solid #d9c7b0;
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fcf8f1 100%);
  box-shadow: 0 10px 20px rgba(25, 39, 57, 0.06);
  gap: 12px;
}

.admin-award-del {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff2f2;
  border: 1px solid #f0b7b7;
  color: #bb4e4e;
  font-size: 15px;
  line-height: 1;
  top: 4px;
  right: 4px;
}

.admin-award-del:hover {
  background: #ffe6e6;
  color: #9f3737;
}

.admin-award-head,
.admin-award-body {
  display: grid;
  gap: 10px;
}

.admin-award-head {
  grid-template-columns: minmax(88px, 112px) 1fr;
}

.admin-award-body {
  grid-template-columns: 1fr 1fr;
}

.admin-award-field label {
  display: block;
  color: #627286;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-award-field input {
  width: 100%;
  border: 1px solid #d7c5ad;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
  color: var(--ink);
  transition: var(--transition);
}

.admin-award-field input:focus {
  outline: none;
  border-color: #b38854;
  box-shadow: 0 0 0 3px rgba(179, 136, 84, 0.15);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.admin-films-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-film-row {
  border: 1px solid #d9c7b0;
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fcf8f1 100%);
  box-shadow: 0 10px 20px rgba(25, 39, 57, 0.06);
  gap: 12px;
}

.admin-film-del {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff2f2;
  border: 1px solid #f0b7b7;
  color: #bb4e4e;
  font-size: 15px;
  line-height: 1;
  top: 12px;
  right: 12px;
}

.admin-film-del:hover {
  background: #ffe6e6;
  color: #9f3737;
}

.admin-film-main,
.admin-film-sub {
  display: grid;
  gap: 10px;
}

.admin-film-main {
  grid-template-columns: 1fr minmax(88px, 98px) 1fr;
}

.admin-film-sub {
  grid-template-columns: 1fr 1fr;
}

.admin-film-field label {
  display: block;
  color: #627286;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-film-field input {
  width: 100%;
  border: 1px solid #d7c5ad;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
  color: var(--ink);
  transition: var(--transition);
}

.admin-film-field input:focus {
  outline: none;
  border-color: #b38854;
  box-shadow: 0 0 0 3px rgba(179, 136, 84, 0.15);
}

.admin-film-media {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.admin-film-preview {
  width: 120px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  border: 1px dashed #cfb897;
  background: #f8f2e7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #6e7f92;
  font-size: 11px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}

.admin-film-preview.has-image {
  border-style: solid;
  background: #fff;
}

.admin-film-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.admin-film-upload label {
  display: block;
  color: #627286;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-film-upload input[type="file"] {
  width: 100%;
  border: 1px solid #d7c5ad;
  border-radius: 9px;
  padding: 8px;
  font-size: 12px;
  background: #fff;
  color: #4b5c70;
}

.admin-film-clear {
  margin-top: 8px;
  border: 1px solid #deb2b2;
  background: #fff3f3;
  color: #9f3f3f;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}

.admin-film-clear:hover {
  background: #ffe8e8;
}

/* ---- NAVIGATION ---- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px clamp(18px, 4vw, 54px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

#mainNav.scrolled {
  background: rgba(246, 242, 234, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 119, 80, 0.22);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--navy);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(16px, 2.8vw, 32px);
}

.nav-link {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  position: relative;
  padding-bottom: 3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  font-size: 22px;
  color: var(--navy);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 270px;
  height: 100vh;
  background: #faf6ef;
  z-index: 999;
  padding: 90px 24px;
  border-left: 1px solid #dcccb6;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: right 0.32s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.14;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(8%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(246, 242, 234, 0.95) 0%, rgba(246, 242, 234, 0.8) 46%, rgba(24, 34, 47, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 84px);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 14vw, 170px);
  line-height: 0.85;
  color: var(--navy);
  margin-bottom: 22px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-title em {
  color: #fff;
  font-style: italic;
  text-shadow: 0 2px 18px rgba(24, 34, 47, 0.35);
}

.hero-tagline {
  color: #2e3d4f;
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 34px;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--navy);
  line-height: 0.95;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #566577;
  font-weight: 600;
}

.stat-div {
  width: 1px;
  height: 42px;
  background: rgba(35, 52, 71, 0.2);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 13px 24px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #162332;
}

.btn-outline {
  border: 1px solid #5f7084;
  color: #213447;
  background: rgba(255, 255, 255, 0.42);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.hero-portrait-wrap {
  display: flex;
  justify-content: center;
}

.hero-portrait-card {
  width: min(460px, 100%);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 28px 56px rgba(15, 23, 34, 0.35);
  position: relative;
  transform: translateY(20px);
  animation: heroPortraitBounce 3.6s ease-in-out infinite;
  will-change: transform;
}

.hero-portrait-card img {
  width: 100%;
  height: clamp(360px, 52vw, 560px);
  object-fit: cover;
  display: block;
}

.hero-portrait-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 34, 47, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}

.hero-meta-label {
  display: block;
  color: #5e6d7f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero-portrait-meta strong {
  color: var(--navy);
  font-size: 14px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: clamp(18px, 6vw, 84px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #55677c;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.scroll-line {
  width: 58px;
  height: 2px;
  background: rgba(35, 52, 71, 0.3);
  animation: scrollPulse 2s infinite;
}

@keyframes heroPortraitBounce {

  0%,
  100% {
    transform: translateY(20px);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    width: 58px;
    opacity: 1;
  }

  50% {
    width: 78px;
    opacity: 0.55;
  }
}

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- COMMON SECTIONS ---- */
section {
  padding: clamp(72px, 9vw, 122px) 0;
}

#about,
#films,
#events {
  background: transparent;
}

#snapshot,
#awards,
#gallery,
#contact {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(246, 241, 234, 0.82) 100%);
}

#careerJourney {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(246, 241, 234, 0.82) 100%);
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.journey-item {
  background: linear-gradient(160deg, #fffefc 0%, #f6efe4 100%);
  border: 1px solid #d7c8b4;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 10px 20px rgba(24, 34, 47, 0.06);
  transition: var(--transition);
  min-height: 250px;
  height: 100%;
}

.journey-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(24, 34, 47, 0.12);
  border-color: #c8ab84;
}

.journey-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #1f3447;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.9px;
  font-weight: 700;
  margin-bottom: 12px;
}

.journey-item h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 26px;
  line-height: 1.08;
  margin-bottom: 14px;
  margin-top: 8px;
}

.journey-item p {
  margin-top: auto;
  color: #485a6e;
  font-size: 14px;
  line-height: 1.8;
}

.admin-journey-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-journey-row {
  border: 1px solid #d9c7b0;
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fcf8f1 100%);
  box-shadow: 0 10px 20px rgba(25, 39, 57, 0.06);
  gap: 12px;
}

.admin-journey-del {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff2f2;
  border: 1px solid #f0b7b7;
  color: #bb4e4e;
  font-size: 15px;
  line-height: 1;
  top: 4px;
  right: 4px;
}

.admin-journey-del:hover {
  background: #ffe6e6;
  color: #9f3737;
}

.admin-journey-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.admin-journey-field label {
  display: block;
  color: #627286;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-journey-field input,
.admin-journey-field textarea {
  width: 100%;
  border: 1px solid #d7c5ad;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  transition: var(--transition);
}

.admin-journey-field textarea {
  resize: vertical;
}

.admin-journey-field input:focus,
.admin-journey-field textarea:focus {
  outline: none;
  border-color: #b38854;
  box-shadow: 0 0 0 3px rgba(179, 136, 84, 0.15);
}

.admin-expertise-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-expertise-row {
  border: 1px solid #d9c7b0;
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fcf8f1 100%);
  box-shadow: 0 10px 20px rgba(25, 39, 57, 0.06);
  gap: 12px;
}

.admin-expertise-del {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff2f2;
  border: 1px solid #f0b7b7;
  color: #bb4e4e;
  font-size: 15px;
  line-height: 1;
  top: 12px;
  right: 12px;
}

.admin-expertise-del:hover {
  background: #ffe6e6;
  color: #9f3737;
}

.admin-expertise-head {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}

.admin-expertise-field label {
  display: block;
  color: #627286;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-expertise-field input,
.admin-expertise-field textarea {
  width: 100%;
  border: 1px solid #d7c5ad;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  transition: var(--transition);
}

.admin-expertise-field textarea {
  resize: vertical;
}

.admin-expertise-field input:focus,
.admin-expertise-field textarea:focus {
  outline: none;
  border-color: #b38854;
  box-shadow: 0 0 0 3px rgba(179, 136, 84, 0.15);
}

#expertise {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(246, 241, 234, 0.82) 100%);
  color: var(--ink);
  position: relative;
}

#expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, rgba(24, 34, 47, 0.35) 1px, transparent 0);
  background-size: 20px 20px;
}

.expertise-header {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.expertise-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 11px;
  color: #8b673d;
  margin-bottom: 14px;
}

.expertise-kicker::before {
  content: '';
  width: 38px;
  height: 1px;
  background: #8b673d;
}

.expertise-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.8vw, 72px);
  line-height: 0.95;
  color: var(--navy);
  margin-bottom: 12px;
}

.expertise-title span {
  color: #9f6f38;
}

.expertise-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 30px);
  color: #3f4f61;
  max-width: 960px;
  line-height: 1.55;
}

.expertise-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #d7c8b4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(24, 34, 47, 0.08);
}

.expertise-card {
  background: linear-gradient(160deg, #fffefc 0%, #f6efe4 100%);
  border-right: 1px solid #d7c8b4;
  border-bottom: 1px solid #d7c8b4;
  padding: 26px 24px 22px;
  min-height: 250px;
  transition: var(--transition);
}

.expertise-card:nth-child(3n) {
  border-right: none;
}

.expertise-card:nth-child(n + 4) {
  border-bottom: none;
}

.expertise-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.9;
  color: rgba(159, 111, 56, 0.26);
  margin-bottom: 16px;
}

.expertise-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fffdf9 0%, #f4ead9 100%);
  border: 1px solid #d8c5a7;
  box-shadow: 0 8px 16px rgba(24, 34, 47, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.expertise-card:hover .expertise-icon {
  transform: translateY(-2px) scale(1.04);
  border-color: #bf9a67;
  box-shadow: 0 12px 22px rgba(24, 34, 47, 0.18);
}

.expertise-card:nth-child(6n + 1) .expertise-icon {
  color: #7156bc;
}

.expertise-card:nth-child(6n + 2) .expertise-icon {
  color: #4f6eb6;
}

.expertise-card:nth-child(6n + 3) .expertise-icon {
  color: #5f88b8;
}

.expertise-card:nth-child(6n + 4) .expertise-icon {
  color: #8171a9;
}

.expertise-card:nth-child(6n + 5) .expertise-icon {
  color: #6654aa;
}

.expertise-card:nth-child(6n + 6) .expertise-icon {
  color: #cf7f7f;
}

.expertise-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(18px, 1.6vw, 30px);
  color: var(--navy);
  margin-bottom: 8px;
}

.expertise-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #49596d;
}

.expertise-card:hover {
  background: linear-gradient(170deg, #fff8ee 0%, #f2e4cf 100%);
}

.expertise-card:hover .expertise-num {
  color: rgba(159, 111, 56, 0.55);
}

.expertise-card:hover h3 {
  color: #7b5529;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5.8vw, 80px);
}

.section-header {
  margin-bottom: 36px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f7f92;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #90a1b5;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.95;
  color: var(--navy);
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.about-img-frame {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(40, 55, 73, 0.1);
}

.about-img-frame img {
  display: block;
  width: 100%;
  height: min(80vw, 560px);
  max-height: 560px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.about-image-wrap:hover .about-img-frame img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.about-img-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(24, 34, 47, 0.85);
  color: #fff;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 999px;
}

.about-image-wrap {
  position: relative;
}

.about-decorative-line {
  position: absolute;
  top: 50%;
  left: -16px;
  width: 4px;
  height: 68%;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, #8d673d, transparent);
  border-radius: 99px;
}

.about-text p {
  color: #3d4b5b;
  line-height: 2.2;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 16px;
  margin-top: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  border: 1px solid #bca587;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  text-transform: uppercase;
  color: #7f5a30;
  font-weight: 700;
  background: #fffaf2;
  transition: var(--transition);
}

.tag:hover {
  background: #f1e2cb;
  border-color: #b38a5f;
  color: #694620;
  transform: translateY(-2px);
}

/* ---- SNAPSHOT ---- */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.snapshot-card {
  border: 1px solid #d9c9b4;
  border-radius: 18px;
  background: linear-gradient(140deg, #fffefd 0%, #f3ebdf 100%);
  padding: 24px;
  box-shadow: 0 14px 28px rgba(24, 34, 47, 0.06);
  transition: var(--transition);
}

.snapshot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px rgba(24, 34, 47, 0.12);
  border-color: #c6aa84;
}

.snapshot-card:hover .snapshot-value {
  color: #7e5425;
}

.snapshot-label {
  color: #617185;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 800;
  margin-bottom: 8px;
}

.snapshot-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.95;
  color: var(--navy);
  margin-bottom: 10px;
}

.snapshot-note {
  color: #506173;
  line-height: 1.6;
  font-size: 14px;
}

/* ---- AWARDS ---- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.award-card {
  border: 1px solid #dcccb7;
  border-radius: 14px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 12px 24px rgba(25, 39, 57, 0.06);
  transition: var(--transition);
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(25, 39, 57, 0.12);
}

.award-year {
  font-family: var(--font-display);
  color: #8c6840;
  font-size: 42px;
  line-height: 0.9;
}

.award-title {
  font-size: 18px;
  margin: 8px 0 7px;
  color: var(--navy);
  font-weight: 700;
}

.award-event {
  color: #5b6a7a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.award-film {
  margin-top: 8px;
  color: #7f5d37;
  font-style: italic;
  font-size: 14px;
}

/* ---- FILMS ---- */
.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.film-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8c9b4;
  background: #fff;
  box-shadow: 0 12px 22px rgba(24, 34, 47, 0.06);
  transition: var(--transition);
  position: relative;
}

.film-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(24, 34, 47, 0.12);
}

.film-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.film-card:hover .film-poster {
  transform: scale(1.04);
}

.film-info {
  padding: 16px;
}

.film-year {
  color: #6f7f92;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
}

.film-title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  color: var(--navy);
  margin: 5px 0 8px;
}

.film-role {
  color: #48596d;
  font-size: 13px;
  line-height: 1.5;
}

.film-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(19, 31, 44, 0.5);
  transition: var(--transition);
}

.film-card:hover .film-overlay {
  opacity: 1;
}

.film-overlay-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(24, 34, 47, 0.1);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 14px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.8px;
  background: linear-gradient(to top, rgba(12, 19, 29, 0.84) 0%, rgba(12, 19, 29, 0) 100%);
}

/* ---- LIGHTBOX ---- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 26, 0.94);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.lb-close {
  top: 18px;
  right: 18px;
  font-size: 30px;
  width: 44px;
  height: 44px;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  width: 44px;
  height: 54px;
}

.lb-prev {
  left: 18px;
}

.lb-next {
  right: 18px;
}

.lb-inner {
  max-width: min(86vw, 1100px);
  text-align: center;
}

.lb-inner img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
}

#lbCaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

/* ---- EVENTS ---- */
.events-list {
  max-width: 980px;
}

.event-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #d8cab8;
  padding: 18px 0;
  transition: var(--transition);
}

.event-item:hover {
  padding-left: 8px;
}

.event-date {
  text-align: center;
  background: #fff;
  border: 1px solid #d8cab8;
  border-radius: 12px;
  padding: 8px 4px;
}

.event-day {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 0.9;
  color: var(--navy);
}

.event-month {
  font-size: 10px;
  color: #5f7083;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-title {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 5px;
}

.event-location {
  color: #4f5f72;
  font-size: 14px;
}

.event-type {
  border: 1px solid #b59b79;
  border-radius: 999px;
  padding: 7px 14px;
  color: #7d5d36;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact-left p {
  color: #415366;
  line-height: 1.8;
  margin: 20px 0 24px;
  max-width: 560px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-info-item {
  text-decoration: none;
  color: #304356;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.contact-info-item:hover {
  color: var(--accent-strong);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid #c8b59a;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5a6b7e;
  font-weight: 700;
  transition: var(--transition);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-btn:hover {
  border-color: #9f7a4f;
  color: #7d5a34;
  background: #fffaf2;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(24, 34, 47, 0.12);
}

.social-btn:hover .social-icon {
  transform: scale(1.08);
}

.contact-form {
  border: 1px solid #dacbb9;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 11px;
  color: #637488;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  border: 1px solid #d6c8b6;
  border-radius: 10px;
  font-family: var(--font-body);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid #d6c8b6;
  padding: 56px 16px;
  text-align: center;
  background: #f7f2e7;
}

.footer-logo {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(40px, 7vw, 64px);
  line-height: 0.9;
}

.footer-sub {
  color: #607185;
  font-size: 12px;
  letter-spacing: 1.4px;
  margin: 8px 0;
  text-transform: uppercase;
}

.footer-copy {
  color: #77879a;
  font-size: 12px;
}

/* ---- TOAST ---- */
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(130px);
  background: #1a2837;
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  z-index: 9999;
  transition: transform 0.36s ease;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .hero-portrait-wrap {
    justify-content: flex-start;
  }

  .hero-portrait-card {
    transform: translateY(0);
    width: min(520px, 100%);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .event-item {
    grid-template-columns: 84px 1fr;
  }

  .event-type {
    justify-self: start;
  }

  .journey-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-card:nth-child(3n) {
    border-right: 1px solid #d7c8b4;
  }

  .expertise-card:nth-child(2n) {
    border-right: none;
  }

  .expertise-card:nth-child(n + 4) {
    border-bottom: 1px solid #d7c8b4;
  }

  .expertise-card:nth-child(n + 5) {
    border-bottom: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: block;
  }

  #mainNav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-title {
    font-size: clamp(64px, 17vw, 120px);
  }

  .hero-scroll-hint {
    display: none;
  }

  .journey-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expertise-card {
    min-height: 0;
    padding: 22px 18px;
    border-right: 1px solid #d7c8b4;
  }

  .expertise-card:nth-child(2n) {
    border-right: none;
  }

  .expertise-card:nth-child(n + 5) {
    border-bottom: none;
  }

  .expertise-card p {
    font-size: 14px;
  }

  .snapshot-grid,
  .awards-grid,
  .films-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item {
    aspect-ratio: 3 / 4;
  }

  .hero-stats {
    gap: 14px;
  }

  .stat-div {
    display: none;
  }

  .lb-prev,
  .lb-next {
    display: none;
  }

  #adminPanel {
    flex-direction: column;
  }

  #adminSidebar {
    width: 100%;
    min-height: auto;
  }

  #adminSidebar nav {
    display: flex;
    flex-wrap: wrap;
  }

  #adminContent {
    padding: 22px;
  }

  .admin-award-head,
  .admin-award-body,
  .admin-film-main,
  .admin-film-sub,
  .admin-journey-head,
  .admin-expertise-head {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    flex-wrap: wrap;
  }

  .admin-film-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero-title {
    font-size: clamp(42px, 16vw, 72px);
  }

  .hero-tagline {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .hero-stats {
    gap: 10px;
  }

  .stat-num {
    font-size: 32px;
  }

  .hero-content {
    padding: 0 16px;
  }

  #hero {
    padding-top: 40px;
  }

  .hero-portrait-card img {
    width: 100%;
    height: clamp(360px, 52vw, 560px);
    object-fit: cover;
    display: block;
  }
}