/* Guadalupe Cattle Co. homepage.
   Letterpress is the selected design.
   Sizes come from the Claude Design handoff (design-handoff-from-claude-design/README.md). */

:root {
  --ink: #0a0a0a;
  --muted: #555555;
  --saddle: #6f4425;
  --hairline: #dcdcdc;
  --photo-bg: #eeeeee;
  --photo-bw: grayscale(1) brightness(1.12) contrast(0.96);
  --photo-color: grayscale(0) brightness(1.02) contrast(1);
  --photo-fade: 700ms;
}

html, body { margin: 0; background: #fff; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, p, figure, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--saddle); }
::selection { background: var(--ink); color: #fff; }

.serif { font-family: "Bitter", "Rockwell", serif; }
.kicker {
  font: 600 11px/1 "DM Sans", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saddle);
}
.logo { display: block; height: auto; }

/* Photos: black and white until hovered, focused or tapped. */
.photo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--photo-bg);
  cursor: pointer;
  overflow: hidden;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-bw);
  transition: filter var(--photo-fade) ease;
}
.photo.right img { object-position: right; }
.photo[aria-pressed="true"] img,
.photo:focus-visible img { filter: var(--photo-color); }
/* Mouse only, so a touch doesn't leave a photo stuck in color. */
@media (hover: hover) and (pointer: fine) {
  .photo:hover img { filter: var(--photo-color); }
}
.photo:focus-visible { outline: 2px solid var(--saddle); outline-offset: 4px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.row .photo { height: auto; aspect-ratio: 1.08; }
@media (prefers-reduced-motion: reduce) {
  .photo img { transition: none; }
}

/* ---------- Letterpress ---------- */
.theme-letterpress { display: flex; width: min(1200px, 100% - 40px); margin: 0 auto; flex-direction: column; align-items: center; }
.theme-letterpress main { width: 100%; display: flex; flex-direction: column; align-items: center; }
.theme-letterpress .mast {
  margin-top: clamp(32px, 5vw, 72px);
  width: min(560px, 100%);
  border-top: 3px double var(--saddle);
  border-bottom: 3px double var(--saddle);
  padding: 32px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.theme-letterpress .logo { width: clamp(200px, 18vw, 260px); }
.theme-letterpress .kicker { letter-spacing: 0.28em; }
.theme-letterpress h1 {
  margin-top: clamp(64px, 7.2vw, 104px);
  text-align: center;
  font-weight: 600;
  font-size: clamp(42px, 7vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.theme-letterpress .ital { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.theme-letterpress .tick { display: block; width: 48px; border-top: 1px solid var(--saddle); margin-top: 40px; }
.theme-letterpress .lede {
  margin-top: 32px;
  max-width: 28em;
  text-align: center;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: balance;
}
.theme-letterpress .mat { box-sizing: border-box; border: 1px solid var(--saddle); padding: 10px; }
.theme-letterpress .hero-mat { margin-top: clamp(56px, 6vw, 88px); width: 100%; padding: clamp(8px, 0.9vw, 12px); }
.theme-letterpress .hero { height: clamp(300px, 44vw, 640px); }
.theme-letterpress .row { margin-top: 28px; width: 100%; gap: 28px; }
.theme-letterpress footer {
  margin: clamp(88px, 9.4vw, 136px) 0 112px;
  width: min(560px, 100%);
  border-top: 3px double var(--saddle);
  border-bottom: 3px double var(--saddle);
  padding: 44px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.theme-letterpress footer h2 { font-style: italic; font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; text-wrap: balance; }
.theme-letterpress .links { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; font-size: 16px; line-height: 1.5; }
.theme-letterpress .links a { text-decoration: none; }
.theme-letterpress .dot { color: var(--saddle); }
.theme-letterpress address {
  font: 600 11px/1.9 "DM Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

