/* assets/css/styles.css
   Brand palette: charcoal/gray + logo green + logo yellow
   Mobile-first fixes: compact dropdown nav, logo never squishes, airier footer.
*/

:root{
  /* Core neutrals */
  --bg: #ffffff;
  --ink: #111827;        /* deep charcoal */
  --ink2:#1f2937;        /* softer charcoal */
  --muted:#475569;       /* slate */
  --muted2:#64748b;      /* lighter slate */
  --border: rgba(15,23,42,.10);

  /* Brand accents (green + yellow only) */
  --green: #1f6f5b;      /* pine green */
  --green2:#2b8a6e;      /* hover green */
  --yellow:#d6b24a;      /* warm muted yellow */
  --yellow2:#e6c35c;     /* lighter warm yellow */

  /* Layout */
  --max: 1120px;
  --pad: 24px;

  /* Background tints (neutral — no pink) */
  --tintA: #f7f9f8;      /* cool light gray */
  --tintB: #fbfbf8;      /* warm off-white */

  /* Shadow */
  --shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

/* Base */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
img{ max-width: 100%; height: auto; display:block; }
a{ color: inherit; }
p{ margin: 0 0 12px; }
h1,h2,h3{ line-height: 1.2; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Respect iPhone safe-area and keep header/footer content off screen edges */
.header .container,
.footer .container{
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

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

/* Header / Nav */
.header{
  border-bottom: 1px solid var(--border);
  position: sticky;
  top:0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

/* Keep header stable and prevent logo squish */
.nav{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
  padding: 14px 0;
}

/* Logo */
.brand-logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex: 0 0 auto;              /* never shrink */
}
.brand-logo img{
  height: 68px;
  width:auto;
  max-width:none;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Menu (desktop) */
.menu{
  display:flex;
  align-items:center;
  gap: 12px;
}
.menu-links{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items:center;
}
.menu a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.menu a.active{ color: var(--green); }

/* Language button (flag) */
.menu a.lang{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(31,111,91,.06);
  color: var(--ink2);
  line-height: 1;
  font-size: 16px;
  min-width: 40px;
}
.menu a.lang:hover{
  background: rgba(31,111,91,.10);
}

/* Compact menu (mobile dropdown) */
.menu-compact{
  display:none;
  align-items:center;
  gap: 10px;
}
.menu a.lang-mobile{
  display:none;
}
.menu a.lang-desktop{
  display:inline-flex;
}

/* Dropdown select */
.nav-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  font: inherit;
  font-weight: 600;
  color: var(--ink2);

  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  padding: 8px 36px 8px 12px;
  line-height: 1;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15,23,42,.6) 50%),
    linear-gradient(135deg, rgba(15,23,42,.6) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.nav-select:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(31,111,91,.14);
}

/* Hero */
.hero{
  padding: 40px 0;
}

/* Subtle hero glow (green + yellow), no pink */
.hero-graphic{
  padding: 56px 0 42px;
  background:
    radial-gradient(900px 420px at 10% 10%, rgba(31,111,91,.08), transparent 60%),
    radial-gradient(900px 420px at 80% 20%, rgba(214,178,74,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.92)),
    url("../img/hero.jpg");
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, center;
  border-bottom: 1px solid var(--border);
}

.hero h1{
  font-size: 40px;
  margin: 10px 0 12px;
  letter-spacing: -0.4px;
  color: var(--ink);
}

.hero p{
  color: var(--muted);
  font-size: 16px;
  max-width: 78ch;
}

/* Hero badges */
.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  color: rgba(15,23,42,.78);
  font-size: 13px;
}

/* Buttons (solid, not gradient) */
.hero-buttons{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(31,111,91,.18);
}
.btn:hover{ background: var(--green2); }

.btn.btn-outline{
  background: rgba(255,255,255,.65);
  color: var(--ink2);
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: none;
}
.btn.btn-outline:hover{
  background: rgba(255,255,255,.85);
}

/* Sections */
.section{
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.section.tintA{ background: var(--tintA); }
.section.tintB{ background: var(--tintB); }

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-title h2{
  margin:0;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.small{
  font-size: 14px;
  color: var(--muted);
  text-decoration:none;
}
.small:hover{ text-decoration: underline; }

/* Tiles (Services) */
.tiles{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
  transition: transform .12s ease, box-shadow .12s ease;
  text-decoration:none;
  display:block;
  min-height: 120px;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tile-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Icon style: ONLY green/yellow, no rainbow */
.tile-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;

  color: var(--green);
  background: rgba(31,111,91,.08);
  border: 1px solid rgba(31,111,91,.18);
}

/* Override any old rainbow variants by forcing the same brand styles */
.tile.alt1 .tile-icon,
.tile.alt3 .tile-icon,
.tile.alt4 .tile-icon{
  color: var(--green);
  background: rgba(31,111,91,.08);
  border: 1px solid rgba(31,111,91,.18);
}
.tile.alt2 .tile-icon,
.tile.alt5 .tile-icon{
  color: #5c4a00;
  background: rgba(214,178,74,.18);
  border: 1px solid rgba(214,178,74,.28);
}

.tile h3{
  margin:0;
  font-size: 16px;
  color: var(--ink2);
}
.tile p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Media cards (Projects + Reading) */
.media-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.media{
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
  transition: transform .12s ease, box-shadow .12s ease;
}
.media:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.media a{
  text-decoration:none;
  color: inherit;
  display:block;
}
.media img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}
.media .pad{
  padding: 14px;
}
.kicker{
  font-size: 12px;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
  margin-bottom: 6px;
}
.media h3{
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink2);
}
.media p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

/* ISO row (bigger image) */
.iso-row{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.iso-row img{
  height: 56px;
  width:auto;
}

/* Footer: more air/padding, cleaner */
.footer{
  border-top: 1px solid var(--border);
  padding: 38px 0; /* MORE AIR */
  background:
    radial-gradient(800px 260px at 10% 0%, rgba(31,111,91,.05), transparent 60%),
    radial-gradient(800px 260px at 90% 0%, rgba(214,178,74,.05), transparent 60%),
    #fff;
}
.footer-wrap, .footer-legal{
  display:flex;
  gap: 26px;
  justify-content: space-between;
  align-items:flex-start;
  flex-wrap: wrap;
}
.footer-title{
  font-weight: 800;
  color: var(--ink2);
  margin-bottom: 10px;
}
.footer-muted{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75; /* more readable */
}
.footer-muted a{
  color: var(--green);
  text-decoration:none;
}
.footer-muted a:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px){
  :root{ --pad: 20px; }
  .brand-logo img{ height: 54px; }
  .menu{ gap: 10px; }
  .hero h1{ font-size: 28px; }
  .tiles, .media-grid{ grid-template-columns: 1fr; }
  .media img{ height: 200px; }
}

/* Mobile breakpoint: hide links, show dropdown */
@media (max-width: 819px){
  :root{ --pad: 18px; }
  .menu-links{ display:none; }
  .menu > a.lang-desktop{ display:none; }
  .menu-compact{ display:flex; }
  .menu .menu-compact a.lang-mobile{ display:inline-flex; }
}

/* Extra-small screens */
@media (max-width: 360px){
  :root{ --pad: 16px; }
  .brand-logo img{ height: 48px; }
  .nav{ gap: 10px; }
  .nav-select{ max-width: 160px; }
}

/* Services page additions */
.service-detail{
  scroll-margin-top: 110px;
}
.service-detail h2{
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.2px;
  color: var(--ink2);
}
.service-list{
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.service-list li{
  margin: 6px 0;
}
.service-cta{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(31,111,91,.08), transparent 60%),
    radial-gradient(600px 220px at 100% 100%, rgba(214,178,74,.10), transparent 60%),
    #fff;
}
.service-cta h2{
  margin: 0 0 8px;
}
.service-cta p{
  margin: 0 0 16px;
  color: var(--muted);
}

/* Services page compact accordion mode */
.services-page .service-jump-wrap,
.services-page .service-trust,
.services-page .tile-tags,
.services-page .jump-pill,
.services-page .contact-mini,
.services-page .cta-note,
.services-page .service-cta .btn.btn-outline{
  display: none;
}
.services-page .service-accordion-grid{
  grid-template-columns: 1fr;
}
.services-page .service-accordion{
  min-height: 0;
  padding: 0;
}
.services-page .service-accordion summary{
  list-style: none;
  cursor: pointer;
  padding: 16px;
}
.services-page .service-accordion summary::-webkit-details-marker{
  display: none;
}
.services-page .service-accordion .accordion-arrow{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink2);
}
.services-page .service-accordion[open] .accordion-arrow{
  transform: rotate(45deg);
}
.services-page .service-accordion summary p{
  margin-bottom: 0;
}
.services-page .service-panel{
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.services-page .service-accordion[open] .service-panel{
  display: block;
}
.services-page .service-panel p{
  margin: 12px 0 10px;
  color: var(--muted);
}
.services-page .service-panel .service-list{
  margin-top: 0;
}

/* Services page darker visual direction */
.services-page{
  background: #f4f7f5;
  color: var(--ink);
}
.services-page .header{
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--border);
}
.services-page .menu a{
  color: var(--muted);
}
.services-page .menu a.active{
  color: var(--green);
}
.services-page .menu a.lang{
  background: rgba(31,111,91,.08);
  color: var(--ink2);
  border-color: rgba(15,23,42,.10);
}
.services-page .nav-select{
  background-color: rgba(255,255,255,.92);
  color: var(--ink2);
  border-color: rgba(15,23,42,.12);
}
.services-page .hero-graphic{
  background:
    radial-gradient(900px 420px at 12% 12%, rgba(31,111,91,.14), transparent 62%),
    radial-gradient(900px 420px at 82% 24%, rgba(214,178,74,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.84)),
    url("../img/hero.jpg");
  border-bottom-color: var(--border);
}
.services-page .hero h1{
  color: var(--ink);
}
.services-page .hero p{
  color: var(--muted);
}
.services-page .section{
  border-top-color: var(--border);
}
.services-page .section.tintA{
  background: #eef3f0;
}
.services-page .service-accordion{
  background:
    radial-gradient(450px 170px at 0% 0%, rgba(31,111,91,.12), transparent 70%),
    radial-gradient(450px 170px at 100% 100%, rgba(214,178,74,.10), transparent 70%),
    #fff;
  border-color: rgba(15,23,42,.12);
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.services-page .service-accordion summary p{
  color: var(--muted);
}
.services-page .service-accordion .accordion-arrow{
  border-color: rgba(15,23,42,.16);
  color: var(--ink2);
}
.services-page .service-accordion .tile-icon{
  color: #18362d;
  background:
    linear-gradient(180deg, rgba(31,111,91,.16), rgba(31,111,91,.10));
  border-color: rgba(31,111,91,.24);
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.services-page .service-panel{
  background:
    radial-gradient(560px 260px at 8% -8%, rgba(214,178,74,.22), transparent 62%),
    radial-gradient(560px 260px at 108% 108%, rgba(31,111,91,.18), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,248,244,.98));
  border-top-color: rgba(31,111,91,.22);
}
.services-page .service-accordion .service-panel{
  border-top-color: rgba(31,111,91,.22);
}
.services-page .service-accordion .service-panel p,
.services-page .service-accordion .service-list{
  color: var(--muted);
}
.services-page .service-cta{
  border-color: rgba(15,23,42,.14);
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(31,111,91,.10), transparent 60%),
    radial-gradient(600px 220px at 100% 100%, rgba(214,178,74,.12), transparent 60%),
    #ffffff;
}
.services-page .service-cta h2{
  color: var(--ink2);
}
.services-page .service-cta p{
  color: var(--muted);
}
.services-page .footer{
  background:
    radial-gradient(800px 260px at 10% 0%, rgba(31,111,91,.05), transparent 60%),
    radial-gradient(800px 260px at 90% 0%, rgba(214,178,74,.05), transparent 60%),
    #fff;
  border-top-color: var(--border);
}
.services-page .footer-title{
  color: var(--ink2);
}
.services-page .footer-muted{
  color: var(--muted);
}
.services-page .footer-muted a{
  color: var(--green);
}

@media (max-width: 600px){
  .services-page .service-accordion summary{
    padding: 14px 13px;
  }
  .services-page .service-accordion .tile-top{
    margin-bottom: 8px;
  }
  .services-page .service-accordion .tile-icon{
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .services-page .service-accordion .tile-icon svg{
    width: 16px;
    height: 16px;
  }
  .services-page .service-accordion h3{
    font-size: 17px;
    line-height: 1.2;
  }
  .services-page .service-accordion summary p{
    font-size: 14px;
    line-height: 1.45;
  }
  .services-page .service-accordion .accordion-arrow{
    width: 22px;
    height: 22px;
    font-size: 14px;
  }
  .services-page .service-panel{
    padding: 0 13px 14px;
  }
  .services-page .service-panel p,
  .services-page .service-panel .service-list{
    font-size: 14px;
    line-height: 1.5;
  }
}

/* About page visual enhancements */
.about-page .hero-graphic{
  background:
    radial-gradient(980px 440px at 10% 8%, rgba(31,111,91,.15), transparent 60%),
    radial-gradient(980px 440px at 85% 22%, rgba(214,178,74,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.90)),
    url("../img/hero.jpg");
}
.about-page .about-lead{
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}
.about-page .about-badges{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.about-page .about-badges .badge{
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.about-page .about-grid{
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
}
.about-page .about-card{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.about-page .about-card h2{
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--ink2);
}
.about-page .about-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink2);
}
.about-page .about-card p{
  color: var(--muted);
}
.about-page .about-card-accent{
  background:
    radial-gradient(450px 170px at 0% 0%, rgba(31,111,91,.12), transparent 70%),
    radial-gradient(450px 170px at 100% 100%, rgba(214,178,74,.10), transparent 70%),
    #fff;
}
.about-page .contact-address-card{
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(560px 260px at 8% -8%, rgba(214,178,74,.30), transparent 62%),
    radial-gradient(560px 260px at 108% 108%, rgba(31,111,91,.24), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,248,244,.98));
  border-color: rgba(31,111,91,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.70),
    0 1px 0 rgba(15,23,42,.04);
}
.about-page .contact-form input[type="text"],
.about-page .contact-form input[type="email"],
.about-page .contact-form input[type="tel"],
.about-page .contact-form textarea{
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  display: block;
  border: 1px solid rgba(15,23,42,.18);
  border-radius: 10px;
  background: #fff;
  color: var(--ink2);
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}
.about-page .contact-form{
  overflow: visible;
}
.about-page .contact-form textarea{
  resize: vertical;
  min-height: 130px;
}
.about-page .contact-form input[type="checkbox"]{
  margin-right: 8px;
}
.about-page .contact-address-card .contact-map{
  width: calc(100% + 36px);
  min-height: 300px;
  flex: 1 1 auto;
  margin: 8px -18px -18px;
  border: 0;
  border-top: 1px solid rgba(15,23,42,.12);
  border-radius: 0 0 16px 16px;
  display: block;
}
.about-page .about-card-image{
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(15,23,42,.10);
}
.about-page .about-list{
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.about-page .about-list li{
  margin: 8px 0;
}
.about-page .about-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.about-page .about-metric{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(31,111,91,.07), rgba(31,111,91,.03)),
    #fff;
}
.about-page .about-metric img{
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.10);
  margin-bottom: 10px;
  display: block;
}
.about-page .about-kicker{
  display: inline-block;
  font-size: 12px;
  color: rgba(15,23,42,.62);
  text-transform: uppercase;
  letter-spacing: .2px;
  margin-bottom: 6px;
}
.about-page .about-metric strong{
  display: block;
  color: #18362d;
  font-size: 25px;
  line-height: 1.1;
  margin: 2px 0 6px;
}
.about-page .about-metric p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 900px){
  .about-page .about-grid{
    grid-template-columns: 1fr;
  }
  .about-page .about-metrics{
    grid-template-columns: 1fr;
  }
}

/* Project detail template */
.project-page .project-hero-image{
  width: 100%;
  margin-top: 14px;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.project-page .project-meta{
  margin-top: 10px;
}
.project-page .project-cta .hero-buttons{
  margin-top: 0;
}
.project-page .media-grid .media img{
  height: 230px;
}
@media (max-width: 900px){
  .project-page .project-hero-image{
    min-height: 200px;
    max-height: 380px;
  }
}

.lightbox-link{
  text-decoration: none;
}
.lightbox-link img{
  cursor: zoom-in;
}


.lb-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}
.lb-backdrop.is-open{
  display: flex;
}
.lb-modal{
  position: relative;
  width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lb-img{
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.lb-caption{
  margin: 0;
  color: #e5e7eb;
  font-size: 14px;
  text-align: center;
}
.lb-close,
.lb-prev,
.lb-next{
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  color: #0f172a;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.lb-close{
  top: -12px;
  right: -12px;
}
.lb-prev{
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-next{
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
}
.lb-open{
  overflow: hidden;
}
@media (max-width: 700px){
  .lb-prev{ left: 6px; }
  .lb-next{ right: 6px; }
  .lb-close{ right: 6px; top: 6px; }
}

/* Blog import */
.article-hero{
  padding-bottom: 28px;
}
.article-kicker{
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.article-meta{
  color: var(--muted2);
  font-size: 14px;
  margin: 0;
}
.article-content{
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
}
.article-content::after{
  content: "";
  display: table;
  clear: both;
}
.article-content > * + *{
  margin-top: 18px;
}
.article-content h2,
.article-content h3,
.article-content h4{
  margin-top: 32px;
  margin-bottom: 0;
}
.article-content ul,
.article-content ol,
.article-content blockquote{
  margin: 18px 0;
}
.article-content blockquote{
  border-left: 4px solid var(--yellow);
  color: var(--muted);
  margin-left: 0;
  padding-left: 18px;
}
.article-content a:not(.btn){
  color: var(--green);
}
.article-lead{
  background: var(--tintA);
  border: 1px solid var(--border);
  border-radius: 20px;
  float: right;
  margin: 4px 0 20px 28px;
  max-width: 320px;
  padding: 12px;
  width: min(34%, 320px);
}
.article-lead-link{
  display: block;
  text-decoration: none;
}
.article-lead-caption{
  color: var(--muted2);
  display: block;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}
.article-lead img,
.article-content img{
  border-radius: 12px;
  width: 100%;
}
.article-cta{
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.article-cta .btn{
  align-items: center;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  min-width: 180px;
  text-align: center;
}
.article-cta .btn.btn-outline{
  color: var(--ink2);
}
.blog-grid{
  align-items: stretch;
}
.blog-card{
  height: 100%;
}
.blog-card a{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card .pad{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.blog-card-title-only .pad{
  justify-content: center;
  min-height: 110px;
}
.blog-card-title-only img{
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.blog-card p{
  color: var(--muted);
}
@media (max-width: 800px){
  .article-lead{
    float: none;
    margin: 0 0 20px;
    max-width: 100%;
    width: 100%;
  }
}

.eng-page .hero-graphic{
  background:
    radial-gradient(980px 420px at 10% 12%, rgba(31,111,91,.14), transparent 60%),
    radial-gradient(980px 420px at 88% 18%, rgba(214,178,74,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.90)),
    url("../img/hero.jpg");
}
.eng-intro-grid,
.eng-panel-grid{
  display: grid;
  gap: 24px;
}
.eng-intro-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eng-panel-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.eng-panel{
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(31,111,91,.08), transparent 65%),
    radial-gradient(520px 180px at 100% 100%, rgba(214,178,74,.08), transparent 65%),
    #fff;
  box-shadow: var(--shadow);
  padding: 24px;
}
.eng-panel-accent{
  background:
    radial-gradient(560px 220px at 0% 0%, rgba(214,178,74,.14), transparent 62%),
    radial-gradient(560px 220px at 100% 100%, rgba(31,111,91,.12), transparent 62%),
    #fff;
}
.eng-panel-top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.eng-panel-top h2{
  margin: 0;
  font-size: 22px;
}
.eng-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18362d;
  background: linear-gradient(180deg, rgba(31,111,91,.16), rgba(31,111,91,.08));
  border: 1px solid rgba(31,111,91,.18);
}
.eng-panel p{
  color: var(--muted);
}
.eng-panel p:last-child{
  margin-bottom: 0;
}
.eng-feature-list{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.eng-feature-list li{
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
  color: var(--muted);
}
.eng-feature-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}
.eng-chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.eng-chip-row .badge{
  background: rgba(31,111,91,.08);
}
.eng-page .hero-buttons{
  margin-top: 18px;
}
.eng-page .eng-panel .hero-buttons{
  margin-top: 18px;
}
.eng-hero-media{
  margin: 0;
}
.eng-hero-media img{
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (max-width: 980px){
  .eng-intro-grid,
  .eng-panel-grid{
    grid-template-columns: 1fr;
  }
}
