/* Wards Rule · wardsrule.com
   Colors: black #000, white #FFF, ginger red #C8261B (dark #93220F), silver #C9CCCF
   Fonts: Pirata One (display), Inter (text). Both SIL OFL 1.1, files in assets/fonts/ */

@font-face {
  font-family: "Pirata One";
  src: url("assets/fonts/PirataOne-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --black: #000;
  --ink: #111;
  --white: #fff;
  --red: #C8261B;
  --red-dark: #93220F;
  --silver: #C9CCCF;
  --silver-light: #ECEDEE;
  --paper: #F6F6F4;
  --radius: 20px;
  --shadow: 6px 6px 0 var(--black);
  --display: "Pirata One", "Inter", Georgia, serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem/1 var(--text);
  letter-spacing: .01em;
  text-decoration: none;
  border: 3px solid var(--black);
  border-radius: 999px;
  padding: .8em 1.4em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--black); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #D93323; }
.btn-black { background: var(--black); color: var(--white); box-shadow: 4px 4px 0 var(--red); }
.btn-black:hover { box-shadow: 6px 6px 0 var(--red); }
.btn-black:active { box-shadow: 1px 1px 0 var(--red); }
.btn-big { font-size: 1.15rem; padding: 1em 2em; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--black);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.topnav { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }
.topnav-text { font-weight: 700; font-size: .95rem; text-decoration: none; }
.topnav-text:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.topbar-link {
  font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: .55em 1.1em; border: 3px solid var(--black); border-radius: 999px;
  background: var(--white);
}
.topbar-link:hover { background: var(--black); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 20px clamp(64px, 9vw, 112px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,1) 0 34%, rgba(255,255,255,0) 62%),
    radial-gradient(var(--silver) 1.4px, transparent 1.6px) 0 0 / 22px 22px,
    var(--white);
}
.hero-h1 { margin: 0; font-size: 1rem; line-height: 0; }
.hero-logo { width: min(680px, 86vw); margin: 0 auto; }
.hero-tag {
  display: inline-block;
  margin: clamp(28px, 4vw, 40px) 0 28px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  padding: .2em .7em .25em;
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  transform: rotate(-2deg);
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; }

.slap-hint { margin: 22px 0 0; font-size: .9rem; color: #666; }

/* ---------- Creed ---------- */
.creed {
  background:
    radial-gradient(#222 1.4px, transparent 1.6px) 0 0 / 22px 22px,
    var(--black);
  color: var(--white);
  border-top: 3px solid var(--black);
  padding: clamp(64px, 8vw, 104px) 0;
  text-align: center;
}
.creed .section-title { color: var(--white); }
.creed-intro { margin: 14px auto 0; max-width: 34ch; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--silver); }
.creed-lines {
  list-style: none; margin: clamp(36px, 5vw, 56px) 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.4vw, 26px);
}
.creed-lines li {
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.05;
  padding: .12em .6em .2em;
  background: var(--white); color: var(--black);
  border: 3px solid var(--black);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--red);
  transform: rotate(-2deg);
}
.creed-lines li:nth-child(2) { background: var(--red); color: var(--white); box-shadow: 6px 6px 0 var(--white); transform: rotate(1.5deg); }
.creed-lines li:nth-child(3) { transform: rotate(-1deg); }
.creed-brand { margin: 0 auto; max-width: 46ch; color: var(--silver); font-size: 1.05rem; }
.creed-brand a { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.creed-brand a:hover { color: var(--silver); }

/* ---------- Red strip ---------- */
.strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .4em 1.2em;
  padding: 18px 20px;
  background: var(--red);
  color: var(--white);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1;
}
.strip i { font-style: normal; font-size: .6em; color: var(--black); }

/* ---------- Order section ---------- */
.order {
  background: var(--paper);
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.section-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1; margin: 0; text-align: center;
}
.section-sub { text-align: center; margin: 12px 0 clamp(36px, 5vw, 56px); color: #444; font-size: 1.1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-art {
  display: flex; align-items: center; justify-content: center;
  height: 300px;
  padding: 28px;
  background:
    radial-gradient(#D9DBDD 1.2px, transparent 1.4px) 0 0 / 16px 16px,
    var(--silver-light);
  border-bottom: 3px solid var(--black);
}
.card-art img {
  max-height: 236px; width: auto; max-width: 100%;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
  transform: rotate(-3deg);
  transition: transform .2s ease;
}
.card:nth-child(2) .card-art img { transform: rotate(2deg); }
.card:hover .card-art img { transform: rotate(0) scale(1.04); }
.card-art picture { display: contents; }

.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.size { margin: 2px 0 10px; color: #555; font-size: .95rem; }
.price { margin: 0 0 18px; font-weight: 800; font-size: 1.25rem; }
.buy { margin: auto 0 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; }

.price small { font-size: .8rem; font-weight: 600; color: #555; }

/* Bumper card: full row, art on the left */
.card-wide { grid-column: 1 / -1; flex-direction: row; }
.card-wide .card-art { flex: 1.9; height: auto; padding: 40px 48px; border-bottom: 0; border-right: 3px solid var(--black); }
.card-wide .card-art img { transform: rotate(-1.5deg); max-height: none; }
.card-wide .card-body { flex: 1; justify-content: center; padding: 28px; }
.card-wide .buy { margin-top: 0; justify-content: flex-start; }

/* ---------- Ordering note ---------- */
.order-note a { color: var(--red); text-underline-offset: 4px; }
.order-note {
  margin: clamp(48px, 6vw, 72px) 0 0;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
}

/* ---------- Spotted in the wild ---------- */
.spotted {
  background:
    radial-gradient(var(--silver) 1.4px, transparent 1.6px) 0 0 / 22px 22px,
    var(--white);
  border-top: 3px solid var(--black);
  padding: clamp(64px, 8vw, 104px) 0;
}
.spots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.spot {
  margin: 0;
  border: 3px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--silver-light);
  transform: rotate(-2deg);
}
.spot:nth-child(2) { transform: rotate(1.5deg); }
.spot:nth-child(3) { transform: rotate(-1deg); }
.spot:nth-child(4) { transform: rotate(2deg); }
.spot img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Phone wallpapers ---------- */
.wallpapers {
  background: var(--paper);
  border-top: 3px solid var(--black);
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}
.wps { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); justify-content: center; gap: 40px 48px; }
.wp { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  width: min(220px, 100%);
  padding: 8px;
  background: var(--black);
  border: 3px solid var(--black);
  border-radius: 36px;
  box-shadow: 6px 6px 0 var(--red);
}
.phone img { width: 100%; aspect-ratio: 1290 / 2796; border-radius: 28px; }
.wp-name { margin: 0; font-weight: 800; font-size: 1.1rem; }
.wp .btn { padding: .7em 1.4em; }

/* ---------- Apple Watch backgrounds ---------- */
.watchfaces {
  background:
    radial-gradient(var(--silver) 1.4px, transparent 1.6px) 0 0 / 22px 22px,
    var(--white);
  border-top: 3px solid var(--black);
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}
.wfs { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 40px 48px; }
.wf { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.watch {
  width: min(200px, 100%);
  padding: 10px;
  background: #1C1C1E;
  border: 3px solid var(--black);
  border-radius: 46px;
  box-shadow: 6px 6px 0 var(--red);
}
.watch img { width: 100%; aspect-ratio: 422 / 514; border-radius: 34px; }
.watch-sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.watch-dl {
  display: inline-block;
  font: 700 .85rem/1 var(--text);
  text-decoration: none;
  padding: .6em .95em;
  background: var(--black); color: var(--white);
  border: 2px solid var(--black); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--red);
  transition: transform .12s ease, box-shadow .12s ease;
}
.watch-dl:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--red); }
.watch-dl:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--red); }
.watch-dl:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.watch-how {
  max-width: 620px; margin: clamp(44px, 6vw, 64px) auto 0;
  padding: 22px 26px 20px;
  background: var(--white);
  border: 3px solid var(--black); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.watch-how h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.watch-how ol { margin: 0; padding-left: 1.3em; }
.watch-how li { margin: 6px 0; }
.watch-note { margin: 12px 0 0; color: #555; font-size: .95rem; }

/* ---------- Sticker slap ---------- */
body { position: relative; }
.slaps { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
.slap {
  position: absolute;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,.28));
  animation: slap .32s cubic-bezier(.3,1.4,.5,1) both;
}
.slap.gone { animation: slap-out .35s ease forwards; }
@keyframes slap-out { to { opacity: 0; } }
@keyframes slap {
  0%   { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1.3); opacity: 0; }
  60%  { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(.95); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1); opacity: 1; }
}
.slap-clear {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  font: 700 .8rem/1 var(--text);
  padding: .6em 1em;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--black); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
}
.slap-clear[hidden] { display: none; }
.slap-clear:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black); color: var(--white);
  text-align: center;
  padding: 48px 20px 56px;
  border-top: 6px solid var(--red);
}
.footer img { margin: 0 auto 14px; }
.footer p { margin: 4px 0; font-weight: 600; }
.footer .muted { color: var(--silver); font-weight: 500; font-size: .95rem; }
.footer a { color: var(--white); text-underline-offset: 3px; }
.footer a:hover { color: var(--silver); }
.footer .footer-privacy { max-width: 560px; margin: 14px auto 0; color: var(--silver); font-weight: 400; font-size: .85rem; line-height: 1.45; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .spots { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .card-wide { flex-direction: column; }
  .card-wide .card-art { border-right: 0; border-bottom: 3px solid var(--black); padding: 32px 20px; }
  .card-wide .buy { justify-content: space-between; }
  .card-wide .card-body { padding: 20px 22px 24px; }
}
@media (max-width: 600px) {
  .topnav-text { display: none; }
  .spots { gap: 18px; }
  .wps { gap: 24px 16px; }
  .wps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wfs { grid-template-columns: minmax(0, 300px); gap: 40px; }
  .watch-how { padding: 18px 18px 16px; }
  .phone { border-radius: 28px; padding: 6px; }
  .phone img { border-radius: 22px; }
  .cards { grid-template-columns: 1fr; gap: 24px; }
  .card-art { height: 260px; }
  .card-art img { max-height: 200px; }
  .brand span { font-size: 1.45rem; }
  .topbar-link { font-size: .85rem; padding: .5em .9em; }
  .strip { font-size: 1.12rem; gap: .4em .55em; padding: 16px 12px; flex-wrap: nowrap; }
  .strip i { font-size: .5em; }
  .footer .muted { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .slap, .slap.gone { animation: none; }
}
