/* TonalPhoto - Fine Art Photography Portfolio + Print Shop */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */

/* Self-hosted fonts */
@font-face {
  font-family: 'Jost';
  src: url('fonts/jost-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Alegreya SC';
  src: url('fonts/alegreya-sc-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors — teal frame, dark stage */
  --bg-primary: #0d0d0d;
  --bg-brand: #00687a;
  --bg-elevated: #1a1a1a;
  --bg-surface: #242424;
  --text-primary: #f0ece4;
  --text-secondary: #a09888;
  --text-muted: #6b6156;
  --text-on-brand: #ffffff;
  --accent: #ffbd59;
  --accent-hover: #ffd080;
  --border: #2a2a2a;

  /* Typography */
  --font-heading: 'Jost', 'Futura', system-ui, sans-serif;
  --font-subtitle: 'Alegreya SC', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs: clamp(4px, 0.5vw, 8px);
  --space-sm: clamp(8px, 1vw, 16px);
  --space-md: clamp(16px, 2vw, 32px);
  --space-lg: clamp(32px, 4vw, 64px);
  --space-xl: clamp(48px, 6vw, 96px);
  --space-2xl: clamp(64px, 8vw, 128px);
  --max-width: 1400px;
  --nav-height: 64px;
}

/* --------------------------------------------------------------------------
   Reset + Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

h4 {
  font-family: var(--font-subtitle);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

p {
  margin-bottom: 1em;
}

small, .caption {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-brand);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-brand);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link.active {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 639px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-brand);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
}

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

.hero-image-wrapper .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.6s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.3) 0%,
    rgba(13, 13, 13, 0.1) 40%,
    rgba(13, 13, 13, 0.4) 70%,
    rgba(13, 13, 13, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-md);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: var(--font-subtitle);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  letter-spacing: 0.15em;
  color: rgba(240, 236, 228, 0.6);
  margin-top: var(--space-sm);
}


/* --------------------------------------------------------------------------
   Section Titles
   -------------------------------------------------------------------------- */

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.section-title .subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Content Wrapper
   -------------------------------------------------------------------------- */

.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.page-section {
  padding: var(--space-2xl) 0;
}

.page-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  text-align: center;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-sm) auto 0;
}

/* --------------------------------------------------------------------------
   Gallery Grid
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding: 0 var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-elevated);
  display: block;
  text-decoration: none;
}

.gallery-item .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
  opacity: 0;
}

.gallery-item img.loaded {
  opacity: 1;
}

.gallery-item .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gallery-item:has(img.loaded) .placeholder {
  opacity: 0;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  z-index: 2;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay h3 {
  color: #f0f0f0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}

.gallery-item .overlay .image-count {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

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

@media (max-width: 639px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 0;
  }

  .gallery-item .overlay {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Featured Row (homepage)
   -------------------------------------------------------------------------- */

.featured-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.featured-row .gallery-item {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.featured-row .gallery-item .image-wrapper,
.featured-row .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .featured-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .featured-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Gallery Category Cards
   -------------------------------------------------------------------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.category-card {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  background: var(--bg-elevated);
}

.category-card .image-wrapper {
  position: absolute;
  inset: 0;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
  opacity: 0;
}

.category-card img.loaded {
  opacity: 1;
}

.category-card .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.2s ease;
}

.category-card:has(img.loaded) .placeholder {
  opacity: 0;
}

.category-card:hover img {
  transform: scale(1.03);
}

.category-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
}

.category-card .card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: #fff;
  margin-bottom: 4px;
}

.category-card .card-count {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Product Detail
   -------------------------------------------------------------------------- */

.product-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-xl);
  align-items: start;
}

.product-image {
  position: relative;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}

.product-image .image-wrapper {
  position: relative;
  width: 100%;
}

.product-image img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-image img.loaded {
  opacity: 1;
}

.product-image .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.2s ease;
}

.product-image:has(img.loaded) .placeholder {
  opacity: 0;
}

.product-info {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
}

.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--space-xs);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: var(--space-sm);
  transition: color 0.2s;
}

.product-back:hover {
  color: var(--accent);
}

.product-meta span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.product-meta span + span::before {
  content: '';
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.product-camera {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
  background: var(--bg-elevated);
  border-radius: 4px;
}

.product-purchase {
  margin-top: var(--space-lg);
}

.product-surfaces {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

@media (max-width: 1199px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-info {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   Print Configurator
   -------------------------------------------------------------------------- */

.product-config {
  margin-top: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: var(--space-md);
}

.config-step {
  margin-bottom: var(--space-md);
}

.config-step:last-child {
  margin-bottom: 0;
}

.config-step-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

/* Size pills */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.size-btn {
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
  min-width: 100px;
}

.size-btn:hover {
  border-color: var(--accent);
}

.size-btn.selected {
  border-color: var(--accent);
  background: rgba(160, 128, 96, 0.15);
}

.size-btn .size-price {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.size-btn.selected .size-price {
  color: var(--accent);
}

/* Paper options */
.paper-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.paper-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.paper-option:hover {
  border-color: var(--accent);
}

.paper-option.selected {
  border-color: var(--accent);
  background: rgba(160, 128, 96, 0.15);
}

.paper-option .radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease;
}

.paper-option.selected .radio-dot {
  border-color: var(--accent);
}

.paper-option.selected .radio-dot::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.paper-option .paper-name {
  font-size: 0.875rem;
  color: var(--text-primary);
}

.paper-option .paper-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Frame buttons */
.frame-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.frame-btn {
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
}

.frame-btn:hover {
  border-color: var(--accent);
}

.frame-btn.selected {
  border-color: var(--accent);
  background: rgba(160, 128, 96, 0.15);
}

.frame-btn .frame-price {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Config summary + CTA */
.config-summary {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.config-price {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.btn-acquire {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-acquire:hover {
  background: var(--accent-hover);
}

.btn-acquire:active {
  transform: scale(0.98);
}

.shipping-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.edition-info {
  text-align: center;
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Shop / Prints Grid
   -------------------------------------------------------------------------- */

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-lg);
  padding: 0 var(--space-md);
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(160, 128, 96, 0.1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.product-card {
  text-decoration: none;
  display: block;
}

.product-card .image-wrapper {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-elevated);
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.2s ease;
  opacity: 0;
}

.product-card img.loaded {
  opacity: 1;
}

.product-card .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.2s ease;
}

.product-card:has(img.loaded) .placeholder {
  opacity: 0;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card .product-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-card .product-card-price {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@media (min-width: 640px) and (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* === KONRAD Rebrand: About Page === */
.about-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-md) var(--space-xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.about-portrait {
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  border-radius: 4px;
}

.about-intro h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.15em;
}

.about-intro p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: var(--space-md);
}

.about-section {
  margin-bottom: var(--space-2xl);
}

.about-section h2 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.about-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
}

.about-contact {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.about-email-link {
  display: inline-block;
  color: var(--accent);
  font-size: 1rem;
  margin-top: var(--space-sm);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 189, 89, 0.3);
}

.about-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.about-social a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.about-social a:hover {
  color: var(--accent);
}

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--bg-brand);
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-xl);
  align-items: start;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--text-on-brand);
  opacity: 0.8;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-on-brand);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.footer-social a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-lg) auto 0;
  padding: var(--space-md) var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 639px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Loading States
   -------------------------------------------------------------------------- */

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-2xl) 0;
}

.loading-spinner::after {
  content: '';
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Link Button
   -------------------------------------------------------------------------- */

.btn-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 189, 89, 0.3);
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-link:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Latest Prints Row (homepage)
   -------------------------------------------------------------------------- */

.prints-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (max-width: 1199px) {
  .prints-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .prints-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */

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

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

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}
/* === KONRAD Rebrand: Homepage Components === */

.featured-section {
  border-top: 3px solid var(--bg-brand);
}

.edition-badge {
  display: inline-block;
  margin-top: var(--space-xs);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.edition-badge--limited {
  background: rgba(0, 104, 122, 0.3);
  color: var(--bg-brand);
}

.edition-badge--open {
  background: rgba(255, 189, 89, 0.15);
  color: var(--accent);
}

.artist-teaser {
  padding: var(--space-xl) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.artist-teaser-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.artist-teaser-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid rgba(255, 189, 89, 0.2);
}

.artist-teaser-info h3 {
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
}

.artist-teaser-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-sm);
}

.artist-teaser-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 189, 89, 0.3);
  padding-bottom: 2px;
}

@media (max-width: 639px) {
  .artist-teaser-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .artist-teaser-portrait {
    margin: 0 auto;
  }
}

/* === KONRAD Rebrand: Product Page === */
.product-page { padding-top: var(--nav-height); }
.product-hero { width: 100%; max-height: 70vh; overflow: hidden; }
.product-hero .image-wrapper { width: 100%; aspect-ratio: 3 / 2; }
.product-hero img { width: 100%; height: 100%; object-fit: cover; }
.product-title-section { max-width: var(--max-width); margin: 0 auto; padding: var(--space-lg) var(--space-md) var(--space-md); border-bottom: 1px solid var(--border); }
.product-title-section h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: 0.12em; }
.product-meta { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.05em; margin-top: var(--space-xs); }
.product-story, .product-editions, .product-mockups, .product-related { max-width: var(--max-width); margin: 0 auto; padding: var(--space-lg) var(--space-md); border-bottom: 1px solid var(--border); }
.product-story h3, .product-editions h3, .product-mockups h3, .product-related h3 { font-size: 0.85rem; letter-spacing: 0.12em; margin-bottom: var(--space-md); }
.product-story p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; max-width: 620px; margin-bottom: var(--space-sm); }
.product-camera-info { display: flex; gap: var(--space-lg); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border); }
.camera-info-item { display: flex; flex-direction: column; gap: 4px; }
.camera-info-label { color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.camera-info-value { color: var(--text-secondary); font-size: 0.85rem; }
.edition-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.edition-card { background: var(--bg-elevated); border-radius: 6px; padding: var(--space-md); }
.edition-card--open { border: 1px solid var(--border); }
.edition-card--limited { border: 1px solid rgba(0, 104, 122, 0.4); }
.edition-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-sm); }
.edition-card-label { font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; }
.edition-card--open .edition-card-label { color: var(--accent); }
.edition-card--limited .edition-card-label { color: var(--bg-brand); }
.edition-card-remaining { font-size: 0.7rem; letter-spacing: 0.05em; color: var(--text-muted); }
.edition-card-desc { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.6; margin-bottom: var(--space-md); }
.edition-card-prices { border-top: 1px solid var(--border); padding-top: var(--space-sm); }
.edition-price-row { display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 0.8rem; padding: 3px 0; }
.edition-price-value { color: var(--text-primary); }
.edition-cta { display: block; text-align: center; margin-top: var(--space-md); padding: 10px; border-radius: 100px; font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; transition: all 0.2s; }
.edition-cta--open { color: var(--accent); border: 1px solid rgba(255, 189, 89, 0.3); }
.edition-cta--open:hover { background: var(--accent); color: var(--bg-primary); }
.edition-cta--limited { background: var(--bg-brand); color: white; }
.edition-cta--limited:hover { background: #007d93; }
.edition-cta--disabled { background: var(--bg-surface); color: var(--text-muted); cursor: not-allowed; pointer-events: none; }
.edition-notice { color: var(--text-muted); font-size: 0.7rem; text-align: center; margin-top: var(--space-sm); letter-spacing: 0.03em; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.mockup-grid img { width: 100%; border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.related-card { text-decoration: none; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; transition: transform 0.2s; }
.related-card:hover { transform: translateY(-2px); }
.related-card-info { padding: var(--space-sm); }
.related-card-title { display: block; color: var(--text-primary); font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.05em; }
.related-card-price { display: block; color: var(--text-muted); font-size: 0.75rem; margin-top: 4px; }
@media (max-width: 639px) {
  .edition-tiers { grid-template-columns: 1fr; }
  .mockup-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .product-camera-info { flex-direction: column; gap: var(--space-sm); }
}

/* cache-bust */
