/* Shared site chrome: nav, progress rail, and footer, copied from the home page so every page matches. */
/* Pages that set a taller body line-height would otherwise grow the nav and footer; pin both to the home page's 1.22. */
nav, footer { font-size: 16px; line-height: 1.22; font-weight: 400; }
nav { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 60px; background: var(--black); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-coonan { font-family: Poppins, Poppins-fb, sans-serif; font-weight: 300; font-size: 19px; letter-spacing: 5px; color: var(--white); text-transform: uppercase; }
.nav-vline { width: 1px; height: 18px; background: var(--gold); }
.nav-creative { font-family: Poppins, Poppins-fb, sans-serif; font-weight: 300; font-size: 19px; letter-spacing: 5px; color: var(--gold-light); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { font-family: Poppins, Poppins-fb, sans-serif; font-weight: 400; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; color: rgb(255, 255, 255); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold-light); }
footer { padding: 40px 60px; background: var(--black); border-top: 1px solid rgb(30, 26, 21); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-coonan { font-family: Poppins, Poppins-fb, sans-serif; font-weight: 300; font-size: 16px; letter-spacing: 5px; color: var(--white); text-transform: uppercase; }
.footer-vline { width: 1px; height: 14px; background: var(--gold); }
.footer-creative { font-family: Poppins, Poppins-fb, sans-serif; font-weight: 300; font-size: 16px; letter-spacing: 5px; color: var(--gold-light); text-transform: uppercase; }
.footer-copy { font-size: 14px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.footer-social { display: flex; gap: 24px; }
.footer-social a { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.footer-social a:hover { color: var(--gold); }
@media (max-width: 768px) { nav { padding: 16px 24px; } }
@media (max-width: 768px) { nav .nav-toggle { display: flex; } }
@media (max-width: 768px) { .nav-links { position: absolute; top: 100%; left: 0px; right: 0px; z-index: 2; flex-direction: column; gap: 0px; background: var(--black); border-top: 1px solid rgba(217, 177, 106, 0.18); max-height: 0px; overflow: hidden; transition: max-height 0.3s; } }
@media (max-width: 768px) { .nav-links.open { max-height: 320px; } }
@media (max-width: 768px) { .nav-links li { width: 100%; } }
@media (max-width: 768px) { .nav-links a { display: block; padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } }
@media (max-width: 768px) { footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 24px; } }
@media (max-width: 768px) { .footer-coonan, .footer-creative { font-size: 17px; } }
@media (max-width: 768px) { .footer-social a { font-size: 16px; } }
@media (max-width: 768px) { .nav-links a { font-size: 19px; } }
@media (max-width: 768px) { .footer-copy { font-size: 16px; } }
.nav-toggle { display: none; position: relative; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 24px; padding: 0px; background: none; border: none; cursor: pointer; }
.nav-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 0px auto; transition: transform 0.3s, opacity 0.15s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 769px) and (max-width: 1024px) { nav { padding: 20px 40px; } }
@media (max-width: 768px) { .footer-coonan, .footer-creative { font-size: 17px; } }
.footer-contact { color: var(--gold-light); text-decoration: none; }
.footer-contact:hover { color: var(--white); text-decoration: underline; }
.nav-logo { position: relative; }
.nav-logo::after { content: ""; position: absolute; inset: -12px -8px; }
@media (max-width: 359px) { nav { padding: 14px 16px; } }
@media (max-width: 359px) { .nav-coonan, .nav-creative { font-size: 14px; letter-spacing: 2px; } }
@media (max-width: 359px) { .nav-logo { gap: 8px; } }
@media (max-width: 359px) { .nav-vline { height: 14px; } }
@media (max-width: 359px) { .footer-coonan, .footer-creative { font-size: 14px; letter-spacing: 2px; } }
@media (max-width: 359px) { footer { padding: 36px 16px; } }
footer > * { max-width: 100%; min-width: 0px; }
.footer-copy { overflow-wrap: anywhere; }
.hero-pillar:focus-visible, .nav-logo:focus-visible, .hero-social-row a:focus-visible { outline-offset: 4px; }
.nav-links a.is-current { color: var(--gold-light); }
.scroll-progress { position: absolute; left: 0px; bottom: 0px; height: 2px; width: 0px; background: var(--gold-light); transform-origin: left center; pointer-events: none; will-change: width; }
@media (prefers-reduced-motion: no-preference) { .scroll-progress { transition: width 0.12s linear; } }
.scroll-progress { z-index: 101; }
@media (max-width: 1000px) { nav { padding: 16px 24px; } }
@media (max-width: 1000px) { .nav-toggle { display: flex; } }
@media (max-width: 1000px) { .nav-links { position: absolute; top: 100%; left: 0px; right: 0px; z-index: 2; flex-direction: column; gap: 0px; background: var(--black); border-top: 1px solid rgba(217, 177, 106, 0.18); max-height: 0px; overflow: hidden; transition: max-height 0.3s; } }
@media (max-width: 1000px) { .nav-links.open { max-height: 320px; } }
@media (max-width: 1000px) { .nav-links li { width: 100%; } }
@media (max-width: 1000px) { .nav-links a { display: block; padding: 14px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } }
:root { --nav-h: 62px; }
.scroll-rail { position: fixed; left: 0px; top: var(--nav-h); width: 2px; height: calc(100% - var(--nav-h)); background: rgb(56, 48, 31); z-index: 99; pointer-events: none; }
.scroll-rail-fill { display: block; width: 100%; height: 0px; background: var(--gold-light); }
@media (prefers-reduced-motion: no-preference) { .scroll-rail-fill { transition: height 0.12s linear; } }
@media (max-width: 1000px) { :root { --nav-h: 56px; } }
@media (max-width: 359px) { :root { --nav-h: 52px; } }
@media (min-width: 1025px) and (max-width: 1100px) { nav { padding: 20px 40px; } }
@media (max-width: 359px) { nav { padding: 14px 16px; } }
@media (max-width: 359px) { :root { --nav-h: 52px; } }
.footer-social { gap: 6px; flex-wrap: wrap; justify-content: center; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -13px 0px; color: var(--text-dim); }
.footer-social a svg { width: 21px; height: 21px; display: block; }
.footer-social a:hover { color: var(--gold); }
.nav-coonan, .nav-creative { line-height: 22px; }
.footer-coonan, .footer-creative, .howit-num, .pillar-name, .section-title, .work-hero h1 { line-height: normal; }
.nowrap { white-space: nowrap; }
@media (max-width: 768px) { .footer-sep { display: block; height: 0px; overflow: hidden; visibility: hidden; } }
@media (max-width: 768px) { .footer-sep-sm { display: inline; height: auto; overflow: visible; visibility: visible; } }
@media (max-width: 480px) { .footer-sep-sm { display: block; height: 0px; overflow: hidden; visibility: hidden; } }
.footer-email { overflow-wrap: normal; word-break: normal; }
@media (max-width: 374px) { .footer-contact { letter-spacing: 1.8px; } }
@media (max-width: 340px) { .footer-contact { letter-spacing: 1.2px; } }
@media (max-width: 480px) { .pillar-cert .nowrap + br + .nowrap { white-space: normal; } }
.scroll-progress { left: 50%; transform: translateX(-50%); }
.scroll-rail-r { left: auto; right: 0px; }
