+
\ No newline at end of file
diff --git a/scripts/app.js b/scripts/app.js
index 8514be6..1fee08f 100644
--- a/scripts/app.js
+++ b/scripts/app.js
@@ -6,7 +6,7 @@ const routes = {
home: { url: 'pages/home.html', title: 'Home' },
about: { url: 'pages/about.html', title: 'About' },
community: { url: 'pages/community.html', title: 'Community' },
- blog: { url: 'pages/blog.html', title: 'Blog' },
+ news: { url: 'pages/news.html', title: 'News' },
join: { url: 'pages/join.html', title: 'Join' },
privacy: { url: 'pages/privacy-policy.html', title: 'Privacy Policy' },
};
diff --git a/styles/main.css b/styles/main.css
index f21c4ac..97bfcd4 100644
--- a/styles/main.css
+++ b/styles/main.css
@@ -292,15 +292,6 @@ main :focus-visible {
}
}
-/* ---------- About page ---------- */
-li .stance-pro {
- color: var(--green);
-}
-li .stance-anti {
- color: var(--red);
-}
-
-
/* ---------- Join form ---------- */
.form {
max-width: 44rem;
@@ -566,4 +557,203 @@ li .stance-anti {
.event-list li:hover {
background: var(--gold);
color: var;
+}
+
+/* ---------- Landing page ---------- */
+.hero {
+ display: grid;
+ grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
+ align-items: center;
+ gap: 1.5rem 2.5rem;
+ padding: 2rem;
+ margin-bottom: 2.5rem;
+ background: var(--white);
+ border: 1px solid var(--rule);
+ border-radius: 0.5rem;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+}
+
+.hero img {
+ width: 100%;
+ max-width: 11rem;
+ max-height: 11rem;
+ object-fit: contain;
+ justify-self: center;
+}
+
+.hero .actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ margin-top: 1.25rem;
+}
+
+.pillars {
+ margin-bottom: 2.5rem;
+}
+
+.pillars-grid {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 1.5rem;
+ margin-top: 1rem;
+}
+
+.pillar {
+ background: var(--white);
+ padding: 1.5rem;
+ border: 1px solid var(--rule);
+ border-radius: 0.5rem;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+}
+
+.pillar h4 {
+ margin: 0 0 0.5rem;
+ font-family: var(--font-sign);
+ font-weight: 900;
+ font-size: 1.15rem;
+ color: var(--blue);
+}
+
+.pillar .statement {
+ margin: 0 0 0.75rem;
+ font-size: 1.125rem;
+ font-weight: 600;
+ color: var(--ink);
+}
+
+.callout {
+ background: var(--white);
+ padding: 1.75rem 2rem;
+ border: 1px solid var(--rule);
+ border-radius: 0.5rem;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+}
+
+.callout .actions {
+ margin-top: 1rem;
+}
+
+.btn {
+ display: inline-block;
+ padding: 0.7rem 1.25rem;
+ border-radius: 0.3rem;
+ font-weight: 700;
+ text-decoration: none;
+}
+
+.btn-primary {
+ background: var(--gold);
+ color: var(--ink);
+}
+
+.btn-primary:hover {
+ background: #e6a800;
+}
+
+.btn-secondary {
+ background: var(--paper);
+ color: var(--blue);
+ border: 1px solid var(--rule);
+}
+
+.btn-secondary:hover {
+ background: var(--gold);
+ color: var(--ink);
+ border-color: var(--gold);
+}
+
+@media (max-width: 48rem) {
+ .hero {
+ grid-template-columns: 1fr;
+ text-align: center;
+ padding: 1.5rem;
+ }
+
+ .hero img {
+ max-width: 7.5rem;
+ max-height: 7.5rem;
+ }
+
+ .hero .actions {
+ justify-content: center;
+ }
+
+ .pillars-grid {
+ grid-template-columns: 1fr;
+ }
+}
+
+/* ---------- About page ---------- */
+.page-intro {
+ margin-bottom: 2.5rem;
+}
+
+.page-intro .lead {
+ max-width: 48rem;
+ margin-bottom: 0;
+}
+
+.values-section {
+ background: var(--white);
+ padding: 1.75rem 2rem;
+ margin-bottom: 2.5rem;
+ border: 1px solid var(--rule);
+ border-radius: 0.5rem;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
+}
+
+.values-section h3 {
+ margin-top: 0;
+}
+
+.values {
+ list-style: none;
+ padding: 0;
+ margin: 1rem 0 0;
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 0.65rem 1.5rem;
+}
+
+.values li {
+ display: flex;
+ align-items: baseline;
+ gap: 0.55rem;
+ margin: 0;
+ padding: 0.55rem 0.75rem;
+ background: var(--paper);
+ border: 1px solid var(--rule);
+ border-radius: 0.35rem;
+}
+
+.values-break {
+ grid-column: 1 / -1;
+ margin-top: 0.5rem;
+}
+
+li .stance-pro {
+ color: var(--green);
+ font-weight: 800;
+ text-transform: uppercase;
+ font-size: 0.85rem;
+ letter-spacing: 0.03em;
+}
+
+li .stance-anti {
+ color: var(--red);
+ font-weight: 800;
+ text-transform: uppercase;
+ font-size: 0.85rem;
+ letter-spacing: 0.03em;
+}
+
+@media (max-width: 48rem) {
+ .values-section {
+ padding: 1.5rem;
+ }
+
+ .values {
+ grid-template-columns: 1fr;
+ }
}
\ No newline at end of file