/* Atlanuh site styles. Palette = the four RYCH color block panels on an off-white ground. */
:root {
  /* Pulled from the RYCH color block hoodie: four panels on a clean ground. */
  --ink: #111111;
  --ink-soft: #33322f;
  --muted: #66645e;
  --cream: #f3f2ee;
  --paper: #ffffff;
  --line: #dedcd5;
  --clay: #e4202f;      /* red panel: links, eyebrows */
  --clay-dark: #b8141f;
  --peach: #f2b705;     /* yellow panel: focus, dots */
  --pine: #1d7a46;      /* green panel */
  --blue: #1f4fbf;      /* blue panel */
  --radius: 12px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.02; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: var(--cream); }
.btn-solid:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(243,242,238,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: var(--display); font-size: 1.9rem; letter-spacing: .04em; color: var(--ink); text-decoration: none; text-transform: uppercase; }
.logo { display: inline-flex; line-height: 0; }
.logo img { height: 36px; width: auto; }
.site-footer .logo img { height: 44px; margin-bottom: 16px; }
@media (max-width: 760px) { .logo img { height: 30px; } }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--clay); }
.nav .btn { padding: 9px 16px; font-size: .92rem; }
.nav .btn-solid, .nav .btn-solid:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; padding: 6px 10px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav .btn { margin-top: 8px; width: auto; }
}

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--clay); }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; border-radius: 18px;
  background:
    linear-gradient(90deg, var(--clay) 50%, var(--blue) 50%) top / 100% 50% no-repeat,
    linear-gradient(90deg, var(--peach) 50%, var(--pine) 50%) bottom / 100% 50% no-repeat; }
.hero-collage a { border-radius: 8px; overflow: hidden; background: var(--paper); }
.hero-collage a:first-child { grid-row: span 2; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.hero-photo { display: block; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-collage a:first-child img { aspect-ratio: auto; object-fit: contain; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Strip */
.strip { background: var(--ink); color: var(--cream); padding: 14px 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.strip li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--peach); margin-right: 10px; vertical-align: middle; }
.strip li:nth-child(4n+1)::before { background: var(--clay); }
.strip li:nth-child(4n+2)::before { background: var(--blue); }
.strip li:nth-child(4n+3)::before { background: var(--peach); }
.strip li:nth-child(4n+4)::before { background: var(--pine); }
.blocks { display: flex; height: 6px; }
.blocks i { flex: 1; }
.blocks i:nth-child(1) { background: var(--clay); } .blocks i:nth-child(2) { background: var(--blue); }
.blocks i:nth-child(3) { background: var(--peach); } .blocks i:nth-child(4) { background: var(--pine); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 600px) { .section { padding: 52px 0; } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,18,16,.10); color: var(--ink); }
.post-card:hover { color: var(--ink); }
.card-img { aspect-ratio: 1; background: #ece3d4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-name { font-weight: 700; line-height: 1.3; font-size: .98rem; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.price { font-weight: 700; }
.card[hidden] { display: none; }

/* Product page */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } }
.gallery { position: sticky; top: 90px; display: grid; gap: 12px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--paper); cursor: pointer; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: .2em; }
.product-price { font-size: 1.5rem; font-weight: 700; margin: 0 0 16px; }
.product-info .lede { margin-top: 0; }
.opt { margin: 6px 0; color: var(--ink-soft); }
.opt strong { display: inline-block; min-width: 64px; color: var(--ink); }
.btn-buy { margin-top: 22px; font-size: 1.05rem; padding: 16px 34px; }
.buy-note { font-size: .88rem; color: var(--muted); margin: 10px 0 28px; max-width: 46ch; }
.h-small { font-size: 1.5rem; margin-top: 1.4em; }
.details { padding-left: 1.1em; }
.details li { margin: 4px 0; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: var(--cream); }
.result-count { color: var(--muted); font-size: .92rem; margin: -12px 0 20px; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .collections { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .collections { grid-template-columns: 1fr; } }
.coll { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; text-decoration: none; color: #fff; background: var(--ink); }
.coll img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .3s ease, opacity .3s ease; }
.coll:hover, .coll:focus { color: #fff; }
.coll:hover img { transform: scale(1.04); opacity: .65; }
.coll-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.coll-label strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; display: block; line-height: 1.05; }
.coll-label span { font-size: .88rem; opacity: .9; }

/* City band */
.city-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.city-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.city-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 65%, rgba(0,0,0,0) 100%); }
.city-band-text { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.city-band h2 { max-width: 16ch; color: #fff; }
.city-band .eyebrow { color: var(--peach); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--peach); border-color: var(--peach); color: var(--ink); }
@media (max-width: 600px) { .city-band-text { padding-top: 72px; padding-bottom: 72px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 2.4rem; color: var(--clay); display: block; line-height: 1; margin-bottom: 10px; }
.step:nth-child(2)::before { color: var(--blue); }
.step:nth-child(3)::before { color: var(--pine); }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--ink-soft); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--clay); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review figcaption { color: var(--muted); font-size: .9rem; margin-top: auto; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { margin-top: 1.4em; }

/* Page header */
.page-head { padding: 52px 0 28px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Journal */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card .card-body { padding: 16px 18px 20px; }
.post-card h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.12rem; line-height: 1.3; margin: 0; }
.post-cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.article { max-width: 740px; margin: 0 auto; }
.article-hero { border-radius: var(--radius); margin: 24px 0 32px; }
.article-body { font-size: 1.08rem; }
.article-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
.article-body img { border-radius: var(--radius); margin: 24px 0; }
.article-body blockquote { border-left: 4px solid var(--clay); margin: 24px 0; padding: 4px 0 4px 20px; color: var(--ink-soft); }
.byline { color: var(--muted); font-size: .92rem; }
.sources { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc6ba; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color: var(--cream); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: var(--cream); }
.fine { border-top: 1px solid #332e2a; margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
