:root{
  --bg:#0b0d10;
  --fg:#e9eef6;
  --muted:#9aa6b2;
  --card:#10151b;
  --border:rgba(255,255,255,.12);
  --primary:#d6b25e;
  --primary-fg:#0b0d10;
  --shadow:0 14px 40px rgba(0,0,0,.45);
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--fg);
  background:var(--bg);
  line-height:1.55;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
strong{font-weight:700}
.container{max-width:1120px;margin:0 auto;padding:0 22px}
.narrow{max-width:760px}
.muted{color:var(--muted)}
.link{color:var(--primary)}
.link:hover{text-decoration:underline}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(11,13,16,.72);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0;
  gap:18px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-logo{width:40px;height:40px;border-radius:999px;border:1px solid var(--border)}
.brand-text{
  font-family:var(--serif);
  font-weight:800;
  letter-spacing:-.02em;
  font-size:20px;
  white-space:nowrap;
}

.nav{display:flex;gap:22px;align-items:center}
.nav-link{
  position:relative;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  padding:10px 2px;
  outline:none;
}

/* Fix: single underline only (no double lines). */
.nav-link::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:2px;
  height:2px;
  border-radius:999px;
  background:rgba(214,178,94,.9);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.nav-link:hover{color:var(--primary)}
.nav-link:hover::after{transform:scaleX(1)}
.nav-link:focus-visible{color:var(--primary)}
.nav-link:focus-visible::after{transform:scaleX(1)}
/* Active state via :target highlighting is not reliable in pure HTML; keep hover/focus only. */

/* Hero */
.hero{
  padding:0;
  min-height:calc(100svh - 72px);
  display:flex;
  align-items:center;
  background:
    radial-gradient(900px 480px at 50% 20%, rgba(214,178,94,.20), rgba(0,0,0,0) 60%),
    radial-gradient(900px 520px at 50% 30%, rgba(255,255,255,.09), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,0) 45%);
}
.hero-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:22px;
  padding:0 0 24px;
}
.hero-copy{
  text-align:center;
  max-width:820px;
  margin:0 auto;
}
.hero-ctas{justify-content:center}
.badges{justify-content:center}
.section-head{
  text-align:center;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.cards{justify-items:center}
.card{max-width:360px;width:100%}
.eyebrow{
  margin:0 0 10px;
  color:var(--muted);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  text-align:center;
}
.hero-title{
  margin:0;
  font-family:var(--serif);
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.02em;
  text-align:center;
}
.hero-subtitle{
  margin:14px auto 0;
  color:var(--muted);
  font-size:16px;
  max-width:58ch;
  text-align:center;
}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:transparent;
  color:var(--fg);
  font-weight:650;
  letter-spacing:.01em;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.20);background:rgba(255,255,255,.04)}
.btn.primary{background:var(--primary);border-color:transparent;color:var(--primary-fg)}
.btn.primary:hover{background:rgba(214,178,94,.92)}
.btn.ghost{background:rgba(255,255,255,.03)}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.badge{
  font-size:12px;
  color:rgba(233,238,246,.92);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  padding:8px 10px;
  border-radius:999px;
}

.hero-art{display:none}
.stitch-card{
  width:100%;
  max-width:420px;
  aspect-ratio: 5 / 4;
  border-radius:24px;
  background:linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.stitch-line{
  position:absolute;left:-20%;
  width:140%;
  height:2px;
  background:rgba(214,178,94,.35);
  transform:rotate(-15deg);
  filter:blur(.2px);
}
.stitch-line:nth-child(1){top:30%}
.stitch-line:nth-child(2){top:52%}
.stitch-line:nth-child(3){top:74%}

/* Sections */
.section{padding:72px 0}
.section-alt{border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.015)}
.section-head{margin-bottom:22px}
.section-title{
  margin:0;
  font-family:var(--serif);
  font-size:30px;
  letter-spacing:-.02em;
}
.section-subtitle{
  margin:10px auto 0;
  color:var(--muted);
  max-width:65ch;
  text-align:center;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.gallery-card{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  box-shadow:0 10px 26px rgba(0,0,0,.28);
}
.gallery-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  transform:scale(1);
  transition:transform .25s ease;
}
.gallery-card:hover img{transform:scale(1.03)}

/* Products */
.product-strip{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.product{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  padding:16px 16px;
}
.product-title{font-weight:800;letter-spacing:.02em}
.product-desc{color:var(--muted);margin-top:6px}
.product-meta{color:rgba(233,238,246,.75);margin-top:10px;font-size:12px}

/* About pillars */
.pillars{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:18px;
}
.pillar{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  padding:16px;
}
.pillar h3{margin:0 0 8px;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:rgba(233,238,246,.92)}
.pillar p{margin:0;color:var(--muted)}

/* Form */
.form-card{
  margin-top:18px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.02);
  padding:16px;
  box-shadow:var(--shadow);
}
.form-grid{display:grid;grid-template-columns:1fr;gap:12px}
.field{display:grid;gap:8px}
.field span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:rgba(233,238,246,.82)}
input,select,textarea{
  font:inherit;
  color:var(--fg);
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{border-color:rgba(214,178,94,.55);box-shadow:0 0 0 4px rgba(214,178,94,.12)}
.form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}
.fineprint{margin:0;color:var(--muted);font-size:12px}

/* Footer */
.footer{padding:22px 0;border-top:1px solid rgba(255,255,255,.08)}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* Motion */
.reveal{opacity:0;transform:translateY(10px);animation:reveal .6s ease forwards}
.reveal.delay-1{animation-delay:.08s}
.reveal.delay-2{animation-delay:.16s}
.reveal.delay-3{animation-delay:.24s}
@keyframes reveal{to{opacity:1;transform:translateY(0)}}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}

/* Responsive */
@media (min-width: 820px){
  .hero-inner{grid-template-columns:1.1fr .9fr}
  .hero-art{display:flex;justify-content:flex-end}
  .hero-title{font-size:52px}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gallery-card img{height:280px}
  .product-strip{grid-template-columns:repeat(2,1fr)}
  .pillars{grid-template-columns:repeat(3,1fr)}
  .form-grid{grid-template-columns:repeat(2,1fr)}
}


/* ---------- Request page ---------- */
.page-hero{
  padding:72px 0 18px;
  background:
    radial-gradient(900px 420px at 25% 30%, rgba(214,178,94,.16), rgba(0,0,0,0) 60%),
    radial-gradient(900px 520px at 80% 20%, rgba(255,255,255,.07), rgba(0,0,0,0) 60%);
}
.page-title{
  font-family:var(--serif);
  font-size:clamp(32px, 5vw, 54px);
  line-height:1.02;
  margin:10px 0 10px;
}
.page-subtitle{
  color:var(--muted);
  max-width:70ch;
}

.request-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media (min-width: 760px){
  .grid-2{ grid-template-columns:1fr 1fr; }
}

.small{ font-size:12px; }

.field input,
.field textarea{
  width:100%;
}


/* Jeans feed (Instagram-style scroll) */
.page-jeans .jeans-hero{padding-top:34px;padding-bottom:14px;text-align:center}
.jeans-feed-wrap{padding:0 0 50px}
.jeans-feed{
  height:calc(100vh - 220px);
  overflow-y:auto;
  scroll-snap-type:y mandatory;
  padding:0 16px 16px;
  max-width:540px;
  margin:0 auto;
  overscroll-behavior:contain;
}
.post{
  scroll-snap-align:start;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  margin:0 0 18px;
}
.post-img{
  width:100%;
  height:80vh;
  object-fit:cover;
  display:block;
}

/* Tighter vertical rhythm + centered feel on small screens */
@media (max-width: 720px){
  .hero-title{font-size:40px}
  .jeans-feed{height:calc(100vh - 240px)}
  .post-img{height:74vh}
}


/* Jeans horizontal scroll feed */
.jeans-carousel{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:8px 22px 24px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.jeans-carousel::-webkit-scrollbar{height:10px}
.jeans-carousel::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:999px}
.jeans-carousel .post{
  flex:0 0 min(78vw, 560px);
  scroll-snap-align:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.jeans-carousel .post img{
  width:100%;
  height:min(70svh, 640px);
  object-fit:cover;
  display:block;
}
.jeans-carousel-wrap{
  padding:0;
}
.page-jeans .page-hero{
  padding-bottom:10px;
  text-align:center;
}
