/* =========================
   ARTMO — CORE STYLES
   (Homepage / Essays / Vision / Tools)
========================= */

/* -------------------------
   DESIGN TOKENS
-------------------------- */
:root {
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
             sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-serif: "Source Serif Pro", Georgia, serif;

  --max-width: 860px;          /* essays/vision pages */
  --hero-max: 1600px;          /* cinematic hero container */

  --text: #0f1a2a;             /* brand ink */
  --muted: rgba(15, 26, 42, 0.66);
  --line: rgba(15, 26, 42, 0.12);

  --bg: #fbfbfd;               /* Apple-ish white */
  --bg-soft: #f3f4f6;          /* subtle depth */
  --panel: rgba(255, 255, 255, 0.75);

  --btn: #2c2b2a;
  --btn-hover: #1f1e1d;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(0,0,0,0.10);
}

/* -------------------------
   BASE
-------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}

/* Global typography helpers */
h1, h2, h3 {
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 1rem 0;
}
p { margin: 0 0 1.2rem 0; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

strong { font-weight: 650; }

/* -------------------------
   PAGE CONTAINER (Essays/Vision/Tools)
-------------------------- */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.75rem 6rem;
}

.page .lede {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 2.5rem 0;
}

/* Neutral card (useful for Tools lists, hubs, etc.) */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* -------------------------
   HERO — FULL-WIDTH A1
-------------------------- */
.hero {
  width: 100%;
  padding: 7rem 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f7f7fa 45%,
    #eff0f3 100%
  );
}

/* Main container — wide cinematic */
.hero-inner {
  max-width: var(--hero-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  padding: 0 4rem;
}

/* LEFT COLUMN */
.hero-left {
  flex: 1 1 720px;
  max-width: 760px;
  color: var(--text);
}

.hero-left h1 {
  font-size: 3.4rem;
  font-weight: 650;
  margin-bottom: 1.25rem;
}

.subline {
  font-size: 1.45rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.hero-text {
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 1.15rem;
  color: rgba(15, 26, 42, 0.88);
}

/* Buttons */
.hero-links {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.95rem 1.6rem;
  font-size: 1.02rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--btn);
  color: #fff;
}
.btn-primary:hover { background: var(--btn-hover); }

.btn-secondary {
  background: transparent;
  border-color: rgba(44, 43, 42, 0.55);
  color: rgba(44, 43, 42, 0.95);
}
.btn-secondary:hover { background: rgba(44, 43, 42, 0.08); }

/* RIGHT COLUMN — portrait */
.hero-right {
  flex: 0 1 auto;
}

.hero-right img {
  width: 680px;
  max-width: 45vw;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}

/* Optional: if using bg-removed portrait */
.hero-right img.bg-removed {
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 42px rgba(0,0,0,0.16));
}

/* -------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 980px) {
  .hero { padding: 4.5rem 0; }

  .hero-inner {
    flex-direction: column;
    gap: 3rem;
    padding: 0 2rem;
    text-align: left;
  }

  .hero-right img {
    width: 560px;
    max-width: 86vw;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero { padding: 3.5rem 0; }

  .hero-inner { padding: 0 1.4rem; }

  .hero-left h1 { font-size: 2.35rem; }

  .subline { font-size: 1.18rem; }

  .hero-text { font-size: 1.03rem; line-height: 1.6; }

  .hero-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .btn-primary, .btn-secondary { width: auto; }

  .hero-right img {
    width: 100%;
    max-width: 100%;
  }

  .page { padding: 3.5rem 1.3rem 5rem; }
}
/* =========================
   NAV + ESSAYS (ADD BELOW)
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(251, 251, 253, 0.72);
  border-bottom: 1px solid rgba(15, 26, 42, 0.10);
}

.nav {
  max-width: var(--hero-max);
  margin: 0 auto;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-right {
  display: flex;
  gap: 1.25rem;
}

.nav-link {
  color: rgba(15, 26, 42, 0.78);
  text-decoration: none;
}

.nav-link:hover {
  color: rgba(15, 26, 42, 1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Essay layout */
.essay-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.75rem 6rem;
}

.essay-hero {
  margin: 2rem 0 2.25rem;
}

.essay-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  border: 1px solid rgba(15, 26, 42, 0.10);
}

.essay h1 {
  font-size: 2.35rem;
  margin: 0 0 0.75rem;
}

.essay-meta {
  color: rgba(15, 26, 42, 0.60);
  margin-bottom: 2rem;
}

.essay h2 {
  margin-top: 2.6rem;
  font-size: 1.35rem;
}

.essay p {
  color: rgba(15, 26, 42, 0.88);
  line-height: 1.8;
}

.essay ul {
  padding-left: 1.2rem;
  margin: 1rem 0 1.6rem;
}

.essay li {
  margin: 0.4rem 0;
  color: rgba(15, 26, 42, 0.86);
}

.return-link {
  display: inline-block;
  margin-top: 2.5rem;
  text-decoration: none;
  color: rgba(15, 26, 42, 0.82);
}

.return-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.essay blockquote {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(15, 26, 42, 0.16);
  color: rgba(15, 26, 42, 0.78);
}

.essay em {
  font-style: italic;
}

.essays-page .links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.essays-page footer {
  margin-top: 0.75rem;
  color: rgba(15, 26, 42, 0.66);
  font-size: 0.95rem;
}

/* ADD THIS NEXT */
.page .links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page footer {
  margin-top: 0.75rem;
  color: rgba(15, 26, 42, 0.66);
  font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 600px) {
  .nav { padding: 0.95rem 1.4rem; }
  .essay-page { padding: 2.2rem 1.3rem 5rem; }
  .essay h1 { font-size: 2rem; }
}
.essays-page {
  max-width: 760px;
  margin: 120px auto;
  padding: 0 24px;
}

.essays-page h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.essays-page .intro {
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
  line-height: 1.6;
}

.essays-page section {
  margin-bottom: 80px;
}

.essays-page h2 {
  font-size: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
}

.essays-page ul {
  list-style: none;
  padding: 0;
}

.essays-page li {
  margin-bottom: 40px;
}

.essays-page li strong {
  font-size: 22px;
  display: block;
  margin-bottom: 6px;
}

.read-link {
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  font-weight: 500;
}

.read-link:hover {
  opacity: 0.6;
}