/* ============================================
   ShawCanDo — stylesheet
   Clean & minimal, editorial tone
   Fonts: DM Serif Display + DM Sans
   ============================================ */

:root {
  --ink:       #111111;
  --ink-soft:  #555555;
  --ink-faint: #888888;
  --bg:        #fafaf8;
  --bg-card:   #ffffff;
  --rule:      #e4e4e0;
  --accent:    #1a6b3c;       /* Forest green — grounded, practical */
  --accent-lt: #eaf3ed;
  --tap-color: #1a6b3c;
  --snap-color:#1d5fa8;
  --snap-lt:   #e8f0fb;
  --radius:    12px;
  --max-w:     1100px;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Utilities ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--bg) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 999px;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--accent) !important; }

/* ---- Hero ---- */
.hero {
  padding: 5rem 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ---- Phone mockup (hero visual) ---- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 220px;
  height: 380px;
  border: 2.5px solid var(--ink);
  border-radius: 32px;
  padding: 24px 18px;
  position: relative;
  background: var(--bg-card);
  box-shadow: 8px 12px 0 var(--ink);
  animation: floatPhone 4s ease-in-out infinite;
}

.phone-mockup::before {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background: var(--ink);
  border-radius: 3px;
  margin: 0 auto 20px;
}

.screen-dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-lt);
  border: 1.5px solid var(--accent);
  margin-bottom: 14px;
}

.screen-line {
  height: 8px;
  background: var(--rule);
  border-radius: 4px;
  margin-bottom: 8px;
}

.screen-line.short { width: 60%; }

.screen-block {
  height: 80px;
  background: var(--accent-lt);
  border-radius: 8px;
  margin: 16px 0;
  border: 1.5px solid var(--rule);
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ---- Divider ---- */
.hero-rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}

/* ---- Apps section ---- */
.apps-section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--ink-soft);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.app-card-inner {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.tap2donate-icon {
  background: var(--accent-lt);
  color: var(--tap-color);
}

.snapdrop-icon {
  background: var(--snap-lt);
  color: var(--snap-color);
}

.app-icon svg { width: 30px; height: 30px; }

.app-platform {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 0.4rem;
}

.app-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.app-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.app-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

/* ---- About strip ---- */
.about-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 5rem 0;
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.strip-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.strip-body {
  color: rgba(250,250,248,0.7);
  font-size: 1rem;
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-strip .btn-secondary {
  border-color: rgba(250,250,248,0.5);
  color: var(--bg);
}

.about-strip .btn-secondary:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.strip-stats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: right;
}

.stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.5);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--ink); }

/* ---- App detail pages ---- */
.app-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}

.app-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.app-hero-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-hero-icon svg { width: 44px; height: 44px; }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
}

.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.app-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.app-hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  background: var(--bg-card);
}

.app-content { padding: 4rem 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.prose h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin: 2rem 0 0.8rem;
  letter-spacing: -0.01em;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.feature-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: sticky;
  top: 84px;
}

.sidebar-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
}

.detail-row:last-of-type { border: none; }

.detail-label { color: var(--ink-faint); }
.detail-val   { font-weight: 500; text-align: right; }

.sidebar-cta {
  margin-top: 1.4rem;
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition);
}

.sidebar-cta:hover { background: var(--accent); }
.sidebar-cta.disabled { background: var(--rule); color: var(--ink-faint); pointer-events: none; }

/* ---- About page ---- */
.about-hero { padding: 5rem 0 4rem; }

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.about-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.avatar-box {
  background: var(--accent-lt);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.avatar-initials {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.avatar-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.avatar-role {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.skills-section { padding: 3rem 0 5rem; border-top: 1px solid var(--rule); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.skill-chip {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.skill-chip span {
  display: block;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

.contact-section { padding: 4rem 0; background: var(--ink); color: var(--bg); }

.contact-inner { text-align: center; max-width: 540px; margin: 0 auto; }

.contact-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-body { color: rgba(250,250,248,0.7); margin-bottom: 2rem; line-height: 1.7; }

.contact-email {
  display: inline-block;
  color: var(--bg);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(250,250,248,0.3);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.contact-email:hover { border-color: var(--bg); }

/* ---- Gifts / Templates section ---- */
.gifts-section {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}

.gifts-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gifts-cta { flex-shrink: 0; }

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gift-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Thumbnail area — coloured background, SVG illustration centred */
.gift-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-thumb--1 { background: #eaf3ed; color: #1a6b3c; }
.gift-thumb--2 { background: #e8f0fb; color: #1d5fa8; }
.gift-thumb--3 { background: #fef3e8; color: #b45309; }
.gift-thumb--4 { background: #f3e8fb; color: #7c3aed; }
.gift-thumb--5 { background: #fce8ee; color: #be185d; }

.gift-thumb-inner svg {
  width: 80px;
  height: 60px;
  opacity: 0.85;
}

.gift-meta { padding: 1.4rem 1.6rem 1.6rem; }

.gift-type {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.gift-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.gift-desc {
  font-size: 0.87rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Placeholder card */
.gift-card--placeholder {
  border-style: dashed;
  background: transparent;
}

.gift-card--placeholder:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--accent);
}

.gift-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 240px;
  text-decoration: none;
  gap: 0.4rem;
  padding: 2rem;
}

.gift-placeholder-icon {
  font-size: 2rem;
  color: var(--rule);
  line-height: 1;
  transition: color var(--transition);
}

.gift-card--placeholder:hover .gift-placeholder-icon { color: var(--accent); }

.gift-placeholder-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-faint);
}

.gift-placeholder-sub {
  font-size: 0.78rem;
  color: var(--ink-faint);
  opacity: 0.7;
}

.gifts-footer {
  text-align: center;
  margin-top: 3rem;
}

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

@media (max-width: 600px) {
  .gifts-grid  { grid-template-columns: 1fr; }
  .gifts-header { flex-direction: column; align-items: flex-start; }
}

/* ---- Contact form section ---- */
.contact-form-section {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
}

.contact-form-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.8rem 3rem;
}

/* Label left (fixed width) + input right — consistent across all rows */
.form-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 0 1.2rem;
  margin-bottom: 1.8rem;
}

.form-field label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 0.85rem; /* aligns with input padding */
  line-height: 1.4;
}

.req { color: var(--accent); }

.form-field input,
.form-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  width: 100%;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faint);
  font-weight: 300;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.08);
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185,28,28,0.07);
}

.form-field--captcha { margin-bottom: 1.4rem; align-items: center; }
.form-field--submit  { margin-bottom: 0; align-items: center; }

/* Submit — identical look to .btn-primary, just needs border:none + cursor */
.btn-submit {
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* Error banner — bright red */
.form-msg--error {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.8rem;
  line-height: 1.55;
}

/* Success state — replaces the form */
.form-success-box {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid rgba(26,107,60,0.2);
}

.form-success-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.form-success-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Mobile: stack label above input */
@media (max-width: 600px) {
  .contact-form-wrap { padding: 1.6rem 1.2rem; }

  .form-field {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-bottom: 1.4rem;
  }

  .form-field label { padding-top: 0; }
}



/* ---- Page-load animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.55s ease forwards;
}

.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-visual         { display: none; }
  .about-strip-inner   { grid-template-columns: 1fr; }
  .strip-stats         { flex-direction: row; text-align: left; flex-wrap: wrap; gap: 1.5rem; }
  .content-grid        { grid-template-columns: 1fr; }
  .sidebar-card        { position: static; }
  .about-hero-inner    { grid-template-columns: 1fr; }
  .app-hero-inner      { grid-template-columns: 1fr; }
  .footer-inner        { flex-direction: column; text-align: center; }
  .nav-links           { gap: 1rem; }
  .nav-links li:last-child { display: none; }
}

/* ---- Gallery page ---- */
.gallery-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--rule);
}

.gallery-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.gallery-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.gallery-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  max-width: 480px;
  line-height: 1.6;
  padding: 0.7rem 1rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-lt);
  border-radius: 0 6px 6px 0;
  margin-top: 1.2rem;
}

/* Filter bar */
.gallery-filter-bar {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 64px;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.filter-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--ink); color: var(--ink); }

.filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Gallery grid */
.gallery-grid-section { padding: 3.5rem 0 5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.gallery-card-meta { padding: 1.4rem 1.6rem 1.6rem; }

.gallery-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.gallery-card-footer {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gallery-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-faint);
  background: var(--bg);
}

.gallery-badge--available {
  border-color: rgba(26,107,60,0.3);
  color: var(--accent);
  background: var(--accent-lt);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.gallery-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

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

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

/* ---- EU Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 0;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

.cookie-banner--hide {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.85rem;
  color: rgba(250,250,248,0.75);
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
}

.cookie-link {
  color: rgba(250,250,248,0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cookie-link:hover { color: var(--bg); }

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-block;
}

.cookie-btn--accept {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--bg);
}

.cookie-btn--accept:hover {
  background: var(--accent-lt);
  color: var(--accent);
  border-color: var(--accent-lt);
}

.cookie-btn--more {
  background: transparent;
  color: rgba(250,250,248,0.7);
  border: 1px solid rgba(250,250,248,0.2);
}

.cookie-btn--more:hover {
  color: var(--bg);
  border-color: rgba(250,250,248,0.5);
}

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cookie-actions      { width: 100%; }
  .cookie-btn          { flex: 1; text-align: center; }
}

/* ---- Cookie Policy page ---- */
.policy-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.policy-body { padding: 4rem 0 6rem; }

.policy-prose {
  max-width: 740px;
}

.policy-prose h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.8rem;
}

.policy-prose h2:first-child { margin-top: 0; }

.policy-prose p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.policy-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-prose strong { font-weight: 500; color: var(--ink); }

.policy-list {
  list-style: none;
  margin: 0.5rem 0 1.2rem;
  padding: 0;
}

.policy-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
}

.policy-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.cookie-table th {
  background: var(--bg);
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.cookie-table td {
  padding: 0.75rem 1rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.55;
}

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

.cookie-table code {
  font-family: monospace;
  font-size: 0.82rem;
  background: var(--bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
  color: var(--ink);
}

.cookie-table a { color: var(--accent); }

@media (max-width: 600px) {
  .cookie-table { font-size: 0.8rem; }
  .cookie-table th,
  .cookie-table td { padding: 0.6rem 0.7rem; }
}
