/*
Theme Name: Citadel Seven
Theme URI: https://7cybersecurityquestions.com
Author: Citadel Networks
Description: A focused editorial theme for 7 Cybersecurity Questions Every Business Owner Should Ask Their IT Provider.
Version: 1.0.0
Text Domain: citadel-seven
*/

:root {
  --ink: #0b0d12;
  --ink-soft: #161922;
  --paper: #f4f4f1;
  --paper-deep: #e8e8e3;
  --white: #ffffff;
  --muted: #a9acb6;
  --line: rgba(255, 255, 255, 0.16);
  --purple: #7752e8;
  --purple-bright: #9c82ff;
  --gold: #d8b45d;
  --header-height: 76px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple-bright); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  width: min(var(--content), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  color: var(--white);
  background: var(--purple);
  clip-path: polygon(50% 0, 94% 17%, 86% 70%, 50% 100%, 14% 70%, 6% 17%);
  font-size: 15px;
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.site-nav a:hover { color: var(--white); }
.nav-cta { border-bottom: 2px solid var(--purple-bright); padding: 8px 0 6px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background: #0b0d12 url("assets/images/cinematic-01.webp") center/cover no-repeat;
  filter: saturate(.78) contrast(1.08);
  transform: scale(1.035);
  animation: hero-drift 12s ease-out both;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: rgba(6, 7, 11, .78);
}
.hero-shell {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 64px) 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: .98;
  font-weight: 700;
}
.hero-deck {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.79);
  font-size: 20px;
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.button:hover { background: #8768ec; transform: translateY(-2px); }
.button-secondary { background: transparent; border-color: rgba(255,255,255,.42); }
.button-secondary:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.button-arrow { font-size: 20px; line-height: 1; }
.book-stage { position: relative; justify-self: center; width: min(330px, 100%); }
.book-stage::before {
  content: "";
  position: absolute;
  inset: 10% -12% -7% 6%;
  z-index: -1;
  background: rgba(119, 82, 232, .28);
  filter: blur(35px);
}
.book-cover {
  width: 100%;
  box-shadow: 0 35px 80px rgba(0,0,0,.52);
  transform: rotate(2deg);
  animation: book-enter .9s .18s cubic-bezier(.2,.8,.2,1) both;
}
.hero-credit { margin: 18px 0 0; text-align: center; color: rgba(255,255,255,.65); font-size: 13px; font-weight: 700; }
.method-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 11px 24px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.58);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-shell { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.section-kicker {
  margin: 0 0 12px;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  max-width: 880px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  line-height: 1.05;
}
.story { padding: 110px 0 100px; background: var(--paper); color: var(--ink); }
.story .section-kicker { color: #6343c7; }
.story-copy { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: end; }
.story-copy p { margin: 0 0 6px; color: #51545c; font-size: 19px; }
.comic-track {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(300px, 1fr));
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2)) 20px;
  scrollbar-color: var(--purple) var(--paper-deep);
}
.comic-track figure { margin: 0; min-width: 300px; scroll-snap-align: center; }
.comic-track img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid #d0d0ca; }
.comic-track figcaption { padding-top: 10px; color: #777972; font-size: 12px; font-weight: 800; text-transform: uppercase; }

.questions-intro { padding: 112px 0 72px; background: var(--ink); }
.questions-intro p { max-width: 670px; margin: 24px 0 0; color: var(--muted); font-size: 19px; }
.question {
  padding: 82px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.question:nth-child(even) { background: var(--ink-soft); }
.question-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: clamp(46px, 7vw, 100px); align-items: center; }
.question:nth-child(even) .question-media { order: 2; }
.question-media { overflow: hidden; }
.question-media img { width: 100%; aspect-ratio: 5/3; object-fit: cover; transition: transform .5s ease; }
.question:hover .question-media img { transform: scale(1.018); }
.question-number { margin: 0 0 14px; color: var(--purple-bright); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.question h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 52px; line-height: 1.08; }
.question p { margin: 22px 0 0; color: var(--muted); }
.listen-for { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.listen-for strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 12px; text-transform: uppercase; }

.rule { padding: 110px 0; background: var(--purple); color: var(--white); }
.rule-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.rule-label { margin: 8px 0 0; font-size: 13px; font-weight: 850; text-transform: uppercase; }
.rule blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1.08; }
.rule p { max-width: 700px; margin: 28px 0 0; color: rgba(255,255,255,.78); }

.author { padding: 110px 0 0; background: var(--paper); color: var(--ink); overflow: hidden; }
.author-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(50px, 8vw, 120px); align-items: end; }
.author-portrait { align-self: end; }
.author-portrait img { max-height: 720px; margin: 0 auto; object-fit: contain; object-position: bottom; }
.author-copy { padding-bottom: 100px; }
.author-copy .section-kicker { color: #6343c7; }
.author-copy p { max-width: 700px; color: #4d5058; font-size: 18px; }
.author-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 28px; }
.author-links a { color: #4d2db6; font-weight: 800; text-underline-offset: 4px; }

.resources { padding: 84px 0; background: #e5e5df; color: var(--ink); }
.resource-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid #c4c5bf; }
.resource-link { padding: 27px 28px 27px 0; border-bottom: 1px solid #c4c5bf; color: var(--ink); text-decoration: none; }
.resource-link:nth-child(3n+2), .resource-link:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid #c4c5bf; }
.resource-link strong { display: block; margin-bottom: 5px; }
.resource-link span { color: #666960; font-size: 14px; }
.resource-link:hover strong { color: #5939c2; }

.final-cta { position: relative; padding: 120px 0; background: var(--ink); overflow: hidden; }
.final-cta::before {
  content: "7";
  position: absolute;
  right: 4%;
  top: -170px;
  color: rgba(255,255,255,.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 600px;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}
.final-cta .section-title { max-width: 760px; }
.final-cta p { max-width: 620px; margin: 24px 0 32px; color: var(--muted); font-size: 19px; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--ink); color: #878a94; font-size: 13px; }
.footer-layout { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #b8bac2; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1.035); } }
@keyframes book-enter { from { opacity: 0; transform: translateY(28px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(2deg); } }

@media (max-width: 900px) {
  :root { --header-height: 68px; }
  .nav-shell, .section-shell, .hero-shell { width: min(100% - 32px, var(--content)); }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    padding: 26px 24px 34px;
    background: rgba(11,13,18,.98);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.is-open { display: flex; }
  .hero { min-height: auto; }
  .hero-shell { min-height: 94svh; grid-template-columns: 1fr minmax(180px, .5fr); gap: 34px; padding-bottom: 72px; }
  .hero h1 { font-size: 58px; }
  .section-title { font-size: 52px; }
  .question h3 { font-size: 42px; }
  .rule blockquote { font-size: 50px; }
  .story-copy, .rule-layout { grid-template-columns: 1fr; gap: 28px; }
  .question-layout { grid-template-columns: 1fr; }
  .question:nth-child(even) .question-media { order: 0; }
  .author-layout { grid-template-columns: .75fr 1.25fr; gap: 40px; }
  .resource-list { grid-template-columns: 1fr 1fr; }
  .resource-link:nth-child(3n+2), .resource-link:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .resource-link:nth-child(even) { padding-left: 24px; border-left: 1px solid #c4c5bf; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wordmark { font-size: 12px; }
  .hero-shell { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 38px; padding-top: 130px; }
  .hero-copy { order: 1; }
  .book-stage { width: 185px; align-self: flex-end; margin-right: 7%; }
  .hero h1 { font-size: 48px; }
  .section-title { font-size: 42px; }
  .question h3 { font-size: 35px; }
  .rule blockquote { font-size: 40px; }
  .hero-deck { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .story, .questions-intro, .rule, .final-cta { padding-top: 82px; padding-bottom: 82px; }
  .comic-track { grid-template-columns: repeat(4, 86vw); padding-left: 16px; padding-right: 16px; }
  .question { padding: 56px 0; }
  .question-layout { gap: 30px; }
  .author { padding-top: 72px; }
  .author-layout { display: flex; flex-direction: column-reverse; gap: 16px; }
  .author-copy { padding-bottom: 12px; }
  .author-portrait img { max-height: 520px; }
  .resources { padding: 64px 0; }
  .resource-list { grid-template-columns: 1fr; }
  .resource-link, .resource-link:nth-child(even) { padding: 21px 0; border-left: 0; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
  .final-cta::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* StoryBrand offer and fulfillment sections */
.offer-note{max-width:42rem;margin:1.35rem 0 0;padding-left:1rem;border-left:3px solid var(--purple,#5f40fe);font-size:.96rem}
.plan{padding:clamp(5rem,9vw,9rem) 0;background:#f4f2fa;color:#171520}
.plan-steps{list-style:none;margin:3.5rem 0 0;padding:0;border-top:1px solid #cbc5df}
.plan-steps li{display:grid;grid-template-columns:5rem 1fr;gap:1.5rem;padding:2rem 0;border-bottom:1px solid #cbc5df;align-items:start}
.plan-steps>li>span{font-size:1rem;font-weight:800;color:#5f40fe}
.plan-steps strong{display:block;font-size:clamp(1.35rem,3vw,2rem);line-height:1.15}
.plan-steps p{margin:.65rem 0 0;max-width:48rem;color:#5f5a6c}
.community{padding:clamp(5rem,9vw,9rem) 0;background:#171520;color:#fff}
.community-layout{display:grid;grid-template-columns:minmax(12rem,.45fr) 1fr;gap:clamp(3rem,8vw,8rem);align-items:center}
.community-date{margin:0;padding:2rem 0;border-top:1px solid #777083;border-bottom:1px solid #777083;text-transform:uppercase;line-height:1.2;color:#b9b4c8}
.community-date strong{display:block;margin:.4rem 0;color:#fff;font-size:clamp(2rem,4vw,4rem);line-height:.95}
.community .section-title{color:#fff}.community .section-kicker{color:#a995ff}.community-layout>div>p:last-child{max-width:46rem;color:#d7d3df}
.faq{padding:clamp(5rem,9vw,9rem) 0;background:#fff;color:#171520}
.faq-list{margin-top:3rem;border-top:1px solid #d9d5e2}
.faq details{border-bottom:1px solid #d9d5e2;padding:1.2rem 0}.faq summary{cursor:pointer;font-weight:800;font-size:1.08rem;list-style-position:outside}.faq details p{max-width:50rem;color:#625e6c;margin:.8rem 0 0}
@media(max-width:720px){.community-layout{grid-template-columns:1fr}.plan-steps li{grid-template-columns:3rem 1fr}.offer-note{font-size:.9rem}}
