/* APEXIO STUDIO: jade, ivory and gold, taken from the look of the Gemxer game. No web fonts, no outside requests. */

:root {
  --ink: #0a1a13;
  --jade-950: #0a1f17;
  --jade-900: #0f2a20;
  --jade-800: #143a2c;
  --jade-700: #1b4d3a;
  --jade-500: #2e7d5b;
  --gold-100: #f6e9bd;
  --gold-300: #e6cf8a;
  --gold-500: #c9a24b;
  --gold-700: #7d5d1c;
  --ivory: #f7f2e5;
  --ivory-2: #eee6d1;
  --line: #d9ceb0;
  --text: #1e2a24;
  --muted: #55635b;
  --ruby: #b3182f;
  --wood-900: #20100c;
  --wood-700: #3a1c16;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--jade-950);
  color: var(--ivory);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--gold-300); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 31, 23, 0.84);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; letter-spacing: 0.3em; font-size: 1.02rem; color: var(--ivory); white-space: nowrap; }
.brand-sub { margin-left: 0.7em; letter-spacing: 0.3em; font-size: 0.72rem; color: var(--gold-300); font-family: var(--sans); font-weight: 600; }
.site-header nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.site-header nav a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: rgba(247, 242, 229, 0.86); padding: 8px 2px; }
.site-header nav a:hover { color: var(--gold-300); }
.site-header nav .nav-cta { color: var(--gold-100); border: 1px solid rgba(230, 207, 138, 0.6); border-radius: 999px; padding: 8px 18px; }
.site-header nav .nav-cta:hover { background: rgba(230, 207, 138, 0.14); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(46, 125, 91, 0.38), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(179, 24, 47, 0.16), transparent 62%),
    linear-gradient(180deg, var(--jade-900), var(--jade-950));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 162, 75, 0.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 75, 0.07) 0 1px, transparent 1px 44px);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 72%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 207, 138, 0.7), transparent); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 1.1em; }
.eyebrow.dark { color: var(--gold-700); }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.01em; color: var(--ivory); margin-bottom: 0.45em; }
.hero h1 em {
  font-style: italic; color: var(--gold-300);
  background: linear-gradient(180deg, #fff3c4, #e0bb5c 60%, #b98a2c);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(247, 242, 229, 0.84); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8em 0 0; }
.hero-art { min-width: 0; justify-self: center; width: 100%; max-width: 560px; }
.hero-art img { width: 100%; height: auto; }

.btn { display: inline-block; text-decoration: none; font-weight: 700; letter-spacing: 0.04em; border-radius: 999px; padding: 0.95em 1.9em; font-size: 0.95rem; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.btn-gold { color: #2a1d05; background: linear-gradient(180deg, #f6e3a1, #d3ad55 55%, #b78d35); box-shadow: 0 10px 26px -10px rgba(201, 162, 75, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 162, 75, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-line { color: var(--gold-100); border: 1px solid rgba(230, 207, 138, 0.65); }
.btn-line:hover { background: rgba(230, 207, 138, 0.12); transform: translateY(-2px); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 9vw, 120px); }
.section h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 0.6em; }

.ivory {
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% 0%, rgba(255, 255, 255, 0.85), transparent 62%),
    radial-gradient(900px 520px at 100% 100%, rgba(201, 162, 75, 0.14), transparent 62%),
    var(--ivory);
}
.ivory h2, .ivory h3 { color: var(--jade-900); }
.ivory p { color: #34433b; }
.ivory .eyebrow { margin-bottom: 0.9em; }

.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(40px, 6vw, 72px); }
.split-copy { min-width: 0; max-width: 36rem; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.6em; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--jade-900); color: var(--gold-100) !important; padding: 0.55em 1.1em; border-radius: 999px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em; border: 1px solid rgba(201, 162, 75, 0.6); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5be0a0; box-shadow: 0 0 0 4px rgba(91, 224, 160, 0.2); }
.text-link { color: var(--jade-700); font-weight: 600; text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--jade-900); }

/* the Gemxer title card */
.title-card {
  position: relative; min-width: 0; text-align: center; color: var(--ivory);
  padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 40px);
  border-radius: 26px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(63, 160, 118, 0.55) 0%, transparent 62%),
    linear-gradient(160deg, #1b5a43, #0d261c);
  border: 1px solid rgba(230, 207, 138, 0.75);
  box-shadow: 0 34px 60px -30px rgba(10, 31, 23, 0.7), inset 0 0 0 7px rgba(10, 31, 23, 0.32), inset 0 0 0 8px rgba(230, 207, 138, 0.32);
}
.title-card::before, .title-card::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 22px; border-radius: 5px;
  background: linear-gradient(135deg, #f6e3a1, #b78d35);
  box-shadow: 0 0 0 3px rgba(10, 31, 23, 0.55), 0 6px 14px rgba(0, 0, 0, 0.4);
}
.title-card::before { top: -12px; transform: translateX(-50%) rotate(45deg); }
.title-card::after { bottom: -12px; transform: translateX(-50%) rotate(45deg); }
.title-card p { color: inherit; }
.card-eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300) !important; margin: 0 0 0.6em; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: clamp(3.6rem, 10vw, 6rem); line-height: 1; margin: 0.1em 0 0.12em; letter-spacing: -0.01em; color: var(--gold-300) !important; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.wordmark .x { font-size: 1.2em; line-height: 0.8; color: #7ff0b4; text-shadow: 0 0 22px rgba(127, 240, 180, 0.65), 0 3px 0 rgba(0, 0, 0, 0.35); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark { background: linear-gradient(180deg, #fff3c4, #e0bb5c 55%, #a97d2a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.35)); }
  .wordmark .x { background: linear-gradient(180deg, #e2fff0, #45d891 55%, #1a8a5c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 0 14px rgba(127, 240, 180, 0.55)); }
}
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.6vw, 1.4rem); color: var(--ivory) !important; margin: 0 0 1.3em; }
.gem-row { display: flex; justify-content: center; gap: 14px; margin: 0; }
.gem-row img { width: 34px; height: 34px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)); }

/* the three things you do */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; min-width: 0; padding: 30px 28px 28px;
  background: linear-gradient(180deg, #fffaf0, #f2eAd6);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 #fff inset, 0 16px 34px -22px rgba(15, 42, 32, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 24px 40px -22px rgba(15, 42, 32, 0.55); }
.icon-wrap { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 18px; color: var(--gold-300); background: linear-gradient(145deg, #1f6048, #0f2a20); box-shadow: 0 0 0 2px var(--gold-500), 0 8px 18px -8px rgba(15, 42, 32, 0.7); }
.icon { width: 30px; height: 30px; }
.card h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.card p { margin: 0; font-size: 1rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; }
.chips li { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; color: var(--jade-800); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); border-radius: 999px; padding: 0.5em 1.1em; }
.chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.7em; transform: rotate(45deg); background: var(--gold-500); vertical-align: 0.08em; }

/* the studio */
.rosewood {
  position: relative; isolation: isolate; color: var(--ivory);
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(201, 162, 75, 0.12), transparent 62%),
    linear-gradient(180deg, var(--wood-700), var(--wood-900));
}
.rosewood::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(230, 207, 138, 0.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(-45deg, rgba(230, 207, 138, 0.06) 0 1px, transparent 1px 44px);
}
.rosewood h2 { color: var(--ivory); }
.studio-head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.studio-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(247, 242, 229, 0.85); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.values li { position: relative; min-width: 0; padding-top: 22px; border-top: 1px solid rgba(230, 207, 138, 0.45); }
.values li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-300); }
.numeral { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold-300); margin-bottom: 0.35em; }
.values h3 { font-size: 1.4rem; color: var(--ivory); margin-bottom: 0.45em; }
.values p { margin: 0; color: rgba(247, 242, 229, 0.8); }

/* contact */
.contact { text-align: center; }
.contact .narrow > p { margin-inline: auto; max-width: 34rem; }
.mail { margin: 1.4em 0 1.6em !important; }
.mail a { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 5.2vw, 2.7rem); color: var(--jade-900); text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 3px; text-underline-offset: 8px; overflow-wrap: anywhere; }
.mail a:hover { color: var(--jade-700); }
address { font-style: normal; color: var(--muted); line-height: 1.7; }

/* footer */
.site-footer { background: var(--jade-950); border-top: 1px solid rgba(201, 162, 75, 0.35); padding-block: 28px; font-size: 0.9rem; color: rgba(247, 242, 229, 0.7); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--gold-300); }

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}

/* ---------- small screens ---------- */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .brand-name { letter-spacing: 0.22em; }
  .site-header nav a { letter-spacing: 0.1em; font-size: 0.72rem; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .site-header nav .nav-cta { padding: 7px 14px; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* the 404 page */
.lost { min-height: calc(100vh - 69px); display: grid; align-items: center; }
