:root {
  --bg: #18191d;
  --surface: #24262d;
  --surface-soft: #30333b;
  --line: #3d414b;
  --text: #f4f0ea;
  --muted: #b8bdc7;
  --accent: #8d1730;
  --accent-bright: #d24b49;
  --gold: #d9b86f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(141, 23, 48, 0.42), transparent 34rem),
    linear-gradient(180deg, #1b1c22 0%, var(--bg) 34rem);
  background-color: var(--bg);
  color: var(--text);
}

body.lightbox-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(36, 38, 45, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.header-actions,
.nav-links,
.hero-actions,
.quantity,
.thumb-row,
.newsletter div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.85rem;
  min-width: 18rem;
  min-height: 4rem;
  overflow: hidden;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
}

.brand-mark img,
.brand-mark video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links .nav-language {
  display: none;
}

.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.22rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: 0.15rem;
}

.nav-links {
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.4rem);
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.55rem 0;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  justify-content: flex-end;
  gap: 0.5rem;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(2rem, auto));
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.language-switcher button {
  min-width: 2.1rem;
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
}

.language-switcher button.active {
  background: var(--gold);
  color: #18191d;
}

.cart-button,
.menu-toggle,
.quantity button,
.thumb-row button,
.filter {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.cart-button,
.quantity button,
.thumb-row button {
  border-radius: 999px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.4rem;
  padding: 0 0.55rem 0 0.9rem;
}

.cart-icon {
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
}

.cart-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.cart-button b {
  display: grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--accent-bright);
  font-size: 0.78rem;
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 6rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.hero-media {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
}

.hero-copy h1,
.section-heading h2,
.product-detail h2,
.author-section h2,
.site-footer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1;
}

.hero-copy h1 {
  font-size: clamp(4rem, 9vw, 8.6rem);
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.product-detail p,
.author-section p,
.story-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p:not(.eyebrow) {
  max-width: 38rem;
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.button.danger,
.button.ghost.danger {
  color: #ffb9b9;
}

.button.small {
  min-height: 2.35rem;
  padding: 0 0.9rem;
  background: #0f1014;
}

.button.wide {
  width: 100%;
}

.section,
.product-feature,
.author-section,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section,
.product-feature,
.author-section {
  padding: 5rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 100%;
  justify-self: end;
  overflow-wrap: anywhere;
  text-align: right;
}

.section-heading h2,
.product-detail h2,
.author-section h2,
.site-footer h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.section-heading p {
  margin: 0;
}

.category-grid,
.product-grid,
.story-grid {
  display: grid;
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-card,
.product-card,
.story-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(210, 75, 73, 0.7);
  background: var(--surface-soft);
}

.category-card img {
  width: 100%;
  height: clamp(17.5rem, 26vw, 22.25rem);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.category-card div {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  padding: 1rem;
}

.category-card h3,
.product-info h3,
.story-grid h3 {
  margin: 0 0 0.45rem;
  font-family: Georgia, serif;
}

.category-card p,
.product-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.shop-layout {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.filters {
  position: sticky;
  top: 6.2rem;
  align-self: start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
}

.filters h3 {
  margin: 0 0 0.85rem;
}

.filter {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  text-align: left;
}

.filter.active,
.filter:hover {
  border-color: rgba(210, 75, 73, 0.7);
  background: rgba(210, 75, 73, 0.12);
}

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

.product-pagination {
  grid-column: 2;
  display: grid;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  text-align: center;
}

.gallery-pagination,
.story-pagination {
  display: grid;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  text-align: center;
}

.product-pagination[hidden],
.gallery-pagination[hidden],
.story-pagination[hidden] {
  display: none;
}

.product-pagination span,
.gallery-pagination span,
.story-pagination span {
  color: var(--muted);
  font-size: 0.92rem;
}

.pagination-nav {
  min-width: 8.5rem;
  min-height: 2.4rem;
  padding: 0 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.pagination-nav:hover:not(:disabled) {
  border-color: rgba(210, 75, 73, 0.7);
  background: rgba(210, 75, 73, 0.12);
}

.pagination-nav:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.45;
}

.product-card[hidden] {
  display: none;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-card.active-product-card {
  border-color: rgba(217, 184, 111, 0.72);
  box-shadow: 0 0 0 1px rgba(217, 184, 111, 0.2);
}

.product-image-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-info {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.6rem;
  padding: 1rem;
}

.product-info strong {
  color: var(--gold);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-self: end;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.product-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.main-product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  cursor: zoom-in;
  object-fit: cover;
  background: var(--surface);
}

.gallery-nav,
.gallery-zoom {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(24, 25, 29, 0.42);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  backdrop-filter: blur(12px);
  transition: opacity 160ms ease, background 160ms ease, transform 160ms ease;
}

.gallery-nav {
  top: calc(50% - 2.6rem);
  width: 2.8rem;
  height: 2.8rem;
  font-size: 2rem;
  line-height: 1;
}

.gallery-nav-prev {
  left: 0.9rem;
}

.gallery-nav-next {
  right: 0.9rem;
}

.gallery-zoom {
  top: 0.9rem;
  left: 0.9rem;
  width: 2.45rem;
  height: 2.45rem;
  font-size: 1.35rem;
}

.product-gallery:hover .gallery-nav,
.product-gallery:hover .gallery-zoom,
.gallery-nav:focus-visible,
.gallery-zoom:focus-visible {
  opacity: 1;
}

.gallery-nav:hover,
.gallery-zoom:hover {
  background: rgba(24, 25, 29, 0.72);
  transform: translateY(-1px);
}

.product-gallery.single-image .gallery-nav {
  display: none;
}

.thumb-row {
  gap: 0.8rem;
}

.thumb-row button {
  width: 5.2rem;
  height: 5.2rem;
  padding: 0.2rem;
  border-radius: var(--radius);
}

.thumb-row img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 3px);
  object-fit: cover;
}

.product-detail {
  width: 100%;
  min-width: 0;
  max-width: 30rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-detail h2 {
  max-width: 100%;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  overflow-wrap: anywhere;
}

.price {
  display: block;
  margin: 1rem 0;
  color: var(--gold);
  font-size: 1.5rem;
}

.quantity {
  width: max-content;
  margin: 1.5rem 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity button {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
}

.quantity span {
  min-width: 2rem;
  text-align: center;
}

.accordion {
  margin-top: 1.2rem;
}

.accordion details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.accordion summary {
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.masonry {
  columns: 3 16rem;
  column-gap: 1rem;
}

.portfolio-card {
  display: grid;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  break-inside: avoid;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, filter 160ms ease;
}

.portfolio-card:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.portfolio-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portfolio-card span {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
}

.portfolio-card strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.portfolio-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.story-grid article {
  padding: 1.2rem;
}

.story-grid article[data-read-article] {
  cursor: pointer;
}

.story-grid article:has(.story-image) {
  padding: 0;
}

.story-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.story-copy {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
}

.story-grid span {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.story-grid a {
  color: var(--text);
  font-weight: 700;
}

.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.article-modal,
.portfolio-modal,
.inquiry-modal,
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 2vw, 1.4rem);
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.article-modal.open,
.portfolio-modal.open,
.inquiry-modal.open,
.legal-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.article-modal-content {
  width: min(1180px, 100%);
  max-height: min(94dvh, 72rem);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content {
  width: min(860px, 100%);
  max-height: min(94dvh, 70rem);
  overflow: auto;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 0 0 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
}

.legal-body {
  display: grid;
  gap: 1.2rem;
}

.legal-body section {
  display: grid;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.legal-body h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-body p,
.legal-body ul {
  margin: 0;
}

.legal-body ul {
  padding-left: 1.2rem;
}

.cookie-banner {
  position: fixed;
  right: clamp(0.8rem, 3vw, 2rem);
  bottom: clamp(0.8rem, 3vw, 2rem);
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(760px, calc(100% - 1.6rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 34, 41, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portfolio-modal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: clamp(1rem, 3vw, 2rem);
  width: min(1120px, 100%);
  max-height: min(94dvh, 72rem);
  overflow: auto;
  padding: clamp(0.75rem, 2vw, 1.2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portfolio-modal .product-detail {
  max-width: none;
  padding: clamp(0.75rem, 2vw, 1.35rem);
  border: 0;
  background: transparent;
}

.portfolio-modal .product-detail h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.portfolio-description {
  margin: 1rem 0 1.4rem;
  color: var(--muted);
  line-height: 1.65;
}

.article-hero-image {
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
}

.article-video {
  position: relative;
  width: 100%;
  background: #050608;
}

.article-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(22rem, 52vw, 40rem);
  max-height: 78dvh;
  border: 0;
}

.article-video-play {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  width: 100%;
  min-height: min(64vw, 30rem);
  padding: 0;
  border: 0;
  background: #050608;
  color: var(--text);
  cursor: pointer;
}

.article-video-play span {
  position: relative;
  width: clamp(4rem, 9vw, 6rem);
  height: clamp(4rem, 9vw, 6rem);
  border-radius: 50%;
  background: rgba(210, 75, 73, 0.92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.article-video-play span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 0.9rem solid transparent;
  border-bottom: 0.9rem solid transparent;
  border-left: 1.35rem solid #fff;
  transform: translate(-50%, -50%);
}

.article-video-play strong {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
}

.article-video-play small {
  max-width: min(42rem, calc(100% - 2rem));
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.article-video a {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 11, 14, 0.78);
  color: var(--text);
  font-size: 0.82rem;
}

.article-body {
  padding: clamp(1rem, 3vw, 2rem);
}

.article-body h2 {
  margin: 0 0 1rem;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.article-body p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  white-space: pre-line;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.article-gallery img {
  width: 100%;
  height: clamp(5.5rem, 9vw, 8rem);
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 2px);
  cursor: zoom-in;
  object-fit: cover;
}

.article-close,
.inquiry-close {
  position: fixed;
  display: grid;
  place-items: center;
  top: 1rem;
  right: 1rem;
  z-index: 42;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  padding: 0;
}

.article-close::before,
.article-close::after,
.inquiry-close::before,
.inquiry-close::after,
.lightbox-close::before,
.lightbox-close::after,
.cart-line button::before,
.cart-line button::after {
  content: "";
  position: absolute;
  width: 1.08rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.article-close::before,
.inquiry-close::before,
.lightbox-close::before,
.cart-line button::before {
  transform: rotate(45deg);
}

.article-close::after,
.inquiry-close::after,
.lightbox-close::after,
.cart-line button::after {
  transform: rotate(-45deg);
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: min(42rem, 100%);
  max-height: min(94dvh, 48rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.inquiry-head,
.inquiry-product,
.inquiry-form .wide,
.inquiry-message,
.inquiry-form button {
  grid-column: 1 / -1;
}

.inquiry-head h2 {
  margin: 0 0 0.65rem;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
}

.inquiry-head p:not(.eyebrow),
.inquiry-product span {
  color: var(--muted);
}

.inquiry-product {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.inquiry-form label {
  display: grid;
  gap: 0.35rem;
}

.inquiry-form label span {
  color: var(--text);
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111216;
  color: var(--text);
  padding: 0 0.9rem;
}

.inquiry-form textarea {
  min-height: 7rem;
  padding: 0.8rem 0.9rem;
}

.inquiry-message {
  min-height: 1.3rem;
  margin: 0;
  color: var(--muted);
}

.inquiry-message.success {
  color: #91df9c;
}

.inquiry-message.error {
  color: #ffb9b9;
}

.author-section {
  display: grid;
  grid-template-columns: minmax(14rem, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.author-section img {
  width: 100%;
  max-height: 38rem;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.7fr;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
}

.contact-form label span {
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111216;
  color: var(--text);
  padding: 0 0.9rem;
}

.contact-form textarea {
  min-height: 7.5rem;
  padding: 0.8rem 0.9rem;
}

.contact-form .wide,
.contact-message,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-message {
  min-height: 1.3rem;
  margin: 0;
  color: var(--muted);
}

.contact-message.success {
  color: #91df9c;
}

.contact-message.error {
  color: #ffb9b9;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

address {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 0.65rem;
  color: var(--muted);
  font-style: normal;
}

address a {
  width: fit-content;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
}

.social-links a + a::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--muted);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-legal a {
  color: rgba(244, 240, 234, 0.92);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 240, 234, 0.92);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(4px);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(3rem, 0.12fr) minmax(0, 1fr) minmax(3rem, 0.12fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  overscroll-behavior: contain;
  pointer-events: none;
  touch-action: pan-y;
  transition: opacity 160ms ease;
}

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

.gallery-lightbox figure {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  margin: 0;
}

.gallery-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: min(78vh, 54rem);
  border-radius: var(--radius);
  cursor: zoom-in;
  object-fit: contain;
  box-shadow: var(--shadow);
  touch-action: none;
  transition: transform 180ms ease;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.gallery-lightbox img.is-zoomed {
  cursor: grab;
}

.gallery-lightbox img.is-zoomed:active {
  cursor: grabbing;
}

.gallery-lightbox figcaption {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(100%, 54rem);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox-copy {
  display: grid;
  gap: 0.22rem;
  max-width: min(42rem, 100%);
}

.lightbox-title {
  color: var(--text);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.lightbox-description {
  color: var(--muted);
  line-height: 1.5;
}

.lightbox-count {
  color: var(--muted);
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 61;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
}

.lightbox-nav {
  position: relative;
  width: clamp(2.8rem, 6vw, 4rem);
  height: clamp(2.8rem, 6vw, 4rem);
  border-radius: 50%;
  font-size: 0;
  line-height: 1;
}

.lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.78rem;
  height: 0.78rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform-origin: center;
}

.lightbox-nav.prev::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.lightbox-nav.next::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.lightbox-nav.prev {
  justify-self: end;
}

.lightbox-nav.next {
  justify-self: start;
}

.cart-drawer,
.admin-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  display: flex;
  flex-direction: column;
  width: min(34rem, 100%);
  height: 100vh;
  padding: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: #202229;
  box-shadow: -28px 0 80px rgba(0, 0, 0, 0.45);
  transform: translateX(104%);
  transition: transform 180ms ease;
}

.admin-panel {
  width: min(46rem, 100%);
}

.cart-drawer.open,
.admin-panel.open {
  transform: translateX(0);
}

.cart-drawer {
  overflow: auto;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.panel-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 0;
}

.panel-close::before,
.panel-close::after {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.panel-close::before {
  transform: rotate(45deg);
}

.panel-close::after {
  transform: rotate(-45deg);
}

.cart-items,
.admin-section {
  overflow: auto;
}

.cart-items {
  display: grid;
  gap: 0.75rem;
  overflow: visible;
  padding: 1rem 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
}

.cart-line img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.cart-line h3,
.cart-line p {
  margin: 0;
}

.cart-line p {
  color: var(--muted);
}

.cart-line button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
}

.cart-summary {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--muted);
}

.cart-summary strong {
  color: var(--gold);
}

.checkout-form {
  display: grid;
  gap: 0.65rem;
}

.checkout-form label {
  display: grid;
  gap: 0.3rem;
}

.checkout-form label[hidden] {
  display: none;
}

.checkout-form label span,
.checkout-message {
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #121319;
  color: var(--text);
  padding: 0.6rem 0.7rem;
}

.checkout-form textarea {
  resize: vertical;
}

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

.shipping-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}

.shipping-quote .button {
  min-height: 2.45rem;
  padding-inline: 0.85rem;
}

.shipping-quote strong {
  color: var(--gold);
  white-space: nowrap;
}

.payment-options {
  display: grid;
  gap: 0.55rem;
  margin: 0.2rem 0 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-options legend {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-options label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
}

.payment-options input {
  width: auto;
  min-height: auto;
  margin-top: 0.2rem;
}

.payment-options strong,
.payment-options small {
  display: block;
}

.payment-options strong {
  color: var(--text);
  font-size: 0.9rem;
}

.payment-options small {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.checkout-message {
  min-height: 1.2rem;
  margin: 0;
}

.checkout-message.success {
  color: #78d18d;
}

.checkout-message.error {
  color: #ff8a8a;
}

.empty-state {
  color: var(--muted);
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 1rem 0;
}

.admin-tabs button,
.admin-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.admin-tabs button {
  min-height: 2.5rem;
}

.admin-tabs button.active,
.admin-item.active {
  border-color: rgba(210, 75, 73, 0.72);
  background: rgba(210, 75, 73, 0.13);
}

.admin-section {
  display: none;
  padding-right: 0.2rem;
}

.admin-section.active {
  display: block;
}

.admin-section label,
.admin-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.admin-section label span,
.admin-form label span {
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-section input,
.admin-section select,
.admin-section textarea,
.admin-form input,
.admin-form select,
.admin-form textarea,
.data-box {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #121319;
  color: var(--text);
  padding: 0.65rem 0.75rem;
}

.admin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.admin-item {
  min-height: 2.3rem;
  padding: 0 0.75rem;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.4rem 0 1rem;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.admin-actions,
.admin-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.upload-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.data-box {
  min-height: 22rem;
  margin-top: 1rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.65rem;
  }

  .site-header.open {
    border-radius: var(--radius);
  }

  .brand small,
  .cart-button .cart-label {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 3.2rem;
    height: 3.2rem;
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: 1.02rem;
    line-height: 0.95;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    display: block;
    justify-self: end;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: auto;
    gap: 0.35rem;
  }

  .header-actions .language-switcher {
    display: none;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
  }

  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .site-header.open .nav-language {
    display: inline-grid;
    align-self: center;
    justify-self: center;
    margin-top: 0.2rem;
  }

  .nav-language button {
    min-width: 3rem;
    min-height: 2.4rem;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }

  .cart-button {
    justify-content: center;
    min-width: 2.8rem;
    min-height: 2.8rem;
    padding: 0 0.55rem;
  }

  .hero,
  .section-heading,
  .product-feature,
  .author-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    justify-self: start;
    text-align: left;
  }

  .category-grid,
  .product-grid,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-card img {
    height: clamp(16rem, 52vw, 22rem);
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .product-pagination {
    grid-column: 1;
  }

  .product-pagination,
  .gallery-pagination,
  .story-pagination {
    width: 100%;
    justify-content: stretch;
  }

  .pagination-nav {
    width: 100%;
  }

  .filters {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .filters h3 {
    width: 100%;
  }

  .filter {
    width: auto;
    margin: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    border-radius: 1.4rem;
    width: min(100% - 1rem, 1180px);
    padding: 0.55rem;
  }

  html {
    scroll-behavior: auto;
    scroll-padding-top: 6.8rem;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 24rem;
  }

  .category-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .product-grid .product-feature {
    width: 100%;
    margin: 0.25rem 0 1rem;
    padding: 0;
  }

  .masonry {
    columns: 2;
    column-gap: 0.75rem;
  }

  .portfolio-card {
    margin-bottom: 0.75rem;
  }

  .hero-media,
  .hero-media img {
    height: 24rem;
  }

  .category-card img {
    height: clamp(13rem, 62vw, 18rem);
  }

  .portfolio-card img {
    height: clamp(11rem, 44vw, 15rem);
  }

  .gallery-zoom {
    opacity: 1;
  }

  .gallery-nav {
    display: none;
  }

  .gallery-zoom {
    width: 2.3rem;
    height: 2.3rem;
  }

  .story-image {
    height: auto;
  }

  .product-card img {
    height: min(92vw, 24rem);
  }

  .main-product-image {
    height: min(92vw, 24rem);
  }

  .section,
  .product-feature,
  .author-section {
    padding: 3.5rem 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.4rem 0 2.4rem;
    scroll-margin-top: 6.8rem;
  }

  .section-heading h2,
  .product-detail h2,
  .author-section h2,
  .site-footer h2 {
    font-size: 2.7rem;
  }

  .site-footer h2 {
    margin-bottom: 0.45rem;
  }

  .site-footer p {
    max-width: 32rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .contact-form input {
    min-height: 2.6rem;
  }

  .contact-form textarea {
    min-height: 5.2rem;
  }

  .site-footer address {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
  }

  .site-footer address a {
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer address a[href^="tel:"] {
    order: 1;
    color: var(--text);
    font-size: 1.22rem;
    font-weight: 700;
  }

  .site-footer address a[href^="mailto:"] {
    order: 2;
  }

  .site-footer address .social-links {
    order: 3;
  }

  .social-links a {
    border-bottom: 0;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
  }

  .social-links a {
    display: grid;
    place-items: center;
    padding: 0.75rem 0 0.35rem;
  }

  .social-links a + a::before {
    content: "";
    margin: 0;
  }

  .footer-legal {
    display: grid;
    justify-content: stretch;
    gap: 0.45rem;
    padding-top: 1rem;
    text-align: center;
  }

  .footer-legal a {
    justify-self: center;
  }

  .footer-links {
    justify-content: center;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    left: 0.8rem;
    right: 0.8rem;
    width: auto;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .button {
    flex: 1 1 8rem;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .article-close {
    top: 0.85rem;
    right: 0.85rem;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(12, 13, 17, 0.88);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0.75rem;
  }

  .gallery-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-lightbox img {
    max-height: 68dvh;
  }

  .lightbox-nav.prev,
  .lightbox-nav.next {
    display: none;
  }

  .gallery-lightbox figcaption {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .lightbox-copy {
    max-width: 100%;
  }

  .portfolio-modal-content {
    grid-template-columns: 1fr;
  }

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

  .article-gallery img {
    height: clamp(9rem, 42vw, 12rem);
  }
}
