:root{
    --bg0:#000000;
    --bg1:#090101;

    --ink:#b8877c;
    --muted:#8e5e54;

    --ember:#7a2a18;
    --amber:#a56a2a;

    --wood:#2a0806;
    --line:rgba(58, 22, 14, 0.18);

    --shadow:0 28px 80px rgba(7, 2, 2, 0.55),
             0 6px 18px rgba(0, 0, 0, 0.45);
    --r: 22px;
    --max: 1240px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    color:var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background:
    radial-gradient(1100px 700px at 70% 20%, rgba(90, 40, 18, 0.06), transparent 55%),
    radial-gradient(900px 600px at 20% 70%, rgba(55, 20, 12, 0.05), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
    overflow-x:hidden;
}
a{
  color:inherit;
}

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.wrap{
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 32px 0 28px;
}
.pill:hover{
  color:#754e06;
  border-color: rgb(75, 44, 1);
}

header{
    display:flex; 
    align-items: flex-start; 
    justify-content:space-between; 
    gap:16px;
    padding:18px 0 18px;
}

.mark{
  display:flex;
  align-items:flex-start;
  gap:12px;
  letter-spacing:.12em;
  font-weight:700;
  line-height:1;
}

.sigil{
    width:48px; height:48px; border-radius:20px;
    background:
    radial-gradient(circle at 30% 30%, rgba(10, 0, 0, 0.45), transparent 55%),
    linear-gradient(135deg, rgba(24, 1, 1, 0.25), rgba(26, 4, 4, 0.2)),
    var(--wood);
    border:1px solid var(--line);
    box-shadow: var(--shadow);
}

nav{
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap;
    margin-right: 35px;
    margin-top: -23px;
}
nav a{
    text-decoration:none;
    font-size: 15px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:999px;
    background: rgba(10,6,4,.35);
    backdrop-filter: blur(6px);
}
nav a:hover{border-color: rgba(46, 4, 4, 0.35)}

.hero.layout-split{
  display:grid;
  grid-template-columns: minmax(0, 2fr) 300px;
  gap:18px;
  align-items:start;
  margin-top:0;
}

.hero h2{
  font-family: "MedievalSharp", ui-sans-serif, system-ui;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.15;
  letter-spacing: .02em;
  margin: 0 0 12px 0;
}

.card{
    border:1px solid var(--line);
    border-radius: var(--r);
    background: radial-gradient(
    900px 340px at 10% 10%,
    rgba(120, 58, 24, 0.06),
    transparent 45%),
    rgba(8, 3, 2, 0.44);
    box-shadow: var(--shadow);
    overflow:hidden;
}
.card-main{
  padding:26px;
  min-width:0;
}
.card > :first-child { margin-top: 0; }

.main-column{
  display:grid;
  gap:18px;
  align-content:start;
}

.featured-video{
  display:grid;
  grid-template-columns: minmax(0, 2.08fr) 252px;
  gap:10px;
  margin-top:10px;
  align-items:start;
}

.featured-video-main{
  min-width:0;
}

.featured-video-frame{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background: rgba(34, 3, 3, 0.22);
  box-shadow: var(--shadow);
}

.featured-video-frame iframe{
  width:100%;
  aspect-ratio:16 / 9;
  border:0;
  display:block;
}

.featured-video-list{
  display:grid;
  gap:4px;
  align-content:start;
}

.video-thumb{
  display:grid;
  grid-template-columns: 138.5px 97px;
  gap:9px;
  align-items:center;
  width:100%;
  padding:2px 8px 2px 2px;
  border:1px solid var(--line);
  border-radius:14px;
  background: transparent;
  color:inherit;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.thumb-frame{
  background: rgba(34, 3, 3, 0.35);
  border-radius:12px;
  width:100%;
}

.video-thumb:hover{
  transform: translateY(-1px);
  color:#7a2a18;
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.video-thumb.active{
  border-color: rgba(165, 106, 42, 0.45);
  box-shadow: 0 0 0 1px rgba(165, 106, 42, 0.22) inset;
}

.video-thumb:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(120, 60, 30, 0.55);
}

.video-thumb img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
  border-radius:10px;
}

.video-thumb span{
  min-width:0;
  font-size:14px;
  line-height:1.35;
  color:var(--ink);
  text-align:right;
}

.image-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:10px;
}

.gallery-item{
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
  display:block;
  width:100%;
}

.gallery-item img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  display:block;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.gallery-item:hover img{
  transform: translateY(-2px);
  border-color: rgb(75, 44, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.image-grid img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  display:block;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(34, 3, 3, 0.22);
}

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.open{
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-dialog{
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  height: 98vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 64px;
  /* cursor: default; */
}

.lightbox-content{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  /* cursor: pointer; */
}

.lightbox-content img{
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #120605;
  opacity:1;
  transition: opacity .4s ease;
  cursor: pointer;
}

.lightbox-content,
.lightbox-content img,
.lightbox-nav,
.lightbox-close,
.gallery-item {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox-content img.is-portrait{
  max-width: 100%;
  max-height: 98vh;
}

.lightbox-content img.is-square{
  max-width: clamp(0px, 94vw, 900px);
  max-height: 94vh;
}

.lightbox-content img.is-landscape{
  max-width: clamp(900px, 88vw, 1300px);
  max-height: 88vh;
}

.lightbox-close,
.lightbox-nav{
  border: 1px solid var(--line);
  background: rgba(34, 3, 3, 0.72);
  color: var(--ink);
  cursor: pointer;
  border-radius: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-nav:hover{
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
}

.lightbox-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 72px;
  font-size: 42px;
  line-height: 1;
  opacity: .55;
  transition: opacity .25s ease, background .18s ease, border-color .18s ease;
}

.lightbox-dialog:hover .lightbox-nav{
  opacity: .95;
}

.lightbox-nav:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(120, 60, 30, 0.55);
}

.lightbox-close:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(120, 60, 30, 0.55);
}

.lightbox-prev{
  left: 12px;
}

.lightbox-next{
  right: 12px;
}

.brand{
  margin: 0;
  font-size: 34px;      /* close to sigil height */
  line-height: 1;       /* keeps it tight and aligned */
  letter-spacing: .02em;
  font-weight: 700;
  /* optional: if you want the medieval font here */
  font-family: "MedievalSharp", ui-sans-serif, system-ui; 
}

.brand-block {
  display: flex;
  flex-direction: column;
  transform: translateY(4px);
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 1px 0 0 8px;
  font-size: 0.60rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.tagline::before {
  content: "";
  width: 48px;   /* shorter */
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.tagline::after {
  content: "";
  width: 98px;   /* longer */
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.actions{
  display:flex; 
  gap:12px; 
  flex-wrap:wrap; 
  margin-top:14px;
  align-items:center;
}

.btn{
    text-decoration:none;
    padding:8px 13px;
    border-radius: 14px;
    border:1px solid var(--line);
    background: rgba(39, 3, 3, 0.35);
    display:inline-flex; align-items:center; gap:10px;
}
.btn:hover{
  transform: translateY(-1px);
  color:#7a2a18;
  border-color: rgb(75, 44, 1); 
  background: rgb(41, 23, 1); 
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.btn.primary{
    padding:11px 17px;
    font-weight:500;
    border-color: rgba(18, 1, 1, 0.35);
    background:
    radial-gradient(circle at 30% 30%, rgba(99, 12, 12, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(61, 3, 3, 0.22), rgba(0,0,0,.1));
    box-shadow: 0 0 14px rgba(120, 60, 30, 0.22);
}

.btn:not(.primary){
  font-size:15px;
  opacity:0.9;
}

.btn.primary:hover{
  color:#7a2a18;
  border-color: rgb(75, 44, 1); 
  background: rgb(41, 23, 1); 
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.side{
  display:grid;
  gap:18px;
  align-content:start;
}
.side .panel{
  padding:16px;
}

.panel{
    padding:18px;
}

.panel a{
  text-decoration: none;
}

.panel h2{
    margin:0 0 8px;
    font-size: 16px;
    font-family: "MedievalSharp", ui-sans-serif, system-ui;
    letter-spacing:.08em;
    text-transform:uppercase;
    color: var(--muted);
}
.list{
  display:grid; 
  gap:10px; 
  margin-top:12px;
}
.item{
  display:grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items:center;
  column-gap:14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(34, 3, 3, 0.35);
  text-decoration:none;
}

.item:hover{
  color:#7a2a18;
  border-color: rgb(75, 44, 1);
  background: rgb(41, 23, 1);
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
}

.item b{
  min-width:0;
  font-size:15px;
  opacity:0.95;
}

.item span{
  text-align:right;
  white-space:nowrap;
  font-size:13px;
  color:var(--muted);
}

.item small{
  color:var(--muted);
  text-align:right;
  white-space:nowrap;
}
.side-item{
  padding:10px 12px;
  column-gap:12px;
}

.side-item b{
  font-size:15px;
}

.side-item span{
  font-size:13px;
}

.rule{
  height:1px;
  background: rgba(58, 22, 14, 0.22);
  margin:12px 0;
}

.info{
  display:grid;
  gap:0px;
  margin-top:12px;
}

.info.item{
  display:grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items:center;
  column-gap:14px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(34, 3, 3, 0.35);
}

.info.item span{
  font-size:15px;
  text-align:left;
}

.info.item small{
  font-size:14px;
  color:var(--muted);
  text-align:right;
  white-space:nowrap;
}

.info.item:hover{
  box-shadow: 0 0 12px rgba(120, 60, 30, 0.18);
  color: inherit;
}

/* Footer: class .footer (since HTML uses it) */
.footer{
    margin-top: 60px;
    color: rgba(78, 1, 1, 0.75);
    font-size: 12px;
    letter-spacing:.06em;
    text-align: left;
}
.footer > div{
  width: 100%;
}

.contact-page{
  display:grid;
  gap:18px;
}

.contact-hero-card{
  padding:26px;
}

.contact-intro{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

.contact-form-panel{
  padding:18px;
}

.contact-form{
  display:grid;
  gap:16px;
  margin-top:10px;
}

.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
}

.field{
  display:grid;
  gap:8px;
}

.field label{
  font-size:14px;
  color:var(--muted);
  letter-spacing:.03em;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(34, 3, 3, 0.35);
  color:var(--ink);
  font: inherit;
  padding:12px 14px;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field textarea{
  resize:vertical;
  min-height:180px;
  line-height:1.6;
}

.field input::placeholder,
.field textarea::placeholder{
  color:var(--muted);
  opacity:.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(165, 106, 42, 0.45);
  box-shadow: 0 0 0 2px rgba(165, 106, 42, 0.18);
  background: rgba(41, 23, 1, 0.55);
}

.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
}

/* Tablet / notebook */
/* Tablet / notebook */
@media (max-width: 900px){
  .wrap{
    width:min(100% - 28px, var(--max));
    padding:24px 0 24px;
  }

  header{
    align-items:flex-start;
    gap:14px;
  }

  nav{
    margin-right:0;
    margin-top:0;
  }

  .hero.layout-split{
    grid-template-columns:1fr;
  }

  .side{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-thumb{
  grid-template-columns: 112px minmax(0, 1fr);
  gap:8px;
  padding:3px 6px 3px 2px;
}

.video-thumb span{
  text-align:right;
}

  .featured-video{
    grid-template-columns:1fr;
  }

  .featured-video-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lightbox-dialog{
    width:min(94vw, 1000px);
    height:min(84vh, 800px);
  }

  .lightbox-nav{
    width:46px;
    height:64px;
    font-size:34px;
  }

  .footer br{
    display: none;
  }
  
}

@media (max-width: 640px){
  .form-grid{
    grid-template-columns:1fr;
  }

  .contact-hero-card,
  .contact-form-panel{
    padding:16px;
  }

  .contact-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .contact-actions .btn{
    width:100%;
    justify-content:center;
  }
  .wrap{
    width:min(100% - 20px, var(--max));
    padding:18px 0 22px;
  }

  header{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:12px 0 16px;
  }

  .mark{
    align-items:flex-start;
    gap:10px;
  }

  .sigil{
    width:42px;
    height:42px;
    border-radius:16px;
  }

  .brand{
    position: relative;
    font-size: 25px;
    line-height: 1.05;
    top: 2px;
  }

  .brand-block{
    transform:none;
  }

  .tagline{
    margin:4px 0 0 2px;
    font-size:0.60rem;
    letter-spacing:0.1em;
  }

  .tagline::before{
    width:35px;
  }

  .tagline::after{
    width:72px;
  }

  nav{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
    margin:0;
  }

  nav a{
    font-size:14px;
    padding:9px 11px;
  }

  .card-main,
  .panel,
  .video-panel,
  .image-panel,
  .side .panel{
    padding:16px;
  }

  .hero h2{
    font-size: clamp(26px, 7vw, 34px);
    line-height:1.2;
  }

  .actions{
    gap:10px;
  }

  .btn{
    padding:9px 12px;
  }

  .btn.primary{
    padding:11px 15px;
  }

  .side{
    grid-template-columns:1fr;
  }

  .featured-video-list{
    grid-template-columns:1fr;
  }

  .video-thumb{
    grid-template-columns: 96px minmax(0, 1fr);
    gap:10px;
    padding:9px;
  }

  .image-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .item,
  .info.item{
    grid-template-columns:minmax(0, 1fr);
    row-gap:4px;
  }

  .item span,
  .item small,
  .info.item small{
    text-align:left;
    white-space:normal;
  }

  .lightbox-content img{
    transition: none;
  }

  .lightbox-dialog{
    width:min(96vw, 900px);
    height:min(80vh, 700px);
    gap:8px;
  }

  .lightbox-close{
    width:42px;
    height:42px;
    font-size:26px;
  }

  .lightbox-nav{
    width:40px;
    height:56px;
    font-size:28px;
    border-radius:12px;
  }
}

@media (max-width: 520px){
  .wrap{
    width:min(100% - 16px, var(--max));
    padding:14px 0 20px;
  }

  header{
    gap:10px;
    padding:10px 0 14px;
  }

  .mark{
    gap:9px;
  }

  .sigil{
    width:38px;
    height:38px;
    border-radius:14px;
  }

  .brand{
    position: relative;
    font-size: 24px;
    line-height: 1.05;
    top: 4px;
  }

  .tagline{
    margin: 4px 0 0 2px;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .tagline::before{
    width:28px;
  }

  .tagline::after{
    width:57px;
  }

  nav{
    width:100%;
  }

  nav a{
    width:auto;
    white-space:nowrap;
  }

  .hero h2{
    font-size: clamp(24px, 8vw, 30px);
  }

  .actions{
    flex-direction:column;
    align-items:stretch;
  }

  .actions .btn{
    justify-content:center;
    width:100%;
  }

  .video-thumb{
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .image-grid{
    grid-template-columns:1fr;
  }

  .lightbox-dialog{
    width: 100vw;
    height: 100vh;
    padding: 0 1px;
  }

  .lightbox-content{
    width: 100%;
    height: 100%;
  }

  .lightbox-content img{
    display:block;
    border-radius: 10px;
  }

  .lightbox-content img.is-portrait{
  max-width: 100%;
  max-height: 96vh;
}

.lightbox-content img.is-square{
  max-width: 100vw;
  max-height: 94vh;
}

  .lightbox-content img.is-landscape{
    max-width: 100vw;
    max-height: 80vh;
  }

  .lightbox-nav{
    background: rgba(34, 3, 3, 0.18); 
    border-color: rgba(58, 22, 14, 0.10);
    backdrop-filter: blur(2px);
    width: 30px;
    height: 40px;
    font-size: 24px;
  }

  .lightbox-dialog:hover .lightbox-nav{
    opacity: .8;
  }

  .lightbox-prev{
    left: 2px;
  }

  .lightbox-next{
    right: 2px;
  }

  .lightbox-close{
    top: 6px;
    right: 6px;
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  
}