/* Steve Bauer 2026 */


/* Libre Caslon Display */
@font-face {
  font-family: "Libre Caslon Display";
  src: url("fonts/LibreCaslonDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Manrope */
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}





:root {
  /* Colors */
  --paper: #f8f7f4;
  --ink: #22211f;
  --muted: #77736d;
  --line: #d9d6d0;
  --copy: #625f59;

  /* Typography */
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --text-base: 14px;
  --text-copy: 13px;
  --text-footer: 12px;
  --text-caption: 12px;
  --text-small: 11px;
  --text-label: 10px;

  /* Layout */
  --gap: 15px;
  --footer-link-gap: 10px 24px;
  --width: 1600px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--text-base)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.shell {
  margin: 0 auto;
  max-width: var(--width);
}

body.lightbox-open { overflow: hidden; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Shared footer: used on the portfolio and legal page */
.footer,
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px 10px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--footer-link-gap);
}

.footer a,
.legal-footer a {
  font-size: var(--text-footer);
  text-decoration: none;
}

.footer a:hover,
.legal-footer a:hover { opacity: .55; }

.copyright {
  color: var(--muted);
  font-size: var(--text-small);
  white-space: nowrap;
}

/* Portfolio page */
.portfolio { width: 100%; padding: 0; }

.portfolio > .section,
.portfolio > .masonry,
.portfolio > .footer {
  margin-right: var(--gap);
  margin-left: var(--gap);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 100svh;
  max-height: 900px;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(24px, 5vw, 72px);
  color: #fff;
  background: #69645e;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url("img/hero.webp") center/cover;
  transform: scale(1.001);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0,0,0,.43), rgba(0,0,0,.08) 58%, rgba(0,0,0,.15));
}

.hero-header {
  position: absolute;
  top: 24px;
  right: clamp(24px, 5vw, 72px);
  left: clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #fff;
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav { display: flex; gap: clamp(16px, 3vw, 34px); }
.nav a {
  color: #fff;
  font-size: var(--text-small);
  text-decoration: none;
  transition: opacity 180ms ease;
}
.nav a:hover { opacity: .65; }
.hero-copy { width: 100%; }

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 150px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .85;
  text-transform: uppercase;
}

.hero-tagline {
  margin: clamp(22px, 3vw, 36px) 0 0 5px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
  letter-spacing: .015em;
}

/* Sections and shared content typography */
.section { padding: clamp(72px, 12vw, 170px) clamp(4px, 2vw, 24px); }

.section-kicker,
.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 8.4vw, 112px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .98;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
  align-items: end;
  gap: 48px;
}

.intro-copy,
.about-copy {
  color: var(--copy);
  font-size: var(--text-copy);
}

.intro-copy {
  max-width: 380px;
  margin: 0 0 6px auto;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-small);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.button:hover { background: var(--ink); color: var(--paper); }
.button span { font-size: 16px; line-height: 1; }

/* Masonry gallery — natural image proportions */
.masonry {
  column-count: 2;
  column-gap: var(--gap);
  column-fill: balance;
  scroll-margin-top: 15px;
}

.item {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  margin: 0 0 var(--gap);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d0cec9;
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -webkit-tap-highlight-color: transparent;
}

.item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: opacity 250ms ease;
}

.item:hover img { opacity: .84; }
@media (min-width: 1100px) { .masonry { column-count: 3; } }

.item:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* About */
.about {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(32px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.about h2 { max-width: 620px; }
.about-copy { max-width: 430px; padding-top: 38px; line-height: 2; }
.about-copy p { margin: 0 0 20px; }

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  background: rgba(12,12,12,.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: pan-y;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.lightbox-stage {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lightbox-image {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 42px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-caption {
  flex: 0 0 auto;
  max-width: min(80vw, 720px);
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: var(--text-caption);
  line-height: 1.5;
  letter-spacing: .025em;
  text-align: center;
}

.lightbox-button {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-button:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 16px; right: 18px; font-size: 30px; }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  color: rgba(255,255,255,.8);
  font-size: var(--text-small);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

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

/* Legal page — reuses the same colors, fonts, type scale and footer */
body.legal-page {
  padding: 15px;
  font-size: var(--text-copy);
  line-height: 1.9;
  scroll-padding-top: 30px;
}

.legal-page .brand,
.legal-page .back-link { color: var(--ink); }

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 4px 22px;
  border-bottom: 1px solid var(--line);
}

.back-link { font-size: var(--text-small); text-decoration: none; }
.back-link:hover { opacity: .55; }

.legal-main {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 4px;
}

.eyebrow { margin-bottom: 22px; }

.legal-page h1,
.legal-page h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
}

.legal-page h1 {
  margin: 0 0 80px;
  font-size: clamp(64px, 10vw, 120px);
  line-height: .95;
}

.legal-section {
  max-width: 650px;
  margin: 0 0 64px;
  padding: 0 0 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}

.legal-section:last-child { margin-bottom: 0; border-bottom: 0; }

.legal-page h2 {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
}

.legal-page h3 {
  margin: 28px 0 8px;
  font-size: var(--text-copy);
  font-weight: 700;
}

.legal-page p { margin: 0 0 16px; }
.placeholder { color: #8b4b31; }

/* Responsive adjustments */
@media (max-width: 700px) {
  :root { --gap: 8px; --footer-link-gap: 12px 20px; }

  .hero {
    height: 100svh;
    min-height: 560px;
    max-height: none;
    padding: 24px;
  }

  .hero-header { top: 20px; right: 24px; left: 24px; }
  .hero h1 { font-size: clamp(58px, 15vw, 108px); line-height: .82; }
  .hero-tagline { margin-left: 2px; }
  .section { padding: 80px 4px; }

  .intro-grid,
  .about { grid-template-columns: 1fr; gap: 24px; }

  .intro-copy { max-width: 420px; margin: 0; }
  .about-copy { padding-top: 0; }

  .footer,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 22px;
  }

  .lightbox {
    padding: 52px 8px 56px;
    padding-top: max(52px, env(safe-area-inset-top));
    padding-bottom: max(56px, env(safe-area-inset-bottom));
  }

  .lightbox-button { width: 42px; height: 42px; background: rgba(0,0,0,.28); }
  .lightbox-close { top: max(8px, env(safe-area-inset-top)); right: 8px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-counter { bottom: 17px; }
  .lightbox-caption { max-width: 86vw; font-size: var(--text-small); }

  body.legal-page { padding: 8px; }
  .legal-header { padding: 14px 4px 18px; }
  .legal-page h1 { margin-bottom: 60px; }
  .legal-section { padding-bottom: 42px; margin-bottom: 42px; }
}

.authenticbadge img {
  margin-top: 6rem;
  margin-bottom: 2rem;
  width: 160px;
}

@media (max-width: 380px) {
  .hero h1 { font-size: 54px; }
  .nav { gap: 12px; }
  .nav a { font-size: var(--text-label); }
}

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