/* TUG — editorial B/W system */
:root {
  --ink: #000; --paper: #e9e9e9; --white: #fff; --grey: #8c8c8c; --line: #000;
  --display: 'Anton', Impact, sans-serif; --body: 'Archivo', Arial, sans-serif;
  --g: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 12px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
svg, img { display: block; }
img { filter: grayscale(1) contrast(1.1); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.patterns { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Type */
.d { font-family: var(--display); text-transform: uppercase; line-height: .9; letter-spacing: .01em; font-weight: 400; }
.d-xl { font-size: clamp(56px, 9vw, 140px); }
.d-lg { font-size: clamp(44px, 6.5vw, 96px); }
.d-md { font-size: clamp(30px, 4vw, 56px); }
.d-sm { font-size: clamp(20px, 2.2vw, 30px); }
.u { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 500; }
.k { text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.k::before { content: "[ "; } .k::after { content: " ]"; }
.mini { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; line-height: 1.5; max-width: 26ch; }
.on-dark { color: var(--white); }
.on-dark .mini { color: #cfcfcf; }

/* Photo placeholder: swap <div class="ph"> for <img> */
.ph { background: #b8b8b8; position: relative; overflow: hidden; }
.ph svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45)); pointer-events: none; }
.ph.dark { background: #1c1c1c; }
.ph.mid { background: #6a6a6a; }
.ph.light { background: #d9d9d9; }

/* Header */
header.site { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--g); position: sticky; top: 0; z-index: 30; mix-blend-mode: difference; color: var(--white); }
header.site .logo { font-family: var(--display); font-size: 18px; letter-spacing: .04em; }
header.site nav ul { display: flex; gap: 28px; list-style: none; }
header.site nav a, header.site .right a, header.site .right button { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 500; }
header.site .right { display: flex; justify-content: flex-end; gap: 24px; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px; border: 1px solid var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 600; transition: background .15s, color .15s; }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--white); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }

/* Brackets frame */
.frame { position: relative; }
.frame::before, .frame::after { font-family: var(--display); font-size: 48px; line-height: 1; position: absolute; top: 50%; transform: translateY(-50%); }
.frame::before { content: "["; left: -.6em; } .frame::after { content: "]"; right: -.6em; }

/* Filmstrip */
.strip { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.strip .ph { aspect-ratio: 1; }

/* Product card */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pcard { position: relative; }
.pcard .ph { aspect-ratio: 1; }
.pcard .ph::after { display: none; }
.pcard .see { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.pcard .see span { background: var(--white); padding: 8px 12px; }
.pcard:hover .see, .pcard:focus-within .see { opacity: 1; }
.pcard .row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pcard h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.pcard .cat { color: var(--grey); text-transform: uppercase; font-size: 10px; letter-spacing: .05em; white-space: nowrap; }
.pcard .price { margin-top: 4px; font-size: 10px; letter-spacing: .05em; }
.pcard .sizes { display: flex; gap: 4px; margin-top: 8px; }
.pcard .sizes button { border: 1px solid var(--ink); font-size: 9px; padding: 4px 6px; min-width: 26px; letter-spacing: .05em; }
.pcard .sizes button:hover { background: var(--ink); color: var(--white); }
.pcard .sizes button[disabled] { border-color: #b0b0b0; color: #b0b0b0; text-decoration: line-through; cursor: not-allowed; }

/* Footer */
footer.site { padding: 60px var(--g) 0; background: var(--paper); }
footer.site .row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 20px; }
footer.site .row a:hover { text-decoration: underline; }
footer.site .wordmark { margin-top: 48px; display: flex; justify-content: center; }
footer.site .wordmark svg, footer.site .wordmark img { width: min(72vw, 1040px); height: auto; }
/* Uploaded logo (Settings → General): the site header shows the light version over photos and the dark one once it turns solid. */
header.site .logo-img.on-light { display: none !important; }
body.solid header.site .logo-img.on-dark { display: none !important; }
body.solid header.site .logo-img.on-light { display: block !important; }

/* Responsive */
@media (max-width: 900px) {
  header.site { grid-template-columns: auto 1fr; } header.site nav { display: none; } .menu-btn { display: inline; }
  .strip { grid-template-columns: repeat(5, 1fr); } .strip .ph:nth-child(n+6) { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  footer.site .row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .pgrid { grid-template-columns: 1fr 1fr; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== v3 additions: merged system ===== */
:root { --charcoal: #1f1f1f; --warm: #2b2626; }
/* Clean grotesk voice for cinematic overlays (from ref 1) */
.h { font-family: var(--body); text-transform: uppercase; font-weight: 500; letter-spacing: .02em; line-height: 1; }
.h-xl { font-size: clamp(34px, 5vw, 72px); }
.h-lg { font-size: clamp(26px, 3.4vw, 48px); }
.h-md { font-size: clamp(20px, 2.2vw, 30px); }
/* Pill button (from ref 1) */
.pill { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px; border: 1px solid currentColor; border-radius: 999px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 500; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); transition: background .2s, color .2s; }
.pill::after { content: "›"; font-size: 14px; line-height: 0; }
.pill:hover { background: var(--white); color: var(--ink); }
.pill.dark { color: var(--ink); background: transparent; } .pill.dark:hover { background: var(--ink); color: var(--white); }
/* Cinematic full-bleed banner (from ref 1) */
.banner { position: relative; min-height: 88vh; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; }
.banner .ph { position: absolute; inset: 0; }
.banner .ph::after { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.15) 50%, rgba(0,0,0,.55)); }
.banner .inner { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: center; padding: 0 var(--g); }
.banner .kicker { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
/* Glass collection cards (from ref 1) */
.glass { background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); padding: 18px 16px; color: var(--white); display: grid; gap: 10px; align-content: start; }
.glass h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.glass p { font-size: 10px; color: #d9d9d9; line-height: 1.5; }
.glass a { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: 8px; margin-top: 6px; } .glass a::after { content: "›"; }
/* Four-column footer (from ref 1) sitting above giant wordmark (from ref 2) */
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
footer.site .cols h4 { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 12px; }
footer.site .cols ul { list-style: none; display: grid; gap: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
footer.site .cols .prog p { font-size: 11px; max-width: 34ch; margin: 8px 0 12px; }
footer.site .cols .prog a { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; } footer.site .cols .prog a::before { content: "→ "; }
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }

/* Real photography */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::after { z-index: 1; }
/* Flip to full colour by adding class="colour" to <body> */
body.colour img { filter: none; }

/* Colour on hover: photos sit in B/W and reveal colour when you point at them */
img { transition: filter .5s ease; }
.ph:hover img, .pcard:hover img, .gallery .cell:hover img, .ed .cell:hover img, .strip .ph:hover img { filter: none; }
.ph::after { transition: opacity .5s ease; }
.ph:hover::after { opacity: 0; }
@media (hover: none) { .ph:active img { filter: none; } }

/* ===== App additions (Laravel build) ===== */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.announce { background: var(--ink); color: var(--white); text-align: center; padding: 8px var(--g); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
body.solid header.site { mix-blend-mode: normal; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--ink); }
header.site nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
header.site .right form { display: inline; }
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--white); padding: 24px var(--g); display: none; flex-direction: column; gap: 28px; }
.mnav.on { display: flex; }
.mnav .top { display: flex; justify-content: space-between; align-items: center; }
.mnav ul { list-style: none; display: grid; gap: 14px; }
.mnav ul a { font-family: var(--display); text-transform: uppercase; font-size: 44px; line-height: 1; }
.flash { margin: 16px var(--g) 0; border: 1px solid var(--ink); padding: 12px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: var(--white); }
.flash.err { background: var(--ink); color: var(--white); }
.crumb { padding: 16px var(--g) 0; display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.crumb li { display: flex; gap: 10px; }
.crumb li + li::before { content: "/"; color: var(--grey); font-size: 10px; letter-spacing: .08em; }
.crumb a, .crumb span { color: var(--grey); } .crumb li:last-child span { color: var(--ink); }
.page-head { padding: 40px var(--g) 24px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.page-head .mini { max-width: 36ch; }
.prose { max-width: 68ch; font-size: 14px; line-height: 1.7; display: grid; gap: 16px; }
.prose h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1; margin-top: 16px; }
.prose h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-top: 8px; }
.prose a { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { border-left: 2px solid var(--ink); padding-left: 16px; font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; font-size: 12px; } .prose td, .prose th { border: 1px solid var(--ink); padding: 8px; text-align: left; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px var(--g) 80px; align-items: start; }
.split .ph { aspect-ratio: 4 / 5; }
.faq { border-top: 1px solid var(--ink); max-width: 68ch; }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 16px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; font-size: 13px; line-height: 1.6; max-width: 60ch; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px var(--g) 80px; }
.card { display: grid; gap: 12px; align-content: start; }
.card .ph { aspect-ratio: 4 / 3; }
.card h2, .card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.card p { font-size: 12px; color: #3a3a3a; }
.auth { max-width: 420px; margin: 0 auto; padding: 60px var(--g) 100px; display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.field input, .field textarea, .field select { border: 1px solid var(--ink); background: transparent; font: inherit; font-size: 12px; padding: 12px; width: 100%; }
.field .error, .error { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #b00020; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px var(--g) 60px; border-top: 1px solid var(--ink); margin: 0 var(--g); }
.pager .pages { display: flex; gap: 12px; } .pager .pages a, .pager .pages span { font-size: 10px; letter-spacing: .08em; }
.pager .pages [aria-current] { font-weight: 700; text-decoration: underline; }
.empty-state { padding: 60px var(--g); display: grid; gap: 16px; justify-items: start; }
.table { width: 100%; border-collapse: collapse; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.table th, .table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--ink); }
@media (max-width: 900px) { .page-head, .split { grid-template-columns: 1fr; } .cards3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards3 { grid-template-columns: 1fr; } }
footer.site .cols h2.fh { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 12px; }
.pcard h3 a, .pcard h2 a { color: inherit; }
.pcard h2 { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cur select { background: none; border: 0; color: inherit; font: inherit; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.cur select option { color: #000; }
.mnav .cur select { font-size: 14px; border: 1px solid currentColor; padding: 6px 10px; }
.tabs a.tab { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 500; color: var(--grey); }
.tabs a.tab::before { content: "[ "; } .tabs a.tab::after { content: " ]"; }
.tabs a.tab[aria-current] { color: var(--ink); font-weight: 600; }
