/*
Theme Name: Vo Minh Quang Portfolio
Theme URI: https://vominhquang.com/
Description: A bespoke single-page portfolio theme for Vietnamese pianist Võ Minh Quang.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vmq-portfolio
Tags: portfolio, one-column, custom-colors, custom-menu
*/

:root {
  --background: #f3f7f4;
  --foreground: #0b1f17;
  --muted: #e2ebe5;
  --muted-foreground: #466258;
  --secondary: #065f46;
  --accent: #0f766e;
  --highlight: #facc15;
  --border: rgba(11, 31, 23, 0.08);
  --card: #ffffff;
  --shadow: 0 20px 45px -25px rgba(11, 31, 23, 0.45);
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -150%);
  background: var(--foreground);
  color: var(--background);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease;
  z-index: 100;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0.75rem);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--foreground);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 100% - 2.5rem);
}

.site-main {
  margin-top: clamp(4rem, 12vw, 5.5rem);
  display: block;
}

.home .site-main {
  margin-top: 0;
}

.entry {
  background: var(--card);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 48px -36px rgba(15, 23, 42, 0.35);
}

.entry + .entry {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.entry-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
}

.entry-excerpt {
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

.entry-meta,
.entry-footer {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.entry-meta {
  margin-top: 1rem;
}

.entry-footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  justify-content: space-between;
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

.entry-content a {
  color: var(--secondary);
  text-decoration: underline;
}

.entry-content blockquote {
  margin: 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid rgba(6, 95, 70, 0.5);
  background: rgba(250, 204, 21, 0.16);
  border-radius: 12px;
  font-style: italic;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
}

.entry-content img,
.entry-content figure {
  border-radius: 16px;
  box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.45);
}

.entry-content figure {
  margin: 0;
}

.post-navigation {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.post-navigation .nav-links {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.post-navigation .nav-links > * {
  flex: 1;
}

.post-navigation .nav-links a {
  display: inline-flex;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.35);
  color: var(--foreground);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-navigation .nav-links a:hover,
.post-navigation .nav-links a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 28px 48px -32px rgba(6, 95, 70, 0.3);
}

.post-navigation .nav-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.35rem;
}

.post-navigation .nav-title {
  font-family: var(--font-display);
  line-height: 1.3;
}

.comment-navigation {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.comment-navigation .nav-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.comment-navigation .nav-links > * {
  flex: 1 1 240px;
  display: flex;
  justify-content: center;
}

.comment-navigation .nav-links a,
.comment-navigation .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--card);
  font-weight: 600;
  color: var(--foreground);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-navigation .nav-links a:hover,
.comment-navigation .nav-links a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -26px rgba(6, 95, 70, 0.35);
  border-color: rgba(6, 95, 70, 0.4);
}

.archive-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.archive-card {
  background: var(--card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.35);
  display: grid;
  gap: 0.75rem;
}

.archive-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-display);
}

.archive-card p {
  color: var(--muted-foreground);
}

.pagination {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus-visible,
.pagination .page-numbers.current {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -24px rgba(6, 95, 70, 0.35);
  border-color: rgba(6, 95, 70, 0.45);
}

.search-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.search-form input[type='search'] {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 1rem;
}

.search-form button {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-form button:hover,
.search-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -24px rgba(6, 95, 70, 0.45);
}

.not-found {
  text-align: center;
}

.not-found .entry-title {
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--muted-foreground);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 4vw, 3rem) 0;
  display: grid;
  gap: 1.5rem;
}

.comment-list .children {
  list-style: none;
  margin: 1.5rem 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.comment-list .comment-body {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  box-shadow: 0 16px 28px -30px rgba(15, 23, 42, 0.4);
}

.comment-list .comment-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.comment-list .comment-meta .avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.comment-list .comment-meta .fn {
  font-weight: 600;
  color: var(--foreground);
}

.comment-list .comment-content > * + * {
  margin-top: 1rem;
}

.comment-list .reply {
  margin-top: 1rem;
}

.comment-list .reply a {
  display: inline-flex;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 95, 70, 0.35);
  color: var(--secondary);
  font-weight: 600;
}

.comment-form {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 1rem;
  background: var(--card);
  color: var(--foreground);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.comment-form textarea {
  min-height: 160px;
}

.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-form .comment-notes,
.comment-form .logged-in-as {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.comment-form .form-submit {
  margin-top: 0.5rem;
}

.comment-form .form-submit .submit {
  border: none;
}

.comment-respond {
  background: var(--card);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 48px -36px rgba(15, 23, 42, 0.35);
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-heading p {
  color: var(--muted-foreground);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--highlight);
  margin: 0 auto;
  border-radius: 999px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -20px rgba(6, 95, 70, 0.55);
}

.btn--primary {
  background: var(--secondary);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent);
}

.btn--outline {
  background: transparent;
  color: var(--secondary);
  border-color: rgba(250, 204, 21, 0.55);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.75);
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 244, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header .header-inner {
  height: clamp(64px, 10vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand img {
  display: block;
  height: clamp(2.75rem, 6vw, 4.25rem);
  width: auto;
}

.primary-navigation {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-navigation li {
  margin: 0;
  position: relative;
}

.primary-navigation a {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item a {
  color: var(--foreground);
}

.primary-navigation .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.primary-navigation li:hover > a::after,
.primary-navigation li:focus-within > a::after {
  transform: rotate(225deg);
}

.primary-navigation .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(243, 247, 244, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  transition-delay: 0.05s;
  pointer-events: none;
  z-index: 100;
}

.primary-navigation .sub-menu li {
  margin: 0;
}

.primary-navigation .sub-menu a {
  display: flex;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--foreground);
  white-space: nowrap;
}

.primary-navigation .sub-menu a:hover,
.primary-navigation .sub-menu a:focus-visible {
  background: rgba(76, 176, 80, 0.12);
  color: var(--secondary);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  width: 18px;
  height: 2px;
  background: var(--foreground);
  border-radius: 999px;
  display: block;
  content: "";
}

.mobile-toggle::before {
  transform: translateY(-6px);
}

.mobile-toggle::after {
  transform: translateY(6px);
}

.mobile-navigation {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem;
  margin: 0;
  padding-left: 0;
}

.mobile-navigation li {
  margin: 0;
}

.mobile-navigation a {
  color: var(--muted-foreground);
  text-align: center;
  font-weight: 500;
}

.mobile-navigation .sub-menu {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-navigation .sub-menu a {
  text-align: left;
  font-size: 0.95rem;
  color: var(--foreground);
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .mobile-navigation {
  display: flex;
}

.hero {
  position: relative;
  min-height: min(100vh, 960px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: clamp(8rem, 20vw, 12rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(6, 95, 70, 0.12));
}

.hero .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.18);
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-avatar {
  width: clamp(160px, 25vw, 210px);
  height: clamp(160px, 25vw, 210px);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(6, 95, 70, 0.2);
  margin: 0 auto 2.5rem;
  box-shadow: 0 25px 60px -30px rgba(15, 23, 42, 0.45);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.75rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--muted-foreground);
  max-width: 55ch;
  margin: 0 auto 2.5rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  width: 32px;
  height: 52px;
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 6px;
  height: 14px;
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
  animation: scroll 1.4s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  50% {
    opacity: 1;
    transform: translateY(2px);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

.section--muted {
  background: rgba(238, 241, 247, 0.6);
}

.grid-two-column {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .grid-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }
}

.aspect-portrait {
  position: relative;
  padding-top: 125%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.aspect-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-text p + p {
  margin-top: 1.25rem;
}

.rich-text span {
  color: var(--foreground);
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .card-grid.three-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.8rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 20px 40px -32px rgba(15, 23, 42, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -40px rgba(6, 95, 70, 0.35);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  color: var(--muted-foreground);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 25px 50px -32px rgba(15, 23, 42, 0.35);
  transition: transform 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-style: italic;
}

.video-grid {
  display: grid;
  gap: 1.75rem;
}

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

.video-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: 0 25px 45px -32px rgba(15, 23, 42, 0.35);
  transition: transform 0.3s ease;
}

.video-card--link {
  text-decoration: none;
  color: inherit;
}

.video-card--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.video-card:hover {
  transform: translateY(-8px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.08);
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.6));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-card:hover .video-thumb::after {
  opacity: 1;
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-button span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 35px -25px rgba(15, 23, 42, 0.65);
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.video-card:hover .play-button span {
  transform: scale(1.06);
}

.video-card .card-content {
  padding: 1.75rem;
}

.video-card .card-content h3 {
  margin-bottom: 0.5rem;
}

.video-card .card-content p {
  font-size: 0.95rem;
}

.highlight-card {
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(6, 95, 70, 0.25);
  text-align: center;
}

.highlight-card p {
  color: var(--muted-foreground);
}

.hobby-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 1024px) {
  .hobby-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

.hobby-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hobby-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hobby-image figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.8), transparent);
  color: #fff;
  font-size: 0.95rem;
}

.contact-card {
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: clamp(2.5rem, 6vw, 4rem);
  box-shadow: 0 28px 50px -36px rgba(15, 23, 42, 0.4);
}

.contact-links {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.contact-link {
  border-radius: 18px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(243, 247, 244, 0.6);
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(250, 204, 21, 0.18);
  transform: translateY(-4px);
}

.contact-link strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--foreground);
  font-weight: 600;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-buttons .btn {
  min-width: 160px;
}

.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.icon svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

@media (max-width: 880px) {
  .primary-navigation {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .site-header {
    background: rgba(243, 247, 244, 0.95);
  }

  .contact-links {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  section {
    padding-inline: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
