@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Outfit:wght@500;600;700;800&display=swap");
@import "variables.css";

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

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

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

/* Toolbar */
.toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--toolbar-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: var(--toolbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-mark-img {
  background: transparent;
  object-fit: contain;
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.toolbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-muted);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition), transform 0.15s ease;
}

.icon-btn:hover {
  background: var(--primary-muted);
  color: var(--primary);
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), transform 0.15s ease, box-shadow var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Layout */
main {
  padding-top: var(--toolbar-h);
}

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

.container-wide {
  width: min(100% - 2rem, 935px);
  margin-inline: auto;
}

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-muted);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 32ch;
  margin-inline: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feed */
.feed-section {
  padding: 1rem 0 4rem;
}

.feed-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feed-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.feed-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.audience-toggle {
  display: flex;
  padding: 3px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.audience-toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.audience-toggle-btn:hover {
  color: var(--text-secondary);
}

.audience-toggle-btn.active {
  background: var(--card-bg);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .audience-toggle-btn.active {
  background: #1a1a1a;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.feed-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.view-toggle {
  display: flex;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--border);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.view-btn.active {
  background: var(--card-bg);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.view-panel.feed.view-panel {
  max-width: 640px;
  margin-inline: auto;
}

/* Stories bar */
.stories-section {
  padding: 1rem 0 0.5rem;
}

.stories-bar {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.stories-bar::-webkit-scrollbar {
  display: none;
}

.story-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 72px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  text-align: center;
}

.story-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600), var(--orange-800));
  transition: transform 0.2s ease;
}

.story-ring.seen {
  background: var(--border);
}

.story-ring-sm {
  width: 36px;
  height: 36px;
}

.story-item:hover .story-ring {
  transform: scale(1.05);
}

.story-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  background: var(--bg-muted);
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--bg);
  background: #0a0a0a;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.story-avatar img,
.post-avatar img,
.reel-meta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: #0a0a0a;
}

.story-item-brand .story-ring {
  background: linear-gradient(135deg, var(--orange-300), var(--orange-600));
}

/* Explore grid — 3 posts per row on mobile, more on larger screens */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

@media (min-width: 640px) {
  .explore-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .explore-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) {
  .explore-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1600px) {
  .explore-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.explore-cell {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-muted);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.explore-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a0a;
  transition: transform 0.3s ease;
}

/* Home Latest work — always 3 columns like Instagram profile grid */
.work-grid.explore-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 640px) {
  .work-grid.explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* Taller tiles — show full photo (no crop), match modal rendering */
.work-grid.explore-grid .explore-cell {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-grid.explore-grid .explore-cell img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.grid-cell-views {
  position: absolute;
  bottom: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.grid-cell-views svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.grid-cell-pin {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.grid-cell-pin svg {
  display: block;
}

.pinned-roll-wrap {
  margin-bottom: 1rem;
}

.pinned-roll-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-inline: 0.1rem;
}

.pinned-roll-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.pinned-roll-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pinned-roll {
  overflow: hidden;
  margin-inline: -0.25rem;
}

.pinned-roll-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pinned-roll-track::-webkit-scrollbar {
  display: none;
}

.pinned-roll-item {
  flex: 0 0 min(68vw, 240px);
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pinned-roll-item .grid-cell-views {
  bottom: 8px;
  left: 8px;
}

.explore-cell:hover img {
  transform: scale(1.06);
}

.explore-cell-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition);
}

.explore-cell:hover .explore-cell-overlay {
  opacity: 1;
}

.explore-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: var(--radius-full);
}

.explore-cell:has(.grid-cell-pin) .explore-badge {
  right: auto;
  left: 6px;
}

/* Story viewer */
.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
  display: flex;
  flex-direction: column;
}

.story-viewer[hidden] {
  display: none !important;
}

.story-progress {
  display: flex;
  gap: 4px;
  padding: 0.65rem 0.75rem 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

.story-progress-seg {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}

.story-progress-fill.done {
  width: 100%;
}

.story-progress-fill.active {
  animation: story-progress 5s linear forwards;
}

@keyframes story-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.story-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.75rem 0.5rem;
  position: relative;
  z-index: 4;
  color: #fff;
}

.story-viewer-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.story-viewer-user time {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.75;
}

.story-close {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.story-viewer-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.story-viewer-body img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.story-tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35%;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}

.story-tap-prev { left: 0; }
.story-tap-next { right: 0; }

/* Post modal — full-screen scrollable feed */
.post-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--bg);
}

.post-modal[hidden] {
  display: none !important;
}

.post-modal-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.post-modal-feed {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 3.75rem 0 2.5rem;
}

.post-modal-close {
  position: fixed;
  top: max(0.65rem, env(safe-area-inset-top));
  right: max(0.65rem, env(safe-area-inset-right));
  z-index: 260;
  background: var(--bg-muted);
  box-shadow: var(--shadow-sm);
}

.post-modal .post-card {
  margin: 0 0 1.25rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  scroll-margin-top: 3.5rem;
}

.post-modal .post-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .post-modal-feed {
    padding-top: 4.25rem;
  }

  .post-modal .post-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 4rem;
  }
}

@media (max-width: 720px) {
  .view-btn span {
    display: none;
  }

  .feed-header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

.filter-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.pill.active,
.pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-muted);
}

/* Post card */
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}

.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.post-meta {
  flex: 1;
  min-width: 0;
}

.post-meta-title {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.2;
}

.post-meta-title strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.post-meta-title .post-verified-badge {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px !important;
}

.post-meta span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  padding: 0.25rem 0.6rem;
  background: var(--primary-muted);
  border-radius: var(--radius-full);
}

/* Carousel — full image visible (letterboxed if needed) */
.carousel {
  position: relative;
  width: 100%;
  max-height: min(85dvh, 820px);
  min-height: 220px;
  background: #0a0a0a;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.carousel-track {
  display: flex;
  height: 100%;
  min-height: inherit;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

.carousel-slide img {
  display: block;
  max-width: 100%;
  max-height: min(85dvh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #18181b;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.post-card:hover .carousel-btn,
.carousel:focus-within .carousel-btn {
  opacity: 1;
}

.carousel-btn.prev {
  left: 0.75rem;
}

.carousel-btn.next {
  right: 0.75rem;
}

.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

.carousel-counter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: var(--radius-full);
  z-index: 2;
}

.post-body {
  padding: 0.85rem 1rem 1rem;
}

.post-caption {
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.post-caption .more {
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 500;
}

.post-caption .more:hover {
  color: var(--primary);
}

.post-engagement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.post-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
}

.post-like-btn:hover {
  color: var(--primary);
}

.post-like-btn.liked {
  color: #ef4444;
}

.post-like-btn.liked .like-icon path {
  fill: currentColor;
  stroke: currentColor;
}

.post-like-btn:active {
  transform: scale(1.12);
}

.post-like-btn .like-icon {
  width: 22px;
  height: 22px;
}

.post-views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.post-views svg {
  opacity: 0.85;
  color: var(--text-muted);
}

.post-time {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-permalink {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
}

.post-permalink:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Empty & loading */
.empty-state,
.loading-state {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--text-secondary);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* About */
.about-section {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-list a:hover {
  color: var(--primary);
}

/* Footer */
.site-footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer strong {
  color: var(--primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--overlay);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Mobile nav */
.menu-toggle {
  display: none;
}

@media (max-width: 720px) {
  .toolbar-nav {
    display: none;
    position: absolute;
    top: var(--toolbar-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--toolbar-bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .toolbar-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .brand-tagline {
    display: none;
  }

  .hero-stats {
    gap: 1.25rem;
  }
}
