:root {
  --bg: #f6f3ee;
  --paper: rgba(255, 250, 244, 0.78);
  --paper-strong: #fffaf4;
  --text: #1c212b;
  --muted: #67707d;
  --line: rgba(28, 33, 43, 0.12);
  --accent: #8f63ff;
  --accent-2: #ff8f70;
  --accent-3: #5cb7b2;
  --shadow: 0 18px 48px rgba(39, 35, 50, 0.10);
  --radius: 22px;
  --container: 1180px;
  --narrow: 840px;
  --transition: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.85;
  background:
    radial-gradient(circle at top left, rgba(143,99,255,0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(255,143,112,0.12), transparent 28%),
    linear-gradient(180deg, #f9f6f1 0%, #f2eee8 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: var(--narrow);
}

.cursor-glow {
  position: fixed;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,99,255,0.12) 0%, rgba(143,99,255,0.06) 35%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(249, 246, 241, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: var(--transition);
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

/* homepage */
.home-top {
  padding: 92px 0 36px;
  position: relative;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

.gradient-orb-1 {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 50px;
  background: linear-gradient(135deg, rgba(143,99,255,0.35), rgba(92,183,178,0.28));
}

.gradient-orb-2 {
  width: 300px;
  height: 300px;
  right: -70px;
  top: 180px;
  background: linear-gradient(135deg, rgba(255,143,112,0.34), rgba(143,99,255,0.20));
}

.home-top-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.note-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.home-intro h1,
.page-intro h1,
.contact-panel h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.home-intro h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  margin-bottom: 20px;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.home-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.stack-main,
.stack-small,
.media-large,
.article-image-card,
.split-reading-image {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-strong);
}

.stack-main img,
.stack-small img,
.media-large img,
.article-image-card img,
.split-reading-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 1s ease;
}

.stack-main:hover img,
.stack-small:hover img,
.media-large:hover img,
.article-image-card:hover img,
.split-reading-image:hover img {
  transform: scale(1.05);
  filter: saturate(1.04);
}

.stack-main {
  border-radius: 32px;
}

.stack-main img {
  height: 520px;
}

.stack-side {
  display: grid;
  gap: 18px;
}

.stack-small {
  border-radius: 22px;
}

.stack-small img {
  height: 250px;
}

.content-section {
  padding: 18px 0 90px;
}

.editorial-shell {
  max-width: 980px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.editorial-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.editorial-kicker span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.editorial-content {
  max-width: 780px;
}

.editorial-content p {
  font-size: 1.06rem;
  color: var(--text);
  margin-bottom: 22px;
}

.dropcap::first-letter {
  float: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.3rem;
  line-height: 0.9;
  padding-right: 10px;
  padding-top: 8px;
  color: var(--accent);
}

.inline-note {
  margin: 30px 0;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(143,99,255,0.08), rgba(255,143,112,0.08));
  border: 1px solid rgba(143,99,255,0.12);
}

.inline-note p {
  margin: 0;
  color: var(--muted);
}

/* inner pages */
.page-intro {
  padding: 118px 0 24px;
}

.page-intro h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.media-strip {
  padding-bottom: 34px;
}

.media-strip-grid {
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
}

.media-large {
  border-radius: 28px;
}

.media-large img {
  height: 500px;
}

.article-with-card-image::after {
  content: "";
  display: block;
  clear: both;
}

.article-image-card {
  width: 330px;
  border-radius: 22px;
  float: left;
  margin: 8px 28px 18px 0;
}

.article-image-card img {
  height: 420px;
}

.split-reading {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}

.split-reading-image {
  border-radius: 22px;
}

.split-reading-image img {
  height: 500px;
}

/* contact */
.contact-main {
  padding: 120px 0 90px;
}

.contact-panel {
  padding: 36px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 14px;
}

.contact-text {
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-details {
  margin-bottom: 28px;
}

.contact-details p {
  margin-bottom: 10px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: var(--transition);
}

.contact-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(143,99,255,0.16);
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 980px) {
  .home-top-grid,
  .split-reading,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-stack {
    grid-template-columns: 1fr;
  }

  .stack-main img {
    height: 380px;
  }

  .stack-small img {
    height: 220px;
  }

  .split-reading-image img {
    height: 320px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .article-image-card {
    float: none;
    width: 100%;
    margin: 0 0 22px 0;
  }

  .article-image-card img {
    height: 280px;
  }

  .home-intro h1,
  .page-intro h1,
  .contact-panel h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }
}

@media (max-width: 600px) {
  .container,
  .media-strip-grid {
    width: min(calc(100% - 28px), 1280px);
  }

  .header-inner {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .home-top {
    padding-top: 78px;
  }

  .stack-main img {
    height: 280px;
  }

  .media-large img {
    height: 260px;
  }

  .split-reading-image img {
    height: 260px;
  }

  .contact-panel {
    padding: 24px;
  }

  .editorial-content p {
    font-size: 1rem;
  }
}