*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #111113;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
}

/* ================= NAVBAR (FULL, UNCLIPPED PILL) ================= */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: clamp(12px, 2vw, 20px) clamp(14px, 3vw, 24px);
  display: flex;
  justify-content: center;
  background-color: transparent;
  contain: layout style;
}

.nav-pill {
  position: relative;
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  background-color: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 10px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-brand {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  position: relative;
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f98146;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background-color: #ff8e57;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background-color: #ffffff;
  transition: transform 0.24s ease;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ================= HERO SECTION (QUOTE + PHOTO PACKED IN A BOX) ================= */
.hero-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(6px, 1.2vh, 14px) clamp(14px, 3vw, 24px) clamp(14px, 2.5vh, 24px);
  contain: layout style;
}

.hero-box {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(16px, 3vw, 36px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(14px, 4vw, 44px);
  align-items: center;
}

.hero-left {
  min-width: 0;
}

.writing-heading {
  font-size: clamp(1.1rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  min-height: 2.3em;
  margin-bottom: clamp(8px, 1.8vw, 18px);
}

.writing-role {
  color: #f98146;
  font-weight: 900;
  display: inline;
  will-change: contents;
}

.writing-cursor {
  font-weight: 700;
  color: #111113;
  display: inline-block;
  transform: translateZ(0);
  animation: blinkCursor 0.85s steps(1, end) infinite;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.hero-quote {
  font-size: clamp(0.78rem, 1.9vw, 1.2rem);
  font-weight: 600;
  line-height: 1.5;
  color: #27272a;
  max-width: 46ch;
}

.hero-right {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: min(370px, 43vw);
  max-height: 66dvh;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(14px, 2vw, 22px);
  display: block;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

/* ================= MY JOURNEY SECTION (WRAPPED IN CONTAINER BELOW HERO) ================= */
.journey-section {
  clear: both;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 18px) clamp(14px, 3vw, 24px) 64px;
  contain: layout style;
}

.journey-container {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.journey-header {
  margin-bottom: clamp(20px, 3.5vh, 32px);
}

.journey-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.journey-title {
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 8px;
}

.journey-subtitle {
  font-size: clamp(0.88rem, 1.7vw, 1.06rem);
  font-weight: 500;
  color: #52525b;
  max-width: 58ch;
  line-height: 1.5;
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.journey-card {
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: clamp(18px, 2.8vw, 26px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  transform: translateZ(0);
}

.journey-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: #111113;
}

.journey-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  background-color: #1c1c1e;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.journey-card:first-child .journey-year {
  background-color: #f98146;
}

.journey-role {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111113;
  margin-bottom: 8px;
  line-height: 1.3;
}

.journey-desc {
  font-size: clamp(0.86rem, 1.55vw, 0.96rem);
  line-height: 1.58;
  color: #3f3f46;
}

/* ================= MOBILE LEFT DRAWER & RESPONSIVE ================= */
@media (max-width: 820px) {
  .nav-wrap {
    padding: 12px 14px;
  }

  .nav-pill {
    width: 100%;
    padding: 7px 9px 7px 18px;
    gap: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }

  .nav-burger {
    display: flex;
    position: relative;
    z-index: 130;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: min(280px, 80vw);
    height: 100dvh;
    background-color: #1c1c1e;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 24px 24px 0;
    padding: 84px 22px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    box-shadow: 12px 0 28px rgba(0, 0, 0, 0.22);
    transform: translate3d(-100%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      visibility 0.28s ease;
    z-index: 120;
    will-change: transform, opacity;
  }

  .nav-links.open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item {
    font-size: 1.02rem;
    padding: 6px 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .hero-box,
  .journey-container {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  }

  .hero-photo {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.09);
  }
}

@media (max-width: 720px) {
  .journey-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .journey-card {
    border-radius: 16px;
    padding: 16px 18px;
  }
}



/* ================= WORLD RECORDS SECTION ================= */
.records-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 18px) clamp(14px, 3vw, 24px) 64px;
  contain: layout style;
}

.records-container {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.records-header {
  margin-bottom: clamp(20px, 3.5vh, 32px);
}

.records-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.records-title {
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 8px;
}

.records-subtitle {
  font-size: clamp(0.88rem, 1.7vw, 1.06rem);
  font-weight: 500;
  color: #52525b;
  max-width: 58ch;
  line-height: 1.5;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.record-card {
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: clamp(18px, 2.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  transform: translateZ(0);
}

.record-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: #111113;
}

.record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.record-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: #1c1c1e;
  padding: 5px 12px;
  border-radius: 999px;
}

.record-category--accent {
  background-color: #f98146;
}

.record-time {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111113;
}

.record-name {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111113;
  line-height: 1.3;
}

.record-detail {
  font-size: clamp(0.86rem, 1.5vw, 0.95rem);
  line-height: 1.55;
  color: #3f3f46;
}

@media (max-width: 900px) {
  .records-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .record-card {
    border-radius: 16px;
    padding: 16px 18px;
  }
}
/* ================= WORLD RECORDS — ROYAL BLUE LIGHTING THEME ================= */
.records-section.records-theme--royal-blue {
  --rb-primary: #2563eb;
  --rb-primary-dark: #1d4ed8;
  --rb-navy: #0f172a;
  --rb-surface: #ffffff;
  --rb-card-bg: #f8faff;
  --rb-card-featured: #eff6ff;
  --rb-border: #dbeafe;
  --rb-border-hover: #2563eb;
  --rb-text-main: #0f172a;
  --rb-text-muted: #475569;

  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 18px) clamp(14px, 3vw, 24px) 64px;
  contain: layout style;
}

.records-theme--royal-blue .records-container {
  width: 100%;
  background-color: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.records-theme--royal-blue .records-header {
  margin-bottom: clamp(20px, 3.5vh, 32px);
}

.records-theme--royal-blue .records-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--rb-primary);
  margin-bottom: 6px;
}

.records-theme--royal-blue .records-title {
  font-size: clamp(1.6rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rb-text-main);
  line-height: 1.15;
  margin-bottom: 8px;
}

.records-theme--royal-blue .records-subtitle {
  font-size: clamp(0.88rem, 1.7vw, 1.06rem);
  font-weight: 500;
  color: var(--rb-text-muted);
  max-width: 58ch;
  line-height: 1.5;
}

.records-theme--royal-blue .records-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.records-theme--royal-blue .record-card {
  background-color: var(--rb-card-bg);
  border: 1px solid var(--rb-border);
  border-radius: 20px;
  padding: clamp(18px, 2.8vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transform: translateZ(0);
}

.records-theme--royal-blue .record-card--featured {
  background-color: var(--rb-card-featured);
  border-color: #93c5fd;
}

.records-theme--royal-blue .record-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--rb-border-hover);
}

.records-theme--royal-blue .record-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.records-theme--royal-blue .record-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background-color: var(--rb-navy);
  padding: 5px 12px;
  border-radius: 999px;
}

.records-theme--royal-blue .record-category--royal {
  background: linear-gradient(135deg, var(--rb-primary), var(--rb-primary-dark));
}

.records-theme--royal-blue .record-time {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--rb-primary-dark);
}

.records-theme--royal-blue .record-name {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--rb-text-main);
  line-height: 1.3;
}

.records-theme--royal-blue .record-detail {
  font-size: clamp(0.86rem, 1.5vw, 0.95rem);
  line-height: 1.55;
  color: var(--rb-text-muted);
}

@media (max-width: 900px) {
  .records-theme--royal-blue .records-container {
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
  }

  .records-theme--royal-blue .records-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .records-theme--royal-blue .record-card {
    border-radius: 16px;
    padding: 16px 18px;
  }
}

/* ================= BLACK FOOTER ================= */
.site-footer {
  margin-top: auto;
  width: 100%;
  background-color: #111113;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  contain: layout style;
}

.footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 48px) clamp(14px, 3vw, 24px) clamp(20px, 3vw, 28px);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(20px, 3.5vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-tagline {
  color: #a1a1aa;
  font-size: clamp(0.85rem, 1.6vw, 0.96rem);
  line-height: 1.5;
  max-width: 44ch;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-link {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f98146;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.footer-cta:hover {
  background-color: #ff8e57;
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: #a1a1aa;
}

@media (max-width: 780px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 14px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ================= QUICK LINKS — EMERALD SLATE THEME ================= */
.quick-links-section.quick-theme--emerald {
  --ql-accent: #14b8a6;
  --ql-accent-dark: #0d9488;
  --ql-box-bg: #0f172a;
  --ql-card-bg: #162032;
  --ql-card-featured: rgba(20, 184, 166, 0.14);
  --ql-border: rgba(255, 255, 255, 0.1);
  --ql-border-hover: #2dd4bf;
  --ql-text-main: #ffffff;
  --ql-text-muted: #94a3b8;

  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 18px) clamp(14px, 3vw, 24px) clamp(24px, 4vh, 44px);
  contain: layout style;
}

.quick-theme--emerald .quick-links-container {
  width: 100%;
  background-color: var(--ql-box-bg);
  border: 1px solid var(--ql-border);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 38px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.quick-theme--emerald .quick-links-header {
  margin-bottom: clamp(18px, 3vh, 28px);
}

.quick-theme--emerald .quick-links-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ql-accent);
  margin-bottom: 6px;
}

.quick-theme--emerald .quick-links-title {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ql-text-main);
  line-height: 1.15;
  margin-bottom: 8px;
}

.quick-theme--emerald .quick-links-subtitle {
  font-size: clamp(0.88rem, 1.7vw, 1.04rem);
  font-weight: 500;
  color: var(--ql-text-muted);
  max-width: 56ch;
  line-height: 1.5;
}

.quick-theme--emerald .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.quick-theme--emerald .quick-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  background-color: var(--ql-card-bg);
  border: 1px solid var(--ql-border);
  border-radius: 18px;
  padding: clamp(16px, 2.4vw, 22px);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transform: translateZ(0);
}

.quick-theme--emerald .quick-link-card--featured {
  background-color: var(--ql-card-featured);
  border-color: rgba(45, 212, 191, 0.45);
}

.quick-theme--emerald .quick-link-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--ql-border-hover);
}

.quick-theme--emerald .quick-link-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ql-accent);
}

.quick-theme--emerald .quick-link-name {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ql-text-main);
  line-height: 1.25;
}

.quick-theme--emerald .quick-link-arrow {
  align-self: flex-end;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ql-accent);
  transition: transform 0.2s ease;
}

.quick-theme--emerald .quick-link-card:hover .quick-link-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .quick-theme--emerald .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .quick-theme--emerald .quick-links-container {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  }

  .quick-theme--emerald .quick-links-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quick-theme--emerald .quick-link-card {
    border-radius: 14px;
    padding: 14px 16px;
  }
}
/* ================= BLACK FOOTER WITH EMERALD QUICK LINKS ================= */
.site-footer.footer-theme--emerald {
  --fql-accent: #14b8a6;
  --fql-accent-bright: #2dd4bf;
  --fql-footer-bg: #111113;
  --fql-box-bg: #0f172a;
  --fql-card-bg: #162032;
  --fql-card-featured: rgba(20, 184, 166, 0.14);
  --fql-cta-bg: #f98146;
  --fql-border: rgba(255, 255, 255, 0.09);
  --fql-text-main: #ffffff;
  --fql-text-muted: #94a3b8;

  margin-top: auto;
  width: 100%;
  background-color: var(--fql-footer-bg);
  color: var(--fql-text-main);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  contain: layout style;
}

.footer-theme--emerald .footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 48px) clamp(14px, 3vw, 24px) clamp(20px, 3vw, 28px);
}

.footer-theme--emerald .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(20px, 3.5vw, 36px);
  align-items: start;
  padding-bottom: clamp(22px, 3.5vw, 34px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-theme--emerald .footer-brand {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-theme--emerald .footer-tagline {
  color: var(--fql-text-muted);
  font-size: clamp(0.86rem, 1.6vw, 0.96rem);
  line-height: 1.55;
  max-width: 38ch;
}

.footer-theme--emerald .footer-quick-links {
  background-color: var(--fql-box-bg);
  border: 1px solid var(--fql-border);
  border-radius: 22px;
  padding: clamp(16px, 2.5vw, 24px);
}

.footer-theme--emerald .footer-ql-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-theme--emerald .footer-ql-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--fql-accent);
}

.footer-theme--emerald .footer-ql-title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fql-text-main);
}

.footer-theme--emerald .footer-ql-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.footer-theme--emerald .footer-ql-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  background-color: var(--fql-card-bg);
  border: 1px solid var(--fql-border);
  border-radius: 14px;
  padding: 12px 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  transform: translateZ(0);
}

.footer-theme--emerald .footer-ql-card--featured {
  background-color: var(--fql-card-featured);
  border-color: rgba(45, 212, 191, 0.45);
}

.footer-theme--emerald .footer-ql-card--cta {
  background-color: var(--fql-cta-bg);
  border-color: transparent;
}

.footer-theme--emerald .footer-ql-card:hover {
  transform: translate3d(0, -2px, 0);
  border-color: var(--fql-accent-bright);
}

.footer-theme--emerald .footer-ql-card--cta:hover {
  border-color: #ffffff;
}

.footer-theme--emerald .footer-ql-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--fql-accent-bright);
}

.footer-theme--emerald .footer-ql-card--cta .footer-ql-label {
  color: rgba(255, 255, 255, 0.9);
}

.footer-theme--emerald .footer-ql-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.footer-theme--emerald .footer-ql-arrow {
  align-self: flex-end;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fql-accent-bright);
  transition: transform 0.18s ease;
}

.footer-theme--emerald .footer-ql-card--cta .footer-ql-arrow {
  color: #ffffff;
}

.footer-theme--emerald .footer-ql-card:hover .footer-ql-arrow {
  transform: translateX(3px);
}

.footer-theme--emerald .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: var(--fql-text-muted);
}

@media (max-width: 900px) {
  .footer-theme--emerald .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-theme--emerald .footer-ql-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-theme--emerald .footer-quick-links {
    border-radius: 18px;
    padding: 14px;
  }

  .footer-theme--emerald .footer-ql-grid {
    grid-template-columns: 1fr;
  }

  .footer-theme--emerald .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
.site-footer {
  margin-top: auto;
  width: 100%;
  background-color: #111113;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(14px, 3vw, 24px) clamp(18px, 3vw, 26px);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-block;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-tagline {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 38ch;
  opacity: 0.85;
}

.footer-ql-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-ql-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 16px;
  font-size: 0.84rem;
  color: #ffffff;
  opacity: 0.8;
}

@media (max-width: 720px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-ql-list {
    flex-direction: column;
    gap: 10px;
  }
}
.site-footer {
  margin-top: auto;
  width: 100%;
  background-color: #111113;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(14px, 3vw, 24px) clamp(18px, 3vw, 26px);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 1.5px solid #ffffff;
  flex-shrink: 0;
  display: block;
}

.footer-brand {
  display: inline-block;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-tagline {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 38ch;
  opacity: 0.85;
}

.footer-ql-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-ql-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 16px;
  font-size: 0.84rem;
  color: #ffffff;
  opacity: 0.8;
}

@media (max-width: 720px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-ql-list {
    flex-direction: column;
    gap: 10px;
  }
}
/* ================= HERO SECTION (PUSHED A BIT FURTHER BELOW NAVBAR) ================= */
.hero-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vh, 44px) clamp(14px, 3vw, 24px) clamp(20px, 4vh, 36px);
  contain: layout style;
}

@media (max-width: 820px) {
  .hero-section {
    padding: clamp(20px, 4vh, 32px) 14px clamp(16px, 3vh, 24px);
  }
}
/* ================= ABOUT PAGE SECTION ================= */
.about-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 36px) clamp(14px, 3vw, 24px) 64px;
  contain: layout style;
}

.about-box {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: clamp(18px, 3.5vw, 40px);
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.about-left {
  min-width: 0;
}

.about-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 8px;
}

.about-title {
  font-size: clamp(1.65rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.12;
  margin-bottom: 14px;
}

.about-accent {
  color: #f98146;
}

.about-lead {
  font-size: clamp(0.95rem, 1.9vw, 1.15rem);
  font-weight: 600;
  color: #18181b;
  line-height: 1.55;
  margin-bottom: 12px;
}

.about-text {
  font-size: clamp(0.88rem, 1.65vw, 1rem);
  color: #3f3f46;
  line-height: 1.65;
  max-width: 58ch;
}

.about-right {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.about-photo {
  width: 100%;
  max-width: min(340px, 42vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(16px, 2.2vw, 24px);
  display: block;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.about-card {
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 24px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  transform: translateZ(0);
}

.about-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: #111113;
}

.about-card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f98146;
  margin-bottom: 8px;
}

.about-card-title {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111113;
  margin-bottom: 8px;
}

.about-card-desc {
  font-size: clamp(0.86rem, 1.55vw, 0.96rem);
  line-height: 1.58;
  color: #3f3f46;
}

@media (max-width: 820px) {
  .about-section {
    padding: clamp(18px, 3.5vh, 28px) 14px 48px;
  }

  .about-box {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 14px;
    align-items: center;
  }

  .about-photo {
    max-width: 100%;
    border-radius: 14px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-card {
    border-radius: 16px;
    padding: 16px;
  }
}
/* ================= FAMILY SUPPORT SECTION (BEFORE FOOTER) ================= */
.family-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 18px) clamp(14px, 3vw, 24px) clamp(28px, 4.5vh, 48px);
  contain: layout style;
}

.family-box {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 38px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.family-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(18px, 3.5vw, 40px);
  align-items: center;
}

.family-content {
  min-width: 0;
}

.family-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 8px;
}

.family-title {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 12px;
}

.family-lead {
  font-size: clamp(0.95rem, 1.85vw, 1.12rem);
  font-weight: 600;
  color: #18181b;
  line-height: 1.55;
  margin-bottom: 10px;
  max-width: 54ch;
}

.family-desc {
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  color: #3f3f46;
  line-height: 1.62;
  max-width: 56ch;
}

.family-media {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.family-photo {
  width: 100%;
  max-width: min(360px, 44vw);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(16px, 2.2vw, 24px);
  display: block;
  border: 1px solid #e4e4e7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateZ(0);
}

@media (max-width: 820px) {
  .family-section {
    padding: clamp(6px, 1.5vh, 14px) 14px 36px;
  }

  .family-box {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  }

  .family-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .family-media {
    justify-content: flex-start;
  }

  .family-photo {
    max-width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
}
/* ================= ACHIEVEMENTS PAGE SECTIONS ================= */
.ach-main {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ach-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 36px) clamp(14px, 3vw, 24px) clamp(10px, 2vh, 18px);
  contain: layout style;
}

.ach-hero-box {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.ach-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 16px) clamp(14px, 3vw, 24px) clamp(12px, 2.5vh, 22px);
  contain: layout style;
}

.ach-container {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 38px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.ach-header {
  margin-bottom: clamp(18px, 3vh, 28px);
}

.ach-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.ach-hero-title {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.12;
  margin-bottom: 10px;
}

.ach-hero-subtitle,
.ach-subtitle {
  font-size: clamp(0.9rem, 1.7vw, 1.06rem);
  font-weight: 500;
  color: #52525b;
  max-width: 60ch;
  line-height: 1.55;
}

.ach-title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 8px;
}

.ach-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.ach-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.ach-card {
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 24px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  transform: translateZ(0);
}

.ach-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: #111113;
}

.ach-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #ffffff;
  background-color: #1c1c1e;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ach-badge--accent {
  background-color: #f98146;
}

.ach-card-title {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111113;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ach-card-desc {
  font-size: clamp(0.86rem, 1.55vw, 0.96rem);
  line-height: 1.58;
  color: #3f3f46;
}

/* ================= 20-PHOTO GALLERY BEFORE FOOTER ================= */
.gallery-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 16px) clamp(14px, 3vw, 24px) clamp(28px, 4.5vh, 48px);
  contain: layout style;
}

.gallery-container {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 38px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.gallery-header {
  margin-bottom: clamp(18px, 3vh, 28px);
}

.gallery-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.gallery-title {
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 8px;
}

.gallery-subtitle {
  font-size: clamp(0.88rem, 1.65vw, 1.02rem);
  color: #52525b;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 16px);
}

.gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #e4e4e7;
  background-color: #f4f4f5;
  transform: translateZ(0);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.24s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .ach-cards-3,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ach-cards-2,
  .ach-cards-3 {
    grid-template-columns: 1fr;
  }

  .ach-hero-box,
  .ach-container,
  .gallery-container {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  }

  .gallery-item {
    border-radius: 12px;
  }
}
/* ================= PROJECTS PAGE ================= */
.proj-main {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.proj-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 36px) clamp(14px, 3vw, 24px) clamp(10px, 2vh, 18px);
  contain: layout style;
}

.proj-hero-box {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.proj-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.proj-hero-title {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.12;
  margin-bottom: 10px;
}

.proj-hero-subtitle,
.proj-subtitle {
  font-size: clamp(0.9rem, 1.7vw, 1.06rem);
  font-weight: 500;
  color: #52525b;
  max-width: 62ch;
  line-height: 1.55;
}

.proj-status-banner {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: clamp(0.84rem, 1.5vw, 0.94rem);
  color: #27272a;
  line-height: 1.45;
}

.proj-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f98146;
  flex-shrink: 0;
}

.proj-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 16px) clamp(14px, 3vw, 24px) clamp(28px, 4.5vh, 52px);
  contain: layout style;
}

.proj-container {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.proj-header {
  margin-bottom: clamp(18px, 3vh, 28px);
}

.proj-title {
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 6px;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.proj-card {
  background-color: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: clamp(18px, 2.6vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  transform: translateZ(0);
}

.proj-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: #111113;
}

.proj-card--dev {
  background-color: #fcfcfd;
  border-style: dashed;
}

.proj-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.proj-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 5px 11px;
  border-radius: 999px;
  color: #ffffff;
}

.proj-badge--live {
  background-color: #111113;
}

.proj-badge--dev {
  background-color: #f98146;
}

.proj-category {
  font-size: 0.76rem;
  font-weight: 600;
  color: #52525b;
}

.proj-name {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111113;
  line-height: 1.25;
}

.proj-desc {
  font-size: clamp(0.86rem, 1.55vw, 0.96rem);
  color: #3f3f46;
  line-height: 1.58;
}

.proj-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.proj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.proj-btn--preview {
  background-color: #f98146;
  color: #ffffff;
}

.proj-btn--preview:hover {
  background-color: #ff8e57;
  transform: translateY(-1px);
}

.proj-btn--link {
  background-color: #1c1c1e;
  color: #ffffff;
}

.proj-btn--link:hover {
  background-color: #111113;
  transform: translateY(-1px);
}

.proj-btn--disabled {
  background-color: #e4e4e7;
  color: #71717a;
  cursor: not-allowed;
}

/* ================= LIVE PREVIEW MODAL ================= */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(17, 17, 19, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.preview-modal[hidden] {
  display: none;
}

.preview-dialog {
  width: 100%;
  max-width: 1020px;
  height: min(82dvh, 720px);
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.preview-head {
  background-color: #1c1c1e;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
}

.preview-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.preview-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-ext-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 7px 14px;
  border-radius: 999px;
}

.preview-ext-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.preview-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.preview-body {
  position: relative;
  flex: 1;
  background-color: #f4f4f5;
  display: flex;
  flex-direction: column;
}

.preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background-color: #ffffff;
}

.preview-dev-box {
  margin: auto;
  max-width: 440px;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: #27272a;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .proj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }

  .proj-hero-box,
  .proj-container {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  }
}
/* ================= PROJECTS PAGE ================= */
.proj-main {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.proj-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 36px) clamp(14px, 3vw, 24px) clamp(10px, 2vh, 18px);
  contain: layout style;
}

.proj-hero-box {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e4e4e7;
  border-radius: clamp(22px, 3vw, 34px);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 14px 34px rgba(17, 17, 19, 0.06);
}

.proj-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.proj-hero-title {
  font-size: clamp(1.85rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.12;
  margin-bottom: 10px;
}

.proj-hero-subtitle,
.proj-subtitle {
  font-size: clamp(0.9rem, 1.7vw, 1.06rem);
  font-weight: 500;
  color: #52525b;
  max-width: 62ch;
  line-height: 1.55;
}

.proj-status-banner {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #1c1c1e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 13px 18px;
  font-size: clamp(0.84rem, 1.5vw, 0.94rem);
  line-height: 1.45;
}

.proj-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f98146;
  flex-shrink: 0;
}

.proj-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vh, 16px) clamp(14px, 3vw, 24px) clamp(28px, 4.5vh, 52px);
  contain: layout style;
}

.proj-container {
  width: 100%;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f6 100%);
  border: 1px solid #e4e4e7;
  border-top: 4px solid #1c1c1e;
  border-radius: clamp(22px, 3vw, 34px);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 16px 38px rgba(17, 17, 19, 0.07);
}

.proj-header {
  margin-bottom: clamp(20px, 3vh, 30px);
}

.proj-title {
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.15;
  margin-bottom: 6px;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}

.proj-card {
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(17, 17, 19, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform: translateZ(0);
}

.proj-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: #111113;
  box-shadow: 0 14px 28px rgba(17, 17, 19, 0.09);
}

.proj-card--dev {
  border-style: dashed;
  border-color: #d4d4d8;
}

.proj-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #1c1c1e;
  border-bottom: 1px solid #e4e4e7;
  overflow: hidden;
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.proj-body {
  padding: clamp(16px, 2.2vw, 22px);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.proj-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.proj-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 5px 11px;
  border-radius: 999px;
  color: #ffffff;
}

.proj-badge--live {
  background-color: #111113;
}

.proj-badge--dev {
  background-color: #f98146;
}

.proj-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #52525b;
}

.proj-name {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111113;
  line-height: 1.25;
}

.proj-desc {
  font-size: clamp(0.86rem, 1.55vw, 0.96rem);
  color: #3f3f46;
  line-height: 1.58;
}

.proj-actions {
  margin-top: auto;
  padding-top: 6px;
}

.proj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.proj-btn--open {
  background-color: #f98146;
  color: #ffffff;
}

.proj-btn--open:hover {
  background-color: #ff8e57;
  transform: translateY(-1px);
}

.proj-btn--disabled {
  background-color: #e4e4e7;
  color: #71717a;
  cursor: not-allowed;
}

@media (max-width: 920px) {
  .proj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }

  .proj-hero-box,
  .proj-container {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 8px 20px rgba(17, 17, 19, 0.05);
  }
}
/* ================= CONTACT PAGE ================= */
.contact-main {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 36px) clamp(14px, 3vw, 24px) clamp(32px, 5vh, 60px);
  contain: layout style;
}

.contact-box {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e4e4e7;
  border-radius: clamp(22px, 3vw, 34px);
  padding: clamp(22px, 3.8vw, 42px);
  box-shadow: 0 14px 34px rgba(17, 17, 19, 0.06);
}

.contact-header {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.contact-tag {
  display: inline-block;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f98146;
  margin-bottom: 6px;
}

.contact-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111113;
  line-height: 1.12;
  margin-bottom: 8px;
}

.contact-subtitle {
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  font-weight: 500;
  color: #52525b;
  line-height: 1.55;
  max-width: 56ch;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111113;
}

.contact-input,
.contact-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.96rem;
  color: #111113;
  background-color: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: 14px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #1c1c1e;
  box-shadow: 0 0 0 3px rgba(28, 28, 30, 0.08);
}

.contact-textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f98146;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.contact-submit:hover:not(:disabled) {
  background-color: #ff8e57;
  transform: translateY(-1px);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-feedback {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-feedback[hidden] {
  display: none;
}

.contact-feedback--success {
  background-color: #1c1c1e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-tick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f98146;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.contact-feedback--error {
  background-color: #fafafa;
  color: #111113;
  border: 1px solid #f98146;
}

.contact-cross {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #1c1c1e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-box {
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 8px 20px rgba(17, 17, 19, 0.05);
  }

  .contact-submit {
    width: 100%;
  }
}