/* =========================================================
   Root variables
========================================================= */
:root{
    --page-max: 1120px;
    --gap: clamp(16px, 3vw, 28px);
    --btn-bg: rgba(245, 200, 80, 0.92);
    --btn-text: #2a2a2a;
    --shadow: 0 10px 24px rgba(0,0,0,.12);
    --card-radius: 14px;
  }
  
  /* =========================================================
     Fonts
  ========================================================= */
  @font-face{
    font-family: "MrEavesXLModOT";
    src: url("/fonts/MrEavesXLModOT-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Brushberry";
    src: url("/fonts/Brushberry\ Script.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  
  /* =========================================================
     Resets / Base
  ========================================================= */
  *{ box-sizing: border-box; }
  
  html{ height: 100%; }
  html, body{
    overflow-x: hidden;    }
  
  body{
    min-height: 100%;
    margin: 0;
    color: #2e3a4a;
    font-family: "MrEavesXLModOT", "Avenir Next", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
      background: #faf8f5 url("../../images/background.png") no-repeat center center fixed;
    background-size: cover;
  }
  
  /* =========================================================
     Site header / logo
  ========================================================= */
  .topline{
    background: url("../../images/topline.png") center / cover no-repeat;
    height: 15px;
    width: 100%;
  }
  
  header{
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 28px) 16px 0;
  }
  
  .logo{
    width: auto;
    height: clamp(310px, 10vw, 264px); 
    image-rendering: -webkit-optimize-contrast;
    display: block;
  }
  
  /* =========================================================
     Page max width wrapper
  ========================================================= */
  main{
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 clamp(14px, 3vw, 22px) clamp(40px, 6vw, 64px);
  }
  
.drawer-scrim{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.34);
    backdrop-filter: blur(2px);
    z-index: 300;
  }
  
  .drawer{
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(86vw, 320px);
    background: #ffffffF2;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 301;
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: none;
  }

  .drawer::before{
    content:"";
    height:14px;
    background: url("../../images/topline.png") center/cover no-repeat;
    grid-row: 1 / 2;
  }
  
  .drawer__header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 122px;              
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 16px;      
    border-bottom: 1px solid #e9edf2;
  }
  
  .drawer__title{
    font-family: "Brushberry","MrEavesXLModOT",serif;
    font-weight: 400;
    font-size: clamp(32px, 6vw, 46px); 
    background: url("../../images/goldback.png") center/cover no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-top: 40px;
  }
  
  .drawer__list{
    list-style: none;
    margin-top: 122px;          
    padding-top: 4px;

  }
  .drawer__list a{
    display: block;
    padding: 12px 14px;
    margin: 4px 6px;
    border-radius: 10px;
    color: #2e3a4a;
    text-decoration: none;
    transition: background-color .15s ease, transform .1s ease;
  }

  .drawer__list a:hover,
  .drawer__list a:focus-visible{
    background:
      linear-gradient(0deg, rgba(255,255,255,.86), rgba(255,255,255,.86)),
      url("../../images/goldback.png") center/180% no-repeat;
  }
  .drawer__list a:active{ transform: translateY(1px); }
  
  .drawer--open{ transform: translateX(0); }
  .scrim--open{ display: block; }
  .no-scroll{ overflow: hidden; }
  
  
  /* =========================================================
     Card grid (home)
  ========================================================= */
  .cards{
    display: grid;
    gap: var(--gap);
    justify-items: center;
  }
  
  .cards--row1{ grid-template-columns: repeat(3, 1fr); margin-bottom: 2rem; }
  .cards--row2{ grid-template-columns: repeat(2, 1fr); justify-content: center; }
  
  .card{
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eaeaea;
    aspect-ratio: 16/10;
    transition: transform .2s ease, box-shadow .2s ease;
    width: 100%;
    max-width: 400px;
  }
  .card:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
  
  .card > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
    opacity: 65%;
  }

  .card--contact > img{
    object-position: center 25%;  
  }
  
  .label{
    position: absolute;
    left: 50%;
    bottom: clamp(10px, 2.2vw, 16px);
    transform: translateX(-50%);
    background-image: url("../../images/goldback.png");
    font-weight: 700;                
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .55rem .9rem;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    font-size: clamp(.72rem, 1.8vw, .9rem);
    text-decoration: none;
  }
  
  .tagline{
    text-align: center;
    margin: clamp(22px, 4vw, 36px) 0;
    font-weight: 600;
    font-size: larger;
    letter-spacing: .04em;
    color: #4a5971;
  }
  
  /* =========================================================
     Hero video
  ========================================================= */
  .hero{
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  
  .hero__video{
    width: clamp(120px, 60vw, 900px);
    height: auto;
    display: block;
    object-fit: contain;
    box-shadow: var(--shadow);
  }
  
  /* =========================================================
     Top bar (gallery & internal pages)
  ========================================================= */
  .topbar{
    background: #CAE9F5;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 4px clamp(14px, 3vw, 24px);
    position: sticky;
    top: 0;
    z-index: 5;
  }
  
  .topbar .brand img{
    height: clamp(40px, 5vw, 60px);
    width: auto;
  }
  
  
  /* =========================================================
     Page title (gold texture fill)
  ========================================================= */
  .page-title{
    text-align: center;
    margin: clamp(18px, 4vw, 32px) 0;
    font-family: "Brushberry", "MrEavesXLModOT", serif;
    font-weight: normal;
    font-size: clamp(42px, 8vw, 92px);
    background: url("../../images/goldback.png") center / cover no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .02em;
  }
  
  /* =========================================================
     Gallery layout — natural image sizes
  ========================================================= */
  .gallery-main{
    max-width: min(1150px, 92vw);
    margin: 0 auto;
    padding:
      calc(76px + 14px)
      0
      clamp(28px, 6vw, 60px);
  }
  
.gallery-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;                
  align-items: flex-start;
  grid-template-columns: repeat(4, 1fr);  

}

.g-item{
  margin: 0;
  flex: 0 0 auto;           
}

.break{
  flex-basis: 100%;
  height: 0;
}
.g-item img{
  height: 272px;            
  width: auto;             
  display: block;
  object-fit: cover;        
  border-radius: 0;
  box-shadow: none;
}

.gallery-rows{
  max-width: min(1150px, 92vw);
  margin: 0 auto;
  display: grid;
  row-gap: 14px;               
}

.g-row{
  display: flex;
  gap: 14px;                    
  justify-content: flex-start;
  flex-wrap: nowrap;            
}

.g-row .g-item{ margin: 0; }
.g-row .g-item img{
  height: 272px;
  width: auto;
  display: block;
  object-fit: cover;            
  border-radius: 0;
  box-shadow: none;
}

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox[hidden]{ display: none; }

.lightbox__img{
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next{
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
}

.lightbox__close{ top: 20px; right: 30px; }
.lightbox__prev{ left: 30px; }
.lightbox__next{ right: 30px; }

  /* =========================================================
     Contact page
  ========================================================= */
  .sidegold{
    position: fixed;
    inset: 0 auto 0 0;
    width: 54px;
    background: url("../../images/sidegold.png") no-repeat;
    z-index: 2;
  }
  
  .contact-main{
    max-width: min(1000px, 92vw);
    margin: 0 auto;
    padding: clamp(18px, 4vw, 36px) 16px 40px;
  }
  
  .menu--corner{
    position: fixed;
    top: 18px;
    right: 40px;
    z-index: 3;
    border: 0;
    padding: 0;
    width: 64px;
    height: 44px;
    cursor: pointer;
  }
  .menu--corner img{ width: 100%; height: auto; display: block; }
  .menu--corner,
.menu--corner img {
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  background: transparent;
}
  
  .contact-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 4vw, 36px);
    max-width: 860px;
    margin: clamp(10px, 3vw, 24px) auto;
  }
  
  .contact-card{
    display: grid;
    justify-items: center;
    align-items: start;
    row-gap: clamp(8px, 1.8vw, 14px);
    text-align: center;
  }
  
  .contact-card .cicon img{
    width: clamp(120px, 14vw, 160px);
    height: auto;
    display: block;
    filter: none;
    opacity: 1;
    transition: transform .15s ease;
  }
  .contact-card .cicon:hover img{ transform: translateY(-2px); }
  
  .contact-card .clabel{
    font-size: clamp(14px, 1.9vw, 20px);
    color: #4a5971;
    text-decoration: none;
  }
  .contact-card .clabel:hover{ text-decoration: underline; }
  
  .contact-art{
    margin: clamp(12px, 4vw, 24px) auto 0;
    max-width: 680px;
    box-shadow: var(--shadow);
    border-radius: 6px;
    overflow: hidden;
  }
  .contact-art img{ width: 100%; height: auto; display: block; }
.contact-phone{
  text-align: center;
  margin: 8px 0 18px;              
}

.contact-phone__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  color: #284a66;                     
  background: rgba(202, 233, 245, .28);
  transition: background-color .15s ease, transform .1s ease;
}

.contact-phone__link:hover,
.contact-phone__link:focus-visible{
  background: rgba(202, 233, 245, .45);
}

.contact-phone__link:active{
  transform: translateY(1px);
}

.wa-icon{
  width: 20px;
  height: 20px;
  display: inline-block;
  filter: none;                       
}


  
  /* =========================================================
     Footer
  ========================================================= */
  footer{
    text-align: center;
    font-size: .75rem;
    color: #6b7b8e;
    opacity: .9;
    padding: clamp(28px, 6vw, 46px) 10px;
  }
  .blue-footer{
    background-color: #CAE9F5;
  }
  footer a {
    color: inherit;          
    text-decoration: none;  
    font-weight: inherit;   
  }
  
  footer a:hover,
  footer a:focus {
    text-decoration: underline;
  }
  
  /* ========== For Sale page ========== */
.gold-bg{
    background: #f7e7b6 url("../../images/goldback.png") center/cover fixed no-repeat !important;
  }
  
.fs-main{
    max-width: min(1200px, 94vw);
    margin: 0 auto;
    padding: clamp(16px, 4vw, 28px) 0 clamp(28px, 6vw, 60px);
  }
  
  
.fs-panel{
    background-color: #ffffffF2;
    background-image: url("../../images/background.png");
    background-position: center;
    background-repeat: repeat;   
    background-size: auto; 
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    max-width: min(1300px, 96vw);   
    min-height: 640px;               
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  
  .fs-panel .page-title{
    margin-top: 0;
  }
  
  .fs-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
    justify-items: center;  
    width: 100%;
    margin: clamp(16px, 4vw, 36px) auto;
  }
  
  .fs-item {
    max-width: 380px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;   
  }
  
  .fs-item img {
    height: 240px;          
    width: 100%;          
    display: block;
  }

  .fs-name{
    margin-top: 12px;
    color: #46525f;
  }
  
  .fs-size{
    color: #6a7a8b;
    font-size: .92rem;
  }
  
  
  .fs-note{
    margin: clamp(18px, 5vw, 40px) 0 0;
    text-align: center;
    color: #46525f;
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .fs-panel .page-title{
    margin: clamp(8px, 1.6vw, 14px) 0 6px;
  }
  
  .fs-panel .tagline{
    margin: 4px 0 6px;
    line-height: 1.35;       
  }
  
  .fs-panel .contact-phone{
    margin: 4px 0 14px;
  }
  
  .fs-panel .fs-grid{
    margin-top: clamp(10px, 2vw, 18px);
  }
  
   
  /* =======================
   About page
======================= */

.about-grid{
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(20px, 6vw, 60px);
    align-items: start;
    margin-top: clamp(8px, 2.5vw, 20px);
  }
  
.about-copy{
    color: #46525f;
    font-size: clamp(20px, 1.9vw, 18px);
    line-height: 1.75;
    text-align: center;
    max-width: 52ch;
    margin: 0 auto;
  }
  
  .about-figure{
    position: relative;
    display: grid;
    place-items: center; 
    padding-top: 32px;
  }
  
  .about-figure::before,
  .about-figure::after{
    content:"";
    position: absolute;
    background:#284a66;
  }
  
  .about-figure::before{
    width:2px;
    left:-6px;            
    top:-4vh;             
    bottom:-12vh;          
  }
  
  .about-figure::after{
    height:2px;
    top:-10px;            
    left:-2vw;           
    right:-50vw;           
  }
  
  .about-figure img{
    width: 450px;
    height: 350px;
    margin: 0 auto;
    height: auto;
  }
  
  @media (max-width: 980px){
    .about-grid{
      grid-template-columns: 1fr;
      gap: clamp(14px, 5vw, 28px);
    }
    .about-copy{ text-align: center; }
    .about-figure::before{ left: -8px; }
    .about-figure::after{ top: -8px; }
  }
  

.topbar--fixed{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 6px clamp(14px, 3vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.topbar__menu-btn{
  position: static;
  width: 56px; height: 40px;
  border: 0; padding: 0; background: transparent; cursor: pointer;
}
.topbar__menu-btn img{ width:100%; height:auto; display:block; }

.pp-main{
  max-width: min(1150px, 92vw);
  margin: 0 auto;
  padding: calc(76px + 14px) 0 clamp(28px, 6vw, 60px);
}

.pp-hero{
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: clamp(24px, 5vw, 48px);
}
.pp-hero img{
  width: 100%;
  height: auto;
  display: block;
}

.pp-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(14px, 2.6vw, 24px);
  align-items: start;
  justify-items: center;
}

.pp-card{
  width: 320px;
  height: 400px;
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
}

.pp-card img{
  width: 100%;
  height: 100%;
  display: block;
}



.pp-main .page-title{ margin-top: clamp(10px, 2vw, 18px); }

  /* =========================================================
     Media queries
  ========================================================= */
  @media (max-width: 980px){
    .cards--row1{ grid-template-columns: repeat(2, 1fr); }
    .cards--row2{ grid-template-columns: repeat(2, 1fr); }
    .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
    .g-item img{ max-width: 100%; height: auto; }
    .contact-cards{ grid-template-columns: repeat(3, 1fr); } 
    .fs-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
    .fs-grid{ grid-template-columns: repeat(2, 1fr); }
    .card--contact > img{ object-position: center 25%; }


  }
 
  
  @media (min-width: 981px){
    .cards .offset{ transform: translateY(6px); }
    .cards .offset:hover{ transform: translateY(4px); }
    .cards .spacer{ display: block; }
    .gold-bg .menu--corner{
      position: fixed;
      top: 32px;
      right: calc(50vw - min(1200px, 94vw)/2 + 24px);
      width: 64px;
      height: 64px;
      z-index: 5; 
    }
      .fs-panel{ position: relative; }
  }
  
  a.card{ text-decoration: none; color: inherit; }


@media (max-width: 640px){
  .card--contact > img{ object-position: center 25%; }
  .cards--row1,
    .cards--row2{ grid-template-columns: 1fr; }
    .gallery-grid{ grid-template-columns: 1fr; }
    .g-item img{ max-width: 100%; height: auto; }
    .sidegold{ width: 42px; }
    .contact-cards{ grid-template-columns: 1fr; max-width: 520px; }
    .contact-card .cicon img{ width: clamp(120px, 40vw, 180px); }
    .fs-grid{ grid-template-columns: 1fr; }
    .fs-panel .page-title{ margin: 6px 0 4px; }
    .fs-panel .tagline{ margin: 2px 0 4px; }
    .fs-panel .contact-phone{ margin: 2px 0 12px; }
    .fs-panel .fs-grid{ margin-top: 12px; }
    .gold-bg .menu--corner{
      position: fixed;
      top: 32px; 
      width: 64px;                 
      height: 64px;
      z-index: 5;                  
    }
  .fs-panel{ position: relative; }
  .gallery-rows{ row-gap: 12px; }
  .g-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;   
  }
  .g-row .g-item img{
    width: 100%;
    height: auto;            
    max-width: 100%;
    object-fit: contain;    
  }
  .about-main {
    padding: clamp(12px, 4vw, 20px) 12px 28px;
  }

  .page-title {
    margin: 10px 0 16px;
    font-size: clamp(32px, 10vw, 54px);
    text-align: center; 
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;     
    justify-items: center;   
    text-align: center;      
  }

  .about-copy {
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto;
    text-align: center; 
    padding: 0 4px;
  }

  .about-figure {
    padding-top: 0;
    display: grid;
    place-items: center; 
  }

  .about-figure img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto; 
  }

  .about-figure::before,
  .about-figure::after {
    display: none;
  }
  .fs-grid{ grid-template-columns: 1fr; }
  .contact-main {
    padding-left: 24px;  
    padding-right: 16px; 
  }
  .contact-phone{ margin: 10px 0 20px; }
  .contact-phone__link{ padding: .5rem 1rem; }
}
