/* AliseSky — editorial lifestyle magazine */
:root {
  --bg: #fff8f0;
  --bg-alt: #fdeee0;
  --ink: #2d1b3d;
  --ink-soft: #5b4a6b;
  --muted: #8a7a96;
  --accent: #e85a4f;
  --accent-soft: #f8b4a8;
  --line: #ead8c4;
  --card: #ffffff;
  --shadow: 0 18px 40px -24px rgba(45, 27, 61, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: var(--accent); text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: 0.75; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 248, 240, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); opacity: 1; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 100px;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 520px;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); opacity: 1; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  margin-left: 12px;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }

.hero-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--accent) 0%, #f9c98a 50%, #e85a4f 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(45,27,61,0.2), transparent 50%);
}
.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}

/* Sections */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.section-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 56px;
}

/* Story grid */
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.story {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f8b4a8, #e85a4f);
}
.story:nth-child(2) .story-img { background: linear-gradient(135deg, #2d1b3d, #5b4a6b); }
.story:nth-child(3) .story-img { background: linear-gradient(135deg, #f9c98a, #ead8c4); }
.story-body { padding: 24px 24px 28px; }
.story-tag {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.story h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.story p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Newsletter band */
.band {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 80px 0;
  border: none;
}
.band h2 { color: var(--bg); font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; }
.band p { color: var(--accent-soft); margin-bottom: 28px; }
.band .btn { background: var(--accent); color: #fff; }
.band .btn:hover { background: var(--bg); color: var(--ink); }

/* Page content */
.page {
  padding: 80px 0;
  max-width: 760px;
  margin: 0 auto;
}
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 14px; }
.page .meta { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.page h2 { font-size: 26px; margin: 40px 0 14px; }
.page h3 { font-size: 20px; margin: 28px 0 10px; font-family: 'Inter', sans-serif; font-weight: 600; }
.page p, .page li { color: var(--ink-soft); margin-bottom: 14px; }
.page ul { padding-left: 22px; margin-bottom: 14px; }

/* Forms */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: 18px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }

.notice {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

.success {
  display: none;
  background: #e8f5e9;
  border-left: 3px solid #4caf50;
  padding: 16px 20px;
  border-radius: 4px;
  margin-top: 20px;
  color: #1b5e20;
}
.success.show { display: block; }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: var(--ink);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-soft); font-size: 14px; }
.footer-grid p { color: var(--ink-soft); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; }
  .stories { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
  .nav a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
