/* Tipsy Pigeon front site. Paper is white, ink is black; colour comes from the shirts. */
:root {
  --ink: #000;
  --paper: #fff;
  --muted: #555;
  --line: #d9d9d6;
  --hot: #F26B21;           /* the house orange (Slow Lane ink) */
  --wrap: 1180px;
  /* side padding that lines full-width bands up with the centred content column */
  --gutter: max(clamp(16px, 4vw, 40px), calc((100% - var(--wrap)) / 2));
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--font); font-variation-settings: "opsz" 14; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 .4em; font-variation-settings: "opsz" 96, "wdth" 80; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36, "wdth" 90; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
.small { font-size: .88rem; color: var(--muted); }

/* header / footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter); border-bottom: 2px solid var(--ink); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; font-variation-settings: "opsz" 72, "wdth" 80; }
.brand img { width: auto; height: clamp(72px, 9vw, 110px); }
.foot-logo { width: 140px; height: auto; margin-bottom: 10px; }
.top nav { display: flex; gap: clamp(10px, 2.4vw, 28px); flex-wrap: wrap; }
.top nav a { text-decoration: none; font-weight: 600; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { border-color: var(--ink); }
.top .basket { background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; border: 0; }
.top .basket:hover { background: var(--hot); }
.foot { margin-top: 80px; border-top: 2px solid var(--ink); padding: 40px var(--gutter); display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.foot-brand { font-weight: 800; font-size: 1.4rem; margin-bottom: .2em; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot .small { grid-column: 1 / -1; margin: 0; }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); margin: 0 8px 8px 0; }
.btn:hover { background: var(--hot); border-color: var(--hot); color: #000; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* hero: a whole shirt-coloured field, the drawing printed big across it */
.hero { background: var(--shirt); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vw, 64px) var(--gutter); border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.hero-copy p { font-size: 1.15rem; max-width: 34ch; }
.hero-art { display: block; text-decoration: none; }
.hero-art img { width: 100%; max-width: 760px; margin-left: auto; }
.hero-art span { display: block; text-align: right; font-weight: 700; margin-top: 14px; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: march 1.1s cubic-bezier(.2, .8, .2, 1) both .15s; }
  @keyframes march { from { transform: translateX(14%); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* sections */
section { padding: 56px clamp(16px, 4vw, 40px) 0; max-width: calc(var(--wrap) + 80px); margin: 0 auto; }
.hero, .style-teaser { max-width: none; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: end; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }

/* new drop: each item sits on its own shirt colour */
.drop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.drop-item { display: flex; flex-direction: column; }
.drop-img { background: var(--shirt); display: block; aspect-ratio: 1; overflow: hidden; }
.drop-img img { width: 100%; height: 100%; object-fit: contain; }
.drop-text { padding-top: 12px; }
.drop-text h3 { margin-bottom: .15em; }
.drop-text h3 a { text-decoration: none; }
.drop-text h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.drop-text p { margin-bottom: .4em; color: var(--muted); }
.drop-buy { display: flex; justify-content: space-between; align-items: center; color: var(--ink) !important; font-weight: 700; }

/* swatches */
.swrow { display: inline-flex; gap: 6px; }
.sw { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); display: inline-block; }
.swrow.big .sw { width: 30px; height: 30px; }

/* grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 20px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.tile { display: block; aspect-ratio: 1; background: var(--tile, #fff); border: 1.5px solid var(--line); overflow: hidden; }
.card.house .tile { border-color: transparent; }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.card.first .tile img { padding: 8%; }
.card:hover .tile { border-color: var(--ink); }
.card-title { font-weight: 700; font-size: 1.05rem; line-height: 1.2; margin-top: 6px; }
.card-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.card-price { color: var(--ink); font-weight: 600; }
.card-sw { display: flex; gap: 5px; }
.card-sw .sw { width: 13px; height: 13px; border-width: 1px; }
.more { margin-top: 24px; }

.style-teaser { background: var(--ink); color: #fff; margin-top: 72px; padding: 56px var(--gutter); }
.style-teaser > div { max-width: var(--wrap); margin: 0 auto; }
.style-teaser .btn { background: #fff; color: #000; border-color: #fff; }
.style-teaser .btn.ghost { background: transparent; color: #fff; }
.style-teaser .btn:hover { background: var(--hot); border-color: var(--hot); color: #000; }

/* catalogue */
.cat-head { padding-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 8px; }
.search input { font: inherit; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 999px; width: min(360px, 80vw); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-weight: 600; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.count { color: var(--muted); }
.catalogue { padding: 0 clamp(16px, 4vw, 40px); max-width: calc(var(--wrap) + 80px); margin: 0 auto; }
.empty { text-align: center; padding: 40px 16px; }
.link { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }

/* detail */
.crumbs { max-width: calc(var(--wrap) + 80px); margin: 20px auto 0; padding: 0 clamp(16px, 4vw, 40px); color: var(--muted); font-size: .92rem; }
.detail { max-width: calc(var(--wrap) + 80px); margin: 16px auto 0; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.gallery { display: grid; gap: 16px; }
.gallery figure { margin: 0; border: 1.5px solid var(--line); }
.gallery figcaption { font-size: .85rem; color: var(--muted); padding: 6px 10px; border-top: 1.5px solid var(--line); }
.gallery .plain img { padding: 6%; }
.info { position: sticky; top: 24px; }
.info .tagline { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.price { font-size: 1.7rem; font-weight: 800; margin: .6em 0 .3em; }
.btn.buy { font-size: 1.1rem; padding: 14px 28px; }
.facts { margin: 24px 0 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.related h2 { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 24px; }

/* the style */
.prose-head .lede { font-size: 1.35rem; max-width: 40ch; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.rules > div { border-top: 6px solid var(--ink); padding-top: 14px; }
.rules h2 { font-size: 1.6rem; }
.lanes ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 28px; }
.lane { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.lane-ex { display: block; aspect-ratio: 1; background: var(--tile, #f1f1ee); }
.lane-ex img { width: 100%; height: 100%; object-fit: contain; }
.lane-ex.soon { display: grid; place-items: center; text-align: center; color: var(--muted); border: 2px dashed var(--line); padding: 16px; background: #fff; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art img { margin: 0 auto; }
  .hero-art span { text-align: left; }
  .sec-head { grid-template-columns: 1fr; gap: 8px; }
  .detail { grid-template-columns: 1fr; }
  .info { position: static; }
  .foot { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 120px 1fr; gap: 16px; }
  .top { flex-wrap: wrap; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
}
