:root[data-theme="light"] {
  --background: #e8eaed;
  --surface: #dce0e5;
  --panel: #f5f6f8;
  --text: #242932;
  --muted: #505b69;
  --accent: #315d7b;
  --line: #aeb8c4;
  --shelf: linear-gradient(#f7f8fa, #dce1e7);
  --bevel: inset 0 1px #ffffffc0, 0 1px 2px #43536526;
}

[data-theme="light"] .site-header {
  background: linear-gradient(#e6e9ed, #cdd4dc);
  box-shadow: inset 0 2px #7890a5, 0 2px 6px #33475d25;
}
[data-theme="light"] .nav-links { gap: 6px; }
[data-theme="light"] .nav-links a {
  padding: 7px 10px;
  border: 1px solid #a9b3be;
  border-radius: 3px;
  background: var(--shelf);
  box-shadow: var(--bevel);
}
[data-theme="light"] .nav-links a[aria-current], [data-theme="light"] .nav-links a:hover {
  background: linear-gradient(#c6dceb, #a8c2d4);
  border-color: #668aa6;
  color: #213e55;
  text-decoration: none;
}
[data-theme="light"] .theme-switch { border-color: #91a1b0; }
[data-theme="light"] .theme-switch button[aria-pressed="true"] { background: #abc4d5; color: #203d55; }

[data-theme="light"] .hero { padding-block: clamp(26px, 3.5vw, 52px) clamp(38px, 5vw, 68px); }
[data-theme="light"] .hero > .wrap {
  position: relative;
  isolation: isolate;
  padding: clamp(18px, 4.2vw, 65px);
}
[data-theme="light"] .hero > .wrap::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  border: 1px solid #aab7c4;
  border-top: 3px solid #7190aa;
  border-radius: 4px;
  background:
    linear-gradient(#384e6812 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, #384e6812 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(155deg, #f6f8fa, #e1e6ec 64%, #cdd6e0);
  box-shadow: var(--bevel);
}
[data-theme="light"].opening-pending .hero > .wrap::before { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  [data-theme="light"].opening-active .hero > .wrap::before {
    animation: hero-content-in .8s ease-out var(--content-start) both;
  }
}

[data-theme="light"] .button { background: var(--shelf); border-radius: 3px; box-shadow: var(--bevel); }
[data-theme="light"] .button-primary { color: #23425a; background: #ceddea; border-color: #7894aa; }
[data-theme="light"] .button:hover { color: #193850; background: #bad1e2; border-color: #668aa6; }
[data-theme="light"] :is(.work, .details, .gallery-grid-section) { background: #dfe4e9; }
[data-theme="light"] :is(.project-card, .store-gallery, .store-summary, .about-panel) {
  background: var(--panel);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--bevel);
}
[data-theme="light"] .card-caption { padding: 12px 10px; border-bottom: 0; }
[data-theme="light"] .about-panel { padding: clamp(16px, 2.3vw, 32px); }
[data-theme="light"] .media-thumb[aria-current] { border-color: #82bbd5; }

@media (max-width: 670px) {
  [data-theme="light"] .nav-links { gap: 5px; }
  [data-theme="light"] .nav-links a { padding: 5px 7px; }
}
