:root {
  --bg: #f7f8fa;
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --ink: #16181d;
  --body: #3a3f4b;
  --muted: #8b919c;
  --line: rgba(22, 24, 29, .08);
  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .78);
  --accent: #c86f31;
  --accent-soft: rgba(200, 111, 49, .1);
  --max: 1080px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --blur: 18px;
  --shadow: 0 8px 32px rgba(22, 24, 29, .06);
  --shadow-soft: 0 2px 12px rgba(22, 24, 29, .04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(200, 111, 49, .07), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255, 255, 255, .9), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, #ffffff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.15;
}
h2 { font-size: clamp(1.65rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.05rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.eyebrow i { font-size: .7rem; opacity: .9; }

/* Glass panel helper */
.glass {
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* Nav — mobile first */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  min-height: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: .75rem;
  position: relative;
}
.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  z-index: 2;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 650;
  font-size: .85rem;
  color: var(--ink);
  min-width: 0;
  flex-shrink: 1;
  text-align: left;
}
.logo > span:last-child {
  min-width: 0;
  overflow: hidden;
  line-height: 1.2;
  text-align: left;
}
.logo-mark { display: flex; align-items: center; flex-shrink: 0; }
.logo-mark img { height: 34px; width: auto; display: block; }
.logo small {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  padding: .15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 36px;
  padding: .35rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.lang-link.is-active {
  background: var(--accent);
  color: #fff;
}
.lang-link:hover:not(.is-active) { color: var(--ink); }
.lang-sep { display: none; }

/* Mobile menu panel */
.nav-links {
  display: none;
  list-style: none;
  flex-direction: column;
  gap: .2rem;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: .65rem;
  margin: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(22, 24, 29, .12);
  z-index: 120;
}
.nav-links.open { display: flex; }
.nav-links li { width: 100%; }
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .75rem 1rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 550;
  color: var(--ink);
  transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.nav-links a:hover,
.nav-links a:active {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(22, 24, 29, .28);
  backdrop-filter: blur(2px);
  z-index: 90;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-backdrop.is-visible { display: block; }
body.nav-open { overflow: hidden; }

@media (min-width: 901px) {
  .nav-inner { height: 68px; min-height: 68px; gap: 1rem; }
  .logo { font-size: .9rem; gap: .65rem; }
  .logo-mark img { height: 36px; }
  .logo small { font-size: .68rem; }
  .nav-toggle { display: none; }
  .nav-backdrop { display: none !important; }
  body.nav-open { overflow: auto; }

  .nav-end {
    gap: .5rem;
    margin-left: .35rem;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    padding: 0;
    gap: .1rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    margin-left: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: auto; }
  .nav-links a {
    min-height: 0;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--body);
  }
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 255, 255, .85);
    color: var(--ink);
  }
  .lang-link {
    min-width: 0;
    min-height: 0;
    padding: .35rem .6rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200, 111, 49, .28);
}
.btn-primary:hover {
  background: #b86228;
  box-shadow: 0 10px 28px rgba(200, 111, 49, .35);
}
.btn-dark {
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}
.btn-dark:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-outline {
  background: rgba(255, 255, 255, .55);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-outline-light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .45);
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: .7rem;
}
.hero-title {
  font-size: 1.1rem;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: .55rem;
}
.hero-keywords {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-summary {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 1.6rem;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, .5),
    0 20px 50px rgba(22, 24, 29, .1);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Clients */
.clients {
  padding: 2rem 0;
}
.clients-label {
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}
.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.1rem .55rem;
  min-height: 104px;
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.client-box {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client img { max-height: 46px; max-width: 88%; object-fit: contain; }
.client span {
  font-size: .62rem;
  font-weight: 550;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* Sections */
section { padding: 4rem 0; }
section:nth-child(even) {
  background: rgba(255, 255, 255, .45);
}
.section-header { margin-bottom: 2rem; max-width: 620px; }
.section-header p {
  color: var(--muted);
  margin-top: .5rem;
  font-size: 1rem;
}

/* Profile */
.profile-section { background: transparent; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.25rem;
  align-items: start;
}
.profile-intro h2 { margin-bottom: .9rem; }
.profile-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.4rem;
  max-width: 470px;
}
.profile-focus {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.profile-focus li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--body);
}
.profile-focus li strong { color: var(--ink); font-weight: 600; }
.profile-focus-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: .9rem;
  border: 1px solid rgba(200, 111, 49, .15);
}
.profile-card {
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 28px;
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow);
}
.profile-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 1rem;
}
.profile-card p:last-of-type { margin-bottom: 0; }
.profile-highlight {
  padding: 1rem 1.15rem;
  margin: 1.15rem 0;
  background: var(--accent-soft);
  border-radius: 16px;
  color: var(--ink) !important;
  font-weight: 500;
  border: 1px solid rgba(200, 111, 49, .12);
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.profile-tags span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(200, 111, 49, .18);
  border-radius: 999px;
  padding: .35rem .7rem;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform .18s, box-shadow .18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: var(--glass-strong);
}
section:nth-child(even) .card {
  background: rgba(255, 255, 255, .7);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1rem;
  margin-bottom: .85rem;
}
.card h3 { margin-bottom: .45rem; }
.card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Tools */
.tools-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tool-block {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}
section:nth-child(even) .tool-block {
  background: rgba(255, 255, 255, .7);
}
.tool-block h3 {
  font-size: .75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .7rem;
}
.tool-block p {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--body);
}

/* Timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding-left: 1.35rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    rgba(200, 111, 49, .25) 40%,
    var(--line) 100%
  );
  border-radius: 999px;
}
.timeline-item {
  position: relative;
}
.timeline-toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.timeline-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.timeline-item.is-open .timeline-toggle {
  border-color: rgba(200, 111, 49, .28);
  box-shadow: var(--shadow);
}
.timeline-marker {
  position: absolute;
  left: -1.35rem;
  top: 1.45rem;
  width: 16px;
  height: 16px;
  margin-left: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(200, 111, 49, .35);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .8);
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 1;
}
.timeline-item.is-open .timeline-marker,
.timeline-toggle:hover .timeline-marker {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(200, 111, 49, .15);
}
.timeline-main {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
  flex: 1;
}
.timeline-date {
  display: inline-flex;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 650;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: .28rem .65rem;
}
.timeline-heading {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.timeline-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px;
}
.timeline-heading h3 {
  font-size: 1.05rem;
  margin-bottom: .15rem;
}
.timeline-chevron {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .85rem;
  transition: transform .25s ease, color .15s;
}
.timeline-item.is-open .timeline-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.timeline-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 .4rem 0 2.1rem;
  transition: max-height .4s ease, padding .3s ease;
}
.timeline-item.is-open .timeline-panel {
  max-height: 1400px;
  padding: .35rem .4rem 1.1rem 2.1rem;
}
.timeline-panel ul {
  margin: 0 0 .9rem;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: var(--body);
}
.timeline-panel li { margin: .32rem 0; }
.timeline-panel .exp-compact {
  margin-bottom: .55rem;
}
.timeline-panel .exp-compact:last-child { margin-bottom: 0; }

.exp-meta {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
}
.exp-location {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .7rem;
}
.exp-tools {
  font-size: .8rem;
  color: var(--muted);
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.exp-tools strong { color: var(--body); font-weight: 600; }
.exp-compact {
  padding: 1rem 1.15rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
  box-shadow: var(--shadow-soft);
}
.exp-compact strong { color: var(--ink); font-weight: 600; }
.exp-compact span { color: var(--muted); }

/* legacy exp cards kept if used elsewhere */
.exp-list { display: flex; flex-direction: column; gap: 1.1rem; }
.exp-item {
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.exp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .7rem 1.2rem;
  margin-bottom: .4rem;
}
.exp-logo img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: .7rem;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 9px;
}
.exp-item h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.exp-date {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: .35rem .75rem;
  white-space: nowrap;
}
.exp-item ul {
  margin: 0 0 .9rem;
  padding-left: 1.1rem;
  font-size: .9rem;
  color: var(--body);
}
.exp-item li { margin: .32rem 0; }

/* Featured */
.featured-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow);
}
.featured-hero-media {
  min-height: 220px;
  background: linear-gradient(160deg, rgba(200, 111, 49, .08), rgba(255, 255, 255, .5));
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}
.featured-hero-media img.brand {
  max-height: 56px;
  max-width: 80%;
  object-fit: contain;
}
.featured-hero-body { padding: 1.6rem 1.8rem; }
.featured-client {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .35rem;
}
.featured-hero h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.featured-desc {
  font-size: .94rem;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: .9rem;
}
.featured-tech {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.featured-tech span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: .3rem .6rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.featured-card {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .18s, box-shadow .18s;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.featured-card-media {
  height: 140px;
  background: rgba(255, 255, 255, .5);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.featured-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card-media img.brand {
  max-height: 44px;
  max-width: 72%;
  object-fit: contain;
}
.featured-card-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.featured-card-body p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.featured-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .3rem;
}
.featured-link:hover { opacity: .8; }
.featured-more { text-align: center; margin-top: 1.5rem; }

/* Portfolio */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.25rem;
}
.filter {
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(8px);
  color: var(--body);
  cursor: pointer;
  transition: all .15s;
}
.filter.active,
.filter:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .18s, box-shadow .18s;
}
.project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.project.featured { grid-column: span 2; }
.project-img {
  height: 150px;
  background: rgba(255, 255, 255, .5);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.project.featured .project-img { height: 190px; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-img .brand {
  max-height: 46px;
  max-width: 70%;
  object-fit: contain;
}
.project-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.project-tag {
  font-size: .65rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
}
.project h3 { font-size: 1rem; }
.project p {
  font-size: .85rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.5;
}
.project a {
  font-size: .84rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .2rem;
}
.project a:hover { opacity: .8; }
.project-links {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-top: .3rem;
}

/* Education */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.edu-card {
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}
.edu-card h3 { margin-bottom: .45rem; }
.edu-card p {
  font-size: .9rem;
  color: var(--body);
  line-height: 1.55;
}
.cert {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}
.cert strong {
  color: var(--ink);
  font-weight: 600;
  flex: 1 1 280px;
}
.cert span {
  color: var(--muted);
  flex: 0 1 300px;
  text-align: right;
}
.cert a.cert-link {
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.cert a.cert-link:hover { color: var(--accent); }
.cert a.cert-link i { color: var(--accent); font-size: .85rem; }
.edu-card a {
  color: var(--accent);
  font-weight: 600;
  font-size: .875rem;
}
.edu-card a:hover { opacity: .8; }

/* CTA */
.cta {
  margin: 0 0 0;
  padding: 0 0 3rem;
  background: transparent;
  color: var(--body);
}
.cta .container {
  background: rgba(22, 24, 29, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  box-shadow: 0 24px 60px rgba(22, 24, 29, .18);
  color: #c5cad3;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.cta h2 { color: #fff; margin-bottom: .7rem; }
.cta .lead {
  color: #9aa1ad;
  margin-bottom: 1.4rem;
  line-height: 1.65;
}
.cta .eyebrow { color: var(--accent); }
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  font-size: .875rem;
  color: #e4e7ec;
  backdrop-filter: blur(8px);
  transition: background .15s, border-color .15s;
}
a.contact-row:hover {
  background: rgba(200, 111, 49, .15);
  border-color: rgba(200, 111, 49, .35);
}
.contact-row i {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row small {
  display: block;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8b919c;
}
.contact-row b {
  display: block;
  color: #fff;
  font-weight: 600;
}

footer {
  padding: 1.5rem 0 2rem;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(12px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .7rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-summary { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: .4rem; }
  .hero-photo { width: 220px; height: 220px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .tools-row, .portfolio-grid, .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-hero { grid-template-columns: 1fr; }
  .featured-hero-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 140px;
  }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-lead { max-width: none; }
  .project.featured { grid-column: span 1; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta .container { padding: 2rem 1.35rem; }
  .edu-grid { grid-template-columns: 1fr; }
  .timeline-heading { align-items: flex-start; }
  .timeline-heading h3 { font-size: .98rem; }
}
@media (max-width: 600px) {
  .grid-3, .tools-row, .portfolio-grid, .featured-grid, .clients-grid {
    grid-template-columns: 1fr;
  }
  .cert span { text-align: left; flex-basis: 100%; }
  section { padding: 3rem 0; }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .25rem;
    margin-inline: -4px;
    padding-inline: 4px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .timeline {
    padding-left: 1.1rem;
  }
  .timeline-toggle {
    padding: 1rem;
  }
  .timeline-panel {
    padding-left: 1rem;
  }
  .timeline-item.is-open .timeline-panel {
    padding-left: 1rem;
  }
}

@media print {
  .nav, .hero-cta, .filters, .cta, footer { display: none !important; }
  body { background: #fff; }
  .card, .exp-item, .tool-block { break-inside: avoid; }
}
