:root{
  --bg: #0a0a0b;
  --bg-alt: #131315;
  --bg-alt-2: #17181b;
  --line: rgba(201,160,90,0.18);
  --line-strong: rgba(201,160,90,0.35);
  --gold: #cda45e;
  --gold-light: #e8caa0;
  --gold-deep: #8a6a34;
  --text: #ede8e0;
  --text-muted: #9a9488;
  --maxw: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}
a{ color: inherit; text-decoration: none; }
img{ display:block; max-width:100%; }
button{ font-family: inherit; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow{
  display:inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

/* Header */
header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  background: rgba(10,10,11,0.0);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
header.scrolled{
  background: rgba(10,10,11,0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;
  gap: 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand img{ height: 40px; width:auto; }
.brand span{
  font-family:'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
}
nav.links{ display:flex; gap: 40px; }
nav.links a{
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
nav.links a:hover{ color: var(--gold-light); }
nav.links a.active{ color: var(--gold); }

.lang-switch{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display:flex;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  overflow:hidden;
  z-index: 120;
}
.lang-switch button{
  background:none;
  border:none;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  cursor:pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button.active{
  background: var(--gold);
  color: #14100a;
}

.menu-btn{
  display:none;
  align-items:center;
  justify-content:center;
  background:none;
  border:1px solid var(--line-strong);
  color: var(--gold);
  width:42px; height:42px;
  border-radius:2px;
  cursor:pointer;
  padding:0;
  flex:none;
  position: relative;
  z-index: 300;
  margin-right: 6px;
}
.menu-btn svg{ width:18px; height:18px; }

/* Hero (home) */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding-top: 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 85% -10%, rgba(205,164,94,0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 110%, rgba(205,164,94,0.08), transparent 60%),
    var(--bg);
}
.hero::after{
  content:"";
  position:absolute;
  top:0; right:0; bottom:0; left:0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  opacity: 0.35;
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:1; max-width: 760px; }
.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--text);
}
.hero h1 em{
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light) 45%, var(--gold) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead{
  margin-top: 26px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
}
.hero .cta-row{ margin-top: 42px; display:flex; gap: 20px; flex-wrap:wrap; }

/* Page hero (sub-pages) */
.page-hero{
  position: relative;
  padding: 170px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 500px at 85% -20%, rgba(205,164,94,0.14), transparent 60%),
    var(--bg);
}
.page-hero .wrap{ position:relative; z-index:1; max-width: 720px; }
.page-hero h1{ font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p.lead{ margin-top: 20px; color: var(--text-muted); font-size: 1.05rem; }

.btn{
  display:inline-block;
  padding: 15px 32px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background:none;
  cursor:pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.btn.primary{
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 60%, var(--gold-light));
  color: #14100a;
  border-color: transparent;
  font-weight: 500;
}
.btn.primary:hover{ filter: brightness(1.08); }
.btn:not(.primary):hover{ border-color: var(--gold); color: var(--gold-light); }

.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 0 auto;
  max-width: var(--maxw);
}

section{ padding: 120px 0; }
.section-head{ max-width: 640px; margin-bottom: 64px; }
.section-head h2{ font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p{ color: var(--text-muted); margin-top: 18px; font-size: 1rem; }

/* Home quick links */
.tiles{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tile{
  display:block;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 38px 30px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tile:hover{ border-color: var(--line-strong); transform: translateY(-2px); }
.tile h3{ font-size: 1.2rem; color: var(--text); }
.tile p{ color: var(--text-muted); font-size: 0.92rem; margin-top: 10px; }
.tile .arrow{ margin-top: 20px; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; display:flex; align-items:center; gap:8px; }
.tile .arrow svg{ width:14px; height:14px; transition: transform 0.25s ease; }
.tile:hover .arrow svg{ transform: translateX(4px); }

/* Portfolio grid */
.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 46px 40px;
}
.card{
  display:block;
  width:100%;
  text-align:left;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 0;
  transition: border-color 0.3s ease;
}
.card:hover{ border-color: var(--line-strong); }
.card:focus-visible{ outline: 1px solid var(--gold); outline-offset: 3px; }
.card .img-frame{
  position:relative;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#000;
}
.card .img-frame img{
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.4s ease;
  filter: saturate(0.94) contrast(1.02);
}
.card:hover .img-frame img{ transform: scale(1.06); }
.card .img-frame::after{
  content:"";
  position:absolute;
  top:0; right:0; bottom:0; left:0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  pointer-events:none;
}
.card .zoom-badge{
  position:absolute;
  top:16px; right:16px;
  width:36px; height:36px;
  border-radius:50%;
  background: rgba(10,10,11,0.65);
  border: 1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center;
  backdrop-filter: blur(4px);
}
.card .zoom-badge svg{ width:16px; height:16px; stroke: var(--gold-light); }
.card .meta{
  padding: 26px 28px 28px;
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.card .meta h3{
  font-size: 1.28rem;
  color: var(--text);
}
.card .meta .place{
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.03em;
}
.card .meta .year{
  font-family:'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
  border-left: 1px solid var(--line-strong);
  padding-left: 16px;
}

/* About */
.about{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items:center;
}
.about-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px;
}
.stat{
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}
.stat .num{
  font-family:'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--gold-light);
}
.stat .label{
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.about p{ color: var(--text-muted); font-size: 1rem; }
.about-panel{
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-alt-2), var(--bg-alt));
  padding: 46px;
  position: relative;
}
.about-panel::before{
  content:"";
  position:absolute;
  top:-1px; left:-1px;
  width: 46px; height:46px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.about-panel::after{
  content:"";
  position:absolute;
  bottom:-1px; right:-1px;
  width: 46px; height:46px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.about-panel h3{ font-size: 1.5rem; margin-bottom: 20px; }
.about-panel ul{ margin: 0; padding: 0; list-style:none; }
.about-panel li{
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
  display:flex;
  gap: 14px;
}
.about-panel li:last-child{ border-bottom:none; }
.about-panel li .dot{
  flex: none;
  width: 7px; height:7px;
  margin-top: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Contact */
.contact-wrap{
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 64px;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
}
.contact-wrap h2{ font-size: clamp(1.7rem, 3vw, 2.2rem); }
.contact-wrap p.lead{ color: var(--text-muted); margin-top: 18px; max-width: 460px; }
.card-person{
  border-left: 1px solid var(--line-strong);
  padding-left: 40px;
}
.card-person .name{ font-family:'Playfair Display', serif; font-size: 1.4rem; color: var(--text); }
.card-person .role{ color: var(--gold); font-size: 0.82rem; letter-spacing: 0.05em; margin-top: 6px; text-transform: uppercase; }
.contact-list{ margin-top: 30px; display:flex; flex-direction:column; gap: 16px; }
.contact-list a{
  display:flex; align-items:center; gap: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.contact-list a:hover{ color: var(--gold-light); }
.contact-list svg{ flex: none; width:18px; height:18px; stroke: var(--gold); }

footer{
  border-top: 1px solid var(--line);
  padding: 42px 0;
}
.footer-row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 20px;
  flex-wrap: wrap;
}
footer .fbrand{ display:flex; align-items:center; gap:12px; }
footer .fbrand img{ height: 26px; }
footer .fbrand span{ font-family:'Playfair Display', serif; color: var(--text-muted); font-size: 0.9rem; }
footer small{ color: var(--text-muted); font-size: 0.78rem; letter-spacing: 0.03em; }

/* Lightbox */
.lightbox{
  position:fixed;
  top:0; right:0; bottom:0; left:0;
  z-index: 200;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 40px;
  background: rgba(6,6,7,0.92);
  backdrop-filter: blur(6px);
}
.lightbox.open{ display:flex; }
.lightbox-inner{
  max-width: 1000px;
  width: 100%;
}
.lightbox-inner img{
  width:100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  background:#000;
}
.lightbox-caption{
  margin-top: 20px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.lightbox-caption h3{ font-size: 1.3rem; color: var(--text); }
.lightbox-caption .place{ color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
.lightbox-caption .year{ font-family:'Playfair Display', serif; color: var(--gold); font-size: 1rem; }
.lightbox-close{
  position: fixed;
  top: 28px; right: 32px;
  width: 44px; height:44px;
  border-radius:50%;
  border: 1px solid var(--line-strong);
  background: rgba(10,10,11,0.7);
  color: var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.lightbox-close svg{ width:18px; height:18px; }

/* Mobile full-screen nav -- deliberately a sibling of <header>, NOT nested
   inside it. Header gets backdrop-filter when scrolled, and any ancestor
   with backdrop-filter/filter/transform becomes the containing block for
   position:fixed descendants -- which would trap this overlay inside the
   ~70px header box instead of covering the viewport. Keeping it outside
   header avoids that entirely. */
.mobile-nav{
  display:none;
}
.mobile-nav-close{
  display:none;
}
@media (max-width: 900px){
  nav.links{ display:none; }
  .menu-btn{ display:flex; }

  .mobile-nav{
    display:flex;
    position:fixed;
    top:0; right:0; bottom:0; left:0;
    z-index: 400;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap: 6px;
    background: var(--bg);
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition: opacity 0.28s ease;
  }
  .mobile-nav.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .mobile-nav a{
    padding: 20px 0;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    font-family: 'Playfair Display', serif;
    text-transform: none;
    color: var(--text);
  }
  .mobile-nav a.active{ color: var(--gold); }
  .mobile-nav a:active{ color: var(--gold-light); }

  .mobile-nav-close{
    display:flex;
    align-items:center;
    justify-content:center;
    position: absolute;
    top: 18px; right: 22px;
    width:42px; height:42px;
    border-radius:2px;
    border:1px solid var(--line-strong);
    background:none;
    color: var(--gold);
    cursor:pointer;
  }
  .mobile-nav-close svg{ width:18px; height:18px; }

  .grid{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; }
  .about-stats{ grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tiles{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; padding: 40px 26px; }
  .card-person{ border-left:none; border-top: 1px solid var(--line-strong); padding-left:0; padding-top: 30px; }
  section{ padding: 84px 0; }
  .wrap{ padding: 0 22px; }
}

@media (max-width: 480px){
  .brand span{ display:none; }
  .lang-switch button{ padding: 6px 9px; font-size: 0.68rem; }
  .nav{ padding: 14px 0; }
  .contact-wrap{ padding: 32px 20px; }
  .about-panel{ padding: 32px 24px; }
  .about-stats{ grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
}
