/* Laurie Woo Photography — design specification, not a complete theme.
   Self-host Manrope WOFF2, weights 400/500/600. Use font-display: swap.
   Breakpoints: mobile <48rem; tablet 48rem–74.99rem; desktop >=75rem.
   Custom properties cannot be used directly in standard media queries. */
:root {
  --color-paper: #242824;
  --color-surface: #fbfaf7;
  --color-soft: #303830;
  --color-ink: #f7f5f0;
  --color-muted: #c5cbc4;
  --color-accent: #d5e3d6;
  --color-accent-hover: #bacebd;
  --color-border: #858b82;
  --color-error: #ffb4ab;
  --color-on-accent: #202520;
  --color-accent-ink: var(--color-on-accent);
  --color-focus: var(--color-accent);
  --color-focus-inverse: #202520;
  --color-footer-text: #f7f5f0;
  --color-footer-background: #181d19;
  --color-field-text: #202520;
  --color-field-focus: #294d41;
  --color-field-placeholder: #596159;
  --color-scrim: rgb(0 0 0 / 88%);
  --color-checkbox: #294d41; /* White check marks remain readable. */

  --font-family: "Manrope", system-ui, sans-serif;
  --weight-body: 400;
  --weight-label: 500;
  --weight-heading: 500;
  --weight-button: 600;
  --text-h1: 2.25rem; /* 36px mobile / 40px line */
  --leading-h1: 2.5rem;
  --text-h2: 1.875rem; /* 30px / 36px */
  --leading-h2: 2.25rem;
  --text-h3: 1.5rem; /* 24px / 32px */
  --leading-h3: 2rem;
  --text-body: 1.125rem; /* 18px / 28px */
  --leading-body: 1.75rem;
  --text-button: 1rem; /* 16px / 24px */
  --leading-button: 1.5rem;
  --text-nav: 1rem;
  --leading-nav: 1.5rem;
  --text-label: 1rem;
  --leading-label: 1.5rem;
  --text-caption: 0.875rem; /* 14px / 20px */
  --leading-caption: 1.25rem;
  --tracking-heading: -0.025em;
  --measure-copy: 60ch;
  --measure-heading: 42.5rem;

  --space-0: 0;
  --space-1: 0.125rem; /* 2px */
  --space-2: 0.25rem; /* 4px */
  --space-3: 0.5rem; /* 8px */
  --space-4: 0.75rem; /* 12px */
  --space-5: 1rem; /* 16px */
  --space-6: 1.5rem; /* 24px */
  --space-7: 2rem; /* 32px */
  --space-8: 2.5rem; /* 40px */
  --space-9: 3rem; /* 48px */
  --space-10: 4rem; /* 64px */
  --space-11: 5rem; /* 80px */
  --space-12: 6rem; /* 96px */

  --container-max: 80rem;
  --page-gutter: var(--space-5);
  --grid-columns: 4;
  --grid-gap: var(--space-5);
  --section-space: var(--space-10);
  --header-height: 4rem;
  --radius: 0;
  --border-width: 1px;
  --control-height: 3rem;
  --touch-target: 3rem;
  --button-padding-y: var(--space-3);
  --button-padding-x: var(--space-4);
  --focus-width: 3px;
  --focus-offset: 3px;
  --ratio-cover: 3 / 2;
  --ratio-hero: 3 / 2;
  --ratio-service: 3 / 2;
  --ratio-portrait: 2 / 3;
  --ratio-square: 1 / 1;
  --button-active-scale: 0.98;
  --gallery-align: start;
  --hero-text-columns: 6; /* Desktop 12-column grid. */
  --hero-media-columns: 6;
  --motion-duration: 300ms;
  --motion-layout: 500ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 48rem) {
  :root {
    --text-h1: 3rem;
    --leading-h1: 3rem;
    --text-h2: 2.25rem;
    --leading-h2: 2.5rem;
    --page-gutter: var(--space-7);
    --grid-columns: 8;
    --grid-gap: var(--space-6);
    --section-space: var(--space-11);
    --header-height: 5rem;
  }
}

@media (min-width: 75rem) {
  :root {
    --text-h1: 3.75rem;
    --leading-h1: 3.75rem;
    --text-h2: 3rem;
    --leading-h2: 3rem;
    --grid-columns: 12;
    --section-space: var(--space-12);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --button-active-scale: 1;
    --motion-duration: 0ms;
    --motion-layout: 0ms;
  }
}

/* Public portfolio galleries only; private photo delivery is off-site. */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: var(--gallery-align);
  gap: var(--grid-gap);
}
.portfolio-gallery img { display: block; width: 100%; height: auto; }
.portfolio-gallery__landscape { grid-column: 1 / -1; }
.button:active, button:active, input[type="submit"]:active {
  transform: scale(var(--button-active-scale));
}
@media (max-width: 47.999rem) {
  .portfolio-gallery { grid-template-columns: minmax(0, 1fr); }
  .portfolio-gallery > * { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .button:active, button:active, input[type="submit"]:active { transform: none; }
}
