/*
Theme Name: Porsiqe-layout
Author: Porsiqe-studio
Version: 3.5.7
Description: Porsiqe
*/

:root {
  --aqua: #b8e6e6;
  --aqua-pale: #e8f6f6;
  --aqua-deep: #9dd4d4;
  --ivory: #faf8f2;
  --ivory-warm: #f3ede0;
  --graphite: #2d2d2d;
  --graphite-mid: #4a4a4a;
  --steel: #4a7c8f;
  --steel-dark: #375e6d;
  --steel-light: #6a9caf;
  --accent-coral: #e8856c;
  --font-display: Georgia, Cambria, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(45,45,45,0.06);
  --shadow-md: 0 4px 20px rgba(45,45,45,0.1);
  --shadow-lg: 0 8px 40px rgba(45,45,45,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--steel-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--graphite); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; }

/* UTILITY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--space-md); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.tag { display: inline-block; background: var(--aqua-pale); color: var(--steel-dark); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3em 0.8em; border-radius: 4px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,124,143,0.1);
  padding: var(--space-sm) 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 0 var(--space-md);
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--graphite); }
.logo svg { width: 36px; height: 36px; }
.nav-desktop { display: none; list-style: none; gap: var(--space-md); }
.nav-desktop li a { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.4em 0; border-bottom: 2px solid transparent; }
.nav-desktop li a:hover { border-bottom-color: var(--steel); }

/* BURGER */
.burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; justify-content: center; }
.burger span { display: block; width: 24px; height: 2px; background: var(--graphite); transition: var(--transition); }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--ivory); z-index: 200; flex-direction: column; justify-content: center; align-items: center; gap: var(--space-lg); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; color: var(--graphite); }
.mobile-nav a:hover { color: var(--steel); }
.mobile-nav-close { position: absolute; top: var(--space-md); right: var(--space-md); background: none; border: none; font-size: 2rem; cursor: pointer; min-width: 44px; min-height: 44px; color: var(--graphite); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
}

/* HERO SPLIT */
.hero-split {
  display: grid; grid-template-columns: 1fr;
  min-height: 70vh;
  background: linear-gradient(135deg, var(--aqua-pale) 0%, #d4eeee 50%, var(--ivory) 100%);
}
.hero-split__content {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-split__eyebrow { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--steel); margin-bottom: var(--space-sm); font-weight: 700; }
.hero-split__title { margin-bottom: var(--space-md); }
.hero-split__lead { font-size: 1.15rem; color: var(--graphite-mid); max-width: 540px; line-height: 1.8; }
.hero-split__image { position: relative; min-height: 300px; overflow: hidden; }
.hero-split__image img { width: 100%; height: 100%; object-fit: cover; }
.hero-split__image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(232,246,246,0.3), transparent);
}
@media (min-width: 768px) {
  .hero-split { grid-template-columns: 1fr 1fr; }
  .hero-split__content { padding: var(--space-xxl) var(--space-xl); }
  .hero-split__image { min-height: 500px; }
}

/* EDITORIAL LEAD */
.editorial-lead {
  padding: var(--space-xl) 0;
  background: var(--ivory);
}
.editorial-lead__text {
  max-width: 760px; margin: 0 auto;
  font-size: 1.1rem; color: var(--graphite-mid);
}
.editorial-lead__text::first-letter {
  font-family: var(--font-display);
  font-size: 4rem; float: left; line-height: 0.8;
  margin-right: 0.15em; margin-top: 0.05em;
  color: var(--steel);
}

/* STAGGERED CARDS */
.staggered-section { padding: var(--space-xl) 0; background: var(--aqua-pale); }
.staggered-section h2 { text-align: center; margin-bottom: var(--space-lg); }
.staggered-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
.stagger-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.stagger-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stagger-card__img { height: 220px; overflow: hidden; }
.stagger-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.stagger-card:hover .stagger-card__img img { transform: scale(1.05); }
.stagger-card__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.stagger-card__tag { margin-bottom: var(--space-xs); }
.stagger-card__title { font-size: 1.3rem; margin-bottom: var(--space-xs); }
.stagger-card__excerpt { color: var(--graphite-mid); font-size: 0.95rem; flex: 1; }
.stagger-card__link {
  display: inline-flex; align-items: center; gap: 0.4em;
  margin-top: var(--space-sm); font-weight: 600; font-size: 0.9rem;
  color: var(--steel); transition: var(--transition);
}
.stagger-card__link:hover { gap: 0.8em; color: var(--steel-dark); }
@media (min-width: 768px) {
  .staggered-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
  .stagger-card:nth-child(2) { transform: translateY(30px); }
  .stagger-card:nth-child(2):hover { transform: translateY(24px); }
}

/* QUOTE PANEL */
.quote-panel {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--steel) 0%, var(--steel-dark) 100%);
  color: #fff; text-align: center;
}
.quote-panel__text {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem);
  max-width: 800px; margin: 0 auto var(--space-sm);
  font-style: italic; line-height: 1.5;
}
.quote-panel__author { font-size: 0.9rem; opacity: 0.8; letter-spacing: 0.05em; }

/* ARTICLE BODY + SIDEBAR */
.content-with-sidebar {
  display: grid; grid-template-columns: 1fr; gap: var(--space-lg);
  padding: var(--space-xl) 0;
}
.main-article h2 { margin: var(--space-lg) 0 var(--space-sm); border-left: 4px solid var(--steel); padding-left: var(--space-sm); }
.main-article h3 { margin: var(--space-md) 0 var(--space-xs); color: var(--steel-dark); }
.main-article p { font-size: 1.05rem; color: var(--graphite-mid); }
.main-article ul { list-style: none; padding: 0; margin: var(--space-sm) 0; }
.main-article ul li {
  padding: 0.6em 0 0.6em 1.8em; position: relative;
  font-size: 1rem; color: var(--graphite-mid);
}
.main-article ul li::before {
  content: ""; position: absolute; left: 0; top: 1em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--aqua-deep); border: 2px solid var(--steel);
}

.sidebar { display: flex; flex-direction: column; gap: var(--space-md); }
.sidebar-box {
  background: var(--aqua-pale); border-radius: var(--radius-lg);
  padding: var(--space-md); border-left: 4px solid var(--steel);
}
.sidebar-box h4 { font-size: 1.1rem; margin-bottom: var(--space-xs); color: var(--steel-dark); }
.sidebar-box p { font-size: 0.92rem; color: var(--graphite-mid); margin-bottom: 0; }
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { padding: 0.4em 0; font-size: 0.92rem; border-bottom: 1px solid rgba(74,124,143,0.12); }
.sidebar-box ul li:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .content-with-sidebar { grid-template-columns: 2fr 1fr; }
}

/* IMAGE FEATURE */
.image-feature {
  position: relative; min-height: 350px; overflow: hidden;
  display: flex; align-items: flex-end;
  margin: 0;
}
.image-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-feature__overlay {
  position: relative; z-index: 2;
  background: linear-gradient(to top, rgba(45,45,45,0.85) 0%, transparent 100%);
  width: 100%; padding: var(--space-xl) var(--space-md) var(--space-lg);
  color: #fff;
}
.image-feature__overlay h2 { color: #fff; margin-bottom: var(--space-xs); }
.image-feature__overlay p { opacity: 0.9; max-width: 600px; }

/* BENEFITS GRID */
.benefits-section { padding: var(--space-xl) 0; background: var(--ivory); }
.benefits-section h2 { text-align: center; margin-bottom: var(--space-lg); }
.benefits-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-md);
}
.benefit-card {
  background: #fff; border-radius: var(--radius-lg); padding: var(--space-lg);
  border-top: 4px solid var(--aqua-deep);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card__icon { font-size: 2.2rem; margin-bottom: var(--space-sm); }
.benefit-card__title { font-size: 1.15rem; margin-bottom: var(--space-xs); }
.benefit-card__text { font-size: 0.95rem; color: var(--graphite-mid); margin-bottom: 0; }
@media (min-width: 600px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

/* NEWS STRIP */
.news-strip { padding: var(--space-xl) 0; background: var(--aqua-pale); }
.news-strip h2 { margin-bottom: var(--space-lg); }
.news-strip__list { display: flex; flex-direction: column; gap: var(--space-md); }
.news-strip__item {
  display: flex; gap: var(--space-md); align-items: center;
  background: #fff; border-radius: var(--radius); padding: var(--space-sm);
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.news-strip__item:hover { box-shadow: var(--shadow-md); }
.news-strip__item img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.news-strip__item h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.news-strip__item p { font-size: 0.88rem; color: var(--graphite-mid); margin-bottom: 0; }
@media (min-width: 768px) {
  .news-strip__list { flex-direction: row; }
  .news-strip__item { flex-direction: column; flex: 1; align-items: stretch; }
  .news-strip__item img { width: 100%; height: 140px; }
}

/* CTA */
.cta-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(160deg, var(--steel) 0%, var(--steel-dark) 60%, #2d4a55 100%);
  color: #fff; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: var(--space-sm); }
.cta-section p { max-width: 600px; margin: 0 auto var(--space-lg); opacity: 0.9; font-size: 1.05rem; }
.cta-form {
  display: flex; flex-direction: column; gap: var(--space-sm);
  max-width: 480px; margin: 0 auto;
}
.cta-form input[type="email"] {
  padding: 1rem 1.2rem; border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius); background: rgba(255,255,255,0.1);
  color: #fff; font-size: 1rem; min-height: 50px;
  transition: var(--transition);
}
.cta-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input[type="email"]:focus { outline: none; border-color: var(--aqua); background: rgba(255,255,255,0.15); }
.cta-form button {
  padding: 1rem 2rem; border: none; border-radius: var(--radius);
  background: var(--aqua); color: var(--graphite); font-weight: 700;
  font-size: 1rem; cursor: pointer; min-height: 50px;
  transition: var(--transition); text-transform: uppercase; letter-spacing: 0.06em;
}
.cta-form button:hover { background: #fff; transform: translateY(-2px); }
@media (min-width: 600px) { .cta-form { flex-direction: row; } .cta-form button { flex-shrink: 0; } }

/* INNER ARTICLE HERO */
.article-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  background: linear-gradient(135deg, var(--aqua-pale) 0%, var(--ivory) 100%);
  text-align: center;
}
.article-hero .tag { margin-bottom: var(--space-sm); }
.article-hero h1 { max-width: 800px; margin: 0 auto var(--space-sm); }
.article-hero p { max-width: 600px; margin: 0 auto; color: var(--graphite-mid); font-size: 1.1rem; }

/* ARTICLE CONTENT */
.article-content {
  max-width: 760px; margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.article-content h2 { margin: var(--space-lg) 0 var(--space-sm); border-left: 4px solid var(--steel); padding-left: var(--space-sm); }
.article-content h3 { margin: var(--space-md) 0 var(--space-xs); color: var(--steel-dark); }
.article-content p { font-size: 1.05rem; color: var(--graphite-mid); }
.article-content img { border-radius: var(--radius-lg); margin: var(--space-lg) 0; }
.article-content .highlight-box {
  background: var(--aqua-pale); border-radius: var(--radius-lg);
  padding: var(--space-md); margin: var(--space-lg) 0;
  border-left: 4px solid var(--steel);
}
.article-content ul { list-style: none; padding: 0; margin: var(--space-sm) 0 var(--space-md); }
.article-content ul li {
  padding: 0.6em 0 0.6em 1.8em; position: relative;
  font-size: 1rem; color: var(--graphite-mid);
}
.article-content ul li::before {
  content: ""; position: absolute; left: 0; top: 1em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--aqua-deep); border: 2px solid var(--steel);
}
.article-content .inline-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; color: var(--steel);
  border-left: 4px solid var(--aqua-deep); padding: var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0; line-height: 1.5;
}

/* ABOUT PAGE */
.about-hero { padding: var(--space-xxl) 0 var(--space-xl); background: var(--aqua-pale); text-align: center; }
.about-content { padding: var(--space-xl) 0; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-top: var(--space-lg); }
.team-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-lg); text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card__icon { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.team-card h3 { margin-bottom: var(--space-xs); }
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* LEGAL PAGES */
.legal-page { padding: var(--space-xl) 0; }
.legal-page h1 { margin-bottom: var(--space-lg); text-align: center; }
.legal-page h2 { margin: var(--space-lg) 0 var(--space-sm); font-size: 1.3rem; }
.legal-page p, .legal-page li { font-size: 0.95rem; color: var(--graphite-mid); }
.legal-page ol { padding-left: 1.5rem; }
.legal-page ol li { padding: 0.4em 0; }
.legal-date { text-align: center; color: var(--graphite-mid); font-size: 0.9rem; margin-bottom: var(--space-lg); }

/* SUCCESS / 404 */
.message-page {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60vh; text-align: center; padding: var(--space-xl) var(--space-md);
}
.message-page h1 { margin-bottom: var(--space-sm); }
.message-page p { color: var(--graphite-mid); margin-bottom: var(--space-lg); max-width: 500px; }
.message-page .btn {
  display: inline-block; padding: 1rem 2.5rem; background: var(--steel);
  color: #fff; border-radius: var(--radius); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: var(--transition); min-height: 50px;
}
.message-page .btn:hover { background: var(--steel-dark); transform: translateY(-2px); }
.message-page__links { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs); }
.message-page__links a { color: var(--steel); font-weight: 600; }

/* FOOTER */
.site-footer {
  background: var(--graphite); color: rgba(255,255,255,0.7);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: var(--space-lg);
  max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
}
.footer-brand .logo { color: #fff; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-nav h4, .footer-legal h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.footer-nav ul, .footer-legal ul { list-style: none; }
.footer-nav ul li, .footer-legal ul li { padding: 0.3em 0; }
.footer-nav a, .footer-legal a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--aqua); }
.footer-bottom {
  margin-top: var(--space-lg); padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.82rem;
  max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: var(--space-md); padding-right: var(--space-md);
}
.footer-bottom p { margin-bottom: 0.4em; }
.footer-disclaimer { font-size: 0.78rem; opacity: 0.6; max-width: 600px; margin: var(--space-sm) auto 0; }
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed; bottom: var(--space-md); right: var(--space-md);
  max-width: 380px; width: calc(100% - 2rem);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-md);
  z-index: 300; transition: var(--transition);
}
.cookie-banner p { font-size: 0.88rem; margin-bottom: var(--space-sm); color: var(--graphite-mid); }
.cookie-banner a { color: var(--steel); text-decoration: underline; }
.cookie-btns { display: flex; gap: var(--space-xs); }
.cookie-btns label, .cookie-btns a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  min-height: 44px; transition: var(--transition);
}
.cookie-accept { background: var(--steel); color: #fff; border: none; }
.cookie-accept:hover { background: var(--steel-dark); }
.cookie-decline { background: transparent; color: var(--graphite-mid); border: 1px solid rgba(45,45,45,0.2); }
.cookie-decline:hover { background: var(--aqua-pale); }
#cookie-close { display: none; }
#cookie-close:checked ~ .cookie-banner { display: none; }

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* HIGHLIGHT BAR */
.highlight-bar {
  display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--ivory-warm);
}
.highlight-bar__item { text-align: center; min-width: 140px; }
.highlight-bar__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--steel); font-weight: 700; }
.highlight-bar__label { font-size: 0.82rem; color: var(--graphite-mid); text-transform: uppercase; letter-spacing: 0.06em; }
