/* WREK: white, simple, graffiti. Same layout as Lack Jeans.
   Black ink, one spray red for the marker words, light concrete for the picture boxes. */
:root {
  --paper: #ffffff;
  --wall: #ecebe7;
  --ink: #141414;
  --red: #d4261c;
  --muted: #6e6c68;
  --text: #3a3936;
  --line: rgba(20, 20, 20, .12);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(18px, 4vw, 44px);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* small wide caps used for labels */
.eyebrow, .btn, .nav a, .announce, .tag, .link, .feature__num, .signup__form button, .footer__nav a, .footer__bottom, .menu-btn, .field label, .footer__col h4, .hero__chip {
  font-stretch: 125%; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 12px;
}
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 125%; }
h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.02em; line-height: 1; }
h3 { font-size: 18px; letter-spacing: -.01em; }

/* the spray-marker word in a heading */
.marker {
  display: inline-block;
  font-family: 'Permanent Marker', 'Archivo', cursive;
  font-weight: 400; font-stretch: normal; font-size: .9em; letter-spacing: 0; line-height: 1;
  color: var(--red);
  transform: rotate(-4deg) translateY(.04em);
}

/* ---------- top bar + header ---------- */
.announce { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 10px var(--pad); background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .28em; text-align: center; }
.announce__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); flex: none; }
.announce span { white-space: nowrap; }
@media (max-width: 900px) { .announce__wide { display: none; } }
.header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 8px max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__logo img { height: 68px; width: auto; transition: transform .4s var(--ease); }
.header__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav { display: flex; gap: clamp(18px, 3vw, 34px); }
.nav a, .footer__nav a { text-decoration: none; position: relative; padding: 4px 0; }
.nav a::after, .footer__nav a::after, .link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .footer__nav a:hover::after, .link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* phone menu button */
.menu-btn { display: none; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; font-size: 11px; }
.menu-btn__icon { position: relative; width: 18px; height: 10px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn__icon::before { top: 0; }
.menu-btn__icon::after { top: 8.5px; }
.header.is-open .menu-btn__icon::before { top: 4.25px; transform: rotate(45deg); }
.header.is-open .menu-btn__icon::after { top: 4.25px; transform: rotate(-45deg); }

/* ---------- buttons + links ---------- */
.btn { display: inline-block; padding: 18px 30px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; text-decoration: none; text-align: center; transition: transform .3s var(--ease), background .3s var(--ease); }
.btn:hover { transform: translateY(-2px); background: var(--red); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.link { display: inline-block; position: relative; padding: 4px 0; text-decoration: none; }
.link::after { transform: scaleX(1); transform-origin: left; }
.link:hover::after { animation: underline .7s var(--ease); }
.eyebrow { margin: 0 0 14px; color: var(--muted); letter-spacing: .3em; }
.tag { display: inline-block; padding: 7px 12px 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .24em; }

/* ---------- home: hero ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--pad) clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 6vw, 80px); align-items: center; animation: rise .9s var(--ease) both; }
.hero__title { margin: 0 0 24px; font-size: clamp(52px, 7.2vw, 104px); letter-spacing: -.03em; line-height: .92; }
.hero__lead { margin: 0 0 34px; max-width: 40ch; color: var(--text); font-size: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wall); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hero__img:hover img { transform: scale(1.03); }
.hero__chip { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 11px 18px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-decoration: none; font-size: 11px; letter-spacing: .18em; transition: transform .35s var(--ease); }
.hero__chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s var(--ease) infinite; }
.hero__chip:hover { transform: translateY(-2px); }

/* ---------- moving strip ---------- */
.ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* ---------- section heads + drop cards ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--pad); }
.section--tight { padding-top: 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.card { display: block; color: inherit; text-decoration: none; }
.card__img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wall); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.035) rotate(-.6deg); }
.card__img .tag { position: absolute; top: 16px; left: 16px; z-index: 1; }
/* second photo (the back) fades in on hover */
.card__img .card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card:hover .card__img .card__alt { opacity: 1; }

/* ---------- product page ---------- */
.product { max-width: var(--max); margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--pad) clamp(70px, 9vw, 120px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; animation: rise .9s var(--ease) both; }
.gallery { position: sticky; top: 100px; }
.gallery__main { border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--wall); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s var(--ease); }
.gallery__main img.fading { opacity: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 1.5px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--wall); opacity: .65; transition: border-color .3s var(--ease), opacity .3s var(--ease); }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--ink); opacity: 1; }
.buy { padding-top: 8px; }
.buy .tag { margin-bottom: 18px; }
.buy h1 { font-size: clamp(44px, 5.2vw, 70px); letter-spacing: -.02em; line-height: .95; }
.buy__sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 14px 0 26px; font-size: 18px; color: var(--muted); }
.buy__price { color: var(--ink); font-weight: 800; font-stretch: 125%; font-size: 22px; }
.buy__desc { margin: 0 0 22px; color: var(--text); font-size: 17px; max-width: 46ch; }
.buy__list { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.buy__list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; }
.buy__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.buy__btn { display: block; width: 100%; }
.buy__note { margin: 14px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.card__row h3 { font-size: 19px; }
.card__meta { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.card__price { font-weight: 800; font-stretch: 125%; font-size: 17px; }

/* ---------- features ---------- */
.features { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 70px) var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__num { display: block; margin-bottom: 18px; color: var(--red); letter-spacing: .3em; }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: var(--text); font-size: 15px; max-width: 32ch; }
.spacer { height: clamp(70px, 9vw, 120px); }

/* ---------- about: story ---------- */
.story { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(70px, 9vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.story__img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--wall); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.story__img:hover img { transform: scale(1.03); }
.story__text h2 { margin-bottom: 22px; }
.story__text p:not(.eyebrow) { margin: 0 0 16px; max-width: 46ch; color: var(--text); font-size: 17px; }
.story__text .link { margin-top: 12px; }

/* ---------- inner page header ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--pad) clamp(30px, 4vw, 50px); animation: rise .9s var(--ease) both; }
.page-title { margin: 0; font-size: clamp(42px, 6.6vw, 92px); letter-spacing: -.03em; line-height: .95; }
.page-lead { margin: 22px 0 0; max-width: 52ch; color: var(--text); font-size: 18px; }

/* ---------- contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(70px, 9vw, 120px); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.contact__info h3 { margin: 0 0 8px; font-size: 16px; }
.contact__info p { margin: 0 0 26px; color: var(--text); font-size: 15px; max-width: 34ch; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 11px; }
.field input, .field textarea { width: 100%; padding: 15px 16px; border: 1.5px solid rgba(20, 20, 20, .2); border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .25s var(--ease), background .25s var(--ease); }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fafaf8; }
.field--trap { position: absolute; left: -9999px; }
.form .btn { justify-self: start; padding: 18px 34px; }
.form__msg { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- email signup ---------- */
.signup { background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 110px) var(--pad); }
.signup__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.signup h2 { margin-bottom: 14px; }
.signup__inner > p { margin: 0 0 30px; color: rgba(255, 255, 255, .65); }
.signup__form { display: flex; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 5px; transition: border-color .3s var(--ease); }
.signup__form:focus-within { border-color: #fff; }
.signup__form input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 16px; padding: 12px 18px; outline: none; }
.signup__form input::placeholder { color: rgba(255, 255, 255, .45); }
.signup__form button { background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 12px 22px; font-size: 11px; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.signup__form button:hover { transform: scale(1.04); background: var(--red); color: #fff; }
.signup__form button[disabled] { opacity: .6; transform: none; }
.signup__msg { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ---------- footer ---------- */
.footer { padding: clamp(48px, 7vw, 80px) var(--pad) 26px; }
.footer__top { max-width: calc(var(--max) - 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin: 14px 0 0; max-width: 30ch; color: var(--muted); font-size: 15px; }
.footer__logo { height: 90px; width: auto; }
.footer__col h4 { margin: 0 0 16px; color: var(--muted); font-size: 10px; letter-spacing: .3em; }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__social { display: contents; }
.footer__bottom { max-width: calc(var(--max) - 2 * var(--pad)); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; color: var(--muted); font-size: 10px; letter-spacing: .22em; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.feature.reveal:nth-child(2) { transition-delay: .08s; }
.feature.reveal:nth-child(3) { transition-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

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

/* ---------- smaller screens ---------- */
@media (max-width: 820px) {
  .hero, .story, .contact, .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .header__logo img { height: 54px; }
  .features { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .story__img { order: 2; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  /* phone menu: the nav drops down under the header */
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px var(--pad) 18px; background: #fff; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
}
@media (max-width: 520px) {
  .announce { gap: 10px; letter-spacing: .2em; }
  .cards, .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .section__head { flex-direction: column; align-items: flex-start; }
}
