/* =========================================================
   COMPONENTS — the parts we use more than once

   A component is something that appears in more than one place:
   a button, a label, the header, the popup, the footer.

   ------------------------------------------------------------
   Labels      .section-label  .section-header  .section-subtitle
   Buttons     .btn  .btn-primary  .btn-secondary  .btn-arrow
   Tag         .tag
   Fallback    .fallback-text  .image-missing
<<<<<<< HEAD
   Header      #navbar  .brand  #menu-button  #mobile-menu
=======
   Header      #navbar  .brand  .brand-logo  .nav-links  .nav-link
               .nav-phone  .nav-order
>>>>>>> 4dcacea4060d42f8ebc1886ae37d1a7c60e6636f
   Popup       .modal  .modal-box  .modal-media  .modal-info
   Photo view  .photo-viewer  .photo-frame  .photo-close
   Footer      .footer  .footer-grid  #back-to-top
   ========================================================= */

/* --- section labels --- */
/* the small uppercase line above a heading */
.section-label{display:inline-flex;align-items:center;gap:.6rem;font-size:.72rem;font-weight:700;
  letter-spacing:.22em;text-transform:uppercase;color:var(--color-accent)}
/* the short gold rule in front of the label */
.section-label::before{content:"";width:1.625rem;height:0.125rem;background:var(--color-gold);border-radius:0.125rem}
/* the block that holds a section's heading and subheading */
.section-header{max-width:40rem;margin-bottom:clamp(2.2rem,5vw,3.5rem)}
.section-header h2{font-size:clamp(1.6rem,3.6vw,2.6rem);margin:.7rem 0 .8rem}
/* the sentence under a section heading */
.section-subtitle{color:var(--color-muted);font-size:1.02rem}

/* --- buttons --- */
/* gold always carries dark ink (brand WCAG rule) */
.btn{display:inline-flex;align-items:center;gap:.55rem;padding:.9rem 1.6rem;border-radius:999px;
  font-weight:700;font-size:.92rem;transition:transform .2s ease,box-shadow .3s,background .3s,color .3s,border-color .3s;will-change:transform}
/* the arrow inside a button */
.btn .btn-arrow{transition:transform .25s}
/* the arrow nudges to the right on hover */
.btn:hover .btn-arrow{transform:translateX(0.25rem)}
/* the main action on a screen: gold */
.btn.btn-primary{background:linear-gradient(135deg,var(--color-gold),var(--color-gold-dark));color:#172033;
  box-shadow:0 0.75rem 1.625rem -0.625rem rgba(210,166,42,.55)}
.btn.btn-primary:hover{box-shadow:0 1rem 2.125rem -0.625rem rgba(210,166,42,.7)}
/* the less important action: outlined */
.btn.btn-secondary{border:1.5px solid var(--color-border);background:var(--color-surface);color:var(--color-heading)}
.btn.btn-secondary:hover{border-color:var(--color-gold);color:var(--color-accent)}

/* --- the small tag --- */
.tag{display:inline-block;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--color-accent);background:var(--color-accent-soft);padding:.32rem .7rem;border-radius:999px}

/* --- fallback text --- */
/* the big letters shown when a photo cannot load */
.fallback-text{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--font-heading);font-style:italic;
  font-weight:600;font-size:2.6rem;color:rgba(255,255,255,.9);opacity:0;transition:opacity .3s}
/* when the image fails, hide it and show the letters instead */
.image-missing img{display:none}
.image-missing .fallback-text{opacity:1}

<<<<<<< HEAD
/* --- the header --- */
#navbar{
  position:fixed;top:0;left:0;right:0;z-index:90;
  display:flex;align-items:center;justify-content:space-between;
  padding:clamp(.8rem,2vw,1.1rem) clamp(1rem,3vw,1.6rem);
  pointer-events:none;background:transparent;border:0;
=======
/* --- the header: the logo on the left, the actions on the right --- */
/* The middle of the bar stays empty on purpose. Everything that does
   something sits in the two corners. */
#navbar{
  position:fixed;top:0;left:0;right:0;z-index:90;
  min-height:var(--header-height);
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:0 clamp(1rem,3vw,1.6rem);
  background:var(--color-background);
  border-bottom:1px solid var(--color-border);
>>>>>>> 4dcacea4060d42f8ebc1886ae37d1a7c60e6636f
  transition:transform .35s cubic-bezier(.22,1,.36,1);
}
/* the header slides away when you scroll down */
#navbar.is-hidden{transform:translateY(-140%)}
<<<<<<< HEAD
/* the header itself must not block clicks, but its children should */
#navbar > *{pointer-events:auto}

/* the brand pill in the corner */
.brand{
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.35rem .85rem .35rem .4rem;border-radius:999px;
  background:color-mix(in srgb,var(--color-background) 82%,transparent);
  -webkit-backdrop-filter:blur(0.875rem);backdrop-filter:blur(0.875rem);
  border:1px solid var(--color-border);box-shadow:var(--shadow-small);
  font-family:var(--font-heading);font-weight:700;font-size:1rem;color:var(--color-heading);
}
.brand-logo{width:2.125rem;height:2.125rem;flex:none}
=======

/* The page starts below the header, so no section hides under it. */
main{padding-top:var(--header-height)}

/* the brand: the small mark and the shop name */
.brand{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;
  font-family:var(--font-heading);font-weight:700;font-size:1.05rem;color:var(--color-heading)}
.brand-logo{width:2.375rem;height:2.375rem;flex:none}
>>>>>>> 4dcacea4060d42f8ebc1886ae37d1a7c60e6636f
.brand-logo img{width:100%;height:100%;object-fit:contain}
.brand-name{display:flex;flex-direction:column;line-height:1.05}
.brand small{font-family:var(--font-body);font-weight:500;font-size:.52rem;letter-spacing:.2em;
  text-transform:uppercase;color:var(--color-muted)}

<<<<<<< HEAD
/* the menu button */
#menu-button{
  display:inline-flex;align-items:center;gap:.65rem;
  height:3rem;padding:0 1.1rem;border-radius:999px;
  background:var(--color-gold);color:#172033;border:1px solid var(--color-gold-dark);
  box-shadow:var(--shadow-small);
  transition:transform .25s,box-shadow .3s;
}
#menu-button:hover{transform:translateY(-0.125rem);box-shadow:var(--shadow)}
.menu-button-text{font-size:.66rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.menu-icon{display:flex;flex-direction:column;gap:0.25rem}
.menu-icon span{width:1.125rem;height:0.125rem;background:currentColor;border-radius:0.125rem;
  transition:transform .3s,opacity .3s}
/* the three bars fold into an X when the menu is open */
#menu-button.is-active .menu-icon span:nth-child(1){transform:translateY(0.375rem) rotate(45deg)}
#menu-button.is-active .menu-icon span:nth-child(2){opacity:0}
#menu-button.is-active .menu-icon span:nth-child(3){transform:translateY(-0.375rem) rotate(-45deg)}

/* the full-screen menu */
#mobile-menu{position:fixed;inset:0;z-index:85;background:var(--color-background);padding:calc(var(--header-height) + 2.5rem) 8% 2rem;
  display:flex;flex-direction:column;justify-content:space-between;visibility:hidden;opacity:0;
  transition:opacity .35s,visibility 0s linear .35s}
#mobile-menu.is-open{visibility:visible;opacity:1;transition:opacity .35s,visibility 0s}
.menu-links{display:flex;flex-direction:column;gap:.3rem}
.menu-links a{font-family:var(--font-heading);font-size:clamp(1.7rem,7vw,2.4rem);font-weight:600;color:var(--color-heading);
  padding:.45rem 0;border-bottom:1px solid var(--color-border);display:flex;justify-content:space-between;align-items:center;
  opacity:0;transform:translateY(1.125rem);transition:opacity .45s,transform .45s,color .25s}
.menu-links a:hover{color:var(--color-accent)}
.menu-links a i{font-style:normal;font-family:var(--font-body);font-size:.75rem;color:var(--color-muted);letter-spacing:.15em}
#mobile-menu.is-open .menu-links a{opacity:1;transform:none}
#mobile-menu.is-open .menu-links a:nth-child(1){transition-delay:.06s}
#mobile-menu.is-open .menu-links a:nth-child(2){transition-delay:.12s}
#mobile-menu.is-open .menu-links a:nth-child(3){transition-delay:.18s}
#mobile-menu.is-open .menu-links a:nth-child(4){transition-delay:.24s}
#mobile-menu.is-open .menu-links a:nth-child(5){transition-delay:.3s}
#mobile-menu.is-open .menu-links a:nth-child(6){transition-delay:.36s}
#mobile-menu.is-open .menu-links a:nth-child(7){transition-delay:.42s}
.menu-footer{display:flex;flex-direction:column;gap:1rem}
.menu-footer-text{color:var(--color-muted);font-size:.85rem}
=======
/* the links and the actions, collected on the right */
.nav-links{display:flex;align-items:center;gap:clamp(.75rem,2vw,1.6rem)}
.nav-link{font-size:.875rem;font-weight:500;color:var(--color-muted);text-decoration:none;white-space:nowrap}
.nav-link:hover{color:var(--color-heading)}
.nav-phone{font-size:.875rem;font-weight:700;color:var(--color-heading);text-decoration:none;white-space:nowrap}
.nav-order{padding:.7rem 1.25rem;font-size:.84rem}

/* the links go first on a tablet, the phone number on a phone */
@media (max-width:60rem){
  .nav-link{display:none}
}
@media (max-width:40rem){
  #navbar{padding:0 1rem}
  .nav-phone{display:none}
  .brand{font-size:1rem}
}
>>>>>>> 4dcacea4060d42f8ebc1886ae37d1a7c60e6636f

/* --- the product popup --- */
.modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:1.2rem;
  background:rgba(11,39,70,.55);backdrop-filter:blur(0.5rem);-webkit-backdrop-filter:blur(0.5rem);
  visibility:hidden;opacity:0;transition:opacity .35s,visibility 0s linear .35s}
.modal.is-open{visibility:visible;opacity:1;transition:opacity .35s,visibility 0s}
.modal-box{width:min(60rem,100%);max-height:90vh;overflow:auto;background:var(--color-surface);border-radius:1.625rem;
  border:1px solid var(--color-border);display:grid;grid-template-columns:1fr 1fr;position:relative;
  box-shadow:var(--shadow);transform:translateY(1.625rem) scale(.97);transition:transform .4s cubic-bezier(.22,1,.36,1)}
.modal.is-open .modal-box{transform:none}
.modal-close{position:absolute;top:0.875rem;right:0.875rem;z-index:2;width:2.5rem;height:2.5rem;border-radius:50%;
  background:color-mix(in srgb,var(--color-surface) 85%,transparent);border:1px solid var(--color-border);
  display:grid;place-items:center;font-size:1rem;transition:background .25s,color .25s,rotate .25s}
.modal-close:hover{background:var(--color-gold);color:#172033;rotate:90deg}
.modal-media{position:relative;min-height:28.75rem;display:grid;place-items:center;padding:1.4rem;
  background:linear-gradient(150deg,var(--gradient-from,#D9A05B),var(--gradient-to,#8C4A1F))}
.modal-media::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.16),transparent 70%);pointer-events:none}
.modal-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.modal-media img.is-contained{padding:2.4rem;object-fit:contain;filter:drop-shadow(0 1.125rem 1.75rem rgba(0,0,0,.22))}
.modal-media.is-logo{background:var(--color-surface)}
.modal-media .fallback-text{font-size:3.4rem}
.modal-info{padding:2.2rem 2.2rem 2.4rem}
.modal-info h3{font-size:1.9rem;margin:.7rem 0 .5rem}
.modal-description{color:var(--color-muted);font-size:.95rem;margin-bottom:1.4rem}
.spec{display:flex;flex-direction:column;gap:.7rem;margin-bottom:1.4rem}
.spec div{display:grid;grid-template-columns:8.125rem 1fr;gap:.8rem;padding-bottom:.7rem;border-bottom:1px dashed var(--color-border)}
.spec dt{font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--color-accent);padding-top:.15rem}
.spec dd{font-size:.9rem}
.modal-note{font-size:.82rem;color:var(--color-muted);font-style:italic;margin-bottom:1.4rem}

/* --- the photo viewer --- */
.photo-viewer{position:fixed;inset:0;z-index:130;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1rem;padding:1.5rem;background:rgba(7,22,40,.9);backdrop-filter:blur(0.625rem);-webkit-backdrop-filter:blur(0.625rem);
  visibility:hidden;opacity:0;transition:opacity .35s,visibility 0s linear .35s}
.photo-viewer.is-open{visibility:visible;opacity:1;transition:opacity .35s,visibility 0s}
.photo-frame{position:relative;width:min(55rem,92vw);max-width:100%;aspect-ratio:4/3;border-radius:1.375rem;overflow:hidden;
  box-shadow:0 1.875rem 5rem -1.25rem rgba(0,0,0,.7);transform:scale(.96);transition:transform .4s cubic-bezier(.22,1,.36,1)}
.photo-viewer.is-open .photo-frame{transform:none}
.photo-image{width:100%;height:100%;object-fit:contain;padding:1rem}
.photo-bar{width:min(55rem,92vw);max-width:100%;display:flex;justify-content:space-between;align-items:center;color:#F8F3E8}
.photo-caption{font-family:var(--font-heading);font-size:1.1rem;font-style:italic}
.photo-counter{font-size:.8rem;letter-spacing:.15em;opacity:.7}
.photo-close{position:absolute;top:1.25rem;right:1.375rem;width:2.875rem;height:2.875rem;border-radius:50%;color:#F8F3E8;
  border:1px solid rgba(248,243,224,.3);display:grid;place-items:center;font-size:1.1rem;
  transition:background .25s,color .25s,border-color .25s,rotate .25s}
.photo-close:hover{background:var(--color-gold);border-color:var(--color-gold);color:#172033;rotate:90deg}
.photo-prev,.photo-next{position:absolute;top:50%;translate:0 -50%;width:3.125rem;height:3.125rem;border-radius:50%;
  color:#F8F3E8;border:1px solid rgba(248,243,224,.3);background:rgba(11,39,70,.4);display:grid;place-items:center;
  font-size:1.2rem;transition:background .25s,color .25s,border-color .25s;z-index:2}
.photo-prev{left:1.125rem}
.photo-next{right:1.125rem}
.photo-prev:hover,.photo-next:hover{background:var(--color-gold);border-color:var(--color-gold);color:#172033}

/* --- the footer --- */
.footer{background:var(--color-surface);border-top:1px solid var(--color-border);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem;padding-bottom:3rem}
.footer-brand p{color:var(--color-muted);font-size:.9rem;max-width:34ch;margin-top:.9rem}
.footer-column h3{font-family:var(--font-body);font-size:.72rem;font-weight:700;letter-spacing:.2em;
  text-transform:uppercase;color:var(--color-accent);margin-bottom:1rem}
.footer-column a,.footer-column span{display:block;font-size:.9rem;color:var(--color-muted);padding:.28rem 0;transition:color .25s}
.footer-column a:hover{color:var(--color-accent)}
.footer-bottom{border-top:1px solid var(--color-border);padding:1.3rem 0;display:flex;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;font-size:.8rem;color:var(--color-muted)}
.footer-star{font-style:normal;color:var(--color-gold)}
/* the round button that scrolls back to the top */
#back-to-top{position:fixed;right:1.375rem;bottom:1.375rem;z-index:80;width:3rem;height:3rem;border-radius:50%;
  background:var(--color-gold);color:#172033;font-size:1.1rem;display:grid;place-items:center;
  box-shadow:var(--shadow);opacity:0;translate:0 0.875rem;pointer-events:none;
  transition:opacity .35s,translate .35s,background .3s,color .3s}
#back-to-top.is-shown{opacity:1;translate:0 0;pointer-events:auto}
#back-to-top:hover{background:var(--color-gold);color:#172033}
