
:root {
  --bg: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #66625c;
  --line: rgba(17, 17, 17, 0.09);
  --line-strong: rgba(17, 17, 17, 0.16);
  --ink: #111111;
  --sand: #e8dfcf;
  --gold: #b69a6d;
  --olive: #6d7458;
  --fog: #dfe2e7;
  --stone: #d7cec3;
  --graphite: #2f2f31;
  --auburn: #7d4c35;
  --champagne: #d6c3a0;
  --shadow: 0 18px 60px rgba(20, 20, 20, 0.08);
  --shadow-soft: 0 10px 30px rgba(20, 20, 20, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1280px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(circle at top, rgba(255,255,255,0.95), var(--bg) 52%);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button,
.btn,
.checkout-btn,
.add-to-bag,
.add-to-wishlist,
.chip,
.pill,
.filter-chip,
.summary .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, box-shadow, filter;
  transition:
    transform .32s cubic-bezier(.2,.8,.2,1),
    box-shadow .32s cubic-bezier(.2,.8,.2,1),
    background-color .28s ease,
    color .28s ease,
    border-color .28s ease,
    filter .28s ease;
}
button::before,
.btn::before,
.checkout-btn::before,
.add-to-bag::before,
.add-to-wishlist::before,
.chip::before,
.pill::before,
.filter-chip::before,
.summary .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.10) 22%, rgba(255,255,255,.36) 50%, rgba(255,255,255,.10) 72%, transparent 100%),
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.18), transparent 58%);
  transform: translateX(-150%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
button:hover::before,
.btn:hover::before,
.checkout-btn:hover::before,
.add-to-bag:hover::before,
.add-to-wishlist:hover::before,
.chip:hover::before,
.pill:hover::before,
.filter-chip:hover::before,
.summary .btn:hover::before {
  opacity: 1;
  animation: button-sheen 1.05s cubic-bezier(.2,.8,.2,1);
}
button:hover,
.btn:hover,
.checkout-btn:hover,
.add-to-bag:hover,
.add-to-wishlist:hover,
.chip:hover,
.pill:hover,
.filter-chip:hover,
.summary .btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 38px rgba(17,17,17,.10), 0 2px 8px rgba(17,17,17,.05);
  filter: saturate(1.02) brightness(1.01);
}
button:active,
.btn:active,
.checkout-btn:active,
.add-to-bag:active,
.add-to-wishlist:active,
.chip:active,
.pill:active,
.filter-chip:active,
.summary .btn:active {
  transform: translateY(0) scale(.99);
  box-shadow: 0 10px 22px rgba(17,17,17,.08);
}
button:focus-visible,
.btn:focus-visible,
.checkout-btn:focus-visible,
.add-to-bag:focus-visible,
.add-to-wishlist:focus-visible,
.chip:focus-visible,
.pill:focus-visible,
.filter-chip:focus-visible,
.summary .btn:focus-visible {
  outline: 2px solid rgba(182,154,109,.82);
  outline-offset: 3px;
}
@keyframes button-sheen {
  0% { transform: translateX(-150%) skewX(-18deg); }
  100% { transform: translateX(150%) skewX(-18deg); }
}


.page { min-height: 100vh; }
.topbar {
  background: #0c0c0d;
  color: #f2ede5;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topbar__inner,
.header__inner,
.footer__inner,
.page__inner,
.shell__inner {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 0;
}
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 0;
}
.brand {
  display: inline-flex; flex-direction: column; gap: 2px;
  font-family: var(--serif); letter-spacing: .28em; text-transform: uppercase;
}
.brand strong { font-size: 20px; font-weight: 600; }
.brand span { font-size: 11px; letter-spacing: .34em; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.nav a {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 10px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--text); border-bottom-color: var(--text); }
.header__actions { display: flex; gap: 10px; align-items: center; }
.pill, .btn, .chip, .tag {
  border-radius: 999px; border: 1px solid var(--line-strong);
}
.pill { padding: 10px 14px; font-size: 12px; background: rgba(255,255,255,.6); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; background: #111; color: #fff; box-shadow: var(--shadow-soft);
}
.btn--ghost { background: transparent; color: var(--text); }
.btn--soft { background: rgba(255,255,255,.65); color: var(--text); }
.btn:hover { transform: translateY(-1px); }

.hero {
  padding: 34px 0 20px;
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__copy { padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 540px; }
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero h1, .section h2, .page-title, .article__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: .02em;
}
.hero h1 { font-size: clamp(44px, 6vw, 86px); line-height: .92; margin: 0; max-width: 10ch; }
.hero p, .section p, .article p { color: var(--muted); font-size: 16px; max-width: 60ch; }
.searchbar {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 14px;
}
.searchbar input {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.85);
}
.hero__actions, .section__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.stat { padding-top: 16px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 24px; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hero__visual {
  display: grid; grid-template-rows: 1.3fr .7fr; gap: 14px;
}
.visual-card { position: relative; min-height: 250px; border-radius: var(--radius-lg); overflow: hidden; }
.visual-card--campaign {
  background: linear-gradient(135deg, #161616 0%, #2a2623 45%, #7d6b58 100%);
  color: #fff; padding: 28px;
}
.visual-card--campaign::after {
  content: ''; position: absolute; inset: 18% 12% 8% auto; width: 42%; border-radius: 50% 50% 18% 18%;
  background: radial-gradient(circle at 40% 28%, rgba(255,255,255,.35), transparent 35%),
              linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  filter: blur(.3px);
}
.visual-card--campaign h3 { position: relative; z-index: 1; margin: 0 0 8px; font-family: var(--serif); font-size: 34px; line-height: .96; max-width: 8ch; }
.visual-card--campaign p { position: relative; z-index: 1; color: rgba(255,255,255,.8); max-width: 26ch; }
.visual-card--campaign .tag { position: relative; z-index: 1; display: inline-flex; margin-top: 18px; padding: 8px 12px; border-color: rgba(255,255,255,.2); color: #fff; }
.visual-card--story {
  background: linear-gradient(135deg, #f6f0e8, #e8ddd0);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.visual-card--story h4 { margin: 0 0 6px; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; }
.visual-card--story p { margin: 0; max-width: 30ch; }

.section { padding: 26px 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 16px; }
.section h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1; margin: 0; }
.grid { display: grid; gap: 18px; }
.grid--collections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--summary { grid-template-columns: 1.05fr .95fr; }
.card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.collection-card { min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; position: relative; }
.collection-card::before {
  content: ''; position: absolute; inset: 14px; border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255,255,255,.45); pointer-events: none; mix-blend-mode: soft-light;
}
.collection-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 34px; line-height: .96; max-width: 7ch; }
.collection-card p { margin: 0 0 16px; color: rgba(255,255,255,.84); max-width: 26ch; }
.collection-card .btn { align-self: flex-start; }
.collection-card--ink { background: linear-gradient(135deg, #171719, #38353a 52%, #6b5a4a); color: #fff; }
.collection-card--sand { background: linear-gradient(135deg, #f5efe5, #ddd2c2); }
.collection-card--sand p { color: var(--muted); }
.collection-card--gold { background: linear-gradient(135deg, #3b3025, #86704b 55%, #d7c29a); color: #fff; }

.product-card {
  display: flex; flex-direction: column; min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(20,20,20,.12); }
.product-media {
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f2efea, #e6ddd0);
}
.product-media::after {
  content: ''; position: absolute; inset: auto -8% -10% auto; width: 68%; height: 75%; border-radius: 48% 52% 40% 60%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.5), transparent 30%),
              linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.05));
  transform: rotate(-12deg);
}
.product-media--ink { background: linear-gradient(180deg, #171719, #433d36); color: #fff; }
.product-media--sand { background: linear-gradient(180deg, #f7f2eb, #ead9c4); }
.product-media--gold { background: linear-gradient(180deg, #ead9be, #c7a97a); }
.product-media--fog { background: linear-gradient(180deg, #eceff3, #d9dde4); }
.product-media--stone { background: linear-gradient(180deg, #e4dacc, #c6b9aa); }
.product-media--olive { background: linear-gradient(180deg, #ece8dc, #b9b79a); }
.product-media--graphite { background: linear-gradient(180deg, #3b3b41, #1f2024); color: #fff; }
.product-media--auburn { background: linear-gradient(180deg, #f0ddd2, #8a583f); color: #fff; }
.product-media span { position: relative; z-index: 1; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.product-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-body { padding: 18px; display: grid; gap: 8px; }
.product-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.product-title { font-size: 18px; line-height: 1.1; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price { font-size: 16px; font-weight: 600; }
.compare { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.badge { display: inline-flex; align-self: flex-start; padding: 6px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; background: rgba(17,17,17,.06); border-radius: 999px; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.chip { padding: 10px 14px; background: #fff; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.chip.is-active { background: #111; color: #fff; border-color: #111; }
.layout { display: grid; gap: 20px; }
.layout--two { grid-template-columns: .92fr 1.08fr; }
.layout--sidebar { grid-template-columns: .78fr 1.22fr; }
.panel__body { padding: 24px; }
.breadcrumbs { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.page-title { margin: 10px 0 12px; font-size: clamp(34px, 4.8vw, 58px); line-height: .96; }
.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { min-height: 240px; border-radius: var(--radius-md); padding: 18px; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; position: relative; overflow: hidden; }
.tile::after { content: ''; position: absolute; inset: auto -5% -18% auto; width: 60%; height: 80%; border-radius: 45% 55% 40% 60%; background: rgba(255,255,255,.08); transform: rotate(10deg); }
.tile small, .tile span, .tile strong { position: relative; z-index: 1; }
.tile--dark { background: linear-gradient(135deg, #151515, #3b342d); }
.tile--light { background: linear-gradient(135deg, #f2ebe1, #dacfbf); color: #151515; }
.tile--olive { background: linear-gradient(135deg, #434634, #7a7d5e); }
.tile--gold { background: linear-gradient(135deg, #7f643f, #ceb887); }
.copy-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.copy-list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.copy-list strong { display: block; color: var(--text); margin-bottom: 4px; }
.copy-list button { margin-top: 8px; }
.size-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.size-grid .chip { min-width: 54px; text-align: center; }
.summary { background: #111; color: #fff; border-radius: var(--radius-lg); padding: 24px; }
.summary .copy-list li { border-top-color: rgba(255,255,255,.12); color: rgba(255,255,255,.72); }
.summary .copy-list strong, .summary .page-title { color: #fff; }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255,255,255,.86); outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #111; box-shadow: 0 0 0 4px rgba(17,17,17,.05); }
.auth-shell { min-height: 72vh; display: grid; place-items: center; }
.auth-card { width: min(100%, 1040px); display: grid; grid-template-columns: .92fr 1.08fr; }
.auth-side { background: linear-gradient(135deg, #111, #3a332c 48%, #7f6d58); color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2, .article__title { font-family: var(--serif); font-size: clamp(32px, 4vw, 54px); line-height: .96; margin: 0; }
.auth-form { padding: 30px; }
.muted { color: var(--muted); }
.footer { margin-top: 34px; border-top: 1px solid var(--line); background: rgba(255,255,255,.62); }
.footer__inner { padding: 28px 0 36px; display: grid; gap: 22px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 18px; }
.footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.footer a, .footer p, .footer li { color: var(--muted); font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__bottom { padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.article { width: min(100%, 900px); }
.article__panel { padding: 30px; }
.article h3 { margin: 24px 0 8px; font-size: 22px; }
.kicker-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-strip .card { padding: 18px; background: rgba(255,255,255,.8); }
.trust-strip strong { display: block; margin-bottom: 5px; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }

@media (max-width: 1080px) {
  .hero__grid, .grid--summary, .layout--two, .layout--sidebar, .auth-card, .footer__grid { grid-template-columns: 1fr; }
  .grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--collections, .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar__inner, .header__inner { flex-direction: column; align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .hero__copy, .panel__body, .auth-form, .auth-side, .article__panel { padding: 20px; }
  .hero h1 { font-size: 44px; }
  .grid--products { grid-template-columns: 1fr; }
  .grid--collections, .trust-strip, .form-row, .product-gallery { grid-template-columns: 1fr; }
}
