:root{--navy:#142B50;--red:#C8102E;--white:#fff;--ink:#26354b;--muted:#526078;--line:#e5eaf0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink);line-height:1.65;background:var(--white)}.container{width:min(1100px,calc(100% - 40px));margin-inline:auto}.navy-top,.site-footer{background:var(--navy);color:var(--white)}.site-header{display:flex;align-items:center;gap:30px;justify-content:space-between;padding-block:23px;border-bottom:1px solid #ffffff25}.logo{font-size:1.6rem;letter-spacing:.06em;font-weight:800;color:white;text-decoration:none}.logo span{color:#fa7186}nav{display:flex;gap:24px}nav a{color:white;text-decoration:none;font-size:.95rem}nav a:hover,nav a:focus-visible{text-decoration:underline}.language-switch{display:flex;gap:8px;align-items:center}.language-switch button{border:0;background:transparent;color:#cbd6e7;font:inherit;cursor:pointer;padding:5px}.language-switch button[aria-pressed="true"]{color:white;font-weight:800;text-decoration:underline;text-decoration-color:#fa7186;text-underline-offset:5px}.hero{padding-block:100px 115px}.eyebrow{color:#ff91a1;font-weight:700;font-size:.85rem;letter-spacing:.12em}.hero h1{font-size:clamp(2.6rem,6vw,4.7rem);line-height:1.15;margin:18px 0}.subtitle{font-size:1.2rem;color:#e4ebf5}.hero-copy{color:#d4e0ef;max-width:640px}.actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px}.button{display:inline-block;border-radius:6px;padding:11px 21px;text-decoration:none;font-weight:650}.primary{background:var(--red);color:white}.outline{border:1px solid white;color:white}.button:hover{filter:brightness(1.12)}.content-section{padding-block:58px;border-bottom:1px solid var(--line)}.content-section:last-child{border:0;padding-bottom:85px}h2{font-size:1.9rem;color:var(--navy);line-height:1.2;margin:0 0 23px}h2:after{content:"";display:block;width:48px;height:4px;background:var(--red);border-radius:2px;margin-top:14px}.content-section>p{max-width:800px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{padding:25px;background:#f5f7fa;border-radius:9px;border:1px solid #edf0f4}.card h3{margin:0 0 9px;color:var(--navy)}.card p{margin:0;color:var(--muted)}.site-footer{padding-block:28px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.87rem}.footer-inner p{margin:0}@media(max-width:700px){.site-header{flex-wrap:wrap;gap:15px}.site-header nav{order:3;width:100%;gap:20px;flex-wrap:wrap}.hero{padding-block:65px 80px}.cards{grid-template-columns:1fr}.content-section{padding-block:45px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* ==========================================
   HOBBIES & INTERESTS
   ========================================== */

.hobbies-section {
  background: #ffffff;
  padding: 70px 20px;
  text-align: center;
}

.hobbies-section h2 {
  color: #142B50;
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-underline {
  width: 55px;
  height: 4px;
  background: #C8102E;
  margin: 0 auto 35px;
  border-radius: 3px;
}

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.hobby-card {
  background: #f5f7fa;
  border: 1px solid #e1e6ed;
  border-radius: 12px;
  padding: 25px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.hobby-card svg {
  width: 34px;
  height: 34px;
  color: #142B50;
  stroke-width: 1.8;
}

.hobby-card span {
  color: #142B50;
  font-size: 0.95rem;
  font-weight: 500;
}

.hobby-card:hover {
  transform: translateY(-5px);
  border-color: #C8102E;
  box-shadow: 0 8px 20px rgba(20, 43, 80, 0.12);
}

.hobby-card:hover svg {
  color: #C8102E;
}

/* Tablet */
@media (max-width: 900px) {
  .hobbies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 550px) {
  .hobbies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hobby-card {
    padding: 20px 8px;
  }
}

.hobby-card {
  text-decoration: none;
  cursor: pointer;
}

.hobby-card:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 3px;
}


/* ==========================================
   INTERESTS PAGE — NAVY HEADER
   ========================================== */

.interests-header {
  background-color: #142B50;
  color: #FFFFFF;
  width: 100%;
}

/* Navigation bar */
.interests-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Website name */
.interests-brand {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}

.interests-brand span {
  color: #FF8191;
}

/* Navigation links */
.interests-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.interests-nav-actions a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}

.interests-nav-actions a:hover {
  color: #FF8191;
}

/* Language switcher */
.language-toggle {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  border-radius: 6px;
  padding: 9px 15px;
  cursor: pointer;
}

.language-toggle:hover {
  background: #C8102E;
  border-color: #C8102E;
}

/* Introduction area */
.interests-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 75px 20px 90px;
}

.interests-intro h1 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 15px;
}

.interests-intro p {
  color: #DCE5F1;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Mobile responsiveness */
@media (max-width: 550px) {
  .interests-nav {
    flex-wrap: wrap;
  }

  .interests-intro {
    padding: 50px 20px 65px;
  }
}

/* ==========================================
   INTERESTS PAGE — CONTENT ALIGNMENT
   ========================================== */

.interests-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px 80px;
  box-sizing: border-box;
}

.interest-detail {
  padding: 45px 0;
  border-bottom: 1px solid #e1e6ed;
}

/* Smaller screens */
@media (max-width: 600px) {
  .interests-content {
    padding: 30px 20px 60px;
  }
}


/* ==========================================
   MUSIC SECTION
   ========================================== */

.music-section h3 {
  color: #142B50;
  font-size: 1.5rem;
  margin: 45px 0 22px;
}

.music-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.music-feature-card {
  background: #142B50;
  color: #FFFFFF;
  padding: 28px;
  border-radius: 12px;
  border-top: 4px solid #C8102E;
}

.music-feature-label {
  display: block;
  color: #DCE5F1;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.music-feature-card h4 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.music-feature-card p {
  color: #DCE5F1;
  margin: 0;
}

/* Annual music timeline */

.music-timeline {
  border-left: 3px solid #142B50;
  margin-left: 20px;
}

.music-year {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 20px 25px 30px;
}

.music-year::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 22px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #C8102E;
  border: 2px solid #FFFFFF;
}

.music-year-number {
  color: #142B50;
  font-weight: 700;
  font-size: 1.2rem;
}

.music-year strong {
  color: #142B50;
}

.music-year p {
  margin: 5px 0 0;
  color: #52627A;
}

.music-year-upcoming {
  background: #F5F7FA;
  border-radius: 0 10px 10px 0;
}

.music-tie {
  display: block;
  color: #C8102E;
  font-size: 0.85rem;
  margin: 12px 0;
}

.music-honourable {
  background: #F5F7FA;
  border-left: 4px solid #C8102E;
  padding: 20px 25px;
  border-radius: 0 8px 8px 0;
}

.music-honourable strong {
  color: #142B50;
}

.music-honourable p {
  margin: 5px 0 0;
}

/* Mobile */
@media (max-width: 600px) {
  .music-feature-grid {
    grid-template-columns: 1fr;
  }

  .music-year {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    padding-left: 20px;
  }
}

/* ==========================================
   SPOTIFY SONG LINKS
   ========================================== */

.music-song-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #142B50;
  font-weight: 700;
  text-decoration: none;

  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.music-song-link:hover {
  color: #C8102E;
  border-bottom-color: #C8102E;
}

.music-song-link:focus-visible {
  outline: 2px solid #C8102E;
  outline-offset: 4px;
}

.music-song-link svg {
  width: 15px;
  height: 15px;
}

.music-feature-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-feature-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(20, 43, 80, 0.2);
}

.music-feature-link:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 4px;
}

.music-spotify-label {
  display: inline-block;
  margin-top: 20px;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
}

#about p {
  white-space: pre-line;
}



/* HOMEPAGE HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  column-gap: 48px;
  padding-block: 100px 115px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .subtitle,
.hero-content .hero-copy {
  margin: 0;
  width: auto;
  max-width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.15;
}

.hero-content .hero-copy {
  max-width: 550px;
}

.hero-content .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 16px;
}

.hero-photo {
  width: 300px;
  max-width: 100%;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #C8102E;
  border-radius: 16px;
}

/* TABLET AND MOBILE */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    row-gap: 36px;
    padding-block: 65px 80px;
  }

  .hero-photo {
    width: min(100%, 280px);
    justify-self: center;
  }

  .profile-photo {
    height: 340px;
  }
}


/* Clickable portfolio cards */

.portfolio-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.portfolio-link:hover {
  transform: translateY(-5px);
  border-color: #C8102E;
  box-shadow: 0 8px 20px rgba(20, 43, 80, 0.12);
}

.portfolio-link:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 4px;
}


/* CONTACT BUTTON GRID */

.contact-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

/* INDIVIDUAL CONTACT BUTTON */

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 120px;
  padding: 20px 12px;

  background: #F5F7FA;
  color: #142B50;
  border: 1px solid #E1E6ED;
  border-radius: 12px;

  text-decoration: none;
  text-align: center;
  font-weight: 600;

  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

/* LOGO */

.contact-link svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

/* CAPTION */

.contact-link span {
  font-size: 0.9rem;
}

/* HOVER */

.contact-link:hover {
  transform: translateY(-5px);
  border-color: #C8102E;
  box-shadow: 0 8px 20px rgba(20, 43, 80, 0.12);
}

.contact-link:hover svg {
  color: #C8102E;
}

.contact-link:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 4px;
}

/* TABLET */

@media (max-width: 900px) {
  .contact-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 550px) {
  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Address pop-up */

.address-popup {
  border: none;
  border-radius: 12px;
  padding: 35px;
  width: min(400px, calc(100% - 40px));
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.address-popup::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.address-popup h3 {
  color: #142B50;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: #142B50;
}

.contact-link {
  font: inherit;
  cursor: pointer;
}


.address-popup {
  position: fixed;
  border: none;
  border-radius: 12px;
  padding: 35px;
  width: min(400px, calc(100% - 40px));
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.address-popup::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.address-popup h3 {
  color: #142B50;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: transparent;
  color: #142B50;
  font-size: 26px;
  cursor: pointer;
}

button.contact-link {
  font: inherit;
  cursor: pointer;
}


.address-popup {
  border: none;
  border-radius: 12px;
  padding: 35px;
  width: min(400px, calc(100% - 40px));
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.address-popup::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  color: #142B50;
  font-size: 26px;
  cursor: pointer;
}

button.contact-link {
  font: inherit;
  cursor: pointer;
}


/* LIVE DIGITAL CLOCK */


/* ==========================================
   LIVE DIGITAL CLOCKS
   ========================================== */

.clocks-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-clock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #FFFFFF;
  flex: 0 0 auto;
}

.clock-indicator {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: #C8102E;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(200, 16, 46, 0.6);
}

.clock-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.clock-time {
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.clock-location {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  opacity: 0.75;
}

@media (max-width: 650px) {
  .clocks-container {
    gap: 8px;
  }

  .site-clock {
    padding: 7px 10px;
  }

  .clock-time {
    font-size: 0.9rem;
  }

  .clock-location {
    font-size: 0.55rem;
  }
}


/* ==========================================
   PORTFOLIO PAGE — NAVY HEADER
   ========================================== */

.portfolio-header {
  background-color: #142B50;
  color: #FFFFFF;
  width: 100%;
}

/* Navigation bar */

.portfolio-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Website name */

.portfolio-brand {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.portfolio-brand span {
  color: #FF8191;
}

.portfolio-brand:hover {
  opacity: 0.85;
}

/* Navigation actions */

.portfolio-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language switcher */

.portfolio-nav .language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-nav .language-switch button {
  background: transparent;
  border: none;
  color: #CBD6E7;
  font: inherit;
  cursor: pointer;
  padding: 5px;
}

.portfolio-nav .language-switch button[aria-pressed="true"] {
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #FF8191;
  text-underline-offset: 5px;
}

.portfolio-nav .language-switch button:hover {
  color: #FFFFFF;
}

/* ==========================================
   PORTFOLIO PAGE — INTRODUCTION
   ========================================== */

.portfolio-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 75px 20px 90px;
}

.portfolio-intro h1 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin: 0 0 15px;
}

.portfolio-intro p {
  color: #DCE5F1;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0;
}

/* ==========================================
   PORTFOLIO PAGE — MOBILE RESPONSIVENESS
   ========================================== */

@media (max-width: 550px) {

  .portfolio-nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .portfolio-brand {
    font-size: 1.3rem;
  }

  .portfolio-intro {
    padding: 50px 20px 65px;
  }

  .portfolio-intro p {
    font-size: 1rem;
  }
}


/* ==========================================
   PORTFOLIO PAGE — CONTENT ALIGNMENT
   ========================================== */

.portfolio-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px 80px;
  box-sizing: border-box;
}

.portfolio-section {
  padding: 45px 0;
  border-bottom: 1px solid #E1E6ED;
}

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

/* Mobile responsiveness */

@media (max-width: 600px) {
  .portfolio-content {
    padding: 30px 20px 60px;
  }
}


/* ==========================================
   PORTFOLIO — LANGUAGES
   ========================================== */

.language-category {
  margin-top: 40px;
}

.language-category h3 {
  color: #142B50;
  font-size: 1.5rem;
  margin: 0 0 25px;
}

/* THREE LANGUAGE CARDS */

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.language-card {
  background: #F5F7FA;
  border: 1px solid #E1E6ED;
  border-radius: 12px;
  padding: 25px;
}

.language-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.language-flag {
  font-size: 3.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.language-card-title {
  min-width: 0;
}

.language-card-title h4 {
  color: #142B50;
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.language-level {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

/* PROFICIENCY LABELS */

.language-level.native {
  background: #142B50;
  color: #FFFFFF;
}

.language-level.intermediate {
  background: #356ED4;
  color: #FFFFFF;
}

.language-level.limited {
  background: #DCE5F1;
  color: #142B50;
}

/* DESCRIPTIONS */

.language-card p {
  color: #526078;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* PROJECT 2045 */

.language-project {
  border-top: 1px solid #E1E6ED;
  padding-top: 40px;
  margin-top: 40px;
}

.language-project > p {
  color: #526078;
  margin-bottom: 25px;
}

.language-project-placeholder {
  border: 2px dashed #D5DDE9;
  border-radius: 12px;
  background: #F8FAFC;
  padding: 35px 20px;
  text-align: center;
}

.project-globe {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.language-project-placeholder p {
  color: #526078;
  margin: 0;
}

/* RESPONSIVE LAYOUT */

@media (max-width: 900px) {
  .language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .language-grid {
    grid-template-columns: 1fr;
  }

  .language-card {
    padding: 20px;
  }

  .language-card-header {
    gap: 14px;
  }

  .language-flag {
    font-size: 3rem;
  }
}


.language-flag {
  display: block;
  width: 75px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  border: 1px solid rgba(20, 43, 80, 0.12);
}


/* ==========================================
   PROJECT 2045 — FUTURE LANGUAGES
   ========================================== */

.future-language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.future-language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;

  padding: 28px 16px;
  background: #F5F7FA;
  border: 1px solid #E1E6ED;
  border-radius: 12px;
}

.future-language-card .language-flag {
  width: 80px;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
}

.future-language-card h4 {
  color: #142B50;
  font-size: 1.2rem;
  margin: 0;
}

.future-language-status {
  display: inline-block;
  background: #DCE5F1;
  color: #142B50;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* TABLET */

@media (max-width: 900px) {
  .future-language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 550px) {
  .future-language-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ==========================================
   PORTFOLIO — EDUCATION
   ========================================== */

.education-intro {
  color: #526078;
  margin-bottom: 30px;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.education-card {
  background: #F5F7FA;
  border: 1px solid #E1E6ED;
  border-left: 4px solid #C8102E;
  border-radius: 12px;
  padding: 28px 30px;
}

.education-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.education-card h3 {
  color: #142B50;
  font-size: 1.4rem;
  margin: 0 0 6px;
}

.education-location {
  color: #526078;
  font-size: 0.9rem;
  margin: 0;
}

.education-date {
  color: #C8102E;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.education-card h4 {
  color: #142B50;
  font-size: 1.1rem;
  margin: 0 0 14px;
}

.education-description {
  color: #526078;
  line-height: 1.7;
  margin: 0 0 20px;
}

.education-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.education-tags span {
  background: #E3EAF3;
  color: #142B50;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* MOBILE */

@media (max-width: 600px) {
  .education-card {
    padding: 22px 20px;
  }

  .education-card-header {
    flex-direction: column;
    gap: 10px;
  }

  .education-date {
    white-space: normal;
  }
}


/* EDUCATION — CLICKABLE CARDS */

.education-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-left-color 0.2s ease;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(20, 43, 80, 0.12);
  border-left-color: #142B50;
}

.education-card:focus-visible {
  outline: 3px solid #C8102E;
  outline-offset: 4px;
}

.education-card:hover h3 {
  color: #C8102E;
}

@media (prefers-reduced-motion: reduce) {
  .education-card {
    transition: none;
  }

  .education-card:hover {
    transform: none;
  }
}


/* ==========================================
   WORKING EXPERIENCE
   ========================================== */

.experience-duties {
  margin: 20px 0 24px;
  padding-left: 22px;
  color: #526078;
  line-height: 1.7;
}

.experience-duties li {
  margin-bottom: 10px;
}

.experience-duties li::marker {
  color: #C8102E;
}

.education-card-header .education-date {
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .education-card-header .education-date {
    text-align: left;
  }
}


/* ==========================================
   PORTFOLIO — SKILLS
   ========================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skill-card {
  background: #F5F7FA;
  border: 1px solid #E1E6ED;
  border-left: 4px solid #C8102E;
  border-radius: 12px;
  padding: 25px;
}

.skill-card h3 {
  color: #142B50;
  font-size: 1.15rem;
  margin: 0 0 12px;
}

.skill-card p {
  color: #526078;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* TECHNICAL PROFICIENCY */

.technical-proficiency {
  background: #F5F7FA;
  border: 1px solid #E1E6ED;
  border-left: 4px solid #C8102E;
  border-radius: 12px;
  padding: 30px;
  margin-top: 25px;
}

.technical-proficiency > h3 {
  color: #142B50;
  font-size: 1.4rem;
  margin: 0 0 25px;
}

.technical-skill-group {
  margin-bottom: 25px;
}

.technical-skill-group:last-child {
  margin-bottom: 0;
}

.technical-skill-group h4 {
  color: #142B50;
  font-size: 1rem;
  margin: 0 0 12px;
}

.technical-skill-group p {
  color: #526078;
  line-height: 1.7;
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 22px 20px;
  }

  .technical-proficiency {
    padding: 22px 20px;
  }
}


/* ==========================================
   RESEARCH INTERESTS
   ========================================== */

#research .skills-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  #research .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #research .skills-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   FOOTER — LAST UPDATED
   ========================================== */

/* Footer layout */
.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.site-footer .footer-updated {
  display: block;
  visibility: visible;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 1;
}

.site-footer .footer-updated-date {
  font-weight: 600;
}


/* ==========================================
   FOOTER — LEFT ALIGNMENT
   ========================================== */

.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.site-footer .footer-inner p {
  text-align: left;
}

.site-footer .footer-updated {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
}


/* UNIFORM WORLD CLOCK CARDS */

.clocks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.site-clock {
  box-sizing: border-box;
  width: 100%;
  height: 130px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.clock-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.clock-location {
  text-align: center;
  line-height: 1.4;
}


/* WORLD CLOCK GRID — 5 COLUMNS × 3 ROWS */

.clocks-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.site-clock {
  box-sizing: border-box;
  width: 100%;
  height: 130px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 0;
}

.clock-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.clock-location {
  text-align: center;
  line-height: 1.4;
}

/* TABLETS */
@media (max-width: 900px) {
  .clocks-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .clocks-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Interests: navy-and-red illustration grid */
.interest-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.interest-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 180px;
  padding: 24px 16px;
  background: #f3f5f9;
  border: 1px solid #d7dfea;
  border-bottom: 4px solid #b32636;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.interest-card-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5ebf4;
  color: #142d52;
}
.interest-card-icon svg { width: 46px; height: 46px; }
.interest-card-icon .accent { stroke: #b32636; }
.interest-card h3 { margin: 0; color: #142d52; font-size: 1.05rem; font-weight: 600; }
@media (max-width: 800px) {
  .interest-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .interest-card-grid { grid-template-columns: 1fr; }
}
  
/* Expandable interest captions */
.interest-card { justify-content: flex-start; }
.interest-card-details { width: 100%; margin-top: auto; }
.interest-card-details summary { color: #142d52; font-weight: 600; cursor: pointer; padding: 8px; }
.interest-card-details summary:hover { color: #b32636; }
.interest-card-details summary:focus-visible { outline: 2px solid #b32636; outline-offset: 3px; }
.interest-card-caption { margin-top: 12px; color: #44546a; text-align: left; font-size: .92rem; line-height: 1.6; overflow-wrap: anywhere; }
.interest-card-caption p { margin: 0 0 12px; }
.interest-card-caption ul { padding-left: 20px; margin: 0 0 12px; }
.interest-card-caption li { margin-bottom: 9px; }

/* Consistent appearance for all provinces and states */
.country-body .region > summary,
.country-body .region-static {
  font-weight: 600;
}


/* ========================================
   FAVOURITES
======================================== */

.favourites-section {
  margin-top: 48px;
}

.favourites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.favourite-card {
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-top: 4px solid #c82333;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(10, 30, 55, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.favourite-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 30, 55, 0.1);
}

.favourite-card h3 {
  margin: 12px 0 8px;
  color: #142b4d;
  font-size: 1rem;
}

.favourite-card p {
  line-height: 1.6;
}

.favourite-answer {
  color: #142b4d;
  font-size: 1.25rem;
  font-weight: 700;
}

.favourite-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  background: #edf1f6;
}

.favourite-poster {
  height: 250px;
  object-fit: contain;
}

.favourite-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  border-radius: 8px;
  background: #f0f3f8;
  font-size: 3.5rem;
}

/* Colours */

.favourite-colours {
  grid-column: 1 / -1;
}

.favourite-colour-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.favourite-colour {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.colour-swatch {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid #ccd4df;
  border-radius: 8px;
}

.colour-swatch.navy {
  background: #142b4d;
}

.colour-swatch.red {
  background: #c82333;
}

.colour-swatch.white {
  background: #ffffff;
}

.favourite-colour h4 {
  margin: 0 0 6px;
  color: #142b4d;
}

.favourite-colour p {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .favourites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .favourite-colour-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .favourites-grid {
    grid-template-columns: 1fr;
  }

  .favourite-colours {
    grid-column: auto;
  }

  .favourite-image {
    height: 220px;
  }

  .favourite-poster {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .favourite-card {
    transition: none;
  }
}

/* Keep favourite cards compact */
.favourites-grid {
  align-items: start;
}

/* Display the complete photograph */
.favourite-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

/* Improve text spacing */
.favourite-card h3 {
  margin: 16px 0 6px;
}

.favourite-card .favourite-answer {
  margin: 0;
}

/* Preserve portrait posters */
.favourite-poster {
  height: 250px;
  object-fit: contain;
}


/* Clickable Favourites cards */
a.favourite-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.favourite-link:hover {
  transform: translateY(-4px);
  border-top-color: #142b4d;
  box-shadow: 0 10px 28px rgba(10, 30, 55, 0.14);
}

a.favourite-link:focus-visible {
  outline: 3px solid #c82333;
  outline-offset: 4px;
}

a.favourite-link:hover .favourite-answer {
  color: #c82333;
}

@media (prefers-reduced-motion: reduce) {
  a.favourite-link {
    transition: none;
  }
}

/* Large square popcorn graphic */
.favourite-popcorn {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  background: #f0f3f8;
  border-radius: 8px;
}


/* Large square television graphic */
.favourite-tv {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  background: #f0f3f8;
  border-radius: 8px;
}


/* Favourite Food photograph */
.favourite-food {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f0f3f8;
  border-radius: 8px;
}


.favourite-gulab-jamun {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.favourite-clipart {
  width: 85%;
  height: 85%;
  object-fit: contain;
}


/* Favourite Drink photograph */
.favourite-drink {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}


/* Favourite Phone Brand photograph */
.favourite-phone {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f0f3f8;
  border-radius: 8px;
}


/* Favourite Car Brand photograph */
.favourite-car {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f0f3f8;
  border-radius: 8px;
}


/* Favourite Place photograph */
.favourite-toronto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}


/* Favourite Colours — hover effects */
.favourite-colours {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-top-color 0.2s ease;
}

.favourite-colours:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 30, 55, 0.12);

  /* Navy, red and white */
  border-top-color: transparent;
  border-image: linear-gradient(
    to right,
    #142b4d 0%,
    #142b4d 33.33%,
    #c82333 33.33%,
    #c82333 66.66%,
    #ffffff 66.66%,
    #ffffff 100%
  ) 1;
}

.favourite-colours h3,
.favourite-colours h4 {
  transition: color 0.2s ease;
}

.favourite-colours:hover h3 {
  color: #c82333;
}

.favourite-colours:hover .favourite-colour:nth-child(1) h4 {
  color: #142b4d;
}

.favourite-colours:hover .favourite-colour:nth-child(2) h4 {
  color: #c82333;
}

.favourite-colours:hover .favourite-colour:nth-child(3) h4 {
  color: #718096;
}

@media (prefers-reduced-motion: reduce) {
  .favourite-colours,
  .favourite-colours h3,
  .favourite-colours h4 {
    transition: none;
  }
}


/* Biography links beneath hero buttons */
.biography-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
}

.biography-links a {
  color: #142B4D;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.biography-links a:hover {
  color: #ff6b81;
  text-decoration: underline;
}

.biography-links a:focus-visible {
  outline: 2px solid #142B4D;
  outline-offset: 4px;
}

.hobby-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}

.hobby-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin: 12px 0;
}


.photography-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.photography-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.photography-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.photography-gallery a:hover img {
  transform: scale(1.05);
}

.photography-gallery a:focus-visible {
  outline: 3px solid #c82333;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .photography-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .photography-gallery img {
    transition: none;
  }
}


.hero-section-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-section-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-section-button:hover {
  background: #c82333;
  border-color: #c82333;
  color: #ffffff;
}

.hero-section-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .hero-section-buttons {
    flex-direction: column;
  }

  .hero-section-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section-button {
    transition: none;
  }
}

html {
  scroll-behavior: smooth;
}

#interests,
#hobbies,
#favourites {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
