/* Paramount Multimedia — site styles
   Change the brand colors here and they update everywhere. */
:root {
  /* Brand colors, taken from the PM logo */
  --navy: #0e110f;        /* near-black (dark sections, headings) */
  --navy-2: #161c18;      /* charcoal */
  --ink: #1a1f1b;         /* body text */
  --muted: #5b655d;
  --line: #e3e7e4;
  --bg: #ffffff;
  --bg-alt: #f3f5f3;
  --accent: #8fc398;      /* light logo green, for accents on dark backgrounds */
  --accent-ink: #355e3b;  /* logo green, for text/links on white */
  --cta: #355e3b;         /* logo green buttons */
  --radius: 12px;
  --shadow: 0 1px 2px rgba(14,17,15,.06), 0 8px 24px rgba(14,17,15,.07);
  --head: "Sora", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.4em; border-radius: 999px;
  background: var(--cta); color: #fff; font-family: var(--head); font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 2px solid var(--cta); cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: #2b4d30; border-color: #2b4d30; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: currentColor; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand .mark { width: 38px; height: 38px; flex: none; }
.logo-img { height: 52px; width: auto; display: block; }
.brand-footer .logo-img { height: 46px; }
.brand-text { font-family: var(--head); font-size: 1.15rem; letter-spacing: -.01em; font-weight: 500; }
.brand-text strong { font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #22392a 0%, transparent 60%), var(--navy); color: #d7e0d9; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--accent); }
.hero .btn-ghost { color: #fff; }
.lead { font-size: 1.25rem; color: inherit; opacity: .92; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: #9aa89d; }
.hero-facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.hero-art { width: 100%; height: auto; }
.hero-art .nodes circle { fill: var(--navy); stroke: var(--accent); stroke-width: 3; }
.hero-art .wave { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.2s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-art .wave { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-art { max-width: 360px; margin: 0 auto; order: -1; }
}

.eyebrow { font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .8em; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 36px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-top: 18px; margin-bottom: 4px; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--accent-ink); }
.card .tag { font-weight: 600; color: var(--accent-ink); margin-bottom: .8em; }
.card p:not(.tag) { color: var(--muted); }
.card .more { margin-top: auto; }
.icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.icon svg, .thumb svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 72px; height: 72px; flex: none; }
.icon-lg svg { width: 40px; height: 40px; }
.more { font-family: var(--head); font-weight: 600; font-size: .95rem; text-decoration: none; }
.more:hover span { margin-left: 4px; }
.more span { transition: margin .15s; }

/* Story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.lead-sm { font-size: 1.2rem; color: var(--ink); }
.story p:not(.lead-sm):not(.eyebrow) { color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 8px; } }

/* Quotes (testimonials) */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; }
.quote figcaption { font-weight: 600; color: var(--navy); }

/* Post cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.thumb { display: grid; place-items: center; aspect-ratio: 16/8; }
.thumb svg { width: 56px; height: 56px; }
.thumb-network { background: linear-gradient(135deg, #0e110f, #2a4a30); }
.thumb-av { background: linear-gradient(135deg, #0e110f, #22392a); }
.thumb-it { background: linear-gradient(135deg, #161c18, #355e3b); }
.post-card-body { padding: 22px 24px 26px; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-ink); }
.post-card p:last-child { color: var(--muted); margin: 0; }
.meta { font-size: .9rem; color: var(--muted); margin-bottom: .4em; }

/* CTA band */
.cta-band { background: var(--navy); color: #d7e0d9; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { color: #fff; }

/* Page hero */
.page-hero { background: var(--navy); color: #d7e0d9; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero a { color: #a9d6b0; }
.page-hero.center { text-align: center; padding: 96px 0; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .btn { color: #fff; margin: 4px; }
.crumbs { font-size: .9rem; color: #9aa89d; margin-bottom: 18px; }
.crumbs a { color: #9aa89d; }
.svc-title { display: flex; gap: 20px; align-items: center; }
.svc-title h1 { margin-bottom: .1em; }
.svc-title .lead { margin: 0; }
.svc-title .icon { background: #22392a; }
.pills { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { border: 1px solid #3d5a43; border-radius: 999px; padding: 4px 14px; font-size: .9rem; }
@media (max-width: 560px) { .svc-title { flex-direction: column; align-items: flex-start; } }

/* Service detail */
.svc-layout, .contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 860px) { .svc-layout, .contact-layout { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink); transform: rotate(-45deg); }
.side-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-card h2 { font-size: 1.3rem; }
.side-card .big { font-family: var(--head); font-size: 1.5rem; font-weight: 700; margin-bottom: .3em; }
.side-card .big a { color: var(--navy); text-decoration: none; }
.side-h { font-size: 1rem; margin-top: 24px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 3px 0; }

/* Form */
.form { display: grid; gap: 18px; }
.form label { display: block; font-weight: 600; color: var(--navy); font-size: .98rem; }
.form input, .form select, .form textarea { display: block; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink); width: 100%; padding: 12px 14px; border: 1.5px solid #c9d3dc; border-radius: 10px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent-ink); outline: 3px solid rgba(53,94,59,.25); outline-offset: 0; }
.form .btn { justify-self: start; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }
.req { color: #c0392b; }
.hp { position: absolute; left: -9999px; }

/* Blog post */
.post-hero { color: #d7e0d9; padding: 64px 0 48px; }
.post-hero h1 { color: #fff; }
.post-hero .meta { color: #9aa89d; }
.prose { font-size: 1.12rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.post-cta { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.post-cta p { margin: 0; }
.draft-note { margin: 24px 0; padding: 16px 20px; border: 2px dashed #e0a800; background: #fff8e1; border-radius: 10px; font-size: 1rem; }

/* Footer */
.site-footer { background: #090b0a; color: #9aa89d; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer a { color: #d7e0d9; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.brand-footer { color: #fff; }
.brand-footer .brand-text { color: #fff; }
.footer-tag { margin-top: 14px; }
.footer-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #1c241e; padding-top: 20px; padding-bottom: 28px; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Primary buttons on dark sections use a slightly brighter green */
.hero .btn:not(.btn-ghost), .cta-band .btn:not(.btn-ghost), .page-hero .btn:not(.btn-ghost) { background: #3f7046; border-color: #3f7046; }
.hero .btn:not(.btn-ghost):hover, .cta-band .btn:not(.btn-ghost):hover, .page-hero .btn:not(.btn-ghost):hover { background: #4a8352; border-color: #4a8352; }
@media (max-width: 400px) { .brand-text { font-size: 1rem; } .logo-img { height: 44px; } }

/* ---------- Photos ---------- */
img { height: auto; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 640/520; object-fit: cover; border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid #3f7046; border-radius: 16px; z-index: -1; }
.hero-inner { position: relative; z-index: 0; }
@media (max-width: 860px) { .hero-photo { order: -1; } .hero-photo::before { display: none; } .hero-photo img { aspect-ratio: 16/10; } }

.card-photo { padding: 0; overflow: hidden; }
.card-img { display: block; overflow: hidden; }
.card-img img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s; }
.card-photo:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 0 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card-photo .icon { margin-top: -28px; position: relative; border: 3px solid #fff; }

.thumb { display: block; aspect-ratio: auto; overflow: hidden; }
.thumb img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.04); }

.story-photo { margin: 24px 0 0; }
.story-photo img { display: block; width: 100%; aspect-ratio: 560/380; object-fit: cover; border-radius: var(--radius); }

.svc-photo { margin: 0 0 32px; }
.svc-photo img { display: block; width: 100%; aspect-ratio: 800/440; object-fit: cover; border-radius: var(--radius); }

.post-hero { position: relative; background: var(--navy); overflow: hidden; padding: 96px 0 56px; }
.post-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,15,.2), rgba(14,17,15,.85)); }
.post-hero .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .card-img img, .thumb img { transition: none; } }
