/* Pawn & Meeple - v4 "The Room". Interior-led, photography first. */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-grotesque-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: optional;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: optional;
}

:root {
  --paper: #F5EEDD;
  --walnut: #7A4A21;
  --maple: #E9D3A8;
  --ink: #2B2118;
  --red: #B03A2E;
  --ink-soft: #5b4a3a;
  --rule: rgba(43, 33, 24, 0.14);
  --gutter: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 450;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--walnut);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- header ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { border-radius: 5px; }
.brand-name {
  font-family: "Bricolage", sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
}
.amp { color: var(--red); }
.top-cta {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--walnut);
  text-decoration: none;
  border-bottom: 2px solid var(--maple);
  padding: 11px 2px;
  white-space: nowrap;
}
.top-cta:hover, .top-cta:focus-visible { color: var(--red); border-bottom-color: var(--red); }

/* ---------- hero: paper panel left, room photograph right ---------- */
.hero {
  display: grid;
  grid-template-columns: 40fr 60fr;
  align-items: center;
  border-top: 1px solid var(--rule);
}
.hero-panel {
  display: flex;
  align-items: center;
  padding: clamp(28px, 3vw, 48px) clamp(24px, 3.4vw, 60px) clamp(28px, 3vw, 48px) var(--gutter);
}
.hero-panel-inner { max-width: 33rem; }
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: "Bricolage", sans-serif;
  font-weight: 750;
  font-size: clamp(1.9rem, 3.3vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 34rem;
}
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--paper);
  font-family: "Bricolage", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 34px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(176, 58, 46, 0.26);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(176, 58, 46, 0.32);
}
.hero-credit {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.hero-shot {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.hero-shot img {
  /* show the WHOLE room scene (frame, shelf, floor line) on load:
     natural square, capped by the first viewport, anchored right */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}

/* ---------- what we make ---------- */
.about {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(52px, 6vw, 92px) var(--gutter);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.about h2, .cta h2 {
  font-family: "Bricolage", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.about h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
}
.about-cols {
  display: grid;
  gap: 18px;
}
.about-cols p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.03vw, 1.06rem);
  max-width: 62ch;
}

/* ---------- the art up close ---------- */
.closeup { padding: clamp(46px, 5.4vw, 78px) var(--gutter) clamp(52px, 6vw, 88px); }
.closeup-inner { max-width: 1100px; margin: 0 auto; }
.closeup-title {
  font-family: "Bricolage", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 20px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
}
.tile { background: var(--maple); }
.tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}
.tiles-caption {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- second room moment ---------- */
.room-band {
  max-width: 1440px;
  margin: 0 auto;
}
.room-band img {
  width: 100%;
  height: min(76vw, 1100px);
  object-fit: cover;
  /* window shows wall above the frame, the whole frame, and the
     furniture below it, so the poster reads as hung in a room */
  object-position: center 19%;
}
.room-band figcaption {
  padding: 16px var(--gutter) 0;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- cta ---------- */
.cta {
  padding: clamp(56px, 6.5vw, 100px) var(--gutter);
}
.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding-top: clamp(40px, 4.5vw, 68px);
}
.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.cta p {
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 46ch;
}
.contact { margin-top: 26px; margin-bottom: 0; font-size: 0.95rem; }
.contact a { color: var(--walnut); font-weight: 700; display: inline-block; padding: 10px 4px; margin: -10px -4px; }
.contact a:hover { color: var(--red); }

/* ---------- footer ---------- */
.foot {
  padding-bottom: 34px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}
.foot .strip {
  height: 14px;
  margin-bottom: 24px;
  background: repeating-linear-gradient(
    90deg,
    var(--walnut) 0 28px,
    var(--maple) 28px 56px
  );
}
.foot p {
  padding: 0 var(--gutter);
  margin-bottom: 4px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-shot { order: -1; }
  .hero-shot img {
    /* square container = the mockup shown whole, nothing cropped away */
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .hero-panel {
    min-height: 0;
    padding: clamp(30px, 6vw, 48px) var(--gutter) clamp(38px, 7vw, 56px);
  }
  .hero-panel-inner { max-width: 36rem; }
  .about-inner { grid-template-columns: 1fr; }
  .room-band img { height: auto; aspect-ratio: 1 / 1; }
}

@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .foot .strip {
    background: repeating-linear-gradient(
      90deg,
      var(--walnut) 0 20px,
      var(--maple) 20px 40px
    );
  }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.02rem; }
  .top { gap: 10px; }
}

/* one fade, and only if motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .hero-panel-inner {
    animation: fade-up 0.6s ease-out both;
  }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
