@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

:root{
  --ink:#171412;
  --paper:#fbf8f6;
  --warm:#eee0d9;
  --warm2:#e4d1c7;
  --muted:#756a64;
  --line:#dfd4ce;
  --white:#fffdfb;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Inter,Arial,sans-serif;
}

a{color:inherit}

.site-nav{
  position:absolute;
  inset:0 0 auto 0;
  z-index:40;
  height:84px;
  padding:0 46px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.22);
  transition:background .25s,color .25s,border-color .25s;
}

.site-nav.scrolled{
  position:fixed;
  background:rgba(255,253,251,.94);
  color:var(--ink);
  border-color:var(--line);
  backdrop-filter:blur(12px);
}

.mini-brand{
  text-decoration:none;
  font-family:"Cormorant Garamond",serif;
  font-size:18px;
  letter-spacing:.24em;
}

.site-links{
  display:flex;
  gap:28px;
}

.site-links a,
.account-links a{
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:9px;
}

.account-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  min-width:0;
}

.logged-user,
.guest-label{
  font-size:10px;
  opacity:.72;
  white-space:nowrap;
}

.hero{
  position:relative;
  height:100vh;
  min-height:680px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#28201c;
}

.hero-bg{
  position:absolute;
  inset:-12% 0;
  will-change:transform;
  background-image:
    url("home-hero.webp"),
    linear-gradient(120deg,#776359,#b6a298 48%,#463833);
  background-size:cover;
  background-position:center;
  transform:translate3d(0,0,0) scale(1.04);
}

.hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(15,12,10,.28),rgba(15,12,10,.17) 52%,rgba(15,12,10,.48)),
    linear-gradient(90deg,rgba(0,0,0,.12),transparent 42%,rgba(0,0,0,.12));
}

.hero-content{
  position:relative;
  z-index:4;
  text-align:center;
  color:#fff;
  will-change:transform,opacity;
}

.eyebrow,
.kicker,
.intro-kicker,
.tool-kicker{
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:9px;
}

.hero-content h1{
  margin:20px 0 9px;
  font-family:"Cormorant Garamond",serif;
  font-weight:400;
  font-size:clamp(78px,11vw,170px);
  letter-spacing:.17em;
  line-height:.72;
  text-indent:.17em;
}

.hero-content h1 span{
  font-size:.38em;
  letter-spacing:.65em;
  text-indent:.65em;
}

.hero-content p{
  margin-top:28px;
  font-family:"Cormorant Garamond",serif;
  font-size:23px;
  font-style:italic;
  letter-spacing:.03em;
}

.scroll-cue{
  position:absolute;
  z-index:5;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.19em;
  font-size:8px;
}

.scroll-cue i{
  position:relative;
  display:block;
  width:1px;
  height:42px;
  background:rgba(255,255,255,.38);
  overflow:hidden;
}

.scroll-cue i:after{
  content:"";
  position:absolute;
  left:0;
  top:-100%;
  width:1px;
  height:100%;
  background:#fff;
  animation:scrollLine 1.9s infinite ease-in-out;
}

@keyframes scrollLine{
  0%{transform:translateY(0)}
  70%,100%{transform:translateY(200%)}
}

.intro{
  max-width:900px;
  margin:auto;
  padding:115px 30px 110px;
  text-align:center;
}

.intro-kicker{
  margin-bottom:22px;
  color:#7f716a;
}

.intro p{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(32px,4.2vw,58px);
  line-height:1.13;
  color:#27211e;
}

.tools-section{
  padding:105px max(28px,calc((100vw - 1240px)/2));
  background:#fffdfb;
}

.section-heading{
  margin-bottom:48px;
  display:grid;
  grid-template-columns:1.3fr .7fr;
  align-items:end;
  gap:50px;
}

.section-heading h2,
.latest-copy h2,
.manifesto-copy h2{
  margin:5px 0 0;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(44px,5vw,70px);
  font-weight:500;
  line-height:.98;
}

.section-heading p,
.latest-copy p,
.manifesto-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

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

.tool-card{
  position:relative;
  min-height:590px;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  background:#24201e;
}

.tool-image{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}

.tool-vault{
  background-image:
    url("tool-vault.webp"),
    linear-gradient(135deg,#b7a196,#705b53);
}

.tool-gallery{
  background-image:
    url("tool-gallery.webp"),
    linear-gradient(135deg,#8d786d,#c7b4a9);
}

.tool-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(16,12,10,.74),rgba(16,12,10,.05) 65%);
}

.tool-card:hover .tool-image{
  transform:scale(1.035);
}

.tool-number{
  position:absolute;
  top:24px;
  right:26px;
  z-index:2;
  font-family:"Cormorant Garamond",serif;
  font-size:21px;
}

.tool-content{
  position:absolute;
  z-index:3;
  inset:auto 0 0;
  padding:38px;
}

.tool-content h3{
  margin:8px 0 12px;
  font-family:"Cormorant Garamond",serif;
  font-weight:500;
  font-size:52px;
}

.tool-content p{
  max-width:500px;
  margin:0 0 24px;
  line-height:1.65;
  color:rgba(255,255,255,.79);
}

.explore{
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:9px;
}

.explore b{
  margin-left:8px;
  font-size:15px;
  font-weight:400;
}

.future-card{
  grid-column:1/-1;
  min-height:280px;
  color:var(--ink);
  background:#ebddd6;
  border:1px solid #dfcec5;
}

.future-card .tool-content{
  max-width:740px;
}

.future-card .tool-content p{
  color:#695f5a;
}

.future-lines{
  position:absolute;
  inset:0;
  opacity:.35;
  background:
    linear-gradient(90deg,transparent 49.9%,#c8b3a8 50%,transparent 50.1%),
    linear-gradient(0deg,transparent 49.9%,#c8b3a8 50%,transparent 50.1%);
  background-size:80px 80px;
}

.muted{color:#74665f}

.latest-section{
  padding:110px max(28px,calc((100vw - 1240px)/2));
  background:#f1e7e2;
}

.latest-copy{
  max-width:650px;
  margin-bottom:44px;
}

.latest-copy p{
  max-width:580px;
  margin-top:18px;
}

.latest-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr .9fr 1.1fr;
  gap:12px;
  min-height:420px;
}

.latest-placeholder{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:18px;
  background:#d6c2b8;
}

.latest-placeholder span{
  position:relative;
  z-index:2;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:8px;
}

.latest-placeholder:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top,rgba(23,17,14,.45),transparent 55%),
    radial-gradient(circle at 30% 20%,rgba(255,255,255,.26),transparent 36%);
}

.p1{background:#a99084}
.p2{background:#c7b0a5;transform:translateY(42px)}
.p3{background:#8f786e}
.p4{background:#c7b5ac;transform:translateY(42px)}

.latest-note{
  margin-top:64px;
  color:#8a7e77;
  font-size:10px;
  letter-spacing:.04em;
}

.manifesto{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:650px;
  background:#fffdfb;
}

.manifesto-image{
  min-height:650px;
  background-image:
    url("home-about.webp"),
    linear-gradient(135deg,#6d5d55,#baa89e);
  background-size:cover;
  background-position:center;
}

.manifesto-copy{
  padding:90px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.manifesto-copy h2{
  max-width:650px;
  margin-bottom:28px;
}

.manifesto-copy p{
  max-width:600px;
  margin-bottom:14px;
}

footer{
  padding:60px max(28px,calc((100vw - 1240px)/2)) 28px;
  background:#171412;
  color:#fff;
}

.footer-main{
  min-height:190px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:50px;
}

.footer-brand{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-brand strong{
  font-family:"Cormorant Garamond",serif;
  font-size:30px;
  letter-spacing:.18em;
  font-weight:500;
}

.footer-brand span{
  color:#a99e98;
  font-size:12px;
}

.footer-links{
  display:flex;
  gap:25px;
  flex-wrap:wrap;
}

.footer-links a{
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:9px;
}

.footer-bottom{
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.15);
  display:flex;
  justify-content:space-between;
  gap:30px;
  color:#8f8580;
  font-size:10px;
}

@media(max-width:900px){
  .site-nav{
    padding:0 22px;
    grid-template-columns:1fr auto;
  }

  .site-links{display:none}
  .logged-user,.guest-label{display:none}

  .section-heading{
    grid-template-columns:1fr;
    gap:18px;
  }

  .tool-grid{
    grid-template-columns:1fr;
  }

  .future-card{grid-column:auto}

  .latest-grid{
    grid-template-columns:1fr 1fr;
  }

  .p2,.p4{transform:none}

  .manifesto{
    grid-template-columns:1fr;
  }

  .manifesto-image{
    min-height:480px;
  }

  .manifesto-copy{
    padding:70px 35px;
  }
}

@media(max-width:600px){
  .site-nav{
    height:70px;
  }

  .account-links a:first-of-type{display:none}

  .mini-brand{
    font-size:14px;
  }

  .hero{
    min-height:620px;
  }

  .hero-content h1{
    font-size:70px;
  }

  .intro{
    padding:80px 25px;
  }

  .tools-section,
  .latest-section{
    padding-top:80px;
    padding-bottom:80px;
  }

  .tool-card{
    min-height:500px;
  }

  .tool-content{
    padding:26px;
  }

  .tool-content h3{
    font-size:44px;
  }

  .latest-grid{
    grid-template-columns:1fr;
    min-height:0;
  }

  .latest-placeholder{
    min-height:320px;
  }

  .footer-main{
    flex-direction:column;
  }

  .footer-bottom{
    flex-direction:column;
  }
}


/* =========================================================
   LIVE PUBLIC GALLERY FEED
   ========================================================= */

.latest-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  min-height:0;
}

.latest-item{
  position:relative;
  display:block;
  min-height:360px;
  overflow:hidden;
  background:#cbb7ad;
  text-decoration:none;
}

.latest-item:nth-child(2),
.latest-item:nth-child(4),
.latest-item:nth-child(6),
.latest-item:nth-child(8){
  transform:translateY(36px);
}

.latest-item img{
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  object-fit:cover;
  display:block;
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
}

.latest-item:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(18,14,12,.65),transparent 60%);
  opacity:.65;
  transition:opacity .25s;
}

.latest-item:hover img{
  transform:scale(1.035);
}

.latest-item:hover:after{
  opacity:.9;
}

.latest-hover{
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:18px;
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#fff;
}

.latest-hover strong{
  font-family:"Cormorant Garamond",serif;
  font-weight:500;
  font-size:21px;
  line-height:1.05;
}

.latest-user{
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.15em;
  opacity:.8;
}

.latest-empty{
  grid-column:1/-1;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #c7b5ab;
  color:#887b74;
  font-size:11px;
}

@media(max-width:900px){
  .latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .latest-item{
    min-height:340px;
  }

  .latest-item:nth-child(2),
  .latest-item:nth-child(4),
  .latest-item:nth-child(6),
  .latest-item:nth-child(8){
    transform:none;
  }
}

@media(max-width:560px){
  .latest-grid{
    grid-template-columns:1fr;
  }

  .latest-item{
    min-height:430px;
  }
}
