/* ============================================
   AVL WESTERN WEAR — design system
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,500;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --ink:        #0A0A0A;
  --bone:       #FAF8F5;
  --oxblood:    #8B1E1E;
  --oxblood-dk: #6e1717;
  --stone:      #C9C2B4;
  --taupe:      #6B6358;
  --line:       rgba(10,10,10,0.12);

  --display: 'Playfair Display', Georgia, serif;   /* headlines */
  --read: 'Cormorant Garamond', Georgia, serif;     /* editorial reading copy */
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif; /* UI / labels / nav */

  --max: 1240px;
  --pad: clamp(22px, 5.5vw, 72px);
  --section-y: clamp(80px, 11vw, 150px);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--body);
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.6;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}

::selection{background: var(--oxblood); color: var(--bone);}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

:focus-visible{
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

.wrap{max-width:var(--max); margin:0 auto; padding-left:var(--pad); padding-right:var(--pad);}

.eyebrow{
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight:500;
}

/* ---------- lasso divider (signature element) ---------- */
.lasso{
  display:block;
  width: 140px;
  height: 28px;
  margin: 18px 0;
}
.lasso path{
  fill:none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.lasso.center{ margin-left:auto; margin-right:auto; }
.lasso.light path{ stroke: var(--bone); }
.lasso.thin path{ stroke-width: 1.1; }

/* ---------- image placeholder frame (for photos to be added later) ---------- */
.img-frame{
  position: relative;
  width: 100%;
  background:
    linear-gradient(155deg, #f0ebe1 0%, #e6dfd0 55%, #dad1bd 100%);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.img-frame::before{
  content:'';
  position:absolute;
  inset: 14px;
  border: 1px dashed rgba(10,10,10,0.22);
  pointer-events:none;
}
.img-frame .img-frame-label{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color: rgba(10,10,10,0.42);
  text-align:center;
  padding: 20px;
}
.img-frame .img-frame-label svg{
  width: 30px; height: 30px;
  opacity:0.55;
}
.img-frame .img-frame-label span{
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.img-frame img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.img-frame.ratio-portrait{ aspect-ratio: 3/4; }
.img-frame.ratio-square{ aspect-ratio: 1/1; }
.img-frame.ratio-wide{ aspect-ratio: 16/9; }
.img-frame.ratio-tall{ aspect-ratio: 4/5.6; }
.img-frame.dark{
  background: linear-gradient(165deg,#2b2826 0%, #16140f 55%, #0a0a0a 100%);
}
.img-frame.dark::before{ border-color: rgba(250,248,245,0.18); }
.img-frame.dark .img-frame-label{ color: rgba(250,248,245,0.4); }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.nav-logo img{ height: 46px; width:auto; }
.nav-links{
  display:flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a{
  position:relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a.active{ color: var(--oxblood); }

.nav-right{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  width:24px; height:1.5px; background:var(--ink); display:block;
}

@media (max-width: 820px){
  .nav-links{
    position:fixed;
    top:74px; left:0; right:0;
    background: var(--bone);
    flex-direction:column;
    padding: 28px var(--pad) 36px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-toggle{ display:flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 34px;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight:500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  cursor:pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover{ background: var(--oxblood); border-color: var(--oxblood); }
.btn.outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.outline:hover{ background: var(--ink); color: var(--bone); }
.btn.light{
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.btn.light:hover{ background: var(--oxblood); color:var(--bone); border-color:var(--oxblood);}

/* ============================================
   HERO
   ============================================ */
.hero{
  position:relative;
  min-height: 96vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 130px var(--pad) 90px;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.04), rgba(10,10,10,0) 40%),
    repeating-linear-gradient(115deg, rgba(10,10,10,0.025) 0px, rgba(10,10,10,0.025) 1px, transparent 1px, transparent 64px),
    var(--bone);
  overflow:hidden;
}
.hero-logo{
  width: min(440px, 72vw);
  margin: 0 auto 10px;
  opacity:0;
  animation: riseIn 1.1s cubic-bezier(.16,1,.3,1) 0.15s forwards;
}
.hero-motto{
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--taupe);
  margin-top: 10px;
  opacity:0;
  animation: riseIn 1.1s cubic-bezier(.16,1,.3,1) 0.4s forwards;
}
.hero-sub{
  font-family: var(--read);
  max-width: 600px;
  margin: 30px auto 0;
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height:1.55;
  color: #2a2a2a;
  opacity:0;
  animation: riseIn 1.1s cubic-bezier(.16,1,.3,1) 0.55s forwards;
}
.hero-ctas{
  display:flex;
  gap:18px;
  margin-top: 44px;
  flex-wrap:wrap;
  justify-content:center;
  opacity:0;
  animation: riseIn 1.1s cubic-bezier(.16,1,.3,1) 0.7s forwards;
}

@keyframes riseIn{
  from{ opacity:0; transform: translateY(18px); }
  to{ opacity:1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-logo,.hero-motto,.hero-sub,.hero-ctas{ animation:none; opacity:1; }
}

/* ============================================
   STORY SECTION
   ============================================ */
.story{
  padding: var(--section-y) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.story-grid{
  display:grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items:center;
}
.story-text{ max-width: 520px; }
.story h2{
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height:1.25;
  margin: 20px 0 28px;
}
.story p{
  font-family: var(--read);
  font-size: clamp(1.1rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color:#262626;
}
.story p + p{ margin-top: 18px; }
.story .lasso{ margin-top:32px; }

@media (max-width: 900px){
  .story-grid{ grid-template-columns: 1fr; }
  .story-text{ max-width:none; order:2; }
  .story .img-frame{ order:1; }
}

/* ============================================
   DEPARTMENTS GRID (home teaser)
   ============================================ */
.departments{
  padding: 20px var(--pad) var(--section-y);
  max-width: var(--max);
  margin: 0 auto;
}
.dept-head{ text-align:center; margin-bottom: 64px; }
.dept-head h2{
  font-family: var(--display);
  font-style: italic;
  font-weight:600;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-top: 12px;
}
.dept-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--ink);
  border:1px solid var(--ink);
}
.dept-card{
  position:relative;
  background: var(--ink);
  color: var(--bone);
  aspect-ratio: 3/4.4;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  text-align:left;
  transition: transform 0.5s ease;
}
.dept-card .dept-bg{
  position:absolute; inset:0;
  background: linear-gradient(165deg,#2b2826 0%, #16140f 55%, #0a0a0a 100%);
  transition: transform 0.6s cubic-bezier(.16,1,.3,1), opacity 0.5s ease;
}
.dept-card .dept-bg::before{
  content:'';
  position:absolute;
  inset: 16px;
  border: 1px dashed rgba(250,248,245,0.16);
}
.dept-card .dept-bg-label{
  position:absolute;
  top:50%; left:50%;
  transform: translate(-50%,-46%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  color: rgba(250,248,245,0.3);
}
.dept-card .dept-bg-label svg{ width:24px; height:24px; opacity:0.6; }
.dept-card .dept-bg-label span{
  font-size:0.62rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
}
.dept-card:hover .dept-bg{ transform: scale(1.06); }
.dept-card .dept-vert{
  position:absolute;
  top:28px; left:24px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size:0.68rem;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color: rgba(250,248,245,0.55);
}
.dept-card-inner{
  position:relative;
  padding: 26px 24px 30px;
  width:100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%);
}
.dept-card h3{
  font-family: var(--display);
  font-style: italic;
  font-weight:600;
  font-size: 1.6rem;
  margin-bottom:8px;
}
.dept-card .dept-link{
  font-size:0.7rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--bone);
  border-bottom:1px solid rgba(250,248,245,0.4);
  padding-bottom:3px;
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.dept-card:hover .dept-link{ border-color: var(--oxblood); gap:12px; }

@media (max-width: 900px){
  .dept-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .dept-grid{ grid-template-columns: 1fr; }
  .dept-card{ aspect-ratio: 16/10; }
}

/* ============================================
   LOCATION / PICKUP STRIP
   ============================================ */
.locate{
  background: var(--ink);
  color: var(--bone);
  padding: var(--section-y) var(--pad);
}
.locate-inner{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items:center;
}
.locate h2{
  font-family: var(--display);
  font-style: italic;
  font-weight:600;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 16px 0 22px;
}
.locate > .locate-inner > div:first-child > p{
  font-family: var(--read);
  font-size: 1.18rem;
  line-height:1.6;
  color: rgba(250,248,245,0.78);
  max-width: 480px;
}
.locate-feats{
  margin-top: 34px;
  display:flex;
  flex-direction:column;
  gap: 20px;
}
.locate-feat{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding-bottom:20px;
  border-bottom: 1px solid rgba(250,248,245,0.15);
}
.locate-feat:last-child{ border-bottom:none; padding-bottom:0;}
.locate-feat h4{
  font-family: var(--body);
  font-size: 0.94rem;
  letter-spacing:0.04em;
  margin-bottom:6px;
}
.locate-feat p{ font-family: var(--read); font-size:1.02rem; line-height:1.5; color: rgba(250,248,245,0.64); }

.map-card{
  border: 1px solid rgba(250,248,245,0.25);
  padding: 38px 30px;
  position:relative;
}
.map-card .region{
  font-family: var(--display);
  font-style:italic;
  font-size:1.3rem;
  margin-bottom:6px;
}
.map-card .pin{
  width:34px; height:34px;
  margin-bottom:18px;
}

@media (max-width: 860px){
  .locate-inner{ grid-template-columns:1fr; gap:48px; }
}

/* ============================================
   SOCIAL STRIP
   ============================================ */
.social{
  padding: var(--section-y) var(--pad);
  text-align:center;
  max-width: 740px;
  margin: 0 auto;
}
.social h2{
  font-family: var(--display);
  font-style: italic;
  font-weight:600;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: 16px 0 24px;
}
.social > p{
  font-family: var(--read);
  font-size: 1.15rem;
  line-height:1.6;
  color:var(--taupe);
  max-width:480px;
  margin:0 auto;
}
.social-links{
  display:flex;
  gap: 18px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 14px;
}
.social-links a{
  font-size:0.82rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  padding: 13px 22px;
  border:1px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color .25s ease;
}
.social-links a:hover{ background: var(--oxblood); border-color:var(--oxblood); color:var(--bone); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background: var(--bone);
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 32px;
}
.footer-inner{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img{ height:38px; margin-bottom:14px; }
.footer-brand p{ font-size:0.85rem; color:var(--taupe); max-width:280px; }
.footer-col h5{
  font-size:0.72rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color: var(--oxblood);
  margin-bottom:16px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:0.88rem; color:#2a2a2a; transition: color .2s ease; }
.footer-col a:hover{ color: var(--oxblood); }
.footer-bottom{
  max-width: var(--max);
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:0.76rem;
  color: var(--taupe);
  letter-spacing:0.03em;
}

@media (max-width: 760px){
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px){
  .footer-inner{ grid-template-columns: 1fr; }
}

/* ============================================
   SHOP / DEPARTMENT PAGE
   ============================================ */
.shop-hero{
  padding: 86px var(--pad) 56px;
  text-align:center;
  border-bottom: 1px solid var(--line);
}
.shop-hero .eyebrow{ justify-content:center; display:flex; }
.shop-hero h1{
  font-family: var(--display);
  font-style: italic;
  font-weight:700;
  font-size: clamp(2.6rem, 6.4vw, 4rem);
  margin: 12px 0 18px;
}
.shop-hero p{
  font-family: var(--read);
  color: #3a3a3a;
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.18rem;
  line-height:1.55;
}

.shop-toolbar{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad);
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.78rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color: var(--taupe);
  border-bottom: 1px solid var(--line);
  flex-wrap:wrap;
  gap:12px;
}
.shop-toolbar .crumbs a{ color:var(--taupe); }
.shop-toolbar .crumbs a:hover{ color:var(--oxblood); }
.shop-toolbar .crumbs .sep{ margin:0 8px; opacity:0.5; }
.shop-toolbar .crumbs .here{ color: var(--ink); }

.product-grid{
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px var(--pad) 110px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
}
@media (max-width: 980px){ .product-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px){ .product-grid{ grid-template-columns: repeat(2,1fr); gap:28px 18px; } }
@media (max-width: 440px){ .product-grid{ grid-template-columns: 1fr; max-width:340px; } }

.product-card{ cursor:default; }
.product-img{
  aspect-ratio: 3/4;
  position:relative;
  overflow:hidden;
  background: linear-gradient(155deg, #efe9df 0%, #e3dccd 55%, #d8cfbd 100%);
  margin-bottom: 18px;
}
.product-img::before{
  content:'';
  position:absolute; inset: 12px;
  border: 1px dashed rgba(10,10,10,0.18);
}
.product-img .tag{
  position:absolute;
  top:14px; left:14px;
  font-size:0.62rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  background: var(--oxblood);
  color: var(--bone);
  padding: 6px 11px;
  z-index:2;
}
.product-img .silhouette{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0.42;
}
.product-img .silhouette svg{ width:38%; height:38%; }
.product-card h4{
  font-family: var(--display);
  font-style: italic;
  font-size:1.12rem;
  font-weight:600;
  margin-bottom:5px;
}
.product-card .price{
  font-family: var(--read);
  font-size:1.05rem;
  color: var(--ink);
}
.product-card .meta{
  font-size:0.7rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color: var(--stone);
  margin-top:7px;
}

.notice-band{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 80px;
}
.notice-inner{
  border: 1px solid var(--line);
  padding: 32px 34px;
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  justify-content:space-between;
}
.notice-inner p{
  font-family: var(--read);
  font-size: 1.08rem;
  line-height:1.5;
  max-width:580px;
}
.notice-inner strong{ font-family:var(--display); font-style:italic; color:var(--oxblood); font-weight:600; }

/* lookbook strip — three image frames under shop hero */
.lookbook-strip{
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px var(--pad) 10px;
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 760px){
  .lookbook-strip{ grid-template-columns: 1fr; }
}

/* cross-department nav pills */
.dept-pills{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:26px;
}
.dept-pills a{
  font-size:0.74rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  padding:10px 20px;
  border:1px solid var(--line);
  transition: border-color .2s ease, color .2s ease;
}
.dept-pills a:hover, .dept-pills a.active{
  border-color: var(--ink);
  color: var(--oxblood);
  border-color: var(--oxblood);
}
