/* ===========================
   STUDIO HUSH HUSH — Design System
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Jost:wght@200;300;400&display=swap');

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

:root {
  --bg:          #f5f3ef;
  --bg2:         #eceae4;
  --surface:     #ffffff;
  --border:      rgba(30,28,24,0.10);
  --border-dark: rgba(30,28,24,0.22);
  --text:        #1e1c18;
  --text-muted:  #7a7568;
  --text-dim:    #b0aca2;
  --accent:      #2a2520;
  --gold:        #0066FF;
  --gold-light:  #4d94ff;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Jost', sans-serif;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* ---- Cursor ---- */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease),
              background .25s, border-color .25s;
  mix-blend-mode: multiply;
}
#cursor.hover {
  width: 40px; height: 40px;
  background: rgba(30,28,24,0.06);
}
@media (pointer: coarse) {
  body { cursor: auto; }
  #cursor { display: none; }
}

/* ---- Nav ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.75rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(245,243,239,0.94);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { font-style: italic; color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--text); }
.nav-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--accent);
  text-decoration: none;
  padding: 10px 22px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold); }

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ---- Section anatomy ---- */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(48px, 6vw, 88px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
em { font-style: italic; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 4rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap .25s, color .25s;
}
.btn-outline {
  color: var(--text);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 3px;
}
.btn-outline:hover { color: var(--gold); border-color: var(--gold); gap: 16px; }
.btn-solid {
  color: var(--surface);
  background: var(--accent);
  padding: 14px 32px;
}
.btn-solid:hover { background: var(--gold); }
.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border-dark);
  padding: 12px 28px;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text); }

/* ---- Footer ---- */
footer {
  padding: 3rem 4rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
footer .f-logo {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}
footer .f-logo span { font-style: italic; color: var(--gold); }
footer .f-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}
footer .f-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
footer .f-links a:hover { color: var(--gold); }
footer .f-copy {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-align: right;
}

/* ---- Mobile nav ---- */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 490;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: color .2s;
}
.nav-mobile.open a {
  animation: menuIn .4s var(--ease) forwards;
}
.nav-mobile.open a:nth-child(1) { animation-delay: .05s; }
.nav-mobile.open a:nth-child(2) { animation-delay: .1s; }
.nav-mobile.open a:nth-child(3) { animation-delay: .15s; }
.nav-mobile.open a:nth-child(4) { animation-delay: .2s; }
.nav-mobile.open a:nth-child(5) { animation-delay: .25s; }
.nav-mobile a:hover { color: var(--gold); }
@keyframes menuIn {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .divider { margin: 0 1.5rem; }
  footer { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  footer .f-copy { text-align: center; }
}

/* ===========================
   FOOTER ÉTENDU
   =========================== */
footer {
  padding: 0;
  border-top: 1px solid var(--border);
  display: block;
}
.f-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  padding: 4rem 4rem 3rem;
  align-items: start;
}
.f-brand {}
.f-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.f-logo span { font-style: italic; color: var(--gold); }
.f-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 1.75rem;
}
.f-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}
.f-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color .25s, color .25s;
}
.f-socials a:hover { border-color: var(--gold); color: var(--gold); }
.f-cols {
  display: flex;
  gap: 4rem;
  padding-top: .25rem;
}
.f-col {}
.f-col-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.f-col ul li a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.f-col ul li a:hover { color: var(--gold); }
.f-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.f-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .08em;
}

/* Portrait section */
.portrait-box {
  aspect-ratio: 3/4;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.portrait-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}

@media (max-width: 900px) {
  .f-top { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem 2rem; }
  .f-bottom { padding: 1rem 1.5rem; flex-direction: column; gap: .5rem; text-align: center; }
  .f-cols { flex-direction: column; gap: 2rem; }
  .f-tagline { max-width: 100%; }
}
@media (max-width: 600px) {
  .f-socials { flex-wrap: wrap; }
}
