:root{
  --black:#070707;
  --ink:#141414;
  --gold:#b8862b;
  --gold2:#d6b064;
  --paper:#f3ead7;
  --paper2:#fff8e8;
  --muted:#6d5b3d;
  --header-paper:#f6efdf;
  --header-paper-dark:#e6d4b4;
  --header-text:#2c2418;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  color:#1b1711;
  background:var(--black);
}

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

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(to bottom,#f9f3e7 0%,#f0e4cd 45%,#e6d4b4 100%);
  border-bottom:3px solid var(--gold);
  box-shadow:0 3px 15px rgba(0,0,0,.15), inset 0 -1px 0 rgba(255,255,255,.7);
}

.header-inner{
  max-width:1180px;
  margin:auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand img{
  height:76px;
  width:auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--header-text);
}

.nav a{
  padding:10px 0;
  transition:.25s;
}

.nav a:hover,
.nav a.active{
  color:#8a5b12;
}

.dropdown{
  position:relative;
}

.dropdown-menu{
  display:none;
  position:absolute;
  right:0;
  top:100%;
  min-width:210px;
  background:#f6efdf;
  border:1px solid var(--gold);
  padding:8px 0;
  box-shadow:0 8px 20px rgba(0,0,0,.16);
}

.dropdown:hover .dropdown-menu{
  display:block;
}

.dropdown-menu a{
  display:block;
  padding:10px 14px;
  white-space:nowrap;
  color:#2c2418;
}

.dropdown-menu a:hover{
  background:rgba(184,134,43,.12);
  color:#8a5b12;
}

.page{
  background:radial-gradient(circle at top,#fff9ec 0,#f2e6cf 38%,#e8d7b8 100%);
  min-height:70vh;
}

.home-page{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(rgba(243,234,215,.74),rgba(232,215,184,.82)),
    url('images/homeback.jpg') center center/cover fixed no-repeat;
}

.home-page:before{
  content:'';
  position:fixed;
  inset:0;
  z-index:-1;
  background:url('images/homeback.jpg') center center/cover no-repeat;
  transform:translateZ(-1px) scale(1.18);
  filter:saturate(.85) contrast(1.05);
}

.home-page .container{
  background:rgba(255,248,232,.74);
  box-shadow:0 0 55px rgba(0,0,0,.18);
  backdrop-filter:blur(1px);
}

.dark-page{
  background:radial-gradient(circle at top,#1a1a1a 0,#0b0b0b 70%);
  color:#f8edd7;
}

.container{
  max-width:1180px;
  margin:auto;
  padding:42px 24px;
}

.title{
  text-align:center;
  color:#8b5a12;
  font-size:42px;
  font-weight:400;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin:0 0 34px;
}

.title:before,
.title:after{
  content:'❧';
  font-size:26px;
  color:var(--gold);
  margin:0 18px;
}

.intro{
  max-width:820px;
  margin:0 auto 34px;
  text-align:center;
  font-size:18px;
  line-height:1.6;
  color:#ead9b6;
}

.about-grid{
  display:grid;
  grid-template-columns:350px 1fr;
  gap:34px;
  align-items:start;
}


.parallax-break{
  position:relative;
  min-height:360px;
  margin:54px -24px 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-top:1px solid rgba(184,134,43,.6);
  border-bottom:1px solid rgba(184,134,43,.6);
  background:
    linear-gradient(rgba(5,5,5,.18),rgba(5,5,5,.48)),
    url('images/homeback.jpg') center center/cover fixed no-repeat;
  box-shadow:
    inset 0 30px 60px rgba(0,0,0,.32),
    inset 0 -30px 60px rgba(0,0,0,.32);
  perspective:1px;
}

.parallax-break:before{
  content:'';
  position:absolute;
  inset:-12%;
  background:url('images/homeback.jpg') center center/cover no-repeat;
  transform:translateZ(-1px) scale(1.35);
  z-index:-1;
}

.parallax-break:after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center,rgba(255,248,232,.10),rgba(0,0,0,.55));
  pointer-events:none;
}

.parallax-break-inner{
  position:relative;
  z-index:1;
  padding:26px 42px;
  border:1px solid rgba(214,176,100,.78);
  background:rgba(20,14,8,.42);
  box-shadow:0 18px 50px rgba(0,0,0,.38);
  backdrop-filter:blur(2px);
  transform:translateZ(.15px) scale(.96);
}

.parallax-break-inner span{
  display:block;
  color:#fff4d8;
  font-size:30px;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-shadow:0 3px 14px rgba(0,0,0,.75);
}

.content-panel{
  background:rgba(255,248,232,.78);
  border:1px solid rgba(184,134,43,.26);
  padding:26px;
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}

.portrait-frame{
  padding:12px;
  background:#23150a;
  border:3px double var(--gold);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.portrait-frame img{
  width:100%;
  display:block;
  border:1px solid #d8b45b;
}

.content{
  font-size:17px;
  line-height:1.55;
}

.content h2{
  font-size:21px;
  color:#8b5a12;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-top:30px;
}

.columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  margin-top:22px;
}

.quote{
  max-width:760px;
  margin:38px auto 0;
  text-align:center;
  font-style:italic;
  font-size:18px;
  color:#3d2f19;
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.card{
  background:#101010;
  border:1px solid var(--gold);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  transition:.2s;
}

.card:hover{
  transform:translateY(-4px);
}

.card img{
  width:100%;
  height:245px;
  object-fit:cover;
  background:#eadfc8;
  display:block;
}

.card-title{
  text-align:center;
  color:var(--gold2);
  font-size:22px;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:14px;
}

.section-heading{
  color:var(--gold2);
  border-bottom:1px solid var(--gold);
  padding-bottom:10px;
  margin:48px 0 22px;
  font-size:28px;
  font-weight:400;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.gallery a{
  display:block;
  background:#f0e5cf;
  border:1px solid rgba(184,134,43,.65);
  border-radius:8px;
  overflow:hidden;
  padding:8px;
}

.gallery img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
  border-radius:4px;
}

.contact-box{
  max-width:640px;
  margin:0 auto;
  text-align:center;
  background:rgba(255,255,255,.45);
  border:1px solid var(--gold);
  padding:36px;
  font-size:20px;
  line-height:1.9;
}

/* ==========================
   FOOTER - LIGHT PARCHMENT
========================== */

.site-footer{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(
      to bottom,
      #efe4cf 0%,
      #e2d0ad 45%,
      #cfb88a 100%
    );
  border-top:3px solid var(--gold);
  color:#2b2115;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 -5px 18px rgba(0,0,0,.10);
}

.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top,
      rgba(255,255,255,.35),
      transparent 60%);
  pointer-events:none;
}

.footer-inner{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:auto;
  padding:28px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.footer-logo img{
  height:75px;
  width:auto;
  display:block;
  filter:
    drop-shadow(0 3px 6px rgba(255,255,255,.65))
    drop-shadow(0 3px 12px rgba(0,0,0,.18));
}

.footer-contact{
  font-size:15px;
  line-height:1.9;
  color:#2b2115;
  text-align:right;
}

.footer-contact a{
  color:#7d5511;
  transition:.25s;
}

.footer-contact a:hover{
  color:#b8862b;
}

.mobile-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  width:46px;
  height:42px;
  background:#f7f0e2;
  border:1px solid var(--gold);
  border-radius:4px;
  cursor:pointer;
}

.mobile-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:#6d4c12;
  transition:.25s;
}

.mobile-toggle.is-active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2){
  opacity:0;
}

.mobile-toggle.is-active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

@media(max-width:900px){
  .header-inner{
    position:relative;
    flex-direction:row;
    padding:12px 18px;
  }

  .brand img{
    height:58px;
  }

  .mobile-toggle{
    display:flex;
  }

  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#f6efdf;
    border-top:1px solid var(--gold);
    border-bottom:2px solid var(--gold);
    padding:8px 18px 14px;
    box-shadow:0 12px 22px rgba(0,0,0,.18);
  }

  .nav.is-open{
    display:flex;
  }

  .nav a{
    display:block;
    padding:13px 0;
    border-bottom:1px solid rgba(184,134,43,.25);
    color:#2c2418;
  }

  .dropdown-menu{
    display:block;
    position:static;
    min-width:0;
    background:transparent;
    border:0;
    padding:0 0 0 14px;
    box-shadow:none;
  }

  .dropdown-menu a{
    font-size:13px;
    padding:9px 0;
    color:#6d4c12;
  }

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

  .footer-contact{
    text-align:center;
  }

  .about-grid,
  .columns{
    grid-template-columns:1fr;
  }

  .portrait-frame{
    max-width:360px;
    margin:auto;
  }

  .cards,
  .gallery{
    grid-template-columns:repeat(2,1fr);
  }

  .title{
    font-size:32px;
  }

  .home-page{
    background-attachment:scroll;
  }

  .home-page:before{
    display:none;
  }

  .parallax-break{
    min-height:260px;
    margin:38px -18px 16px;
    background-attachment:scroll;
  }

  .parallax-break-inner span{
    font-size:23px;
    text-align:center;
  }
}

@media(max-width:560px){
  .container{
    padding:30px 16px;
  }

  .cards,
  .gallery{
    grid-template-columns:1fr;
  }

  .gallery img,
  .card img{
    height:auto;
  }

  .title{
    font-size:28px;
  }

  .title:before,
  .title:after{
    display:none;
  }

  .content{
    font-size:16px;
  }

  .content-panel{
    padding:20px 16px;
  }

  .parallax-break{
    min-height:220px;
    margin:30px -16px 14px;
  }

  .parallax-break-inner{
    padding:20px 24px;
  }

  .parallax-break-inner span{
    font-size:18px;
  }

  .contact-box{
    padding:24px 18px;
  }

  .footer-logo img{
    height:58px;
  }
}


/* ==========================
   CLASSIC HERALDIC LIGHTBOX
========================== */

.gallery a{
  cursor:zoom-in;
}

.heraldic-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:34px;
  background:
    radial-gradient(circle at center, rgba(45,31,15,.72) 0%, rgba(4,4,4,.96) 68%),
    rgba(0,0,0,.92);
  opacity:0;
  transition:opacity .28s ease;
}

.heraldic-lightbox.is-open{
  display:flex;
  opacity:1;
}

.heraldic-lightbox::before,
.heraldic-lightbox::after{
  content:"";
  position:absolute;
  left:50%;
  width:min(520px,70vw);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(to right, transparent, rgba(214,176,100,.9), transparent);
  pointer-events:none;
}

.heraldic-lightbox::before{
  top:26px;
}

.heraldic-lightbox::after{
  bottom:26px;
}

.lightbox-frame{
  position:relative;
  max-width:min(92vw,1220px);
  max-height:88vh;
  padding:18px;
  background:
    linear-gradient(145deg,#f6e8bf 0%,#b8862b 24%,#68420f 50%,#d6b064 76%,#fff2bf 100%);
  border:1px solid rgba(255,231,168,.95);
  box-shadow:
    0 30px 90px rgba(0,0,0,.72),
    inset 0 0 0 1px rgba(255,255,255,.35),
    inset 0 0 28px rgba(255,236,172,.28);
  transform:scale(.96) translateY(12px);
  transition:transform .28s ease;
}

.heraldic-lightbox.is-open .lightbox-frame{
  transform:scale(1) translateY(0);
}

.lightbox-frame::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(63,37,8,.75);
  pointer-events:none;
}

.lightbox-frame::after{
  content:"✦";
  position:absolute;
  left:50%;
  bottom:-34px;
  transform:translateX(-50%);
  color:#d6b064;
  font-size:24px;
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}

.lightbox-image-wrap{
  position:relative;
  z-index:2;
  background:#110d07;
  padding:10px;
  border:1px solid rgba(255,238,180,.45);
}

.lightbox-image-wrap img{
  display:block;
  max-width:calc(92vw - 80px);
  max-height:calc(88vh - 80px);
  width:auto;
  height:auto;
  object-fit:contain;
  background:#0b0b0b;
}

.lightbox-close,
.lightbox-arrow{
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(214,176,100,.95);
  background:
    linear-gradient(to bottom,#f0dfb6,#b8862b);
  color:#241506;
  box-shadow:
    0 6px 18px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.55);
  cursor:pointer;
  transition:transform .2s ease, filter .2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
}

.lightbox-close{
  top:-18px;
  right:-18px;
  width:42px;
  height:42px;
  border-radius:50%;
  font-size:28px;
  line-height:1;
}

.lightbox-arrow{
  top:50%;
  width:48px;
  height:64px;
  transform:translateY(-50%);
  font-size:34px;
  font-family:Georgia,'Times New Roman',serif;
}

.lightbox-arrow:hover{
  transform:translateY(-50%) scale(1.04);
}

.lightbox-prev{
  left:-68px;
}

.lightbox-next{
  right:-68px;
}

body.lightbox-open{
  overflow:hidden;
}

@media(max-width:900px){
  .heraldic-lightbox{
    padding:18px;
  }

  .lightbox-frame{
    padding:12px;
  }

  .lightbox-image-wrap img{
    max-width:calc(100vw - 64px);
    max-height:calc(100vh - 120px);
  }

  .lightbox-arrow{
    top:auto;
    bottom:-58px;
    width:46px;
    height:46px;
    transform:none;
    font-size:28px;
  }

  .lightbox-arrow:hover{
    transform:scale(1.04);
  }

  .lightbox-prev{
    left:calc(50% - 58px);
  }

  .lightbox-next{
    right:calc(50% - 58px);
  }

  .lightbox-close{
    top:-14px;
    right:-14px;
  }
}


/* Mobile navigation */
.menu-toggle{
display:none;
}

@media (max-width:768px){
.header-inner{
flex-wrap:wrap;
justify-content:center;
padding:12px 16px;
}
.brand{
width:100%;
text-align:center;
}
.brand img{
height:auto;
max-width:320px;
width:90%;
}
.menu-toggle{
display:block;
margin:10px auto;
background:#b8862b;
color:#fff;
border:none;
padding:10px 14px;
font-size:18px;
cursor:pointer;
}
.nav{
display:none;
width:100%;
flex-direction:column;
gap:0;
text-align:center;
letter-spacing:.05em;
}
.nav.open{
display:flex;
}
.nav a{
padding:14px 0;
border-top:1px solid rgba(184,134,43,.25);
}
.dropdown-menu{
position:static;
display:block;
box-shadow:none;
border:none;
background:transparent;
padding:0 0 10px;
}
.about-grid{
grid-template-columns:1fr;
}
.title{
font-size:34px;
}
.container{
padding:24px 16px;
}
}
