/* ===== markprints.art — Design System v2 (Claymorphism) ===== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors — soft blue & warm cream palette (inspired by Mark's photos) */
  --primary: #6B8DB5;
  --primary-light: #8BADD0;
  --primary-dark: #4A7099;
  --secondary: #3D6B9E;
  --secondary-light: #5A8BBF;
  --accent: #7BAE7F;
  --accent-light: #9CC49F;

  /* Surfaces */
  --bg: #F7F4F0;
  --bg-card: #FFFFFF;
  --bg-alt: #EDE8E1;

  /* Text */
  --text: #2C2926;
  --text-light: #6B6560;
  --text-muted: #9E9891;

  /* Borders & decoration */
  --border: #C4B8A8;
  --border-light: #D9D0C4;
  --border-dark: #2C2926;

  /* State colors */
  --success: #7BAE7F;
  --warning: #D4A44C;
  --danger: #C66;

  /* Claymorphism shadows */
  --shadow-clay: 4px 4px 0px var(--border-dark);
  --shadow-clay-sm: 3px 3px 0px var(--border-dark);
  --shadow-clay-hover: 6px 6px 0px var(--border-dark);
  --shadow-inner: inset -2px -2px 6px rgba(0,0,0,0.05);
  --shadow-soft: 0 4px 16px rgba(0,0,0,0.06);

  /* Radius — chunky rounded */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Border width — thick for clay feel */
  --border-w: 3px;

  /* Transition */
  --transition: 0.2s ease;
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

/* --- Focus states (a11y) --- */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
}

/* --- Header & Navigation --- */
.header {
  background: var(--bg-card);
  border-bottom: var(--border-w) solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-clay-sm);
}

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

.logo-text {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.nav a:hover {
  background: var(--bg);
  border-color: var(--border);
  color: var(--primary);
}

.nav a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--border-dark);
  box-shadow: var(--shadow-clay-sm);
}

.lang-switcher {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}

.lang-btn {
  padding: 6px 10px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition);
  font-family: 'Nunito', sans-serif;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--border-dark);
  box-shadow: 2px 2px 0 var(--border-dark);
}

.lang-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all var(--transition);
}

/* --- Buttons (Claymorphism) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-md);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
  min-width: 44px;
  box-shadow: var(--shadow-clay);
  position: relative;
  text-decoration: none;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-clay-hover);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--border-dark);
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

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

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

.btn-secondary:hover {
  background: #1D4ED8;
  color: #fff;
}

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

.btn-outline {
  background: var(--bg-card);
  color: var(--primary);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  box-shadow: var(--shadow-clay-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.15rem;
}

/* --- Cards (Claymorphism) --- */
.card {
  background: var(--bg-card);
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-clay-hover);
}

/* --- Product Card --- */
.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card .card-image {
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-w) solid var(--border-dark);
}

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

.product-card .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card .card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.product-card .card-rating {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card .card-stars {
  color: var(--warning);
}

.product-card .card-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card .card-meta svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.product-card .card-price {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  padding-top: 4px;
}

.product-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  position: absolute;
  top: 10px;
  left: 10px;
  border: 2px solid var(--border-dark);
  box-shadow: 2px 2px 0 var(--border-dark);
}

.badge svg {
  width: 12px;
  height: 12px;
}

.badge-popular {
  background: var(--danger);
  color: #fff;
}

.badge-category {
  background: var(--accent);
  color: #fff;
}

/* --- Section Styles --- */
.section {
  padding: 64px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* --- Hero (Claymorphism) --- */
.hero {
  background: linear-gradient(135deg, #5A7FA3, #7A9DBF, #8BADD0);
  color: #fff;
  padding: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px 60px;
  position: relative;
  z-index: 2;
  max-width: 50%;
}

.hero-photo {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  background: #8BADD0;
  max-height: calc(100vh - 72px);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative;
  z-index: 0;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(122,157,191,0.7) 0%, rgba(138,173,208,0.3) 15%, transparent 40%);
  z-index: 1;
}

.hero-photo::after {
  display: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 5%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: #fff;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero .btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay);
  transition: all var(--transition);
}

.step:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-clay-hover);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-alt);
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-clay-sm);
}

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

.step-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Filament Swatches --- */
.filament-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.filament-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-clay-sm);
  min-width: 100px;
  transition: all var(--transition);
}

.filament-swatch:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-clay);
}

.swatch-color {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: var(--border-w) solid var(--border-dark);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.swatch-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.swatch-type {
  font-size: 0.8rem;
  color: var(--text-light);
}

.swatch-status {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-dark);
}

.status-available { background: #D1FAE5; color: #065F46; }
.status-low { background: #FEF3C7; color: #92400E; }
.status-empty { background: #FEE2E2; color: #991B1B; }
.status-transit { background: #DBEAFE; color: #1E3A8A; }

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group label svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--bg-card);
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.05);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 141, 181, 0.25), inset 2px 2px 4px rgba(0,0,0,0.05);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  cursor: pointer;
}

/* --- Color Picker --- */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.color-option:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.color-option.selected {
  border-color: var(--border-dark);
  background: var(--bg-alt);
  box-shadow: 2px 2px 0 var(--border-dark);
}

.color-option .color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
}

/* --- Footer --- */
.footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer h3 svg {
  width: 20px;
  height: 20px;
}

.footer p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer a {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.95rem;
}

.footer a svg {
  width: 16px;
  height: 16px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* --- Alerts --- */
.alert {
  padding: 16px 20px;
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-weight: 500;
  box-shadow: var(--shadow-clay-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.alert-success {
  background: #D1FAE5;
  color: #065F46;
}

.alert-warning {
  background: #FEF3C7;
  color: #92400E;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
}

/* --- Loading Skeleton --- */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, #fff 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.25s var(--bounce);
  box-shadow: 8px 8px 0 var(--border-dark);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-alt);
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-clay);
}

.empty-state-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

/* --- Table --- */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-light);
}

th {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  background: var(--bg-alt);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

tr:last-child td {
  border-bottom: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-bottom: var(--border-w) solid var(--border-dark);
    box-shadow: 0 6px 0 var(--border-dark);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hero { flex-direction: column; }
  .hero-content { max-width: 100%; padding: 40px 20px; text-align: center; }
  .hero-content .btn { align-self: center; }
  .hero-photo { flex: none; max-height: 300px; }
  .hero-photo::before { background: linear-gradient(to bottom, #5A7FA3 0%, transparent 40%); }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .hero-content { padding: 32px 16px; }
  .hero-photo { max-height: 240px; }
  .hero h1 { font-size: 1.6rem; }

  .container { padding: 0 16px; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* --- Upload Progress --- */
.upload-progress {
  width: 100%;
  height: 8px;
  background: var(--bg);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 8px;
}

.upload-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  width: 0%;
}

.upload-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 8px;
  font-size: 0.85rem;
}

.upload-file-info svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.upload-file-info .file-size {
  color: var(--text-light);
  margin-left: auto;
}

/* --- Decorative blobs (used in sections) --- */
.section-alt {
  background: var(--bg-card);
  border-top: var(--border-w) solid var(--border-dark);
  border-bottom: var(--border-w) solid var(--border-dark);
}

/* --- About Intro (homepage) --- */
.about-intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
}

.about-intro-photo {
  flex: 0 0 180px;
  border: var(--border-w) solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-clay);
}

.about-intro-photo img {
  width: 100%;
  display: block;
}

.about-intro-text {
  flex: 1;
}

.about-intro-text h2 {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-intro-text h2 svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.about-intro-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-intro {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .about-intro-photo { flex: 0 0 auto; max-width: 160px; }
  .about-intro-text h2 { justify-content: center; font-size: 1.6rem; }
}

/* --- Icon helper --- */
.icon-inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline;
}
