/* Lions Eye Industries — corporate site
   Single stylesheet. No build step, no dependencies. */

:root {
  --ink:        #07080a;   /* page ground */
  --ink-2:      #0c0e11;   /* raised panel */
  --ink-3:      #12151a;   /* hover panel */
  --line:       rgba(255, 255, 255, 0.09);
  --line-bold:  rgba(255, 255, 255, 0.18);
  --text:       #e8e6e1;
  --text-dim:   #9a9893;
  --text-faint: #6a6862;
  --gold:       #d2a24c;
  --gold-dim:   rgba(210, 162, 76, 0.35);
  --gold-wash:  rgba(210, 162, 76, 0.07);

  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Faint technical grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 72px 72px;
}

main, header, footer { position: relative; z-index: 1; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

a { color: inherit; }

::selection { background: var(--gold); color: #07080a; }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

.eyebrow--gold { color: var(--gold); }

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0;
}

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 54ch;
}

/* ---------- status strip ---------- */

.status {
  border-bottom: 1px solid var(--line);
  background: #050608;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.status .wrap {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.status__state { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-dim); }

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold-dim);
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(210,162,76,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(210,162,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(210,162,76,0); }
}

.status__clock { font-variant-numeric: tabular-nums; }

@media (max-width: 1080px) { .status__holders { display: none; } }
@media (max-width: 760px) { .status__ref { display: none; } }

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.brand svg { display: block; flex: none; }

.brand__name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__rule {
  width: 1px; height: 26px;
  background: var(--line-bold);
}

.brand__sub {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  max-width: 11ch;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.nav a {
  text-decoration: none;
  color: var(--text-dim);
  padding-block: 0.5rem;
  transition: color 0.18s ease;
}

.nav a:hover, .nav a:focus-visible { color: var(--text); }

.nav__cta {
  border: 1px solid var(--line-bold);
  padding: 0.5rem 1.125rem !important;
  color: var(--text) !important;
  transition: border-color .18s ease, background .18s ease;
}

.nav__cta:hover { border-color: var(--gold); background: var(--gold-wash); }

@media (max-width: 860px) {
  .brand__rule, .brand__sub { display: none; }
  /* Only two links survive the narrow layout, and the page is a single
     scroll. Drop the nav entirely and leave the masthead to the mark. */
  .nav { display: none; }
}

/* ---------- hero ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(5rem, 13vw, 10.5rem) clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}

/* iris glow behind the headline */
.hero::after {
  content: "";
  position: absolute;
  top: -28%; right: -14%;
  width: min(820px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,162,76,.13) 0%, rgba(210,162,76,.04) 42%, transparent 68%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero h1 {
  font-size: clamp(2.75rem, 7.6vw, 5.75rem);
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 1.75rem 0 0;
  max-width: 19ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__body {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.hero__meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--text-faint);
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.hero__meta b {
  display: block;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.625rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.hero__meta p { margin: 0 0 1.125rem; color: var(--text-dim); }
.hero__meta p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .hero__body { grid-template-columns: 1fr; }
}

/* ---------- footprint stats ---------- */

.footprint {
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.footprint .wrap { padding-block: clamp(3rem, 6vw, 4.5rem); }

.footprint__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footprint__head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  max-width: 28ch;
}

.footprint__note {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}

.stats > div {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 1.75rem 1.5rem 1.625rem;
  display: flex;
  flex-direction: column;
}

.stats > div:first-child { border-left: 1px solid var(--line); }

.stats dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.875rem;
}

.stats dd {
  margin: auto 0 0;   /* bottom-aligned: one- and two-line labels agree */
  font-size: clamp(1.75rem, 3.1vw, 2.625rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.stats dd small {
  font-size: 0.5em;
  letter-spacing: 0;
  color: var(--gold);
  margin-left: 0.1em;
}

@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(odd) { border-left: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-left: 1px solid var(--line); }
}

/* ---------- sectors ---------- */

.sectors .wrap { padding-block: clamp(4rem, 8vw, 7rem); }

.sectors__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.sectors__head h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin: 1.25rem 0 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--ink);
  padding: 2rem 1.875rem 2.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  transition: background 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
}

.card:hover { background: var(--ink-3); }
.card:hover::before { transform: scaleX(1); }

.card__code {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

.card h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.card__tag {
  margin-top: auto;
  padding-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

/* ---------- doctrine ---------- */

.doctrine {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.doctrine .wrap {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5.5rem);
}

.doctrine blockquote {
  margin: 0;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text);
}

.doctrine blockquote footer {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.7;
}

.doctrine__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem 2.5rem;
}

.doctrine__cols h3 {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.625rem;
}

.doctrine__cols p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .doctrine .wrap { grid-template-columns: 1fr; }
}

/* ---------- enquiries ---------- */

.enquiries .wrap {
  padding-block: clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.enquiries h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin: 1.25rem 0 1.5rem;
}

.contacts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contacts > div {
  border-bottom: 1px solid var(--line);
  padding: 1.375rem 0;
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.contacts dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contacts dd { margin: 0; font-size: 0.9375rem; }

.contacts a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 1px;
  transition: border-color .18s ease, color .18s ease;
}

.contacts a:hover { color: var(--gold); border-color: var(--gold); }

.contacts dd span { display: block; color: var(--text-faint); font-size: 0.8125rem; margin-top: 0.25rem; }

@media (max-width: 860px) {
  .enquiries .wrap { grid-template-columns: 1fr; }
  .contacts > div { grid-template-columns: 1fr; gap: 0.375rem; }
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: #050608;
}

.site-foot .wrap { padding-block: 3rem 3.5rem; }

.site-foot__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-foot nav a { color: var(--text-faint); text-decoration: none; transition: color .18s ease; }
.site-foot nav a:hover { color: var(--gold); }

.fineprint {
  margin: 2rem 0 0;
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--text-faint);
  max-width: 88ch;
}

.fineprint + .fineprint { margin-top: 0.875rem; }

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