/* ==========================================================================
   Lenka Mandryszová — Static Website Stylesheet
   WordPress-Ready Static Build (HTML5 / Vanilla CSS / BEM Methodology)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables (:root)
   -------------------------------------------------------------------------- */
:root {
  /* Color Scheme (Harmonized with DSC_9360 1.jpg portrait) */
  --color-bg: #F1F3F5;
  --color-surface: #ffffff;
  --color-surface-tint: #f3f5f4;
  --color-primary: #191919;
  --color-primary-light: #25394b;
  --color-accent: #2c4959;
  --color-accent-subtle: #e9eff2;
  --color-text: #192127;
  --color-text-muted: #566472;
  --color-text-light: #7c8894;
  --color-border: #e3e7e8;
  --color-border-subtle: #edf0ef;
  --color-placeholder-bg: #e6eae9;
  --color-placeholder-border: #d4dad9;
  --color-placeholder-text: #697877;
  --color-white: #ffffff;
  --green: #728C70;
  --color-navy: #17232E;

  /* Typography */
  --font-heading: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Radii */
  --container-max: 146rem;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Elements (1rem = 10px)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: auto;
  max-width: 100%;
      overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Elements
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 5.6rem;
  }
}

h2 {
  font-size: 2.8rem;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  h2 {
    font-size: 3.6rem;
  }
}

h3 {
  font-size: 2.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}

p {
  margin-top: 0;
  margin-bottom: 2rem;
  color: var(--color-text);
}

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

.text-lead {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.5;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 2.4rem;
}



.text-muted {
  color: var(--color-text-muted);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  background: var(--green);
  color: white;
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--green);
  border-radius: 0;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 5.4rem;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}


.btn.--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn.--ghost:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn.--ghost:hover img{
  filter:invert(1) brightness(5);
}


.btn.--ghost-white {
  background: transparent;
  color: white;
  border-color: white;
}

.btn.--ghost-white:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

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

.btn.--white:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn.--white:hover img{
  filter:invert(1) brightness(5);
}



/* Section vertical spacing according to instructions.md */
.sec-pad {
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .sec-pad {
    padding-block: 8rem;
  }
}

/* Subtle Divider */
.divider {
  border: 0;
  height: 1px;
  background-color: var(--color-border);
  margin: 0;
}

/* Links with Arrow */
.arrow-link {}

.arrow-link svg {
  width: 1.6rem;
  height: 1.6rem;
  transition: transform 0.2s ease;
}

.arrow-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.arrow-link:hover svg {
  transform: translateX(0.4rem);
}

/* --------------------------------------------------------------------------
   4. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header--scrolled {
  background-color: rgba(0, 0, 0, 0.9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.2rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    height: 8.4rem;
  }
}

.site-header__brand {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #000;
  text-decoration: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, visibility 0.2s ease, color 0.2s ease;
}

/* White brand only on the homepage before scrolling */
.home .site-header:not(.site-header--scrolled) .site-header__brand {
  color: white;
}

/* White brand when the header is scrolled */
.site-header--scrolled .site-header__brand {
  color: white;
}

/* Brand is hidden on the homepage only (revealed on scroll) */
.home .site-header__brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home .site-header--scrolled .site-header__brand {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header__brand:hover {
  color: var(--color-accent);
}

.site-header__nav-wrapper {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.site-header__nav {
  display: none;
}

@media (min-width: 992px) {
  .site-header__nav {
    display: flex;
    align-items: center;
  }
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav-link {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  position: relative;
  padding-block: 0.6rem;
  transition: color 0.2s ease;
}

/* White nav links only on the homepage before scrolling */
.home .site-header:not(.site-header--scrolled) .site-header__nav-link {
  color: white;
}

/* White nav links when the header is scrolled */
.site-header--scrolled .site-header__nav-link {
  color: white;
}

.site-header__nav-link:hover,
.site-header__nav-link--active {
  color: var(--color-primary);
}

.site-header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: white;
}

/* Language Switcher */
.site-header__lang {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 1.6rem;
}

.site-header__lang-link {
  color: #000;
  transition: color 0.2s ease;
}

.site-header__lang-link:hover {
  color: #000;
}

.site-header__lang-link--active {
  color: #000;
  font-weight: 700;
  border-bottom: 1px solid #000;
}

.site-header__lang-sep {
  color: #000;
}

/* White language switcher only on the homepage before scrolling */
.home .site-header:not(.site-header--scrolled) .site-header__lang-link,
.home .site-header:not(.site-header--scrolled) .site-header__lang-link:hover,
.home .site-header:not(.site-header--scrolled) .site-header__lang-link--active,
.home .site-header:not(.site-header--scrolled) .site-header__lang-sep {
  color: white;
}

.home .site-header:not(.site-header--scrolled) .site-header__lang-link--active {
  border-bottom-color: white;
}

/* White language switcher when the header is scrolled */
.site-header--scrolled .site-header__lang-link,
.site-header--scrolled .site-header__lang-link:hover,
.site-header--scrolled .site-header__lang-link--active,
.site-header--scrolled .site-header__lang-sep {
  color: white;
}

.site-header--scrolled .site-header__lang-link--active {
  border-bottom-color: white;
}

/* Mobile Menu Button */
.site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  color: var(--color-primary);
}

@media (min-width: 992px) {
  .site-header__menu-toggle {
    display: none;
  }
}

.site-header__menu-toggle svg {
  width: 2.4rem;
  height: 2.4rem;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 7.2rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 7.2rem);
  background-color: var(--color-bg);
  padding: 3.2rem 2.4rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  z-index: 99;
}

.mobile-nav--open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-primary);
  display: block;
}

.mobile-nav__link--active {
  color: var(--color-accent);
}

.mobile-nav__footer {
  padding-top: 2.4rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.site-header__button{
  display: none;
}
.site-header__button .btn{
  min-height: 4.8rem;
  padding: 0 1.8rem;
  font-size: 1.6rem;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .site-header__button {
    display: inline-flex;
    margin-left: 3rem;
  }
}

/* White "Get in Touch" button only on the homepage before scrolling */
.home .site-header:not(.site-header--scrolled) .site-header__button .btn {
  background: transparent;
  color: white;
  border-color: white;
}

.home .site-header:not(.site-header--scrolled) .site-header__button .btn:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}
/* --------------------------------------------------------------------------
   5. Hero Section (Header Background with DSC_9360 1.jpg)
   -------------------------------------------------------------------------- */
.sec-hero {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  background-image: url("images/bg-hero.jpg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 15rem 0;
  min-height: 82rem;
}

@media (max-width: 767px) {
  .sec-hero {
    min-height: auto;
    background-image:
      linear-gradient(to bottom,
        rgba(250, 249, 246, 0.94) 0%,
        rgba(250, 249, 246, 0.90) 60%,
        rgba(250, 249, 246, 0.85) 100%),
      url('images/hero-bg.jpg');
    background-position: top center;
    padding-block: 6rem 5rem;
  }
}

.sec-hero__content {
  max-width: 68rem;
}

.sec-hero__name {
  font-family: var(--font-heading);
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 1.6rem;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .sec-hero__name {
    font-size: 6rem;
  }
}

.sec-hero__descriptor {
  font-size: 1.7rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  font-weight: 400;
  max-width: 58rem;
  margin-bottom: 3.2rem;
}

@media (min-width: 768px) {
  .sec-hero__descriptor {
    font-size: 1.9rem;
  }
}

.sec-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

/* Page Header (Subpages) */
.page-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding-block: 6rem 4rem;
}

@media (min-width: 768px) {
  .page-header {
    padding-block: 14rem 6rem;
  }
}

.page-header__kicker {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.page-header__title {
  margin-bottom: 1.6rem;
}

.page-header__subtitle {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 72rem;
  font-family: var(--font-heading);
  font-style: italic;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Statistics Section (.sec-stats)
   -------------------------------------------------------------------------- */
.sec-stats {
  background-color: var(--color-bg);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.stats-item {
  padding: 2rem 0 0 0;
  border-top: 1px solid var(--green);
}



.stats-item__number {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}


.stats-item__label {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   7. Photo Placeholders (Gray Rectangles for future photos)
   -------------------------------------------------------------------------- */
.photo-placeholder {
  background-color: var(--color-placeholder-bg);
  border: 1px dashed var(--color-placeholder-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.photo-placeholder--landscape {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.photo-placeholder--portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.photo-placeholder--standard {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.photo-placeholder__icon {
  width: 3.2rem;
  height: 3.2rem;
  color: var(--color-placeholder-text);
  margin-bottom: 1.2rem;
  opacity: 0.7;
}

.photo-placeholder__label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-placeholder-text);
  margin-bottom: 0.4rem;
}

.photo-placeholder__desc {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  max-width: 28rem;
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. Narrative & Philosophy Section (.sec-narrative)
   -------------------------------------------------------------------------- */
.sec-narrative {
  background-color: var(--color-bg);
  padding: 0;
}

.narrative-layout {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  padding: 6rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
}

.narrative-text {
  max-width: 60rem;
}

.narrative-text p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.narrative-text__heading {
  margin-bottom: 2.8rem;
  font-weight: 300;
}

.narrative-text__heading strong {
  font-weight: 700;
  display: block;
}

.narrative-text .btn{
  margin-top: 2rem;
}
.narrative-questions {
  margin-top: 3.2rem;
  padding: 2.4rem 2.8rem;
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-right: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.narrative-questions__intro {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 1.6rem;
}

.narrative-questions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.narrative-questions__item {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.narrative-questions__item::before {
  content: '—';
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   9. Expertise Overview Grid (.sec-expertise)
   -------------------------------------------------------------------------- */
.sec-expertise {
  background-color: var(--color-surface);
  padding-bottom: 0;
  background-image: linear-gradient(to top , var(--color-bg) 120px, #ffffff 120px);
}

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}
.sec-header__link{
  min-height: 5rem;
  padding: 0 2rem;
}

.sec-header__kicker {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  letter-spacing: 5%;
  display: flex;
}

.expertise-slider {
  padding: 0 0 4.8rem 0;
}

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

/* Splide slide spacing handled via the `gap` option */
.expertise-slider .splide__slide {
  box-sizing: border-box;
}

/* Slider navigation arrows */
.expertise-slider .splide__arrow {
  background: transparent;
  border: 1px solid var(--color-border);
  opacity: 1;
  width: 4.4rem;
  height: 4.4rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.expertise-slider .splide__arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.expertise-slider .splide__arrow svg {
  fill: var(--color-text);
  width: 1.6rem;
  height: 1.6rem;
}

.expertise-slider .splide__arrow:hover svg {
  fill: #fff;
}

.expertise-slider .splide__arrow--prev {
  left: -5.6rem;
}

.expertise-slider .splide__arrow--next {
  right: -5.6rem;
}

@media (max-width: 1279px) {
  .expertise-slider .splide__arrow--prev {
    left: 0;
  }

  .expertise-slider .splide__arrow--next {
    right: 0;
  }
}

.expertise-card {
  padding: 4rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--color-surface);
}

.expertise-card__link {
  margin-top: 2rem;
  align-self: flex-start;
}

.expertise-card__number {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.expertise-card__title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
}

.expertise-card__desc {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
      flex-grow: 1;
}

.expertise-cta-wrapper {
  text-align: left;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-subtle);
}

/* --------------------------------------------------------------------------
   10. Expertise Deep Dive Page (expertise.html)
   -------------------------------------------------------------------------- */
.expertise-detail-section {
  padding-block: 4rem;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .expertise-detail-section {
    padding-block: 6.4rem;
  }
}

.expertise-detail-section:last-of-type {
  border-bottom: none;
}

.expertise-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
}

@media (min-width: 992px) {
  .expertise-detail-layout {
    grid-template-columns: 0.35fr 0.65fr;
    gap: 6rem;
  }
}

.expertise-detail-layout--with-media {
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .expertise-detail-layout--with-media {
    grid-template-columns: 0.35fr 0.45fr 0.2fr;
    gap: 4.8rem;
  }
}

.expertise-detail__meta {
  position: sticky;
  top: 10rem;
  align-self: start;
}

.expertise-detail__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.expertise-detail__title {
  font-size: 2.6rem;
  margin-bottom: 1.6rem;
}

@media (min-width: 768px) {
  .expertise-detail__title {
    font-size: 3.2rem;
  }
}

.expertise-detail__body {
  max-width: 72rem;
}

.expertise-detail__body p {
  font-size: 1.65rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.expertise-subsection {
  margin-top: 3.6rem;
  padding-top: 2.8rem;
  border-top: 1px solid var(--color-border-subtle);
}

.expertise-subsection__title {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

/* Callout Box: The Judgement Behind The Process */
.callout-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 4rem 3.2rem;
  margin-top: 6.4rem;
}

@media (min-width: 768px) {
  .callout-box {
    padding: 5.6rem 6.4rem;
  }
}

.callout-box__headline {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .callout-box__headline {
    font-size: 3.6rem;
  }
}

.callout-box__lead {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.5;
  color: var(--color-accent);
  font-style: italic;
  margin-bottom: 2.4rem;
}

.callout-box__body p {
  font-size: 1.65rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. About Page & Qualifications (about.html)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6.4rem;
  }
}

.about-narrative {
  max-width: 72rem;
}

.about-block {
  margin-bottom: 4.8rem;
}

.about-block:last-child {
  margin-bottom: 0;
}

.about-block__title {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

/* Selected Qualifications */
.sec-qualifications {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.qualifications-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .qualifications-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
  }
}

@media (min-width: 1024px) {
  .qualifications-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qual-card {
  padding: 2.4rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.qual-card__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.qual-card__detail {
  font-size: 1.45rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.qual-card__institution {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. Writing Section & Page (writing.html)
   -------------------------------------------------------------------------- */
.sec-writing {
  background-color: var(--color-bg);
  padding-bottom: 0;
    background-image: linear-gradient(0deg, var(--color-white) 60px, var(--color-bg) 60px);
}

.writing-layout {
  display: flex;
  gap: 8rem;
  position: relative;
}



.writing-content__text {
  max-width: 64rem;
}

.writing-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 3.2rem;
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.writing-card__icon {
  width: 2.8rem;
  height: 2.8rem;
  color: var(--color-accent);
}

.writing-card__text {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin: 0;
}
.writing-content{
  padding-bottom: 6rem;
  position: relative;
      max-width: 58rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.writing-media{
  display: flex;
justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}
.writing-media__img-wrap{
  aspect-ratio: 1040/520;
      flex-shrink: 0;
      border:5px solid white;

}

/* --------------------------------------------------------------------------
   13. Contact Section & Page (contact.html)
   -------------------------------------------------------------------------- */
.sec-contact {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6.4rem;
    align-items: center;
  }
}

.contact-content {
  max-width: 60rem;
}

.contact-methods {
  list-style: none;
  margin: 3.6rem 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.contact-method-item__icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.contact-method-item__label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-method-item__value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-primary);
  word-break: break-all;
}

.contact-method-item__value:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   14. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-block: 4.8rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}


.site-footer__brand {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-white);
  text-align:center;
}

.site-footer__links {
  display: flex;
  align-items: center;
      justify-content: center;
  gap: 2.4rem;
}

.site-footer__link {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s ease;
}

.site-footer__link:hover {
  color: var(--color-white);
}

.site-footer__copy {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.sec-contact-cta {
  padding-bottom: 0;
   background-color: var(--color-surface);
   background-image: linear-gradient(0deg, var(--color-navy) 120px, #ffffff 120px);
}

.contact-cta-layout {
  border: 1px solid var(--color-primary);
  padding: 8rem 4rem;
  background-color: var(--color-surface);
  text-align: center;
  justify-content: center;
  align-items: center;
    display: flex;
}

.sec-contact-cta .sec-header {
  justify-content: center;
}
.hero-name{
    font-size: 5.2rem;
  color: white;
  line-height: 1.3;
  font-weight: 600;
  position: relative;
}
.hero-name::after{
width: 150px;
    height: 1px;
    display: flex;
    background-color: white;
    content: "";
    opacity: 0.5;
}

.hero-title {
  font-size: 3.2rem;
  color: white;
  line-height: 1.3;
  font-weight: 400;
}
.hero-title b{
color: #D4FFD0;
  font-weight: 400;
}
.hero-cta{
  margin-top: 4rem;
}
.hero-content {
  max-width: 70rem;
}
.sec-header__title h2{
  margin: 0;
}

.sec-contact-cta .sec-header{
    margin: 0;
}
.contact-cta__actions{
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.sec-contact-cta .sec-header .sec-header__kicker {
    justify-content: center;
}
.contact-cta__text{
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
    margin-bottom: 3rem;
    max-width: 50rem;
}
.contact-cta-content{
    max-width: 70rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact-cta-content .sec-header__title{
    margin-bottom: 2rem;
}
.writing-content__cta{
  margin-top: 5rem;
}

.copyright{
  background-color: var(--color-navy);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
}
.copyright .container{
      display: flex;
justify-content: center;
    align-items: center;
    gap: 4rem;
}
.sec-narrative {
    background-image: linear-gradient(to bottom , var(--color-bg) 120px, #ffffff 120px);
}
.site-footer__links .site-header__nav-link{
    color: white;
}

.narrative-layout{
    background-image: url("/images/bg-about.png");
    background-size: auto;
    background-position: top right;
    background-repeat: no-repeat;
}
#expertise .splide__track {
    overflow: visible;
    position: relative;
    z-index: 0;
}
#expertise .expertise-card{
    opacity: 0.4
}
#expertise .expertise-card.is-visible{
    opacity: 1;
}

.btn.--ghost.--linkedin{
    border: 1px solid #1275B1;
    background: #F3F8FB;
    color: #1275B1;
}
.btn.--ghost.--linkedin:hover img{
    filter: none;
}

.btn.--ghost.--mail{
    border-color: var(--green);
    background: #F9FFF8;
}
.btn.--ghost.--mail:hover{
    color:var(--color-primary);
}
.btn.--ghost.--mail:hover img{
       filter: none; 
}
