/* hereontime.com — Desert Sand Production Stylesheet
   Palette: #FFF5E1 · #F5D6A5 · #E0A96D · #B2674A · #5E3623
   High-contrast espresso typography engineered for calm clarity. */

:root {
  --p-0: #fff5e1;
  --p-25: #f5d6a5;
  --p-50: #e0a96d;
  --p-75: #b2674a;
  --p-100: #5e3623;

  --bg: #fffaf2;
  --well-deep: #f6e4c9;
  --header-bg: rgba(255, 249, 238, 0.86);
  --halo-top: rgba(245, 214, 165, 0.62);
  --halo-side: rgba(224, 169, 109, 0.2);

  --ink-strong: #1e0f07;
  --ink-body: #3d2316;
  --ink-accent: #7a3c20;
  --ink-meta: #5c3624;

  --hairline: rgba(94, 54, 35, 0.14);
  --hairline-strong: rgba(94, 54, 35, 0.27);
  --pill-bg: #faecd8;
  --highlight-underline: rgba(224, 169, 109, 0.52);
  --gem-shadow: rgba(94, 54, 35, 0.24);
  --shadow-soft: 0 1px 2px rgba(30, 15, 7, 0.05), 0 14px 36px -22px rgba(94, 54, 35, 0.2);
  --shadow-hover: 0 2px 6px rgba(30, 15, 7, 0.07), 0 24px 44px -20px rgba(94, 54, 35, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink-strong);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(980px 540px at 50% -150px, var(--halo-top), transparent 68%),
    radial-gradient(640px 440px at 90% 16%, var(--halo-side), transparent 64%),
    linear-gradient(180deg, var(--p-0) 0%, var(--bg) 32%, var(--bg) 100%);
  color: var(--ink-strong);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.container {
  max-width: 1056px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.nav-row {
  max-width: 1056px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-strong);
}

.brand-gem {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--p-25) 0%, var(--p-50) 48%, var(--p-100) 100%);
  box-shadow: 0 2px 8px var(--gem-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

.brand-text {
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-body);
  transition: color 0.16s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink-strong);
}

.nav-ql {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-strong) !important;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--hairline-strong);
  transition: background 0.18s, color 0.18s, border-color 0.18s !important;
}

.nav-ql:hover {
  background: var(--ink-strong);
  color: #ffffff !important;
  border-color: var(--ink-strong);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-accent);
  margin-bottom: 22px;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p-75);
}

h1 {
  font-size: clamp(2.45rem, 5vw, 3.85rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
  max-width: 19ch;
  margin-bottom: 22px;
}

h1 .emph {
  color: var(--ink-accent);
  background-image: linear-gradient(transparent 72%, var(--highlight-underline) 72%);
  background-repeat: no-repeat;
  background-size: 100% 92%;
  padding: 0 2px;
}

.hero-copy {
  font-size: 17px;
  font-weight: 450;
  color: var(--ink-body);
  max-width: 56ch;
  line-height: 1.65;
}

.hero-copy strong {
  color: var(--ink-strong);
  font-weight: 700;
}

.hero-copy a {
  color: var(--ink-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--p-75);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.hero-copy a:hover {
  color: var(--ink-accent);
  text-decoration-color: var(--ink-strong);
}

/* Section Head */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--hairline-strong);
}

.section-title {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-strong);
}

.section-count {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-meta);
}

/* Minimal High-Fidelity Showcase Cards (Full-Color Hero + Docked Sculptural Icon) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--hairline-strong);
  border-radius: 24px;
  padding: 12px 12px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--p-75);
  box-shadow: var(--shadow-hover);
}

.preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 15px;
  overflow: hidden;
  background: var(--p-0);
  border: 1px solid rgba(30, 15, 7, 0.11);
}

.preview-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .preview-stage img {
  transform: scale(1.035);
}

.preview-domain {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-strong);
  background: rgba(255, 251, 244, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 15, 7, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-content {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.card-identity {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: -28px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.art-frame {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--p-0);
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px -6px rgba(30, 15, 7, 0.28), 0 0 0 1px rgba(94, 54, 35, 0.16);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card:hover .art-frame {
  transform: translateY(-2px) scale(1.03);
}

.title-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding-bottom: 4px;
}

.status {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--hairline-strong);
  color: var(--ink-strong);
  flex-shrink: 0;
}

.status.muted {
  background: #f5f3ef;
  border-color: var(--hairline);
  color: var(--ink-meta);
}

.card h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink-strong);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--ink-body);
  line-height: 1.56;
  margin-bottom: 18px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--hairline);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-meta);
}

.visit {
  color: var(--ink-strong);
  background: var(--pill-bg);
  border: 1px solid var(--hairline);
  padding: 5px 11px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.card:hover .visit {
  background: var(--ink-strong);
  color: #ffffff;
  border-color: var(--ink-strong);
}

/* Quick Lateral Enterprise Split Card with Full-Color Preview */
.enterprise-section {
  margin-top: 44px;
}

.enterprise-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--p-0) 100%);
  border: 1px solid var(--hairline-strong);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 26px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.enterprise-card:hover {
  border-color: var(--ink-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.ql-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 8px;
}

.ql-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ql-frame {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: var(--p-0);
  flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(30, 15, 7, 0.2);
}

.ql-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ql-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-accent);
  margin-bottom: 2px;
}

.enterprise-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink-strong);
  line-height: 1.15;
}

.enterprise-card p {
  font-size: 14.5px;
  color: var(--ink-body);
  max-width: 52ch;
  line-height: 1.58;
}

.ql-cta {
  align-self: flex-start;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-strong);
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid var(--hairline-strong);
  background: #ffffff;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.enterprise-card:hover .ql-cta {
  background: var(--ink-strong);
  color: #ffffff;
  border-color: var(--ink-strong);
}

.ql-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(30, 15, 7, 0.14);
  background: #edf1f5;
  box-shadow: 0 12px 28px -16px rgba(30, 15, 7, 0.24);
}

.ql-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.enterprise-card:hover .ql-preview img {
  transform: scale(1.03);
}

/* Badge Kit Page Elements */
.kit-panel {
  background: #ffffff;
  border: 1px solid var(--hairline-strong);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.kit-panel h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-bottom: 8px;
}

.kit-panel p {
  font-size: 14.5px;
  color: var(--ink-body);
  margin-bottom: 18px;
}

.controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip-btn {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: #ffffff;
  color: var(--ink-body);
  cursor: pointer;
  transition: all 0.16s;
}

.chip-btn:hover {
  border-color: var(--ink-strong);
  color: var(--ink-strong);
}

.chip-btn.active {
  background: var(--ink-strong);
  color: #ffffff;
  border-color: var(--ink-strong);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 12px;
  border: 1px solid var(--ink-strong);
  background: var(--ink-strong);
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.16s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.code-box {
  margin-top: 12px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-strong);
  background: var(--p-0);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 12px 14px;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.55;
}

.host-sim {
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--hairline-strong);
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.host-sim.light {
  background: linear-gradient(180deg, var(--p-0) 0%, var(--well-deep) 100%);
  color: var(--ink-strong);
}

.host-sim.dark {
  background: #12100f;
  color: #f7f1e8;
  border-color: rgba(255, 245, 225, 0.16);
}

.host-top {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  opacity: 0.72;
  padding-bottom: 12px;
  border-bottom: 1px dashed currentColor;
}

.host-mid {
  padding: 26px 0;
  font-size: 14px;
  opacity: 0.78;
}

.host-foot {
  padding-top: 14px;
  border-top: 1px solid rgba(128, 110, 95, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
footer {
  margin-top: 68px;
  padding: 24px 0 44px;
  border-top: 1px solid var(--hairline-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-meta);
}

footer a {
  color: var(--ink-body);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: var(--ink-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .project-grid,
  .kit-panel,
  .enterprise-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero { padding: 52px 0 40px; }
  .art-frame {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  .card-identity {
    margin-top: -22px;
  }
  .nav-links a:not(.nav-ql) { display: none; }
}
