:root {
  --fg: #000;
  --bg: #fff;
  --muted: #666;
  --gutter: clamp(16px, 2vw, 32px);
  --gap: clamp(12px, 1.6vw, 24px);
  --max: 1500px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-stretch: 112%;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 0.6em; line-height: 1.15; letter-spacing: 0; }
h1 { font-size: clamp(36px, 4.2vw, 64px); }
h2 { font-size: clamp(32px, 3.6vw, 53px); }
h4 { font-size: clamp(20px, 1.7vw, 25px); }
p { margin: 0 0 1em; }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); min-height: 70vh; }

/* ---------- Header ---------- */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}
.logo { font-size: clamp(20px, 1.7vw, 25px); text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.site-nav a { text-decoration: none; padding: 2px 0; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .2s; }
.site-nav a:hover, .site-nav a.active { background-size: 100% 1px; }
.site-nav a.ig { background: none; display: inline-flex; }
.menu-toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--max);
  margin: 80px auto 0;
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  border-radius: 300px;
  padding: 13px 24px;
  cursor: pointer;
  transition: opacity .2s, background .2s, color .2s;
}
.btn-outline { border: 2px solid var(--fg); background: transparent; color: var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-solid { border: 0; background: var(--fg); color: var(--bg); }
.btn-solid:hover { opacity: .8; }

/* ---------- Home ---------- */
.tagline { text-align: center; font-size: 14.4px; margin: 0 0 12px; }
.home-hero {
  display: grid;
  grid-template-columns: 12fr 11fr;
  gap: calc(var(--gap) * 2);
  align-items: center;
}
.home-hero img { width: 100%; }
.home-print { margin-top: calc(var(--gap) * 2); }
.home-print img { width: 100%; }
.home-about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: calc(var(--gap) * 2);
  margin-top: 120px;
  align-items: start;
}
.about-img img { width: 100%; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gap) * 2); }
.about-cols p { font-size: 14.4px; text-align: justify; hyphens: auto; }
.about-text .btn { margin-top: 32px; }

/* ---------- Collection grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px var(--gap);
  padding-top: 24px;
}
.card { text-decoration: none; display: block; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f3f3f3; transition: opacity .25s; }
.card:hover img { opacity: .85; }
.card span { display: block; margin-top: 14px; font-size: clamp(16px, 1.4vw, 20px); }

/* ---------- Story page ---------- */
.story { max-width: 640px; margin: 40px auto 64px; }
.story p { font-size: 14.4px; line-height: 1.6; text-align: justify; hyphens: auto; }
.gallery {
  columns: 4 240px;
  column-gap: var(--gap);
}
.gallery a { display: block; margin-bottom: var(--gap); break-inside: avoid; cursor: zoom-in; }
.gallery img { width: 100%; }
.pager { display: flex; justify-content: space-between; margin: 64px 0 0; gap: 16px; }
.pager a { text-decoration: none; font-size: clamp(16px, 1.4vw, 20px); }
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Store ---------- */
.page-title { text-align: center; margin: 8px 0 24px; font-size: clamp(32px, 3.6vw, 53px); }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px var(--gap); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-title { display: block; margin-top: 16px; font-size: clamp(18px, 1.7vw, 25px); text-decoration: none; }
.price { margin: 6px 0 16px; font-size: 14px; }
.product-card .btn { display: block; width: 100%; }
.back { display: inline-block; margin: 8px 0 24px; text-decoration: none; }
.product { display: grid; grid-template-columns: 3fr 2fr; gap: calc(var(--gap) * 2); align-items: start; }
.product-images { display: grid; gap: var(--gap); }
.product-images a { cursor: zoom-in; }
.product-info { position: sticky; top: 24px; }
.product-info .price { font-size: 18px; }
.product-desc p { margin: 0 0 .4em; }
.product-info .btn { margin-top: 24px; min-width: 220px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: calc(var(--gap) * 3); padding-top: 40px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.contact-form { display: grid; gap: 18px; font-size: 14px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form legend { padding: 0; margin-bottom: 8px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form small { color: var(--muted); font-size: 12px; }
.contact-form input, .contact-form textarea {
  font: inherit;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  padding: 12px;
  background: #fafafa;
  width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid var(--fg); border-color: var(--fg); }
.contact-form button { justify-self: start; }

.notfound { text-align: center; padding: 80px 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; font: inherit; font-size: 28px; cursor: pointer; padding: 16px; color: var(--fg);
}
.lightbox .lb-close { top: 8px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 36px; height: 36px; background: none; border: 0; padding: 6px; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 1.5px; background: var(--fg); transition: transform .2s; }
  .nav-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav {
    display: none;
    position: fixed; inset: 72px 0 0 0;
    background: var(--bg);
    flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 24px; padding-top: 48px; font-size: 26px;
  }
  .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }

  .home-hero, .home-about, .about-cols, .products, .product, .contact { grid-template-columns: 1fr; }
  .home-hero { gap: var(--gap); }
  .home-about { margin-top: 64px; }
  .about-img { max-width: 60%; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { columns: 2; }
  .product-info { position: static; }
  .contact-form fieldset { grid-template-columns: 1fr; }
}
