/* Maker site: landing + product page (mockup for a Shopify build)
   Shape rule: everything is sharp (2px). Only the sheet top (one lampshade curve), the swatch dots and the lights switch are round. */
:root {
  --paper: #F4F0E9;
  --paper2: #EBE5DB;
  --ink: #171412;
  --mut: #6A6157;
  --amber: #D8641F;
  --glow: #FFB36B;
  --line: rgba(23, 20, 18, .14);
  --ff: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --fs: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(18px, 2.6vw, 40px);
}
html.dim {
  --paper: #14100E;
  --paper2: #1D1815;
  --ink: #F2EBE0;
  --mut: #A39A8E;
  --amber: #FF9A4D;
  --line: rgba(242, 235, 224, .16);
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fs);
  -webkit-font-smoothing: antialiased;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img, video { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--amber); color: #171412; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }

.cap {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.mut { color: var(--mut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- logo: plain text wordmark + a small glowing dot (no image) ---------- */
.wm { display: block; font-family: var(--ff); font-style: italic; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.wm-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px 1px currentColor; }
.wm-orb { display: block; width: clamp(420px, 70vw, 980px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, rgba(255, 179, 107, .35) 30%, rgba(255, 179, 107, 0) 68%); opacity: .22; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--pad);
  color: #fff; mix-blend-mode: difference;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__l, .nav__r { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav__r { justify-content: flex-end; }
.nav a, .nav button { position: relative; }
.nav .lnk::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav .lnk:hover::after { transform: scaleX(1); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .wm { font-size: 26px; }
.sw {
  display: inline-flex; align-items: center; gap: 9px;
}
.sw i {
  position: relative; width: 30px; height: 16px; border-radius: 99px; border: 1px solid currentColor; display: block;
}
.sw i::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: currentColor;
  transition: transform .45s var(--ease);
}
html.dim .sw i::after { transform: translateX(14px); }

/* ---------- hero ---------- */
.hero {
  position: sticky; top: 0; height: 100svh; min-height: 560px; z-index: 0; overflow: hidden; background: #0e0b09; color: #fff;
}
.hero video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 5, .55) 0%, rgba(10, 7, 5, 0) 22%),
    linear-gradient(0deg, rgba(10, 7, 5, .78) 0%, rgba(10, 7, 5, 0) 52%);
}
.hero__copy {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 6vh, 64px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
}
.hero h1 {
  font-family: var(--ff); font-weight: 400;
  font-size: clamp(76px, 15.4vw, 256px); line-height: .8; letter-spacing: -.03em;
}
.hero h1 span { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 span > i { display: block; font-style: normal; }
.hero h1 .s2 { margin: -.16em 0 0 .8em; }
.hero h1 .s2 > i {
  font-style: italic; font-weight: 400; color: var(--glow); letter-spacing: -.02em;
}
.hero__side { max-width: 270px; padding-bottom: .6em; }
.hero__side p { font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .82); margin-bottom: 20px; }

/* buttons: one shape, arrow drawn in CSS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  background: var(--ink); color: var(--paper); border-radius: 2px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .25s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--amber); color: #171412; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--light { background: #fff; color: #171412; }
.btn--light:hover { background: var(--glow); color: #171412; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.hero .btn, .close .btn { transition: background .35s var(--ease), color .35s var(--ease); }
.btn--arr::before { order: 2; content: ''; width: 18px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.btn--arr::after { order: 3; content: ''; width: 7px; height: 7px; margin-left: -13px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn--arr:hover::before { width: 28px; }

/* ---------- sheet (everything that scrolls over the hero) ---------- */
.sheet {
  position: relative; z-index: 2; background: var(--paper);
  border-radius: clamp(18px, 2.4vw, 34px) clamp(18px, 2.4vw, 34px) 0 0;
  transition: background-color .7s var(--ease);
}
.sec { padding: clamp(80px, 13vw, 200px) var(--pad); }

/* hairlines that draw themselves in */
[data-line] { position: relative; }
[data-line]::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left; }
.js [data-line]::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js [data-line].is-in::before { transform: scaleX(1); }

/* statement, with the lamp mark as a faint watermark */
.stmt { position: relative; overflow: hidden; padding-top: clamp(110px, 16vw, 250px); padding-bottom: clamp(90px, 12vw, 190px); }
.stmt__bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.stmt__bg .wm-orb { flex: none; }
.stmt p {
  position: relative; max-width: 17em; margin: 0 auto; text-align: center;
  font-family: var(--ff); font-weight: 400; font-size: clamp(36px, 6vw, 96px); line-height: 1.02; letter-spacing: -.02em;
}
.stmt p em { font-style: italic; font-weight: 400; color: var(--amber); }
.js .stmt .w { opacity: .14; }

/* collection */
.col__head { padding-top: 18px; margin-bottom: clamp(40px, 6vw, 90px); }
.col__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(14px, 2vw, 32px); row-gap: clamp(50px, 7vw, 110px); }
.card { display: block; position: relative; }
.card:nth-child(1) { grid-column: 1 / span 6; }
.card:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(40px, 12vw, 180px); }
.card:nth-child(3) { grid-column: 2 / span 5; }
.card:nth-child(4) { grid-column: 8 / span 5; margin-top: clamp(20px, 7vw, 110px); }
.card__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper2); }
.card__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transition: transform 1.2s var(--ease);
}
.card:hover .card__img img { transform: scale(1.045); }
.card__view {
  position: absolute; left: 18px; bottom: 18px; padding: 11px 16px; border-radius: 2px;
  background: var(--paper); color: var(--ink);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  transform: translateY(10px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.card:hover .card__view, .card:focus-visible .card__view { transform: none; opacity: 1; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 18px; }
.card__meta h3 { font-family: var(--ff); font-weight: 500; font-size: clamp(28px, 2.9vw, 42px); letter-spacing: -.015em; line-height: 1; }
.card__meta h3 em { font-style: italic; font-weight: 500; color: var(--amber); transition: letter-spacing .6s var(--ease); }
.card:hover .card__meta h3 em { letter-spacing: .02em; }
.card__meta span { font-size: 12px; color: var(--mut); white-space: nowrap; }
.card__sub { margin-top: 8px; font-size: 12px; letter-spacing: .04em; color: var(--mut); }

/* craft: macro */
.craft { position: relative; height: 120svh; min-height: 640px; overflow: hidden; background: #1a0f0b; color: #fff; padding: 0; }
.craft__bg { position: absolute; inset: -9% 0; }
.craft__bg img { width: 100%; height: 100%; object-fit: cover; }
.craft__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 8, 5, .62) 0%, rgba(16, 8, 5, 0) 62%); }
.craft__glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .4;
  background: radial-gradient(ellipse 55% 70% at 70% 52%, rgba(255, 150, 70, .5), rgba(255, 110, 40, .16) 45%, rgba(255, 110, 40, 0) 72%);
}
.js .craft__glow { opacity: 0; }
.craft__copy { position: absolute; left: var(--pad); bottom: clamp(36px, 9vh, 100px); max-width: 660px; }
.craft__copy h2 {
  font-family: var(--ff); font-weight: 400; font-size: clamp(46px, 7vw, 116px); line-height: .94; letter-spacing: -.025em;
}
.craft__copy h2 em { font-style: italic; font-weight: 400; color: var(--glow); }
.craft__copy p { margin-top: 24px; max-width: 380px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .82); }

/* bases */
.bases { padding-bottom: clamp(60px, 9vw, 140px); }
.bases__top { margin-bottom: clamp(28px, 4vw, 60px); }
.bases__top h2 { max-width: 11em; font-family: var(--ff); font-weight: 400; font-size: clamp(40px, 5.6vw, 92px); line-height: .98; letter-spacing: -.025em; }
.bases__top h2 em { font-style: italic; font-weight: 400; color: var(--amber); }
.bases__top p { max-width: 340px; margin-top: 22px; font-size: 14px; line-height: 1.7; color: var(--mut); }
.fig { position: relative; overflow: hidden; background: var(--paper2); }
.fig img { width: 100%; height: auto; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(14px, 2vw, 32px); align-items: start; padding-top: 0; }
.gal figure { margin: 0; }
.gal .g1 { grid-column: 1 / span 7; }
.gal .g2 { grid-column: 9 / span 4; margin-top: clamp(50px, 14vw, 220px); }
.gal .im { position: relative; overflow: hidden; background: var(--paper2); }
.gal .g1 .im { aspect-ratio: 16 / 10; }
.gal .g2 .im { aspect-ratio: 3 / 4; }
.gal .im img { position: absolute; inset: -7% 0; width: 100%; height: 114%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.gal figcaption { margin-top: 14px; font-size: 12px; color: var(--mut); }

/* closing */
.close { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; padding: 0; background: #1a1411; }
.close img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 40%; }
.close__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 9, 6, .72), rgba(14, 9, 6, 0) 55%); }
.close__copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px, 8vh, 90px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.close h2 { font-family: var(--ff); font-weight: 400; font-size: clamp(46px, 8.2vw, 138px); line-height: .9; letter-spacing: -.03em; }
.close h2 em { font-style: italic; font-weight: 400; color: var(--glow); }

/* footer: the wordmark bleeds across the whole width */
.foot { background: var(--paper); padding: clamp(60px, 8vw, 120px) var(--pad) 0; overflow: hidden; transition: background-color .7s var(--ease); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: start; }
.foot h4 { margin: 0 0 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--mut); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot ul a:hover { color: var(--amber); }
.sub { display: flex; border-bottom: 1px solid var(--ink); }
.sub input { flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0; font: inherit; font-size: 14px; color: inherit; outline: 0; }
.sub input::placeholder { color: var(--mut); opacity: 1; }
.sub:focus-within { border-bottom-color: var(--amber); }
.sub button { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding-left: 14px; transition: color .3s var(--ease), transform .2s var(--ease); }
.sub button:hover { color: var(--amber); }
.sub button:active { transform: translateY(1px); }
.foot__base { display: flex; justify-content: space-between; margin-top: clamp(50px, 8vw, 110px); padding-top: 20px; font-size: 12px; color: var(--mut); }
.foot__word { margin-top: clamp(36px, 6vw, 90px); padding-bottom: clamp(14px, 2vw, 28px); overflow: hidden; }
.foot__word .wm--big { width: 100%; color: var(--ink); font-size: 31vw; line-height: .78; text-align: center; letter-spacing: -.04em; }

/* reveal helper */
.js [data-up] { opacity: 0; transform: translateY(34px); }

/* bag */
.bag { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.bag__bk { position: absolute; inset: 0; background: rgba(15, 10, 7, .4); opacity: 0; transition: opacity .5s var(--ease); }
.bag__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--paper); color: var(--ink);
  padding: 26px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease);
}
.bag.is-open { pointer-events: auto; }
.bag.is-open .bag__bk { opacity: 1; }
.bag.is-open .bag__panel { transform: none; }
.bag__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.bag__top h3 { font-family: var(--ff); font-weight: 500; font-size: 32px; letter-spacing: -.015em; }
.bag__list { flex: 1; overflow: auto; padding-top: 10px; }
.bag__row { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag__row img { width: 74px; height: 92px; object-fit: cover; }
.bag__row b { display: block; font-family: var(--ff); font-weight: 500; font-size: 21px; margin-bottom: 4px; }
.bag__row span { display: block; font-size: 12px; color: var(--mut); line-height: 1.6; }
.bag__row button { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--mut); }
.bag__row button:hover { color: var(--amber); }
.bag__empty { padding-top: 24px; font-size: 14px; color: var(--mut); }
.bag__note { font-size: 12px; color: var(--mut); padding-top: 14px; }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 95; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 14px 22px; font-size: 12px; letter-spacing: .08em; border-radius: 2px;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- product page ---------- */
.pp { display: grid; grid-template-columns: 1fr 1fr; align-items: start; min-height: 100svh; }
.pp__media { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper2); }
.pp__media .ph { position: absolute; inset: 0; }
.pp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease), transform 1.6s var(--ease); transform: scale(1.04); }
.pp__media img.is-on { opacity: 1; transform: scale(1); }
.pp__body { min-width: 0; }
.pp__first {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 110px clamp(24px, 5vw, 80px) 70px;
}
.pp__title { position: relative; font-family: var(--ff); font-weight: 400; font-size: clamp(68px, 9.8vw, 170px); line-height: .84; letter-spacing: -.03em; }
.pp__title .t2 { display: block; font-style: italic; font-weight: 400; color: var(--amber); letter-spacing: -.02em; font-size: .62em; line-height: 1.05; margin: -.08em 0 0 1.1em; padding-bottom: .06em; }
.pp__sw { margin-top: clamp(24px, 4vh, 44px); display: flex; gap: 14px; align-items: center; justify-content: center; }
.dot {
  width: 38px; height: 38px; border-radius: 50%; padding: 3px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease), transform .2s var(--ease);
}
.dot:active { transform: scale(.94); }
.dot b { display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); }
.dot.is-on { box-shadow: 0 0 0 1.5px var(--ink); }
.pp__vlabel { margin-top: 14px; font-size: 12px; letter-spacing: .04em; color: var(--mut); min-height: 1.4em; }
.pp__thumbs { margin-top: clamp(22px, 3.4vh, 40px); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.th { position: relative; width: 56px; height: 70px; overflow: hidden; opacity: .5; transition: opacity .35s var(--ease); background: var(--paper2); }
.th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.th.is-on, .th:hover { opacity: 1; }
.th.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); }
.pp__price { margin-top: clamp(26px, 4.4vh, 48px); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.pp__desc { margin-top: 18px; max-width: 420px; font-size: 14.5px; line-height: 1.75; color: var(--ink); opacity: .86; }
.pp__buy { margin-top: clamp(26px, 4.6vh, 48px); display: grid; gap: 12px; width: min(300px, 100%); }
.pp__buy .btn { width: 100%; }
.pp__more { padding: 0 clamp(24px, 5vw, 80px) 90px; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.spec div span { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--mut); margin-bottom: 8px; }
.spec div b { font-family: var(--ff); font-weight: 500; font-size: 23px; letter-spacing: -.01em; }
.rel { margin-top: clamp(60px, 9vw, 120px); }
.rel h3 { font-family: var(--ff); font-weight: 500; font-size: clamp(32px, 3.4vw, 50px); letter-spacing: -.015em; margin-bottom: 26px; }
.rel h3 em { font-style: italic; font-weight: 500; color: var(--amber); }
.rel__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel__row .card { grid-column: auto !important; margin: 0 !important; }
.rel__row .card__meta h3 { font-size: 24px; }
.rel__row .card__view { padding: 9px 12px; font-size: 9px; }

/* ---------- phone ---------- */
@media (max-width: 899px) {
  .nav { padding: 14px var(--pad); }
  .nav__l .lnk { display: none; }
  .brand .wm { font-size: 22px; }
  .nav .sw span { display: none; }
  .nav__l { gap: 0; }
  .hero__copy { grid-template-columns: 1fr; gap: 18px; bottom: 36px; }
  .hero h1 { font-size: clamp(76px, 27vw, 148px); }
  .hero h1 .s2 { margin-left: .45em; }
  .hero__side { max-width: 320px; padding-bottom: 0; }
  .col__grid { grid-template-columns: 1fr 1fr; }
  .card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .card:nth-child(2n) { margin-top: 56px; }
  .card__meta { flex-direction: column; gap: 6px; }
  .card__view { display: none; }
  .craft { height: 100svh; }
  .craft__bg img { object-position: 58% 50%; }
  .craft__glow { background: radial-gradient(ellipse 80% 60% at 60% 52%, rgba(255, 150, 70, .5), rgba(255, 110, 40, 0) 70%); }
  .fig { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .fig img { width: 100%; height: 58svh; object-fit: cover; object-position: 66% 50%; }
  .gal { grid-template-columns: 1fr; row-gap: 40px; }
  .gal .g1, .gal .g2 { grid-column: 1; margin-top: 0; }
  .gal .g1 .im { aspect-ratio: 4 / 3; }
  .gal .g2 .im { aspect-ratio: 4 / 5; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; gap: 8px; }
  .pp { grid-template-columns: 1fr; }
  .pp__media { position: relative; height: 78svh; }
  .pp__first { min-height: 0; padding-top: 44px; }
  .pp__more { padding-bottom: 60px; }
  .rel__row { grid-template-columns: 1fr 1fr; }
  .rel__row .card:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}
