/* ================================================================
   LIAM NEWTON — liamnewton.com
   main.css
   ================================================================ */


/* ----------------------------------------------------------------
   Custom properties
   ---------------------------------------------------------------- */
:root {
  --bg:           #0f0f0f;
  --bg-alt:       #141414;
  --card:         #1c1c1c;
  --border:       #242424;
  --border-hover: #383838;
  --text:         #f5f5f5;
  --muted:        #aaaaaa;
  --dim:          #505050;
  --accent:       #facc15;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --max-w:  800px;
  --pad-x:  20px;
}


/* ----------------------------------------------------------------
   Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #0f0f0f 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul { list-style: none; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

/* Scale on discrete links - not inline text */
.hero__cta,
.hero__sub a,
.product-cta,
.site-nav__links a,
.build-link,
.experiment-item__name,
.contact-email,
.profile-card__url {
  display: inline-block;
  transition: transform 0.15s ease, color 0.15s ease;
}

.hero__cta:hover,
.hero__sub a:hover,
.product-cta:hover,
.site-nav__links a:hover,
.build-link:hover,
.experiment-item__name:hover,
.contact-email:hover,
.profile-card__url:hover {
  transform: scale(1.04);
}


/* ----------------------------------------------------------------
   Animation
   ---------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ----------------------------------------------------------------
   Layout
   ---------------------------------------------------------------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Full-bleed sections — content constrained inside .wrap */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
  padding: 96px 0;
}


/* ----------------------------------------------------------------
   Nav
   ---------------------------------------------------------------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.site-nav__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav__links {
  display: flex;
  gap: 32px;
}

.site-nav__links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav__links a:hover {
  color: var(--text);
}


/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
  padding: 100px 0 80px;
  animation: fadeUp 0.55s ease both;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 12px;
}

.hero__founder {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
  margin-bottom: 44px;
}

.hero__body {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  max-width: 44ch;
  margin-bottom: 14px;
}

.hero__body--sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.hero__cta:hover {
  text-decoration: none;
}

.hero__cta-arrow {
  font-size: 18px;
  line-height: 1;
}


/* ----------------------------------------------------------------
   Section labels
   ---------------------------------------------------------------- */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 32px;
}


/* ----------------------------------------------------------------
   Product block (HiveSuite)
   ---------------------------------------------------------------- */
.product-block .accent-mark {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
  opacity: 0.75;
}

.product-block h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 20px;
}

.product-block .lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 16px;
}

.product-block .proof {
  font-size: 14px;
  color: var(--dim);
  font-style: italic;
  margin-bottom: 24px;
}

.product-block .sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 28px;
}

.product-detail {
  background: var(--card);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 24px;
  margin-top: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail:hover {
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.product-detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.product-detail-row:first-child {
  padding-top: 0;
}

.product-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-detail-row__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  flex-shrink: 0;
  width: 100px;
}

.product-detail-row__value {
  color: var(--muted);
  font-size: 13px;
}

.product-cta {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.product-cta:hover {
  text-decoration: none;
}


/* ----------------------------------------------------------------
   Status
   ---------------------------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 24px;
}

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50b37a;
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   About
   ---------------------------------------------------------------- */
.about-text {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 54ch;
}

.about-text + .about-text {
  margin-top: 18px;
}


/* ----------------------------------------------------------------
   Current focus
   ---------------------------------------------------------------- */
.focus-block {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.focus-block p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}

.focus-block p + p {
  margin-top: 12px;
}


/* ----------------------------------------------------------------
   Build in public
   ---------------------------------------------------------------- */
.build-links {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.build-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.build-link:hover {
  color: var(--accent);
}


/* ----------------------------------------------------------------
   Experiments list
   ---------------------------------------------------------------- */
.experiments-list {
  display: flex;
  flex-direction: column;
}

.experiment-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.experiment-item:first-child {
  border-top: 1px solid var(--border);
}

.experiment-item__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.experiment-item__name:hover {
  color: var(--accent);
}

.experiment-item__desc {
  font-size: 13px;
  color: var(--dim);
  text-align: right;
}


/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */
.contact-email {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-bottom: 40px;
}

.contact-email:hover {
  color: var(--accent);
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.profile-card__platform {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  width: 72px;
  flex-shrink: 0;
  padding-top: 2px;
}

.profile-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.profile-card__role {
  font-size: 13px;
  color: var(--muted);
}

.profile-card__url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  text-decoration: none;
  margin-top: 2px;
}

.profile-card__url:hover {
  color: var(--accent);
}


/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}


/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero {
    padding: 60px 0 56px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section,
  .section-alt {
    padding: 60px 0;
  }

  .product-detail-row {
    flex-direction: column;
    gap: 4px;
  }

  .experiment-item {
    flex-direction: column;
    gap: 4px;
  }

  .experiment-item__desc {
    text-align: left;
  }

  .profile-card {
    flex-direction: column;
    gap: 8px;
  }
}
