:root {
  --ink: #f5f1eb;
  --ink-soft: #c9c1b9;
  --ink-faint: #8d8883;
  --bg: #08090b;
  --surface: #111216;
  --surface-2: #17181d;
  --line: rgba(245, 241, 235, .14);
  --line-strong: rgba(245, 241, 235, .28);
  --paper: #eee7dc;
  --ochre: #d6b174;
  --coral: #d6b174;
  --teal: #d6b174;
  --success: #9bd2a3;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1320px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 177, 116, .09), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { color: var(--bg); background: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
a, button, input { -webkit-tap-highlight-color: transparent; }

.site-shell { min-height: 100vh; overflow: hidden; }
.section-pad { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
main section[id] { scroll-margin-top: 110px; }
main { position: relative; }
[data-view-panel] { display: block; }
[data-view-panel][hidden] { display: none; }
.page-view {
  min-height: calc(100svh - 84px);
  animation: view-enter .34s cubic-bezier(.22, 1, .36, 1) both;
}
.page-view-home, .page-view-catalog { min-height: 0; }
.page-view-order { padding-top: 84px; }
@keyframes view-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(var(--max), calc(100% - 96px));
  height: 84px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.site-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}
.site-header.is-scrolled {
  border-color: rgba(245, 241, 235, .2);
  background: transparent;
}
.site-header.is-scrolled::before {
  background: rgba(8, 9, 11, .86);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .12em; }
.brand-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--coral);
  border-radius: 9px 2px;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  transform: rotate(-8deg);
}
.brand-word { font-size: 13px; font-weight: 800; }
.brand-word span { color: var(--coral); }
.main-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.nav-link {
  position: relative;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, text-shadow .25s ease;
}
.nav-link + .nav-link::before {
  position: absolute;
  top: 50%;
  left: -22px;
  color: var(--ink-faint);
  content: "|";
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  transform: translateY(-50%);
}
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active {
  color: #e6c47f;
  text-shadow: 0 0 11px rgba(214, 177, 116, .32);
}
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active::after { background: #e6c47f; box-shadow: 0 0 8px rgba(214, 177, 116, .38); }
.account-area { display: flex; flex: 0 0 auto; align-items: center; margin-left: clamp(22px, 4vw, 54px); }
.account-trigger {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 9px 4px 5px;
  border: 1px solid rgba(214, 177, 116, .42);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-soft);
  transition: border-color .25s ease, color .25s ease, background .25s ease, opacity .25s ease;
}
.account-trigger:hover { border-color: var(--coral); background: rgba(214, 177, 116, .08); color: var(--ink); }
.account-trigger:disabled { cursor: wait; opacity: .72; }
.account-trigger-label { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.account-avatar { position: relative; display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; overflow: hidden; border: 1px solid rgba(214, 177, 116, .58); border-radius: 50%; background: var(--surface-2); color: var(--coral); }
.account-avatar-image { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-initial { color: var(--coral); font-family: var(--serif); font-size: 20px; line-height: 1; }
.account-avatar-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.account-trigger.is-loading .account-avatar { border-color: var(--line-strong); color: var(--ink-faint); }
.account-trigger.is-loading .account-avatar-icon { animation: account-pulse 1.4s ease-in-out infinite; }
@keyframes account-pulse { 50% { opacity: .36; transform: scale(.9); } }
.hero {
  position: relative;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, .87fr) minmax(440px, 1.13fr);
  align-items: center;
  gap: 6vw;
  padding-top: 100px;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -280px;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(214, 177, 116, .18);
  border-radius: 50%;
  content: "";
}
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow-line { display: inline-block; width: 34px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .order-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}
.hero h1 { max-width: 650px; font-size: clamp(78px, 9vw, 136px); }
h1 em, h2 em { color: var(--coral); font-style: normal; }
.hero-text { max-width: 420px; margin: 36px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.button span { font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--paper); color: #141416; }
.button-primary:hover { background: var(--coral); color: #141416; }
.button-light { border-color: rgba(8, 9, 11, .22); background: var(--paper); color: #101114; }
.button-light:hover { border-color: #101114; background: var(--coral); color: #141416; }
.hero-visual { position: relative; min-height: 590px; perspective: 1200px; }
.hero-visual::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 75%;
  border: 1px solid rgba(214, 177, 116, .48);
  border-radius: 260px 260px 0 0;
  content: "";
}
.hero-slide-layer {
  --hero-card-size: min(472px, 90%);
  --hero-card-left: 13%;
  --hero-card-top: 5%;
  --hero-back-offset: 70px;
  --hero-back-lift: 36px;
  position: absolute;
  z-index: 3;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: var(--hero-card-left) center;
  backface-visibility: hidden;
}
.hero-slide-layer-current {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: none;
}
.hero-slide-layer-back { z-index: 2; opacity: .74; filter: brightness(.74); transform: translate(var(--hero-back-offset), var(--hero-back-lift)) scale(.97) rotateY(5deg); }
.hero-slide-layer-advancing { z-index: 3; }
.hero-visual.is-turning .hero-slide-layer-current { animation: hero-page-turn-out 1.1s cubic-bezier(.76, 0, .24, 1) both; }
.hero-visual.is-turning .hero-slide-layer-advancing { animation: hero-page-turn-advance 1.1s cubic-bezier(.2, .65, .2, 1) both; }
@keyframes hero-page-turn-out {
  0% { filter: brightness(1); opacity: 1; transform: rotateY(0deg); transform-origin: var(--hero-card-left) center; }
  48% { filter: brightness(.95); }
  100% { filter: brightness(.78); opacity: .98; transform: rotateY(-103deg); transform-origin: var(--hero-card-left) center; }
}
@keyframes hero-page-turn-advance {
  0% { filter: brightness(.74); opacity: .74; transform: translate(var(--hero-back-offset), var(--hero-back-lift)) scale(.97) rotateY(5deg); transform-origin: var(--hero-card-left) center; }
  68% { filter: brightness(.94); opacity: .94; }
  100% { filter: brightness(1); opacity: 1; transform: translateX(0) scale(1) rotateY(0deg); transform-origin: var(--hero-card-left) center; }
}
.hero-card {
  position: absolute;
  z-index: 2;
  top: var(--hero-card-top);
  left: var(--hero-card-left);
  width: var(--hero-card-size);
  overflow: hidden;
  border: 1px solid rgba(245, 241, 235, .16);
  background: var(--surface);
  box-shadow: 28px 34px 72px rgba(0, 0, 0, .4);
}
.hero-card-top {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: rgba(245, 241, 235, .78);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 241, 235, .1);
  background: var(--surface-2);
}
.hero-media::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(115deg, rgba(8, 9, 11, .18), transparent 52%); content: ""; pointer-events: none; }
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78);
}
.hero-product-meta { display: flex; align-items: end; justify-content: space-between; padding: 18px 20px 21px; }
.meta-label { margin: 0 0 5px; color: var(--teal); font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hero-product-meta h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.hero-price { margin: 0; font-family: var(--serif); font-size: 25px; }
.hero-price small, .product-info strong small { color: var(--coral); font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .06em; }
.hero-side-note {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: 0;
  display: flex;
  gap: 15px;
  color: rgba(245, 241, 235, .58);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-side-note span:last-child { color: var(--coral); }
.orbit-one, .orbit-two { position: absolute; z-index: 0; border: 1px solid rgba(214, 177, 116, .28); border-radius: 50%; }
.orbit-one { top: 5%; right: 3%; width: 380px; height: 380px; }
.orbit-two { top: 24%; right: 19%; width: 240px; height: 240px; border-color: rgba(214, 177, 116, .2); }

.catalog { padding-top: 104px; padding-bottom: 145px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading h2 { font-size: clamp(62px, 6.4vw, 94px); }
.section-intro { max-width: 360px; margin: 0 0 6px; color: var(--ink-faint); font-size: 12px; line-height: 1.9; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; margin-top: 61px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.filter-list { display: flex; gap: 28px; }
.filter-button {
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease;
}
.filter-button span { margin-left: 5px; color: var(--coral); font-size: 8px; }
.filter-button:hover, .filter-button.is-selected { border-color: var(--coral); color: var(--ink); }
.search-field { display: flex; width: 240px; align-items: center; gap: 9px; border-bottom: 1px solid var(--line-strong); color: var(--ink-faint); }
.search-field svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-field input { width: 100%; padding: 8px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 10px; }
.search-field:focus-within { border-color: var(--coral); color: var(--coral); }
.search-field input::placeholder { color: var(--ink-faint); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; margin-top: 31px; }
.product-card { min-width: 0; }
.product-image { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid rgba(247, 241, 231, .08); background: var(--surface); color: var(--ink); text-align: left; }
.product-image::after { position: absolute; inset: 0; background: rgba(8, 9, 11, .16); content: ""; transition: background .3s ease; }
.product-image img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; filter: saturate(.82); transition: transform .5s cubic-bezier(.2, .65, .2, 1), filter .5s ease; }
.product-image:hover img { filter: saturate(1); transform: scale(1.045); }
.product-image:hover::after { background: rgba(8, 9, 11, 0); }
.product-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 6px 8px; background: var(--paper); color: #141416; font-family: var(--mono); font-size: 7px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-badge-muted { background: rgba(8, 9, 11, .76); color: var(--ink); }
.quick-view { position: absolute; z-index: 3; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; background: rgba(8, 9, 11, .84); color: var(--ink); font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .1em; opacity: 0; text-transform: uppercase; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.product-image:hover .quick-view, .product-image:focus-visible .quick-view { opacity: 1; transform: translateY(0); }
.quick-view b { color: var(--coral); font-family: var(--sans); font-size: 16px; font-weight: 400; }
.product-info { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding-top: 14px; }
.product-info h3 { margin: 0 0 4px; color: var(--ink); font-family: var(--serif); font-size: 26px; font-weight: 400; transition: color .25s ease; }
.product-card:hover .product-info h3 { color: var(--coral); }
.product-info p { margin: 0; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
.product-info strong { padding-top: 4px; color: var(--paper); font-family: var(--serif); font-size: 20px; font-weight: 400; white-space: nowrap; }
.empty-state { margin: 60px 0 0; color: var(--ink-faint); text-align: center; }

.order-section { padding-top: 38px; padding-bottom: 145px; }
.order-panel { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 510px; background: var(--ochre); color: #141416; }
.order-panel-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; padding: 74px clamp(35px, 6vw, 92px); }
.order-panel-copy::after { position: absolute; right: 8%; bottom: -14%; color: rgba(20, 20, 22, .06); content: "ON DEMAND"; font-family: var(--mono); font-size: clamp(42px, 7vw, 96px); font-weight: 600; letter-spacing: -.08em; transform: rotate(-90deg); transform-origin: bottom right; }
.eyebrow-light { position: relative; z-index: 1; color: #53462f; }
.order-panel h2 { position: relative; z-index: 1; color: #141416; font-size: clamp(53px, 5.7vw, 82px); }
.order-panel h2 em { color: #6e4e21; }
.order-panel-copy > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 400px; margin: 30px 0; color: #55472e; font-size: 12px; line-height: 1.85; }
.steps-list { display: flex; flex-direction: column; justify-content: center; padding: 55px clamp(35px, 6vw, 92px); background: #111216; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 19px; padding: 22px 0; border-bottom: 1px solid rgba(247, 241, 231, .16); }
.step:first-child { padding-top: 0; }
.step:last-child { padding-bottom: 0; border-bottom: 0; }
.step > span { color: var(--coral); font-family: var(--serif); font-size: 27px; }
.step h3 { margin: 0 0 5px; color: var(--ink); font-size: 13px; font-weight: 700; }
.step p { margin: 0; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; line-height: 1.7; }

.site-footer { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--line); }
.footer-note, .footer-copy { margin: 13px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; }
.footer-copy { margin: 0; text-align: right; }

.profile-section { padding-top: 146px; padding-bottom: 145px; }
.profile-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.profile-heading h1 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(72px, 8vw, 118px); font-weight: 400; letter-spacing: -.05em; line-height: .86; }
.profile-heading h1 em { color: var(--coral); font-style: normal; }
.profile-intro { max-width: 350px; margin: 0 0 6px; color: var(--ink-faint); font-size: 12px; line-height: 1.9; }
.profile-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 58px; margin-top: 68px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(214, 177, 116, .08), transparent 48%), var(--surface); }
.profile-card-identity { display: flex; align-items: center; gap: 22px; }
.account-avatar-profile { width: 88px; height: 88px; flex-basis: 88px; border-color: rgba(214, 177, 116, .72); }
.account-avatar-profile .account-avatar-icon { width: 38px; height: 38px; }
.account-avatar-profile .account-avatar-initial { font-size: 48px; }
.profile-card .meta-label { margin: 0 0 8px; }
.profile-card h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: .96; }
.profile-email { margin: 10px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; overflow-wrap: anywhere; }
.profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 35px; margin: 0; padding: 0; align-content: center; }
.profile-details div { min-width: 0; padding-top: 13px; border-top: 1px solid var(--line); }
.profile-details dt { color: var(--ink-faint); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.profile-details dd { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.profile-details code { color: var(--coral); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }

.product-dialog { width: min(480px, calc(100% - 32px)); padding: 38px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); box-shadow: 0 30px 100px rgba(0, 0, 0, .65); }
.product-dialog::backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(5px); }
.product-dialog h2 { margin: 0; font-family: var(--serif); font-size: 46px; font-weight: 400; }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: var(--ink-soft); font-size: 28px; line-height: 1; }
.dialog-price { margin: 15px 0 12px; color: var(--coral); font-family: var(--serif); font-size: 26px; }
.dialog-description, .dialog-note { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.dialog-note { margin: 20px 0 24px; color: var(--ink-faint); font-family: var(--mono); font-size: 10px; }
.referrals-panel { margin-top: 42px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); background: var(--surface-2); }
.referrals-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.referrals-heading h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 400; line-height: .9; }
.referrals-heading h2 em { color: var(--coral); font-style: normal; }
.referrals-available { margin: 0 0 5px; color: var(--coral); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.referrals-copy { max-width: 540px; margin: 22px 0; color: var(--ink-faint); font-size: 12px; line-height: 1.8; }
.referral-share-row { padding: 15px 17px; border: 1px solid var(--line); background: var(--surface); overflow-wrap: anywhere; }
.referral-share-row code { color: var(--ink-soft); font-family: var(--mono); font-size: 10px; }
.referrals-status, .referrals-empty { color: var(--ink-faint); font-family: var(--mono); font-size: 10px; line-height: 1.7; }
.referrals-list { display: grid; gap: 10px; margin-top: 20px; }
.referral-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.referral-item strong, .referral-item span { display: block; }
.referral-item strong { color: var(--ink-soft); font-size: 13px; }
.referral-item > div:first-child span { margin-top: 5px; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; overflow-wrap: anywhere; }
.referral-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; }
.referral-status, .referral-claimed { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.referral-status-pending { color: var(--ink-faint); }
.referral-status-verified { color: #a9d4aa; }
.referral-claimed { color: var(--ink-faint); }
.referral-claim-button { padding: 9px 12px; border: 1px solid var(--coral); background: transparent; color: var(--coral); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.referral-claim-button:hover { background: var(--coral); color: #141416; }
.referral-claim-button:disabled { cursor: wait; opacity: .55; }

.account-dialog { width: min(430px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 42px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); box-shadow: 0 30px 100px rgba(0, 0, 0, .65); overflow: auto; }
.account-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(7px); }
.account-dialog h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 52px; font-weight: 400; letter-spacing: -.04em; line-height: .9; }
.account-dialog h2 em { color: var(--coral); font-style: normal; }
.account-dialog-copy { max-width: 310px; margin: 23px 0 27px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.google-button-frame { display: flex; min-height: 44px; align-items: center; justify-content: center; width: 100%; overflow: hidden; }
.google-button-frame iframe { max-width: 100%; }
.auth-status { margin: 18px 0 0; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; line-height: 1.65; }
.auth-status.is-error { color: #e3a69b; }
.account-dialog.is-busy .google-button-frame { opacity: .56; pointer-events: none; }
.account-menu-dialog { top: 86px; right: max(18px, calc((100vw - var(--max)) / 2)); bottom: auto; left: auto; width: min(330px, calc(100% - 36px)); margin: 0; padding: 29px; }
.account-menu-dialog::backdrop { background: rgba(0, 0, 0, .2); backdrop-filter: blur(2px); }
.account-menu-identity { display: flex; align-items: center; gap: 14px; padding-right: 16px; }
.account-avatar-menu { width: 48px; height: 48px; flex-basis: 48px; }
.account-avatar-menu .account-avatar-icon { width: 24px; height: 24px; }
.account-avatar-menu .account-avatar-initial { font-size: 27px; }
.account-menu-identity .meta-label { margin: 0 0 5px; }
.account-menu-identity h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.2; overflow-wrap: anywhere; }
.account-menu-identity p:last-child { margin: 5px 0 0; color: var(--ink-faint); font-family: var(--mono); font-size: 9px; overflow-wrap: anywhere; }
.account-menu-rule { height: 1px; margin: 24px 0 9px; background: var(--line); }
.account-menu-link, .account-menu-logout { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-align: left; text-transform: uppercase; transition: color .25s ease, border-color .25s ease; }
.account-menu-link:hover, .account-menu-logout:hover { border-color: var(--coral); color: var(--ink); }
.account-menu-link span, .account-menu-logout span { color: var(--coral); font-family: var(--sans); font-size: 16px; }
.account-menu-logout { border-bottom: 0; color: var(--ink-faint); }
.account-menu-logout:disabled { cursor: wait; opacity: .56; }
.toast { position: fixed; z-index: 50; right: 22px; bottom: 88px; max-width: 310px; padding: 13px 15px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-family: var(--mono); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.whatsapp-fab {
  position: fixed;
  z-index: 45;
  right: clamp(16px, 3vw, 30px);
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(214, 177, 116, .62);
  border-radius: 50%;
  background: rgba(184, 151, 94, .9);
  color: #17120c;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .36), 0 0 0 4px rgba(214, 177, 116, .08);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.whatsapp-fab:hover { background: var(--coral); box-shadow: 0 14px 30px rgba(0, 0, 0, .44), 0 0 0 5px rgba(214, 177, 116, .1); transform: translateY(-3px); }
.whatsapp-fab:active { transform: scale(.94); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.whatsapp-fab svg path + path { stroke-width: 1.7; }
.whatsapp-fab.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.9); }

@media (max-width: 1050px) {
  .section-pad, .site-header { width: min(var(--max), calc(100% - 52px)); }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 35px; }
  .hero h1 { font-size: clamp(66px, 8vw, 96px); }
  .hero-visual { min-height: 550px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .profile-card { gap: 35px; }
}

@media (max-width: 720px) {
  .section-pad, .site-header { width: calc(100% - 36px); }
  main section[id] { scroll-margin-top: 84px; }
  .site-header { height: 70px; }
  .page-view { min-height: calc(100svh - 70px); }
  .page-view-home, .page-view-catalog { min-height: 0; }
  .page-view-order { padding-top: 70px; }
  .site-header { gap: 8px; }
  .brand { min-width: 0; flex: 0 1 auto; gap: 8px; }
  .brand-mark { width: 29px; height: 29px; font-size: 19px; }
  .brand-word { font-size: 11px; letter-spacing: .09em; }
  .main-nav { min-width: 0; max-width: none; flex: 1 1 auto; justify-content: flex-end; gap: clamp(8px, 2.5vw, 14px); margin-left: 5px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .nav-link { flex: 0 0 auto; padding: 7px 0; color: var(--ink-soft); font-size: 8px; white-space: nowrap; }
  .nav-link + .nav-link::before { left: -5px; font-size: 9px; }
  .nav-link::after { bottom: -5px; height: 1px; }
  .account-area { margin-left: 0; }
  .account-trigger { width: 40px; height: 40px; padding: 4px; }
  .account-trigger-label { display: none; }
  .account-avatar { width: 30px; height: 30px; flex-basis: 30px; }
  .hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 18px; padding-top: 118px; padding-bottom: 8px; }
  .hero h1 { font-size: clamp(70px, 19vw, 100px); }
  .hero-text { margin-top: 28px; font-size: 13px; }
  .hero-visual { display: grid; min-height: 0; align-items: start; margin: 0 -18px; padding: 10px 0 0; }
  .hero-slide-layer { --hero-card-size: 68%; --hero-card-left: 16%; --hero-card-top: 0; --hero-back-offset: 34px; --hero-back-lift: 18px; }
  .hero-slide-layer-current { position: relative; inset: auto; grid-area: 1 / 1; height: auto; }
  .hero-slide-layer-back, .hero-slide-layer-advancing { top: 24px; right: 0; bottom: 16px; left: 0; }
  .hero-slide-layer-current .hero-card { position: relative; top: auto; left: auto; margin-left: var(--hero-card-left); }
  .hero-card-top { font-size: 7px; }
  .hero-product-meta h2 { font-size: 23px; }
  .hero-side-note { left: 4%; font-size: 7px; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 190px; height: 190px; }
  .catalog { padding-top: clamp(40px, 13vw, 56px); padding-bottom: clamp(56px, 16vw, 72px); }
  .section-heading { display: block; }
  .section-heading h2 { font-size: clamp(60px, 16vw, 82px); }
  .section-intro { margin-top: 24px; font-size: 12px; }
  .catalog-toolbar { display: block; margin-top: 36px; }
  .filter-list { overflow-x: auto; gap: 19px; padding-bottom: 2px; scrollbar-width: none; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; }
  .filter-button span { font-size: 8px; }
  .search-field { width: 100%; margin-top: 21px; }
  .search-field input { padding: 8px 0; font-size: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 33px; }
  .product-badge { top: 9px; left: 9px; max-width: calc(100% - 18px); font-size: 6px; }
  .product-info { display: block; padding-top: 10px; }
  .product-info h3 { font-size: 20px; }
  .product-info p { font-size: 8px; }
  .product-info strong { display: block; padding-top: 8px; font-size: 17px; }
  .quick-view { display: none; }
  .order-section { padding-top: 26px; padding-bottom: 90px; }
  .order-panel { display: block; }
  .order-panel-copy { padding: 50px 28px; }
  .order-panel h2 { font-size: clamp(50px, 14vw, 70px); }
  .order-panel-copy > p:not(.eyebrow) { font-size: 12px; }
  .steps-list { padding: 32px 28px; }
  .step { grid-template-columns: 33px 1fr; gap: 10px; padding: 19px 0; }
  .step > span { font-size: 20px; }
  .step h3 { font-size: 12px; }
  .step p { font-size: 9px; }
  .site-footer { display: block; padding-top: 16px; padding-bottom: 16px; }
  .footer-copy { margin-top: 12px; text-align: left; }
  .profile-section { padding-top: 113px; padding-bottom: 90px; }
  .profile-heading { display: block; }
  .profile-heading h1 { font-size: clamp(68px, 20vw, 94px); }
  .profile-intro { margin-top: 24px; font-size: 11px; }
  .profile-card { display: block; margin-top: 43px; padding: 25px 20px; }
  .profile-card-identity { align-items: flex-start; gap: 15px; }
  .account-avatar-profile { width: 64px; height: 64px; flex-basis: 64px; }
  .account-avatar-profile .account-avatar-icon { width: 28px; height: 28px; }
  .account-avatar-profile .account-avatar-initial { font-size: 36px; }
  .profile-card h2 { font-size: 34px; }
  .profile-details { gap: 19px 14px; margin-top: 35px; }
  .profile-details dd { font-size: 11px; }
  .referrals-heading { display: block; }
  .referrals-available { margin-top: 22px; }
  .referrals-panel { margin-top: 28px; padding: 25px 20px; }
  .referral-item { align-items: flex-start; flex-direction: column; gap: 13px; }
  .referral-item-actions { width: 100%; justify-content: space-between; }
  .referral-claim-button { padding: 10px; }
  .account-dialog { width: calc(100% - 36px); max-height: calc(100dvh - 36px); padding: 31px 23px; }
  .account-dialog h2 { font-size: clamp(43px, 13vw, 54px); }
  .account-menu-dialog { top: 50%; right: 18px; bottom: auto; left: 18px; width: auto; transform: translateY(-50%); }
  .account-menu-dialog::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(7px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .page-view { animation: none; }
}
