/* Dannan Luggage launch page
   Layout: deep-purple hero band with the photo bleeding off the right edge; everything after it sits
   quietly on paper, with the navy band from the shop card closing the page. Tokens live in base.css. */
:root {
  --hero: #2a1a57;
  --on-hero: #ffffff;
  --on-hero-muted: #cfc6ec;
  --hero-line: rgb(255 255 255 / 0.18);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --hero: #1d1243; --on-hero-muted: #bdb2e2; }
}
:root[data-theme="dark"] { --hero: #1d1243; --on-hero-muted: #bdb2e2; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }

.skip { position: absolute; top: 0; left: -999px; z-index: 60; padding: 0.6rem 1rem; background: var(--surface); }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: env(safe-area-inset-top, 0px);
  background: var(--paper);
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 1rem 2rem; padding-block: 0.7rem; }
.top .logo { height: 50px; }
.top-nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: 0.93rem; font-weight: 500; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.call-btn { gap: 0.55rem; }
.call-btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .top-nav { display: none; }
  .call-btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .top .logo { height: 42px; }
  .call-btn .call-label { display: none; }
  .call-btn { width: 44px; padding: 0; }
}

/* ---------- hero ---------- */
.hero { background: var(--hero); color: var(--on-hero); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 2.5rem 4rem;
  padding-block: 4rem 4.5rem;
}
.hero .tag { font-size: 0.72rem; }
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: normal; color: var(--tag); }
.hero-lede { max-width: 46ch; margin-top: 1.4rem; color: var(--on-hero-muted); font-size: 1.1rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn-tag { background: var(--tag); color: var(--on-tag); }
.btn-tag:hover { filter: brightness(1.06); }
.btn-outline-light { border-color: var(--hero-line); color: var(--on-hero); background: transparent; }
.btn-outline-light:hover { border-color: var(--on-hero); }
.hero .btn { min-height: 50px; padding: 0 1.4rem; font-size: 1rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 34rem;
  margin: 2.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hero-line);
}
.facts div { min-width: 0; }
.facts dt { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.facts dd { margin: 0.15rem 0 0; color: var(--on-hero-muted); font-size: 0.86rem; }

.hero-photo { position: relative; margin: 0; }
.hero-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: 10px;
}
.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 2.5rem 3rem; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 16 / 11; object-position: 50% 62%; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:last-child { grid-column: 1 / -1; }
}

/* ---------- shared section heads ---------- */
.section { padding-block: 5rem; }
.section-head { display: grid; gap: 0.75rem; max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 640px) { .section { padding-block: 3.5rem; } }

/* ---------- collection ---------- */
.collection {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.item { display: grid; gap: 0.9rem; align-content: start; }
.item-photo { position: relative; overflow: hidden; border-radius: 8px; background: var(--tile); }
.item-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.item:hover .item-photo img { transform: scale(1.03); }
.item-photo .tag { position: absolute; top: 0.85rem; left: 0.85rem; }
.item h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.item p { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
.item .meta { margin-top: -0.35rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink); }
@media (max-width: 960px) { .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .collection { grid-template-columns: 1fr; } }

.price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.price-note p { max-width: 52ch; }

/* ---------- size guide ---------- */
.sizes-band { background: var(--surface); border-block: 1px solid var(--line); }
.sizes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 4.5rem; align-items: center; }
.size-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.size-list li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.size-list .sz { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1; }
.size-list .sz small { display: block; margin-top: 0.35rem; font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.size-list strong { display: block; font-weight: 600; }
.size-list span { color: var(--muted); font-size: 0.93rem; }
.size-list .dims { display: block; margin-top: 0.2rem; font-family: var(--font-mono); font-size: 0.74rem; }

.lineup-fig { margin: 0; padding: 2rem 1.5rem 1.25rem; border-radius: 10px; background: var(--tile); }
.lineup {
  --lh: clamp(150px, 22vw, 250px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ink);
}
.lineup svg { display: block; width: auto; height: calc(var(--lh) * var(--s)); margin-inline: auto; }
.lineup-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.75rem; text-align: center; }
.lineup-labels div { display: grid; justify-items: center; gap: 0.3rem; }
.lineup-labels .spec { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.lineup-fig figcaption { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 860px) { .sizes-grid { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 3rem 4.5rem; align-items: center; }
.visit-photo { margin: 0; }
.visit-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}
.visit-photo figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--muted); }
.visit-copy h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.visit-copy > p { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.visit-facts { display: grid; gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.visit-facts div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.visit-facts dt { font: 600 0.7rem/1.9 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.visit-facts dd { margin: 0; font-weight: 600; }
.visit-facts .phone { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: 0.02em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (max-width: 860px) {
  .visit { grid-template-columns: 1fr; }
  .visit-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- notify ---------- */
.notify {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
}
.notify h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.03em; }
.notify p { margin-top: 0.75rem; opacity: 0.88; max-width: 44ch; }
.notify-form { display: grid; gap: 0.6rem; }
.notify-form label { font-size: 0.86rem; font-weight: 600; }
.notify-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.notify-row input {
  flex: 1 1 13rem;
  min-width: 0;
  height: 52px;
  padding: 0 1rem;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.notify-row input:focus { outline: none; border-color: var(--tag); }
.notify-row input[aria-invalid="true"] { border-color: var(--tag); }
.notify-row .btn { min-height: 52px; padding: 0 1.4rem; font-size: 1rem; }
.notify-small { font-size: 0.8rem; opacity: 0.85; }
.notify-msg { min-height: 1.4rem; font-size: 0.9rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify.done .notify-row, .notify.done .notify-small { display: none; }
@media (max-width: 860px) { .notify { grid-template-columns: 1fr; } }

/* ---------- follow ---------- */
.follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.follow a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s;
}
.follow a:hover { border-color: var(--ink); }
.follow strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.follow span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.follow svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
@media (max-width: 640px) { .follow { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--on-band); font-size: 0.9rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  padding-block: 2.75rem calc(3rem + env(safe-area-inset-bottom, 0px));
}
.foot-tagline { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.foot-small { margin-top: 0.4rem; color: var(--band-muted); font-size: 0.82rem; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 0; }
.foot-contact dt { margin-bottom: 0.3rem; font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--tag); }
.foot-contact dd { margin: 0; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
