/* Cornerstone Church: redesign3
   Charcoal + white with Cornerstone green, wide geometric headings, rounded inset photo panels. */
:root {
  --ink: #1d2125;
  --charcoal: #24282c;
  --text: #33383d;
  --muted: #646b72;
  --line: #e4e1dc;
  --bg: #ffffff;
  --bg-soft: #f5f3ef;
  --accent: #2b7a45;          /* Cornerstone green, darkened for white text */
  --accent-dark: #215e35;
  --green: var(--accent);     /* used by shared newsletter/events styles */
  --blue: #2f6fad;
  --radius: 12px;
  --inset: clamp(8px, 1.2vw, 16px);
  --max: 1180px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-body); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-stretch: 125%; font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
h5, h6 { font-family: var(--font-body); font-stretch: 100%; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.rounded { border-radius: var(--radius); }
.kicker { margin: 0 0 8px; font: 700 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-title { margin: 0 0 24px; font-size: clamp(26px, 3.2vw, 40px); text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px;
  font: 600 15px var(--font-body); text-decoration: none; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }

/* ---------- top bar (service countdown) ---------- */
.service-ribbon { background: var(--charcoal); color: #fff; font-size: 14px; }
.service-ribbon.is-live { background: #b3261e; }
.service-ribbon .container { max-width: none; margin: 0; padding: 0 16px; }
.ribbon-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; min-height: 38px; padding: 6px 0; text-align: center; }
.ribbon-count { font-variant-numeric: tabular-nums; }
.ribbon-when { opacity: .8; }
.ribbon-links { display: inline-flex; gap: 8px; }
.ribbon-links[hidden], .service-ribbon [hidden] { display: none; }
.ribbon-links a { color: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 4px; padding: 1px 10px; font-weight: 600; text-decoration: none; }
.ribbon-links a:hover { background: #fff; color: var(--ink); }
.live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #fff; vertical-align: middle; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- header + nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding: 0 clamp(16px, 3vw, 40px); }
.logo img { display: block; width: 210px; max-width: 52vw; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.menu, .submenu { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a, .menu-group {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font: 600 15px var(--font-body); color: var(--ink); text-decoration: none; border-radius: 6px; white-space: nowrap;
}
.menu > li > a:hover, .menu-group:hover, .menu-group[aria-expanded="true"] { background: var(--bg-soft); color: var(--ink); }
.menu > li.active > .menu-group, .menu > li.active > a { color: var(--accent); }
.chev { transition: transform .15s; }
.menu-group[aria-expanded="true"] .chev { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.12); display: none; }
.has-children.open > .submenu { display: block; }
.submenu a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; border-radius: 6px; font-size: 15px; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--bg-soft); color: var(--accent); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; padding: 10px; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav-toggle .bars span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1160px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 78px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.1); }
  .site-nav.open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li > a, .menu-group { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .submenu { position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; box-shadow: none; }
  .submenu a { padding: 10px 8px; font-size: 16px; }
  .nav-cta { margin: 16px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; margin: var(--inset); min-height: clamp(440px, 72vh, 720px); display: flex; align-items: center; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,20,.78) 0%, rgba(15,18,20,.45) 50%, rgba(15,18,20,.1) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 680px; padding: 48px clamp(24px, 6vw, 96px); color: #fff; }
.hero h1 { margin: 0 0 16px; color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 800; line-height: 1.02; }
.hero-tagline { margin: 0 0 16px; padding-bottom: 16px; max-width: 34ch; border-bottom: 1px solid rgba(255,255,255,.55); font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; color: #fff; }
.hero-lede { margin: 0 0 28px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.9); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* ---------- visit strip ---------- */
.visit-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center;
  max-width: var(--max); margin: clamp(48px, 7vw, 96px) auto; padding: 0 20px; }
.visit-strip h2 { margin: 0 0 14px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; }
.visit-strip h2 strong { display: block; font-weight: 800; }
.visit-strip .addr { font-weight: 600; }
.visit-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- photo cards ---------- */
.photo-card { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); color: #fff; text-decoration: none; isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,12,14,.78) 0%, rgba(10,12,14,.15) 60%, rgba(10,12,14,.05) 100%); }
.photo-card:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .photo-card img { transition: none; } .photo-card:hover img { transform: none; } }
.photo-card:hover { color: #fff; }
.photo-card-label { padding: 24px 26px; font: 800 clamp(20px, 2.2vw, 28px)/1.15 var(--font-head); font-stretch: 125%; }
.photo-card-label .arrow { font-family: var(--font-body); font-weight: 600; }
.photo-card-label small { display: block; margin-top: 6px; font: 500 15px var(--font-body); color: rgba(255,255,255,.85); }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--inset); max-width: var(--max); margin: 0 auto clamp(48px, 7vw, 96px); padding: 0 20px; }
.paths .photo-card { aspect-ratio: 16 / 10; }

/* ---------- feature (pastor message) ---------- */
.feature { position: relative; margin: var(--inset); min-height: 520px; display: flex; align-items: center; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); }
.feature-img { position: absolute; top: 0; right: 0; width: 55%; height: 100%; object-fit: cover; object-position: center 20%; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 42%, rgba(36,40,44,.55) 60%, rgba(36,40,44,0) 80%); }
.feature-inner { position: relative; z-index: 1; max-width: 620px; padding: 56px clamp(24px, 6vw, 96px); color: rgba(255,255,255,.88); }
.feature .kicker { color: #8fd3a3; }
.feature h2 { margin: 0 0 16px; color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 800; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 800px) {
  .feature { flex-direction: column; align-items: stretch; min-height: 0; }
  .feature-img { position: static; width: 100%; height: 300px; }
  .feature::after { display: none; }
}

/* ---------- get involved ---------- */
.involved { max-width: var(--max); margin: clamp(56px, 8vw, 110px) auto; padding: 0 20px; }
.involved-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--inset); }
.involved .photo-card { aspect-ratio: 4 / 3; }

/* ---------- home events ---------- */
.home-events { max-width: var(--max); margin: 0 auto clamp(56px, 8vw, 100px); padding: 0 20px; }
.home-events-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.home-events-head .section-title { margin: 0; text-align: left; }
.event-mini-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.event-mini { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); }
.event-mini[hidden] { display: none; }
.event-mini-date { flex: 0 0 64px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--charcoal); color: #fff; border-radius: 10px; line-height: 1; }
.event-mini-date .m { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fd3a3; }
.event-mini-date .d { font: 800 26px var(--font-head); font-stretch: 125%; margin-top: 4px; }
.event-mini-text strong { display: block; color: var(--ink); line-height: 1.3; }
.event-mini-text span { font-size: 15px; color: var(--muted); }
.more-link { font-weight: 600; text-decoration: none; }

/* ---------- page banner ---------- */
.page-banner { position: relative; margin: var(--inset); padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 96px); overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.page-banner-inner { position: relative; z-index: 1; max-width: 820px; }
.page-banner h1 { margin: 0; font-size: clamp(32px, 5vw, 60px); font-weight: 800; }
.page-banner .lede { margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; }
.page-banner.has-image { background: var(--charcoal); color: rgba(255,255,255,.9); min-height: 360px; display: flex; align-items: flex-end; }
.page-banner.has-image h1 { color: #fff; }
.page-banner.has-image .kicker { color: #8fd3a3; }
.page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,18,20,.82) 0%, rgba(15,18,20,.35) 70%); }

/* ---------- content ---------- */
.content { max-width: 860px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) 20px clamp(56px, 8vw, 96px); }
.content.list { max-width: var(--max); }
.content h2 { margin: 1.8em 0 .6em; font-size: clamp(24px, 2.6vw, 32px); }
.content h3 { margin: 1.6em 0 .5em; font-size: 21px; }
.content h4 { margin: 1.4em 0 .4em; font-size: 18px; }
.content > :first-child { margin-top: 0; }
.content img { border-radius: 8px; }
.content p img { margin: 8px 0; }
.content .embed { position: relative; margin: 24px 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.content .embed iframe, .content .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.content table { border-collapse: collapse; width: 100%; }
.content td, .content th { border: 1px solid var(--line); padding: 8px; }
.content blockquote { margin: 24px 0; padding: 4px 20px; border-left: 4px solid var(--accent); font-style: italic; }
.content hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
.content li { margin: 6px 0; }
.post-meta { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.post-hero { display: block; max-height: 520px; width: auto; margin: 0 0 28px; }
.post-nav, .pagination { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-nav a, .pagination a { font-weight: 600; text-decoration: none; }

/* blog cards */
.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card-date { margin: 14px 0 4px; font-size: 14px; color: var(--muted); }
.post-card h3 { margin: 0 0 8px; font-size: 20px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { margin: 0; font-size: 16px; }

/* ---------- new visitors ---------- */
.quick-facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.quick-facts li { margin: 0; padding: 22px; background: var(--bg-soft); border-radius: var(--radius); }
.qf-icon { font-size: 28px; line-height: 1; }
.content .quick-facts h3 { margin: 12px 0 6px; font-size: 18px; }
.quick-facts p { margin: 0 0 8px; font-size: 16px; }
.draft-note { margin: 20px 0; padding: 14px 18px; background: #fff8db; border: 1px dashed #c9a400; border-radius: 8px; color: #4d4100; font-size: 16px; }

/* ---------- online sermons ---------- */
.live-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.live-links a { color: #fff; }
/* Live banner: hidden until service-ribbon.js marks the page as live */
.live-now { display: none; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 0 0 20px; padding: 14px 20px; color: #fff; background: #b3261e; border-radius: var(--radius); }
.service-live .live-now { display: flex; }
.service-live .live-links { display: none; }
.live-now p { margin: 0; flex: 1 1 260px; font-size: 18px; }
.live-now .live-dot { width: 12px; height: 12px; }
.live-now a { color: #fff; border: 1px solid rgba(255,255,255,.8); border-radius: 6px; padding: 6px 16px; font-weight: 700; text-decoration: none; }
.live-now a:hover { background: #fff; color: #b3261e; }
.sermon-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.sermon-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sermon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.sermon-grid li { margin: 0; }
.sermon-grid a { display: block; color: var(--ink); text-decoration: none; }
.sermon-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.sermon-title { display: block; margin-top: 10px; font-weight: 700; line-height: 1.3; }
.sermon-date { display: block; font-size: 14px; color: var(--muted); }
.sermon-grid a:hover .sermon-title { color: var(--accent); }

/* ---------- prayer form ---------- */
.prayer-form, .serve-form { margin: 28px 0; padding: clamp(20px, 3vw, 32px); background: var(--bg-soft); border-radius: var(--radius); }
.pf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.pf-field label, .pf-field legend { font-weight: 600; color: var(--ink); }
.pf-field legend { margin-bottom: 6px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.pf-field input, .pf-field textarea { width: 100%; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #c3c7cb; border-radius: 6px; }
.pf-field input:focus, .pf-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }
.pf-choice { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-weight: 400; color: var(--text); cursor: pointer; }
.pf-choice input { width: 18px; height: 18px; accent-color: var(--accent); }
.prayer-form > .pf-choice { margin-bottom: 20px; }
.serve-form > .draft-note { margin-top: 0; }
.pf-field .optional { font-weight: 400; color: var(--muted); }
.sf-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 20px; }
.pf-field .sf-area { align-items: flex-start; margin: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; line-height: 1.4; }
.sf-area input { flex: 0 0 auto; margin-top: 2px; }
.sf-area:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pf-status:empty { display: none; }
.pf-status { margin: 16px 0 0; padding: 12px 14px; background: #fff; border-left: 4px solid var(--accent); border-radius: 6px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { margin: var(--inset); margin-top: clamp(40px, 6vw, 80px); padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px) 24px; background: var(--charcoal); color: rgba(255,255,255,.78); border-radius: var(--radius); font-size: 16px; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; }
.footer-logo { display: block; margin-bottom: 18px; padding: 8px 12px; background: #fff; border-radius: 8px; }
.footer-visit p { margin: 0 0 14px; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--accent); }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .nl-footer { margin: 0; padding: 0; border: 0; }
.site-footer .nl-footer-inner { grid-template-columns: 1fr; gap: 4px; }
.site-footer .nl-title { color: #fff; font-size: 24px; }
.site-footer .nl-kicker { color: #8fd3a3; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.footer-bottom p { margin: 0; }
.back-to-top { text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 760px) {
  .visit-strip { grid-template-columns: 1fr; }
  .visit-img { order: -1; }
  .involved-grid { grid-template-columns: 1fr; }
  .involved .photo-card { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .paths { grid-template-columns: 1fr; }
  .paths .photo-card { aspect-ratio: 16 / 9; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(0deg, rgba(15,18,20,.85) 0%, rgba(15,18,20,.4) 70%); }
  .hero { align-items: flex-end; }
}

/* Desktop: open dropdowns on hover too */
@media (hover: hover) and (min-width: 1161px) {
  .menu > .has-children:hover > .submenu { display: block; }
  .menu > .has-children:hover > .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
.menu > li > a, .menu-group, .nav-cta { white-space: nowrap; }
