/* RJ & Sons — tokens from the RJ & Sons Design System */
:root {
  --ink: #14171c;
  --ink-hover: #1f232a;
  --stone: #5c5851;
  --stone-on-ink: #a8a39a;
  --brass: #d4901c;
  --brass-text: #9a6512; /* brass darkened to pass 4.5:1 on Paper */
  --paper: #f2ede3;
  --white: #ffffff;
  --hairline: #e0dac9;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-logo: "Oswald", Impact, "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
a { color: var(--stone); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 10; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 640px) { .section { padding: 48px 0; } }

.rule { width: 48px; height: 4px; background: var(--brass); margin-bottom: 16px; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 16px; }
.h2 { font-size: clamp(32px, 4vw, 40px); margin-bottom: 48px; max-width: 22ch; }

/* Buttons: sharp corners, flat fills, 1px press nudge */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px;
  font: 500 16px/1 var(--font); border: 1px solid var(--ink); cursor: pointer;
  transition: background-color 150ms ease-out;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-hover); }
.btn--secondary { background: transparent; color: var(--ink); }

/* Header */
.header { border-bottom: 1px solid var(--hairline); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; }
.logo:hover { text-decoration: none; }
.logo__mark { font: 700 26px/1 var(--font-logo); letter-spacing: 0.04em; color: var(--ink); }
.logo__sub { font-size: 9px; font-weight: 500; letter-spacing: 0.3em; color: var(--brass-text); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; font-size: 15px; }

/* Hero */
.hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 14ch; margin-bottom: 24px; }
.hero__lead { font-size: 20px; letter-spacing: -0.015em; color: var(--stone); max-width: 60ch; margin-bottom: 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.stamps { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.stamp { border: 1px solid var(--stone); padding: 6px 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--stone); }

/* Receipts */
.receipts { background: var(--ink); color: var(--paper); }
.receipts .label { color: var(--stone-on-ink); }
.receipts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin: 0; }
.receipt dt { order: 2; margin-top: 12px; font-size: 15px; color: var(--stone-on-ink); }
.receipt dd { order: 1; margin: 0; font-size: 56px; font-weight: 500; letter-spacing: -0.025em; line-height: 1; color: var(--brass); }
.receipt { display: flex; flex-direction: column; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); padding: 32px; }
.card__num { font-size: 14px; font-weight: 500; color: var(--stone); margin-bottom: 24px; }
.card h3 { font-size: 24px; letter-spacing: -0.015em; margin-bottom: 12px; }
.card p { color: var(--stone); }

/* Contact */
.contact { background: var(--white); }
.contact__grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.contact__intro { flex: 1 1 360px; }
.contact__intro h2 { font-size: clamp(32px, 4vw, 40px); margin-bottom: 32px; }
.contact__details { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.contact__details a { color: var(--ink); }
.contact__cta { flex: 0 1 360px; display: flex; flex-direction: column; gap: 12px; align-self: flex-end; }
.contact__cta a:not(.btn) { color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: var(--stone-on-ink); padding: 48px 0; font-size: 15px; line-height: 1.6; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer__brand { display: flex; flex-direction: column; gap: 4px; }
.footer__mark { font: 700 22px/1 var(--font-logo); letter-spacing: 0.04em; color: var(--paper); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 16px; }
.footer a { color: var(--paper); }
.footer__stamp { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; }

/* Hero sits tighter so the gallery starts above the fold */
.hero--tight { padding-bottom: 48px; }
.hero--tight .ctas { margin-bottom: 32px; }

/* Gallery: real job photos, flat, sharp corners, no overlays */
.gallery { padding-top: 0; }
.gallery__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
}
.shot { margin: 0; display: flex; flex-direction: column; background: var(--white); }
.shot img { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; }
.shot--tall { grid-row: span 2; }
@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .shot--tall { grid-row: auto; }
}

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