/* ==========================================================================
   Jasneet Kaur — HR Business Partner & Technical Talent Acquisition
   Multi-Page Website Stylesheet
   Typography: Courier MS / Courier New Monospace + Cormorant Garamond Serif
   ========================================================================== */

:root {
  --ink: #1c2b3a;
  --paper: #f6f3ec;
  --yellow: #f0c14b;
  --soft-yellow: #f6d56a;
  --line: #e4dfd4;
  --quiet: #6b6560;
  --ember: #c45c26;
  --signal: #c23b2e;
  --card-bg: #ffffff;
  --sand: #eeeee5;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-courier: 'Courier New', 'Courier MS', Courier, monospace;
  --font-hand: 'Caveat', cursive, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-courier);
  font-size: 18px; /* Increased 1 point */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* Subtle paper texture */
body::before {
  content: "";
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.3' filter='url(%23n)'/%3E%3C/svg%3E");
  position: fixed;
  inset: 0;
}

#root, main, header, footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  max-width: 1240px;
  min-height: 110px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand svg {
  width: 44px;
  height: 44px;
  color: var(--ember);
  flex-shrink: 0;
}

.brand > span {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
}

.brand small {
  letter-spacing: 1.8px;
  margin-top: 5px;
  font-family: var(--font-courier);
  font-size: 10px;
  font-weight: 700;
  display: block;
  color: var(--quiet);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-courier);
  font-size: 14px;
  font-weight: 700;
}

.nav-tab {
  min-height: 40px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: #f6e7a8;
  border-radius: 18px 14px 20px 14px;
  align-items: center;
  padding: 8px 16px;
  line-height: 1.1;
  display: inline-flex;
  box-shadow: 2px 3px 0 #e0a06a;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-tab:hover {
  background: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 2px 5px 0 #c45c26;
}

.nav-tab.is-active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 3px 0 var(--ember);
}

.nav-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: all 0.2s;
  box-shadow: 2px 3px 0 #e0a06a;
}

.nav-linkedin:hover {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
  transform: translateY(-2px);
}

.nav-connect {
  background: var(--ember);
  min-height: 40px;
  color: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 18px 14px 20px 14px;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 2px 3px 0 var(--ink);
  transition: all 0.2s;
}

.nav-connect:hover {
  background: #a84717;
  transform: translateY(-2px);
  box-shadow: 2px 5px 0 var(--ink);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}

.mobile-nav {
  display: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  flex-direction: column;
  padding: 18px 24px;
  position: absolute;
  top: 95px;
  left: 20px;
  right: 20px;
  box-shadow: 4px 6px 0 var(--ink);
  z-index: 99;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-courier);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav a.is-active {
  color: var(--ember);
  font-weight: 800;
}

/* ==========================================================================
   Subpage Page Banner
   ========================================================================== */
.page-hero {
  max-width: 1240px;
  margin: 0 auto 30px;
  padding: 0 40px;
}

.page-hero-inner {
  background: var(--soft-yellow);
  padding: 50px 60px;
  border-radius: 4px;
  position: relative;
  box-shadow: 4px 5px 0 #e0a06a;
  border: 1.5px solid var(--ink);
}

.breadcrumb {
  font-family: var(--font-courier);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -1.5px;
}

.page-hero h1 em {
  color: var(--ember);
  font-style: italic;
}

.page-hero-desc {
  font-family: var(--font-courier);
  font-size: 18px;
  line-height: 1.75;
  color: #3f474d;
  margin-top: 18px;
  max-width: 800px;
}

/* ==========================================================================
   Home Hero & Photo Alignment
   ========================================================================== */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-topline {
  border-top: 1px solid var(--line);
  letter-spacing: 1.6px;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-courier);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  color: var(--quiet);
}

.hero-topline > span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ember);
}

.hero-main {
  background: var(--soft-yellow);
  border: 1.5px solid var(--ink);
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 570px;
  padding: 48px 54px;
  display: grid;
  align-items: center;
  gap: 40px;
  position: relative;
  box-shadow: 5px 6px 0 #e0a06a;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hello {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--ink);
}

.hero-main h1 {
  letter-spacing: -3px;
  margin: 8px 0 16px;
  font-family: var(--font-serif);
  font-size: 92px;
  font-weight: 500;
  line-height: 0.92;
  position: relative;
}

.hero-main h1 span {
  font-style: italic;
}

.name-stroke {
  width: 220px;
  height: 16px;
  stroke: var(--ember);
  fill: none;
  stroke-width: 2.5px;
  display: block;
  margin-top: -6px;
}

.hero-description {
  margin: 22px 0 14px;
  font-family: var(--font-courier);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-description em {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  color: var(--ember);
}

.hero-small {
  color: #4a545c;
  margin-bottom: 28px;
  font-family: var(--font-courier);
  font-size: 16px;
  line-height: 1.8;
  max-width: 550px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 26px;
  font-family: var(--font-courier);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.dark-button {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 3px 0 var(--ember);
}

.dark-button:hover {
  background: var(--ember);
  box-shadow: 2px 4px 0 var(--ink);
}

.outline-button {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 3px 0 #b9a973;
}

.outline-button:hover {
  background: var(--yellow);
  box-shadow: 2px 4px 0 var(--ink);
}

/* Enhanced Photo Alignment & Cropping in Hero */
.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 540px;
  padding-bottom: 70px; /* Dedicated clearance for art note below photo */
}

.photo-frame {
  background: #ffffff;
  border: 10px solid #ffffff;
  border-bottom: 48px solid #ffffff;
  border-radius: 3px;
  box-shadow: 10px 12px 0 #dfaf7e;
  transform: rotate(2.5deg);
  width: 100%;
  max-width: 330px;
  position: relative;
  margin: 10px auto 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 12px 14px 0 #c45c26;
}

.photo-inner {
  width: 100%;
  height: 410px;
  overflow: hidden;
  border-radius: 2px;
  background: #f0ebe1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.photo-caption {
  text-align: center;
  width: 100%;
  font-family: var(--font-hand);
  font-size: 21px;
  position: absolute;
  bottom: -40px;
  left: 0;
  color: var(--ink);
  font-weight: 600;
  pointer-events: none;
}

.sun-doodle {
  z-index: 5;
  position: absolute;
  top: -15px;
  right: 15px;
  transform: rotate(16deg);
}

.sun-doodle svg {
  width: 82px;
  height: 82px;
  color: var(--ember);
}

.positive-note {
  background: var(--paper);
  z-index: 6;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--font-courier);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  position: absolute;
  bottom: 60px; /* Raised up so it doesn't collide with bottom caption */
  left: -18px;
  transform: rotate(-6deg);
  box-shadow: 4px 6px 0 #b9a973;
  border: 1.5px solid var(--ink);
}

.positive-note svg {
  color: var(--ember);
  margin-top: 3px;
  flex-shrink: 0;
}

.positive-note em {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ember);
}

.handwritten {
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 500;
}

/* Building teams / People skills note - positioned completely below the photo frame with zero overlap */
.art-note {
  position: absolute;
  bottom: 0px;
  right: 20px;
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--ember);
  line-height: 1.25;
  text-align: right;
  transform: rotate(-4deg);
  z-index: 7;
  white-space: nowrap;
  pointer-events: none;
}

.art-note .highlight-line {
  display: inline-block;
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.55) 6%, rgba(246, 243, 236, 0.6) 94%, rgba(255, 255, 255, 0.2) 100%);
  padding: 1px 10px;
  border-radius: 4px;
  margin: 1px 0;
  box-shadow: 0 1px 2px rgba(28, 43, 58, 0.04);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-bottom {
  border-bottom: 1px solid var(--line);
  letter-spacing: 1.6px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 24px;
  font-family: var(--font-courier);
  font-size: 12px;
  font-weight: 700;
  color: var(--quiet);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-bottom > span, .hero-bottom > a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-bottom a:hover {
  color: var(--ember);
}

@keyframes subtleBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.32;
    transform: scale(0.92);
  }
}

.rust-bullet, .red-bullet {
  background: #d93829;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  display: inline-block;
  box-shadow: 0 0 0 2.5px rgba(217, 56, 41, 0.16);
  flex-shrink: 0;
  animation: subtleBlink 2.5s ease-in-out infinite;
}

.metrics-items {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.metric-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tiny-dot {
  background: var(--ember);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  display: inline-block;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section-rail {
  max-width: 1240px;
  margin: auto;
  padding: 75px 40px;
}

.section-label {
  letter-spacing: 1.8px;
  color: var(--ember);
  justify-content: space-between;
  margin-bottom: 36px;
  font-family: var(--font-courier);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.section-label > span:last-child {
  color: var(--quiet);
  font-size: 13px;
}

h2 {
  letter-spacing: -1px;
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

h2 em {
  color: var(--ember);
  font-style: italic;
}

/* ==========================================================================
   About Page Layout
   ========================================================================== */
.about-layout {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  display: grid;
  align-items: start;
}

.story-manifesto {
  margin: 24px 0 28px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-left: 5px solid var(--ember);
  box-shadow: 4px 5px 0 #dfdfd2;
  border-radius: 4px;
}

.manifesto-headline {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
}

.manifesto-headline span {
  color: var(--ember);
  font-style: italic;
}

.manifesto-body {
  font-family: var(--font-courier);
  font-size: 16px;
  color: #4a545c;
  line-height: 1.75;
  margin: 0 !important;
}

.signature {
  color: var(--ember);
  margin-top: 24px;
  display: inline-block;
  transform: rotate(-3deg);
}

.about-body p {
  color: #4a545c;
  margin-bottom: 20px;
  font-family: var(--font-courier);
  font-size: 18px;
  line-height: 1.8;
}

.about-body .lead {
  color: var(--ink);
  margin-bottom: 26px;
  font-family: var(--font-courier);
  font-size: 21px;
  line-height: 1.7;
  font-weight: 600;
}

.about-facts {
  color: #4a545c;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  font-family: var(--font-courier);
  font-size: 15px;
  display: flex;
}

.about-facts span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-facts svg {
  color: var(--ember);
  flex-shrink: 0;
}

.values {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  padding-top: 26px;
  font-family: var(--font-courier);
  font-size: 14px;
  font-weight: 700;
  display: flex;
}

.values span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sand);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #dfdfd2;
}

.values svg {
  color: var(--ember);
}

/* Two Pillars (Expertise) */
.expertise-grid {
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  display: grid;
}

.pillar {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  padding: 44px 40px;
  position: relative;
  box-shadow: 6px 7px 0 #e5e2d5;
  border-radius: 4px;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  color: var(--ember);
  background: #f8e4d4;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  display: inline-flex;
}

.pillar h3 {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
}

.pillar-summary {
  color: #4a545c;
  margin-bottom: 26px;
  font-family: var(--font-courier);
  font-size: 17px;
  line-height: 1.75;
}

.skill-list {
  border-top: 1px solid var(--line);
  list-style: none;
}

.skill-list li {
  color: #384046;
  border-bottom: 1px solid #f0eee6;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  font-family: var(--font-courier);
  font-size: 16px;
  display: flex;
}

.skill-list li::before {
  content: "";
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  display: inline-block;
  box-shadow: 0 0 0 2px var(--ember);
}

/* Timeline (Experience) */
.timeline {
  list-style: none;
  position: relative;
  margin: 40px 0;
}

.timeline::before {
  content: "";
  background: var(--line);
  width: 2px;
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 24px;
}

.timeline-item {
  grid-template-columns: 50px 1fr;
  gap: 26px;
  padding-bottom: 48px;
  display: grid;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 2;
}

.timeline-marker span {
  background: var(--ink);
  width: 50px;
  height: 50px;
  color: var(--paper);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  box-shadow: 0 0 0 4px var(--paper);
}

.timeline-body {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  padding: 34px 36px;
  box-shadow: 5px 6px 0 #e5e2d5;
  border-radius: 4px;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.timeline-body h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

.timeline-company {
  color: var(--ember);
  letter-spacing: 0.5px;
  margin-top: 6px;
  font-family: var(--font-courier);
  font-size: 15px;
  font-weight: 700;
}

.timeline-period {
  background: var(--soft-yellow);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-courier);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--ink);
}

.hero-experience-badge {
  background: var(--soft-yellow);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 10px;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 4px 0 #b9a973;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 210px;
}

.hero-experience-badge .badge-headline {
  font-family: var(--font-courier);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  display: block;
}

.timeline-progression {
  color: #555e64;
  margin-top: 12px;
  font-family: var(--font-courier);
  font-size: 15px;
  font-style: italic;
  background: #faf8f3;
  padding: 8px 14px;
  border-left: 3px solid var(--yellow);
}

.timeline-summary {
  color: #474f55;
  margin-top: 16px;
  font-family: var(--font-courier);
  font-size: 17px;
  line-height: 1.8;
}

.timeline-highlights {
  margin: 18px 0 0;
  list-style: none;
}

.timeline-highlights li {
  color: #384046;
  padding: 8px 0 8px 24px;
  font-family: var(--font-courier);
  font-size: 16px;
  line-height: 1.75;
  position: relative;
}

.timeline-highlights li::before {
  content: "";
  background: var(--ember);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 16px;
  left: 0;
}

/* Portfolio Cards Grid */
.portfolio-grid {
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  display: grid;
}

.portfolio-card {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  flex-direction: column;
  padding: 38px 34px;
  display: flex;
  position: relative;
  box-shadow: 6px 7px 0 #2a3f52;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 8px 10px 0 #2a3f52;
}

.portfolio-card-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.portfolio-number {
  color: var(--ember);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.portfolio-icon {
  width: 52px;
  height: 52px;
  color: var(--ember);
  background: #f8e4d4;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.portfolio-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.portfolio-summary {
  color: #4a545c;
  margin-bottom: 22px;
  font-family: var(--font-courier);
  font-size: 16px;
  line-height: 1.75;
}

.portfolio-items {
  border-top: 1px solid var(--line);
  list-style: none;
  margin-top: auto;
}

.portfolio-items li {
  color: #384046;
  border-bottom: 1px solid #f0eee6;
  padding: 12px 0 12px 22px;
  font-family: var(--font-courier);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
}

.portfolio-items li:last-child {
  border-bottom: none;
}

.portfolio-items li::before {
  content: "";
  background: var(--yellow);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 19px;
  left: 0;
  box-shadow: 0 0 0 2px var(--ember);
}

/* Recognition & Awards Grid */
.recognition-layout {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 50px;
  display: grid;
}

/* Enhanced Award Photo Polaroid Frame */
.award-photo {
  background: #ffffff;
  border: 10px solid #ffffff;
  border-bottom: 48px solid #ffffff;
  max-width: 340px;
  margin: 28px 0 0;
  transform: rotate(-2.5deg);
  box-shadow: 8px 10px 0 #e0a06a;
  position: relative;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.award-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.award-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 16%;
}

.award-photo figcaption {
  text-align: center;
  color: var(--ember);
  font-family: var(--font-hand);
  font-size: 23px;
  font-weight: 600;
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
}

.recognition-cards {
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  display: grid;
}

.recog-card {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  padding: 34px 30px;
  box-shadow: 5px 6px 0 #e0d9b8;
  border-radius: 4px;
}

.recog-icon {
  color: var(--ember);
  margin-bottom: 16px;
  display: inline-flex;
}

.recog-card h3 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
}

.recog-card ul {
  list-style: none;
}

.recog-card li {
  color: #384046;
  border-bottom: 1px solid #f0eee6;
  padding: 11px 0;
  font-family: var(--font-courier);
  font-size: 15px;
  line-height: 1.65;
}

.recog-card li:last-child {
  border-bottom: none;
}

/* TEDx Talk Feature Box */
.talk {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 52px;
  margin-top: 50px;
  border-radius: 4px;
  border: 1.5px solid var(--ink);
  box-shadow: 6px 7px 0 #c45c26;
}

.talk-kicker {
  color: var(--yellow);
  font-family: var(--font-courier);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.talk h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 18px;
}

.talk blockquote {
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  color: var(--soft-yellow);
  border-left: 3px solid var(--ember);
  padding-left: 20px;
  margin: 20px 0 22px;
}

.talk-lines p {
  color: #c9d2d8;
  font-family: var(--font-courier);
  font-size: 17px;
  margin-bottom: 14px;
  line-height: 1.8;
}

/* Contact Page Layout */
.contact-layout {
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  display: grid;
}

.contact-details {
  flex-direction: column;
  gap: 18px;
  margin: 30px 0;
  list-style: none;
  display: flex;
}

.contact-details li, .contact-details a {
  color: #384046;
  align-items: center;
  gap: 14px;
  font-family: var(--font-courier);
  font-size: 16px;
  display: flex;
}

.contact-details svg {
  color: var(--ember);
  flex-shrink: 0;
}

.contact-details a:hover {
  color: var(--ember);
  transform: translateX(4px);
}

.contact-signoff {
  color: var(--ember);
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  display: flex;
  font-family: var(--font-hand);
  font-size: 28px;
}

.contact-form {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  padding: 40px 38px;
  box-shadow: 6px 7px 0 #b9a973;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-courier);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #faf8f3;
  border: 1px solid #d4d0c5;
  border-radius: 4px;
  padding: 13px 15px;
  font-size: 16px;
  font-family: var(--font-courier);
  line-height: 1.6;
  transition: all 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.15);
}

.contact-form .consent-check {
  flex-direction: row;
  align-items: flex-start;
  font-family: var(--font-courier);
  font-size: 13px;
  font-weight: 400;
  color: #555e64;
  gap: 10px;
}

.consent-check input {
  accent-color: var(--ember);
  margin-top: 3px;
  width: 17px;
  height: 17px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 4px;
  font-family: var(--font-courier);
  font-size: 15px;
  display: none;
  margin-bottom: 8px;
}

.form-alert.is-success {
  display: flex !important;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1.5px solid #a5d6a7;
  box-shadow: 2px 3px 0 #c8e6c9;
}

.form-alert.is-error {
  display: flex !important;
  background: #ffebee;
  color: #c62828;
  border: 1.5px solid #ffcdd2;
  box-shadow: 2px 3px 0 #ffcdd2;
}

/* ==========================================================================
   Moving Photo Carousel on About Page
   ========================================================================== */
.moments-carousel-section {
  background: var(--sand);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 65px 0 75px;
  overflow: hidden;
  position: relative;
}

.carousel-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.carousel-control-btn {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 2px 3px 0 #b9a973;
  transition: all 0.2s ease;
}

.carousel-control-btn:hover {
  background: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 2px 5px 0 var(--ink);
}

.carousel-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 28px 40px;
  cursor: grab;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-marquee {
  display: flex;
  gap: 26px;
  width: max-content;
  will-change: transform;
}

.carousel-marquee.is-animating {
  animation: scrollContinuous 65s linear infinite;
}

.carousel-marquee.is-paused {
  animation-play-state: paused;
}

@keyframes scrollContinuous {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.polaroid-card {
  background: #ffffff;
  border: 9px solid #ffffff;
  border-bottom: 46px solid #ffffff;
  border-radius: 3px;
  box-shadow: 6px 8px 0 #cfc7b4;
  width: 270px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.polaroid-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.polaroid-card:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.polaroid-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.03);
  box-shadow: 8px 14px 0 var(--ember);
  z-index: 10;
}

.polaroid-img-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #f0ebe1;
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  pointer-events: none;
}

.polaroid-label {
  position: absolute;
  bottom: -38px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 10px;
}

/* Quote Banner Strip */
.quote-strip {
  background: var(--soft-yellow);
  align-items: center;
  gap: 26px;
  margin: 65px auto 0;
  max-width: 1240px;
  padding: 30px 42px;
  display: flex;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 5px 0 #e0a06a;
}

.quote-strip > svg {
  color: var(--ember);
  flex-shrink: 0;
}

.quote-strip p {
  font-family: var(--font-serif);
  font-size: 30px;
  font-style: italic;
  line-height: 1.3;
}

.quote-strip a {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 50%;
  margin-left: auto;
  padding: 12px;
  display: inline-flex;
  transition: all 0.2s;
  box-shadow: 2px 3px 0 var(--ink);
}

.quote-strip a:hover {
  background: var(--ember);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  color: #f6f3ec;
  background: #1b2d3f;
  margin-top: 85px;
  padding: 55px 40px 32px;
  border-top: 3px solid var(--ember);
}

.footer-inner {
  max-width: 1240px;
  margin: auto;
}

.footer-main {
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 35px;
  display: flex;
  flex-wrap: wrap;
}

.footer-main p {
  color: #c9c3b8;
  font-family: var(--font-courier);
  font-size: 15px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand svg {
  color: var(--yellow);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-courier);
  font-size: 15px;
  font-weight: 700;
}

.footer-links a {
  color: #c9c3b8;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  color: #8c9ba5;
  border-top: 1px solid #33485c;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-family: var(--font-courier);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--yellow);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 32px;
  }
  
  .hero-main h1 {
    font-size: 76px;
  }
  
  .about-layout, 
  .expertise-grid, 
  .portfolio-grid, 
  .recognition-layout, 
  .recognition-cards,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .award-photo {
    max-width: 320px;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 18px 20px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .section-rail {
    padding: 50px 20px;
  }
  
  .hero, .page-hero {
    padding: 0 20px;
  }
  
  .page-hero-inner {
    padding: 35px 24px;
  }
  
  .page-hero h1 {
    font-size: 42px;
  }
  
  .hero-main h1 {
    font-size: 56px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .quote-strip {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  
  .quote-strip a {
    margin: 0 auto;
  }
  
  .hero-art {
    min-height: auto;
    padding-bottom: 30px;
  }

  .positive-note {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 20px;
    align-self: flex-start;
    transform: rotate(-3deg);
  }

  .art-note {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 15px;
    text-align: center;
    align-self: center;
    transform: rotate(-3deg);
  }

  .footer-main, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   06 / LIFE, LATELY — My Current Chapter Section
   ========================================================================== */
.life-lately-section {
  padding-top: 20px;
  padding-bottom: 70px;
}

.life-lately-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  margin-top: 30px;
}

.life-lately-headline {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -1px;
}

.life-lately-headline em {
  font-style: italic;
  color: var(--ember);
}

.life-lately-desc {
  font-family: var(--font-courier);
  font-size: 17px;
  color: #4a545c;
  line-height: 1.8;
  margin-top: 28px;
  max-width: 480px;
}

/* Washi-taped paper card */
.life-lately-right {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 30px 10px 10px;
}

.current-chapter-paper {
  background: #fdfaf3;
  border: 1.5px solid #ded9cb;
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(42, 63, 82, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 42px 44px 32px;
  position: relative;
  transform: rotate(1.2deg);
  max-width: 520px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.current-chapter-paper:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 18px 44px rgba(42, 63, 82, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Washi tape removed - kept clean */
.washi-tape {
  display: none !important;
}

.chapter-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-courier);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.chapter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  display: inline-block;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.chapter-text {
  font-family: var(--font-courier);
  font-size: 15px;
  line-height: 1.8;
  color: #4a545c;
  margin-bottom: 24px;
}

/* Highlighted intake badge box with dotted border */
.intake-highlight {
  background: #fdf0e6;
  border: 1.5px dashed #e8aa82;
  border-radius: 4px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-courier);
  font-size: 14px;
  font-weight: 700;
  color: var(--ember);
  margin-bottom: 24px;
}

.intake-highlight svg {
  flex-shrink: 0;
  color: var(--ember);
}

.chapter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #e5dfd2;
  padding-top: 18px;
  margin-top: 8px;
}

.chapter-handwritten {
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--ember);
  font-weight: 600;
}

.sun-mini-doodle {
  width: 38px;
  height: 38px;
  color: var(--ember);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-mini-doodle svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .life-lately-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .life-lately-headline {
    font-size: 42px;
  }
  .current-chapter-paper {
    padding: 36px 26px 24px;
  }
}
