/*
Theme Name: Aurum
Theme URI: https://agustgudbjornsson.is
Author: Ágúst Ævar Guðbjörnsson
Author URI: https://agustgudbjornsson.is
Description: A dark-space portfolio theme for a Creative Technologist. Glowing gold and silver brand identity, standalone (no Betheme dependency). Draft theme for agustgudbjornsson.is.
Version: 0.2.9
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aurum
*/

/* ============================================================
   Aurum — design tokens
   ============================================================ */
:root {
  /* Space background */
  --bg:        #070707;
  --bg-2:      #0d0d0d;
  --bg-3:      #121212;
  --panel:     rgba(255, 255, 255, 0.025);
  --line:      rgba(205, 205, 205, 0.10);
  --line-strong: rgba(205, 205, 205, 0.18);

  /* Gold — brand primary */
  --gold:        #c8c8c8;
  --gold-bright: #e0e0e0;
  --gold-deep:   #979797;
  --gold-glow:   rgba(200, 200, 200, 0.35);
  --gold-faint:  rgba(200, 200, 200, 0.08);

  /* Silver — secondary */
  --silver:      #cecece;
  --silver-dim:  #8c8c8c;

  /* Ink */
  --ink:       #efefef;
  --ink-soft:  #bcbcbc;
  --ink-faint: #757575;

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 48px);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

.mono { font-family: var(--font-mono); }

/* ============================================================
   Cosmic background layers
   ============================================================ */
.space-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(200, 200, 200, 0.10), transparent 60%),
    radial-gradient(900px 600px at 12% 108%, rgba(150, 150, 150, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
.space-bg::before { /* starfield */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 75% 18%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 45% 65%, rgba(200, 200, 200,0.7), transparent),
    radial-gradient(1px 1px at 88% 72%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 33% 88%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 62% 42%, rgba(206, 206, 206,0.6), transparent),
    radial-gradient(1px 1px at 10% 78%, rgba(255,255,255,0.4), transparent);
  background-repeat: no-repeat;
  opacity: 0.9;
}

/* slow drifting golden orb */
.orb {
  position: fixed;
  top: -180px; right: -160px;
  width: 620px; height: 620px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 200, 200,0.22), rgba(200, 200, 200,0.06) 45%, transparent 70%);
  filter: blur(8px);
  animation: float 18s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(40px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 130px); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 7, 0.6);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { color: var(--ink); }
.brand .spark {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px var(--gold-glow);
}
.brand-logo {
  width: auto;
  height: 34px;
  max-width: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.20));
}

.site-header .brand-logo {
  display: block !important;
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 112px !important;
  height: 34px !important;
  max-height: 34px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce .cosmic-hero,
.woocommerce .hero-mark,
.woocommerce .hero-logo,
.woocommerce .gravity-particle {
  display: none !important;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0; padding: 0;
  align-items: center;
}
.nav-list a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 6px;
}
.nav-list a:hover { color: var(--ink); }
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
  transition: width 0.25s var(--ease);
}
.nav-list a:hover::after,
.nav-list .current-menu-item > a::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; height: 2px; width: 22px;
  background: var(--ink); border-radius: 2px;
  transition: 0.25s var(--ease);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #141414;
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-gold:hover {
  color: #141414;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -6px var(--gold-glow), 0 0 22px var(--gold-faint);
}
.btn-ghost {
  background: transparent;
  color: var(--silver);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--silver-dim);
  transform: translateY(-2px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: clamp(72px, 13vw, 160px) clamp(40px, 7vw, 90px); }
.hero-inner { max-width: 820px; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin-bottom: 0.25em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-bright) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(200, 200, 200, 0.18);
}
.hero .role {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}
.hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Section headings
   ============================================================ */
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* ============================================================
   Capability grid
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.cap {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cap:hover { border-color: var(--gold-faint); transform: translateY(-3px); }
.cap .num { font-family: var(--font-mono); color: var(--gold-deep); font-size: 0.85rem; }
.cap h3 { font-size: 1.25rem; margin: 12px 0 8px; }
.cap p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }

/* ============================================================
   Project / universe cards
   ============================================================ */
.universe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.proj {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.proj::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.proj:hover { transform: translateY(-5px); border-color: var(--gold-faint); }
.proj:hover::before { opacity: 0.7; }
.proj .tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--silver-dim); }
.proj h3 { font-size: 1.5rem; margin: 10px 0 10px; }
.proj p { margin: 0 0 22px; color: var(--ink-soft); flex: 1; }
.proj .go {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.proj:hover .go { color: var(--gold-bright); }
.proj .go .arrow { transition: transform 0.25s var(--ease); }
.proj:hover .go .arrow { transform: translateX(5px); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(40px, 7vw, 80px) var(--gutter);
  background:
    radial-gradient(600px 300px at 50% 0%, var(--gold-faint), transparent 70%),
    var(--panel);
}
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.cta-band p { max-width: 520px; margin: 0 auto 2rem; color: var(--ink-soft); }

/* ============================================================
   Generic page / article content
   ============================================================ */
.page-hero { padding-block: clamp(60px, 10vw, 120px) clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.entry { max-width: 820px; margin-inline: auto; padding-bottom: clamp(60px, 10vw, 120px); }
.entry p { margin: 0 0 1.3em; }
.entry h2 { margin-top: 1.6em; font-size: 1.8rem; }
.entry h3 { margin-top: 1.4em; font-size: 1.35rem; }
.entry a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-deep); }
.entry img { border-radius: var(--radius-sm); margin-block: 1.5em; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.entry blockquote {
  margin: 1.5em 0; padding: 12px 22px;
  border-left: 3px solid var(--gold); background: var(--gold-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 54px 40px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.site-footer .footer-logo {
  width: auto;
  height: 30px;
  max-width: 92px;
  object-fit: contain;
  opacity: 0.9;
}
.footer-nav { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-meta { color: var(--ink-faint); font-size: 0.85rem; margin-top: 26px; }
.footer-payments { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.footer-payments svg { height: 26px; width: auto; display: block; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 4px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
/* v0.5.0: only hide when JS is confirmed present (html.js is set inline in <head>).
   No-JS, print, and full-page captures see everything. */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media print { html.js .reveal { opacity: 1; transform: none; } }

/* ============================================================
   WooCommerce — polished shop system
   ============================================================ */
.woo-wrap {
  padding-top: clamp(72px, 10vw, 120px) !important;
  padding-bottom: clamp(72px, 10vw, 130px) !important;
}

.woocommerce .page-title {
  margin: 0 0 0.22em;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  color: var(--ink);
}

.woocommerce .woocommerce-result-count {
  margin: 0 0 24px;
  color: var(--ink-faint);
  font-size: 0.94rem;
}

.woocommerce .woocommerce-ordering {
  margin: -54px 0 34px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce .select2-container--default .select2-selection--single {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  background: rgba(255,255,255,0.055);
  color: var(--ink);
  padding: 10px 14px;
  outline: none;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  border-color: rgba(231, 231, 231, 0.52);
  box-shadow: 0 0 0 3px rgba(202, 202, 202, 0.12);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: 18px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 0 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.062), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.022);
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 231, 231, 0.30);
  box-shadow: 0 22px 70px -42px rgba(202, 202, 202, 0.42);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 18px;
  background: rgba(255,255,255,0.92);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 3em;
  padding: 0 18px;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 18px;
  margin: 0 0 16px;
  color: var(--gold-bright) !important;
  font-weight: 800;
}

.woocommerce ul.products li.product .button {
  align-self: flex-start;
  margin: auto 18px 0 !important;
}

.woocommerce span.onsale {
  min-width: 0;
  min-height: 0;
  padding: 7px 11px;
  border-radius: 0;
  background: var(--gold);
  color: #0e0e0e;
  font-weight: 800;
  line-height: 1;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button {
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)) !important;
  color: #0e0e0e !important;
  font-family: var(--font-body);
  font-weight: 800 !important;
  padding: 13px 22px !important;
  line-height: 1 !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .single_add_to_cart_button:hover {
  color: #0e0e0e !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -24px var(--gold-glow);
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.woocommerce div.product::before,
.woocommerce div.product::after {
  content: none;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
  opacity: 1 !important;
}

.woocommerce div.product div.images {
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
}

.woocommerce div.product div.images img {
  background: rgba(255,255,255,0.94);
}

.woocommerce div.product .summary {
  padding-top: clamp(4px, 2vw, 18px);
}

.woocommerce div.product .product_title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--gold-bright);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
}

.woocommerce .quantity .qty {
  width: 84px;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  background: rgba(255,255,255,0.055);
  color: var(--ink);
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 26px 0;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
  content: none;
}

.woocommerce div.product form.cart .variations {
  width: 100%;
  margin-bottom: 8px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  padding: 0 0 10px;
  text-align: left;
}

.woocommerce .product_meta {
  margin-top: 24px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.woocommerce .product_meta a,
.woocommerce .woocommerce-breadcrumb a {
  color: var(--gold);
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: clamp(30px, 6vw, 70px);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 26px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 0 22px 0 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0 0 12px;
  color: var(--ink-soft);
  font-weight: 800;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold-bright);
}

.woocommerce div.product .woocommerce-tabs .panel {
  max-width: 840px;
  color: var(--ink-soft);
}

.woocommerce table.shop_table {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  background: rgba(255,255,255,0.030);
  color: var(--ink-soft);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(255,255,255,0.10);
  padding: 16px;
}

.woocommerce table.shop_table th {
  color: var(--ink);
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  background: rgba(255,255,255,0.035);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 0;
  color: var(--ink-soft);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  color: var(--gold-bright);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-top-color: var(--gold);
  background: rgba(255,255,255,0.055);
  color: var(--ink-soft);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
  color: var(--gold);
}

.woocommerce a {
  color: var(--gold);
}

@media (max-width: 980px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .woocommerce .woocommerce-ordering {
    float: none;
    margin: 0 0 26px;
  }
}

@media (max-width: 560px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce .page-title {
    font-size: clamp(2.6rem, 18vw, 4rem);
  }
}

/* ============================================================
   Tech Stack (/uses/) — terminal-style page, self-contained
   ============================================================ */
.agust-uses-page { max-width: var(--maxw); margin-inline: auto; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 10vw, 120px); }
.agust-uses-page .hero { padding: 0 0 clamp(28px, 4vw, 48px); }
.agust-uses-page .hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  background: linear-gradient(180deg, #fff 0%, var(--gold-bright) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 50px rgba(200, 200, 200,0.16);
}
.agust-uses-page .intro { max-width: 640px; color: var(--ink-soft); font-size: 1.1rem; }
.agust-uses-page .cursor { display: inline-block; width: 11px; height: 1.1em; vertical-align: -2px; margin-left: 4px; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.agust-uses-page .tree { margin-block: clamp(20px, 3vw, 36px); }
.agust-uses-page .tree-label,
.agust-uses-page .section-command { color: var(--gold-deep); font-size: 0.9rem; margin: 0 0 10px; }
.agust-uses-page pre.mono { margin: 0; color: var(--silver); font-size: 0.95rem; line-height: 1.7; }
.agust-uses-page pre.mono a { color: var(--gold); }

.agust-uses-page .section { padding-block: clamp(40px, 6vw, 70px) 0; scroll-margin-top: 90px; }
.agust-uses-page .section-command {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px; margin-bottom: 26px;
}

.agust-uses-page .cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.agust-uses-page .card {
  display: flex; flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.agust-uses-page .card:hover {
  border-color: var(--gold-faint);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -14px var(--gold-glow);
}
.agust-uses-page .card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.agust-uses-page .card .tag { font-size: 0.72rem; color: var(--silver-dim); }
.agust-uses-page .card h2 { font-size: 1.15rem; margin: 0; color: var(--ink); }
.agust-uses-page .card p { margin: 0 0 14px; font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.agust-uses-page .card .linkline { font-size: 0.85rem; color: var(--gold); }
.agust-uses-page .card:hover .linkline { color: var(--gold-bright); }

.agust-uses-page .footer { margin-top: clamp(40px, 6vw, 70px); color: var(--gold-deep); }
.agust-uses-page .bottomline { color: var(--silver-dim); letter-spacing: 0.3em; opacity: 0.5; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-130%);
    transition: transform 0.32s var(--ease);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 16px 0; }
  .nav-list a::after { display: none; }
}

/* ============================================================
   Cosmic redesign layer — front page
   ============================================================ */
:root {
  --bg: #050505;
  --bg-2: #090909;
  --bg-3: #0f0f0f;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(222, 222, 222, 0.12);
  --line-strong: rgba(232, 232, 232, 0.24);
  --gold: #cacaca;
  --gold-bright: #e7e7e7;
  --gold-deep: #868686;
  --gold-glow: rgba(202, 202, 202, 0.35);
  --gold-faint: rgba(202, 202, 202, 0.10);
  --violet: #7d7d7d;
  --violet-glow: rgba(125, 125, 125, 0.32);
  --rose-glow: rgba(157, 157, 157, 0.18);
  --ink: #f9f9f9;
  --ink-soft: #d3d3d3;
  --ink-faint: #888888;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

body {
  background:
    radial-gradient(900px 640px at 50% 18%, rgba(94, 94, 94, 0.24), transparent 66%),
    linear-gradient(180deg, #040404 0%, #090909 48%, #040404 100%);
}

.space-bg {
  background:
    radial-gradient(900px 520px at 50% 16%, rgba(202, 202, 202, 0.14), transparent 58%),
    radial-gradient(760px 560px at 78% 30%, rgba(136, 136, 136, 0.13), transparent 64%),
    radial-gradient(780px 520px at 17% 72%, rgba(114, 114, 114, 0.16), transparent 62%),
    linear-gradient(180deg, #040404 0%, #090909 52%, #040404 100%);
}

.space-bg::before {
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,0.74), transparent),
    radial-gradient(1px 1px at 16% 75%, rgba(231, 231, 231,0.56), transparent),
    radial-gradient(1px 1px at 27% 42%, rgba(255,255,255,0.56), transparent),
    radial-gradient(1.5px 1.5px at 39% 21%, rgba(173, 173, 173,0.78), transparent),
    radial-gradient(1px 1px at 52% 64%, rgba(255,255,255,0.62), transparent),
    radial-gradient(1.5px 1.5px at 68% 32%, rgba(231, 231, 231,0.74), transparent),
    radial-gradient(1px 1px at 74% 82%, rgba(255,255,255,0.46), transparent),
    radial-gradient(1px 1px at 88% 18%, rgba(173, 173, 173,0.62), transparent),
    radial-gradient(1.5px 1.5px at 94% 69%, rgba(255,255,255,0.7), transparent);
  background-size: 100% 100%;
}

.space-bg::after {
  content: "";
  position: absolute;
  inset: -16%;
  background:
    conic-gradient(from 220deg at 50% 30%, transparent 0deg, rgba(138, 138, 138, 0.12) 48deg, transparent 94deg, rgba(202, 202, 202, 0.08) 148deg, transparent 210deg, rgba(156, 156, 156, 0.09) 278deg, transparent 360deg);
  filter: blur(34px);
  opacity: 0.72;
  transform: rotate(-6deg);
}

.orb { display: none; }

.site-header {
  background: linear-gradient(180deg, rgba(4, 4, 4, 0.78), rgba(4, 4, 4, 0.28));
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.brand {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: 0;
}

.cosmic-hero {
  position: relative;
  min-height: min(880px, calc(100svh - 72px));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(72px, 8vw, 110px) 0 clamp(44px, 7vw, 84px);
}

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.18), rgba(4, 4, 4, 0.74)),
    radial-gradient(560px 240px at 50% 56%, rgba(202, 202, 202, 0.20), transparent 68%),
    radial-gradient(740px 420px at 50% 42%, rgba(124, 124, 124, 0.28), transparent 70%);
}

.hero-sky::before,
.hero-sky::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(78vw, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(231, 231, 231, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-10deg) scaleY(0.42);
  box-shadow: 0 0 90px rgba(125, 125, 125, 0.13), inset 0 0 80px rgba(202, 202, 202, 0.05);
}

.hero-sky::after {
  width: min(96vw, 1160px);
  border-color: rgba(158, 158, 158, 0.12);
  transform: translate(-50%, -50%) rotate(10deg) scaleY(0.34);
}

.star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,0.86), 0 0 44px var(--violet-glow);
}

.star-a { left: 18%; top: 23%; }
.star-b { right: 21%; top: 31%; background: var(--gold-bright); }
.star-c { left: 66%; bottom: 24%; width: 3px; height: 3px; }

.cosmic-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  text-align: center;
}

.cosmic-hero .role {
  margin: 0 auto clamp(18px, 3vw, 34px);
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 1.4vw, 0.92rem);
  font-weight: 700;
  color: rgba(249, 249, 249, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.26em;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(170px, 26vw, 330px);
  margin-inline: auto;
  isolation: isolate;
}

.hero-mark::before {
  content: "";
  position: absolute;
  width: min(78vw, 720px);
  height: clamp(120px, 20vw, 250px);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(231, 231, 231, 0.28), rgba(125, 125, 125, 0.12) 48%, transparent 78%);
  filter: blur(18px);
  opacity: 0.96;
}

.hero-logo,
.hero-wordmark {
  position: relative;
  z-index: 1;
  max-width: min(82vw, 760px);
}

.hero-logo {
  max-height: clamp(152px, 27.2vw, 344px);
  width: auto;
  filter: drop-shadow(0 0 26px rgba(255,255,255,0.32)) drop-shadow(0 0 88px var(--gold-glow));
}

.gravity-particle {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(249, 249, 249, 0.88);
  box-shadow:
    0 0 12px rgba(249, 249, 249, 0.42),
    0 0 34px rgba(202, 202, 202, 0.26);
  opacity: 0.72;
  transform-origin: center;
  animation: gravity-drift 9s ease-in-out infinite;
}

.gp-1 { transform: translate(-310px, -112px) scale(0.75); animation-delay: -1.2s; }
.gp-2 { transform: translate(294px, -86px) scale(0.55); animation-delay: -3.8s; }
.gp-3 { transform: translate(-238px, 128px) scale(0.42); animation-delay: -5.1s; }
.gp-4 { transform: translate(250px, 124px) scale(0.68); animation-delay: -6.4s; }
.gp-5 { transform: translate(-118px, -174px) scale(0.35); animation-delay: -2.5s; }
.gp-6 { transform: translate(122px, -166px) scale(0.48); animation-delay: -4.4s; }
.gp-7 { transform: translate(-28px, 178px) scale(0.4); animation-delay: -7.2s; }
.gp-8 { transform: translate(22px, -218px) scale(0.28); animation-delay: -8.1s; }

@keyframes gravity-drift {
  0%, 100% {
    margin: 0;
    opacity: 0.42;
  }
  50% {
    margin: -10px 0 0 8px;
    opacity: 0.9;
  }
}

.hero-wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12.5vw, 11rem);
  font-weight: 500;
  line-height: 0.86;
  color: #f9f9f9;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.20),
    0 0 70px rgba(202, 202, 202, 0.30),
    0 0 140px rgba(125, 125, 125, 0.30);
}

.cosmic-hero .lede {
  max-width: 720px;
  margin: clamp(18px, 3vw, 34px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.3vw, 2.25rem);
  line-height: 1.22;
  color: rgba(249, 249, 249, 0.78);
}

.cosmic-hero .hero-actions {
  justify-content: center;
  margin-top: clamp(28px, 4vw, 46px);
}

.btn {
  border-radius: 999px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.section {
  position: relative;
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.cta-band h2 {
  font-size: clamp(2.6rem, 6.6vw, 5.8rem);
  line-height: 0.92;
}

.section-head p {
  max-width: 590px;
}

.craft-section {
  padding-top: clamp(64px, 10vw, 130px);
}

.craft-stream {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.craft {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: baseline;
  padding: clamp(24px, 4vw, 42px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.craft .num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.22em;
}

.craft h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
}

.craft p {
  margin: 0;
  max-width: 560px;
  color: var(--ink-soft);
}

.timeline-section {
  padding-top: clamp(40px, 8vw, 110px);
}

.experience-timeline {
  list-style: none;
  margin: clamp(36px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.experience-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  padding: clamp(24px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.experience-timeline time {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.experience-timeline strong {
  display: block;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: rgba(249, 249, 249, 0.92);
}

.workbench-cinema {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 68vw, 760px);
  display: grid;
  align-items: center;
  margin-block: clamp(32px, 8vw, 96px);
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.92), rgba(4, 4, 4, 0.28) 52%, rgba(4, 4, 4, 0.94)),
    radial-gradient(800px 360px at 62% 44%, rgba(202, 202, 202, 0.20), transparent 68%),
    radial-gradient(900px 520px at 74% 22%, rgba(106, 106, 106, 0.42), transparent 70%),
    linear-gradient(140deg, #070707, #101010 48%, #040404);
  border-block: 1px solid rgba(255, 255, 255, 0.10);
}

.workbench-cinema::before {
  content: "";
  position: absolute;
  inset: 8% -12% auto auto;
  width: min(70vw, 820px);
  aspect-ratio: 1.55;
  border: 1px solid rgba(231, 231, 231, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: blur(0.2px);
  box-shadow: 0 0 80px rgba(202, 202, 202, 0.12), inset 0 0 64px rgba(125, 125, 125, 0.12);
}

.workbench-cinema::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 72%, transparent);
  opacity: 0.46;
}

.workbench-link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
}

.workbench-link:hover {
  color: var(--ink);
}

.cinema-kicker {
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.workbench-link strong {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.8rem);
  font-weight: 500;
  line-height: 0.9;
  text-shadow: 0 0 66px rgba(202, 202, 202, 0.20);
}

.workbench-link span:not(.cinema-kicker) {
  max-width: 560px;
  margin-top: 28px;
  color: rgba(249, 249, 249, 0.74);
}

.workbench-link em {
  margin-top: 34px;
  font-style: normal;
  font-weight: 800;
  color: #0e0e0e;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: 0 0 38px rgba(202, 202, 202, 0.20);
}

.universe {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proj,
.cap,
.cta-band {
  border-radius: 0;
}

.proj {
  min-height: 310px;
  border-width: 0 0 0 1px;
  border-color: rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.060), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.018);
  backdrop-filter: blur(20px);
}

.proj::before {
  inset: auto 18px 18px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(202, 202, 202, 0.18), transparent 70%);
  opacity: 0.42;
}

.proj-workbench {
  background:
    radial-gradient(340px 260px at 70% 18%, rgba(125, 125, 125,0.22), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.064), rgba(255,255,255,0.018));
}

.cta-band {
  background:
    linear-gradient(90deg, transparent, rgba(202, 202, 202, 0.08), transparent),
    rgba(255, 255, 255, 0.025);
  border-inline: 0;
}

@media (max-width: 980px) {
  .universe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .craft {
    grid-template-columns: 1fr;
  }

  .craft p {
    grid-column: auto;
  }

  .experience-timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .cosmic-hero {
    min-height: calc(100svh - 72px);
  }

  .cosmic-hero .role {
    letter-spacing: 0.16em;
  }

  .hero-mark {
    min-height: 160px;
  }

  .gravity-particle {
    width: 4px;
    height: 4px;
  }

  .gp-1 { transform: translate(-132px, -74px) scale(0.75); }
  .gp-2 { transform: translate(128px, -60px) scale(0.55); }
  .gp-3 { transform: translate(-108px, 76px) scale(0.42); }
  .gp-4 { transform: translate(116px, 82px) scale(0.68); }
  .gp-5 { transform: translate(-48px, -116px) scale(0.35); }
  .gp-6 { transform: translate(54px, -106px) scale(0.48); }
  .gp-7 { transform: translate(-16px, 112px) scale(0.4); }
  .gp-8 { transform: translate(12px, -140px) scale(0.28); }

  .hero-wordmark {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .cosmic-hero .lede {
    font-size: 1.32rem;
  }

  .craft {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .craft p {
    grid-column: auto;
  }

  .brand-logo {
    height: 28px;
    max-width: 88px;
  }

  .universe {
    grid-template-columns: 1fr;
  }

  .workbench-link strong,
  .section-head h2,
  .cta-band h2 {
    line-height: 1;
  }
}

/* ============================================================
   WooCommerce fixes (v0.2.8) — shop sort removed, single-product
   layout. WooCommerce core forces div.images/div.summary to 48%;
   override so the gallery + summary fill their grid columns.
   ============================================================ */
.woocommerce .woocommerce-ordering { display: none !important; }

/* Single product: balanced two columns, summary + gallery fill them. */
.woocommerce div.product {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
/* gallery thumbnail strip stays in a tidy row */
.woocommerce div.product div.images .flex-control-thumbs li {
  width: 22% !important;
}

/* Title/price sized to fit the column (was clamping up to 4.8rem -> bad wraps) */
.woocommerce div.product .product_title {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.04;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Dropdowns: option list was off-white text on the white native popup
   (invisible). Keep the closed control light-on-dark; make the open
   option list dark-on-white so it's readable. */
.woocommerce select option,
.woocommerce .variations select option {
  color: #151515 !important;
  background-color: #ffffff !important;
}
/* select2 (e.g. checkout country) dropdown readability */
.select2-container--default .select2-results__option { color: #151515; }
.select2-dropdown { background: #ffffff; border-color: rgba(0,0,0,0.15); }
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--gold); color: #0e0e0e;
}

/* ============================================================
   WooCommerce refinements (v0.2.9)
   ============================================================ */
.site-header .wrap {
  gap: clamp(16px, 2.2vw, 28px);
}

.site-nav {
  margin-left: auto;
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.055);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.header-cart:hover {
  color: var(--gold-bright);
  border-color: rgba(231, 231, 231, 0.36);
  background: rgba(202, 202, 202, 0.10);
  transform: translateY(-1px);
}

.header-cart svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--gold-bright);
  color: #0e0e0e;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
}

.single-product .woo-wrap {
  max-width: 1240px;
}

.woocommerce.single-product div.product {
  grid-template-columns: minmax(320px, 0.98fr) minmax(360px, 1.02fr);
  column-gap: clamp(36px, 5vw, 70px);
  row-gap: clamp(20px, 3vw, 34px);
}

.aurum-product-breadcrumb {
  grid-column: 1;
  margin: 0 0 -6px;
  color: var(--ink-faint);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.aurum-product-breadcrumb .woocommerce-breadcrumb {
  margin: 0;
  color: var(--ink-faint);
}

.aurum-product-breadcrumb a {
  color: var(--ink-soft);
}

.aurum-product-breadcrumb a:hover {
  color: var(--gold-bright);
}

.aurum-product-breadcrumb .breadcrumb-separator {
  display: inline-block;
  margin-inline: 0.55em;
  color: rgba(255,255,255,0.28);
}

.woocommerce.single-product div.product div.images {
  grid-column: 1;
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.025);
}

.woocommerce.single-product div.product div.summary {
  grid-column: 2;
  padding-top: clamp(18px, 3vw, 36px);
}

.woocommerce div.product .product_title {
  margin-bottom: clamp(14px, 2vw, 20px);
}

.aurum-product-description {
  max-width: 62ch;
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}

.aurum-product-description p:first-child {
  margin-top: 0;
}

.aurum-product-description p:last-child {
  margin-bottom: 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.woocommerce div.product .woocommerce-product-gallery__trigger {
  display: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
}

.woocommerce div.product div.images .flex-control-thumbs img {
  display: block;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
  opacity: 1;
  transform: scale(1.025);
}

.woocommerce.single-product div.product .woocommerce-tabs {
  margin-top: clamp(42px, 7vw, 86px);
  padding-top: clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.woocommerce.single-product div.product .woocommerce-tabs .panel {
  max-width: 100%;
}

@media (max-width: 980px) {
  .woocommerce.single-product div.product {
    grid-template-columns: 1fr;
  }

  .aurum-product-breadcrumb,
  .woocommerce.single-product div.product div.images,
  .woocommerce.single-product div.product div.summary {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .site-header .wrap {
    justify-content: flex-start;
  }

  .site-nav {
    margin-left: auto;
  }

  .header-cart {
    width: 40px;
    height: 40px;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    gap: 9px;
  }
}

/* Bottom product information tabs: override WooCommerce active white tab. */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold-bright) !important;
  background: transparent !important;
  text-shadow: 0 0 18px rgba(202, 202, 202, 0.22);
}

/* ============================================================
   WooCommerce refinements (v0.3.0)
   ============================================================ */
.header-cart {
  width: auto;
  height: 36px;
  border: 0;
  background: transparent;
  padding-inline: 2px 0;
}

.header-cart:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.header-cart-count {
  top: -4px;
  right: -10px;
}

.single-product .woo-wrap {
  padding-top: clamp(16px, 1.8vw, 28px) !important;
}

.woocommerce.single-product div.product {
  grid-template-columns: minmax(360px, 0.98fr) minmax(380px, 1.02fr);
  column-gap: clamp(34px, 4.6vw, 62px);
  row-gap: clamp(18px, 2vw, 26px);
}

.aurum-product-breadcrumb {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.aurum-product-breadcrumb .woocommerce-breadcrumb {
  color: inherit;
}

.aurum-product-breadcrumb a {
  color: var(--gold-bright);
}

.aurum-product-breadcrumb span[aria-current="page"] {
  color: var(--ink);
}

.aurum-product-breadcrumb .breadcrumb-separator {
  margin-inline: 0.45em;
  color: rgba(255,255,255,0.32);
}

.woocommerce.single-product div.product div.images {
  padding: clamp(18px, 2.4vw, 28px);
}

.woocommerce div.product div.images .flex-control-thumbs {
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(12px, 1.8vw, 20px);
}

.woocommerce.single-product div.product .woocommerce-tabs {
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: 0;
  border-top: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  max-width: 100%;
}

.woocommerce div.product .woocommerce-tabs .panel > h2 {
  margin-top: 0;
}

.woocommerce.single-product .product_meta {
  display: none;
}

.woocommerce.single-product .related.products {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: clamp(36px, 5.5vw, 72px);
}

.woocommerce.single-product .related.products > h2 {
  margin-bottom: clamp(16px, 2vw, 24px);
}

.woocommerce.single-product .related.products ul.products {
  width: 100%;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.woocommerce.single-product .related.products ul.products li.product {
  min-width: 0;
}

@media (max-width: 980px) {
  .woocommerce.single-product div.product {
    grid-template-columns: 1fr;
  }

  .woocommerce.single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .single-product .woo-wrap {
    padding-top: 24px !important;
  }

  .aurum-product-breadcrumb {
    font-size: 1.08rem;
  }

  .woocommerce.single-product .related.products ul.products {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   v0.3.3 — shop usability: readable form controls, continue
   shopping links, PayPal remnant cleanup
   ============================================================ */
.woocommerce select,
.woocommerce .variations select,
.woocommerce .quantity .qty,
.woocommerce #coupon_code,
.woocommerce .select2-container--default .select2-selection--single {
  background: rgba(255,255,255,0.96) !important;
  color: #131313 !important;
  border: 1px solid rgba(255,255,255,0.30) !important;
  border-radius: 0;
}

.woocommerce select,
.woocommerce .variations select,
.woocommerce .select2-container--default .select2-selection--single {
  height: 46px !important;
  min-height: 46px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #131313 !important;
  line-height: 44px !important;
  padding-left: 14px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px !important;
}

.woocommerce .quantity .qty {
  text-align: center;
}

.woocommerce #coupon_code {
  width: 200px !important;
}

.woocommerce input::placeholder,
.woocommerce textarea::placeholder {
  color: rgba(19, 19, 19,0.55);
  opacity: 1;
}

/* Continue shopping links (cart + order received) */
.aurum-continue-shopping {
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.aurum-continue-shopping a {
  color: var(--ink-soft);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.aurum-continue-shopping a:hover {
  color: var(--gold-bright);
}

.aurum-continue-shopping--thankyou {
  margin: 26px 0 0;
}

/* Kill any leftover PayPal smart-button placeholders outside checkout */
.single-product .ppc-button-wrapper,
.woocommerce-cart .ppc-button-wrapper,
.single-product .ppcp-messages,
.woocommerce-cart .ppcp-messages {
  display: none !important;
}

/* v0.3.4 — native select vertical centering + Printful size-guide link tone */
.woocommerce select,
.woocommerce .variations select {
  padding: 0 14px !important;
  line-height: 44px;
}

.woocommerce div.product form.cart a {
  color: var(--gold);
}

/* v0.3.5 — select2 vertical centering, select typography, size-guide link */
.woocommerce .select2-container--default .select2-selection--single {
  padding: 0 !important;
}

.woocommerce select,
.woocommerce .variations select {
  font: inherit;
  font-size: 0.95rem !important;
}

.woocommerce div.product form.cart a {
  color: var(--gold) !important;
}


/* ============================================================
   AGDaily satellite link (far right of primary menu)
   ============================================================ */
.menu-item-agdaily { display: flex; align-items: center; }
.agdaily-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.agdaily-link .agdaily-icon {
  width: 19px;
  height: 19px;
  display: block;
  transition: color 0.2s var(--ease), filter 0.2s var(--ease), transform 0.3s var(--ease);
}
.agdaily-link:hover { color: var(--gold); }
.agdaily-link:hover .agdaily-icon {
  filter: drop-shadow(0 0 8px var(--gold-glow));
  transform: rotate(8deg);
}
.agdaily-link::after { display: none; } /* no underline animation for the icon */
@media (max-width: 880px) {
  .menu-item-agdaily { justify-content: center; }
}

/* --- Hero logo glitch (THN-style RGB split), v0.3.8 --- */
.hero-logo-stack {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  animation: ag-glitch-skew 4s steps(1, end) infinite;
}
.hero-logo-stack .hero-logo {
  grid-area: 1 / 1;
}
.hero-logo-glitch {
  grid-area: 1 / 1;
  z-index: 2;
  max-width: min(82vw, 760px);
  max-height: clamp(152px, 27.2vw, 344px);
  width: auto;
  pointer-events: none;
  opacity: 0.85;
  will-change: clip-path, transform;
}
.hero-logo-glitch.glitch-a {
  filter: drop-shadow(-3px 0 rgba(68, 68, 68, 0.85));
  animation: ag-glitch-a 5s linear infinite alternate-reverse;
}
.hero-logo-glitch.glitch-b {
  filter: drop-shadow(3px 0 rgba(200, 200, 200, 0.85));
  animation: ag-glitch-b 1.6s linear infinite alternate-reverse;
}
@keyframes ag-glitch-a {
  0%   { clip-path: inset(8% 0 80% 0);  transform: translateX(-5px); }
  8%   { clip-path: inset(92% 0 2% 0);  transform: translateX(4px); }
  16%  { clip-path: inset(40% 0 52% 0); transform: translateX(-3px); }
  24%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  46%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  54%  { clip-path: inset(64% 0 28% 0); transform: translateX(6px); }
  62%  { clip-path: inset(22% 0 68% 0); transform: translateX(-4px); }
  70%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  88%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  94%  { clip-path: inset(76% 0 14% 0); transform: translateX(3px); }
  100% { clip-path: inset(30% 0 62% 0); transform: translateX(-6px); }
}
@keyframes ag-glitch-b {
  0%   { clip-path: inset(70% 0 18% 0); transform: translateX(4px); }
  15%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  45%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  55%  { clip-path: inset(14% 0 76% 0); transform: translateX(-5px); }
  70%  { clip-path: inset(48% 0 42% 0); transform: translateX(5px); }
  80%  { clip-path: inset(100% 0 0 0);  transform: translateX(0); }
  100% { clip-path: inset(86% 0 6% 0);  transform: translateX(-3px); }
}
@keyframes ag-glitch-skew {
  0%, 100% { transform: skewX(0deg); }
  72% { transform: skewX(0.8deg); }
  74% { transform: skewX(-0.6deg); }
  76% { transform: skewX(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-stack { animation: none; }
  .hero-logo-glitch { display: none; }
}

/* ===== Who am I ===== */
.whoami-section { padding-block: clamp(52px, 8vw, 104px); }
.whoami-grid {
	display: grid;
	grid-template-columns: minmax(210px, 300px) 1fr;
	gap: clamp(28px, 5vw, 76px);
	align-items: start;
}
.whoami-aside {
	position: sticky; top: 104px;
	border-left: 2px solid var(--gold);
	padding-left: 24px;
}
.whoami-kicker {
	display: inline-block; margin-bottom: 20px;
	font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
	color: var(--gold);
}
.whoami-stat { margin: 0 0 6px; color: var(--ink-faint); font-size: .98rem; line-height: 1.4; }
.whoami-stat b {
	display: block; margin-bottom: 4px;
	font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; font-weight: 700;
	color: var(--ink);
}
.whoami-role {
	margin: 16px 0 0; font-size: 1.15rem; font-weight: 600;
	color: var(--gold-bright);
}
.whoami-body p {
	margin: 0 0 1.15em; max-width: 62ch;
	color: var(--ink-soft); font-size: 1.06rem; line-height: 1.78;
}
.whoami-body p:last-child { margin-bottom: 0; }
.whoami-lead {
	font-size: clamp(1.22rem, 2.2vw, 1.55rem) !important;
	line-height: 1.6 !important; color: var(--ink) !important;
}
.whoami-body strong { color: var(--ink); font-weight: 600; }
.whoami-lead strong { color: var(--gold-bright); }
.whoami-body .hl { color: var(--gold-bright); font-weight: 500; }
@media (max-width: 760px) {
	.whoami-grid { grid-template-columns: 1fr; gap: 26px; }
	.whoami-aside {
		position: static; border-left: 0; padding-left: 0;
		border-top: 2px solid var(--gold); padding-top: 20px;
	}
	.whoami-stat b { font-size: clamp(2.2rem, 9vw, 3rem); }
}
.whoami-section { scroll-margin-top: 96px; }

/* ============================================================
   v0.4.0 — Light shop canvas (WooCommerce pages only)
   White page, accessible dark type, wider grid, larger product
   imagery. Header and footer stay dark brand bands.
   ============================================================ */

/* --- 1. Canvas: white, cosmic layers off (shop pages only) --- */
body.woocommerce,
body.woocommerce-page {
  background: #ffffff;
}

body.woocommerce .space-bg,
body.woocommerce-page .space-bg,
body.woocommerce .orb,
body.woocommerce-page .orb {
  display: none !important;
}

/* --- 2. Header + footer keep the dark band (they keep :root tokens) --- */
body.woocommerce .site-header,
body.woocommerce-page .site-header {
  background: #070707;
  border-bottom: 1px solid rgba(205, 205, 205, 0.12);
}

body.woocommerce .site-footer,
body.woocommerce-page .site-footer {
  background: #070707;
  margin-top: 0;
  padding-block: 56px 44px;
  border-top: 0;
}

/* --- 3. Content tokens flip to dark-on-white inside the shop only ---
   Contrast on #fff: ink 18:1, ink-soft 10:1, ink-faint 5.3:1, gold 5.4:1 */
.woo-wrap {
  --ink:         #131313;
  --ink-soft:    #3f3f3f;
  --ink-faint:   #6a6a6a;
  --line:        rgba(19, 19, 19, 0.10);
  --line-strong: rgba(19, 19, 19, 0.18);
  --gold:        #646464;
  --panel:       #ffffff;
  --maxw:        1560px;
  color: #3f3f3f;
}

.woo-wrap a:hover { color: #454545; }

/* --- 4. Shop header block --- */
.woocommerce .woo-wrap .page-title {
  color: #131313;
  letter-spacing: -0.02em;
}

.woocommerce .woo-wrap .woocommerce-result-count {
  color: #6a6a6a;
}

/* --- 5. Product grid: wider container, bigger tiles --- */
.woocommerce .woo-wrap ul.products,
.woocommerce-page .woo-wrap ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 34px);
  margin-top: 26px;
}

.woocommerce .woo-wrap ul.products li.product,
.woocommerce-page .woo-wrap ul.products li.product {
  padding: 0 0 20px;
  border: 1px solid rgba(19, 19, 19, 0.10);
  border-radius: 14px;
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(19, 19, 19, 0.04);
}

.woocommerce .woo-wrap ul.products li.product:hover,
.woocommerce-page .woo-wrap ul.products li.product:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 19, 19, 0.18);
  box-shadow: 0 20px 44px -20px rgba(19, 19, 19, 0.28);
}

/* Larger imagery, subtle tint so white-on-white mockups still read */
.woocommerce .woo-wrap ul.products li.product a img,
.woocommerce-page .woo-wrap ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 20px;
  background: #f3f3f3;
  border-bottom: 1px solid rgba(19, 19, 19, 0.06);
  transition: transform 0.45s var(--ease);
}

.woocommerce .woo-wrap ul.products li.product:hover a img,
.woocommerce-page .woo-wrap ul.products li.product:hover a img {
  transform: scale(1.045);
}

.woocommerce .woo-wrap ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.7em;
  padding: 0 20px;
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #131313;
}

.woocommerce .woo-wrap ul.products li.product .price,
.woocommerce-page .woo-wrap ul.products li.product .price {
  padding: 0 20px;
  margin: 0 0 18px;
  color: #131313 !important;
  font-size: 1.05rem;
  font-weight: 800;
}

.woocommerce .woo-wrap ul.products li.product .price del {
  color: #6a6a6a !important;
  font-weight: 600;
}

.woocommerce .woo-wrap ul.products li.product .price ins {
  text-decoration: none;
}

/* Full-width CTA reads better in a wide grid */
.woocommerce .woo-wrap ul.products li.product .button {
  align-self: stretch;
  margin: auto 20px 0 !important;
  text-align: center;
}

.woocommerce .woo-wrap ul.products li.product .woocommerce-loop-product__link:focus-visible {
  outline: 2px solid #646464;
  outline-offset: 3px;
}

/* --- 6. Single product on white --- */
.woocommerce .woo-wrap div.product div.images img {
  background: #f3f3f3;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 14px;
}

.woocommerce .woo-wrap div.product .product_title,
.woocommerce .woo-wrap div.product p.price,
.woocommerce .woo-wrap div.product span.price {
  color: #131313 !important;
}

.woocommerce .woo-wrap .aurum-product-description,
.woocommerce .woo-wrap div.product .woocommerce-tabs .panel,
.woocommerce .woo-wrap .product_meta {
  color: #3f3f3f;
}

.woocommerce .woo-wrap div.product .woocommerce-tabs ul.tabs li a {
  color: #6a6a6a;
}

.woocommerce .woo-wrap div.product .woocommerce-tabs ul.tabs li.active a {
  color: #131313;
}

/* --- 7. Panels, tables, notices --- */
.woocommerce .woo-wrap table.shop_table,
.woocommerce-page .woo-wrap table.shop_table {
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.12);
  color: #3f3f3f;
}

.woocommerce .woo-wrap table.shop_table th {
  color: #131313;
}

.woocommerce .woo-wrap table.shop_table th,
.woocommerce .woo-wrap table.shop_table td {
  border-color: rgba(19, 19, 19, 0.10);
}

.woo-wrap .cart-collaterals .cart_totals,
.woo-wrap #customer_details,
.woo-wrap #order_review,
.woo-wrap .woocommerce-MyAccount-navigation,
.woo-wrap .woocommerce-MyAccount-content,
.woo-wrap form.checkout_coupon,
.woo-wrap form.login,
.woo-wrap form.register {
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.12);
  color: #3f3f3f;
}

.woocommerce .woo-wrap .woocommerce-message,
.woocommerce .woo-wrap .woocommerce-info,
.woocommerce .woo-wrap .woocommerce-error,
.woocommerce-page .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-page .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-page .woocommerce-notices-wrapper .woocommerce-error {
  background: #f7f7f7;
  border: 1px solid rgba(19, 19, 19, 0.12);
  color: #131313;
}

/* Form controls: keep the v0.3.5 white fields, give them a visible edge */
.woocommerce .woo-wrap input.input-text,
.woocommerce .woo-wrap textarea,
.woocommerce .woo-wrap select,
.woocommerce .woo-wrap .quantity .qty,
.woocommerce .woo-wrap .select2-container--default .select2-selection--single {
  border-color: rgba(19, 19, 19, 0.22) !important;
  color: #131313 !important;
}

.woocommerce .woo-wrap input.input-text:focus,
.woocommerce .woo-wrap textarea:focus,
.woocommerce .woo-wrap select:focus {
  border-color: #646464 !important;
  box-shadow: 0 0 0 3px rgba(100, 100, 100, 0.14) !important;
}

.woo-wrap .aurum-continue-shopping a {
  color: #646464;
}

/* --- 8. Wide-screen breathing room --- */
@media (min-width: 1200px) {
  .woocommerce .woo-wrap div.product {
    gap: clamp(40px, 5vw, 76px);
  }
}

/* --- 9. Shop grid responsiveness (overrides the legacy woo breakpoints) --- */
@media (max-width: 1100px) {
  .woocommerce .woo-wrap ul.products,
  .woocommerce-page .woo-wrap ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .woocommerce .woo-wrap ul.products,
  .woocommerce-page .woo-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .woocommerce .woo-wrap ul.products,
  .woocommerce-page .woo-wrap ul.products {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce .woo-wrap ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
  }
}

/* --- 10. v0.4.2 fix: cart / checkout / account use page.php (no .woo-wrap).
   Scope the light tokens to .site-main so every shop page flips, while the
   header and footer keep the :root dark tokens. --- */
body.woocommerce .site-main,
body.woocommerce-page .site-main {
  --ink:         #131313;
  --ink-soft:    #3f3f3f;
  --ink-faint:   #6a6a6a;
  --line:        rgba(19, 19, 19, 0.10);
  --line-strong: rgba(19, 19, 19, 0.18);
  --gold:        #646464;
  --panel:       #ffffff;
  color: #3f3f3f;
}

body.woocommerce-page .site-main .page-hero h1,
body.woocommerce-page .site-main h1,
body.woocommerce-page .site-main h2,
body.woocommerce-page .site-main h3 {
  color: #131313;
}

body.woocommerce-page .site-main a:hover {
  color: #454545;
}

/* Notices (empty cart, coupon applied, errors) */
body.woocommerce-page .site-main .woocommerce-message,
body.woocommerce-page .site-main .woocommerce-info,
body.woocommerce-page .site-main .woocommerce-error {
  background: #f7f7f7 !important;
  border: 1px solid rgba(19, 19, 19, 0.12) !important;
  color: #131313 !important;
}

body.woocommerce-page .site-main .woocommerce-message a,
body.woocommerce-page .site-main .woocommerce-info a,
body.woocommerce-page .site-main .woocommerce-error a {
  color: #646464;
}

/* Cart / checkout tables and panels */
body.woocommerce-page .site-main table.shop_table {
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.12);
  color: #3f3f3f;
}

body.woocommerce-page .site-main table.shop_table th {
  color: #131313;
}

body.woocommerce-page .site-main table.shop_table th,
body.woocommerce-page .site-main table.shop_table td {
  border-color: rgba(19, 19, 19, 0.10);
}

body.woocommerce-page .site-main .cart-collaterals .cart_totals,
body.woocommerce-page .site-main #customer_details,
body.woocommerce-page .site-main #order_review,
body.woocommerce-page .site-main .woocommerce-MyAccount-navigation,
body.woocommerce-page .site-main .woocommerce-MyAccount-content,
body.woocommerce-page .site-main form.checkout_coupon,
body.woocommerce-page .site-main form.login,
body.woocommerce-page .site-main form.register,
body.woocommerce-page .site-main .woocommerce-order,
body.woocommerce-page .site-main .woocommerce-customer-details {
  background: #ffffff;
  border: 1px solid rgba(19, 19, 19, 0.12);
  color: #3f3f3f;
}

body.woocommerce-page .site-main .woocommerce-MyAccount-navigation a {
  color: #3f3f3f;
}

body.woocommerce-page .site-main .woocommerce-MyAccount-navigation .is-active a {
  color: #131313;
}

/* Form controls on the light canvas */
body.woocommerce-page .site-main input.input-text,
body.woocommerce-page .site-main textarea,
body.woocommerce-page .site-main select,
body.woocommerce-page .site-main .quantity .qty,
body.woocommerce-page .site-main .select2-container--default .select2-selection--single {
  border-color: rgba(19, 19, 19, 0.22) !important;
  color: #131313 !important;
}

body.woocommerce-page .site-main input.input-text:focus,
body.woocommerce-page .site-main textarea:focus,
body.woocommerce-page .site-main select:focus {
  border-color: #646464 !important;
  box-shadow: 0 0 0 3px rgba(100, 100, 100, 0.14) !important;
}

body.woocommerce-page .site-main label,
body.woocommerce-page .site-main .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-page .site-main .wc_payment_methods label {
  color: #3f3f3f;
}

body.woocommerce-page .site-main .aurum-continue-shopping a {
  color: #646464;
}

/* --- 11. v0.4.3: keep the dark footer pinned to the viewport bottom on
   short shop pages (empty cart, order received) so no white strip shows. --- */
body.woocommerce,
body.woocommerce-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.woocommerce .site-main,
body.woocommerce-page .site-main {
  flex: 1 0 auto;
}

body.woocommerce .site-footer,
body.woocommerce-page .site-footer {
  flex: 0 0 auto;
}

/* --- 12. v0.4.4: cart / checkout / account run through page.php, whose
   .entry is capped at 820px for prose. That squeezed the shop pages into a
   narrow centre column misaligned with their own title. Match the shop. --- */
body.woocommerce-page .site-main .page-hero,
body.woocommerce-page .site-main .entry {
  --maxw: 1560px;
}

body.woocommerce-page .site-main .entry {
  max-width: var(--maxw);
}

/* Cart: let the line-items table breathe, keep totals a sane column */
body.woocommerce-cart .site-main .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
}

@media (min-width: 1000px) {
  body.woocommerce-cart .site-main .cart-collaterals {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    float: none;
  }

  body.woocommerce-cart .site-main .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
  }
}

/* --- 13. v0.4.5: real two-column cart (items | totals) and usable
   thumbnails. Woo renders 32px cart thumbs and floats the totals, which
   left a large dead gap once the column was widened. --- */
body.woocommerce-cart .site-main .product-thumbnail img {
  width: 76px;
  height: 76px;
  max-width: none;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f3f3;
  border: 1px solid rgba(19, 19, 19, 0.08);
}

body.woocommerce-cart .site-main .aurum-continue-shopping {
  margin: 0 0 6px;
}

@media (min-width: 1000px) {
  body.woocommerce-cart .site-main .woocommerce {
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: start;
    column-gap: clamp(32px, 3.5vw, 60px);
    row-gap: 18px;
  }

  body.woocommerce-cart .site-main .aurum-continue-shopping,
  body.woocommerce-cart .site-main .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
  }

  body.woocommerce-cart .site-main .woocommerce-cart-form {
    grid-column: 1;
    margin: 0;
  }

  body.woocommerce-cart .site-main .cart-collaterals {
    grid-column: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    float: none;
  }

  body.woocommerce-cart .site-main .cart-collaterals .cart_totals {
    width: 100%;
    margin: 0;
    float: none;
  }
}

/* ============================================================
   v0.5.0 — Refresh: text h1, live "Now" strip, calmer glitch,
   tighter rhythm, condensed timeline, bento universe, colophon.
   ============================================================ */

/* --- Hero: name + role as real text under the mark --- */
.cosmic-hero {
  min-height: 0;
  padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px);
}
.hero-mark { min-height: clamp(150px, 22vw, 280px); }
.hero-logo,
.hero-logo-glitch { max-height: clamp(130px, 22vw, 280px); }
.hero-name {
  margin: clamp(14px, 2.4vw, 26px) auto 6px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(202, 202, 202, 0.18);
}
.hero-role {
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: clamp(0.74rem, 1.2vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-role-sep { margin: 0 0.35em; color: var(--ink-faint); }
.cosmic-hero .lede {
  max-width: 640px;
  margin-top: clamp(18px, 2.6vw, 30px);
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  line-height: 1.3;
  color: rgba(249, 249, 249, 0.82);
}
.cosmic-hero .hero-actions { margin-top: clamp(22px, 3vw, 34px); }

/* --- Now strip --- */
.now-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1080px;
  margin: clamp(30px, 4.5vw, 54px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  text-align: left;
  overflow: hidden;
}
.now-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(202, 202, 202, 0.06);
}
.now-pulse {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(202, 202, 202, 0.6);
  animation: now-pulse 2.2s ease-out infinite;
}
@keyframes now-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(202, 202, 202, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(202, 202, 202, 0); }
  100% { box-shadow: 0 0 0 0 rgba(202, 202, 202, 0); }
}
.now-items {
  display: flex;
  flex: 1 1 auto;
  gap: 0;
  margin: 0; padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.now-items::-webkit-scrollbar { display: none; }
.now-items li { flex: 0 0 auto; display: flex; }
.now-items li + li { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.now-items a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(249, 249, 249, 0.80);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.now-items a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.035); }
.now-k {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.now-date { margin-left: 4px; font-size: 0.78rem; color: var(--ink-faint); }
@media (max-width: 640px) {
  .now-strip { flex-direction: column; border-radius: 12px; }
  .now-label { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.10); padding: 10px 14px; }
  .now-items a { font-size: 0.86rem; padding: 11px 14px; }
}

/* --- Glitch: single 0.9s burst, triggered by JS (load + hover) --- */
.hero-logo-stack { animation: none; }
.hero-logo-glitch { opacity: 0; animation: none; }
.hero-logo-stack.is-glitching { animation: ag-glitch-skew 0.9s steps(1, end) 1; }
.hero-logo-stack.is-glitching .hero-logo-glitch { opacity: 0.85; }
.hero-logo-stack.is-glitching .glitch-a { animation: ag-glitch-a 0.9s linear 1; }
.hero-logo-stack.is-glitching .glitch-b { animation: ag-glitch-b 0.9s linear 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-logo-stack.is-glitching,
  .hero-logo-stack.is-glitching .hero-logo-glitch { animation: none; opacity: 0; }
  .now-pulse { animation: none; }
}

/* --- Vertical rhythm: about a third tighter --- */
.section { padding-block: clamp(44px, 6.5vw, 88px); }
.whoami-section { padding-block: clamp(40px, 6vw, 80px); }
.craft-section { padding-top: clamp(40px, 6vw, 80px); }
.timeline-section { padding-top: clamp(24px, 4vw, 56px); }
.section-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head h2,
.cta-band h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
.craft { padding: clamp(16px, 2.6vw, 26px) 0; }
.craft h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.workbench-cinema {
  min-height: clamp(360px, 44vw, 520px);
  margin-block: clamp(20px, 4vw, 56px);
}
.workbench-link strong { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.workbench-link span:not(.cinema-kicker) { margin-top: 20px; }
.workbench-link em { margin-top: 26px; }
.cta-band { padding: clamp(36px, 5vw, 60px) var(--gutter); }

/* --- Timeline: body-size type, compact rows, native expander --- */
.experience-timeline { margin-top: clamp(20px, 3vw, 36px); }
.experience-timeline li {
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr) minmax(120px, 0.24fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(14px, 2vw, 20px) 0;
}
.experience-timeline time { font-size: 0.74rem; letter-spacing: 0.12em; }
.experience-timeline strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}
.experience-timeline li > span {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--ink-faint);
  text-align: right;
}
.timeline-more { margin-top: 0; }
.timeline-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
.timeline-more summary::-webkit-details-marker { display: none; }
.timeline-more summary > span:first-child::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--gold-bright);
  transition: transform 0.25s var(--ease);
}
.timeline-more[open] summary > span:first-child::before { transform: rotate(45deg); }
.timeline-more-count { font-weight: 500; letter-spacing: 0; color: var(--ink-faint); }
.timeline-more summary:hover { color: var(--gold-bright); }
.experience-timeline--more { margin-top: 0; border-top: 0; }
@media (max-width: 760px) {
  .experience-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .experience-timeline li > span { text-align: left; }
}

/* --- Universe: bento --- */
.universe-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.universe-bento .proj {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.universe-bento .proj:hover { border-color: rgba(202, 202, 202, 0.35); transform: translateY(-4px); }
.universe-bento .proj::before { display: none; }
.proj-featured { grid-column: span 6; }
.proj-wide     { grid-column: span 6; }
.proj-small    { grid-column: span 3; }
.proj-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090909;
}
.proj-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.6s var(--ease);
}
.universe-bento .proj:hover .proj-media img { transform: scale(1.05); }
.proj-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 6, 6, 0.92));
}
.proj-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(18px, 2.2vw, 26px);
}
.universe-bento .proj h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); margin: 8px 0 8px; }
.universe-bento .proj p { margin: 0 0 16px; font-size: 0.95rem; }
.proj-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.proj-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 11px;
  border: 1px solid rgba(202, 202, 202, 0.22);
  border-radius: 999px;
  background: rgba(202, 202, 202, 0.06);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.proj-stats b { font-weight: 800; color: var(--gold-bright); }
.proj-latest {
  display: block;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.universe-bento .proj .go { margin-top: auto; }
.proj-uses .proj-body,
.proj-shop .proj-body { justify-content: flex-end; }
.proj-uses {
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(125, 125, 125,0.22), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)) !important;
}
.proj-shop {
  background:
    radial-gradient(260px 180px at 0% 100%, rgba(202, 202, 202,0.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)) !important;
}
@media (max-width: 980px) {
  .universe-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj-featured, .proj-wide, .proj-small { grid-column: auto; }
  .proj-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .universe-bento { grid-template-columns: 1fr; }
  .proj-wide { grid-column: auto; }
}

/* --- Footer colophon --- */
.site-footer { margin-top: 0; padding-block: 44px 32px; }
.footer-colophon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 32px;
  align-items: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.footer-social a {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.footer-social a:hover { color: var(--gold); }
.footer-place,
.footer-stack {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.footer-place { display: inline-flex; align-items: center; gap: 8px; justify-self: end; }
.footer-stack { grid-column: 1 / -1; }
.footer-sep { margin: 0 0.35em; opacity: 0.6; }
.footer-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: #c9c9c9;
  box-shadow: 0 0 10px rgba(201, 201, 201, 0.7);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 22px;
}
.footer-bottom .footer-payments { margin-top: 0; }
.footer-bottom .footer-meta { margin-top: 0; }
@media (max-width: 640px) {
  .footer-colophon { grid-template-columns: 1fr; }
  .footer-place { justify-self: start; }
}

/* Shop pages keep their light canvas; colophon inherits the dark footer band tokens already. */

/* v0.5.0 fix: the nowrap Now-strip items must never widen the hero track (mobile overflow). */
.cosmic-hero { grid-template-columns: minmax(0, 1fr); }
.cosmic-hero .hero-inner { width: 100%; min-width: 0; }
.now-strip { min-width: 0; max-width: min(100%, 1080px); }
.now-items { min-width: 0; }

/* ---------- Work / case studies page (v0.5.1) ---------- */
.agust-work-page { max-width: var(--maxw); margin-inline: auto; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 10vw, 120px); }
.agust-work-page .kicker,
.agust-work-page .tree-label,
.agust-work-page .section-command { color: var(--gold-deep); font-size: 0.9rem; margin: 0 0 10px; }
.agust-work-page .hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 18px; }
.agust-work-page .cursor { display: inline-block; width: 11px; height: 1.1em; vertical-align: -2px; margin-left: 4px; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); animation: blink 1.1s steps(1) infinite; }
.agust-work-page .intro { max-width: 760px; color: var(--ink-soft); font-size: 1.12rem; }
.agust-work-page .principles { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.agust-work-page .principles li { padding: 14px 16px; border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: var(--radius-sm); color: var(--ink-soft); font-size: 0.95rem; }
.agust-work-page .principles b { color: var(--gold); display: block; margin-bottom: 4px; }
.agust-work-page .tree { margin-block: clamp(28px, 4vw, 48px); }
.agust-work-page pre.mono { margin: 0; color: var(--silver); font-size: 0.95rem; line-height: 1.7; white-space: pre; overflow-x: auto; }
.agust-work-page pre.mono a { color: var(--gold); }
.agust-work-page .case { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line, rgba(255,255,255,.1)); scroll-margin-top: 90px; max-width: 900px; }
.agust-work-page .case h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 12px; color: var(--ink); }
.agust-work-page .case-meta { font-size: 0.8rem; color: var(--silver-dim); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.agust-work-page .status { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--gold-deep); color: var(--gold); }
.agust-work-page .status.live::before { content: "● "; color: #b5b5b5; }
.agust-work-page .lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 18px; }
.agust-work-page .case-body p, .agust-work-page .case-body li { color: var(--ink-soft); }
.agust-work-page .case-body ul { padding-left: 1.2em; }
.agust-work-page .case-body li { margin-bottom: 6px; }
.agust-work-page .case-body b { color: var(--ink); }
.agust-work-page .honest { font-size: 0.92rem; border-left: 2px solid var(--gold-deep); padding-left: 12px; }
.agust-work-page .stack { font-size: 0.82rem; color: var(--silver-dim); }
.agust-work-page .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0 0 22px; }
.agust-work-page .stats div { padding: 14px; border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); }
.agust-work-page .stats dt { font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--gold); font-weight: 600; line-height: 1.1; }
.agust-work-page .stats dd { margin: 4px 0 0; font-size: 0.85rem; color: var(--silver-dim); }
.agust-work-page .case-featured { max-width: none; }
.agust-work-page .own { padding-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--line, rgba(255,255,255,.1)); scroll-margin-top: 90px; }
.agust-work-page .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.agust-work-page .card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: border-color .2s; }
.agust-work-page a.card:hover { border-color: var(--gold-deep); }
.agust-work-page .card .tag { font-size: 0.72rem; color: var(--silver-dim); }
.agust-work-page .card h3 { font-size: 1.15rem; margin: 6px 0 8px; color: var(--ink); }
.agust-work-page .card p { margin: 0 0 14px; font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.agust-work-page .card .linkline { font-size: 0.85rem; color: var(--gold); }
.agust-work-page .footer { margin-top: clamp(40px, 6vw, 70px); color: var(--gold-deep); font-size: 0.9rem; }

/* ---------- Uses v2 (0.6.0) ---------- */
.uses2 { max-width: var(--maxw); margin-inline: auto; padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 10vw, 120px); }
.u2-hero { position: relative; padding-bottom: clamp(24px, 4vw, 44px); }
.u2-hero::before { content: ""; position: absolute; inset: -40px -10% auto -10%; height: 340px; background: radial-gradient(60% 80% at 20% 0%, var(--gold-faint), transparent 70%), radial-gradient(40% 70% at 85% 10%, rgba(115, 115, 115,.10), transparent 70%); pointer-events: none; z-index: -1; }
.u2-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; color: var(--silver-dim); }
.u2-dot { width: 7px; height: 7px; border-radius: 50%; background: #b5b5b5; box-shadow: 0 0 10px #b5b5b5; }
.uses2 h1 { font-size: clamp(3.6rem, 12vw, 8rem); line-height: .95; letter-spacing: -.03em; margin: 0 0 18px; background: linear-gradient(120deg, var(--gold-bright), var(--gold) 45%, var(--silver)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.u2-caret { display: inline-block; width: .08em; height: .8em; margin-left: .06em; background: var(--gold); vertical-align: -.02em; animation: blink 1.1s steps(1) infinite; }
.u2-intro { max-width: 680px; font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 22px; }
.u2-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; font-size: .85rem; }
.u2-stats li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--silver-dim); }
.u2-stats b { color: var(--gold); font-weight: 600; }
.u2-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 600 .68rem var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: #111111; background: var(--gold); vertical-align: 1px; }
.u2-filter { position: sticky; top: 64px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin: 0 0 8px; background: linear-gradient(var(--bg) 70%, transparent); scrollbar-width: none; }
.u2-filter::-webkit-scrollbar { display: none; }
.u2-filter button { flex: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink-soft); font: .85rem var(--font-body); transition: all .2s var(--ease); }
.u2-filter button:hover { border-color: var(--gold-deep); color: var(--ink); }
.u2-filter button.is-on { background: var(--gold); border-color: var(--gold); color: #111111; font-weight: 600; }
.u2-group { padding-top: clamp(32px, 5vw, 60px); scroll-margin-top: 130px; }
.u2-group[hidden], .u2-card[hidden] { display: none; }
.u2-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.u2-num { font-size: .95rem; color: var(--gold-deep); padding-top: .7em; }
.u2-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 4px; letter-spacing: -.01em; }
.u2-head p { margin: 0; color: var(--silver-dim); max-width: 560px; }
.u2-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.u2-card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; color: inherit; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.u2-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), var(--gold-faint), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.u2-card:hover { transform: translateY(-3px); border-color: rgba(200, 200, 200,.4); }
.u2-card:hover::before { opacity: 1; }
.u2-card.is-daily { border-color: var(--line-strong); background: linear-gradient(160deg, rgba(200, 200, 200,.06), var(--panel) 55%); }
.u2-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.u2-top b { font: 600 1.15rem var(--font-display); color: var(--ink); }
.u2-desc { flex: 1; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.u2-link { font-size: .78rem; color: var(--gold); }
.u2-foot { margin-top: clamp(40px, 6vw, 70px); color: var(--gold-deep); font-size: .88rem; }
@media (max-width: 600px) { .u2-filter { top: 56px; } .u2-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .u2-caret { animation: none; } .u2-card, .u2-card:hover { transition: none; transform: none; } }

/* ---------- Work CTA + front-page work card (0.6.0) ---------- */
.agust-work-page .work-cta { margin-top: clamp(40px, 6vw, 70px); padding: clamp(28px, 5vw, 48px); border-radius: var(--radius); border: 1px solid var(--line-strong); background: radial-gradient(70% 120% at 0% 0%, var(--gold-faint), transparent 70%), var(--panel); text-align: left; }
.agust-work-page .work-cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.agust-work-page .work-cta p { max-width: 620px; color: var(--ink-soft); margin: 0 0 20px; }
.universe-bento .proj-work { grid-column: span 12; flex-direction: row; align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 36px); background: radial-gradient(80% 140% at 0% 0%, var(--gold-faint), transparent 70%), var(--panel); border-color: var(--line-strong); }
.proj-work .work-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 240px; font: .85rem var(--font-mono); color: var(--silver-dim); }
.proj-work .work-points b { color: var(--gold); font-weight: 600; }
@media (max-width: 900px) { .universe-bento .proj-work { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; } }

/* v0.6.1: let showcase pages use the full wrap width; block caret */
.entry:has(> .uses2), .entry:has(> .agust-work-page) { max-width: none; padding-inline: 0; }
.u2-caret { width: .42em; height: .72em; margin-left: .1em; border-radius: 2px; }
/* v0.6.2 */
.uses2 { overflow-x: clip; }
.u2-hero::before { inset: -40px 0 auto 0; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }

/* ============================================================
   LUNAR (0.7.0): monochrome, square, grid-lined.
   Loaded last; overrides the cosmic layers above.
   ============================================================ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/Inter-var-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/Inter-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root, body {
  --bg: #0e0e0e; --bg-2: #141414; --bg-3: #1a1a1a;
  --panel: #161616; --panel-2: #1c1c1c;
  --line: rgba(255, 255, 255, 0.08); --line-strong: rgba(255, 255, 255, 0.18);
  --gold: #f2f2f2; --gold-bright: #ffffff; --gold-deep: #8c8c8c;
  --gold-glow: rgba(255, 255, 255, 0.22); --gold-faint: rgba(255, 255, 255, 0.05);
  --silver: #cfcfcf; --silver-dim: #8a8a8a;
  --ink: #f2f2f2; --ink-soft: #a6a6a6; --ink-faint: #6e6e6e;
  --radius: 0px; --radius-sm: 0px;
  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --glow: 0 0 32px rgba(255, 255, 255, 0.18);
}
*, *::before, *::after { border-radius: 0 !important; }

body { background: var(--bg); color: var(--ink-soft); font-family: var(--font-body); font-feature-settings: "ss01", "cv11"; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); font-style: normal; }
::selection { background: #f2f2f2; color: #0e0e0e; }

/* Background: column guides + film grain (replaces the nebula) */
.orb { display: none !important; }
.space-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg) !important; }
.space-bg::before {
  content: ""; position: absolute; inset: 0; opacity: .07; animation: none !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important;
}
.space-bg::after {
  content: ""; position: absolute; top: 0; bottom: 0; opacity: 1; animation: none !important;
  left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  background: repeating-linear-gradient(to right, rgba(255,255,255,.045) 0 1px, transparent 1px 25%) !important;
  border-right: 1px solid rgba(255,255,255,.045);
}

/* Header */
.site-header { background: rgba(14, 14, 14, 0.86) !important; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) !important; box-shadow: none !important; }
.nav-list a { font: 500 .88rem var(--font-body); letter-spacing: 0; color: var(--ink-soft); text-transform: none; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--ink); }
.nav-list a::after { background: var(--ink) !important; height: 1px !important; box-shadow: none !important; }

/* Buttons */
.btn, .button, button.button, .wp-element-button { border-radius: 0 !important; font: 500 .92rem var(--font-body) !important; letter-spacing: 0 !important; text-transform: none !important; padding: 14px 24px; transition: background .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn-gold { background: #f2f2f2 !important; color: #0e0e0e !important; border: 1px solid #f2f2f2 !important; box-shadow: none !important; }
.btn-gold:hover { background: #fff !important; box-shadow: var(--glow) !important; transform: none !important; }
.btn-ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important; }
.btn-ghost:hover { border-color: #f2f2f2 !important; transform: none !important; }

/* Shared section pieces */
.lu-section { padding-block: clamp(72px, 10vw, 140px) 0; }
.lu-section h2, .lu-pagehead h1, .lu-row-main h2, .lu-cta h2 { margin: 0; }
.lu-section h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lu-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.lu-more { color: var(--ink-soft); text-decoration: none; font-size: .95rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.lu-more:hover { color: var(--ink); border-color: var(--ink); }
.lu-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 760px; }
.lu-num { display: block; font: 600 clamp(3rem, 6vw, 5rem)/1 var(--font-display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); transition: color .3s, text-shadow .3s; }

/* Hero */
.lu-hero { position: relative; padding-top: 0; }
.lu-hero-media { position: relative; height: clamp(440px, 64vw, 780px); overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, #2a2a2a, #0e0e0e 70%); }
.lu-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: grayscale(1) contrast(1.08) brightness(.9); }
.lu-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.55) 0%, rgba(14,14,14,0) 30%, rgba(14,14,14,0) 60%, var(--bg) 100%); }
.lu-cross { position: absolute; left: var(--x); top: var(--y); width: 72px; height: 72px; transform: translate(-50%, -50%); z-index: 1; }
.lu-cross::before, .lu-cross::after { content: ""; position: absolute; background: rgba(255,255,255,.4); }
.lu-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.lu-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.lu-hero .lu-hero-mark { position: absolute !important; left: 50%; top: 30%; transform: translate(-50%, -50%); width: clamp(140px, 17vw, 260px); z-index: 2; display: inline-grid; }
.lu-hero .lu-hero-mark img { width: 100%; height: auto; filter: drop-shadow(0 0 28px rgba(255,255,255,.35)); }
.lu-hero .hero-logo-glitch { filter: none !important; opacity: 0; }
.lu-hero .is-glitching .hero-logo-glitch { opacity: .55; }
.lu-hero-panel { position: relative; z-index: 3; margin-top: clamp(-220px, -16vw, -120px); background: var(--panel); border: 1px solid var(--line); padding: clamp(26px, 4.5vw, 60px) !important; max-width: calc(var(--maxw) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.lu-panel-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-size: .9rem; color: var(--ink-faint); }
.lu-index { font: 600 1.4rem var(--font-display); color: var(--ink-soft); letter-spacing: -0.02em; }
.lu-index sup { font-size: .55em; color: var(--ink-faint); margin-left: 2px; }
.lu-hero .hero-name { font-size: clamp(2.6rem, 7.4vw, 6rem); line-height: .95; letter-spacing: -0.045em; margin: clamp(26px, 4vw, 48px) 0; color: var(--ink); text-shadow: none; }
.lu-panel-foot { align-items: flex-end; flex-wrap: wrap; }
.lu-panel-foot .lede { margin: 0; max-width: 560px; font-size: 1.05rem; color: var(--ink-soft); }
.lu-panel-foot .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Stats row */
.lu-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(56px, 8vw, 100px); padding: 0 !important; }
.wrap.lu-stats { padding-inline: 0 !important; width: calc(100% - 2 * var(--gutter)); }
.lu-stats > div { padding: clamp(20px, 3vw, 34px) clamp(16px, 2vw, 26px); border-left: 1px solid var(--line); }
.lu-stats > div:first-child { border-left: 0; padding-left: 0; }
.lu-stats b, .lu-stats dt { display: block; font: 500 clamp(2.2rem, 4.6vw, 3.8rem)/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink); margin-bottom: 12px; }
.lu-stats span, .lu-stats dd { display: block; margin: 0; font-size: .88rem; line-height: 1.45; color: var(--ink-faint); max-width: 220px; }
.lu-stats-inline { margin: 28px 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lu-stats-inline b, .lu-stats-inline dt { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* About / focus */
.lu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.lu-cols h2 { margin-bottom: 28px !important; }
.lu-cols .lu-lead { margin: 0 0 20px; }
.lu-cols p { color: var(--ink-soft); line-height: 1.7; }
.lu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lu-list li { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lu-list b { color: var(--ink); font-weight: 600; }

/* Selected-work columns */
.lu-cases { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lu-case { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 34px; border-left: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .3s; }
.lu-case:first-child { border-left: 0; }
.lu-case h3 { font-size: 1.25rem; margin: 18px 0 0; line-height: 1.2; }
.lu-case p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.lu-case:hover { background: var(--panel); }
.lu-case:hover .lu-num, .lu-row:hover .lu-num { color: var(--ink); text-shadow: 0 0 24px rgba(255,255,255,.35); }

/* Products */
.lu-products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lu-prod { grid-column: span 2; display: flex; flex-direction: column; background: var(--bg); text-decoration: none; color: inherit; transition: background .3s; }
.lu-prod-lg { grid-column: span 3; }
.lu-prod-media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.lu-prod-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05) brightness(.8); transition: filter .5s, transform .8s var(--ease); }
.lu-prod:hover .lu-prod-media img { filter: grayscale(1) contrast(1.1) brightness(1); transform: scale(1.03); }
.lu-prod-body { padding: 24px; }
.lu-prod h3 { font-size: 1.4rem; margin: 0 0 8px; }
.lu-prod p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.lu-prod:hover { background: var(--panel); }

/* Timeline */
.lu-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lu-timeline li { display: grid; grid-template-columns: 160px 1fr auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.lu-timeline time { font-size: .9rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.lu-timeline strong { font: 500 clamp(1.05rem, 1.8vw, 1.35rem) var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.lu-timeline span { font-size: .88rem; color: var(--ink-faint); }
.lu-more-roles { margin-top: 18px; }
.lu-more-roles summary { cursor: pointer; color: var(--ink-soft); padding: 12px 0; list-style: none; }
.lu-more-roles summary::before { content: "+ "; color: var(--ink); }
.lu-more-roles[open] summary::before { content: "– "; }

/* CTA */
.lu-cta { border: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.06), transparent 60%), var(--panel); padding: clamp(36px, 6vw, 80px); margin-bottom: clamp(72px, 10vw, 140px); }
.lu-cta h2 { font-size: clamp(2rem, 5vw, 4rem) !important; margin-bottom: 18px !important; }
.lu-cta p { max-width: 560px; color: var(--ink-soft); margin: 0 0 28px; }

/* Content pages: Work / Uses */
.entry:has(> .lu-page) { max-width: none; padding-inline: 0; }
.lu-page { max-width: var(--maxw); margin-inline: auto; padding: clamp(56px, 9vw, 120px) var(--gutter) 0; }
.lu-pagehead { padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.lu-pagehead h1 { font-size: clamp(3rem, 9vw, 7rem); line-height: .95; letter-spacing: -0.05em; margin-bottom: 28px !important; }
.lu-pagehead .lu-lead { margin: 0; }
.lu-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.lu-principles div { padding: 22px 22px 0 0; }
.lu-principles div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.lu-principles b { display: block; color: var(--ink); margin-bottom: 6px; }
.lu-principles span { font-size: .93rem; color: var(--ink-soft); }
.lu-page .lu-stats { margin-top: 0; border-top: 0; }
.lu-row { display: grid; grid-template-columns: minmax(180px, 25%) 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.lu-row-side .lu-meta { margin: 18px 0 0; font-size: .85rem; line-height: 1.6; color: var(--ink-faint); }
.lu-row-main h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; margin-bottom: 18px !important; }
.lu-row-main p, .lu-row-main li { color: var(--ink-soft); line-height: 1.7; }
.lu-row-main b { color: var(--ink); font-weight: 600; }
.lu-row-main ul { padding-left: 1.1em; }
.lu-row-main li { margin-bottom: 8px; }
.lu-note { border-left: 1px solid var(--ink); padding-left: 16px; font-size: .93rem; }
.lu-stack { font-size: .85rem; color: var(--ink-faint) !important; }
.lu-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.lu-tile { background: var(--bg); padding: 22px; text-decoration: none; color: inherit; transition: background .3s; }
a.lu-tile:hover { background: var(--panel); }
.lu-tile h3 { font-size: 1.15rem; margin: 0 0 8px; }
.lu-tile p { margin: 0; font-size: .93rem; }
.lu-page .lu-cta { margin-top: clamp(56px, 8vw, 100px); }
.lu-footnote { margin: 40px 0 clamp(72px, 10vw, 140px); font-size: .88rem; color: var(--ink-faint); }

/* Uses grid */
.lu-sq { display: inline-block; width: 8px; height: 8px; background: var(--ink); box-shadow: 0 0 10px rgba(255,255,255,.5); vertical-align: 2px; }
.lu-uses .u2-filter { position: sticky; top: 64px; z-index: 5; display: flex; gap: 0; overflow-x: auto; margin: 0; padding: 0; background: var(--bg); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.lu-uses .u2-filter button { flex: none; padding: 14px 18px; background: transparent; border: 0; border-right: 1px solid var(--line); color: var(--ink-faint); font: 500 .88rem var(--font-body); cursor: pointer; }
.lu-uses .u2-filter button:hover { color: var(--ink); }
.lu-uses .u2-filter button.is-on { background: var(--ink); color: var(--bg); }
.lu-uses .u2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lu-uses .u2-card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--bg); text-decoration: none; color: inherit; overflow: hidden; transition: background .3s; }
.lu-uses .u2-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--mx) var(--my), rgba(255,255,255,.07), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lu-uses .u2-card:hover { background: var(--panel); }
.lu-uses .u2-card:hover::before { opacity: 1; }
.lu-uses .u2-top { display: flex; justify-content: space-between; align-items: center; }
.lu-uses .u2-top b { font: 600 1.1rem var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.lu-uses .u2-desc { flex: 1; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.lu-uses .u2-link { font-size: .8rem; color: var(--ink-faint); }
.lu-uses .u2-card:hover .u2-link { color: var(--ink); }
.lu-uses .u2-group[hidden], .lu-uses .u2-card[hidden] { display: none; }

/* Generic pages, 404, entry text */
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -0.045em; overflow-wrap: anywhere; }
.page-hero h1::after { content: "/"; }
.entry a { text-decoration-color: var(--ink-faint); }
.entry blockquote { border-left: 1px solid var(--ink) !important; }

/* Footer */
.site-footer { background: var(--bg) !important; border-top: 1px solid var(--line) !important; }
.footer-payments svg { filter: grayscale(1); opacity: .75; }
.footer-dot { background: var(--ink) !important; box-shadow: 0 0 8px rgba(255,255,255,.5) !important; }

/* Shop keeps its light canvas, in grayscale */
body.woocommerce img, body.woocommerce-page img { filter: none; }

/* Responsive */
@media (max-width: 1000px) {
  .lu-cases { grid-template-columns: 1fr 1fr; }
  .lu-case:nth-child(3) { border-left: 0; }
  .lu-case:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lu-stats { grid-template-columns: 1fr 1fr; }
  .lu-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .lu-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lu-products { grid-template-columns: 1fr 1fr; }
  .lu-prod, .lu-prod-lg { grid-column: span 1; }
  .lu-prod-lg { grid-column: span 2; }
}
@media (max-width: 760px) {
  .lu-cols, .lu-row, .lu-principles, .lu-grid2 { grid-template-columns: 1fr; }
  .lu-principles div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
  .lu-row-side { display: flex; align-items: flex-end; gap: 18px; }
  .lu-row-side .lu-meta { margin: 0; }
  .lu-cases { grid-template-columns: 1fr; }
  .lu-case { border-left: 0; border-top: 1px solid var(--line); }
  .lu-case:first-child { border-top: 0; }
  .lu-products { grid-template-columns: 1fr; }
  .lu-prod, .lu-prod-lg { grid-column: auto; }
  .lu-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .lu-panel-foot { flex-direction: column; align-items: flex-start; }
  .lu-hero .lu-hero-mark { top: 34%; }
  .lu-cross:nth-of-type(n+4) { display: none; }
  .lu-uses .u2-filter { top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .lu-prod-media img, .lu-case, .lu-num { transition: none; } }

/* 0.7.1 fixes */
.wrap.lu-stats { max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.space-bg::after { background: repeating-linear-gradient(to right, rgba(255,255,255,.07) 0 1px, transparent 1px 25%) !important; border-right-color: rgba(255,255,255,.07); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce .single_add_to_cart_button,
.woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button, .wc-block-components-button {
  border-radius: 0 !important; background: #111 !important; color: #fff !important; border: 1px solid #111 !important; font-weight: 600 !important; box-shadow: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce .single_add_to_cart_button:hover,
.woocommerce-page a.button:hover, .woocommerce-page button.button:hover { background: #fff !important; color: #111 !important; transform: none !important; }

/* 0.7.2: grid lines drawn by cells, so empty cells stay dark */
.lu-uses .u2-grid, .lu-products, .lu-grid2 { gap: 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lu-uses .u2-card, .lu-prod, .lu-tile { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 0.8.0: hero logo "moon landing" + 1969 broadcast loop (replaces RGB glitch) */
.lu-hero .lu-hero-mark { display: block; aspect-ratio: 1800 / 1387; }
.lu-lander { position: absolute; inset: 0; animation: lu-land 3.4s cubic-bezier(.16,.84,.3,1) .3s both; }
.lu-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lu-lander > .lu-logo:first-child { animation: lu-breathe 7s ease-in-out 3.7s infinite, lu-flicker 9s steps(1, end) 4s infinite; filter: drop-shadow(0 0 22px rgba(255,255,255,.28)); }
.lu-ghost { opacity: 0; filter: blur(.4px) brightness(1.4); animation: lu-tear 13s linear 6s infinite; }
.lu-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,.55) 0 1px, transparent 1px 4px);
  -webkit-mask: url(assets/images/ag-logo-white.png) center / contain no-repeat; mask: url(assets/images/ag-logo-white.png) center / contain no-repeat;
  animation: lu-roll 6s linear infinite;
}
.lu-dust { position: absolute; left: 50%; bottom: -6%; width: 120%; height: 18%; transform: translateX(-50%) scaleX(.2); opacity: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%); filter: blur(6px);
  animation: lu-dust 2.6s ease-out 2.2s both; }
.lu-hero .lu-cross { animation: lu-lock .9s cubic-bezier(.2,.8,.2,1) both; }
.lu-hero .lu-cross:nth-of-type(1) { animation-delay: 3.0s; } .lu-hero .lu-cross:nth-of-type(2) { animation-delay: 3.25s; }
.lu-hero .lu-cross:nth-of-type(3) { animation-delay: 3.5s; } .lu-hero .lu-cross:nth-of-type(4) { animation-delay: 3.75s; }
.lu-hero .lu-cross:nth-of-type(5) { animation-delay: 4.0s; }
@keyframes lu-land {
  0%   { transform: translateY(-38vh) scale(.78); opacity: 0; filter: blur(3px); }
  15%  { opacity: 1; }
  62%  { transform: translateY(5px) scale(1); filter: blur(0); }
  78%  { transform: translateY(-4px); }
  100% { transform: none; opacity: 1; }
}
@keyframes lu-dust { 0% { opacity: 0; transform: translateX(-50%) scaleX(.2); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateX(-50%) scaleX(1.5); } }
@keyframes lu-lock { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.8) rotate(45deg); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); } }
@keyframes lu-breathe { 0%, 100% { filter: drop-shadow(0 0 18px rgba(255,255,255,.22)); } 50% { filter: drop-shadow(0 0 40px rgba(255,255,255,.42)); } }
@keyframes lu-flicker { 0%, 100% { opacity: 1; } 41% { opacity: .86; } 42% { opacity: 1; } 43.5% { opacity: .92; } 44% { opacity: 1; } }
@keyframes lu-roll { from { background-position: 0 0; } to { background-position: 0 40px; } }
@keyframes lu-tear {
  0%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  91%   { opacity: .7; transform: translateX(10px); clip-path: inset(22% 0 64% 0); }
  92.5% { opacity: .6; transform: translateX(-7px); clip-path: inset(48% 0 38% 0); }
  94%   { opacity: .5; transform: translateX(4px); clip-path: inset(70% 0 18% 0); }
  95%   { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lu-lander, .lu-lander > .lu-logo, .lu-ghost, .lu-scan, .lu-dust, .lu-hero .lu-cross { animation: none !important; }
  .lu-ghost, .lu-dust { display: none; }
}

/* 0.8.1 nav icon pair: AGDaily + Workbench, grayscale hover */
.menu-item-agdaily + .menu-item-workbench { margin-left: -6px; }
.agdaily-link:hover { color: #fff !important; }
.agdaily-link:hover .agdaily-icon { filter: drop-shadow(0 0 8px rgba(255,255,255,.45)) !important; }

/* 0.8.2 portrait in About / Focus as a 4-up row */
.lu-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lu-about h2, .lu-focus h2 { margin: 0 0 28px !important; }
.lu-about .lu-lead { margin: 0 0 20px; }
.lu-about p { color: var(--ink-soft); line-height: 1.7; }
.lu-about .lu-lead { color: var(--ink); }
.lu-portrait { margin: 0; }
.lu-portrait-frame { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-strong); background: var(--panel); }
.lu-portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.06) brightness(.92); transition: filter .5s, transform .9s var(--ease); }
.lu-portrait:hover .lu-portrait-frame img { filter: grayscale(1) contrast(1.1) brightness(1.02); transform: scale(1.03); }
.lu-portrait-frame::after { content: ""; position: absolute; inset: 12px; pointer-events: none; --c: rgba(255, 255, 255, .7);
  background:
    linear-gradient(var(--c), var(--c)) top left / 14px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 14px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 14px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 14px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 14px no-repeat; }
.lu-focus { margin-top: clamp(56px, 8vw, 104px); }
.lu-focus-list { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.lu-focus-list li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 30px; border-bottom: 0; border-left: 1px solid var(--line); }
.lu-focus-list li:first-child { border-left: 0; padding-left: 0; }
.lu-focus-list b { font-size: 1.2rem; letter-spacing: -0.02em; }
.lu-focus-list span { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
@media (max-width: 980px) {
  .lu-focus-list { grid-template-columns: 1fr 1fr; }
  .lu-focus-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .lu-focus-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .lu-about { grid-template-columns: 1fr; }
  .lu-portrait { max-width: 420px; }
  .lu-focus-list { grid-template-columns: 1fr; }
  .lu-focus-list li, .lu-focus-list li:first-child { border-left: 0; padding-left: 0; padding-right: 0; }
  .lu-focus-list li + li { border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .lu-portrait-frame img { transition: none; } }
