/* ===================================================
   David Hůla – Personal Portfolio
   Style: Modern Executive Portfolio
   =================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2744;
  --navy-mid:  #243358;
  --navy-dark: #111c30;
  --gold:      #b8976a;
  --gold-light:#d4b48a;
  --white:     #ffffff;
  --off-white: #f7f6f3;
  --light-gray:#eff0f2;
  --text:      #1e2535;
  --text-mid:  #4a5568;
  --text-light:#718096;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 4px 24px rgba(26,39,68,.10);
  --shadow-lg: 0 12px 48px rgba(26,39,68,.16);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;
}

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

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4 { font-family: var(--ff-serif); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { max-width: 68ch; }

.section-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}

/* --- Utility --- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 100px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--light { background: var(--off-white); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ===================================================
   HEADER / NAV
   =================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(17,28,48,.96);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; }
.nav-logo { font-family: var(--ff-serif); font-size: 1.2rem; color: var(--white); font-weight: 700; letter-spacing: .02em; }
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta { margin-left: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .3rem; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #243a6a 100%);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(184,151,106,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(184,151,106,.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  padding: 5rem 0;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 em { color: var(--gold); font-style: normal; }

.hero-text {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-proof {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2.4rem;
}
.proof-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
}

.hero-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(184,151,106,.18);
  max-width: 460px;
  width: 100%;
}

.hero-photo-frame img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-frame::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(17,28,48,.5) 0%, transparent 100%);
  pointer-events: none;
}

/* Gold accent corner */
.hero-photo-frame::before {
  content: '';
  position: absolute; top: -1px; right: -1px;
  width: 80px; height: 80px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 24px 0 0;
  z-index: 2;
}

/* ===================================================
   PROOF BAR
   =================================================== */
.proof-bar { background: var(--white); padding: 3rem 0; border-bottom: 1px solid var(--light-gray); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.proof-item {
  padding: 1.2rem 1.5rem;
  border-right: 1px solid var(--light-gray);
}
.proof-item:last-child { border-right: none; }

.proof-number {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.proof-number span { color: var(--gold); }

.proof-label {
  font-size: .8rem;
  color: var(--text-mid);
  margin-top: .4rem;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ===================================================
   O MNĚ
   =================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-photo-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gold accent */
.about-photo-wrap::before {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 120px; height: 120px;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 0 0 0 20px;
  z-index: -1;
}

.about-content {}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--text-mid); margin-bottom: 1.2rem; font-size: 1.02rem; }

.about-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.about-tag {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--navy);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
}

.lang-list { margin-top: 1.8rem; }
.lang-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.lang-name { font-weight: 600; font-size: .9rem; color: var(--navy); width: 100px; }
.lang-bar-wrap { flex: 1; height: 5px; background: var(--light-gray); border-radius: 10px; margin: 0 1rem; }
.lang-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 10px; width: 0; transition: width 1.2s ease; }
.lang-label { font-size: .78rem; color: var(--text-light); width: 80px; text-align: right; }

/* ===================================================
   KLÍČOVÉ KOMPETENCE
   =================================================== */
.competencies-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.competencies-header h2 { margin-bottom: 1rem; }
.competencies-header p { color: rgba(255,255,255,.75); margin: 0 auto; }

.competencies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.comp-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.comp-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.comp-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(184,151,106,.3); }
.comp-card:hover::before { opacity: 1; }

.comp-icon {
  width: 48px; height: 48px;
  background: rgba(184,151,106,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.comp-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.comp-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .7rem; }
.comp-card p { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.6; max-width: none; }

/* ===================================================
   PROJEKTY & ÚSPĚCHY
   =================================================== */
.projects-header { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.projects-header h2 { margin-bottom: 1rem; }
.projects-header p { color: var(--text-mid); margin: 0 auto; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Card header */
.project-card-head {
  background: var(--navy);
  padding: 1.2rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.project-company {
  font-family: var(--ff-serif);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.project-tag {
  background: rgba(184,151,106,.2);
  border: 1px solid rgba(184,151,106,.3);
  color: var(--gold-light);
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Card body */
.project-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-body h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: .8rem;
  line-height: 1.3;
}
.project-card-body p {
  color: var(--text-mid);
  font-size: .9rem;
  line-height: 1.7;
  max-width: none;
  flex: 1;
}

/* Card footer – impact always at bottom */
.project-card-foot {
  padding: 1rem 1.6rem;
  border-top: 1px solid var(--light-gray);
}
.project-role {
  font-size: .78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.impact-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: .75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.impact-box-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  white-space: nowrap;
  margin-top: .05rem;
}
.impact-box-text {
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
}

/* Special impact – big number */
.impact-box--highlight {
  background: var(--navy);
  border-left-color: var(--gold);
  flex-direction: column;
  gap: .3rem;
}
.impact-box--highlight .impact-box-label { color: var(--gold); }
.impact-box--highlight .impact-number {
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.impact-box--highlight .impact-box-text { color: rgba(255,255,255,.75); font-size: .82rem; }

/* ===================================================
   KARIÉRNÍ TIMELINE
   =================================================== */
.timeline-wrap { position: relative; max-width: 820px; margin: 0 auto; padding-left: 2rem; }
.timeline-wrap::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(184,151,106,.2));
}

.timeline-item {
  position: relative;
  padding: 0 0 2.8rem 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s ease, transform .6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute; left: -6px; top: .3rem;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(184,151,106,.25);
}
.timeline-item.featured .timeline-dot {
  width: 18px; height: 18px;
  left: -8px;
  background: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184,151,106,.3);
}

.timeline-period {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.timeline-title {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .2rem;
}
.timeline-company { font-size: .95rem; color: var(--text-mid); font-weight: 500; margin-bottom: .6rem; }
.timeline-desc { font-size: .9rem; color: var(--text-light); line-height: 1.6; max-width: 60ch; }

/* ===================================================
   REFERENCE
   =================================================== */
.testimonials-header { text-align: center; max-width: 580px; margin: 0 auto 3.5rem; }
.testimonials-header h2 { margin-bottom: 1rem; }
.testimonials-header p { color: var(--text-mid); margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--ff-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: .2;
  font-weight: 700;
}

.testimonial-badge {
  display: inline-block;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--text-mid);
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: .97rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  max-width: none;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-info .name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.testimonial-info .role { font-size: .82rem; color: var(--text-light); }

/* ===================================================
   VZDĚLÁNÍ
   =================================================== */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.edu-block h3 { color: var(--navy); margin-bottom: 1.5rem; }

.edu-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--gold);
}
.edu-item h4 { color: var(--navy); font-size: 1rem; margin-bottom: .3rem; font-family: var(--ff-serif); }
.edu-item .edu-school { color: var(--text-mid); font-size: .9rem; font-weight: 500; }
.edu-item .edu-degree { color: var(--text-light); font-size: .85rem; margin-top: .2rem; }

.lang-grid { display: flex; flex-direction: column; gap: .9rem; }
.lang-row { display: flex; align-items: center; gap: 1rem; }
.lang-flag { font-size: 1.3rem; }
.lang-info { flex: 1; }
.lang-info .lang-n { font-weight: 600; color: var(--navy); font-size: .92rem; }
.lang-info .lang-lvl { font-size: .78rem; color: var(--text-light); }
.lang-pct { font-size: .78rem; color: var(--gold); font-weight: 600; }
.lang-bar-outer { flex: 1; height: 4px; background: var(--light-gray); border-radius: 10px; }
.lang-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 10px; width: 0; transition: width 1.2s ease; }

/* ===================================================
   KONTAKT
   =================================================== */
.contact-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: rgba(255,255,255,.75); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}
.contact-detail-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.contact-detail a:hover { color: var(--gold); }

.contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 2rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: .4rem; letter-spacing: .04em; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: .75rem 1rem;
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-submit { width: 100%; padding: .9rem; font-size: .95rem; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.5);
  padding: 2rem 0;
  text-align: center;
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer strong { color: var(--gold); font-weight: 600; }

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   MOBILE NAV
   =================================================== */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(17,28,48,.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  backdrop-filter: blur(10px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); font-size: 1.3rem; font-weight: 600; letter-spacing: .04em; transition: color var(--transition); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.8rem; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .competencies-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { border-bottom: 1px solid var(--light-gray); }
  .proof-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-proof { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-frame img { height: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-frame img { height: 380px; }
  .projects-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .competencies-grid { grid-template-columns: 1fr 1fr; }
  .timeline-wrap { padding-left: 1.5rem; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .competencies-grid { grid-template-columns: 1fr; }
  .hero-photo-frame img { height: 320px; }
}
