:root {
  --ink: #17150f;
  --ink-soft: #2a261f;
  --paper: #ffffff;
  --paper-deep: #f7f6f3;
  --muted: #8b8578;
  --accent: #c13f25;
  --teal: #2d6a63;
  --line: rgba(23, 21, 15, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --serif: "Cormorant Garamond", "Playfair Display", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow: 0 22px 60px rgba(20, 17, 12, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

body[data-page="about"] {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

body[data-page="about"] main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.section {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 28px;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(23, 21, 15, 0.18);
}

.btn--light:hover {
  background: #fff;
  color: var(--ink);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: #a5321d;
  border-color: #a5321d;
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.text-link [data-icon] {
  transition: transform 0.2s ease;
}

.text-link:hover [data-icon] {
  transform: translateX(4px);
}

[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(19, 17, 13, 0.86);
  border-bottom: 1px solid var(--line-light);
  color: #fff;
  backdrop-filter: blur(14px);
}

body[data-page="home"] .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
}

.brand__en {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 24px 0 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-btn--menu {
  align-self: flex-start;
  margin-top: 22px;
  border-color: var(--line-light);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.menu-btn {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  background-color: rgba(23, 21, 15, 0.18);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #fff;
}

.hero__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 120px 24px 96px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: 3.6rem;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 34px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.35rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero__scroll-line {
  position: relative;
  width: 52px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(135deg);
}

/* Intro strip */
.intro-strip {
  background: var(--ink);
  color: var(--paper);
}

.intro-strip > * {
  width: min(900px, 100%);
  margin-right: auto;
  margin-left: auto;
  padding-right: 24px;
  padding-left: 24px;
}

.intro-strip .eyebrow {
  padding-top: 84px;
}

.intro-strip h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.intro-strip p:last-child {
  max-width: 680px;
  padding-bottom: 84px;
  color: rgba(244, 241, 234, 0.76);
}

/* Section heads */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

/* Work grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-grid {
  columns: 4;
  column-gap: 20px;
}

.work-card {
  overflow: hidden;
  break-inside: avoid;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-deep);
}

.work-card__media {
  position: relative;
  overflow: hidden;
  background: #dcd6ca;
}

.work-card__media.is-landscape {
  aspect-ratio: 4 / 3;
}

.work-card__media.is-portrait {
  aspect-ratio: 3 / 4;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-card__media img {
  transform: scale(1.045);
}

.work-card__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(23, 21, 15, 0.66);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.work-card:hover .work-card__zoom,
.work-card:focus-within .work-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.favorite-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(23, 21, 15, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.favorite-remove:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.favorite-block {
  margin-bottom: 56px;
}

.favorite-block__title {
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--ink);
}

.favorite-year-block {
  margin-bottom: 36px;
}

.favorite-year-block__title {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--accent);
}

.favorite-year-block .work-grid--full {
  margin-top: 0;
}

.favorites-empty {
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
}

.favorites-empty .btn {
  margin-top: 18px;
}

.work-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
}

.work-card__meta h3 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.work-card__meta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.work-card__medium {
  display: block;
  margin: 2px 0 5px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
}

.work-card__group {
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 0.88rem;
}

.work-grid--full {
  margin-top: 28px;
}

/* About band */
.about-band {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--ink);
  color: var(--paper);
}

.about-band__image {
  min-height: 560px;
}

.about-band__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-band__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px);
}

.about-band__content h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.about-band__content p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(244, 241, 234, 0.76);
}

/* Project index */
.project-block {
  margin-bottom: 84px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.project-block--child {
  margin-bottom: 56px;
  padding-left: 28px;
}

.project-block__head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 28px;
}

.project-block__index {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--muted);
}

.project-block__head h2 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.project-block__head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-block__cover {
  margin-bottom: 30px;
}

.project-block__cover img {
  width: 100%;
  max-height: 76vh;
  object-fit: cover;
}

.project-block__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
}

.project-block .work-card {
  border: 0;
  background: transparent;
}

.project-block .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 20px;
}

.project-block .work-card {
  margin-bottom: 0;
}

.project-block .work-card__media {
  aspect-ratio: 4 / 3;
}

.project-block .work-card__meta {
  padding: 14px 0 0;
}

/* Shop empty state */
.shop-empty {
  grid-column: 1 / -1;
  max-width: 640px;
  margin: 20px auto 76px;
  padding: 58px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
  text-align: center;
  color: var(--muted);
}

.shop-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.shop-empty h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.7rem;
}

.shop-empty p {
  max-width: 420px;
  margin: 0 auto 26px;
  line-height: 1.8;
}

.shop-empty .btn {
  margin-top: 0;
}

/* Product cards */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dcd6ca;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  background: rgba(23, 21, 15, 0.78);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.product-card__status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 3px;
  background: rgba(244, 241, 234, 0.94);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__body h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.product-card__body .product-card__edition {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-card__price {
  margin-top: auto;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.product-card__actions .btn {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 0.88rem;
}

.product-card__actions .icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.product-card__actions .icon-btn:hover {
  background: var(--ink);
  color: #fff;
}

.product-grid--full {
  margin-top: 14px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 80px 20px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

.empty-state [data-icon] {
  color: var(--accent);
}

/* Ongoing projects */
.ongoing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ongoing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
}

.ongoing-card--wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.15fr 1fr;
}

.ongoing-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dcd6ca;
}

.ongoing-card--wide .ongoing-card__media {
  min-height: 330px;
  aspect-ratio: auto;
}

.ongoing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ongoing-card:hover .ongoing-card__media img {
  transform: scale(1.04);
}

.ongoing-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.status-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.ongoing-card__body h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.ongoing-card__body p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.progress-row strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
}

.progress-track {
  display: block;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-deep);
}

.progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
}

/* Page hero */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 56px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.page-hero h1 {
  margin-bottom: 10px;
  font-size: 3rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.page-hero .eyebrow {
  margin-bottom: 14px;
  font-size: 0.68rem;
}

.original-note {
  max-width: 620px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: center;
}

.page-hero--shop {
  background: #ece7db;
}

.page-hero + .section {
  padding-top: 28px;
}

/* Filters */
.filter-stack {
  margin-bottom: 36px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.filter-row + .filter-row {
  margin-top: 12px;
}

.filter-label {
  flex-shrink: 0;
  min-width: 44px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row--tools {
  flex-wrap: wrap;
  margin-top: 14px;
}

.search-input,
.sort-select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search-input {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}

.sort-select {
  min-width: 150px;
}

.sort-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.sort-toggle:hover {
  border-color: var(--ink);
}

.filter-btn {
  margin-right: 22px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.is-active {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

/* About page */
.about-page {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 640px;
}

.about-page__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 9vw, 130px);
}

.about-page__content h1 {
  margin-bottom: 20px;
  font-size: 2.6rem;
}

.about-page__content p {
  max-width: 620px;
  margin-bottom: 18px;
  color: #4c473e;
}

.about-page__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.about-page__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
}

.about-page__stats span {
  color: var(--muted);
  font-size: 0.84rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-item {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.service-item [data-icon] {
  margin-bottom: 18px;
  color: var(--accent);
}

.service-item h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.service-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact band */
.contact-band {
  padding: clamp(80px, 11vw, 150px) 28px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.contact-band h2 {
  margin-bottom: 28px;
  font-size: 2.1rem;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 241, 234, 0.82);
}

.contact-list [data-icon] {
  color: var(--accent);
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head,
.cart-drawer__foot {
  padding: 20px 22px;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 70px 10px;
  color: var(--muted);
  text-align: center;
}

.cart-empty [data-icon] {
  color: var(--accent);
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 4px;
  background: #dcd6ca;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info h3 {
  margin-bottom: 3px;
  font-size: 0.98rem;
}

.cart-item__info p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.qty-control button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.cart-item__price {
  font-family: var(--serif);
  font-weight: 700;
}

.remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.remove-btn:hover {
  color: var(--accent);
}

.cart-drawer__foot {
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.cart-drawer__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cart-drawer__total strong {
  font-family: var(--serif);
  font-size: 1.5rem;
}

/* Overlay + modals */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 12, 9, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(12px);
  transition: transform 0.22s ease;
}

.overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(14, 12, 9, 0.55);
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(10, 9, 7, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  height: fit-content;
}

.lightbox__inner img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 28px);
  object-fit: contain;
  transform-origin: center center;
  transform: translate(0, 0) scale(1);
  transition: transform 0.16s ease;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.lightbox__inner img.is-dragging {
  transition: none;
  cursor: grabbing;
}

.lightbox__meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 70%;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.lightbox__meta h3 {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.15rem;
}

.lightbox__meta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.lightbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-nav--prev {
  left: 24px;
}

.lightbox-nav--next {
  right: 24px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.quickview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.quickview__media {
  min-height: 460px;
  background: #dcd6ca;
}

.quickview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview__content {
  display: flex;
  flex-direction: column;
  padding: 38px;
}

.quickview__content .eyebrow {
  margin-bottom: 8px;
}

.quickview__content h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.quickview__content .quickview__price {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.quickview__content p {
  color: var(--muted);
  font-size: 0.94rem;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 700;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

/* Checkout */
.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.checkout-form .field--full {
  grid-column: 1 / -1;
}

.checkout-success {
  padding: 50px 24px;
  text-align: center;
}

.checkout-success [data-icon] {
  color: var(--teal);
}

.checkout-success h2 {
  margin: 18px 0 10px;
  font-size: 1.8rem;
}

.checkout-success .order-code {
  display: inline-block;
  margin: 14px 0 8px;
  padding: 8px 16px;
  border: 1px dashed var(--line);
  font-family: var(--serif);
  font-weight: 700;
}

.checkout-success p {
  max-width: 520px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  color: var(--muted);
}

.auth-error {
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.85rem;
}

.account-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.account-row strong {
  font-size: 0.92rem;
}

.account-row small {
  color: var(--muted);
  font-size: 0.78rem;
  word-break: break-all;
}

.favorite-group {
  margin-bottom: 16px;
}

.favorite-group__title {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--accent);
}

.favorite-year {
  margin-bottom: 10px;
}

.favorite-year__label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--muted);
}

.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(247, 246, 243, 0.98);
}

.admin-gate.is-hidden {
  display: none;
}

.admin-gate__box {
  width: min(430px, 100%);
  padding: 38px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.admin-gate__box h1 {
  margin-bottom: 10px;
  font-size: 1.9rem;
}

.admin-gate__box .field {
  margin-bottom: 14px;
  text-align: left;
}

.admin-gate__box .primary {
  width: 100%;
  margin-top: 4px;
}

.admin-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.accounts-table button {
  margin-top: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.accounts-table button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.checkout-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast [data-icon] {
  color: #f0b49f;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  background: transparent;
  color: #fff;
}

/* Footer */
.site-footer {
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.site-footer__inner--contact {
  align-items: center;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  text-align: center;
}

.site-footer__contact {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer__brand p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(244, 241, 234, 0.6);
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  color: rgba(244, 241, 234, 0.82);
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  width: min(1240px, 100%);
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 241, 234, 0.45);
  font-size: 0.8rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .work-grid {
    columns: 3;
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    columns: 2;
  }

  .project-block .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-band,
  .about-page {
    grid-template-columns: 1fr;
  }

  .about-band__image {
    min-height: 380px;
  }

  .about-page {
    min-height: auto;
  }

  .about-page__media {
    max-height: 520px;
  }

  .quickview {
    grid-template-columns: 1fr;
  }

  .quickview__media {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    min-height: 60px;
    padding: 0 16px;
  }

  .brand__en {
    display: none;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero__lead {
    font-size: 1.12rem;
  }

  .hero__scroll {
    right: 16px;
    bottom: 18px;
  }

  .section {
    padding: 56px 16px;
  }

  .section-head {
    display: block;
  }

  .section-head .text-link {
    margin-top: 16px;
  }

  .product-grid,
  .service-grid,
  .ongoing-grid,
  .about-page__stats,
  .checkout-form {
    grid-template-columns: 1fr;
  }

  .work-grid {
    columns: 2;
    column-gap: 12px;
  }

  .project-block .work-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 12px;
  }

  .work-card {
    margin-bottom: 12px;
  }

  .work-card__meta {
    padding: 12px 12px 14px;
  }

  .work-card__meta h3 {
    font-size: 0.95rem;
  }

  .work-card__medium {
    font-size: 0.66rem;
  }

  .ongoing-card--wide {
    display: block;
  }

  .about-band__image {
    min-height: 300px;
  }

  .page-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .quickview__content {
    padding: 28px 20px;
  }

  .cart-drawer {
    width: 100%;
  }

  .modal {
    max-height: 92vh;
  }

  .lightbox {
    padding: 8px;
  }

  .lightbox__inner img {
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-nav--prev {
    left: 6px;
  }

  .lightbox-nav--next {
    right: 6px;
  }

  .lightbox__meta {
    left: 8px;
    bottom: 8px;
    right: auto;
    max-width: 82%;
  }
}

@media (min-width: 960px) {
  .hero h1 {
    font-size: 5.2rem;
  }
}

@media (min-width: 1300px) {
  .hero h1 {
    font-size: 6rem;
  }
}
