/* ============================================
   ODUEX PHOTOS — Pure Editorial Black
   Aesthetic: High-fashion photography magazine
   Colours: #000 + #FFF + Magenta #E8005A
   Fonts: Space Grotesk + Playfair Display
   Feel: Annie Leibovitz / Vogue portfolio
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --near-black: #0A0A0A;
  --rich: #111111;
  --white: #FFFFFF;
  --off-white: #F0F0F0;
  --light: #AAAAAA;
  --mid: #666666;
  --mag: #E8005A;
  --mag-dark: #C40049;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --nav-h: 70px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* Custom cursor */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mag);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: exclusion;
}
#cursor.big { width: 40px; height: 40px; background: rgba(232,0,90,0.2); border: 1px solid var(--mag); }
body * { cursor: none; }

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--mag); }

img { display: block; max-width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: 1260px; margin: 0 auto; padding: 0 40px; }

/* TYPE */
.display-italic {
  font-family: var(--serif);
  font-size: clamp(5rem, 13vw, 15rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.85;
  letter-spacing: -0.02em;
}
.h2-caps {
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}
.eyebrow.hot { color: var(--mag); }
.body-copy { font-size: 15px; line-height: 1.85; color: var(--light); font-weight: 300; }

/* DIVIDERS */
.rule { width: 100%; height: 1px; background: rgba(255,255,255,0.08); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid;
  cursor: none;
  transition: all 0.25s;
  font-family: var(--font);
}
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: var(--mag); color: var(--white); border-color: var(--mag); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--mag); color: var(--mag); }
.btn-mag { background: var(--mag); color: var(--white); border-color: var(--mag); }
.btn-mag:hover { background: var(--mag-dark); }

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.marquee-track { display: flex; white-space: nowrap; animation: mq 30s linear infinite; }
.marquee-track.rev { animation-direction: reverse; }
.mq-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: italic;
  color: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.mq-item b { color: var(--white); font-weight: 400; font-style: normal; }
.mq-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mag); opacity: 0.6; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* NAV — blends into content */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  transition: background 0.3s;
}
#nav.scrolled { background: rgba(0,0,0,0.96); }
/* Sub-page nav uses nav-wrap layout */
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1260px; margin: 0 auto;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
/* Sub-pages use .nav-links (inline) */
.nav-links {
  display: flex; list-style: none; gap: 0;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  padding: 6px 16px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
/* Logo mark (square pill) used in sub-pages */
.logo-mark {
  width: 30px; height: 30px;
  background: var(--mag);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--white);
  letter-spacing: 0.05em; flex-shrink: 0;
}
.nav-logo .logo-mark.sm { width: 24px; height: 24px; font-size: 9px; }
/* Footer inner layout for sub-pages */
.foot-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.foot-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 12px;
}
.foot-logo span { color: var(--mag); }
.nav-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-logo i { color: var(--mag); font-style: normal; }
.nav-links-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; list-style: none; gap: 0;
}
.nav-links-center a {
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.nav-links-center a:hover, .nav-links-center a.active { color: var(--white); }
.nav-book {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-book:hover { background: var(--mag); border-color: var(--mag); }
.ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; padding: 8px; }
.ham span { display: block; width: 20px; height: 1px; background: var(--white); transition: all 0.3s; }
#mob {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 999;
  padding: 100px 40px 48px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  display: flex; flex-direction: column; justify-content: center;
  overflow-y: auto;
}
#mob.open { transform: translateY(0); }
#mob .btn {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 16px 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: none;
}
.mob-links { list-style: none; padding: 0; margin: 0 0 40px; }
.mob-links li { border-bottom: 1px solid rgba(255,255,255,0.07); list-style: none; }
.mob-links a {
  display: block;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-style: italic;
  color: var(--white);
  transition: color 0.2s, padding-left 0.2s;
}
.mob-links a:hover { color: var(--mag); padding-left: 12px; }

/* PAGE HERO (inner pages) */
.page-hero {
  min-height: 55vh;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* FOOTER */
#footer {
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.foot-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}
.foot-brand em { color: var(--mag); font-style: normal; }
.foot-desc { font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.75; max-width: 210px; margin-bottom: 24px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.35);
  transition: all 0.2s;
}
.foot-social a:hover { background: var(--mag); border-color: var(--mag); color: var(--white); }
.foot-col-title { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.18); margin-bottom: 18px; }
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.foot-links a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-size: 11px; color: rgba(255,255,255,0.16); }

/* CHATBOT */
#chat-launcher {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 900;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--near-black);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}
#chat-launcher:hover { background: var(--mag); border-color: var(--mag); transform: scale(1.1); }
#chat-window {
  position: fixed; bottom: 88px; right: 28px;
  z-index: 900; width: 315px;
  background: var(--near-black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  transform: scale(0.92) translateY(14px);
  transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
#chat-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-hd { background: var(--rich); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.06); }
.chat-hd-left { display: flex; align-items: center; gap: 10px; }
.chat-av { width: 32px; height: 32px; border-radius: 50%; background: var(--mag); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--white); }
.chat-hd-name { font-size: 13px; font-weight: 600; color: var(--white); }
.chat-hd-status { font-size: 10px; color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 4px; }
.chat-online { width: 5px; height: 5px; background: #4ade80; border-radius: 50%; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.3); cursor: none; font-size: 16px; transition: color 0.2s; }
.chat-close:hover { color: var(--white); }
.chat-msgs { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; max-height: 250px; overflow-y: auto; }
.msg-bot { align-self: flex-start; background: rgba(255,255,255,0.06); border-radius: 10px 10px 10px 3px; padding: 10px 12px; font-size: 12px; color: var(--white); line-height: 1.6; max-width: 88%; }
.msg-user { align-self: flex-end; background: var(--mag); border-radius: 10px 10px 3px 10px; padding: 10px 12px; font-size: 12px; color: var(--white); line-height: 1.6; max-width: 88%; }
.chat-sugs { padding: 0 14px 10px; display: flex; flex-direction: column; gap: 5px; }
.chat-sug { padding: 8px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); background: transparent; color: rgba(255,255,255,0.5); cursor: none; text-align: left; transition: all 0.2s; font-family: var(--font); letter-spacing: 0.04em; }
.chat-sug:hover { border-color: var(--mag); color: var(--mag); }
.chat-input-row { display: flex; gap: 7px; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.chat-input { flex: 1; padding: 9px 11px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; font-size: 12px; font-family: var(--font); color: var(--white); background: rgba(255,255,255,0.04); outline: none; }
.chat-input:focus { border-color: var(--mag); }
.chat-input::placeholder { color: rgba(255,255,255,0.2); }
.chat-send { width: 32px; height: 32px; border-radius: 6px; background: var(--mag); border: none; cursor: none; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 13px; transition: all 0.2s; }
.chat-send:hover { background: var(--mag-dark); }

/* FORMS */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 0;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 14px; font-family: var(--font);
  color: var(--white); background: transparent;
  outline: none; transition: border-color 0.2s;
  border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--mag); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-textarea { resize: none; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; }
.form-select option { background: var(--rich); }
.form-success { display: none; padding: 16px; border: 1px solid rgba(232,0,90,0.4); color: var(--mag); font-size: 12px; font-weight: 600; text-align: center; margin-top: 16px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ANIMS */
.reveal { opacity: 0; transform: translateY(48px); }
.reveal-l { opacity: 0; transform: translateX(-40px); }
.reveal-r { opacity: 0; transform: translateX(40px); }

/* RESPONSIVE */
@media (max-width: 768px) {
  #nav { padding: 0 24px; background: rgba(0,0,0,0.95); }
  .nav-links-center { display: none; }
  .nav-links { display: none; }
  .nav-book { display: none; }
  .nav-right .btn { display: none; }
  .ham { display: flex; }
  .wrap { padding: 0 24px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  #chat-window { width: calc(100vw - 32px); right: 16px; }
  #chat-launcher { bottom: 20px; right: 16px; }
}
