:root{
  --bg:#f6f4ef;
  --paper:#ffffff;
  --text:#171717;
  --muted:#5b5b5b;

  --gold:#a6916e;
  --ink:#0f1115;
  --line:rgba(15,17,21,.10);

  --shadow: 0 24px 60px rgba(0,0,0,.10);
  --shadow2: 0 10px 30px rgba(0,0,0,.08);

  --r: 22px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(166,145,110,.10), transparent 55%),
              radial-gradient(900px 600px at 80% 30%, rgba(15,17,21,.08), transparent 60%),
              var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
main{padding-top:86px}

/* NAVBAR sticky hide/show */
.navbar{
  position:fixed; top:0; left:0; right:0;
  z-index:1000;
  background:rgba(246,244,239,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  transition: transform .35s ease, background .35s ease;
}
.navbar.hidden{transform:translateY(-100%)}
.nav-inner{
  max-width:1220px;
  margin:0 auto;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-family:"Playfair Display", serif;
  letter-spacing:3px;
  font-size:26px;
}
.nav-list{display:flex; gap:28px; list-style:none; align-items:center}
.nav-link{
  font-size:14px;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:rgba(23,23,23,.86);
  transition: color .2s ease;
}
.nav-link:hover{color:var(--ink)}
.chev{opacity:.7; font-size:12px}

/* MEGA MENU (desktop) */
.has-mega{position:relative}
.mega{
  position:absolute;
  top:calc(100% + 14px);
  left:50%;
  transform:translateX(-50%);
  width:min(980px, calc(100vw - 40px));
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border:1px solid rgba(15,17,21,.12);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity:0;
  pointer-events:none;
  translate: 0 -8px;
  transition: opacity .22s ease, translate .22s ease;
}
.has-mega.open .mega{
  opacity:1;
  pointer-events:auto;
  translate:0 0;
}
.mega-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  padding:18px;
}
.mega-left{display:flex; flex-direction:column; gap:10px}
.mega-item{
  border-radius:16px;
  padding:14px 14px;
  border:1px solid rgba(15,17,21,.08);
  background:rgba(246,244,239,.55);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.mega-item:hover{
  transform: translateY(-2px);
  background:rgba(255,255,255,.75);
  border-color:rgba(166,145,110,.35);
}
.mega-title{
  font-family:"Playfair Display", serif;
  letter-spacing:1px;
  font-size:18px;
}
.mega-sub{
  margin-top:4px;
  font-size:13px;
  color:rgba(23,23,23,.68);
  line-height:1.35;
}
.mega-right .preview-frame{
  height:100%;
  border-radius:18px;
  border:1px solid rgba(15,17,21,.10);
  background:linear-gradient(180deg, rgba(15,17,21,.04), rgba(166,145,110,.06));
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.preview-label{
  text-transform:uppercase;
  letter-spacing:1.2px;
  font-size:12px;
  color:rgba(23,23,23,.70);
}
.preview-art{
  flex:1;
  border-radius:16px;
  border:1px solid rgba(15,17,21,.10);
  background:
    radial-gradient(600px 300px at 30% 30%, rgba(166,145,110,.30), transparent 55%),
    radial-gradient(400px 260px at 70% 40%, rgba(15,17,21,.20), transparent 60%),
    rgba(255,255,255,.55);
  position:relative;
  overflow:hidden;
}
.preview-art::after{
  content:"";
  position:absolute; inset:-40%;
  background: conic-gradient(from 180deg, rgba(166,145,110,.15), transparent, rgba(15,17,21,.12), transparent);
  filter: blur(10px);
  animation: slowspin 14s linear infinite;
  opacity:.55;
}
@keyframes slowspin{to{transform:rotate(360deg)}}
.preview-copy{font-size:13px; color:rgba(23,23,23,.72); line-height:1.35}

/* HERO */
.hero{
  min-height: calc(100vh - 86px);
  display:grid;
  place-items:center;
  position:relative;
  padding:56px 20px 40px;
}
.hero-text{
  max-width:860px;
  text-align:center;
}
.hero h1{
  font-family:"Playfair Display", serif;
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing:.5px;
  line-height:1.02;
}
.hero p{
  margin-top:14px;
  font-size:16px;
  color:rgba(23,23,23,.70);
}
.hero-cta{margin-top:26px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
.btn{
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(15,17,21,.18);
  background:rgba(255,255,255,.55);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:1.1px;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover{transform: translateY(-2px)}
.btn.ghost{background:transparent}

.hero-orb{
  position:absolute;
  width:520px; height:520px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(166,145,110,.26), transparent 55%),
              radial-gradient(circle at 70% 40%, rgba(15,17,21,.16), transparent 60%);
  opacity:.8;
  transform: translateY(80px);
  z-index:-1;
}

/* SECTIONS */
.section{max-width:1220px; margin:0 auto; padding:70px 20px}
.collections-preview{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.journal-preview{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}
.section-head h3{
  font-family:"Playfair Display", serif;
  font-size:28px;
}
.section-head p{margin-top:6px; color:rgba(23,23,23,.68)}

/* CARDS */
.card, .paper, .object-card, .collection-tile{
  border-radius: var(--r);
  border:1px solid rgba(15,17,21,.10);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
}
.card{padding:28px; cursor:pointer}
.card-kicker{
  font-size:12px; letter-spacing:1.2px; text-transform:uppercase;
  color:rgba(23,23,23,.62);
}
.card h2{
  margin-top:10px;
  font-family:"Playfair Display", serif;
  font-size:28px;
}
.card p{margin-top:8px; color:rgba(23,23,23,.70); line-height:1.4}
.card-link{
  display:inline-block; margin-top:16px;
  font-size:12px; letter-spacing:1.1px; text-transform:uppercase;
  color:rgba(23,23,23,.74);
}

.paper{padding:26px}
.paper h4{font-family:"Playfair Display", serif; font-size:20px}
.paper p{margin-top:8px; color:rgba(23,23,23,.70)}

/* lift + hover grow */
.lift{transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease}
.lift:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow2);
  border-color: rgba(166,145,110,.34);
}

/* PAGE */
.page{padding-bottom:40px}
.page-hero{
  max-width:1220px; margin:0 auto;
  padding:42px 20px 10px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:stretch;
}
.page-hero.compact{grid-template-columns:1fr}
.kicker{
  text-transform:uppercase;
  letter-spacing:1.2px;
  font-size:12px;
  color:rgba(23,23,23,.62);
}
.page-hero h1{
  margin-top:10px;
  font-family:"Playfair Display", serif;
  font-size: clamp(40px, 5vw, 64px);
}
.page-hero p{margin-top:10px; color:rgba(23,23,23,.70); max-width:56ch}
.page-hero-art{
  border-radius: var(--r);
  border:1px solid rgba(15,17,21,.10);
  background:
    radial-gradient(700px 420px at 30% 30%, rgba(166,145,110,.30), transparent 58%),
    radial-gradient(520px 340px at 75% 35%, rgba(15,17,21,.18), transparent 60%),
    rgba(255,255,255,.52);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  overflow:hidden;
  position:relative;
}
.page-hero-art::after{
  content:"";
  position:absolute; inset:-35%;
  background: conic-gradient(from 180deg, rgba(166,145,110,.15), transparent, rgba(15,17,21,.10), transparent);
  filter: blur(10px);
  animation: slowspin 16s linear infinite;
  opacity:.65;
}

/* Objects grid */
.grid-objects{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.object-card{overflow:hidden}
.object-media{
  height:210px;
  background:
    linear-gradient(180deg, rgba(15,17,21,.08), rgba(166,145,110,.10)),
    rgba(255,255,255,.55);
  border-bottom:1px solid rgba(15,17,21,.10);
}
.object-body{padding:18px}
.object-body h3{font-family:"Playfair Display", serif; font-size:22px}
.object-body p{margin-top:8px; color:rgba(23,23,23,.70)}
.meta{display:block; margin-top:12px; font-size:12px; letter-spacing:1px; color:rgba(23,23,23,.62)}

/* Collections grid */
.collections-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.collection-tile{padding:26px}
.collection-tile h2{font-family:"Playfair Display", serif; font-size:26px}
.collection-tile p{margin-top:8px; color:rgba(23,23,23,.70)}

/* Footer */
.footer{
  padding:40px 20px;
  border-top:1px solid var(--line);
  text-align:center;
  color:rgba(23,23,23,.62);
}

/* Reveal on scroll */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* Custom cursor */
.cursor, .cursor-dot{
  position:fixed;
  top:0; left:0;
  pointer-events:none;
  z-index:2000;
  translate:-50% -50%;
}
.cursor{
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid rgba(15,17,21,.30);
  backdrop-filter: blur(2px);
  transition: width .18s ease, height .18s ease, border-color .18s ease, opacity .18s ease;
  opacity:.9;
}
.cursor-dot{
  width:6px; height:6px;
  border-radius:50%;
  background: rgba(15,17,21,.55);
  opacity:.85;
}
body.cursor-hover .cursor{
  width:56px; height:56px;
  border-color: rgba(166,145,110,.55);
}

/* Burger button */
.burger{
  display:none;
  width:46px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(15,17,21,.16);
  background:rgba(255,255,255,.45);
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
}
.burger span{
  display:block;
  width:18px;
  height:1.6px;
  background: rgba(15,17,21,.72);
  border-radius:2px;
  transition: transform .22s ease, opacity .22s ease;
}

/* Mobile drawer overlay */
.mobile-drawer{
  position:fixed;
  inset:0;
  background: rgba(15,17,21,.28);
  backdrop-filter: blur(6px);
  opacity:0;
  pointer-events:none;
  transition: opacity .22s ease;
  z-index:3000;
}
.mobile-drawer.open{
  opacity:1;
  pointer-events:auto;
}
.drawer-panel{
  position:absolute;
  top:10px;
  right:10px;
  width:min(420px, calc(100vw - 20px));
  height: calc(100vh - 20px);
  border-radius: 26px;
  background: rgba(255,255,255,.86);
  border:1px solid rgba(15,17,21,.12);
  box-shadow: var(--shadow);
  transform: translateX(18px);
  opacity:0;
  transition: transform .24s ease, opacity .24s ease;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.mobile-drawer.open .drawer-panel{
  transform: translateX(0);
  opacity:1;
}

.drawer-head{
  padding:18px 18px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(15,17,21,.10);
}
.drawer-brand{
  font-family:"Playfair Display", serif;
  letter-spacing:3px;
  font-size:20px;
}
.drawer-close{
  width:44px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(15,17,21,.14);
  background:rgba(246,244,239,.70);
  cursor:pointer;
}

.drawer-links{
  padding:16px 18px;
  overflow:auto;
}
.drawer-link{
  display:block;
  padding:14px 12px;
  border-radius:16px;
  border:1px solid rgba(15,17,21,.10);
  background:rgba(246,244,239,.55);
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:1.1px;
  font-size:12px;
}

.drawer-sep{
  height:1px;
  background: rgba(15,17,21,.10);
  margin:14px 0;
}

.drawer-foot{
  padding:14px 18px;
  border-top:1px solid rgba(15,17,21,.10);
  color: rgba(23,23,23,.62);
  font-size:12px;
  letter-spacing:1px;
}

/* Accordion in mobile drawer */
.drawer-accordion{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 12px;
  border-radius:16px;
  border:1px solid rgba(15,17,21,.10);
  background:rgba(246,244,239,.55);
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:1.1px;
  font-size:12px;
  margin-bottom:10px;
}
.acc-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(15,17,21,.12);
  background:rgba(255,255,255,.45);
  transition: transform .18s ease;
}
.drawer-accordion[aria-expanded="true"] .acc-icon{
  transform: rotate(45deg);
}
.drawer-acc-panel{
  margin-top:0px;
  margin-bottom:12px;
  padding:10px 10px 6px;
  border-radius:16px;
  border:1px solid rgba(15,17,21,.10);
  background:rgba(255,255,255,.55);
}
.drawer-sublink{
  display:block;
  padding:10px 6px;
  font-family:"Playfair Display", serif;
  font-size:18px;
  border-radius:14px;
}
.drawer-sublink:hover{
  background: rgba(166,145,110,.10);
}
.drawer-mini{
  display:inline-block;
  margin-top:10px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(15,17,21,.10);
  background:rgba(166,145,110,.10);
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
}

/* Responsive */
@media (max-width: 980px){
  .collections-preview{grid-template-columns:1fr}
  .grid-objects{grid-template-columns:1fr}
  .collections-grid{grid-template-columns:1fr}
  .page-hero{grid-template-columns:1fr}
  .mega-inner{grid-template-columns:1fr}
}

/* Responsive: show burger, hide desktop nav */
@media (max-width: 860px){
  .burger{display:flex}
  .desktop-nav{display:none !important}
  .cursor, .cursor-dot{display:none}
}

/*FOOTER*/

/* ==================================================
   MEMORIS – FOOTER (final)
   ================================================== */

.memoris-footer{
  background:#f7f7f5;
  color:#2a2a2a;
  padding:70px 0 35px;
  border-top:1px solid #dedede;
  font-family: Georgia, "Times New Roman", serif;
}

/* container */
.memoris-container{
  width:min(1100px, 92%);
  margin:0 auto;
}

/* grid */
.memoris-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap:32px;
}

/* brand */
.memoris-brand{
  font-size:18px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
  font-weight:600;
}

.memoris-tagline{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:14px;
  color:#444;
  margin-bottom:14px;
  letter-spacing:.02em;
}

.memoris-note{
  margin:0;
  color:#444;
  line-height:1.6;
  max-width:36ch;
  font-size:15px;
}

/* titles */
.memoris-title{
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:14px;
  color:#2a2a2a;
}

/* lists */
.memoris-list{
  list-style:none;
  padding:0;
  margin:0;
}

.memoris-list li{
  margin:0 0 10px 0;
  font-size:15px;
  color:#444;
}

/* links */
.memoris-footer a{
  color:#444;
  text-decoration:none;
}

.memoris-footer a:hover{
  color:#000;
}

/* contact */
.memoris-contact{
  margin-top:14px;
  font-size:15px;
}

/* bottom line */
.memoris-bottom{
  margin-top:44px;
  padding-top:18px;
  border-top:1px solid #e0e0e0;
  font-size:13px;
  color:#777;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  letter-spacing:.03em;
}

.memoris-dot{
  opacity:.6;
}

/* responsive */
@media (max-width: 900px){
  .memoris-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
}
