/*
Theme Name: VORKA
Theme URI: https://vorka.studio
Author: VORKA Studio
Description: Editorial, minimal WooCommerce-ready theme for VORKA — quiet movement wear. Monochrome palette, bold display typography, and slow, considered motion.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: vorka
Tags: editorial, minimal, woocommerce, fashion, monochrome
*/

:root {
  --vorka-bg: #f5f3ee;
  --vorka-fg: #0a0a0a;
  --vorka-muted: #6b6b66;
  --vorka-line: rgba(10, 10, 10, 0.12);
  --vorka-accent: #0a0a0a;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--vorka-bg);
  color: var(--vorka-fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vorka-muted);
}
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.link-underline {
  position: relative;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s ease;
}
.link-underline:hover { background-size: 100% 1px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(245, 243, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vorka-line);
}
.site-header.invert { mix-blend-mode: difference; color: var(--vorka-bg); background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
@media (min-width: 768px) { .site-header__inner { padding: 18px 40px; } }
.site-nav { display: none; gap: 32px; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
@media (min-width: 768px) { .site-nav { display: flex; } }
.site-logo img { height: 36px; width: auto; }
@media (min-width: 768px) { .site-logo img { height: 48px; } }
.site-actions { display: flex; gap: 24px; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
.site-actions button { background: none; border: none; padding: 0; color: inherit; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--vorka-line);
  border-bottom: 1px solid var(--vorka-line);
  background: var(--vorka-fg);
  color: var(--vorka-bg);
  padding: 12px 0;
}
.marquee__track { display: flex; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee__item { font-family: var(--display); font-size: 14px; letter-spacing: 0.3em; margin: 0 24px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: #1a1a17; }
.hero img, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.35)); }
.hero__content {
  position: absolute; left: 24px; right: 24px; bottom: 48px;
  color: var(--vorka-bg);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { .hero__content { left: 40px; right: 40px; } }
.hero__title { font-size: clamp(48px, 11vw, 160px); margin: 12px 0 0; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr; min-height: 90vh; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 60px 32px; }
@media (min-width: 768px) { .split__body { padding: 80px 64px; } }
.split__title { font-size: clamp(32px, 5vw, 64px); margin: 0; }
.split__copy { max-width: 480px; color: rgba(10,10,10,0.7); }

/* Sections */
.section { padding: 80px 24px; }
@media (min-width: 768px) { .section { padding: 100px 40px; } }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; }
.section__title { font-family: var(--display); font-size: clamp(28px, 4vw, 56px); text-transform: uppercase; font-weight: 800; margin: 0; }

/* Product grid */
.product-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.product-card__media { aspect-ratio: 4/5; overflow: hidden; background: #e9e6df; margin-bottom: 16px; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.product-card__price { color: var(--vorka-muted); }

/* Editorial banner */
.editorial { position: relative; }
.editorial img { width: 100%; height: 60vh; object-fit: cover; }
@media (min-width: 768px) { .editorial img { height: 90vh; } }
.editorial__content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.editorial__title { font-size: clamp(48px, 9vw, 128px); }

/* About / centered text */
.center-narrative { max-width: 960px; margin: 0 auto; padding: 120px 24px; text-align: center; }
.center-narrative__quote { font-family: var(--display); font-size: clamp(22px, 3vw, 40px); line-height: 1.3; text-transform: uppercase; font-weight: 600; }

/* Lookbook grid */
.lookbook-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .lookbook-grid { grid-template-columns: repeat(2, 1fr); } }
.lookbook-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Stockists */
.stockists { display: grid; gap: 40px 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .stockists { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stockists { grid-template-columns: repeat(3, 1fr); } }
.stockist__name { font-family: var(--display); font-size: 28px; text-transform: uppercase; font-weight: 700; margin: 12px 0 16px; line-height: 1.05; }
.stockist__meta { color: rgba(10,10,10,0.7); font-size: 14px; }

/* Contact */
.contact { display: grid; gap: 64px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact { grid-template-columns: 1fr 1fr; gap: 96px; } }
.contact__channel { border-bottom: 1px solid var(--vorka-line); padding-bottom: 32px; margin-bottom: 32px; }
.contact__email { font-family: var(--display); font-size: 28px; text-transform: uppercase; font-weight: 700; display: block; margin: 8px 0 12px; }
.field { margin-bottom: 28px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--vorka-muted); margin-bottom: 12px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--vorka-line);
  padding: 0 0 12px; font-family: inherit; font-size: 16px; color: inherit; outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { border-color: var(--vorka-fg); }
.field textarea { resize: vertical; min-height: 120px; }
.btn-primary {
  display: inline-block; width: 100%; background: var(--vorka-fg); color: var(--vorka-bg);
  border: none; padding: 16px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  transition: opacity 0.3s;
}
.btn-primary:hover { opacity: 0.8; }

/* Footer */
.site-footer { background: var(--vorka-fg); color: var(--vorka-bg); padding: 80px 24px 32px; margin-top: 0; }
@media (min-width: 768px) { .site-footer { padding: 80px 40px 32px; } }
.site-footer__grid { display: grid; gap: 48px; grid-template-columns: 1fr; margin-bottom: 80px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__title { font-family: var(--display); font-size: clamp(36px, 6vw, 64px); text-transform: uppercase; font-weight: 800; line-height: 0.95; margin: 0 0 24px; }
.site-footer__newsletter { display: flex; border-bottom: 1px solid rgba(245,243,238,0.4); max-width: 420px; }
.site-footer__newsletter input { flex: 1; background: transparent; border: none; padding: 12px 0; color: inherit; outline: none; font-size: 14px; }
.site-footer__newsletter button { background: none; border: none; color: inherit; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.site-footer__col p { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245,243,238,0.7); margin: 0 0 12px; }
.site-footer__col p.heading { color: var(--vorka-bg); margin-bottom: 16px; }
.site-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(245,243,238,0.2); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245,243,238,0.5); }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom img { height: 24px; filter: invert(1); }

/* Page hero (interior pages) */
.page-hero { padding: 160px 24px 64px; max-width: 1200px; }
@media (min-width: 768px) { .page-hero { padding: 200px 40px 80px; } }
.page-hero__title { font-size: clamp(48px, 9vw, 128px); margin: 0; }
.page-hero__lede { max-width: 560px; margin-top: 32px; font-size: 17px; color: rgba(10,10,10,0.7); line-height: 1.6; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 60; background: var(--vorka-bg); display: none; flex-direction: column; }
.search-overlay.is-open { display: flex; }
.search-overlay__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--vorka-line); }
.search-overlay input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--vorka-line); font-family: var(--display); font-size: clamp(36px, 8vw, 96px); text-transform: uppercase; font-weight: 800; padding: 24px 0; outline: none; }

/* Fade up */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }

/* WooCommerce overrides (light) */
.woocommerce ul.products li.product .price { color: var(--vorka-muted); font-weight: 400; font-size: 14px; }
.woocommerce ul.products li.product h2, .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; font-weight: 400; padding: 8px 0 4px; text-transform: none; }
.woocommerce span.onsale { background: var(--vorka-fg); color: var(--vorka-bg); border-radius: 0; padding: 4px 8px; font-size: 10px; letter-spacing: 0.2em; min-height: auto; min-width: auto; line-height: 1; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--vorka-fg); color: var(--vorka-bg); border-radius: 0; padding: 14px 24px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 400;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--vorka-fg); opacity: 0.85; }
