/* E11 Prime Tech Pty Ltd — company site (brand: E11prime) */
:root {
  --ink: #14201c;
  --ink-soft: #2a3a34;
  --mist: #e8efe9;
  --paper: #f4f7f4;
  --fog: #d4e0d8;
  --accent: #1a6b52;
  --accent-deep: #0f4a38;
  --accent-soft: #c5e0d4;
  --line: rgba(20, 32, 28, 0.12);
  --max: 68rem;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, #d9ebe2 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, #cfe0d6 0%, transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 38%, #eef3ef 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 244, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-deep);
  text-decoration: underline;
}

/* Hero — one composition */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 20%, rgba(244, 247, 244, 0.55) 70%, var(--paper) 100%),
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(26, 107, 82, 0.22), transparent 70%),
    radial-gradient(circle at 18% 72%, rgba(20, 32, 28, 0.08), transparent 45%);
}

.hero__atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(20, 32, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 28, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  animation: drift-grid 28s linear infinite;
}

.hero__atmosphere::after {
  content: "";
  position: absolute;
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  right: -6%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 224, 212, 0.85) 0%, transparent 68%);
  animation: float-orb 12s ease-in-out infinite alternate;
}

.hero__content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
}

.hero__brand {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  animation: rise-in 0.9s ease-out both;
}

.hero__brand span {
  color: var(--accent);
}

.hero__lead {
  margin: 0 0 0.75rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  animation: rise-in 0.9s ease-out 0.12s both;
}

.hero__support {
  margin: 0 0 2rem;
  max-width: 28rem;
  color: var(--ink-soft);
  animation: rise-in 0.9s ease-out 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  animation: rise-in 0.9s ease-out 0.32s both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: #f7fbf8;
}

.button--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 32, 28, 0.28);
}

.button--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding-top: 2rem;
}

.section__label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section__text {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

.section__text + .section__text {
  margin-top: 1rem;
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.panel {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.panel p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-block {
  margin-top: 1.5rem;
}

.contact-block a {
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.legal-page {
  padding: 3.5rem 0 5rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page li + li {
  margin-top: 0.35rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(228, 236, 230, 0.65);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 0 2.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--ink-soft);
}

.site-footer a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-orb {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-1.5rem, 1.25rem) scale(1.06);
  }
}

@keyframes drift-grid {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

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

  .hero__brand,
  .hero__lead,
  .hero__support,
  .cta-row,
  .hero__atmosphere::before,
  .hero__atmosphere::after {
    animation: none !important;
  }
}
