/* ===================================
   Finistère Brittany – Main Stylesheet
   =================================== */

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

:root {
  --ocean-deep: #1a3a5c;
  --ocean-mid: #2e6b9e;
  --ocean-light: #5ba3d9;
  --sand: #f5efe6;
  --sand-dark: #e8dfd2;
  --rock: #6b7b8d;
  --lighthouse-red: #c0392b;
  --kelp-green: #2d6a4f;
  --foam: #ffffff;
  --text-dark: #1c2d3f;
  --text-mid: #4a5568;
  --text-light: #718096;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(26,58,92,0.08);
  --shadow-lg: 0 8px 30px rgba(26,58,92,0.12);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --article-width: 780px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  color: var(--text-dark);
  background: var(--sand);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ocean-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ocean-deep);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ocean-deep);
  line-height: 1.3;
}

/* --- Utility --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-dark);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

.site-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--ocean-mid);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean-mid);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ocean-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ocean-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section (Homepage) --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, #1b4f72 40%, var(--ocean-mid) 100%);
  overflow: hidden;
  color: var(--foam);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,165.3C672,171,768,213,864,218.7C960,224,1056,192,1152,170.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--foam);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: #f9d77e;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--foam);
  color: var(--ocean-deep);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.hero-cta:hover {
  background: #f9d77e;
  color: var(--ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- Section Common --- */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Quick Links (Homepage) --- */
.quick-links {
  background: var(--foam);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 2rem 1.2rem;
  background: var(--sand);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.quick-link:hover {
  border-color: var(--ocean-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.quick-link-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foam);
  font-size: 1.5rem;
}

.quick-link h3 {
  font-size: 1rem;
  color: var(--ocean-deep);
}

.quick-link p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Article Cards --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--foam);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--ocean-mid);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.75rem;
  background: var(--ocean-deep);
  color: var(--foam);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ocean-deep);
}

.article-card-body h3 a {
  color: inherit;
}

.article-card-body h3 a:hover {
  color: var(--ocean-mid);
}

.article-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.article-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--sand-dark);
  padding-top: 0.8rem;
}

.read-more {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocean-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more:hover {
  gap: 0.6rem;
}

/* --- Featured Article (Large Card) --- */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--foam);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.featured-card-image {
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card-body .article-card-tag {
  position: static;
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
}

.featured-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.featured-card-body .article-card-excerpt {
  font-size: 1rem;
}

/* --- Article Page --- */
.article-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background: var(--ocean-deep);
  overflow: hidden;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,92,0.85), transparent 60%);
  z-index: 1;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  width: 100%;
  color: var(--foam);
}

.article-hero-content .container {
  max-width: var(--article-width);
}

.article-hero .article-card-tag {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--foam);
  margin-bottom: 0.8rem;
}

.article-hero-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: var(--foam);
  border-bottom: 1px solid var(--sand-dark);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.3rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-mid);
}

/* Article Content */
.article-content {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}

.article-content h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--sand-dark);
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.85;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 4px solid var(--ocean-mid);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(94,163,217,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-mid);
}

.article-content figure {
  margin: 2rem 0;
}

.article-content figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* Table of Contents */
.toc {
  background: var(--foam);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.toc h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
}

.toc ol {
  list-style: decimal;
  padding-left: 1.2rem;
}

.toc li {
  margin-bottom: 0.4rem;
}

.toc a {
  font-size: 0.92rem;
  color: var(--text-mid);
}

.toc a:hover {
  color: var(--ocean-mid);
}

/* --- Related Articles --- */
.related-articles {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 0 1rem 4rem;
  border-top: 2px solid var(--sand-dark);
  padding-top: 3rem;
}

.related-articles h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* --- About / Contact Pages --- */
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
  color: var(--foam);
  text-align: center;
}

.page-hero h1 {
  color: var(--foam);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--ocean-deep);
}

.page-content p {
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Contact Form */
.contact-form {
  background: var(--foam);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--sand);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean-mid);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--ocean-mid);
  color: var(--foam);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,58,92,0.2);
}

/* --- Domain Notice --- */
.domain-notice {
  background: linear-gradient(135deg, var(--ocean-deep), #1b4f72);
  color: var(--foam);
  text-align: center;
  padding: 3rem 1rem;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.domain-notice h3 {
  color: var(--foam);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.domain-notice p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.domain-notice a {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--lighthouse-red);
  color: var(--foam);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.domain-notice a:hover {
  background: #e74c3c;
  color: var(--foam);
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-about h4,
.footer-col h4 {
  color: var(--foam);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-col a:hover {
  color: var(--foam);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--foam);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--ocean-mid);
  color: var(--foam);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--ocean-deep);
  transform: translateY(-2px);
}

/* --- Discover Page --- */
.discover-header {
  padding: 4rem 0 2rem;
  background: var(--foam);
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  padding: 2rem 0 5rem;
}

/* Placeholder images via CSS gradients */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.placeholder-img.ocean {
  background: linear-gradient(135deg, #1a5276, #2e86c1, #5dade2);
}

.placeholder-img.forest {
  background: linear-gradient(135deg, #1e4d2b, #2d6a4f, #52b788);
}

.placeholder-img.stone {
  background: linear-gradient(135deg, #6c757d, #adb5bd, #dee2e6);
}

.placeholder-img.warm {
  background: linear-gradient(135deg, #b7410e, #d35400, #f39c12);
}

.placeholder-img.rose {
  background: linear-gradient(135deg, #c0392b, #e74c3c, #f1948a);
}

.placeholder-img.village {
  background: linear-gradient(135deg, #1a3a5c, #2e6b9e, #85c1e9);
}

.placeholder-img.art {
  background: linear-gradient(135deg, #6c3483, #a569bd, #d2b4de);
}

/* --- Photo Gallery --- */
.photo-gallery {
  margin: 2.5rem 0;
}

.photo-gallery h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--ocean-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.gallery-item .placeholder-img {
  transition: transform 0.5s ease;
}

.gallery-item:hover .placeholder-img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--foam);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Three-column highlight boxes */
.highlight-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-box {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--sand-dark);
  transition: var(--transition);
}

.highlight-box:hover {
  box-shadow: var(--shadow);
  border-color: var(--ocean-light);
}

.highlight-box h4 {
  font-size: 1rem;
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.highlight-box p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Museum list */
.museum-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.museum-item {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.3rem;
  border-left: 3px solid var(--ocean-mid);
}

.museum-item h4 {
  font-size: 0.95rem;
  color: var(--ocean-deep);
  margin-bottom: 0.3rem;
}

.museum-item p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .highlight-boxes,
  .museum-list {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card-image {
    min-height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--foam);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 200;
    gap: 1.5rem;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 300;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .articles-grid,
  .discover-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 70vh;
  }

  .section {
    padding: 3.5rem 0;
  }

  .article-content {
    padding: 2rem 1rem 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
