:root{
  --ink:#1B2028;
  --ink-soft:#3A4048;
  --bone:#EAE2CE;
  --bone-dim:#DCD2B8;
  --wine:#C9313D;
  --wine-bright:#E14652;
  --brass:#9AA5B1;
  --olive:#8C2C34;
  --line: rgba(234,226,206,0.16);
  --line-dark: rgba(27,32,40,0.14);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bone);
  color:var(--ink);
  font-family:'Manrope', sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces', serif;
  font-weight:500;
  letter-spacing:-0.01em;
}
.mono{
  font-family:'IBM Plex Mono', monospace;
  letter-spacing:0.06em;
  text-transform:uppercase;
}
a{color:inherit; text-decoration:none;}
img{display:block; max-width:100%;}

/* sprocket strip - the signature motif */
.sprockets{
  height:14px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 20px);
  background-position:center;
  background-size:20px 3px;
  background-repeat:repeat-x;
  opacity:0.35;
}
.sprockets.on-dark{color:var(--bone);}
.sprockets.on-light{color:var(--ink);}
.page-head .sprockets{position:absolute; top:0; left:0; right:0; z-index:1;}

/* ---------- Top bar ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:var(--ink);
  color:var(--bone);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  max-width:1180px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand img{
  height:38px; width:auto;
  display:block;
  filter:brightness(1.15);
}
.brand .frame-no{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.62rem;
  letter-spacing:0.08em;
  color:var(--bone-dim);
  text-transform:uppercase;
}
.nav-links{
  display:flex; gap:26px;
  font-size:0.82rem;
  letter-spacing:0.04em;
}
.nav-links a{
  opacity:0.75; transition:opacity .2s;
  padding:4px 0; border-bottom:1px solid transparent;
}
.nav-links a:hover, .nav-links a.active{opacity:1; border-color:var(--brass);}
.nav-links a.active{color:var(--wine-bright); opacity:1;}
.cta-btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--wine);
  color:var(--bone);
  padding:10px 18px;
  border-radius:2px;
  font-size:0.82rem;
  font-weight:700;
  letter-spacing:0.03em;
  border:1px solid var(--wine-bright);
  transition:background .2s, transform .2s;
  white-space:nowrap;
}
.cta-btn:hover{background:var(--wine-bright); transform:translateY(-1px);}
.cta-btn svg{width:15px; height:15px; flex-shrink:0;}

@media (max-width:820px){
  .nav-links{display:none;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:var(--ink);
  color:var(--bone);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0; z-index:0;
}
.hero-bg-layer{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
}
.hero-scrim{
  position:absolute; inset:0; z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(27,32,40,0.34) 0%, rgba(27,32,40,0.42) 55%, rgba(27,32,40,0.62) 100%);
}
.hero .sprockets{position:relative; z-index:2;}
.hero-inner{
  position:relative; z-index:2;
  max-width:1180px; margin:0 auto;
  padding:130px 28px 150px;
  display:flex;
  justify-content:center;
}
.hero-inner > div{max-width:900px; text-align:center;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--brass);
  display:flex; align-items:center; gap:10px;
  margin-bottom:22px;
  text-shadow:0 2px 10px rgba(0,0,0,0.85);
}
.eyebrow::before{
  content:'';
  width:26px; height:1px;
  background:var(--brass);
}
.hero h1{
  font-size:clamp(2.4rem, 4.6vw, 3.6rem);
  line-height:1.06;
  font-weight:500;
  text-shadow:0 3px 16px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.9);
}
.hero h1 em{
  font-style:italic;
  color:var(--brass);
  font-weight:500;
}
.hero p.lede{
  margin-top:22px;
  font-size:1.05rem;
  color:var(--bone-dim);
  max-width:46ch;
  text-shadow:0 2px 10px rgba(0,0,0,0.85);
}
.hero-actions{
  margin-top:34px;
  display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap;
}
.hero-actions .link-under{text-shadow:0 2px 8px rgba(0,0,0,0.85);}
.link-under{
  font-size:0.85rem;
  border-bottom:1px solid var(--line);
  padding-bottom:2px;
}

.hero-frame{
  position:relative;
  border:1px solid var(--line);
  border-radius:8px;
  padding:10px;
  box-shadow:0 1px 2px rgba(0,0,0,0.1), 0 26px 52px -20px rgba(0,0,0,0.55);
}
.hero-frame .sprockets{margin-bottom:10px;}
.hero-frame .sprockets:last-child{margin-bottom:0; margin-top:10px;}
.hero-frame img{
  width:100%; height:440px; object-fit:cover;
  border-radius:3px;
  filter:saturate(0.92) contrast(1.03);
}
.hero-frame-caption{
  display:flex; justify-content:space-between;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.62rem;
  letter-spacing:0.08em;
  color:var(--bone-dim);
  padding:8px 2px 0;
}

@media (max-width:900px){
  .hero-inner{padding:80px 22px 90px;}
  .hero-frame img{height:320px;}
}

/* ---------- Intro strip ---------- */
.intro-strip{
  background:var(--bone);
  border-bottom:1px solid var(--line-dark);
  padding:20px 28px;
}
.intro-strip-inner{
  max-width:1180px; margin:0 auto;
  display:flex; gap:40px; flex-wrap:wrap;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.72rem;
  letter-spacing:0.05em;
  color:var(--ink-soft);
  text-transform:uppercase;
}
.intro-strip-inner span b{color:var(--wine); font-weight:600;}

/* ---------- Category / product sections ---------- */
.category{
  border-bottom:1px solid var(--line-dark);
  padding:78px 28px;
}
.category-head{
  max-width:900px; margin:0 auto 48px;
}

.frame-slot{
  position:relative;
  border:1px solid var(--line-dark);
  border-radius:7px;
  aspect-ratio:4/5;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(27,32,40,0.05), 0 18px 36px -16px rgba(27,32,40,0.28);
  background:
    repeating-linear-gradient(135deg, rgba(23,20,15,0.035) 0 2px, transparent 2px 14px);
}
.frame-slot img{width:100%; height:100%; object-fit:cover;}
.frame-slot .cam-icon{width:38px; height:38px; opacity:0.4;}

/* corner brackets — viewfinder / focus-lock mark */
.frame-slot::before{
  content:'';
  position:absolute;
  inset:12px;
  z-index:2;
  pointer-events:none;
  opacity:0;
  background-repeat:no-repeat;
  background-image:
    linear-gradient(var(--wine) 0 0), linear-gradient(var(--wine) 0 0),
    linear-gradient(var(--wine) 0 0), linear-gradient(var(--wine) 0 0),
    linear-gradient(var(--wine) 0 0), linear-gradient(var(--wine) 0 0),
    linear-gradient(var(--wine) 0 0), linear-gradient(var(--wine) 0 0);
  background-size:
    2px 16px, 16px 2px,
    2px 16px, 16px 2px,
    2px 16px, 16px 2px,
    2px 16px, 16px 2px;
  background-position:
    top left, top left,
    top right, top right,
    bottom right, bottom right,
    bottom left, bottom left;
}
.frame-slot .fs-label{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.68rem;
  letter-spacing:0.06em;
  color:rgba(23,20,15,0.5);
  text-transform:uppercase;
  max-width:22ch;
  line-height:1.5;
}

.cat-number{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.72rem;
  letter-spacing:0.1em;
  color:var(--wine);
  margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}
.cat-number::after{
  content:'';
  flex:1; height:1px;
  background:var(--line-dark);
}
.category h2{
  font-size:clamp(1.8rem, 3vw, 2.4rem);
  font-weight:500;
  margin-bottom:14px;
}
.cat-intro{
  color:var(--ink-soft);
  max-width:52ch;
  margin-bottom:0;
  font-size:0.98rem;
}

/* ---- alternating product rows ---- */
.product-rows{
  max-width:1180px; margin:0 auto;
}
.product-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
  padding:44px 0;
  border-top:1px solid var(--line-dark);
}
.product-rows .product-row:last-child{border-bottom:1px solid var(--line-dark);}
.product-row .product-media{grid-column:2; grid-row:1;}
.product-row .product-body{grid-column:1; grid-row:1;}
.product-row.reverse .product-media{grid-column:1; grid-row:1;}
.product-row.reverse .product-body{grid-column:2; grid-row:1;}
.product-media .frame-slot{aspect-ratio:4/3;}

.item-top{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:16px; flex-wrap:wrap;
}
.item-name{
  font-family:'Fraunces', serif;
  font-size:1.3rem;
  font-weight:500;
}
.item-price{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.92rem;
  color:var(--wine);
  white-space:nowrap;
}
.item-desc{
  font-size:0.94rem;
  color:var(--ink-soft);
  margin-top:12px;
  max-width:54ch;
}
.item-order{
  display:inline-block;
  margin-top:18px;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.68rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--olive);
  border-bottom:1px solid currentColor;
  padding-bottom:1px;
  white-space:nowrap;
}
.item-order:hover{color:var(--wine);}

@media (max-width:860px){
  .product-row, .product-row.reverse{
    grid-template-columns:1fr; gap:22px; padding:32px 0;
  }
  .product-row .product-media, .product-row.reverse .product-media{
    grid-column:1; grid-row:1; max-width:300px; margin:0 auto;
  }
  .product-row .product-body, .product-row.reverse .product-body{
    grid-column:1; grid-row:2;
  }
}

/* ---------- Page header (About / Contact / Products intro) ---------- */
.page-head{
  position:relative;
  background:var(--ink);
  color:var(--bone);
  overflow:hidden;
  background-size:cover;
  background-position:center;
  min-height:50vh;
  display:flex;
  align-items:center;
  padding:64px 28px 56px;
}
.page-head-inner{
  position:relative; z-index:1;
  max-width:900px; margin:0 auto;
  width:100%;
  text-align:center;
}
.page-head .eyebrow{justify-content:center;}
.page-head h1{font-size:clamp(2.1rem,4vw,3rem); text-shadow:0 3px 16px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.9);}
.page-head p{color:var(--bone-dim); margin:16px auto 0; max-width:56ch; font-size:1.02rem; text-shadow:0 2px 10px rgba(0,0,0,0.85);}
@media (max-width:700px){
  .page-head{min-height:42vh;}
}

/* ---------- Process ---------- */
.process{
  background:var(--ink);
  color:var(--bone);
  padding:80px 28px;
}
.process-inner{max-width:1180px; margin:0 auto;}
.process h2{font-size:clamp(1.8rem,3vw,2.3rem); margin-bottom:48px; max-width:20ch;}
.steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:36px;
}
.step .cat-number{color:var(--brass);}
.step .cat-number::after{background:var(--line);}
.step p{color:var(--bone-dim); font-size:0.92rem; max-width:34ch;}
@media (max-width:760px){.steps{grid-template-columns:1fr;}}

/* ---------- About page specifics ---------- */
.story{
  border-bottom:1px solid var(--line-dark);
}
.story-inner{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:0.9fr 1.1fr;
  gap:60px; align-items:center;
  padding:80px 28px;
}
.story-inner p{color:var(--ink-soft); margin-bottom:16px; max-width:56ch;}
.story-inner p:last-child{margin-bottom:0;}
@media (max-width:860px){.story-inner{grid-template-columns:1fr; padding:56px 22px;}}

.stats{
  background:var(--bone-dim);
  border-bottom:1px solid var(--line-dark);
  padding:56px 28px;
}
.stats-inner{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:28px;
  text-align:center;
}
.stat-num{
  font-family:'Fraunces', serif;
  font-size:clamp(2rem,3.4vw,2.6rem);
  color:var(--wine);
}
.stat-label{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.68rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin-top:6px;
}
@media (max-width:760px){.stats-inner{grid-template-columns:repeat(2,1fr);}}

.values{
  max-width:1180px; margin:0 auto;
  padding:80px 28px;
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.value-card .cat-number{color:var(--wine);}
.value-card h3{font-size:1.2rem; margin-bottom:10px;}
.value-card p{color:var(--ink-soft); font-size:0.92rem;}
@media (max-width:820px){.values{grid-template-columns:1fr; gap:44px;}}

/* ---------- Contact page specifics ---------- */
.contact-wrap{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr;
  gap:60px;
  padding:80px 28px;
}
.contact-card{
  border:1px solid var(--line-dark);
  padding:32px;
}
.contact-card + .contact-card{margin-top:24px;}
.contact-card .cat-number{margin-bottom:10px;}
.contact-card h3{font-size:1.3rem; margin-bottom:8px;}
.contact-card p{color:var(--ink-soft); font-size:0.95rem;}
.contact-card a.link-under{margin-top:14px; display:inline-block; color:var(--wine);}
.hours-list{list-style:none; margin-top:10px;}
.hours-list li{
  display:flex; justify-content:space-between;
  font-size:0.9rem; color:var(--ink-soft);
  padding:6px 0; border-top:1px solid var(--line-dark);
}
.hours-list li:first-child{border-top:none;}
.map-frame{
  border:1px solid var(--line-dark);
  aspect-ratio:4/5;
  overflow:hidden;
  background:repeating-linear-gradient(135deg, rgba(27,32,40,0.04) 0 2px, transparent 2px 14px);
}
.map-frame .fs-label{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.7rem; letter-spacing:0.06em; text-transform:uppercase;
  color:rgba(27,32,40,0.5); max-width:22ch; line-height:1.6;
}
@media (max-width:860px){.contact-wrap{grid-template-columns:1fr; padding:56px 22px;}}

/* ---------- Footer / CTA ---------- */
.closer{
  background:var(--wine);
  color:var(--bone);
  padding:90px 28px;
  text-align:center;
}
.closer h2{
  font-size:clamp(2rem,4.4vw,3rem);
  max-width:16ch; margin:0 auto 20px;
}
.closer p{color:rgba(234,226,206,0.82); margin-bottom:34px; font-size:1.02rem;}
.closer .cta-btn{
  background:var(--bone); color:var(--ink);
  border-color:var(--bone);
  font-size:0.9rem; padding:14px 30px;
}
.closer .cta-btn:hover{background:var(--brass); border-color:var(--brass);}

.site-footer{
  background:var(--ink); color:var(--bone-dim);
}
.footer-top{
  max-width:1180px; margin:0 auto;
  padding:72px 28px 48px;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:48px;
}
.footer-brand a.brand{display:inline-flex;}
.footer-brand img{height:34px; width:auto; filter:brightness(1.15); margin-bottom:18px; display:block;}
.footer-brand p{
  font-size:0.88rem; color:var(--bone-dim); max-width:32ch; margin-bottom:24px;
}
.footer-brand .cta-btn{font-size:0.8rem; padding:11px 20px;}
.footer-col-title{
  font-family:'IBM Plex Mono', monospace;
  font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--brass); margin-bottom:18px;
}
.footer-col{display:flex; flex-direction:column; gap:12px;}
.footer-col a, .footer-col span{
  font-size:0.86rem; color:var(--bone-dim);
}
.footer-col a{transition:color .2s ease, padding-left .2s ease; width:fit-content;}
.footer-col a:hover{color:var(--wine-bright); padding-left:4px;}
.footer-bottom{
  border-top:1px solid var(--line);
}
.footer-bottom-inner{
  max-width:1180px; margin:0 auto;
  padding:24px 28px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:'IBM Plex Mono', monospace;
  font-size:0.68rem; letter-spacing:0.05em; color:var(--bone-dim);
}
.footer-bottom-mark{display:flex; align-items:center; gap:10px;}
.footer-bottom-mark img{height:22px; width:auto; filter:brightness(1.15);}

@media (max-width:900px){
  .footer-top{grid-template-columns:1fr 1fr; gap:40px 28px;}
}
@media (max-width:560px){
  .footer-top{
    grid-template-columns:1fr 1fr;
    padding:56px 22px 36px;
    gap:36px 18px;
    text-align:center;
  }
  .footer-brand{grid-column:1 / -1; display:flex; flex-direction:column; align-items:center;}
  .footer-brand img{margin-left:auto; margin-right:auto;}
  .footer-col{align-items:center;}
  .footer-top > *:nth-child(4){grid-column:1 / -1;}
  .footer-bottom-inner{justify-content:center; text-align:center;}
}