body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}
nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}
nav a:hover {
  color: #0078d7;
  background: #f4f8fb;
}
nav a.active {
  color: #0078d7;
  background: #eaf6f6;
  font-weight: 600;
}
main {
  max-width: 1100px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.intro h1 {
  margin-top: 0;
  font-size: 2.5rem;
}
.case-study h1 {
  margin-top: 0;
  font-size: 2rem;
}

/* --- Case Study Single-Column Layout --- */
.case-main {
  display: flex;
}
.sidebar {
  width: 220px;
  min-width: 180px;
  max-width: 260px;
  margin-right: 2.5rem;
  position: sticky;
  top: 2rem;
  align-self: flex-start;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 1rem 0.8rem 1rem 1rem;
  height: fit-content;
}
.sticky-nav {
  position: static;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.sticky-nav ul {
  display: block !important;
  flex-direction: column !important;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sticky-nav li {
  display: block;
  margin-bottom: 0.8rem;
}
.sticky-nav a {
  display: block;
  color: #0078d7;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05em;
  transition: color 0.2s, border-left 0.2s, background 0.2s;
  padding: 0.4em 0.8em 0.4em 0.6em;
  border-left: 3px solid transparent;
  border-radius: 4px 0 0 4px;
}
.sticky-nav a:hover, .sticky-nav a:focus {
  color: #005fa3;
  background: #eaf6f6;
  border-left: 3px solid #0078d7;
  text-decoration: none;
}
.sticky-nav a.active {
  color: #005fa3;
  background: #eaf6f6;
  border-left: 3px solid #0078d7;
  font-weight: 600;
}
.case-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  font-size: 1.09em;
  color: #23243a;
  line-height: 1.8;
  padding: 2rem !important;
  margin: 0 !important;
}

.sidebar-note {
  background: #f4f8fb;
  border-left: 4px solid #0078d7;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-size: 0.98rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.sidebar-note h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.sidebar-note ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.sidebar-note li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  font-size: 1.04em;
  line-height: 1.4;
}
.sidebar-note li::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  background: #0078d7;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.45em;
  box-shadow: 0 1px 3px rgba(0,120,215,0.10);
}

.sidebar-nda-note {
  background: #f7f7fa;
  color: #555a6a;
  font-size: 0.82em;
  border-radius: 6px;
  padding: 0.6em 0.8em;
  margin-bottom: 0.8em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  line-height: 1.4;
}

.case-content h1 {
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 2.2rem;
  color: #1a1a2a;
  letter-spacing: -0.01em;
}
.case-content h2 {
  font-size: 1.35rem;
  color: #1a3a3a;
  margin-top: 2.8rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1.5px solid #e6e6ef;
  padding-bottom: 0.3em;
}
.case-content h3 {
  font-size: 1.13rem;
  color: #2a4a6a;
  margin-top: 2.1rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.case-content section {
  margin-bottom: 3.5rem;
  padding-bottom: 0.5rem;
}
.case-content section > p:first-of-type {
  margin-bottom: 1.2em;
  color: #23243a;
  font-size: 1.07em;
}

.highlight-box {
  background: #f7f7fa;
  border-left: 4px solid #b5c6d6;
  padding: 0.9em 1.2em;
  border-radius: 6px;
  margin-bottom: 1.2em;
  color: #23243a;
  font-size: 1.07em;
}

.case-content ul, .case-content ol {
  margin-top: 0.7em;
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
.case-content li {
  margin-bottom: 0.4em;
}

/* --- Diagram Placeholder --- */
.diagram-placeholder {
  background: #f9fafb;
  border: 1.5px dashed #b5c6d6;
  color: #6a7a8c;
  border-radius: 6px;
  padding: 0.5rem;
  margin: 1.5rem 0;
  text-align: center;
  font-size: 1rem;
}

.diagram-placeholder figure img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Callout Quote --- */
.callout-quote {
  background: #f4f8fb;
  border-left: 4px solid #0078d7;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #2a3a4a;
  border-radius: 6px;
  position: relative;
}
.callout-quote .quote-icon {
  font-size: 2rem;
  color: #0078d7;
  vertical-align: middle;
  margin-right: 0.3em;
}
.callout-quote .quote-attribution {
  display: block;
  margin-top: 0.5em;
  font-size: 0.98em;
  color: #5a6a7a;
  font-style: normal;
}

/* --- Pull Quote --- */
.pull-quote {
  background: #eaf6f6;
  border-left: 6px solid #00b3b3;
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: #1a3a3a;
  border-radius: 8px;
  text-align: left;
  position: relative;
  line-height: 1.5;
}
.pull-quote .quote-icon {
  font-size: 2.2rem;
  color: #00b3b3;
  vertical-align: middle;
  margin-right: 0.3em;
  line-height: 1;
}
.pull-quote .quote-attribution {
  display: block;
  margin-top: 0.7em;
  font-size: 1em;
  color: #3a5a5a;
  font-weight: 400;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .case-main {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 2rem;
    position: static;
    top: unset;
    padding: 1.2rem 1rem;
  }
  .case-content {
    width: 100%;
  }
}

.design-story-block {
  background: #fff8f0;
  border-left: 6px solid #ffb366;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255,179,102,0.07);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0 2rem 0;
}
.design-story-title {
  font-size: 1.15em;
  font-weight: 700;
  color: #b85c00;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.design-story-block p {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  line-height: 1.7;
}

.insight-block {
  background: #f4faff;
  border-left: 6px solid #5bb3e6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(91,179,230,0.07);
  padding: 1.3rem 2rem;
  margin: 2.2rem 0 2rem 0;
}
.insight-title {
  font-size: 1.12em;
  font-weight: 700;
  color: #2176ae;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.insight-block p {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  line-height: 1.7;
}

.portfolio-context {
  background: #f7f7fa;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0 2.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.portfolio-context h3 {
  color: #4a4a7a;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.18em;
}
.portfolio-context p {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  line-height: 1.7;
}

.wizard-steps-block {
  background: #f8fbf7;
  border-left: 5px solid #6bbf59;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(107,191,89,0.06);
  padding: 1.3rem 2rem 1.3rem 1.5rem;
  margin: 2.2rem 0 2.2rem 0;
}
.wizard-steps-intro {
  font-weight: 500;
  color: #3a5a3a;
  margin-bottom: 1rem;
}
.wizard-steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7em 0;
}
.wizard-steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7em;
  font-size: 1.04em;
  line-height: 1.6;
}
.wizard-step-icon {
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  background: #e6f4e6;
  color: #388e3c;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 50%;
  text-align: center;
  line-height: 1.7em;
  margin-right: 0.7em;
  box-shadow: 0 1px 3px rgba(56,142,60,0.07);
  flex-shrink: 0;
}
.wizard-step-label {
  min-width: 120px;
  font-weight: 600;
  color: #256029;
  margin-right: 0.5em;
  flex-shrink: 0;
  text-align: left;
}
.wizard-step-desc {
  flex: 1 1 0%;
  color: #2a3a2a;
}
.wizard-steps-list li > strong {
  display: none;
}
.wizard-steps-summary {
  margin-top: 1.1em;
  color: #3a5a3a;
  font-size: 1em;
  font-style: italic;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  color: #6a7a8c;
  font-size: 0.9em;
  border-top: 1px solid #eee;
}

/* --- Article Styles --- */
.articles-list {
  margin-top: 2rem;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: #f4f8fb;
  border-radius: 6px;
  border: 1px solid #e6e6ef;
}

.sort-control label {
  color: #4a4a7a;
  font-weight: 500;
  font-size: 0.95rem;
}

.sort-control select {
  padding: 0.5rem 2rem 0.5rem 0.8rem;
  border: 1px solid #b5c6d6;
  border-radius: 4px;
  background: white;
  color: #23243a;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1em;
}

.sort-control select:hover {
  border-color: #0078d7;
}

.sort-control select:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 0 2px rgba(0,120,215,0.1);
}

.article-preview {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.article-preview h2 {
  color: #1a1a2a;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.article-date {
  color: #6a7a8c;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.article-summary {
  color: #4a4a7a;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.article-excerpt {
  background: #f9f9f9;
  border-left: 4px solid #0078d7;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 6px 6px 0;
}

.article-excerpt p {
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #23243a;
}

.article-excerpt p:last-child {
  margin-bottom: 0;
}

.article-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button.linkedin {
  background: #0077b5;
  color: white;
}

.button.linkedin:hover {
  background: #006399;
}

.button.local {
  background: #f4f8fb;
  color: #0078d7;
  border: 1px solid #0078d7;
}

.button.local:hover {
  background: #eaf6f6;
}

@media (max-width: 600px) {
  .article-actions {
    flex-direction: column;
  }
  
  .button {
    text-align: center;
  }
}

/* --- Article Page Styles --- */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.article-header {
  margin-bottom: 3rem;
}

.back-link {
  display: inline-block;
  color: #6a7a8c;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #0078d7;
}

.article-header h1 {
  font-size: 2.2rem;
  color: #1a1a2a;
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #6a7a8c;
  font-size: 0.95rem;
}

.article-meta time {
  font-weight: 500;
}

.linkedin-link {
  color: #0077b5;
  text-decoration: none;
  transition: color 0.2s;
}

.linkedin-link:hover {
  color: #005fa3;
  text-decoration: underline;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #23243a;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.5rem;
  color: #1a1a2a;
  margin: 2.5rem 0 1rem 0;
}

.article-body h3 {
  font-size: 1.3rem;
  color: #2a3a4a;
  margin: 2rem 0 1rem 0;
}

.article-body ul, .article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.8rem;
}

.article-body li:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .article-content {
    padding: 1.5rem 0;
  }
  
  .article-header h1 {
    font-size: 1.8rem;
  }
  
  .article-body {
    font-size: 1rem;
  }
}

/* --- Homepage Case Studies Section --- */
.case-studies {
  margin-top: 3rem;
  padding: 0 1rem;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.case {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  border: 1px solid #e6e6ef;
  padding: 2rem;
}

.case:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.case img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.case .case-content {
  padding: 2.5rem;
}

.case h3 {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  color: #1a1a2a;
  line-height: 1.3;
}

.case p {
  margin: 0 0 1.5rem 0;
  color: #4a4a7a;
  line-height: 1.6;
  font-size: 1.05rem;
}

.case .button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #0078d7;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 1rem;
}

.case .button:hover {
  background: #005fa3;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .case-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .case-content {
    padding: 1.5rem;
  }
}

.role-scope-impact {
  background: #f4f8fb;
  border-left: 4px solid #0078d7;
  border-radius: 6px;
  padding: 1.1rem 1.5rem;
  margin: 2rem 0 2.5rem 0;
  font-size: 0.98rem;
  color: #23243a;
  box-shadow: 0 1px 4px rgba(0,120,215,0.04);
}

h4 {
  font-size: 1.08rem;
  font-weight: 600;
  color: #2a3a4a;
  margin: 2rem 0 1rem 0;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  nav a {
    font-size: 1.05rem;
    padding: 1rem 0.5rem;
    margin: 0 0.5rem;
    text-align: left;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    display: block;
  }
  nav a.active {
    font-weight: 700;
    background: #eaf6f6;
    color: #0078d7;
  }
} 