/* Coilwicks - Swiss Modernist art-print archive, Hackney London */

:root {
  --bg: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --rule: #E5E5E5;
  --rule-strong: #0A0A0A;
  --mute: #6B6B6B;
  --accent: #E63946;
  --accent-soft: #FBE8EA;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Typography */
h1, h2, h3, h4, .sec-title, .hero-title, .display {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.mono, .sec-num, .meta-num, .meta-label, .item-id, .item-tag,
.item-price small, .strip-track, .review-meta span,
.spec td, .studio-spec th, .studio-spec td,
.edition-list span:not(:first-child), .footer-spec,
.contact-list dt, .form-group label, .hero-stats dt {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600; font-size: 14.5px;
  padding: 12px 22px;
  background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink); border-radius: 0;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  letter-spacing: -0.005em;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter Tight", sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: -0.015em;
}
.nav-mark { color: var(--accent); flex-shrink: 0; }
.nav-links {
  display: flex; gap: 32px; list-style: none; margin: 0; padding: 0;
  font-size: 14px;
}
.nav-links a { position: relative; color: var(--ink); padding: 4px 0; font-weight: 500; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.6,.05,.05,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { padding: 90px 0 100px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
}
.meta-num {
  background: var(--accent); color: #fff;
  padding: 3px 8px; font-weight: 700;
}
.meta-line { flex: 0 0 50px; height: 1px; background: var(--ink); }
.meta-label { color: var(--mute); }

.hero-title {
  font-size: clamp(48px, 6.4vw, 96px);
  margin: 0 0 26px;
  font-weight: 800;
}
.hero-sub {
  font-size: 17.5px; max-width: 480px;
  margin-bottom: 32px; color: var(--ink-soft);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 0; padding: 24px 0 0;
  border-top: 1px solid var(--ink);
}
.hero-stats div {
  padding-right: 16px; border-right: 1px solid var(--rule);
}
.hero-stats div:last-child { border-right: none; }
.hero-stats dt {
  color: var(--mute); margin-bottom: 6px;
}
.hero-stats dd {
  margin: 0; font-family: "Inter Tight", sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: -0.01em;
}

/* Hero art (poster carousel) */
.hero-art { position: relative; }
.poster-carousel {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--rule);
}
.poster-frame {
  position: relative; height: 100%; overflow: hidden;
}
.poster-frame img {
  width: 100%; height: 100%; object-fit: cover;
  animation: zoom 16s ease-in-out infinite;
}
@keyframes zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.poster-stack {
  position: absolute; right: -20px; bottom: -20px;
  display: grid; grid-template-columns: repeat(2, 60px); grid-template-rows: repeat(2, 60px); gap: 8px;
}
.poster-tile {
  border: 1.5px solid var(--ink); background: #fff;
  animation: tile-pulse 4s ease-in-out infinite;
}
.poster-tile-1 { background: var(--accent); animation-delay: 0s; }
.poster-tile-2 { background: var(--ink); animation-delay: 1s; }
.poster-tile-3 { background: #f4d35e; animation-delay: 2s; }
.poster-tile-4 { background: #4c9dde; animation-delay: 3s; }
@keyframes tile-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Strip marquee */
.strip {
  background: var(--ink); color: #fff;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; padding: 14px 0;
}
.strip-track {
  display: inline-flex; gap: 44px; white-space: nowrap;
  animation: strip 30s linear infinite;
  font-size: 13px;
}
.strip-track span { color: #fff; }
.strip-track span:nth-child(5n+1) { color: var(--accent); }
@keyframes strip {
  from { transform: translateX(0); }
  to { transform: translateX(-33.33%); }
}

/* Sections */
section { padding: 110px 0; }
.sec-head { max-width: 720px; margin: 0 0 64px; }
.sec-num {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  display: inline-block; margin-bottom: 22px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
}
.sec-num.white { color: var(--accent); border-bottom-color: var(--accent); }
.sec-title {
  font-size: clamp(36px, 4.6vw, 60px);
  margin: 0 0 18px;
}
.sec-title.white { color: #fff; }
.sec-sub {
  font-size: 18px; max-width: 640px; color: var(--ink-soft);
}
.sec-sub.white { color: rgba(255, 255, 255, .78); }

/* Archive grid */
.archive-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.item {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background: var(--bg);
  transition: background .25s ease;
}
.item:hover { background: #FAFAFA; }
.item-img {
  overflow: hidden; aspect-ratio: 4/5;
  border-right: 1px solid var(--rule);
  background: #f4f4f4;
}
.item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,.2,.2,1);
}
.item:hover .item-img img { transform: scale(1.04); }
.item-info {
  padding: 26px 26px 22px;
  display: flex; flex-direction: column;
}
.item-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.item-id {
  background: var(--ink); color: #fff;
  padding: 3px 7px; font-weight: 700;
}
.item-tag { color: var(--mute); }
.item-name {
  font-family: "Inter Tight", sans-serif; font-weight: 700;
  font-size: 24px; line-height: 1.1; margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.item-desc {
  font-size: 15px; color: var(--ink-soft);
  margin: 0 0 16px;
}
.spec {
  width: 100%; border-collapse: collapse; margin-bottom: 18px;
  border-top: 1px solid var(--rule);
}
.spec tr td {
  padding: 8px 0; border-bottom: 1px solid var(--rule);
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.spec tr td:first-child { color: var(--mute); width: 40%; }
.spec tr td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.item-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: auto;
}
.item-price {
  font-family: "Inter Tight", sans-serif; font-weight: 700;
  font-size: 30px; letter-spacing: -0.015em;
}
.item-price small {
  font-family: "JetBrains Mono", monospace;
  margin-left: 6px; font-size: 11px;
  font-weight: 500; color: var(--mute);
}
.item-buy {
  font-family: "Inter Tight", sans-serif; font-weight: 600;
  font-size: 14px; padding: 8px 14px;
  border: 1.5px solid var(--ink);
  transition: background .2s ease, color .2s ease;
}
.item-buy:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Edition (bundle) */
.edition { background: var(--ink); color: #fff; }
.edition .sec-num { background: var(--accent); color: #fff; padding: 4px 8px; border: none; }
.edition-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.edition-list {
  list-style: none; padding: 0; margin: 30px 0;
  border-top: 1px solid #444;
}
.edition-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid #444;
  font-size: 15px;
}
.edition-list li span:nth-child(2) { color: var(--mute); }
.edition-list li span:nth-child(3) { font-family: "Inter Tight", sans-serif; font-weight: 600; min-width: 56px; text-align: right; }

.edition-price { margin: 30px 0; }
.edition-now {
  font-family: "Inter Tight", sans-serif; font-weight: 800;
  font-size: 78px; line-height: 1; letter-spacing: -0.03em;
  color: var(--accent);
}
.edition-now small {
  font-family: "JetBrains Mono", monospace;
  margin-left: 10px; font-size: 14px;
  color: #fff; opacity: .6;
}
.edition-was {
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.edition .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.edition .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

.edition-media {
  position: relative;
}
.edition-media img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border: 1.5px solid #fff;
}
.edition-tag {
  position: absolute; left: -20px; top: 30px;
  background: #fff; color: var(--ink);
  padding: 12px 16px;
  border: 1.5px solid var(--ink);
}
.edition-tag span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute); margin-bottom: 4px;
}
.edition-tag strong {
  font-family: "Inter Tight", sans-serif; font-weight: 700;
  font-size: 18px; letter-spacing: -0.005em;
}

/* Studio */
.studio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.studio-spec {
  width: 100%; border-collapse: collapse; margin-top: 26px;
  border-top: 1px solid var(--ink);
}
.studio-spec tr th, .studio-spec tr td {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left; vertical-align: top;
}
.studio-spec tr th {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute); font-weight: 500;
  width: 26%; padding-right: 12px;
}
.studio-spec tr td {
  font-family: "Inter", sans-serif; font-size: 16px;
}
.studio-image img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border: 1.5px solid var(--ink);
}

/* Reviews */
.reviews { background: #FAFAFA; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.review {
  padding: 30px 28px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background: #fff;
}
.review-rule { width: 28px; height: 2px; background: var(--accent); margin-bottom: 18px; }
.review-text {
  font-family: "Inter Tight", sans-serif; font-size: 17px;
  line-height: 1.4; letter-spacing: -0.012em;
  margin: 0 0 22px; color: var(--ink);
}
.review-meta strong {
  display: block;
  font-family: "Inter Tight", sans-serif; font-weight: 600;
  font-size: 15px; margin-bottom: 4px;
}
.review-meta span {
  display: block; color: var(--mute);
}

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-list {
  margin: 30px 0 0;
  border-top: 1px solid var(--ink);
}
.contact-list dt {
  color: var(--mute); margin-top: 16px;
}
.contact-list dd {
  margin: 4px 0 0;
  font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 500;
  padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.contact-list dd a { border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }

.contact-form {
  border: 1.5px solid var(--ink); padding: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; color: var(--mute);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink);
  font-family: "Inter", sans-serif; font-size: 15px;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Footer */
.footer {
  background: #fff; color: var(--ink);
  border-top: 1px solid var(--ink);
  padding: 70px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px;
  padding-bottom: 50px;
}
.footer-mark {
  display: block;
  font-family: "Inter Tight", sans-serif; font-weight: 800;
  font-size: 32px; letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.footer-brand p { color: var(--mute); font-size: 14.5px; max-width: 280px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.footer-cols h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute); margin: 0 0 16px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-cols a { font-size: 14.5px; }
.footer-cols a:hover { color: var(--accent); }
.footer-rule { height: 1px; background: var(--rule); margin-bottom: 28px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--mute);
}
.footer-bottom p { margin: 0; }
.footer-spec {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px !important; letter-spacing: 0.08em;
}

/* Legal pages */
.legal-page { padding: 80px 0 110px; }
.legal-content { max-width: 720px; }
.legal-content h1 {
  font-size: clamp(40px, 5vw, 60px); margin: 0 0 16px;
}
.legal-content h2 {
  font-family: "Inter Tight", sans-serif; font-weight: 700;
  font-size: 22px; margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.65; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }
.legal-updated {
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute); margin: 0 0 32px;
  display: inline-block;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--ink);
}

/* Result page */
.result-page { padding: 100px 0 120px; min-height: 60vh; }
.result-content { max-width: 580px; margin: 0 auto; text-align: center; }
.result-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; margin: 0 auto 28px;
  border: 1.5px solid var(--ink);
}
.result-content h1 {
  font-size: clamp(40px, 5.2vw, 64px); margin: 0 0 16px;
}
.result-sub { font-size: 17px; color: var(--ink-soft); margin: 0 0 36px; }
.result-details {
  text-align: left;
  border: 1.5px solid var(--ink); padding: 28px;
  margin-bottom: 30px;
}
.result-detail-row {
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 18px; font-weight: 700;
}
.result-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.result-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.step-num {
  width: 24px; height: 24px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  flex-shrink: 0; font-weight: 700;
}
.result-actions { display: flex; justify-content: center; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .archive-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero-grid, .edition-grid, .studio-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 60px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .hero-stats div:nth-child(2) { border-right: none; }
  .item { grid-template-columns: 1fr; }
  .item-img { border-right: none; border-bottom: 1px solid var(--rule); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  section { padding: 70px 0; }
  .edition-now { font-size: 60px; }
  .edition-tag { left: 10px; top: 10px; }
}
@media (max-width: 460px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track, .poster-frame img, .poster-tile { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
