:root {
  --accent: #b08d57;
  --ink: #1a1a1a;
  --muted: #77716b;
  --line: rgba(26, 26, 26, 0.1);
  --soft: #fcfaf7;
  --soft-2: #f4f1ec;
  --white: #fff;
  --success: #065f46;
  --warning: #92400e;
  --danger: #991b1b;
  --shadow: 0 24px 70px rgba(26, 26, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.noise::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(0, 0, 0, 0.12) 1px, transparent 1px);
  background-size: 19px 19px, 27px 27px;
}

.custom-cursor {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  display: none;
  transition: transform 0.1s, background 0.3s;
}

@media (min-width: 1024px) {
  .custom-cursor {
    display: block;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.7s cubic-bezier(0.19, 1, 0.22, 1), background 0.7s, color 0.7s;
}

.home-page .site-header:not(.nav-scrolled) {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: none;
}

.site-header.nav-scrolled {
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
}

.brand {
  flex: 0 0 auto;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.brand span {
  font-weight: 300;
  opacity: 0.62;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-form input {
  width: 132px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  outline: none;
}

.search-form input::placeholder {
  color: currentColor;
  opacity: 0.58;
}

.avatar-link {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.flash-stack {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 200;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 40px));
}

.flash {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.flash-success {
  border-left: 3px solid var(--success);
}

.flash-warning {
  border-left: 3px solid var(--warning);
}

.flash-error {
  border-left: 3px solid var(--danger);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 140px clamp(22px, 6vw, 96px) 96px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.04) 48%, rgba(0, 0, 0, 0.36));
}

.hero-content {
  position: relative;
  max-width: 760px;
  z-index: 1;
}

.hero-content p,
.section-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  margin: 0 0 34px;
  font-size: clamp(76px, 14vw, 176px);
  font-weight: 300;
  font-style: italic;
  line-height: 0.8;
}

.hero-actions,
.product-row,
.stat-row,
.spec-pills,
.admin-tabs,
.auth-tabs,
.check-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  position: absolute;
  left: clamp(22px, 6vw, 96px);
  right: clamp(22px, 6vw, 96px);
  bottom: 52px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.mobile-catalog-link {
  display: none;
}

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s, background 0.5s, color 0.5s;
}

.button {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button:hover,
.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button.full,
.link-button.full,
.full {
  width: 100%;
}

.disabled {
  pointer-events: none;
  opacity: 0.36;
}

.link-button {
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.link-button.muted,
.muted {
  color: var(--muted);
}

.split-section,
.ar-section,
.interior-section,
.catalog-preview,
.category-band,
.catalog-layout,
.cart-layout,
.checkout-layout,
.account-layout,
.admin-layout {
  width: min(1440px, calc(100% - 44px));
  margin: 0 auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 130px);
  padding: 120px 0;
  align-items: center;
}

.split-image {
  min-height: 620px;
  overflow: hidden;
}

.split-image img,
.ar-image img,
.interior-section img,
.auth-image img,
.project-grid img,
.product-media img,
.cart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy blockquote {
  width: min(410px, 100%);
  margin: 0 0 70px;
  font-size: clamp(32px, 4vw, 54px);
  font-style: italic;
  line-height: 1.02;
  color: rgba(26, 26, 26, 0.45);
}

.split-copy h2,
.section-head h2,
.ar-copy h2,
.interior-section h2,
.page-hero h1,
.product-info h1,
.auth-panel h1,
.success-page h1,
.info-page h1,
.checkout-form h2,
.summary-box h3,
.account-hero h1 {
  margin: 0;
  font-weight: 300;
  line-height: 0.95;
}

.split-copy h2,
.ar-copy h2,
.interior-section h2 {
  font-size: clamp(56px, 7vw, 110px);
}

.split-copy > p:not(.section-kicker),
.ar-copy p,
.interior-section p,
.info-page p,
.success-page p {
  max-width: 580px;
  color: var(--muted);
  line-height: 1.9;
}

.stat-row {
  margin: 36px 0;
}

.stat-row div {
  display: grid;
  gap: 6px;
}

.stat-row strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 52px;
  font-weight: 300;
}

.stat-row span {
  max-width: 160px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.category-band,
.catalog-preview {
  padding: 88px 0;
}

.category-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head.slim {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(42px, 5vw, 76px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-grid a {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 14px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s, color 0.5s;
}

.category-grid a:hover {
  background: var(--ink);
  color: var(--white);
}

.category-grid span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  font-weight: 300;
}

.category-grid small {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

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

.product-card {
  position: relative;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.product-media img {
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1), filter 1s;
  filter: grayscale(0.08);
}

.product-card:hover .product-media img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.product-badge,
.mini-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-meta {
  padding: 18px 0 0;
}

.product-title {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.05;
}

.product-meta p {
  min-height: 22px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-row {
  justify-content: space-between;
}

.product-row > span {
  font-weight: 500;
}

.ar-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: 96px clamp(0px, 4vw, 60px);
  margin-bottom: 80px;
  background: var(--soft);
}

.ar-image {
  min-height: 520px;
  overflow: hidden;
}

.page-hero {
  width: min(1440px, calc(100% - 44px));
  margin: 0 auto;
  padding: 150px 0 58px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact h1 {
  font-size: clamp(58px, 8vw, 118px);
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sort-form,
.inline-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.sort-form select,
.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 46px;
  padding: 12px 14px;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.sort-form select:focus,
.field:focus {
  border-color: rgba(26, 26, 26, 0.38);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.12);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 58px);
  padding: 44px 0 96px;
}

.filters-panel {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 128px);
  overflow: auto;
  padding-right: 8px;
}

.filters-panel h3 {
  margin: 30px 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.filter-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filter-list {
  display: grid;
  gap: 14px;
}

.filter-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.filter-list label span {
  flex: 1;
}

.filter-list input:checked + span {
  color: var(--ink);
  font-weight: 600;
}

.price-row,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filter-card,
.manager-box,
.promo-box,
.summary-box,
.ar-card,
.admin-form,
.auth-panel {
  border: 1px solid var(--line);
  background: var(--white);
}

.filter-card,
.manager-box,
.promo-box {
  margin-top: 28px;
  padding: 24px;
}

.filter-card h4,
.manager-box h4,
.promo-box h4,
.ar-card h3 {
  margin: 0 0 12px;
  font-weight: 500;
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 40px;
  background: var(--soft);
  text-align: center;
}

.empty-state.small {
  min-height: 200px;
}

.empty-state h2,
.empty-state h3 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(38px, 5vw, 64px);
}

.empty-state p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.product-detail {
  width: min(1440px, calc(100% - 44px));
  margin: 0 auto;
  padding: 140px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 6vw, 88px);
}

.product-gallery {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
}

.thumbs {
  display: grid;
  gap: 14px;
  align-content: start;
}

.gallery-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  background: var(--soft);
  cursor: pointer;
  opacity: 0.62;
  overflow: hidden;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--ink);
}

.main-product-image {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--soft);
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.main-product-image:hover img {
  transform: scale(1.05);
}

.main-product-image span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-info h1 {
  margin-bottom: 12px;
  font-size: clamp(58px, 7vw, 105px);
}

.product-price {
  margin: 24px 0;
  font-size: 30px;
  font-weight: 500;
}

.buy-box {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.qty-inline {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.qty-inline input {
  min-height: 50px;
  border: 1px solid var(--line);
  text-align: center;
}

.ar-card {
  margin: 28px 0;
  padding: 22px;
  background: var(--soft);
}

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

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--muted);
  line-height: 1.8;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
}

.interior-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.interior-section img {
  aspect-ratio: 4 / 5;
  filter: grayscale(0.15);
}

.spec-pills {
  margin-top: 28px;
}

.spec-pills span {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.cart-layout,
.checkout-layout,
.account-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 5vw, 70px);
  padding: 44px 0 96px;
  align-items: start;
}

.cart-lines {
  display: grid;
  gap: 22px;
}

.cart-line {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 170px;
  gap: 24px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--soft);
}

.cart-line-copy h3 {
  margin: 8px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.cart-line-copy p,
.legal,
.manager-box p,
.promo-box p,
.filter-card p,
.summary-line span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.qty-controls {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.qty-controls form:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.qty-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.remove-btn {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.38;
  transition: opacity 0.3s;
}

.remove-btn:hover,
.remove-btn.visible {
  opacity: 1;
}

.order-summary {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.summary-box {
  padding: 26px;
}

.summary-box h3 {
  margin-bottom: 22px;
  font-size: 34px;
}

.summary-box > div,
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  margin: 10px 0 22px;
  border-bottom: 0 !important;
  font-size: 20px;
}

.checkout-layout {
  grid-template-columns: minmax(0, 0.8fr) 420px;
}

.checkout-form,
.profile-form {
  display: grid;
  gap: 18px;
}

.checkout-form h2 {
  font-size: 54px;
  margin-bottom: 14px;
}

.checkout-form label,
.profile-form label,
.admin-form label,
.auth-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-page,
.info-page {
  width: min(900px, calc(100% - 44px));
  min-height: 68vh;
  margin: 0 auto;
  padding: 170px 0 90px;
  display: grid;
  align-content: center;
  gap: 24px;
}

.success-page h1,
.info-page h1 {
  font-size: clamp(58px, 8vw, 108px);
}

.auth-page {
  width: min(1180px, calc(100% - 44px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 44px;
  align-items: center;
}

.auth-image {
  height: 620px;
  overflow: hidden;
}

.auth-panel {
  padding: 34px;
  box-shadow: var(--shadow);
}

.auth-tabs {
  margin-bottom: 28px;
}

.auth-tabs a,
.admin-tabs a {
  border-bottom: 1px solid transparent;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-tabs a.active,
.admin-tabs a.active {
  border-color: var(--ink);
  color: var(--ink);
}

.auth-panel h1 {
  margin-bottom: 28px;
  font-size: 54px;
}

.auth-panel form {
  display: grid;
  gap: 16px;
}

.account-hero {
  width: min(1440px, calc(100% - 44px));
  margin: 0 auto;
  padding: 150px 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.account-hero h1 {
  font-size: clamp(58px, 8vw, 118px);
}

.account-hero p:not(.breadcrumbs) {
  color: var(--muted);
}

.account-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.account-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 13px;
  align-self: start;
  border-right: 1px solid var(--line);
  padding-right: 28px;
}

.account-sidebar h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.account-sidebar a:not(.link-button),
.account-sidebar form {
  color: var(--muted);
  font-size: 13px;
}

.account-sidebar a.active {
  color: var(--ink);
  font-weight: 600;
}

.account-content {
  display: grid;
  gap: 70px;
}

.account-section h2 {
  margin: 0 0 24px;
  font-weight: 300;
  font-size: 54px;
}

.order-list {
  display: grid;
  gap: 16px;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 150px 90px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
}

.order-card p,
.order-card small,
.admin-table small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.status-badge {
  display: inline-flex;
  padding: 5px 10px;
  background: #ecfdf5;
  color: var(--success);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.project-grid img {
  position: absolute;
  inset: 0;
  z-index: -2;
  filter: grayscale(0.2);
}

.project-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
}

.project-grid span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-grid h3 {
  margin: 10px 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.profile-form {
  max-width: 720px;
}

.recommend-inline {
  margin-top: 60px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.recommend-inline h2 {
  margin: 0 0 18px;
  font-size: 42px;
  font-weight: 300;
}

.recommend-inline a {
  display: inline-flex;
  gap: 12px;
  margin-right: 22px;
  color: var(--muted);
}

.admin-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.admin-table-wrap,
.admin-form {
  min-width: 0;
}

.admin-table-wrap.full-width {
  grid-column: 1 / -1;
}

.admin-table-wrap h2,
.admin-form h2 {
  margin: 0 0 24px;
  font-size: 54px;
  font-weight: 300;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-form {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
  padding: 28px;
  align-self: start;
}

.inline-status {
  align-items: stretch;
}

.inline-status .field {
  min-width: 150px;
}

.admin-foot {
  display: block;
  margin-top: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 80px);
  padding: 72px clamp(22px, 5vw, 74px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.site-footer h6 {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-brand p {
  margin-top: 32px;
  color: var(--white);
  font-size: 36px;
  line-height: 0.96;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

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

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

  .split-section,
  .ar-section,
  .interior-section,
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .admin-layout,
  .auth-page {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .order-summary,
  .account-sidebar,
  .admin-form {
    position: static;
    max-height: none;
  }

  .account-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 24px;
  }

  .main-product-image {
    min-height: 560px;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 16px;
    letter-spacing: 0.18em;
  }

  .header-actions {
    flex-basis: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .mobile-catalog-link {
    display: inline;
  }

  .search-form {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding: 120px 22px 56px;
  }

  .hero h1 {
    font-size: clamp(66px, 21vw, 104px);
  }

  .hero-note {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .split-section,
  .category-band,
  .catalog-preview,
  .ar-section,
  .interior-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .split-image,
  .ar-image,
  .auth-image {
    min-height: 360px;
    height: 360px;
  }

  .split-copy blockquote {
    margin-bottom: 40px;
  }

  .section-head,
  .page-hero,
  .account-hero {
    display: grid;
    align-items: start;
  }

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

  .category-grid a {
    min-height: 160px;
  }

  .page-hero,
  .account-hero,
  .product-detail,
  .auth-page {
    padding-top: 118px;
  }

  .catalog-layout,
  .cart-layout,
  .checkout-layout,
  .account-layout,
  .admin-layout {
    width: min(100% - 32px, 1440px);
    padding-top: 30px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .thumbs {
    display: flex;
    overflow-x: auto;
  }

  .gallery-thumb {
    width: 84px;
    flex: 0 0 auto;
  }

  .main-product-image {
    min-height: 420px;
  }

  .qty-inline,
  .price-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 104px 1fr;
  }

  .qty-controls {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .order-card {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    overflow-x: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 54px 22px;
  }
}
