/* ============================================================
   DENNIS PEZAN — style.css
   ============================================================ */

:root {
  --bg:          #0a0a0c;
  --bg-alt:      #0e0e11;
  --bg-card:     #111116;
  --bg-hover:    #16161c;
  --gold:        #c8963c;
  --gold-light:  #e4b46a;
  --gold-dark:   #9a6e22;
  --gold-muted:  rgba(200, 150, 60, 0.12);
  --white:       #f4f2ee;
  --grey:        #888894;
  --grey-light:  #c0c0ca;
  --border:      rgba(200, 150, 60, 0.16);
  --border-card: rgba(200, 150, 60, 0.10);
  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-ui:       'Josefin Sans', sans-serif;
  --nav-h:       68px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:           0.32s;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-ui);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.gold { color: var(--gold); }

/* ── NAV ──────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}

#navbar.scrolled {
  background: rgba(10, 10, 12, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  cursor: default;
  user-select: none;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t) var(--ease);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--t) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10, 10, 12, 0.97);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu.open { display: flex; max-height: 400px; }

.mobile-link {
  padding: 1rem 2rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  border-bottom: 1px solid var(--border);
  transition: color var(--t), background var(--t);
}

.mobile-link:hover { color: var(--gold); background: var(--gold-muted); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 5rem;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 150, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 150, 60, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.hero-name {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 10.5vw, 9.5rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 1.3rem;
}

.hero-name-last {
  font-style: italic;
  color: var(--gold-light);
}

.hero-divider {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.hero-divider span {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-title {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 1.3rem;
}

.hero-tagline {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(200, 150, 60, 0.28);
  color: var(--grey-light);
  background: transparent;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.scroll-indicator span {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--grey);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ── SECTIONS ─────────────────────────────────────────────── */
section { position: relative; padding: 6.5rem 0; }

#experience { background: var(--bg-alt); }
#reading    { background: var(--bg-alt); }

.section-header { margin-bottom: 3.5rem; }

.section-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--grey-light);
  line-height: 1.9;
  margin-bottom: 1.3rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.stat-card:hover {
  border-color: var(--gold);
  background: var(--bg-hover);
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.4;
}

/* ── EXPERIENCE CARDS ─────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.exp-card {
  position: relative;
  padding: 2rem 1.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease),
              transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.exp-card:hover {
  border-color: var(--gold);
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.card-accent {
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.45s var(--ease);
}

.exp-card:hover .card-accent { height: 100%; }

.card-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 1.2rem;
}

.card-icon svg { width: 100%; height: 100%; }

.card-tag {
  display: inline-block;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.55rem;
}

.card-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.card-body {
  font-family: var(--ff-display);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid var(--border-card);
  padding-top: 1rem;
}

.card-list li {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--grey);
  padding-left: 1rem;
  position: relative;
}

.card-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.56rem;
}

/* ── ACTIVITIES ───────────────────────────────────────────── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease),
              transform var(--t) var(--ease);
}

.activity-item:hover {
  border-color: var(--gold);
  background: var(--bg-hover);
  transform: translateY(-3px);
}

.activity-icon {
  width: 28px; height: 28px;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.75;
}

.activity-icon svg { width: 100%; height: 100%; }

.activity-text { display: flex; flex-direction: column; gap: 0.18rem; }

.activity-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.activity-sub {
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ── READING ──────────────────────────────────────────────── */
.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.reading-card {
  padding: 2rem;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease),
              transform var(--t) var(--ease);
}

.reading-card:hover {
  border-color: var(--gold);
  background: var(--bg-hover);
  transform: translateY(-4px);
}

.reading-tag {
  display: inline-block;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.reading-title {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.reading-author {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.reading-body {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.85;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-intro {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--grey);
  max-width: 500px;
  margin-bottom: 2.8rem;
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-muted);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}

.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-card:hover::before { opacity: 1; }

.contact-icon {
  width: 32px; height: 32px;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.contact-icon svg { width: 100%; height: 100%; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.contact-label {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.contact-value {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-arrow {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.contact-card:hover .contact-arrow { opacity: 1; transform: translateX(0); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-name {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-detail {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-copy {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.85s var(--ease) forwards;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.44s; }
.delay-4 { animation-delay: 0.58s; }
.delay-5 { animation-delay: 0.70s; }
.delay-6 { animation-delay: 0.82s; }
.delay-7 { animation-delay: 0.95s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .reading-grid { grid-template-columns: 1fr; max-width: 540px; }
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 680px) {
  :root { --nav-h: 60px; }
  section { padding: 4.5rem 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .activities-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero-eyebrow { letter-spacing: 0.16em; }
}
