/* Moving With Friends: colours follow the game's UiKit (warm dark panels, cream ink, amber accent)
   plus cardboard and packing-tape tones for the moving-box look. */
:root {
  --paper: #F5EEE2;
  --paper-2: #EDE2CF;
  --ink: #1F1812;
  --ink-2: #5B4B3C;
  --kraft: #D3A66A;
  --kraft-light: #E9C68E;
  --kraft-dark: #9A6A31;
  --amber: #E6A854;
  --amber-hover: #F0B967;
  --tape: rgba(241, 214, 160, 0.82);
  --night: #17120E;
  --night-2: #241C16;
  --cream: #F5F0E6;
  --cream-dim: rgba(245, 240, 230, 0.72);
  --red: #C0432C;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin-bottom: 1.2rem; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Shipping-label style section tag */
.label {
  display: inline-block;
  font: 700 0.75rem/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  padding: 7px 10px 6px;
  margin-bottom: 1.1rem;
  color: var(--ink-2);
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--ink);
  background: var(--amber); color: var(--ink);
  font: 700 1rem/1 var(--body); text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { background: var(--amber-hover); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-dark { background: var(--ink); color: var(--cream); box-shadow: 0 3px 0 rgba(0,0,0,.35); overflow-wrap: anywhere; text-align: center; }
.btn-dark:hover { background: var(--night-2); box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; box-shadow: 0 2px 0 var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 238, 226, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 24, 18, 0.08);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.15rem/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }

/* Packing tape on screenshots */
.taped { position: relative; }
.taped img { border-radius: 10px; border: 3px solid #fff; box-shadow: 0 18px 40px -18px rgba(31, 24, 18, 0.45), 0 2px 6px rgba(31, 24, 18, 0.12); }
.taped::before, .taped::after {
  content: ""; position: absolute; z-index: 2;
  width: 92px; height: 26px; background: var(--tape);
  box-shadow: 0 1px 2px rgba(31, 24, 18, 0.12);
  top: -6px;
}
.taped::before { left: -22px; transform: rotate(-32deg); }
.taped::after { right: -22px; transform: rotate(32deg); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.hero-shot img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; object-position: 0% 60%; }
.stamp {
  position: absolute; z-index: 3; right: 14px; bottom: -22px;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 16px 9px; border: 3px solid var(--red); border-radius: 6px;
  background: rgba(245, 238, 226, 0.94); color: var(--red);
  transform: rotate(-7deg);
  font-family: var(--display); text-transform: uppercase; line-height: 1;
}
.stamp strong { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.08em; }
.stamp span { font: 700 0.68rem/1 var(--body); letter-spacing: 0.16em; margin-top: 5px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; overflow-x: clip; }
.tint { background: var(--paper-2); }
.dark { background: var(--night); color: var(--cream); }
.dark .label { color: var(--amber); }
.dark .lede { color: var(--cream-dim); }

/* Steps */
.steps { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 48px; }
.step figure { margin-bottom: 22px; }
.step img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.step p { color: var(--ink-2); margin: 0; }
.num {
  display: inline-block; margin-bottom: 10px;
  font: 800 0.85rem/1 var(--display); letter-spacing: 0.08em;
  background: var(--kraft); border: 1.5px solid var(--ink); border-radius: 4px;
  padding: 5px 8px 4px;
}

/* Score card */
.score-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.score-shot img { width: 100%; border-radius: 12px; border: 1px solid rgba(245, 240, 230, 0.14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--cream); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 5px; background: var(--amber);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px;
  border-left: 2.5px solid var(--night); border-bottom: 2.5px solid var(--night);
  transform: rotate(-45deg);
}

/* Features */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 2.2rem; }
.feature {
  background: var(--paper); border: 1.5px solid rgba(31, 24, 18, 0.12); border-radius: var(--radius);
  padding: 24px 24px 22px;
}
.feature svg {
  width: 44px; height: 44px; padding: 9px; margin-bottom: 16px;
  border-radius: 10px; background: var(--kraft-light); border: 1.5px solid var(--ink);
  fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature p { color: var(--ink-2); margin: 0; }

/* Studio box: a cardboard box with a strip of tape across the top */
.box {
  position: relative; max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--kraft); border: 2px solid var(--ink); border-radius: 18px;
  padding: clamp(48px, 7vw, 72px) clamp(20px, 6vw, 64px) clamp(36px, 6vw, 56px);
  box-shadow: 0 8px 0 var(--kraft-dark), 0 8px 0 2px var(--ink);
}
.box::before {
  content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: min(160px, 40%); height: 38px; background: var(--tape);
  border-left: 1px solid rgba(31, 24, 18, 0.12); border-right: 1px solid rgba(31, 24, 18, 0.12);
}
.box .label { color: var(--ink); }
.box p { color: var(--ink); max-width: 34rem; margin-left: auto; margin-right: auto; }
.box .btn { margin-top: 0.8rem; max-width: 100%; }

/* Footer */
.site-footer { background: var(--night); color: var(--cream-dim); padding: 28px 0; font-size: 0.95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--cream-dim); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }

/* Wider screens */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; }
  .hero-shot { transform: rotate(1.5deg); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step:nth-child(2) figure { transform: rotate(-1deg); }
  .step:nth-child(3) figure { transform: rotate(1deg); }
  .score-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stamp { right: -18px; bottom: -28px; }
  .stamp strong { font-size: 2rem; }
}

/* Phones: keep the header to the logo and the contact button */
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .brand span { font-size: 1.02rem; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
