/* lumbr website: landing, about, contact and legal pages (see site/README.md). */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-latin-700-normal.woff2') format('woff2');
}

:root {
  --orange: #f0a320;
  --orange-hover: #dc9214;
  --orange-strong: #9a5b00;
  --orange-wash: #fffaf1;
  --orange-soft: #fdf1db;
  --ink: #1f252a;
  --text: #1f252a;
  --muted: #5b6570;
  --line: #e4e6e8;
  --bg: #ffffff;
  --bg-soft: #f6f6f5;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(31, 37, 42, 0.06), 0 12px 32px rgba(31, 37, 42, 0.12);
  --wide: 1120px;
  --narrow: 720px;
  --display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
}

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

a {
  color: var(--orange-strong);
  text-underline-offset: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 16px;
}

.container.narrow {
  max-width: var(--narrow);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 10;
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Header */

.site-header {
  background: var(--ink);
  color: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
}

.brand:hover {
  color: #fff;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav a {
  color: #d9dde1;
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: #fff;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: background-color 0.15s ease;
}

.button.primary {
  background: var(--orange);
  color: var(--ink);
}

.button.primary:hover {
  background: var(--orange-hover);
  color: var(--ink);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #c9cdd1;
}

.button.secondary:hover {
  background: var(--bg-soft);
}

.site-nav .button {
  padding: 8px 16px;
  color: var(--ink);
}

/* Sections */

main section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.eyebrow {
  font-weight: 600;
  color: var(--orange-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 42em;
}

.section-head {
  max-width: 44em;
  margin-bottom: 40px;
}

/* Landing hero */

.hero {
  padding: 72px 0 0;
  background: linear-gradient(180deg, var(--orange-wash) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero h1 {
  max-width: 14em;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 12px;
}

.hero .note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero .shot {
  margin-top: 48px;
}

.shot img,
.frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}

/* Feature grid */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.feature .mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange-strong);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--display);
  margin-bottom: 14px;
}

/* Image + text rows */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split + .split {
  margin-top: 64px;
}

.split.reverse > :first-child {
  order: 2;
}

.split ul {
  padding-left: 1.2em;
  color: var(--muted);
}

.split li {
  margin-bottom: 0.4em;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  border-top: 3px solid var(--orange);
  padding-top: 16px;
}

.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--orange-strong);
  display: block;
  margin-bottom: 4px;
}

.steps p {
  color: var(--muted);
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 1200 / 957;
  object-fit: cover;
  width: 100%;
}

.gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery figcaption strong {
  color: var(--text);
  display: block;
}

.gallery.featured {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Call to action band */

.cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta p {
  color: #c8cdd2;
}

.cta .button {
  margin-top: 12px;
}

/* Text pages (about, contact, legal) */

.page-head {
  padding: 56px 0 8px;
  background: linear-gradient(180deg, var(--orange-wash) 0%, var(--bg) 100%);
}

.prose {
  padding-top: 24px;
  padding-bottom: 72px;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 1.8em;
}

.prose h3 {
  margin-top: 1.4em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

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

.callout {
  background: var(--orange-wash);
  border: 1px solid var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout ul {
  margin: 0;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.contact-card .email {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  word-break: break-all;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.site-footer .copyright {
  margin-left: auto;
}

/* Small screens */

@media (max-width: 820px) {
  main section {
    padding: 56px 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .site-header .container {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-footer .copyright {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .site-nav a:not(.button) {
    font-size: 0.95rem;
  }

  .hero .actions .button {
    width: 100%;
  }
}
