/* --- Begin: Inlined vendor/tailwind.css (subset) --- */
/* Tailwind-like Preflight (subset) */
/* Box sizing and border normalization */
*,
::before,
::after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb
}

::before,
::after {
  --tw-content: ""
}

/* Base html/body */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}

body {
  margin: 0;
  line-height: inherit;
  background-color: #121212;
  color: #d1d5db
}

/* Headings & text elements spacing reset */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0
}

/* Lists */
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0
}

/* Anchor inherits color/decoration (Tailwind preflight) */
a {
  color: inherit;
  text-decoration: inherit
}

/* Images & media */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block
}

img,
video {
  max-width: 100%;
  height: auto
}

/* Form controls inherit font */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background: transparent
}

button,
select {
  text-transform: none
}

/* Tables */
table {
  border-collapse: collapse;
  border-color: inherit
}

strong,
b {
  font-weight: 700
}

/* Screen-reader only utility parity */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0
}

/* Minimal subset of Tailwind utilities used by this site */
:root {
  --tw-white: #ffffff;
  --tw-slate-50: #f8fafc;
  --tw-slate-200: #e5e7eb;
  --tw-slate-400: #9ca3af;
  --tw-slate-500: #6b7280;
  --tw-slate-700: #334155;
  --tw-slate-800: #1f2937;
  --tw-slate-900: #0b1220;
  --tw-blue-500: #3b82f6;
  --tw-sky-400: #38bdf8;
  --tw-amber-700: #b45309;
  --tw-red-500: #ef4444;
  --container-max-7xl: 80rem;
  /* 1280px */
}

/* Layout */
.mx-auto {
  margin-left: auto;
  margin-right: auto
}

.max-w-7xl {
  max-width: var(--container-max-7xl)
}

.max-w-xs {
  max-width: 20rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.p-4 {
  padding: 1rem
}

.p-8 {
  padding: 2rem
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem
}

/* spacing */
.mb-4 {
  margin-bottom: 1rem
}

.mb-3 {
  margin-bottom: 0.75rem
}

.mb-8 {
  margin-bottom: 2rem
}

.mb-12 {
  margin-bottom: 3rem
}

.mb-6 {
  margin-bottom: 1.5rem
}

.mt-4 {
  margin-top: 1rem
}

.mt-3 {
  margin-top: 0.75rem
}

.mt-8 {
  margin-top: 2rem
}

.mt-12 {
  margin-top: 3rem
}

.mt-16 {
  margin-top: 4rem
}

.mt-24 {
  margin-top: 6rem
}

.mt-32 {
  margin-top: 8rem
}

/* Typography */
.text-white {
  color: var(--tw-white)
}

.text-gray-400 {
  color: var(--tw-slate-400)
}

.text-gray-500 {
  color: var(--tw-slate-500)
}

.text-blue-500 {
  color: var(--tw-blue-500)
}

.text-amber-700 {
  color: var(--tw-amber-700)
}

.text-red-500 {
  color: var(--tw-red-500)
}

.text-sm {
  font-size: .875rem;
  line-height: 1.25rem
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem
}

.font-bold {
  font-weight: 700
}

/* Display */
.block {
  display: block
}

.flex {
  display: flex
}

.grid {
  display: grid
}

/* Flex/grid helpers */
.flex-col {
  flex-direction: column
}

.flex-wrap {
  flex-wrap: wrap
}

.items-center {
  align-items: center
}

.items-start {
  align-items: flex-start
}

.justify-between {
  justify-content: space-between
}

.justify-center {
  justify-content: center
}

/* Grid columns */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr))
}

.md\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.lg\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.md\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

/* Gap */
.gap-4 {
  gap: 1rem
}

.gap-2 {
  gap: 0.5rem
}

.gap-6 {
  gap: 1.5rem
}

/* space-x- utilities */
.space-x-4> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem*var(--tw-space-x-reverse));
  margin-left: calc(1rem*(1 - var(--tw-space-x-reverse)))
}

.space-x-8> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem*var(--tw-space-x-reverse));
  margin-left: calc(2rem*(1 - var(--tw-space-x-reverse)))
}

/* space-y- utilities */
.space-y-4> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem*(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem*var(--tw-space-y-reverse))
}

/* Sizing */
.w-full {
  width: 100%
}

.h-full {
  height: 100%
}

.h-8 {
  height: 2rem
}

.h-10 {
  height: 2.5rem
}

.h-12 {
  height: 3rem
}

.h-16 {
  height: 4rem
}

.h-20 {
  height: 5rem
}

.h-24 {
  height: 6rem
}

.h-28 {
  height: 7rem
}

.h-32 {
  height: 8rem
}

.h-40 {
  height: 10rem
}

.h-48 {
  height: 12rem
}

/* Border radius & overflow */
.rounded-lg {
  border-radius: .5rem
}

.overflow-hidden {
  overflow: hidden
}

/* Object fit */
.object-cover {
  object-fit: cover
}

/* Position */
.absolute {
  position: absolute
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0
}

/* Text alignment */
.text-center {
  text-align: center
}

/* Links */
.hover\:underline:hover {
  text-decoration: underline
}

.hover\:text-gray-400:hover {
  color: var(--tw-slate-400)
}

/* Transition */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1)
}

.duration-200 {
  transition-duration: 200ms
}

/* (sr-only defined in preflight section) */
/* Container spacing combos used in markup */
.mx-auto.max-w-7xl {
  width: 100%
}

/* Responsive */
@media (min-width:640px) {
  .sm\:p-8 {
    padding: 2rem
  }

  .sm\:px-0 {
    padding-left: 0;
    padding-right: 0
  }

  .sm\:mb-16 {
    margin-bottom: 4rem
  }

  .sm\:mb-0 {
    margin-bottom: 0
  }

  .sm\:flex-row {
    flex-direction: row
  }

  .sm\:space-x-8> :not([hidden])~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem*var(--tw-space-x-reverse));
    margin-left: calc(2rem*(1 - var(--tw-space-x-reverse)))
  }

  .sm\:space-y-0> :not([hidden])~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: 0;
    margin-bottom: 0
  }

  .sm\:mt-8 {
    margin-top: 2rem
  }

  .sm\:gap-8 {
    gap: 2rem
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem
  }
}

@media (min-width:768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media (min-width:1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

/* --- End: Inlined vendor/tailwind.css (subset) --- */

/* Restored styles from inline <style> blocks */

html {
  font-size: 18px;
}

/* Remove tap highlight on touch devices */
html {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, summary, input, textarea, select, [role="button"], [role="link"]) {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) and (pointer: coarse) {
  :where(a, button, summary, input, textarea, select, [role="button"], [role="link"]) {
    -webkit-tap-highlight-color: transparent;
  }
}



/* Product detail grid (Tailwind-independent) */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  color: #d1d5db;
}

.content {
  display: none;
}

.content.active {
  display: block;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#how-to-buy,
#how-to-buy * {
  min-width: 0;
}

#how-to-buy p,
#how-to-buy a,
#how-to-buy strong,
#how-to-buy li,
#how-to-buy div,
#how-to-buy code {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

/* Visible separators for How to Buy section */
#how-to-buy hr {
  border: 0;
  /* Tailwind preflight sets border:0; ensure reset */
  border-top: 1px solid rgba(148, 163, 184, .35);
  /* slate-400 @ ~35% */
  margin: 1.5rem 0;
  /* similar to my-6 */
}

.blog-post-title {
  margin-bottom: 1.5rem !important;
}

.blog-post-date {
  margin-bottom: 2.5rem !important;
}

.blog-post-content {
  margin-top: 2rem !important;
  line-height: 1.9;
  overflow-wrap: anywhere;
  /* Better CJK line breaking */
  line-break: loose;
}

/* Restore paragraph spacing inside blog content (Tailwind preflight/typography may reset margins)
   Tighter than before to distinguish from single line breaks (<br>) */
.blog-post-content p {
  margin: 0 0 0.5rem 0 !important;
}

.blog-post-content p:last-child {
  margin-bottom: 0 !important;
}

/* Headings spacing and readability */
.blog-post-content h1 {
  margin: 2rem 0 1rem 0;
  font-size: 22px;
  line-height: 1.3;
}

.blog-post-content h2 {
  margin: 1.75rem 0 0.75rem 0;
  font-size: 20px;
  line-height: 1.3;
}

.blog-post-content h3 {
  margin: 1.25rem 0 0.5rem 0;
  font-size: 18px;
  line-height: 1.35;
}

.blog-post-content h4 {
  margin: 1rem 0 0.5rem 0;
  font-size: 16px;
  line-height: 1.4;
}

/* Lists */
.blog-post-content ul,
.blog-post-content ol {
  margin: 0.75rem 0 0.75rem 1.25rem;
}

.blog-post-content li {
  margin: 0.25rem 0;
}

/* Blockquote */
.blog-post-content blockquote {
  border-left: 3px solid #334155;
  /* slate-700 */
  padding-left: 1rem;
  color: #9ca3af;
  /* slate-400 */
  margin: 1rem 0;
}

/* Code */
.blog-post-content pre {
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, .35);
  padding: 0.75rem 1rem;
  overflow: auto;
  border-radius: 6px;
}

.blog-post-content code {
  background: rgba(148, 163, 184, .08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Images */
.blog-post-content img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  height: auto;
}

/* Tables */
.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.blog-post-content th,
.blog-post-content td {
  border: 1px solid rgba(148, 163, 184, .35);
  padding: 0.5rem 0.75rem;
}

.blog-post-content thead th {
  background: rgba(148, 163, 184, .08);
}

/* Links */
.blog-post-content a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  min-height: 40px;
}

.pager a {
  text-decoration: none;
  color: #60a5fa;
  font-size: 16px;
}

.pager a[aria-disabled="true"] {
  opacity: .4;
  pointer-events: none;
}

.backline {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.backline a {
  text-decoration: none;
  color: #60a5fa;
  font-size: 18px;
}

.blog-item {
  padding: 16px 0;
  border-bottom: none;
}

.blog-item time {
  color: #9ca3af;
  font-size: 16px;
  display: block;
}

.blog-item a {
  font-size: 24px;
  line-height: 1.4;
  color: #60a5fa;
  text-decoration: none;
}

.product-card {
  list-style: none;
}

.grid#product-list,
.grid#sound-list {
  margin: 0;
  padding: 0;
}

.product-main {
  aspect-ratio: 1/1;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-main>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.thumb {
  width: 90px;
  height: 90px;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 0;
  overflow: hidden;
  background: #0b1220;
}

.thumb>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.md-title {
  font-size: 24px;
  line-height: 1.45;
}


/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 1000;
  background: #111827;
  color: #fff;
  padding: 8px 12px;
  border: 1px solid #374151;
  border-radius: 6px;
  text-decoration: none
}

/* Product detail typography */
/* Scope overrides under .product container to reduce conflicts with .prose */
.product .product-title,
.product-title {
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0 0 0.5rem 0;
}




.product .product-desc,
.product-desc {
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.product-desc p {
  margin: 0 0 0.5rem 0;
}

/* Price note beside USD should not inherit link/brand blue */
.price-note {
  color: #d1d5db !important;
}

.product-desc p:last-child {
  margin-bottom: 0;
}

/* Headings inside product description (smaller than blog) */
.product-desc h1 {
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0.85rem 0 0.45rem 0;
}

.product-desc h2 {
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0.75rem 0 0.4rem 0;
}

.product-desc h3 {
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0.7rem 0 0.4rem 0;
}


/* Product CTA link (How to Buy) – remove underline inside .prose */
.product .product-cta,
.product-cta {
  text-decoration: none !important;
  text-underline-offset: 0 !important;
}

.product .product-cta:hover,
.product-cta:hover {
  text-decoration: none !important;
}

/* Product description tables (size chart) */
.product-desc table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0.75rem 0;
}

.product-desc th,
.product-desc td {
  border: 1px solid rgba(148, 163, 184, .35);
  padding: 0.5rem 0.75rem;
}

.product-desc thead th {
  background: rgba(148, 163, 184, .08);
}

.product .product-cta:focus-visible,
.product-cta:focus-visible {
  text-decoration: none !important;
}

/* Show focus ring only for keyboard users, hide for programmatic focus */
#main:focus {
  outline: none;
}

#main:focus-visible {
  outline: none;
}

/* Global focus handling to prevent unexpected white outlines */
/* Never show an outline on the viewport containers */
/* Remove overly-broad focus suppression to preserve accessibility */
/* Show focus ring only on interactive controls */
:is(a, button, input, textarea, select, summary, details,
  [role="button"], [role="link"], [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid #60a5fa !important;
  /* higher contrast blue */
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.35);
  /* soft halo for dark bg */
}

/* Suppress UA outline on hash target highlighting (e.g., #blog, #shop) */
:target {
  outline: none !important;
  box-shadow: none !important;
}

/* Users requesting higher contrast get a thicker outline and offset */
@media (prefers-contrast: more) {

  :is(a, button, input, textarea, select, summary, details,
    [role="button"], [role="link"], [tabindex]:not([tabindex="-1"])):focus-visible {
    outline-width: 4px !important;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.45);
  }
}




/* --- Mobile specific layout tuning for Shop & Sound & Product Detail --- */
@media (max-width: 640px) {

  /* Merged overrides */
  .md\:grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .md-title {
    font-size: 22px;
  }

  .product .product-title,
  .product-title {
    font-size: 17px !important;
  }

  .product .product-desc,
  .product-desc {
    font-size: 17px !important;
  }

  .product-desc h1 {
    font-size: 17px !important;
  }

  .product-desc h2 {
    font-size: 17px !important;
  }

  .product-desc h3 {
    font-size: 17px !important;
  }

  .blog-item a {
    font-size: 20px;
  }

  .blog-item time {
    font-size: 14px;
  }

  .blog-post-date {
    font-size: 14px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link img {
    width: 20px;
    height: 20px;
  }

  /* Product detail visibility: show mobile block only */
  .product-info--mobile {
    display: block;
  }

  .product-info--desktop {
    display: none;
  }

  .product-back--mobile {
    display: block;
  }

  /* Compress product grid gap on mobile */
  .product .grid {
    gap: 12px !important;
  }

  /* Ensure single column and generous spacing */
  .grid#product-list,
  .grid#sound-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Make list images prominent */
  .product-image {
    aspect-ratio: 1 / 1;
    /* keep square, full-width */
    border-radius: 0;
  }

  .product-image img {
    object-fit: cover;
  }

  /* Product detail: make main image fit viewport height */
  .product-main {
    aspect-ratio: 1 / 1;
    max-height: 70vh;
  }

  .product-main>img {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
  }

  /* Thumbnails: single row, horizontal scroll, slightly smaller */
  .thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .thumbs .thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
  }

  .thumbs::-webkit-scrollbar {
    height: 6px;
  }

  .thumbs::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 3px;
  }

  /* Tighten container paddings a bit on very small viewports */
  #page-blog,
  #shop,
  #about,
  #sound,
  #how-to-buy {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Product description spacing adjustments */
  .product-title {
    margin: 0.25rem 0 0.4rem 0 !important;
  }

  .product-info--mobile .product-cta {
    font-size: 18px;
  }

  .product-info--mobile .product-cta+.product-desc {
    margin-top: 0.5rem !important;
  }

  .product-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .product-desc p {
    margin: 0 0 0.35rem 0;
  }

  .product-desc table {
    margin: 0.5rem 0;
  }

  .product-desc th,
  .product-desc td {
    padding: 0.35rem 0.5rem;
    font-size: 15px;
  }

  /* Reduce spacing of common elements inside mobile info */
  .product-info--mobile p,
  .product-info--mobile h1,
  .product-info--mobile h2,
  .product-info--mobile h3,
  .product-info--mobile ul,
  .product-info--mobile ol,
  .product-info--mobile table {
    margin: 0.4rem 0;
  }
}

/* --- Tablet: show Shop & Sound in two columns --- */
@media (min-width: 641px) and (max-width: 1024px) {

  /* Product detail visibility: show desktop block, hide mobile */
  .product-info--mobile {
    display: none;
  }

  .product-info--desktop {
    display: block;
  }

  .product-back--mobile {
    display: none;
  }

  .grid#product-list,
  .grid#sound-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }
}

/* Desktop and up (>=1025px): ensure desktop block active */
@media (min-width: 1025px) {
  .about-photo {
    max-width: none;
    width: 28rem;
  }

  .product-info--mobile {
    display: none;
  }

  .product-info--desktop {
    display: block;
  }

  .product-back--mobile {
    display: none;
  }
}


@media (min-width: 1280px) {
  .about-photo {
    max-width: none;
    width: 32rem;
  }

  /* ~512px */
}

/* --- About me page layout --- */
.about-me {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile: single column */
  gap: 16px;
}

.about-me picture {
  display: block;
}

.about-text p {
  margin: 0 0 0.5rem 0;
}

@media (min-width: 641px) {

  /* Merged overrides */
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .about-me {
    grid-template-columns: 1fr 1.5fr;
    /* image | text */
    gap: 24px;
    align-items: center;
  }

  .about-text {
    padding-left: 8rem;
  }
}

/* Global link hover: remove underline site-wide */
a:hover {
  text-decoration: none !important;
}

/* --- About page: mobile-first image sizing and centering --- */
/* Default (mobile): moderately sized and centered */
.about-photo {
  max-width: 16rem;
  /* ~256px: smaller on mobile */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Very small screens: make it a bit smaller */
@media (max-width: 360px) {
  .about-photo {
    max-width: 14rem;
    /* ~224px */
  }
}

/* Tablet and up: enlarge a bit and keep centered within its grid column */
@media (min-width: 641px) {
  .about-photo {
    max-width: none;
    /* stop mobile cap */
    width: 22rem;
    /* ~352px: larger on tablet */
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    /* center within CSS grid column */
  }
}

/* --- Social links (About me) --- */
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.75rem;
  /* ~12px under text */
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  /* ensure visible on dark background */
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform .15s ease, background-color .2s ease, opacity .2s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.social-link img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Fixed social bar above footer */
.site-social-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
  /* allow clicks to pass except icons */
}

.site-social-fixed .social-links {
  background: rgba(11, 18, 32, 0.6);
  /* blend with site bg */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  /* clickable */
}



/* --- About Page Decorations --- */
.about-text {
  position: relative;
}

.about-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* GIF1 (Red circle position) - Top Right */
.about-deco-1 {
  width: 200px;
  top: -120px;
  right: -50px;
  opacity: 0.9;
}

/* GIF2 (Purple circle position) - Bottom Left */
.about-deco-2 {
  width: 120px;
  bottom: -60px;
  left: -40px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-deco {
    transform: scale(0.7);
  }

  .about-deco-1 {
    top: -80px;
    right: -20px;
  }

  .about-deco-2 {
    bottom: -40px;
    left: -20px;
  }
}

/* Room status images */
.room-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .room-image {
    width: 50% !important;
  }
}

/* NoScript notice styles */
.nojs-notice {
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 48rem;
}