/* COLDMERESTUDIOS — static site styles. No external resources. */

:root {
  --bg: #f4efe6;
  --ink: #111111;
  --white: #ffffff;
  --yellow: #ffd23f;
  --purple: #b79cff;
  --orange: #ff7a59;
  --border: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  padding: 22px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chip {
  display: inline-block;
  border: var(--border);
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.chip--yellow { background: var(--yellow); }
.chip--white { background: var(--white); }

a.chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

a.chip:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(36px, 8vw, 96px) 0 clamp(56px, 9vw, 112px);
}

.hero .wrap { position: relative; }

.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.1rem, 12.5vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.sticker {
  display: inline-block;
  background: var(--purple);
  border: 4px solid var(--ink);
  padding: 0 0.14em;
  margin: 0.04em 0;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.hero .lede {
  position: relative;
  z-index: 2;
  max-width: 30rem;
  margin: clamp(22px, 3vw, 36px) 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
}

.shape {
  position: absolute;
  z-index: 1;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
}

.shape--circle {
  width: clamp(110px, 20vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  right: var(--gutter);
  top: clamp(20px, 4vw, 60px);
  animation: bob 5s ease-in-out infinite;
}

.shape--square {
  width: clamp(70px, 11vw, 150px);
  aspect-ratio: 1;
  background: var(--yellow);
  right: calc(var(--gutter) + clamp(70px, 14vw, 190px));
  bottom: clamp(24px, 5vw, 70px);
  transform: rotate(12deg);
  animation: spin 14s linear infinite;
}

.shape--star {
  position: absolute;
  z-index: 1;
  width: clamp(54px, 7vw, 92px);
  right: calc(var(--gutter) + clamp(10px, 2vw, 30px));
  bottom: clamp(30px, 5vw, 80px);
  border: 0;
  box-shadow: none;
  animation: spin 18s linear infinite reverse;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes spin {
  to { transform: rotate(372deg); }
}

/* ---------- Marquee ---------- */

.marquee-wrap {
  overflow: hidden;
  padding: 14px 0;
}

.marquee {
  background: var(--ink);
  color: var(--bg);
  border-block: var(--border);
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1deg);
  margin: 0 -2vw;
}

.marquee__track {
  display: inline-flex;
  animation: scroll 28s linear infinite;
}

.marquee__track span {
  padding: 14px 22px;
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.marquee__track span:nth-child(even) { color: var(--yellow); }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

section { padding: clamp(56px, 9vw, 112px) 0 0; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 clamp(26px, 4vw, 44px);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
}

.shot {
  margin: 0;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.18s ease;
}

.shot:nth-child(even) { margin-top: clamp(14px, 3vw, 40px); }

.shot:hover { transform: translateY(-6px) rotate(0deg); }

.shot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.shot text {
  font-family: var(--display);
  font-weight: 900;
}

/* ---------- Contact ---------- */

.contact-box {
  padding: clamp(28px, 6vw, 64px);
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-box h2 { margin: 0; }

.contact-box p { margin: 10px 0 0; font-weight: 600; max-width: 26rem; }

.mail {
  display: inline-block;
  padding: 14px 22px;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  text-decoration: none;
  word-break: break-all;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.mail:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.mail:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(56px, 9vw, 112px);
  padding: 26px 0 34px;
  border-top: var(--border);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.site-footer a { text-underline-offset: 3px; }

/* ---------- Text pages (privacy, 404) ---------- */

.doc {
  padding: clamp(28px, 6vw, 64px) 0 0;
  max-width: 46rem;
}

.doc h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.doc .updated { margin: 0 0 32px; font-weight: 600; opacity: 0.7; }

.doc h2 {
  margin: 36px 0 10px;
  font-size: 1.3rem;
  letter-spacing: 0;
}

.doc p, .doc li { margin: 0 0 12px; }

.doc ul { padding-left: 1.2rem; margin: 0 0 12px; }

.doc a { text-underline-offset: 3px; font-weight: 700; }

.notfound {
  padding: clamp(48px, 12vw, 140px) 0 0;
}

.notfound .big {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(6rem, 28vw, 17rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.notfound p { font-size: 1.2rem; font-weight: 600; margin: 18px 0 28px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shape--star { display: none; }
  .shape--circle { opacity: 0.95; }
}

@media (max-width: 520px) {
  .shape--square { display: none; }
  .hero { padding-bottom: 72px; }
  .chip { font-size: 0.85rem; padding: 5px 10px; }
}

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