/* ==========================================================================
   Tami Mulcahy — Portfolio
   Faithful rebuild of the original custom design:
   Poppins mixed weights (ExtraLight italic + Bold) · neon #F0FF00 highlights
   gray header band · black clients band · yellow heading blocks
   ========================================================================== */

:root {
  --ink: #0f0e0e;
  --gray-text: #6e6e6e;
  --band: #f0f0f1;       /* header / hero / cta gray */
  --panel: #efeff3;      /* sample cards */
  --tag-gray: #e2e2e6;
  --rule: #e0e0e0;
  --neon: #f0ff00;       /* THE accent */
  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --maxw: 72rem;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  overflow-x: hidden;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Poppins", "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

strong, b { font-weight: 700; }
em, i { font-style: italic; font-weight: 200; }

/* Solid neon highlight — the signature of the original design */
mark {
  background: var(--neon);
  color: inherit;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.inner { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* --------------------------------------------------------------------------
   Header — gray band, big wordmark, styled specialty list, nav top right
   -------------------------------------------------------------------------- */
.site-header { background: var(--band); }
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.4rem var(--pad-x) 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.wordmark {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.wordmark strong { font-weight: 800; }

.brand-tags p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 400;
}
.brand-tags em { font-weight: 200; }
.brand-tags strong { font-weight: 700; }
.brand-tags mark strong, .brand-tags strong mark { font-weight: 700; }

.site-nav { display: flex; gap: 1.7rem; padding-top: 0.5rem; }
.site-nav a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav a[aria-current="page"] { color: #9a9a9a; }

/* --------------------------------------------------------------------------
   Full-width bands + generic sections
   -------------------------------------------------------------------------- */
.band { background: var(--band); }
.band-black { background: var(--ink); color: #fff; }

.section { padding: 3.5rem 0; }

/* Two-line heading with offset yellow block, e.g.  Professional / [Summary]  */
.block-head {
  font-weight: 200;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 2rem;
}
.block-head .l1 { display: block; padding-left: clamp(1.5rem, 6vw, 4.5rem); }
.block-head .l2 {
  display: inline-block;
  font-weight: 700;
  background: var(--neon);
  padding: 0.15em 3em 0.55em clamp(1.5rem, 6vw, 4.5rem);
  margin-left: calc(-1 * var(--pad-x));
  padding-left: calc(var(--pad-x) + clamp(1.5rem, 6vw, 4.5rem));
}

/* One-line page title with bleeding yellow bar, e.g.  [Work Samples]  */
.page-title {
  position: relative;
  display: inline-block;
  font-weight: 200;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.1;
  margin: 3rem 0 1.5rem;
  background: var(--neon);
  padding: 0.05em 0.25em 0.05em 0;
}
.page-title strong { font-weight: 700; }
.page-title::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 100%;
  width: 100vw;
  background: var(--neon);
}

/* --------------------------------------------------------------------------
   Home hero — gray band, mixed-weight headline, flowchart graphic
   -------------------------------------------------------------------------- */
.hero-band { background: var(--band); overflow: hidden; }
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}
.hero-grid h1 {
  font-weight: 300;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.28;
  margin: 0;
  max-width: 16ch;
}
.hero-grid h1 em { font-weight: 200; }
.hero-grid h1 strong { font-weight: 700; font-style: normal; }
.flowchart { width: 100%; height: auto; display: block; margin-right: -12%; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .flowchart { max-width: 20rem; opacity: 0.6; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   Skill tags — alternating gray / black chips, centered
   -------------------------------------------------------------------------- */
.tags-list { text-align: center; margin: 3rem auto; max-width: 46rem; }
.tags-list p {
  margin: 0.55rem 0;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.6;
}
.tag-gray { background: var(--tag-gray); padding: 0.08em 0.4em; }
.tag-black { background: var(--ink); color: #fff; padding: 0.08em 0.4em; }

/* --------------------------------------------------------------------------
   Clients band — black, white "logotype" names
   -------------------------------------------------------------------------- */
.clients-band { background: var(--ink); }
.clients-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.8rem var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 3.2rem;
  align-items: center;
  justify-content: center;
}
.clients-inner img {
  height: clamp(2rem, 3.6vw, 2.9rem);
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  /* Renders every logo uniformly white on the black band,
     including logos saved with white/solid backgrounds */
  filter: grayscale(1) invert(1) brightness(1.9) contrast(1.05);
  mix-blend-mode: screen;
}

/* --------------------------------------------------------------------------
   CTA block (footer statement) — gray box, styled text, yellow side bar
   -------------------------------------------------------------------------- */
.cta-wrap { padding: 4rem var(--pad-x) 4.5rem; }
.cta-box {
  position: relative;
  background: var(--band);
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-text {
  font-weight: 300;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.5;
  margin: 0 0 2rem;
}
.cta-text em { font-weight: 200; }
.cta-text strong { font-weight: 700; }
.cta-bar {
  position: absolute;
  top: 18%;
  right: -2.2rem;
  width: 3.6rem;
  height: 64%;
  background: var(--neon);
}
@media (max-width: 900px) { .cta-bar { display: none; } }

.btn-outline {
  display: inline-block;
  font-family: Georgia, Palatino, "Book Antiqua", "Palatino Linotype", serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  padding: 0.65em 1.8em;
  text-decoration: none;
}
.btn-outline:hover { background: var(--neon); }

.btn-black {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.7em 2.2em;
  cursor: pointer;
  text-decoration: none;
}
.btn-black:hover { background: #fff; color: var(--ink); }

.footer-meta {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-text);
  padding: 0 var(--pad-x) 2rem;
}

/* --------------------------------------------------------------------------
   Body copy + generic content
   -------------------------------------------------------------------------- */
p { max-width: var(--measure); }
h2 { font-weight: 700; font-size: 1.5rem; line-height: 1.3; margin: 2rem 0 0.8rem; }
h3 { font-weight: 600; font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.lede { font-size: 1.15rem; }
.smallnote { font-size: 0.88rem; font-style: italic; font-weight: 300; color: var(--gray-text); max-width: 52rem; }
.smallnote::before { content: "*"; font-weight: 700; font-style: normal; margin-right: 0.25em; }

/* Highlighted banner line, e.g.  Let's collaborate for success!  */
.collab-banner {
  display: inline-block;
  background: var(--neon);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  padding: 0.2em 0.6em;
  box-shadow: 0 10px 18px -8px rgba(0,0,0,0.35);
  margin: 1rem 0 2rem;
}

/* --------------------------------------------------------------------------
   Sample cards — light gray squares like the original PDF tiles
   -------------------------------------------------------------------------- */
.client-group { margin: 2.8rem 0; }
.client-group > h2 { margin-bottom: 0.2rem; }
.client-group > .client-context { margin-top: 0; font-size: 0.95rem; }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.4rem;
  margin-top: 1.3rem;
  max-width: 60rem;
}
.doc-card {
  background: var(--panel);
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.doc-card .doc-meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.doc-card h3 { margin: 0.1rem 0 0; font-weight: 500; font-size: 1.18rem; }
.doc-card .doc-desc { margin: 0; font-size: 0.9rem; font-weight: 300; flex: 1; }
.doc-card .doc-link { font-weight: 600; font-size: 0.9rem; margin-top: 0.6rem; }
.doc-card:hover { outline: 2px solid var(--ink); }

/* --------------------------------------------------------------------------
   Services lists
   -------------------------------------------------------------------------- */
.svc-list { max-width: 54rem; padding-left: 1.4rem; }
.svc-list li { margin-bottom: 0.35rem; }
.svc-list li strong { font-weight: 700; }
.why-list { max-width: 56rem; padding-left: 1.4rem; }
.why-list li { margin-bottom: 0.8rem; }

/* --------------------------------------------------------------------------
   Contact form — minimal underline inputs, per original Wix form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 2rem;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

form { display: grid; gap: 1.35rem; max-width: 30rem; }
label { font-weight: 400; font-size: 0.95rem; display: block; margin-bottom: 0.2rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 0.45rem 0.05rem;
}
textarea { border: 1px solid var(--ink); padding: 0.7rem 0.85rem; min-height: 9rem; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fbfce9; }
.hidden-field { display: none; }

.contact-aside p { font-size: 1.3rem; font-weight: 300; line-height: 1.6; }
.contact-aside p strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   Career highlights — black stats band (replaces logo band)
   -------------------------------------------------------------------------- */
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-num {
  color: var(--neon);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
}
.stat-label {
  color: #fff;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.industries {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x) 2.6rem;
  text-align: center;
  color: #9a9a9a;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--neon);
  color: var(--ink);
  font-weight: 700;
  padding: 0.6em 1.2em;
  z-index: 10;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* --------------------------------------------------------------------------
   Print — sample docs print like real deliverables
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-nav, .skip-link, .cta-wrap, .backlink, .btn-outline, .btn-black { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  mark { background: none; font-weight: 700; text-decoration: underline; }
  a { color: #000; text-decoration: none; }
  .clients-band, .stats-inner .stat-num { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-header { border-bottom: 2pt solid #000; }
  pre { background: #f4f4f4 !important; color: #000 !important; border: 1pt solid #ccc; }
  pre .c, pre .k, pre .s { color: #000 !important; }
}
