/* a·dorn site — page chrome.
   Complements design-system/colors_and_type.css + components.css. */

:root {
  --site-max: 1280px;
  --gutter: 32px;
}

html, body { background: var(--bg1); }
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── SITE SHELL ─────────────────────────────────────── */
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site > main { flex: 1; }

.container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
  background: var(--bg1);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-logo { justify-self: start; display: inline-flex; align-items: center; }
.header-logo img { height: 30px; width: auto; display: block; }

.header-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}

.header-nav a {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg1);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-nav a:hover,
.header-nav a.active { border-bottom-color: var(--fg1); }
.header-nav a .ext { font-size: 0.85em; opacity: 0.6; }

.header-spacer { justify-self: end; }

/* mobile nav */
.header-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg1);
}

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--bg-inverse);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px var(--gutter) 40px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}
.footer-inner img { height: 36px; width: auto; }
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
  max-width: 44ch;
  letter-spacing: 0.01em;
}
.footer-tagline-ja {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.footer-bottom {
  max-width: var(--site-max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-sans-small);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* ── HERO (HOMEPAGE) ────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg1);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
  gap: 32px;
}

.hero-logo img {
  height: 88px;
  width: auto;
}

.hero-copy p {
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg1);
}

.hero-images {
  position: relative;
  overflow: hidden;
  background: #131313;
  aspect-ratio: 1 / 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1500ms ease;
}
.hero-slide.is-active { opacity: 1; }

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.hero-dots button.is-active {
  background: #ffffff;
  border-color: #ffffff;
}

/* ── SECTIONS ──────────────────────────────────────── */
.section {
  padding: 112px var(--gutter);
  max-width: var(--site-max);
  margin: 0 auto;
  width: 100%;
}
.section--tight { padding-top: 80px; padding-bottom: 80px; }
.section--fullbleed { max-width: none; padding-left: 0; padding-right: 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  gap: 24px;
}
.section-head .eyebrow {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
  margin-bottom: 14px;
  display: block;
}
.section-head h2 {
  font-family: var(--font-sans-display);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--fg1);
}
.section-head .head-link {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg1);
  padding-bottom: 4px;
  border-bottom: 0.5px solid var(--fg1);
  white-space: nowrap;
}
.section-head .head-link:hover { color: var(--color-purple-dark); border-color: var(--color-purple-dark); }

/* ── COLLECTION TILES (homepage) ───────────────────── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tile {
  display: block;
  cursor: pointer;
}
.tile-img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-slow);
  background: #0e0e0e;
}
.tile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile:hover .tile-img { transform: scale(1.01); }
.tile-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(19,19,19,0.15));
  pointer-events: none;
}
.tile-label {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.tile-label .name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--fg1);
}
.tile-label .meta {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
}

/* ── OUR STORY (split) ─────────────────────────────── */
.split {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 112px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: #0e0e0e;
}
.split-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 44ch;
}
.split-copy .eyebrow {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
}
.split-copy h2 {
  font-family: var(--font-sans-display);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.split-copy p {
  color: var(--fg2);
  font-size: 16px;
  line-height: 1.8;
}
.split-copy .byline {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-top: 8px;
}
.split-copy .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg1);
  border-bottom: 0.5px solid var(--fg1);
  padding-bottom: 4px;
  align-self: flex-start;
  margin-top: 8px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.split-copy .text-link:hover { color: var(--color-purple-dark); border-color: var(--color-purple-dark); }

/* ── ABOUT PAGE ────────────────────────────────────── */
.about {
  max-width: 960px;
  margin: 0 auto;
  padding: 96px var(--gutter);
}
.about-block {
  padding: 64px 0;
  border-bottom: 0.5px solid var(--border);
}
.about-block:first-of-type { padding-top: 0; }
.about-block:last-of-type { border-bottom: none; }

.about-eyebrow {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
  margin-bottom: 24px;
}
.about-title {
  font-family: var(--font-sans-display);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-attribution {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
  margin-bottom: 48px;
}
.about-quote {
  font-family: var(--font-sans-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.4;
  font-style: italic;
  color: var(--fg1);
  border-left: 0.5px solid var(--color-purple);
  padding-left: 28px;
  margin-bottom: 56px;
  max-width: 32ch;
}
.about-quote cite {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
  margin-top: 18px;
  font-family: var(--font-sans-small);
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.about-col h3 {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-bottom: 24px;
}
.about-col h3.ja { font-family: var(--font-sans-ja); letter-spacing: 0.1em; }
.about-col p { color: var(--fg1); font-size: 16px; line-height: 1.85; }
.about-col p + p { margin-top: 18px; }
.about-col.lang-ja p {
  font-family: var(--font-sans-ja);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.about-definition {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px 32px;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  margin: 40px 0;
  align-items: baseline;
}
.about-definition .term {
  font-family: var(--font-sans-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.about-definition .pron {
  font-family: var(--font-sans);
  font-size: 14px;
  font-style: italic;
  color: var(--fg2);
  letter-spacing: 0.02em;
}
.about-definition .def {
  grid-column: 1 / -1;
  color: var(--fg1);
  font-size: 16px;
  line-height: 1.7;
}

/* ── COLLECTIONS LANDING ───────────────────────────── */
.page-head {
  text-align: center;
  padding: 96px var(--gutter) 64px;
  max-width: var(--site-max);
  margin: 0 auto;
}
.page-head .eyebrow {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
  margin-bottom: 20px;
  display: block;
}
.page-head h1 {
  font-family: var(--font-sans-display);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.05;
}
.page-head .subtitle {
  color: var(--fg2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 44ch;
  margin: 18px auto 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 32px var(--gutter) 128px;
}
.cat-card { display: block; cursor: pointer; }
.cat-card-img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-slow);
  background: #0e0e0e;
}
.cat-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card:hover .cat-card-img { transform: scale(1.02); }
.cat-card-label {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.cat-card-label .name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fg1);
}
.cat-card-label .count {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg3);
}

/* ── CATEGORY DETAIL ───────────────────────────────── */
.cat-page {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 48px var(--gutter) 128px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-bottom: 36px;
  transition: color var(--transition-fast);
}
.back-link:hover { color: var(--fg1); }

.cat-title {
  font-family: var(--font-sans-display);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.cat-blurb {
  color: var(--fg2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 72px;
}

.featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 112px;
}
.featured-img {
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity var(--transition-slow);
  background: #0e0e0e;
}
.featured-img.is-fading { opacity: 0.5; }

.featured-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-info { display: flex; flex-direction: column; gap: 18px; max-width: 44ch; }
.featured-info .eyebrow {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-purple-dark);
}
.featured-info h2 {
  font-family: var(--font-sans-display);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 1.1;
}
.featured-info .materials {
  color: var(--fg2);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  border-top: 0.5px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
}
.featured-info .featured-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-sans-small);
  font-size: 12px;
  color: var(--fg2);
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-top: 12px;
}
.featured-info .featured-meta .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}
.featured-info .featured-meta .row dt {
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg2);
}
.featured-info .featured-meta .row dd { color: var(--fg1); }

.featured-info .featured-counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg2);
}
.featured-info .featured-counter .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--color-purple);
}

.featured-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.featured-nav-btn {
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 0.5px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.featured-nav-btn:hover {
  color: var(--color-purple-dark);
  border-bottom-color: var(--color-purple-dark);
}
.featured-nav-sep {
  color: var(--border-strong);
  font-size: 11px;
}

.series-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  gap: 24px;
}
.series-head h3 {
  font-family: var(--font-sans-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.03em;
}
.series-head .count {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg2);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.series-card { display: block; cursor: pointer; text-align: left; background: none; border: none; padding: 0; font: inherit; color: inherit; width: 100%; }
.series-card-img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-slow);
  position: relative;
  background: #0e0e0e;
}
.series-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.series-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0.5px solid transparent;
  border-radius: 4px;
  transition: border-color var(--transition-fast);
  pointer-events: none;
}
.series-card:hover .series-card-img { transform: scale(1.02); }
.series-card.is-current .series-card-img::after { border-color: var(--color-purple); }
.series-card-label {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--fg1);
}
.series-card.is-current .series-card-label { color: var(--color-purple-dark); }

/* ── BUTTON variants used in the site ─────────────── */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 32px;
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast);
}
.btn-hero:hover { background: #2a2a2a; }
.btn-hero:active { transform: scale(0.98); }
.btn-hero .arrow { font-size: 14px; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .series-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 16px var(--gutter);
  }
  .header-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    gap: 0;
    border-top: 0.5px solid var(--border);
    margin-top: 12px;
    padding-top: 12px;
  }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 14px 0; border-bottom: 0.5px solid var(--border); }
  .header-nav a:last-child { border-bottom: none; }
  .header-burger { display: inline-flex; justify-self: end; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-images { order: -1; aspect-ratio: 1 / 1; min-height: 0; }
  .hero-copy { padding: 56px var(--gutter); gap: 24px; }
  .hero-logo img { height: 64px; }

  .section { padding: 72px var(--gutter); }
  .section-head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 36px; }
  .section-head h2 { font-size: 32px; }

  .tile-grid { grid-template-columns: 1fr; gap: 32px; }

  .split { grid-template-columns: 1fr; gap: 40px; padding: 72px var(--gutter); }
  .split-img { aspect-ratio: 1 / 1; }
  .split-copy h2 { font-size: 32px; }

  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .about { padding: 64px var(--gutter); }
  .about-title { font-size: 40px; margin-bottom: 32px; }
  .about-quote { font-size: 22px; }
  .about-cols { grid-template-columns: 1fr; gap: 40px; }

  .page-head { padding: 64px var(--gutter) 40px; }
  .page-head h1 { font-size: 44px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); padding: 24px var(--gutter) 80px; gap: 24px 16px; }

  .cat-page { padding: 28px var(--gutter) 80px; }
  .cat-title { font-size: 40px; }
  .featured { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .featured-info h2 { font-size: 32px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .series-head h3 { font-size: 24px; }
}
