/*
  VM Art by Vanessa — minimal CSS
  --------------------------------
  Design goals:
  - clean, airy, light background
  - strong typography
  - responsive layout without JS
  - accessible focus states and contrast

  Structure:
  - Base / tokens
  - Layout utilities
  - Components (header, buttons, cards, etc.)
*/

/* =========================
   Base / tokens
   ========================= */

:root {
  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Color palette (light) */
  --bg: #fbfbfc;
  --surface: #ffffff;
  --surface-alt: #f3f4f6;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 8px 24px rgba(17, 24, 39, 0.08);

  /* Accents (keep subtle for a minimal art site) */
  --accent: #111827;          /* default: near-black */
  --accent-soft: #1118270f;   /* translucent */
  --focus: #2563eb;           /* accessible blue focus ring */

  /* Spacing */
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1100px;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

/* Media defaults */
img,
svg,
video {
  max-width: 100%;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Typography helpers */
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
code {
  font-family: var(--font-mono);
  font-size: 0.95em;
  background: var(--accent-soft);
  padding: 0.15em 0.35em;
  border-radius: 6px;
}

/* =========================
   Layout utilities
   ========================= */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding-top: 24px;    /* instead of 56px */
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 18px;
}

.section-actions {
  margin-top: 18px;
}

.section-spacer {
  height: 28px;
}

/* Split layout (responsive) */
.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  align-items: start;
}

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

/* Grid cards for portfolio */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

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

/* =========================
   Header / nav
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 252, 0.84);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-link[aria-current="page"] {
  background: var(--surface);
  border-color: var(--border);
}

.nav-link:hover {
  background: var(--surface);
  border-color: var(--border);
  text-decoration: none;
}

/* =========================
   Hero
   ========================= */

.hero {
  padding: 64px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.hero-tagline {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 280px;
}

/* =========================
   Components
   ========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.14);
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.text-link {
  font-weight: 600;
  color: var(--text);
}

.card {
  background: transparent;     /* no visible card around image */
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* .card-media {
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: grid;
  place-items: center;
} */

.card-media {
  aspect-ratio: 3 / 4;        /* or whatever you chose */
  display: flex;
  align-items: flex-end;       /* bottom-align artwork */
  background: var(--bg);       /* invisible frame */
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;         /* no cropping */
  display: block;
}

.card-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;                    /* seamless join to artwork */
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  padding: 14px 14px 16px;
}

.card-title {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.card-meta {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.card-text {
  margin: 0;
  color: var(--muted);
}

/* Placeholder blocks (swap these for <img> when ready) */
.placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 2px dashed #d1d5db;
  color: var(--muted);
  font-weight: 600;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.placeholder span {
  padding: 10px 12px;
  text-align: center;
}

.placeholder-hero {
  min-height: 280px;
}

/* Callout block (e.g., enquiry box) */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Simple list styling */
.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

/* Page hero (non-home pages) */
.page-hero {
  padding: 28px 0 0px;
}

.page-hero h1 {
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin-bottom: 0;
}

/* Prose section */
.prose h2 {
  margin-top: 0;
}

.prose ul {
  margin: 10px 0 0;
}

/* =========================
   Footer
   ========================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: var(--bg);
}

.footer-inner {
  display: grid;
  gap: 6px;
}

