:root{
  --bg:#f4f3f1; --ink:#0d0d0d; --muted:#8a8a86; --line:rgba(0,0,0,0.16);
  --font:"Helvetica Neue","Inter",-apple-system,BlinkMacSystemFont,Arial,sans-serif;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html,body{
  width:100%; background:var(--bg); color:var(--ink); font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  scrollbar-width:none; -ms-overflow-style:none;        /* hide scrollbar, keep scroll */
}
html::-webkit-scrollbar, body::-webkit-scrollbar{ display:none; width:0; height:0; }
body{ height:350vh; }                                   /* desktop scroll height drives rotation */
a{ color:inherit; text-decoration:none; }

.site-header{ position:fixed; inset:0 0 auto 0; z-index:50; display:flex; align-items:center;
  justify-content:space-between; padding:1.9em 2.4em; font-size:13px; letter-spacing:0.02em; }
.header-left{ display:flex; align-items:center; gap:3em; }
.brand{ font-weight:600; font-size:16px; letter-spacing:0.06em; }
.brand-dot{ font-size:9px; vertical-align:super; margin-left:2px; }
.brand-logo-mobile, .loading-logo-mobile { display: none; }
.nav{ display:flex; gap:2.2em; font-weight:500; }
.nav a{ position:relative; opacity:0.62; transition:opacity .3s ease; }
.nav a.is-active, .nav a:hover{ opacity:1; }
.nav a.is-active::after{ content:""; position:absolute; left:0; bottom:-6px; width:100%; height:1px; background:var(--ink); }
.lang{ display:flex; gap:0.5em; font-weight:500; align-items:center; }
.lang-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}
.lang-btn.is-active, .lang-btn:hover {
  opacity: 1;
}
.menu-toggle{ display:none; flex-direction:column; justify-content:center; gap:5px; width:26px; height:18px;
  padding:0; background:none; border:none; cursor:pointer; }
.menu-toggle span{ display:block; width:100%; height:1.5px; background:var(--ink); }
.lang .sep { opacity: 0.4; }

.corner{ position:fixed; bottom:2.2em; z-index:50; background:none; border:none; cursor:pointer;
  font-family:var(--font); font-size:13px; font-weight:500; letter-spacing:0.02em; color:var(--ink);
  padding-bottom:4px; border-bottom:1px solid var(--ink); transition:opacity .3s ease; }
.corner:hover{ opacity:0.55; }
.corner i{ font-style:normal; margin-left:0.4em; }
.corner--left{ left:2.4em; }
.corner--right{ right:2.4em; }

.scene{ position:fixed; inset:0; overflow:hidden; perspective:1600px; perspective-origin:50% 50%; }
.gallery{ position:absolute; top:50%; left:50%; width:0; height:0; transform-style:preserve-3d; will-change:transform; }

/* CARD = stable hitbox. IMPORTANT: NO backface-visibility:hidden (it would hide half the ring -> "C"/spiral). */
.item{ position:absolute; top:0; left:0; width:78px; height:60px; transform-style:preserve-3d; }
.item-card{ position:absolute; inset:0; transform-style:preserve-3d; pointer-events:none;
  border:1px solid rgba(255,255,255,0.65); transition:box-shadow .4s ease; }
.item-card img{ width:100%; height:100%; object-fit:cover; display:block; filter:saturate(0.92) brightness(0.99); }
.item-card.is-active{ box-shadow:0 6px 16px -10px rgba(0,0,0,0.35); }

.center{ position:absolute; top:43%; left:50%; transform:translate(-50%,-50%); width:min(520px,42vw);
  text-align:center; pointer-events:none; z-index:5; }
.center-eyebrow{ font-size:12px; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); margin-bottom:1.4em; }
.center-title{ font-size:clamp(34px,4.4vw,60px); font-weight:500; line-height:1.02; letter-spacing:-0.02em; }
.center-title em{ font-style:italic; font-weight:400; }
.center-sub{ margin-top:1.3em; font-size:14px; color:var(--muted); }
.center-default,.center-project{ transition:opacity .55s ease; }
.center-project{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; opacity:0; }
.center.show-project .center-default{ opacity:0; }
.center.show-project .center-project{ opacity:1; }
.preview-img{ width:380px; height:380px; flex-shrink:0; overflow:hidden; background:#e7e6e3; }
.preview-img img{ width:100%; height:100%; object-fit:cover; }
.preview-cat{ display: none; }
.preview-title{ display: none; }

.labels{ position:absolute; inset:0; pointer-events:none; }
.label{ position:absolute; transform:translate(-50%,-50%); white-space:nowrap; font-size:14px; font-weight:500;
  letter-spacing:0.01em; pointer-events:none; opacity:0.85; }
.label .ul{ border-bottom:1px solid var(--ink); padding-bottom:2px; }
.label sup{ font-size:10px; color:var(--muted); margin-left:3px; }

.mobile-preview{ display:none; }
.mobile-ring-hitbox{ display:none; }

@media (max-width:768px){
  .mobile-ring-hitbox{ display:block; position:fixed; left:0; right:0; bottom:0; top:50%;
    z-index:20; touch-action:none; pointer-events:auto; }
  body{ height:auto; }
  .scene{ height:100svh; overflow:hidden; }
  .center, .labels{ display:none; }
  .custom-cursor{ display:none !important; }
  .site-header{ padding:1.15em 1em; align-items:center; transition: background-color 0.3s ease, height 0.3s ease; }
  .brand-text, .loading-brand-text { display: none; }
  .brand-logo-mobile { display: block; height: 56px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
  .loading-logo-mobile { display: block; width: 280px; height: auto; margin: 0 auto; object-fit: contain; mix-blend-mode: multiply; }
  .nav, .lang{ display:none; }
  .menu-toggle{ display:flex; }
  .menu-toggle span{ transition: transform 0.3s ease, opacity 0.3s ease; }
  
  .site-header.menu-open {
    position: fixed;
    inset: 0;
    height: 100svh;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3.5em;
    padding: 1.15em 1.5em;
    z-index: 99;
  }
  .site-header.menu-open .header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 3.5em;
    width: 100%;
  }
  .site-header.menu-open .nav {
    display: flex;
    flex-direction: column;
    gap: 1.8em;
    font-size: 24px;
    font-weight: 500;
    width: 100%;
  }
  .site-header.menu-open .lang {
    display: flex;
    font-size: 15px;
    margin-top: 1em;
  }
  .site-header.menu-open .menu-toggle {
    position: absolute;
    top: 1.15em;
    right: 1.5em;
  }
  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(3.25px) rotate(45deg);
  }
  .site-header.menu-open .menu-toggle span:nth-child(2) {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .corner{ bottom:auto; top:3.6em; font-size:13px; }
  .corner--left{ left:1em; }
  .corner--right{ right:1em; }
  .mobile-preview{ display:block; position:fixed; top:6.2em; left:0; right:0; z-index:6; padding:0 1em; pointer-events:none; }
  .mp-cat{ display: none; }
  .mp-title{ display: none; }
  .mp-img{ width:100%; aspect-ratio:1/1; overflow:hidden; background:#e7e6e3; }
  .mp-img img{ width:100%; height:100%; object-fit:cover; display:block; }
  .mp-view{ display: none; }
}

.custom-cursor{ display:none; }
@media (pointer:fine) and (hover:hover){
  body{ cursor:none; }                                  /* dot replaces the OS cursor */
  .custom-cursor{ display:block; position:fixed; top:0; left:0; width:13px; height:13px;
    border-radius:999px; background:#000; pointer-events:none; z-index:99999; will-change:transform; transition:opacity .3s ease; }
  .custom-cursor.is-hidden{ opacity:0; }
}

body:not(.page-ready) .scene{ opacity:0; }              /* hide ring until fully built+painted */

.loading-screen{ position:fixed; inset:0; z-index:999999; background:var(--bg);
  display:flex; align-items:center; justify-content:center; cursor:default; }
.loading-screen.is-hidden{ pointer-events:none; }
.loading-inner{ text-align:center; opacity:0; animation:load-in .8s ease forwards; }
.loading-brand{ font-weight:600; font-size:20px; letter-spacing:0.06em; }
.loading-brand span{ font-size:10px; vertical-align:super; margin-left:2px; }
.loading-subbrand { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink); margin-top: 1.2em; text-transform: uppercase; }

/* Loader Step 1: Language selection style */
.loader-lang-select { margin-top: 2.2em; }
.loader-lang-title { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5em; }
.loader-lang-buttons { display: flex; justify-content: center; gap: 1.2em; }
.loader-lang-btn {
  background: none;
  border: 1px solid var(--line);
  padding: 0.6em 1.2em;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
  pointer-events: auto;
}
.loader-lang-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* Loader Step 2: Progress style */
.loader-progress-stage { margin-top: 1.1em; }
.loading-text{ margin-top:1.1em; font-size:11px; letter-spacing:0.26em; text-transform:uppercase;
  color:var(--muted); animation:load-pulse 1.8s ease-in-out infinite; }
.loading-bar{ width:120px; height:1px; margin:1.6em auto 0; background:rgba(0,0,0,0.12); overflow:hidden; }
.loading-bar span{ display:block; width:100%; height:100%; background:var(--ink); transform:scaleX(0);
  transform-origin:left center; }

@keyframes load-in{ to{ opacity:1; } }
@keyframes load-pulse{ 0%,100%{ opacity:0.45; } 50%{ opacity:1; } }
@media (max-width:768px){ .loading-screen{ height:100svh; } }


/* --- INFO & CONTACT MODAL OVERLAYS (Editorial Glassmorphism) --- */
.info-modal{
  position:fixed;
  inset:0;
  z-index:100;
  background:rgba(244, 243, 241, 0.96);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  padding:2.5em;
}
.info-modal.is-visible{
  opacity:1;
  pointer-events:auto;
}
.modal-close{
  position:absolute;
  top:1.5em;
  right:1.5em;
  background:none;
  border:none;
  font-size:36px;
  font-weight:200;
  cursor:pointer;
  color:var(--ink);
  opacity:0.6;
  transition:opacity 0.3s;
}
.modal-close:hover{
  opacity:1;
}
.modal-content{
  max-width:780px;
  width:100%;
  max-height:85vh;
  overflow-y:auto;
  padding-right:1.5em;
  scrollbar-width:thin;
  scrollbar-color:var(--muted) transparent;
}
.modal-content::-webkit-scrollbar {
  width:4px;
}
.modal-content::-webkit-scrollbar-thumb {
  background-color:var(--muted);
  border-radius:2px;
}
.modal-content h2{
  font-size:32px;
  font-weight:500;
  letter-spacing:0.04em;
  margin-bottom:0.2em;
  text-align:center;
  line-height:1.2;
}
.modal-subtitle{
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--muted);
  text-align:center;
  margin-bottom:2.5em;
}
.modal-section{
  margin-bottom:2.2em;
  border-top:1px solid var(--line);
  padding-top:1.5em;
}
.modal-section h3{
  font-size:16px;
  font-weight:600;
  margin-bottom:0.8em;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
.modal-section p{
  font-size:14.5px;
  line-height:1.65;
  color:rgba(13,13,13,0.85);
  margin-bottom:1em;
}
.brand-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.5em;
  margin-top:1em;
}
.brand-box{
  background:rgba(0, 0, 0, 0.02);
  border:1px solid var(--line);
  padding:1.4em;
  transition:background-color 0.3s ease;
}
.brand-box:hover{
  background:rgba(0, 0, 0, 0.04);
}
.brand-box h4{
  font-size:15px;
  font-weight:600;
  margin-bottom:0.25em;
}
.brand-tag{
  font-size:10px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:0.8em;
  font-weight:500;
}
.brand-box p{
  font-size:13.5px;
  line-height:1.55;
  margin-bottom:0;
}
.philosophy-list{
  list-style-type:none;
  display:flex;
  flex-direction:column;
  gap:1.2em;
}
.philosophy-list li{
  font-size:14px;
  line-height:1.6;
  color:rgba(13,13,13,0.85);
}
.philosophy-list li strong{
  font-weight:600;
  color:var(--ink);
  display:block;
  margin-bottom:0.25em;
}

.contact-details {
  display:flex;
  flex-direction:column;
  gap:2em;
  align-items:center;
  text-align:center;
  padding-top:2em;
}
.contact-item h3 {
  font-size:11px;
  text-transform:uppercase;
  color:var(--muted);
  letter-spacing:0.12em;
  margin-bottom:0.5em;
}
.contact-item p {
  font-size:18px;
  font-weight:500;
  letter-spacing:-0.01em;
}
.contact-item a {
  border-bottom:1.5px solid var(--ink);
  padding-bottom:2px;
}

@media (max-width:768px){
  .info-modal {
    padding:1.5em;
    background:rgba(244, 243, 241, 0.99);
  }
  .modal-close {
    top:1em;
    right:1em;
  }
  .modal-content {
    max-height:90vh;
    padding-right:0;
  }
  .modal-content h2 {
    font-size:24px;
    margin-top:1em;
  }
  .brand-grid {
    grid-template-columns:1fr;
    gap:1em;
  }
  .contact-item p {
    font-size:16px;
  }
}

.center-logo {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.95;
  pointer-events: auto;
  cursor: pointer;
}

.center-retail-link {
  margin-top: 1.5em;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.center-retail-link a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}
.center-retail-link a:hover {
  opacity: 0.6;
}
