/* FIVE-EVEN — custom Bootstrap 5 theme */
:root {
  --carbon: #171b1d;
  --carbon-2: #1d2324;
  --carbon-3: #252d2b;
  --olive: #303b37;
  --brass: #c2a064;
  --brass-bright: #d6ad62;
  --bone: #e9e8e2;
  --muted: #a9afac;
  --line: rgba(220, 222, 214, .22);
  --heading: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--carbon); color: var(--bone); font-family: var(--body); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--brass); color: #111; padding: 10px 14px; }
.skip-link:focus { left: 8px; }
.site-nav { min-height: 76px; background: rgba(18, 23, 24, .97); border-bottom: 1px solid rgba(194,160,100,.45); backdrop-filter: blur(12px); }
.nav-shell { padding: 0 4.2%; }
.brandmark, .footer-brand { font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -.03em; color: #f2f2ed !important; line-height: 1; }
.brandmark span, .footer-brand span { color: var(--brass); }
.brand-divider { height: 34px; width: 1px; background: var(--brass); transform: skew(-24deg); margin: 0 20px 0 26px; }
.brand-descriptor { font-family: var(--mono); font-size: 9px; letter-spacing: .13em; line-height: 1.5; color: #d1d2cb; }
.navbar-nav .nav-link { font-family: var(--heading); font-size: 15px; font-weight: 600; letter-spacing: .07em; color: #e6e6e1 !important; padding: 27px 0 !important; position: relative; }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 2px; background: var(--brass); transition: right .25s ease; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { right: 0; }
.nav-cta { display: inline-flex; gap: 15px; align-items: center; border: 1px solid var(--brass); padding: 10px 13px; color: var(--brass-bright); font: 600 12px var(--heading); letter-spacing: .08em; transition: .2s; }
.nav-cta:hover { background: var(--brass); color: #151819; }
.navbar-toggler { border-color: rgba(194,160,100,.55); }
.navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(194,160,100,.25); }
.hero-section { min-height: 690px; height: min(760px, 90vh); position: relative; display: flex; align-items: center; overflow: hidden; margin-top: 76px; background: #151b1d; }
.hero-image { position: absolute; inset: 0; background-image: url("../images/hero-mission.jpg"); background-size: cover; background-position: center 48%; filter: saturate(.65) contrast(1.08); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,18,19,.96) 0%, rgba(13,18,19,.84) 31%, rgba(13,18,19,.26) 66%, rgba(13,18,19,.12) 100%), linear-gradient(0deg, rgba(13,18,19,.62), transparent 36%); }
.hero-content { position: relative; z-index: 2; padding: 50px 5.4% 66px; }
.hero-copy { max-width: 620px; }
.eyebrow, .section-kicker { color: var(--brass); font: 500 11px var(--mono); letter-spacing: .15em; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--brass); }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
.hero-copy h1 { font-size: clamp(3.8rem, 7.6vw, 7rem); line-height: .84; letter-spacing: -.025em; margin: 0 0 24px; color: #f3f3ed; }
.hero-copy h1 span { color: var(--brass-bright); }
.gold-rule { width: 65px; height: 4px; background: var(--brass); margin-bottom: 18px; }
.hero-lede { max-width: 480px; font-size: clamp(1rem, 1.45vw, 1.22rem); line-height: 1.45; color: #e1e3df; margin-bottom: 14px; }
.hero-specialties { max-width: 580px; color: #c3c7c1; font: 500 10px var(--mono); letter-spacing: .12em; line-height: 1.8; margin: 0 0 22px; }
.hero-specialties i { color: var(--brass); font-style: normal; margin: 0 5px; }
.hero-tags { color: #c3c7c1; font: 500 10px var(--mono); letter-spacing: .15em; margin-bottom: 27px; }
.hero-tags i { color: var(--brass); font-style: normal; margin: 0 8px; }
.btn { border-radius: 0; font-family: var(--heading); font-weight: 700; letter-spacing: .07em; font-size: 15px; padding: 12px 18px; }
.btn-gold { background: var(--brass-bright); border: 1px solid var(--brass-bright); color: #171b1d; }
.btn-gold:hover { background: #e0bd7b; border-color: #e0bd7b; color: #111; }
.btn-gold span { margin-left: 18px; font-size: 19px; line-height: 0; }
.btn-outline-light-custom { border: 1px solid rgba(240,240,235,.85); color: #fff; }
.btn-outline-light-custom:hover { background: #f0f0eb; color: #171b1d; }
.hero-index { position: absolute; right: 5.4%; bottom: 28px; color: #c7c9c3; font: 10px var(--mono); letter-spacing: .12em; }
.hero-index span { color: var(--brass); }
.hero-bottom-rule { position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(194,160,100,.55); }
.section-block { position: relative; padding: 66px 0 72px; border-bottom: 1px solid var(--line); background: var(--carbon); }
.content-shell { padding-left: 4.2%; padding-right: 4.2%; }
.section-pattern { background-color: #1a2020; background-image: radial-gradient(ellipse at 90% 5%, rgba(194,160,100,.08), transparent 28%), repeating-linear-gradient(135deg, transparent 0 42px, rgba(255,255,255,.012) 43px 44px); }
.section-kicker { margin-bottom: 14px; }
.section-kicker span { color: #7c8580; margin: 0 6px; }
.section-heading-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
.section-heading-row h2 { font-size: clamp(1.2rem, 4vw, 3.35rem); line-height: .94; white-space: nowrap; margin: 0; color: #f0f0ea; }
.section-intro { max-width: 600px; color: #b8bfba; font-size: 13px; margin: 0; }
.audience-card { display: block; height: 100%; border: 1px solid rgba(224,226,216,.25); background: #171d1e; transition: transform .25s, border-color .25s; }
.audience-card:hover { transform: translateY(-5px); border-color: var(--brass); }
.card-image { height: 190px; background-size: cover; background-position: center; filter: saturate(.68); }
.image-military { background-image: url("../images/ac130-ghostrider.jpg"); }
.image-law { background-image: url("../images/police-fleet.jpg"); }
.image-government { background-image: none; filter: none; }
.image-commercial { background-image: url("../images/nascar-larrys-lemonade.jpg"); }
.audience-card-copy { position: relative; padding: 17px 17px 19px; min-height: 116px; }
.audience-card-copy .slash { color: var(--brass); font-size: 24px; line-height: 1; float: left; margin-right: 10px; }
.audience-card-copy h3 { font-size: 20px; letter-spacing: .015em; margin: 0 0 7px; }
.audience-card-copy p { color: #b8bfba; font-size: 11px; line-height: 1.45; margin: 0; max-width: 90%; }
.card-arrow { position: absolute; right: 15px; bottom: 13px; color: var(--brass); font-size: 18px; }
.work-heading { align-items: flex-start; }
.text-link { display: inline-flex; gap: 13px; align-items: center; color: var(--brass-bright); font: 600 12px var(--heading); letter-spacing: .08em; border-bottom: 1px solid rgba(194,160,100,.55); padding-bottom: 5px; white-space: nowrap; }
.text-link:hover { color: #f0d19a; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
.filter-btn { border: 1px solid rgba(220,222,214,.24); background: transparent; color: #b9c0bb; padding: 8px 12px; font: 500 10px var(--mono); letter-spacing: .06em; transition: .2s; }
.filter-btn:hover, .filter-btn.active { border-color: var(--brass); color: #171b1d; background: var(--brass); }
.project-card { display: block; height: 100%; background: #202728; border: 1px solid rgba(220,222,214,.2); transition: border-color .2s, transform .2s; }
.project-card:hover { transform: translateY(-4px); border-color: var(--brass); }
.project-image { height: 210px; position: relative; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #111718; }
.actual-project { background-size: contain; }
.project-number { position: absolute; top: 10px; left: 10px; background: rgba(17,22,23,.8); color: var(--brass); padding: 5px 7px; font: 10px var(--mono); }
.project-meta { display: flex; justify-content: space-between; padding: 11px 12px 4px; color: var(--brass); font: 9px var(--mono); letter-spacing: .04em; }
.project-card h3 { font-size: 19px; margin: 0; padding: 0 12px 13px; color: #f0f0eb; }
.portfolio-item.is-hidden { display: none; }
.portfolio-note { margin: 17px 0 0; color: #858f89; font: 10px var(--mono); }
.capabilities-section { padding-bottom: 65px; }
.capability-grid { border-top: 1px solid rgba(220,222,214,.25); border-left: 1px solid rgba(220,222,214,.25); margin-top: 32px; }
.capability-item { min-height: 155px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-right: 1px solid rgba(220,222,214,.25); border-bottom: 1px solid rgba(220,222,214,.25); padding: 20px 10px; }
.cap-icon { color: var(--brass-bright); font-size: 35px; line-height: 1; margin-bottom: 13px; }
.capability-item h3 { font-size: 16px; line-height: 1.08; margin: 0; letter-spacing: .035em; }
.experience-section { background: #151a1b; }
.experience-points { margin-top: 35px; }
.experience-point { display: flex; gap: 20px; align-items: flex-start; padding-right: 20px; }
.experience-symbol { color: var(--brass); font-size: 37px; line-height: 1; min-width: 48px; text-align: center; }
.experience-point h3 { font-size: 20px; margin: 0 0 5px; }
.experience-point p { color: #b8bfba; font-size: 12px; max-width: 420px; margin: 0; }
.experience-footnote { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 13px; color: #818b85; font: 10px var(--mono); }
.about-contact-section { padding: 70px 0; background: #1b2221; background-image: radial-gradient(ellipse at 95% 90%, rgba(194,160,100,.1), transparent 34%); }
.about-layout { display: grid; grid-template-columns: minmax(180px,  .8fr) 1.2fr; gap: 22px; align-items: stretch; }
.about-photo { min-height: 285px; height: 100%; background: url("../images/about-designer-workspace.png") center center / cover no-repeat; background-color: #171b1d; border: 1px solid rgba(220,222,214,.25); }
.about-copy h2, .contact-panel h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: .95; margin: 0 0 17px; }
.about-copy p, .contact-panel p { color: #b9c0bb; font-size: 12px; line-height: 1.65; }
.about-copy .text-link { margin-top: 8px; }
.contact-panel { height: 100%; min-height: 320px; padding: 30px; background: linear-gradient(135deg, rgba(48,59,55,.98), rgba(31,42,39,.96)); border: 1px solid rgba(194,160,100,.4); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact-panel .section-kicker { margin-bottom: 22px; }
.contact-panel h2 { font-size: clamp(2.7rem, 4.2vw, 4rem); }
.contact-panel p { max-width: 350px; font-size: 14px; margin-bottom: 23px; }
.contact-small { color: #aab5ac; font: 9px var(--mono); letter-spacing: .13em; margin-top: 24px; }
.site-footer { background: #111617; border-top: 1px solid rgba(194,160,100,.4); padding: 24px 0; }
.footer-brand { font-size: 27px; }
.site-footer p { color: #8e9992; font: 9px var(--mono); letter-spacing: .1em; margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a, .site-footer small { color: #9da59f; font: 9px var(--mono); letter-spacing: .08em; }
.footer-links a:hover { color: var(--brass); }
.footer-instagram-icon { font-size: 14px; margin-right: 5px; vertical-align: -1px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 100; width: 42px; height: 42px; border: 1px solid var(--brass); background: rgba(23,27,29,.9); color: var(--brass); font-size: 21px; opacity: 0; pointer-events: none; transition: .2s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
@media (min-width: 1400px) {
  .content-shell { padding-left: 5.2%; padding-right: 5.2%; }
  .hero-content { padding-left: 6.2%; }
}
@media (max-width: 991.98px) {
  .site-nav { min-height: 68px; }
  .nav-shell { padding: 0 22px; }
  .navbar-collapse { background: #171d1e; padding: 10px 18px 20px; border-top: 1px solid var(--line); margin: 0 -22px; }
  .navbar-nav .nav-link { padding: 10px 0 !important; }
  .navbar-nav .nav-link::after { bottom: 5px; right: 100%; }
  .nav-cta { margin-top: 8px; }
  .hero-section { margin-top: 68px; min-height: 620px; height: 78vh; }
  .hero-content { padding-left: 5%; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 575.98px) {
  body { font-size: 14px; }
  .hero-section { min-height: 650px; height: auto; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(13,18,19,.94), rgba(13,18,19,.65) 68%, rgba(13,18,19,.35)), linear-gradient(0deg, rgba(13,18,19,.7), transparent 60%); }
  .hero-content { padding: 65px 24px 90px; }
  .hero-copy h1 { font-size: clamp(3.6rem, 17vw, 5rem); }
  .hero-lede { max-width: 340px; }
  .hero-tags { font-size: 8px; letter-spacing: .08em; }
  .hero-specialties { font-size: 8px; letter-spacing: .06em; max-width: 340px; }
  .hero-tags i { margin: 0 3px; }
  .hero-index { left: 24px; right: auto; font-size: 8px; }
  .content-shell { padding-left: 22px; padding-right: 22px; }
  .section-block { padding: 48px 0 52px; }
  .section-heading-row h2 { font-size: clamp(1.2rem, 5.2vw, 2.1rem); }
  .card-image { height: 175px; }
  .project-image { height: 190px; }
  .capability-item { min-height: 135px; }
  .capability-item h3 { font-size: 14px; }
  .about-contact-section { padding: 48px 0; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { min-height: 230px; }
  .contact-panel { padding: 25px; min-height: 300px; }
  .footer-links { flex-wrap: wrap; }
}


/* Temporary visual treatment for portfolio images still to be supplied */
.image-pending { background: linear-gradient(135deg, #29332f 0%, #171b1d 100%); display:flex; align-items:center; justify-content:center; position:relative; }
.image-pending .pending-label { color:#b69a68; font:600 11px 'IBM Plex Mono', monospace; letter-spacing:.16em; }

/* Progressive portfolio reveal and image loading polish */
.portfolio-item.reveal-hidden { display:none !important; }
.project-image { transition: opacity .35s ease, transform .45s ease; }
.project-card:hover .project-image { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) { .project-image { transition:none; } .project-card:hover .project-image { transform:none; } }
