/* ============================================
   NOPLANS — Base stylesheet
   Palette: near-black #0a0a0a, white #ffffff,
   off-white bg #fafaf9, hairline #e4e4e2, gray #7a7a78
   Type: Archivo (display, tracked uppercase) + system body
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Archivo+Narrow:ital@0;1&display=swap');

:root{
  --black:#0a0a0a;
  --white:#ffffff;
  --bg:#fafaf9;
  --line:#e4e4e2;
  --gray:#7a7a78;
  --gray-dark:#4a4a48;
  --max:1400px;
  --nav-h:88px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  background:var(--bg);
  color:var(--black);
  font-family:'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;background:none;border:none;color:inherit;}
ul{list-style:none;}

.eyebrow{
  font-size:11px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gray);
  font-weight:600;
}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 48px;
}

@media (max-width:640px){
  .wrap{padding:0 20px;}
}

/* ---------- Nav ---------- */
.site-nav{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--nav-h);
  display:flex;
  align-items:center;
  z-index:100;
  background:rgba(250,250,249,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, background .3s ease;
}
.site-nav.scrolled{
  border-bottom-color:var(--line);
}
.site-nav .wrap{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-size:15px;
  font-weight:400;
  letter-spacing:0.32em;
  text-transform:uppercase;
}
.nav-links{
  display:flex;
  gap:40px;
}
.nav-links a{
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gray);
  transition:color .2s ease;
  padding:6px 0;
  position:relative;
}
.nav-links a:hover,
.nav-links a.active{
  color:var(--black);
}
.nav-links a.active::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:-2px;
  height:1px;
  background:var(--black);
}
.nav-toggle{
  display:none;
  width:28px;height:20px;
  position:relative;
}
.nav-toggle span{
  position:absolute;left:0;right:0;
  height:1px;background:var(--black);
  transition:transform .25s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1){top:0;}
.nav-toggle span:nth-child(2){top:9px;}
.nav-toggle span:nth-child(3){top:18px;}
.nav-toggle.open span:nth-child(1){transform:translateY(9px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}

@media (max-width:820px){
  .nav-links{
    position:fixed;
    top:var(--nav-h);left:0;right:0;
    flex-direction:column;
    gap:0;
    background:var(--bg);
    border-bottom:1px solid var(--line);
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
  }
  .nav-links.open{max-height:300px;}
  .nav-links a{
    padding:18px 20px;
    width:100%;
    border-bottom:1px solid var(--line);
  }
  .nav-toggle{display:block;}
}

/* ---------- Placeholder image blocks ----------
   Swap these <div class="ph"> for <img src="images/real-photo.jpg">
   when real photography is ready. Keep the same wrapping div/class
   for aspect ratio + hover behavior. */
.ph{
  position:relative;
  width:100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.05), transparent 60%),
    repeating-linear-gradient(135deg, #1c1c1b 0px, #1c1c1b 2px, #161615 2px, #161615 4px);
  overflow:hidden;
}
.ph::after{
  content:attr(data-label);
  position:absolute;
  bottom:14px;left:14px;
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.35);
}
.ph.tall{aspect-ratio:3/4;}
.ph.square{aspect-ratio:1/1;}
.ph.wide{aspect-ratio:16/10;}
.ph img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ph-stack{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* ---------- Buttons / links ---------- */
.text-link{
  display:inline-block;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  border-bottom:1px solid var(--black);
  padding-bottom:3px;
  transition:opacity .2s ease;
}
.text-link:hover{opacity:0.55;}

.btn{
  display:inline-block;
  padding:16px 32px;
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  font-weight:600;
  background:var(--black);
  color:var(--white);
  transition:background .2s ease, transform .2s ease;
}
.btn:hover{background:var(--gray-dark);}
.btn:disabled{background:var(--line);color:var(--gray);cursor:not-allowed;}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--line);
  padding:64px 0 40px;
  margin-top:120px;
}
.footer-social{
  display:flex;
  justify-content:center;
  gap:36px;
  margin-bottom:64px;
}
.footer-social a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gray);
  transition:color .2s ease;
}
.footer-social a:hover{color:var(--black);}
.footer-social svg{width:22px;height:22px;stroke:currentColor;}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:20px;
}
.footer-bottom .logo{display:block;margin-bottom:6px;}
.footer-copy{
  font-size:12px;
  color:var(--gray);
}
.footer-nav{
  display:flex;
  gap:28px;
}
.footer-nav a{
  font-size:11px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gray);
}
.footer-nav a:hover{color:var(--black);}

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.in{
  opacity:1;
  transform:translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none;}
  html{scroll-behavior:auto;}
}

/* ---------- Focus visibility ---------- */
a:focus-visible,
button:focus-visible{
  outline:2px solid var(--black);
  outline-offset:3px;
}

/* ============================================
   Page-specific sections
   ============================================ */

/* ---- Home: hero statement ---- */
.hero{
  min-height:100svh;
  display:flex;
  align-items:center;
  padding-top:var(--nav-h);
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  width:100%;
}
.hero-text h1{
  font-size:clamp(48px, 6vw, 92px);
  line-height:0.98;
  letter-spacing:-0.01em;
  text-transform:uppercase;
  font-weight:700;
}
.hero-text .eyebrow{margin-bottom:24px;}
.hero-image .ph{aspect-ratio:4/5;}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:40px;}
  .hero-image{order:-1;}
}

/* ---- Home: full-screen thin statement ---- */
.hero-statement{
  justify-content:center;
}
.hero-statement .wrap{
  width:100%;
  text-align:center;
}
.hero-statement-text{
  font-size:clamp(13px, 1.3vw, 17px);
  font-weight:300;
  letter-spacing:0.4em;
  text-transform:uppercase;
  color:var(--black);
  margin:0;
}

/* ---- Home: authenticity quote ---- */
.quote-link{
  display:block;
  max-width:780px;
  margin:0 auto;
  text-align:center;
  font-size:clamp(10px, 1vw, 13px);
  font-weight:300;
  letter-spacing:0.15em;
  text-transform:uppercase;
  line-height:1.9;
  color:var(--black);
  text-decoration:none;
  transition:opacity .25s ease;
}
.quote-link:hover,
.quote-link:focus-visible{
  opacity:0.5;
}

/* ---- Home: featured drop ---- */
.section{
  padding:120px 0;
}
.section-tight{padding:80px 0;}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.split .ph{aspect-ratio:4/5;}
.split-copy .eyebrow{margin-bottom:20px;}
.split-copy h2{
  font-size:clamp(32px,4vw,52px);
  text-transform:uppercase;
  line-height:1.02;
  margin-bottom:20px;
  font-weight:700;
}
.split-copy p{
  color:var(--gray-dark);
  max-width:40ch;
  margin-bottom:20px;
  font-size:15px;
}
.split-copy .price{
  font-size:20px;
  font-weight:600;
  margin-bottom:28px;
}

@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:32px;}
}

/* ---- Section headers ---- */
.section-head{
  margin-bottom:56px;
}
.section-head h2{
  font-size:clamp(32px,4.5vw,56px);
  text-transform:uppercase;
  font-weight:700;
  margin-top:12px;
}

/* ---- About page ---- */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:start;
  padding-top:calc(var(--nav-h) + 64px);
  padding-bottom:120px;
}
.about-grid .ph{aspect-ratio:4/5;}
.about-copy h1{
  font-size:clamp(40px,5vw,64px);
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:24px;
}
.about-copy p{
  font-size:17px;
  color:var(--gray-dark);
  max-width:46ch;
  margin-bottom:40px;
}
.meta-row{
  display:flex;
  gap:64px;
  border-top:1px solid var(--line);
  padding-top:28px;
}
.meta-item .eyebrow{margin-bottom:10px;}
.meta-item .value{font-size:18px;}

@media (max-width:900px){
  .about-grid{grid-template-columns:1fr;gap:36px;padding-top:calc(var(--nav-h) + 32px);}
}

/* ---- Music / Rags grids ---- */
.grid-page{
  padding-top:calc(var(--nav-h) + 64px);
  padding-bottom:120px;
}
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px 32px;
}
.card-grid.two-col{grid-template-columns:repeat(2,1fr);}
.card{
  display:block;
}
.card .ph{margin-bottom:18px;}
.card h3{
  font-size:18px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.01em;
  margin-bottom:6px;
}
.card .card-meta{
  font-size:13px;
  color:var(--gray);
}
.card .card-price{
  font-size:15px;
  font-weight:600;
  margin-top:6px;
}
.card:hover .ph::after{color:rgba(255,255,255,0.6);}

@media (max-width:900px){
  .card-grid{grid-template-columns:repeat(2,1fr);gap:32px 20px;}
}
@media (max-width:600px){
  .card-grid, .card-grid.two-col{grid-template-columns:1fr;}
}

/* ---- Product page ---- */
.product-page{
  padding-top:calc(var(--nav-h) + 48px);
  padding-bottom:120px;
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gray);
  margin-bottom:48px;
}
.back-link:hover{color:var(--black);}
.product-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:88px;
  align-items:start;
}
.product-grid .ph{aspect-ratio:4/5;}
.product-info .eyebrow{margin-bottom:18px;}
.product-info h1{
  font-size:clamp(30px,3.4vw,44px);
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:18px;
}
.product-info .price{
  font-size:20px;
  font-weight:600;
  margin-bottom:32px;
}
.divider{
  height:1px;
  background:var(--line);
  margin:32px 0;
}
.product-info .desc{
  font-size:15px;
  color:var(--gray-dark);
  max-width:48ch;
  margin-bottom:40px;
}
.size-label{
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gray);
  margin-bottom:16px;
  display:block;
}
.size-options{
  display:flex;
  gap:10px;
  margin-bottom:44px;
  flex-wrap:wrap;
}
.size-btn{
  width:56px;height:48px;
  border:1px solid var(--line);
  font-size:13px;
  letter-spacing:0.05em;
  transition:border-color .2s ease, background .2s ease, color .2s ease;
}
.size-btn:hover{border-color:var(--black);}
.size-btn.selected{
  background:var(--black);
  color:var(--white);
  border-color:var(--black);
}
#shopify-buy-button-slot{
  min-height:52px;
}

/* ---------- Inquire Modal ---------- */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(10,10,10,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:1000;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
}
.modal-overlay.open{
  opacity:1;
  visibility:visible;
}
.modal{
  background:var(--bg);
  width:100%;
  max-width:420px;
  padding:48px 40px;
  position:relative;
  transform:translateY(18px) scale(0.97);
  opacity:0;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.modal-overlay.open .modal{
  transform:translateY(0) scale(1);
  opacity:1;
}
.modal-close{
  position:absolute;
  top:18px; right:20px;
  font-size:24px;
  line-height:1;
  color:var(--gray);
  transition:color .2s ease;
}
.modal-close:hover{color:var(--black);}
.modal-body h3{
  font-size:24px;
  text-transform:uppercase;
  font-weight:700;
  margin:6px 0 12px;
}
.modal-copy{
  font-size:14px;
  color:var(--gray-dark);
  margin-bottom:28px;
  max-width:38ch;
}
.field-label{
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gray);
  display:block;
  margin-bottom:10px;
}
#inquire-form input[type="email"]{
  width:100%;
  border:none;
  border-bottom:1px solid var(--line);
  background:transparent;
  padding:10px 2px;
  font-size:15px;
  font-family:inherit;
  color:var(--black);
  margin-bottom:28px;
  transition:border-color .2s ease;
}
#inquire-form input[type="email"]:focus{
  outline:none;
  border-color:var(--black);
}
.modal-submit{
  width:100%;
  text-align:center;
}
.hp-field{
  position:absolute;
  left:-9999px;
  top:-9999px;
}
.modal-error{
  font-size:12px;
  color:#b3261e;
  margin-top:14px;
}
.modal-success h3{margin-top:0;}
body.no-scroll{overflow:hidden;}

@media (max-width:480px){
  .modal{padding:40px 28px;}
}

@media (max-width:900px){
  .product-grid{grid-template-columns:1fr;gap:36px;}
}
