:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --navy:#0b1f3a;
  --line:#d8dee9;
  --accent:#b58b2a; /* warm gold */
  --radius:18px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --shadow2: 0 18px 40px rgba(2,6,23,.10);
  --max: 1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
  line-height:1.55;
}

a{color:var(--navy); text-decoration-thickness:2px; text-underline-offset:3px}
a:hover{color:#0a2e57}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
pre{margin:0; white-space:pre-wrap}

.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:56px 0}
.kicker{
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--muted);
  margin:0 0 10px;
}
h1,h2,h3,h4{margin:0 0 12px; line-height:1.18}
h1{font-size:2.35rem}
h2{font-size:1.8rem}
h3{font-size:1.35rem}
h4{font-size:1.02rem}
.lead{font-size:1.05rem; color:var(--ink)}
.muted{color:var(--muted)}

.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand__name{font-weight:720; letter-spacing:.01em}
.brand__role{font-size:.92rem; color:var(--muted)}
.site-nav{display:flex; align-items:center; gap:10px}
.nav-links{display:flex; align-items:center; gap:14px}
.nav-links a{
  text-decoration:none;
  font-weight:620;
  padding:10px 10px;
  border-radius:12px;
}
.nav-links a:hover{background: rgba(11,31,58,.06)}
.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background: var(--card);
  border-radius:12px;
  padding:10px 12px;
  box-shadow: var(--shadow);
}

.skip-link{
  position:absolute; left:-999px; top:10px;
  background: var(--navy); color:#fff;
  padding:10px 12px; border-radius:12px;
}
.skip-link:focus{left:10px; z-index:999}

.hero{padding-top:44px}
.grid-2{display:grid; grid-template-columns: 1.05fr .95fr; gap:22px; align-items:start}
.grid-3{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
.grid-4{display:grid; grid-template-columns: repeat(4,1fr); gap:14px}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.media-card{padding:12px}
.media-card img{border-radius:14px; border:1px solid var(--line)}

.taglines{margin:14px 0 14px}
.tagline{
  margin: 0 0 10px;
  padding:10px 12px;
  border-left:4px solid var(--accent);
  background: rgba(181,139,42,.08);
  border-radius:14px;
}

.cta-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  font-weight:650;
  text-decoration:none;
  border:1px solid var(--line);
}
.btn.primary{
  background: var(--navy); color:#fff; border-color: var(--navy);
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.ghost{background: #fff}
.btn.ghost:hover{background: rgba(11,31,58,.06)}

.roles .role{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(11,31,58,.03) 100%);
}
.roles .role h3{margin-bottom:8px}

.subnav{
  display:flex; flex-wrap:wrap; gap:8px;
  margin: 14px 0 20px;
}
.subnav a{
  text-decoration:none;
  border:1px solid var(--line);
  padding:9px 10px;
  border-radius:999px;
  background:#fff;
  font-weight:650;
}
.subnav a:hover{background: rgba(11,31,58,.06)}

.work-example{margin-top:14px}
.work-example__header{
  padding-bottom:12px;
  border-bottom: 3px solid var(--navy);
  margin-bottom:14px;
}
.media img{
  width:100%; height:auto; display:block;
  border-radius:14px;
  border:1px solid var(--line);
  cursor: zoom-in;
}
figcaption{color:var(--muted); font-size:.92rem; margin-top:8px}

.checklist, .bullets{margin:10px 0 0; padding-left:0; list-style:none}
.checklist li{
  display:flex; gap:10px; align-items:flex-start;
  padding:7px 0;
}
.box{
  width:16px; height:16px; border:2px solid var(--navy); border-radius:3px;
  flex:0 0 16px; margin-top:3px;
}
.bullets{padding-left:18px; list-style:disc}
.bullets li{margin:8px 0}

.accordion{
  margin-top:14px;
  border-top:1px solid var(--line);
  padding-top:10px;
}
.accordion summary{
  cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  font-weight:700;
  padding:12px 10px;
  border-radius:14px;
  background: rgba(11,31,58,.04);
  border:1px solid var(--line);
}
.accordion[open] summary{box-shadow: var(--shadow)}
.accordion__body{padding:12px 4px 4px}
.chev{font-size:1.1rem}

.pdf-frame{
  width:100%;
  height: 560px;
  border-radius:16px;
  border:1px solid var(--line);
  overflow:hidden;
  background: #fff;
  position:relative;
}
.pdf-frame iframe{
  width:100%; height:100%;
  border:0;
}
.pdf-fallback{
  padding:18px;
  color:var(--muted);
}

.prompt-grid{display:grid; grid-template-columns:1fr; gap:12px; margin-top:12px}
.prompt{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.prompt summary{
  cursor:pointer;
  padding:12px 14px;
  font-weight:750;
  background: rgba(181,139,42,.08);
  border-bottom:1px solid var(--line);
}
.prompt pre{padding:14px; margin:0}
.codebox{
  border:1px solid var(--line);
  border-radius:16px;
  background: #0b1020;
  color:#e5e7eb;
  padding:14px;
  overflow:auto;
}
.codebox code{color:#e5e7eb}

.mini-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff;
}

.contact-card .contact-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
  margin-top:14px;
} 
#about .about-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

#about .about-card li {
  margin: 0.25rem 0;
  line-height: 1.45;
}

.label{font-size:.82rem; text-transform:uppercase; letter-spacing:.14em; color:var(--muted); margin-bottom:6px}

.footer{margin-top:16px; padding-top:22px}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  border-top:1px solid var(--line);
  padding:14px 0 0;
}
.to-top{text-decoration:none; font-weight:650}

.modal[hidden]{display:none}
.modal{position:fixed; inset:0; z-index:100}
.modal__backdrop{position:absolute; inset:0; background: rgba(2,6,23,.62)}
.modal__content{
  position:relative;
  margin: 6vh auto;
  width:min(1100px, 92vw);
  background:#fff;
  border-radius: 22px;
  box-shadow: var(--shadow2);
  padding:14px;
}
.modal__close{
  position:absolute;
  top:10px; right:10px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.modal__content img{
  width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid var(--line);
}
.modal__caption{color:var(--muted); margin-top:10px}

.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

@media (max-width: 960px){
  .grid-2{grid-template-columns: 1fr}
  .grid-4{grid-template-columns: 1fr 1fr}
  .grid-3{grid-template-columns: 1fr}
  .contact-card .contact-grid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    position:absolute;
    right:18px;
    top:64px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:10px;
    box-shadow: var(--shadow);
    flex-direction:column;
    align-items:stretch;
    min-width:220px;
  }
  .nav-links a{padding:10px 12px}
  .nav-links.open{display:flex}
  h1{font-size:2.0rem}
}
/* ===============================
   Work Example 3 — Prompt layout
   Text left | Image right
================================ */

.prompt-row{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-top:12px;
}

.prompt-code{
  flex: 1 1 auto;
  background:#F7F8FA;
  border:1px solid #E4E7EC;
  border-radius:12px;
  padding:14px;
  overflow:auto;
  font-size:0.9rem;
  line-height:1.4;
  white-space:pre-wrap;
  margin:0;
}

.prompt-image{
  flex: 0 0 280px;
  max-width:280px;
}

.prompt-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  border:1px solid #E4E7EC;
  cursor: zoom-in;
}

.click-to-enlarge{
  font-size:0.85rem;
  margin-top:8px;
  color:#667085;
}

/* Mobile: stack instead of side-by-side */
@media (max-width: 820px){
  .prompt-row{
    flex-direction: column;
  }
  .prompt-image{
    width: 100%;
  }
}

/* Image lightbox (click to enlarge) */
/* Image modal (click to enlarge) */
#imgModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}

/* Hidden state controlled by JS */
#imgModal[hidden] {
  display: none;
}

#imgModal img {
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  cursor: zoom-out;

}
.lightbox-close{
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  z-index: 100000;
}

.lightbox-close:hover{
  background: rgba(255,255,255,0.28);
}
/* Hero tagline (Home page) */
.hero-tagline {
  text-align: center;
  margin: 0.5rem auto 0;
  max-width: 720px;
}
/* ===== My Non-Negotiables tabs ===== */

.tabs-container {
  width: 100%;
}

.tabs-header {
  display: flex; /* Use flexbox to lay out the tabs horizontally */
  justify-content: space-between; /* Distribute tabs evenly */
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.tab-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
  flex-grow: 1; /* Ensures each tab fills equal space */
}

.tab-button + .tab-button {
  border-left: 1px solid var(--line); /* Border between tabs */
}

.tab-button.active {
  box-shadow: inset 0 -4px 0 var(--navy); /* Highlight active tab */
  background: var(--navy); /* Optional: Add background color for active tab */
  color: white; /* Change text color for active tab */
}

/* Tab content styling */
.tab-content {
  display: none;
  width: 100%;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

/* Show the active content */
.tab-content.active {
  display: block;
}

/* Mobile: Stack tab buttons vertically */
@media (max-width: 820px) {
  .tabs-header {
    flex-direction: column; /* Stack tabs vertically on mobile */
  }

  .tab-button + .tab-button {
    border-left: 0;
    border-top: 1px solid var(--line); /* Border between stacked tabs */
  }
}
/* Style for the three example boxes */
.examples-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.example-box {
  flex: 1;
  margin: 0 10px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.example-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.example-box p {
  font-size: 1rem;
  line-height: 1.5;
}

.examples-footer{
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.examples-footer p{
  margin: 0 0 8px 0;
}

.examples-footer ul{
  margin: 0;
  padding-left: 18px;
}
  line-height: 1.5;
}
.examples-footer{
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.examples-footer p{
  margin: 0 0 8px 0;
}

.examples-footer ul{
  margin: 0;
  padding-left: 18px;
}
.subsection-note {
  font-style: italic;
  color: #6C757D;
  margin-top: -0.5rem;
}
/* =========================================
   WORK EXAMPLE POLISH
   ========================================= */

/* QA comparison table headers */
.qa-table thead th {
  background-color: #0A1A3A;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
}

/* Three-column copy edit box headings */
.example-box h4 {
  color: #0A1A3A;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #0A1A3A;
}

/* Secondary headings inside copy boxes */
.example-box h5 {
  color: #1F2B44;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.example-box h5 {
  color: #1F2B44;              /* softer navy */
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-card{
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 2rem;
  border: 2px solid #0A1A3A;
  border-radius: 8px;
  background: #FFFFFF;
}

.contact-intro{
  margin-bottom: 1.25rem;
  color: #2C3E50;
  line-height: 1.6;
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li{
  margin-bottom: 0.75rem;
}

.contact-list a{
  color: #0A1A3A;
  text-decoration: none;
}

.contact-list a:hover{
  text-decoration: underline;
}
.example-box ul {
  padding-left: 1.25rem;   /* controls indent */
  margin-top: 0.5rem;
}

.example-box li {
  margin-bottom: 0.4rem;
}
.contact-list strong {
  color: #0A1A3A;
  font-weight: 600;
}
.contact-resume {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E9ECEF;
}

.contact-resume-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0A1A3A;
}

.resume-download {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border: 1px solid #0A1A3A;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.resume-download:hover {
  background: #0A1A3A;
  color: #fff;
}
/* Tighten spacing in "What I Deliver" list */
.about-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.about-card li {
  margin: 0.35rem 0;   /* reduce vertical space between bullets */
  line-height: 1.45;
}
.about-card li { margin: 0.25rem 0; }
.about-card ul { list-style: disc; }/* About — "What I Deliver" list: standard bullets + tighter spacing */
#about .about-card ul{
  list-style: disc;
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
}

#about .about-card li{
  margin: 0.25rem 0;
  line-height: 1.45;
}
/* ABOUT: force standard bullets (prevents double markers) */
.about-card ul {
  list-style: disc !important;
  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
}

.about-card li {
  margin: 0.25rem 0;
  line-height: 1.45;
}

/* If any custom checkbox/icon is being injected in list items, hide it inside About cards */
.about-card li .box,
.about-card li::before {
  display: none !important;
  content: none !important;
}
/* Reduce space between About cards and Non-Negotiables */
#about .about-grid {
  margin-bottom: 2.25rem; /* default is often ~3–4rem */
}


#about .subsection-title {
  margin-top: 1.25rem; /* reduce space above "My Non-Negotiables" */
}
#examples th {
  background-color: var(--navy);
  color: #ffffff;
  font-weight: 600;
}
/* Work Example 1 — Instructional Designer Guidance: square checkbox + clean wrapping */
.guidance-checklist{
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.guidance-checklist li{
  position: relative;
  padding-left: 1.4rem;   /* controls wrap alignment */
  margin: 0.6rem 0;
  line-height: 1.55;
}

.guidance-checklist li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 12px;            /* slightly smaller checkbox */
  height: 12px;
  border: 2px solid var(--navy);
  border-radius: 2px;
  background: transparent;
}

.guidance-checklist strong{
  font-weight: 600;
}
/* Work Example 1 — Course Information: restore real bullets */
.work-example-card .info-list{
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.work-example-card .info-list li{
  display: list-item !important;   /* overrides flex/grid checklist rules */
  margin: 0.25rem 0;
  line-height: 1.45;
}
/* Guidance checklist — lighter/smaller checkbox */
.guidance-checklist li{
  padding-left: 1.35rem;
}

.guidance-checklist li::before{
  width: 11px;
  height: 11px;
  border-width: 1.5px;   /* lighter than 2px */
  top: 0.32em;
  opacity: 0.9;
}
/* Reduce space after Lesson Outlines text */
.work-example-card .work-example-section-heading + p {
  margin-bottom: 0.75rem;
}

/* Work Example images — tighten vertical spacing */
.work-example-layout-visual figure {
  margin-top: 0.25rem;
}

/* Slightly reduce Work Example images */
.work-example-layout-visual img {
  max-width: 92%;
}

/* Reduce space after section text before images */
.work-example-layout-text p:last-of-type {
  margin-bottom: 0.75rem;
}

/* Align visuals slightly lower than text */
.work-example-layout-visual {
  padding-top: 0.25rem;
}
/* Tighten Work Example image column */
.work-example-layout-visual {
  flex: 0 0 46%;        /* was effectively wider */
  max-width: 46%;
  padding-right: 0;    /* remove extra breathing room */
}

/* Let images use the full column */
.work-example-layout-visual img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reduce right-side whitespace inside figures */
.work-example-layout-visual figure {
  margin-right: 0;
}
