/* =========================
   SITE (GLOBAL) — DWS/Photographe
   ========================= */

:root{
  --bg:#0b0b0f;
  --panel:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);

  --radius:18px;
  --shadow:0 20px 60px rgba(0,0,0,.45);

  --container:1120px;

  --accent:rgb(138,161,89);

  --header-h:72px;
}

*{
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

body.is-menu-open{
  overflow:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

button{
  font:inherit;
}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.muted{
  color:var(--muted);
}

/* =========================
   HEADER PREMIUM (GLASS)
   ========================= */

.site-header--glass{
  position:sticky;
  top:0;
  left:0;
  right:0;
  z-index:9999;
  min-height:var(--header-h);
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(10,10,14,.25);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.site-header--glass.is-scrolled{
  background:rgba(10,10,14,.72);
  border-bottom-color:rgba(255,255,255,.14);
}

body[data-has-hero="1"] .site-header--glass{
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:rgba(10,10,14,.10);
  border-bottom-color:rgba(255,255,255,.08);
}

body[data-has-hero="1"] .site-header--glass.is-scrolled{
  background:rgba(10,10,14,.72);
  border-bottom-color:rgba(255,255,255,.14);
}

/* =========================
   HEADER INNER
   ========================= */

.header-inner{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  position:relative;
  z-index:2;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:140px;
  font-weight:800;
  letter-spacing:.08em;
  font-size:14px;
  color:rgba(255,255,255,.92);
}

.brand-logo{
  height:42px;
  width:auto;
  object-fit:contain;
}

/* =========================
   NAV DESKTOP
   ========================= */

.nav{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-link{
  position:relative;
  padding:10px;
  color:rgba(255,255,255,.72);
  font-size:14px;
  transition:color .2s ease;
}

.nav-link:hover{
  color:var(--accent);
}

.nav-link::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:6px;
  height:1px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease;
}

.nav-link:hover::after{
  transform:scaleX(1);
}

.nav-cta{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  font-weight:700;
  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.nav-cta:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#0b0b0f;
  transform:translateY(-1px);
}

/* =========================
   MOBILE NAV
   ========================= */

.nav-burger{
  display:none;
  position:relative;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.05);
  color:var(--text);
  cursor:pointer;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.nav-burger:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.20);
}

.nav-burger:active{
  transform:scale(.98);
}

.nav-burger-line{
  position:absolute;
  left:50%;
  width:20px;
  height:2px;
  border-radius:999px;
  background:#fff;
  transform:translateX(-50%);
  transition:
    transform .22s ease,
    opacity .22s ease,
    top .22s ease;
}

.nav-burger-line:nth-child(1){
  top:16px;
}

.nav-burger-line:nth-child(2){
  top:23px;
}

.nav-burger-line:nth-child(3){
  top:30px;
}

.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(1){
  top:23px;
  transform:translateX(-50%) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(2){
  opacity:0;
}

.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(3){
  top:23px;
  transform:translateX(-50%) rotate(-45deg);
}

.mobile-nav{
  position:fixed;
  top:0;
  right:0;
  width:min(92vw, 360px);
  height:100dvh;
  z-index:10001;
  display:flex;
  flex-direction:column;
  padding:92px 22px 24px;
  background:rgba(10,10,14,.96);
  border-left:1px solid rgba(255,255,255,.10);
  box-shadow:-20px 0 50px rgba(0,0,0,.45);
  transform:translateX(100%);
  opacity:0;
  visibility:hidden;
  transition:
    transform .28s ease,
    opacity .28s ease,
    visibility .28s ease;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.mobile-nav.is-open{
  transform:translateX(0);
  opacity:1;
  visibility:visible;
}

.mobile-nav-head{
  margin-bottom:18px;
}

.mobile-nav-title{
  margin:0;
  font-size:13px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.52);
}

.mobile-nav-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mobile-nav-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:56px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.90);
  font-weight:700;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease,
    color .2s ease;
}

.mobile-nav-link:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.14);
  color:#fff;
  transform:translateX(2px);
}

.mobile-nav-link.is-cta{
  margin-top:6px;
  background:var(--accent);
  border-color:var(--accent);
  color:#0b0b0f;
}

.mobile-nav-link.is-cta:hover{
  background:var(--accent);
  color:#0b0b0f;
  transform:translateX(2px);
}

.mobile-nav-arrow{
  font-size:18px;
  line-height:1;
  opacity:.72;
}

.mobile-nav-backdrop{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.55);
  opacity:0;
  visibility:hidden;
  transition:
    opacity .28s ease,
    visibility .28s ease;
}

.mobile-nav-backdrop.is-open{
  opacity:1;
  visibility:visible;
}

/* =========================
   LAYOUT
   ========================= */

.site-main{
  min-height:calc(100vh - 160px);
}

body:not([data-has-hero="1"]) .site-main{
  padding-top:0;
}

body[data-has-hero="1"] .site-main{
  padding-top:0;
}

body[data-header-hidden="1"] .site-main{
  padding-top:0 !important;
  margin-top:0 !important;
}

.section{
  padding:62px 0;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

/* =========================
   FOOTER
   ========================= */

.site-footer{
  border-top:1px solid var(--stroke);
  background:rgba(0,0,0,.35);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:24px 0;
}

.footer-muted{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  font-size:14px;
  color:var(--muted);
}

.footer-links a:hover{
  color:var(--accent);
}

.footer-bottom{
  padding:14px 0 26px;
  font-size:13px;
  color:rgba(255,255,255,.55);
}

.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.footer-dev{
  color:var(--muted);
}

.footer-dev a{
  color:var(--accent);
  font-weight:600;
  transition:opacity .2s ease;
}

.footer-dev a:hover{
  opacity:.7;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:900px){
  .nav{
    display:none;
  }

  .nav-burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
  }

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

  .footer-inner{
    flex-direction:column;
    gap:16px;
  }
}

@media (max-width:600px){
  .container{
    width:min(var(--container), calc(100% - 28px));
  }

  .header-inner{
    gap:12px;
    padding:12px 0;
  }

  .brand-logo{
    height:38px;
  }

  .mobile-nav{
    width:100%;
    padding:88px 18px 20px;
  }

  .footer-bottom-inner{
    flex-direction:column;
    text-align:center;
  }
}

/* =========================
   ACCESSIBILITY
   ========================= */

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}