:root {
  --ink: #15131a;
  --deep: #09080d;
  --panel: #ffffff;
  --soft: #f7f4fb;
  --line: rgba(21, 19, 26, 0.14);
  --muted: #5f5a68;
  --teal: #67d1bf;
  --purple: #9b7aed;
  --purple-deep: #6d4ed8;
  --shadow: 0 24px 70px rgba(18, 11, 38, 0.13);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

/* =========================
   GLOBAL RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(103, 209, 191, 0.13), transparent 30%),
    linear-gradient(315deg, rgba(155, 122, 237, 0.12), transparent 34%),
    #fbfafc;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
picture {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
  user-select: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.2rem, 5.15vw, 5.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 26px;
  max-width: 650px;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
}

/* =========================
   MOBILE COPY / IMAGE SAVE PROTECTION
========================= */

html,
body,
* {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* =========================
   BRAND BAR / NAVIGATION
========================= */

.portfolio-brandbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 18px 8vw;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-weight: 800;
}

.brand-lockup img {
  width: 54px;
  height: auto;
  object-fit: contain;
  pointer-events: none !important;
}

.brand-lockup span {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-links a {
  color: #111;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.brand-links a:hover {
  color: var(--purple-deep);
}

/* =========================
   LEGACY NAV SUPPORT
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 252, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(21, 19, 26, 0.76);
}

.nav-links a:hover {
  color: var(--purple-deep);
}

.mobile-menu-button {
  display: none;
}

/* =========================
   GLOBAL LAYOUT
========================= */

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.gradient-rule {
  width: 136px;
  height: 2px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--purple), transparent);
}

.section-note {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: calc(92vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 5vw, 76px);
  padding: 74px 0 86px;
}

.hero-copy {
  max-width: 720px;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.82;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual,
.refined-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-wrap {
  width: min(430px, 100%);
  margin: 0 auto;
}

.portrait {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(18, 11, 38, 0.10);
  pointer-events: none !important;
  touch-action: none !important;
}

.logo-card,
.logo-watermark-card,
.hero-mark {
  display: none;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  box-shadow: 0 12px 24px rgba(109, 78, 216, 0.16);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--purple-deep);
}

/* =========================
   INTRO / ABOUT
========================= */

.intro,
.strengths,
.portfolio,
.examples,
.resume-downloads,
.cta {
  padding: 88px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.two-column p,
.portfolio-row p,
.resume-card p,
.cta p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

/* =========================
   CORE STRENGTHS
========================= */

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.strength-grid article {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.strength-grid article:last-child {
  border-right: 0;
}

.strength-grid span {
  display: block;
  color: var(--purple-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}

.strength-grid p {
  color: var(--muted);
  line-height: 1.7;
}

/* =========================
   PORTFOLIO FOCUS
========================= */

.portfolio-list {
  border-top: 1px solid var(--line);
}

.portfolio-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.row-label {
  margin-bottom: 10px;
  color: var(--teal) !important;
  font-size: 0.75rem !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =========================
   OPERATIONAL SUPPORT EXAMPLES
========================= */

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.example-grid div {
  min-height: 116px;
  display: flex;
  align-items: center;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  line-height: 1.4;
}

.example-grid div:nth-child(4n) {
  border-right: 0;
}

.example-grid div:nth-last-child(-n+4) {
  border-bottom: 0;
}

/* =========================
   RESUME DOWNLOADS
========================= */

/* =========================
   RESUME DOWNLOADS
========================= */

.resume-downloads {
  position: relative;
}

.resume-downloads::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(155, 122, 237, 0.035) 0%,
      rgba(155, 122, 237, 0.015) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.resume-downloads > * {
  position: relative;
  z-index: 1;
}

.refined-resume-grid,
.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.resume-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 36px rgba(18, 11, 38, 0.06);
}

.resume-card h3 {
  margin-bottom: 14px;
}

.resume-card p {
  margin-bottom: 0;
}

.resume-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 46px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2238 100%);
  color: #fff;
  border: 1px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.13);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.resume-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--purple-deep), var(--ink));
  border: 1px solid #9fd8c5;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.17),
    0 0 0 1px rgba(159, 216, 197, 0.35),
    0 0 18px rgba(159, 216, 197, 0.18);
}

/* =========================
   CTA / CONTACT SECTION
========================= */

.cta {
  text-align: center;
  max-width: 880px;
}

.cta p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.centered-actions {
  justify-content: center;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #04030b;
  padding: 70px 24px 42px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}

.footer-logo {
  width: 78px;
  height: auto;
  margin: 0 auto 26px;
  opacity: 0.95;
  pointer-events: none !important;
}

.footer-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.footer-divider {
  width: 140px;
  height: 1px;
  margin: 28px auto;
  background: linear-gradient(90deg, transparent, rgba(176, 140, 255, 0.5), transparent);
}

.footer-bottom {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.footer-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: #fff;
}

/* =========================
   LEGAL / CONTACT PAGES
========================= */

.legal-hero,
.contact-hero {
  padding: 96px 0 48px;
}

.legal-hero h1,
.contact-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 820px;
}

.legal-content,
.contact-content {
  padding: 24px 0 96px;
}

.legal-panel,
.contact-panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  padding: clamp(32px, 5vw, 60px);
  box-shadow: var(--shadow);
}

.legal-panel h2,
.contact-panel h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.15;
  margin-top: 42px;
  margin-bottom: 14px;
}

.legal-panel h2:first-child,
.contact-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p,
.legal-panel li,
.contact-panel p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.legal-panel ul {
  padding-left: 22px;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.contact-option {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
}

.contact-option h3 {
  margin-bottom: 10px;
}

.contact-option a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--purple-deep);
}

/* =========================
   RIGHT-CLICK PREVENTION MODAL
   Protects desktop right-click and mobile long-press.
========================= */

.protection-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(8, 7, 14, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overscroll-behavior: contain;
  touch-action: none;
}

.protection-modal.active {
  display: flex;
}

.protection-panel {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.98);
  padding: 44px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  position: relative;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  z-index: 1000000;
  touch-action: auto;
}

.protection-logo,
.protection-panel img {
  width: 56px;
  height: auto;
  margin: 0 auto 18px;
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  -webkit-touch-callout: none !important;
  user-select: none !important;
}

.protection-panel h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.protection-panel p {
  color: var(--muted);
  line-height: 1.75;
}

/* =========================
   PROTECTION MODAL OK BUTTON
   Matches portfolio logo colors
========================= */

.protection-ok {
  margin-top: 22px;

  background: #67d1bf;
  color: #ffffff;

  border: 2px solid #9b7aed;

  padding: 12px 30px;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.protection-ok:hover {
  background: #9b7aed;

  border-color: #67d1bf;

  transform: translateY(-2px);

  box-shadow:
    0 0 18px rgba(103, 209, 191, 0.22),
    0 0 22px rgba(155, 122, 237, 0.18);
}

body.protection-lock {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1040px) {
  .brand-links {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .portrait-wrap {
    width: min(420px, 100%);
  }
}

@media (max-width: 940px) {
  .portfolio-brandbar {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
  }

  .brand-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .mobile-menu-button {
    display: inline-flex;
    border: 1px solid var(--line);
    background: transparent;
    padding: 10px 12px;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(251, 250, 252, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .strength-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strength-grid article:nth-child(2) {
    border-right: 0;
  }

  .strength-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .example-grid {
    grid-template-columns: 1fr 1fr;
  }

  .example-grid div:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .example-grid div:nth-child(2n) {
    border-right: 0;
  }

  .example-grid div:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .example-grid div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .refined-resume-grid,
  .resume-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .portfolio-brandbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-links {
    gap: 14px;
    flex-wrap: wrap;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner,
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    display: none;
  }

  .brand-lockup img {
    width: 52px;
    height: 52px;
  }

  .hero {
    gap: 34px;
    padding: 48px 0 60px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .two-column,
  .portfolio-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .strength-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .strength-grid article,
  .strength-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strength-grid article:last-child {
    border-bottom: 0;
  }

  .example-grid div,
  .example-grid div:nth-child(4n),
  .example-grid div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .example-grid div:last-child {
    border-bottom: 0;
  }

  .intro,
  .strengths,
  .portfolio,
  .examples,
  .resume-downloads,
  .cta {
    padding: 66px 0;
  }

  .protection-panel {
    padding: 34px 26px;
  }

  .protection-panel h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .footer-text {
    font-size: 0.92rem;
  }

  .footer-bottom {
    font-size: 0.82rem;
    line-height: 1.7;
  }
}


/* ============================= */
/* MOBILE HAMBURGER NAVIGATION */
/* Mobile-only dropdown menu. Desktop nav remains unchanged. */
/* ============================= */

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .portfolio-brandbar {
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    background: transparent;
    border: none;
    color: #111111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 8px 10px;
    z-index: 1001;
  }

  .brand-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(15, 85, 81, 0.18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    padding: 18px;
    text-align: center;
  }

  .brand-links.is-open {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .brand-links a {
    font-size: 13px;
    letter-spacing: 0.14em;
  }
}

/* ============================= */
/* MOBILE HEADER HEIGHT REFINEMENT */
/* Tightens the mobile header after adding hamburger navigation */
/* ============================= */

@media (max-width: 768px) {
  .portfolio-brandbar {
    min-height: 96px;
    padding: 18px 28px;
    align-items: flex-start;
  }

  .brand-lockup {
    align-items: center;
  }

  .brand-lockup img {
    max-height: 54px;
  }

  .mobile-menu-toggle {
  position: absolute;
  top: 42%;
  right: 30px;
  transform: translateY(-50%);
  padding: 4px 6px;
}
    
}