/* =============================================
   Stenfert Kroese Consulting — Main Stylesheet
   Colours: #004D40 (deep teal) / #FFFFFF (white)
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #004D40;
  --navy-dark:  #00332B;
  --navy-light: #00695C;
  --white:      #FFFFFF;
  --off-white:  #F7F9F8;
  --grey-light: #EBEBEB;
  --grey-mid:   #888888;
  --text:       #1A1A1A;
  --text-light: #555555;
  --accent:     #26A69A;

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  'Helvetica Neue', Arial, Helvetica, sans-serif;

  --max-width: 1080px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: normal;
  line-height: 1.2;
  color: var(--navy);
}

p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Navigation ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  text-decoration: none;
}

/* ---- Page wrapper ---- */
.page {
  padding-top: var(--nav-height);
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 40px 88px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  max-width: 680px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---- Section ---- */
.section {
  padding: 80px 40px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: var(--off-white);
}

.section-navy {
  background: var(--navy);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-navy .section-label {
  color: rgba(255,255,255,0.45);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
}

.section-navy .section-title {
  color: var(--white);
}

.section-intro {
  font-size: 15px;
  max-width: 600px;
  margin-bottom: 52px;
}

.section-navy .section-intro {
  color: rgba(255,255,255,0.65);
}

/* ---- Service buckets ---- */
.bucket {
  margin-bottom: 48px;
}

.bucket:last-child {
  margin-bottom: 0;
}

.bucket-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-left: 3px solid var(--navy);
  padding-left: 12px;
  margin-bottom: 16px;
}

/* ---- Service grid ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--navy);
}

.service-icon {
  width: 36px;
  height: 3px;
  background: var(--navy);
  margin-bottom: 24px;
  opacity: 0.25;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ---- About page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-placeholder {
  font-size: 11px;
  color: var(--grey-mid);
  font-family: var(--font-sans);
  text-align: center;
  padding: 24px;
}

.about-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 8px;
}

.about-content .role {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-content p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.divider {
  width: 40px;
  height: 3px;
  background: var(--navy);
  margin: 28px 0;
  opacity: 0.3;
}

/* ---- Credentials strip ---- */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cred-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  padding: 7px 14px;
}

/* ---- Contact photo ---- */
.contact-photo {
  width: 80%;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 32px;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.contact-item-value {
  font-size: 15px;
  color: var(--text);
}

.contact-item-value a {
  color: var(--navy);
}

.contact-item-value a:hover {
  text-decoration: underline;
}

/* ---- Form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--grey-light);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea {
  min-height: 140px;
}

.btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--navy-light);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--grey-light);
  padding: 32px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 11px;
  color: var(--grey-mid);
  margin: 0;
}

/* ---- Utility ---- */
.text-white { color: var(--white); }

/* ---- Blog listing grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--navy);
  text-decoration: none;
}

.blog-card-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 0;
}

/* ---- Article page ---- */
.article-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.article-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 48px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta span {
  color: var(--accent);
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.article-body p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 24px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 8px;
}

/* Named framework callout box */
.framework-box {
  border-left: 4px solid var(--navy);
  background: var(--off-white);
  padding: 24px 28px;
  margin: 40px 0;
}

.framework-box-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.framework-box p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0;
}

.framework-box ul {
  margin: 12px 0 0 20px;
  font-size: 15px;
  color: var(--text-light);
}

.framework-box ul li {
  margin-bottom: 6px;
}

/* Article CTA */
.article-cta-box {
  border-top: 1px solid var(--grey-light);
  margin-top: 64px;
  padding-top: 40px;
  text-align: center;
}

.article-cta-box p {
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--grey-mid);
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb-sep {
  margin: 0 8px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card {
    padding: 28px 20px;
  }
  .article-body h2 {
    font-size: 20px;
    margin-top: 36px;
  }
  .article-body p,
  .article-body ul,
  .article-body ol {
    font-size: 15px;
  }
}

/* ---- Credibility bar ---- */
.cred-bar {
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 40px;
  background: var(--off-white);
}

.cred-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.cred-bar-inner span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.cred-sep {
  color: var(--grey-mid);
  font-weight: 400;
}

/* ---- Selected work / Case studies ---- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.work-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  border-color: var(--navy);
}

.work-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.work-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.work-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.work-outcome {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-top: 1px solid var(--grey-light);
  padding-top: 16px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

/* ---- Button variants ---- */
a.btn {
  display: inline-block;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: rgba(255,255,255,0.88);
  text-decoration: none;
}

/* ---- Navy section CTA (centred, narrow) ---- */
.section-navy-cta .section-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-navy-cta .section-intro {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* ---- Navy inline form ---- */
.form-navy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-navy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-navy input,
.form-navy textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  outline: none;
  width: 100%;
}

.form-navy textarea {
  resize: vertical;
}

.form-navy input::placeholder,
.form-navy textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

@media (max-width: 480px) {
  .form-navy-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Section CTA row ---- */
.section-cta {
  margin-top: 48px;
}

/* ---- Burger menu ---- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: all 0.2s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-logo { font-size: 15px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }

  .hero { padding: 56px 20px 48px; }
  .section { padding: 56px 20px; }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cred-strip { gap: 8px; }

  .cred-bar { padding: 14px 20px; }
  .cred-sep { display: none; }

  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --nav-height: 60px; }

  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 14px; }

  .hero { padding: 44px 16px 36px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 44px 16px; }
  .section-intro { font-size: 15px; }

  .service-card { padding: 28px 20px; }

  footer { padding: 24px 16px; }

  .bucket-label { font-size: 10px; }
}

@media (max-width: 640px) {
  .burger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-light);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--grey-light);
  }

  .nav-links li:last-child a { border-bottom: none; }
}
