:root {
    /*--ink: #121417;*/
    --ink: #0b4f4a;
    --muted: #606875;
    --paper: #fbfaf7;
    --line: #ded8cc;
    --brand: #0f766e;
    --brand-dark: #0b4f4a;
    --white: #ffffff;
    --shadow: 0 18px 60px rgba(18, 20, 23, 0.12);
    --radius: 8px;
    --max: 1180px;
    --black: #121417;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background:
        linear-gradient(180deg, rgba(244, 241, 235, 0.9) 0%, rgba(251, 250, 247, 1) 42%),
        var(--paper);
    color: var(--ink);
    letter-spacing: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(222, 216, 204, 0.8);
    background: rgba(251, 250, 247, 0.88);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img{
    display: block;
    width:200px;
}


.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    font-size: 13px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--ink);
    background: rgba(18, 20, 23, 0.06);
}

.hero {
    min-height: calc(100svh - 68px);
    display: grid;
    align-items: center;
    padding: 54px 0 46px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

/* .eyebrow::before {
      content: "";
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--brand);
      box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
    } */

h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 720px;
    margin: 24px 0 0;
    color: #2f3743;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--brand-dark);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(18, 20, 23, 0.14);
}

.button.primary {
    color: var(--white);
    background: var(--brand-dark);
}

.button.secondary {
    color: var(--brand-dark);
    /* background: var(--white); */
}

.button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
}

.download-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 9px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: color 150ms ease, background 150ms ease;
}

.download-options a:hover,
.download-options a:focus-visible {
    color: var(--brand);
    /* background: rgba(15, 118, 110, 0.08); */
}

.download-options svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(100%, 710px);
    margin-top: 38px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.proof-item {
    min-height: 112px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.proof-item strong {
    display: block;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1;
    color: var(--ink);
}

.proof-item span {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.profile-panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.profile-panel.mobile {
    display: none;
}

.portrait {
    aspect-ratio: 4 / 4.6;
    background: #d6d2c9;
    overflow: hidden;
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-meta {
    padding: 22px;
}

.profile-meta h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.profile-meta p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #2f3743;
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease;
}

.contact-item:hover,
.contact-item:focus-visible {
    color: var(--brand);
}

.contact-item img {
    width: 17px;
    height: 17px;
    object-fit: contain;
    flex: 0 0 auto;
    transition: filter 180ms ease;
}

.contact-item:hover img,
.contact-item:focus-visible img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(79%) saturate(777%) hue-rotate(132deg) brightness(93%) contrast(88%);
}

.contact-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.section {
    padding: 88px 0;
    border-top: 1px solid var(--line);
}

.section.compact {
    padding-top: 64px;
}

.section-header {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 34px;
}

.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2.section-title {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    padding-top: 25px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    gap: 1px;
}

.expertise-item {
    /* min-height: 230px; */
    padding: 24px;
    background: rgba(255, 255, 255, 0.78);
}

.expertise-item b {
    display: block;
    font-size: 15px;
    margin-bottom: 14px;
}

.expertise-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
    font-size: 14px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    /* background: var(--line); */
    gap: 1px;
}

.leadership-card {
    min-height: 245px;
    padding: 24px;
    border-right: 1px solid var(--line);
    /* background: rgba(255, 255, 255, 0.78); */
}

.leadership-card:last-child {
    /* min-height: 245px; */
    /* padding: 24px; */
    border-right: none;
    /* background: rgba(255, 255, 255, 0.78); */
}

.leadership-card b {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.3;
}

.leadership-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.62;
}

.leadership-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #2f3743;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.leadership-card li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.leadership-card li::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.certificates-block {
    margin-top: 28px;
}

.certificates-block h3 {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.25;
}

.certificates-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.certificates-carousel {
    position: relative;
    margin-top: 4px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
}

.certificates-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: certificates-scroll 42s linear infinite;
    will-change: transform;
}

.certificates-carousel:hover .certificates-track {
    animation-play-state: paused;
}

.certificate-carousel-item {
    flex: 0 0 calc((min(calc(100vw - 40px), var(--max)) - 42px) / 4);
    width: calc((min(calc(100vw - 40px), var(--max)) - 42px) / 4);
}

@keyframes certificates-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 7px));
    }
}

.certificate-slide {
    display: block;
    /* border: 1px solid var(--line); */
    /* border-radius: 8px; */
    /* color: #2f3743; */
    /* background: rgba(255, 255, 255, 0.72); */
    overflow: hidden;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
    padding: 0 20px;
}

.certificate-slide:hover .certificate-slide-title {
    color: var(--brand)
}

.certificate-slide:hover .certificate-slide-title::after {
    background: var(--brand);
}

/*.certificate-slide:hover img {*/
/*    filter: grayscale(0);*/
/*}*/

.certificate-slide img {
    width: 100%;
    /* aspect-ratio: 4 / 3; */
    object-fit: contain;
    background: red;
    /* border-bottom: 1px solid var(--line); */
    /*filter: grayscale(1);*/
    transition: all 0.3s ease-in-out;
}

.certificate-slide-body {
    display: grid;
    gap: 10px;
    padding: 14px 0;
    justify-content: center;
}

.certificate-slide-title {
    /* min-height: 34px; */
    color: var(--muted);
    font-size: 14px;
    /* font-weight: 800; */
    line-height: 1.25;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.certificate-slide-title::after {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    background: currentColor;
    transition: all 0.3s ease-in-out;
    clip-path: path("M8.5 1H12v3.5h-1.4V3.4L6.9 7.1l-1-1 3.7-3.7H8.5V1ZM2.4 2.4h4V1h-4C1.6 1 1 1.6 1 2.4v9.2c0 .8.6 1.4 1.4 1.4h9.2c.8 0 1.4-.6 1.4-1.4v-4h-1.4v4H2.4V2.4Z");
}

.certificate-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.certificate-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(18, 20, 23, 0.22);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.certificate-dot.is-active {
    width: 24px;
    background: var(--brand);
}

.certificate-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #2f3743;
    background: rgba(255, 255, 255, 0.72);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.certificate-card:hover,
.certificate-card:focus-visible {
    color: var(--white);
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.certificate-card svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: currentColor;
}

.certificate-card span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.certificate-card b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.2;
}

.certificate-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: currentColor;
    font-size: 11px;
    font-weight: 800;
    opacity: 0.72;
}

.skills-tabs {
    display: grid;
    grid-template-columns: minmax(210px, 0.28fr) minmax(0, 0.72fr);
    /* gap: 16px; */
    align-items: start;
    border-radius: 8px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.work-tabs {
    display: grid;
    grid-template-columns: minmax(240px, 0.28fr) minmax(0, 0.72fr);
    align-items: start;
    border-radius: 8px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.skill-tab-list {
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.work-tab-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.skill-tab-list li {
    width: 100%;
    border-bottom: 1px solid var(--line);
}

.work-tab-list li {
    width: 100%;
    border-bottom: 1px solid var(--line);
}

.skill-tab-list li:last-child {
    border-bottom: none;
}

.work-tab-list li:last-child {
    border-bottom: none;
}

.skill-tab {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 14px;
    border: none;
    /* border-radius: 8px; */
    color: #2f3743;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.work-tab {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 14px;
    border: none;
    color: #2f3743;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.skill-tab:hover,
.skill-tab.is-active {
    color: var(--white);
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.work-tab:hover,
.work-tab.is-active {
    color: var(--white);
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.skills-card {
    height: var(--skills-card-height, auto);
    min-height: 0;
    padding: 0 22px;
    border-left: 1px solid var(--line);
    overflow: hidden;
    /* border-radius: 8px; */
    /* background: rgba(255, 255, 255, 0.76); */
}

.work-card {
    height: var(--work-card-height, auto);
    min-height: 0;
    padding: 0 22px;
    border-left: 1px solid var(--line);
    overflow: hidden;
}

.skills-grid {
    display: block;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    padding-right: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.skills-grid::-webkit-scrollbar {
    display: none;
}

.work-list {
    display: block;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    padding-right: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.work-list::-webkit-scrollbar {
    display: none;
}

.skill-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    opacity: 0.18;
    transition: opacity 280ms ease;
}

.skill-group.is-active {
    opacity: 1;
}

.skill-group:first-child {
    padding-top: 22px;
}

.skill-group:last-child {
    margin-bottom: 0;
    padding-bottom: 22px;
}

.skills-card h3 {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.25;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(18, 20, 23, 0.1);
    border-radius: 8px;
    /* background: var(--white); */
    color: #2f3743;
    font-size: 13px;
    font-weight: 750;
}

.skill-tag i,
.skill-tag svg {
    width: 17px;
    height: 17px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1;
}

.skill-tag svg {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.featured-showcase {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    /* min-height: 560px; */
}

.featured-card-copy {
    display: none;
}

.featured-stack {
    position: relative;
    min-height: 200px;
    perspective: 1200px;
}

.featured-photo-card {
    position: absolute;
    inset: 0;
    /* width: min(100%, 520px); */
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 24px 58px rgba(18, 20, 23, 0.16);
    cursor: pointer;
    font: inherit;
    overflow: hidden;
    transform: translate3d(var(--stack-x, 0), var(--stack-y, 0), 0) rotate(var(--stack-r, 0)) scale(var(--stack-s, 1));
    opacity: var(--stack-o, 1);
    z-index: var(--stack-z, 1);
    transition: transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 320ms ease, box-shadow 220ms ease;
    height: 275px;
}

.featured-photo-card:hover,
.featured-photo-card:focus-visible {
    box-shadow: 0 30px 70px rgba(18, 20, 23, 0.2);
}

.featured-photo-card.is-active {
    --stack-x: 0;
    --stack-y: 0;
    --stack-r: -1deg;
    --stack-s: 1;
    --stack-o: 1;
    --stack-z: 4;
}

.featured-photo-card.is-next {
    --stack-x: 24px;
    --stack-y: 28px;
    --stack-r: 4deg;
    --stack-s: 0.94;
    --stack-o: 0.72;
    --stack-z: 3;
}

.featured-photo-card.is-third {
    --stack-x: -22px;
    --stack-y: 48px;
    --stack-r: -5deg;
    --stack-s: 0.88;
    --stack-o: 0.48;
    --stack-z: 2;
}

.featured-photo-card.is-back {
    --stack-x: 6px;
    --stack-y: 68px;
    --stack-r: 7deg;
    --stack-s: 0.82;
    --stack-o: 0.24;
    --stack-z: 1;
}

.featured-photo-card img {
    width: 100%;
    height: auto;
    /* min-height: 390px; */
    /* object-fit: contain; */
    /* border:1px solid red; */
    display: block;
}

.featured-photo-label {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(18, 20, 23, 0.82);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

.featured-photo-label span:last-child {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.featured-detail-wrap {
    position: relative;
    min-height: 390px;
}

.featured-detail {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 300ms ease, transform 420ms ease;
}

.featured-detail.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.featured-count {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 50%;
    color: var(--brand-dark);
    background: rgba(15, 118, 110, 0.08);
    font-size: 12px;
    font-weight: 800;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #2f3743;
    background: #fcfbf8;
    font-size: 12px;
    font-weight: 800;
}

.featured-detail h3 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
}

.featured-detail p {
    max-width: 560px;
    margin: 18px 0 24px;
    color: var(--muted);
    line-height: 1.68;
    font-size: 17px;
}

.featured-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    /* margin-top: 26px; */
}

.featured-showcase>.featured-controls {
    grid-column: 2;
}

.featured-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-control-button {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: none;
    border-radius: 8px;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.featured-control-button:hover,
.featured-control-button:focus-visible {
    color: var(--white);
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.featured-control-button:hover svg,
.featured-control-button:focus-visible svg {
    stroke: white;
}

.featured-control-button:hover svg.play-icon,
.featured-control-button:focus-visible svg.play-icon {
    fill: white;
}

.featured-control-button svg {
    width: 20px;
    height: 20px;
    stroke: var(--brand);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: all 180ms ease;
}

.featured-control-button .play-icon {
    display: none;
    fill: var(--brand);
}

.featured-control-button.is-paused .pause-icon {
    display: none;
}

.featured-control-button.is-paused .play-icon {
    display: block;
}

.featured-dot {
    position: relative;
    width: 20px;
    height: 5px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(18, 20, 23, 0.18);
    cursor: pointer;
    overflow: hidden;
    transition: width 180ms ease, background 180ms ease;
}

.featured-dot.is-active {
    width: 64px;
    background: rgba(15, 118, 110, 0.18);
}

.featured-dot.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
}

.featured-dot.is-active.is-progressing::after {
    animation: featured-progress 3600ms linear forwards;
}

.featured-showcase.is-featured-paused .featured-dot.is-active::after {
    animation-play-state: paused;
}

@keyframes featured-progress {
    to {
        transform: scaleX(1);
    }
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--brand);
}

.text-link svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
}

.work-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    opacity: 0.18;
    transition: opacity 280ms ease;
    pointer-events: none;
}

.work-row:first-child {
    padding-top: 22px;
}

.work-row.is-active {
    opacity: 1;
    pointer-events: all;
}

.work-row:last-child {
    padding-bottom: 22px;
    margin-bottom: 0;
}

.work-row h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.25;
}

.work-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(18, 20, 23, 0.12);
    border-radius: 8px;
    /* background: var(--white); */
    color: #2f3743;
    font-size: 13px;
    font-weight: 750;
    transition: all 0.3s ease-in-out;
}

.work-links a::after {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    background: currentColor;
    clip-path: path("M8.5 1H12v3.5h-1.4V3.4L6.9 7.1l-1-1 3.7-3.7H8.5V1ZM2.4 2.4h4V1h-4C1.6 1 1 1.6 1 2.4v9.2c0 .8.6 1.4 1.4 1.4h9.2c.8 0 1.4-.6 1.4-1.4v-4h-1.4v4H2.4V2.4Z");
}

.work-links a:hover {
    color: var(--white);
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.signal-band {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
    gap: 28px;
    align-items: stretch;
}

.signal-copy {
    padding: 32px;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand-dark);
}

.signal-copy h2 {
    margin: 0;
    font-size: clamp(27px, 3.4vw, 42px);
    line-height: 1.1;
}

.signal-copy .section-kicker {
    color: var(--white);
}

.signal-copy p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    font-size: 16px;
}

.signal-points {
    display: grid;
    gap: 10px;
}

.signal-point {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    /* background: var(--white); */
}

.signal-point b {
    display: block;
    margin-bottom: 8px;
}

.signal-point span {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.contact-section {
    padding: 84px 0;
    color: var(--white);
    background: var(--ink);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
    gap: 34px;
    align-items: end;
}

.contact-section h2 {
    margin: 0;
    font-size: clamp(31px, 4.4vw, 54px);
    line-height: 1.08;
    padding-right: 50px;
}

.typing-word {
    display: inline-block;
    color: var(--white);
}

.typing-cursor {
    display: inline-block;
    width: 0.08em;
    height: 0.82em;
    margin-left: 0.05em;
    background: currentColor;
    transform: translateY(0.08em);
    animation: cursor-blink 850ms steps(1) infinite;
}

@keyframes cursor-blink {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}

.contact-section p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    font-size: 17px;
}

.contact-actions {
    display: grid;
    gap: 10px;
}

.contact-actions .button {
    width: 100%;
    border-color: rgba(255, 255, 255, 0.22);
}

.contact-actions .button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
}

.contact-actions .button.primary {
    color: var(--ink);
    background: var(--white);
}

.contact-actions .button.secondary {
    color: var(--white);
    background: transparent;
}

.footer {
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.58);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.72);
    /* font-weight: 700; */
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
    font-size: 13px;
}

.footer a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.footer a:hover,
.footer a:focus-visible {
    /* color: var(--brand); */
}

.back-to-top {
    position: fixed;
    right: max(20px, calc((100vw - var(--max)) / 2));
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
    z-index: 18;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: var(--white);
    background: rgba(18, 20, 23, 0.9);
    box-shadow: 0 16px 40px rgba(18, 20, 23, 0.2);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, color 180ms ease,
        background 180ms ease, border-color 180ms ease;
}

.back-to-top.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    font-size: 0;
    gap: 0;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    /* border-color: rgba(15, 118, 110, 0.65); */
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.footer.is-visible .back-to-top {
    position: static;
    min-height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    transition: opacity 220ms ease, visibility 220ms ease, color 180ms ease;
}

.footer.is-visible .back-to-top.is-active {
    font-size: 13px;
    gap: 6px;
}

.footer.is-visible .back-to-top:not(.is-active) {
    display: none;
}

.footer.is-visible .back-to-top.is-active:hover {
    color: var(--brand)
}

.download-menu {
    position: relative;
    display: inline-flex;
    border: 1px solid var(--brand-dark);
    border-radius: 8px;
    color: var(--brand-dark);
    transition: box-shadow 180ms ease, background 180ms ease, border-radius 180ms ease;
}

.download-menu .toggle:hover {
    /* transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(18, 20, 23, 0.14); */
    color: var(--brand);
}

.download-menu .toggle {
    min-height: 46px;
    width: 142px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    /* border: 1px solid var(--brand-dark); */
    /* border-radius: 8px; */
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-dark);
    position: relative;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    transition: width 260ms ease, padding 260ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}


.download-menu .toggle[aria-expanded="true"] {
    width: 53px;
    padding: 0 18px;
}

.download-menu .toggle .open,
.download-menu .toggle .opensvg {
    opacity: 1;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    visibility: visible;
}

.download-menu .toggle .close,
.download-menu .toggle .closesvg {
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateX(8px);
}

.download-menu .toggle[aria-expanded="true"] .open,
.download-menu .toggle[aria-expanded="true"] .opensvg {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
}

.download-menu .toggle[aria-expanded="true"] .closesvg {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateX(0);
}

.download-menu:has(.toggle[aria-expanded="true"]) {
    border-radius: 8px 0 0 8px;
    /* background: rgba(255, 255, 255, 0.9); */
    box-shadow: 0 16px 40px rgba(18, 20, 23, 0.14);
}

.download-menu .toggle svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
}

.download-options {
    position: absolute;
    top: -1px;
    left: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: max-content;
    max-width: 0;
    min-height: calc(100% + 2px);
    padding: 0;
    border: 1px solid var(--brand-dark);
    border-left: 1px solid rgba(18, 20, 23, 0.1);
    border-radius: 0 8px 8px 0;
    /* background: rgba(255, 255, 255, 0.92); */
    box-shadow: 0 16px 40px rgba(18, 20, 23, 0.14);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    transform: translateX(-4px);
    transform-origin: left center;
    transition: max-width 280ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease;
}

.download-options.is-open {
    max-width: 420px;
    padding: 0 6px;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.download-options a {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 260ms ease, transform 260ms ease, color 150ms ease, background 150ms ease;
}

.download-options.is-open a {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1300px) {
    .hero {
        min-height: 0
    }

    h1 {
        font-size: clamp(34px, 5.2vw, 55px);
    }

    h2.section-title {
        font-size: clamp(26px, 3.1vw, 44px);
    }

    .featured-detail h3 {
        font-size: clamp(27px, 3.4vw, 44px);
    }

    .signal-copy h2 {
        font-size: clamp(25px, 3vw, 36px);
    }

    .contact-section h2 {
        font-size: clamp(28px, 3.7vw, 46px);
    }

    .proof-item strong {
        font-size: clamp(24px, 3.2vw, 32px);
    }

    .profile-panel {
        margin-left: 100px;
    }

    .profile-meta h2 {
        font-size: 20px;
    }

    .hero-copy {
        font-size: clamp(15px, 1.6vw, 18px);
    }

    .featured-detail p,
    .contact-section p {
        font-size: 15px;
    }

    .section-header p,
    .leadership-card b,
    .signal-copy p {
        font-size: 14px;
    }

    .certificates-block h3,
    .skills-card h3,
    .work-row h3 {
        font-size: 15px;
    }

    .nav-links,
    .expertise-item p,
    .leadership-card p {
        font-size: 13px;
    }

    .expertise-item b,
    .button,
    .contact-item,
    .certificate-slide-title,
    .text-link,
    .signal-point span,
    .download-menu .toggle {
        font-size: 13px;
    }

    .brand-mark,
    .eyebrow,
    .download-options a,
    .proof-item span,
    .leadership-card ul,
    .certificate-card b,
    .skill-tab,
    .work-tab,
    .skill-tag,
    .featured-photo-label,
    .work-links a,
    .footer,
    .footer a,
    .footer.is-visible .back-to-top.is-active {
        font-size: 12px;
    }

    .skill-tag i,
    .featured-count,
    .pill,
    .section-kicker,
    .featured-photo-label span:last-child {
        font-size: 11px;
    }

    .certificate-card small {
        font-size: 10px;
    }
}

@media (max-width: 980px) {

    body,html{
        width:100%;
        overflow-x:hidden;
    }

    .profile-panel {
        display: none;
    }

    .profile-panel.mobile {
        display: flex;
        max-width: 100%;
        margin-top: 30px;
    }

    .profile-panel.mobile .portrait {
        max-width: 200px;
    }

    .proof-grid {
        margin-top: 30px;
    }

    .expertise-item,.leadership-card{
        padding:10px;
    }

    .hero-grid,
    .section-header,
    .signal-band,
    .skills-tabs,
    .work-tabs,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .profile-panel {
        margin-left: 0;
        max-width: 520px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .certificates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .certificate-carousel-item {
        flex-basis: calc((100vw - 54px) / 2);
        width: calc((100vw - 54px) / 2);
    }

    .skill-tab-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-tab-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }

    .section-header p{
        padding-top:0;
    }

    .nav {
        align-items: flex-start;
        justify-content: center;
        min-height: auto;
        padding: 14px 0;
    }

    .brand img{
        width:150px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 36px 0 38px;
    }
    .leadership-card{
        border:none;
        border-bottom: 1px solid var(--line);
        min-height:0;
    }

    .leadership-card:last-child {
        border:none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 20px;
    }

    .download-menu {
        flex-direction: row;
        align-items: stretch;
        border: 0;
        border-radius: 0;
        box-shadow: none !important;
    }

    .download-options.is-open {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .download-menu:has(.toggle[aria-expanded="true"]) {
        border-radius: 8px;
    }

    .download-menu .toggle {
        display: none;
    }

    .download-options {
        position: static;
        width: 100%;
        min-height: 0;
        max-width: none;
        max-height: none;
        /* flex-direction: column;
        align-items: stretch; */
        gap: 12px;
        border: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition: none;
    }

    .download-options a {
        opacity: 1;
        transform: none;
        min-height: 46px;
        border: 1px solid var(--brand-dark);
        border-radius: 8px;
        color: var(--brand-dark);
        flex: 1;
        justify-content: center;
    }

    h1 {
        font-size: clamp(32px, 10vw, 46px);
        line-height: 1.06;
    }

    h2.section-title {
        font-size: clamp(26px, 8vw, 36px);
        line-height: 1.12;
    }

    .featured-detail h3 {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.12;
    }

    .signal-copy h2,
    .contact-section h2 {
        font-size: clamp(28px, 8.5vw, 38px);
        line-height: 1.12;
        padding-right: 0;
    }

    .proof-grid,
    .expertise-grid,
    .leadership-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificates-carousel {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-mask-image: none;
        mask-image: none;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .certificates-carousel::-webkit-scrollbar {
        display: none;
    }

    .certificates-track {
        width: auto;
        animation: none;
    }

    .certificate-carousel-item {
        flex: 0 0 82%;
        width: 82%;
        scroll-snap-align: start;
    }

    .certificate-carousel-item[aria-hidden="true"] {
        display: none;
    }

    .certificate-slide {
        padding: 0;
    }

    .certificate-slide img {
        filter: grayscale(0);
    }

    .certificate-dots {
        display: flex;
    }

    .featured-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-showcase>.featured-controls {
        grid-column: 1;
        margin-top: 8px;
    }

    .featured-desktop-detail-column {
        display: none;
    }

    .featured-stack {
        min-height: 530px;
    }

    .featured-photo-card {
        display: grid;
        grid-template-rows: 185px minmax(0, 1fr);
        width: calc(100% - 20px);
        height: 500px;
        border: 1px solid var(--line);
        color: var(--ink);
        text-align: left;
        background: var(--white);
    }

    .featured-photo-card .imgContainer {
        padding: 5px;
    }

    .featured-photo-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid var(--line);
    }

    .featured-card-copy {
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 16px;
        overflow-y: auto;
    }

    .featured-card-copy .featured-tags {
        margin-bottom: 12px;
    }

    .featured-card-copy h3 {
        margin: 0;
        font-size: 24px;
        line-height: 1.12;
    }

    .featured-card-copy p {
        margin: 14px 0 18px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.58;
    }

    .featured-card-copy .text-link {
        margin-top: auto;
    }

    .proof-item {
        min-height: auto;
    }

    .section {
        padding: 62px 0;
    }

    .skill-tab-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .skill-tab-list::-webkit-scrollbar {
        display: none;
    }

    .skill-tab-list li {
        width: auto;
        flex: 0 0 auto;
        border-right: 1px solid var(--line);
        border-bottom: none;
    }

    .skill-tab-list li:last-child {
        border-right: none;
    }

    .skill-tab {
        width: auto;
        white-space: nowrap;
    }

    .skills-card {
        height: var(--skills-card-height, auto);
        padding: 0;
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .skills-grid {
        display: flex;
        height: 100%;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        scroll-snap-type: x mandatory;
    }

    .skill-group {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: auto;
        margin-bottom: 0;
        padding: 10px;
        opacity: 1;
        scroll-snap-align: start;
    }

    .skill-group:first-child,
    .skill-group:last-child {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .work-tab-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .skill-tag {
        padding: 0 5px;
        font-size: 11px;
    }

    .work-tab-list::-webkit-scrollbar {
        display: none;
    }

    .work-tab-list li {
        width: auto;
        flex: 0 0 auto;
        border-right: 1px solid var(--line);
        border-bottom: none;
    }

    .work-tab-list li:last-child {
        border-right: none;
    }

    .work-tab {
        width: auto;
        white-space: nowrap;
    }

    .work-card {
        height: var(--work-card-height, auto);
        padding: 0;
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .work-list {
        display: flex;
        height: 100%;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        scroll-snap-type: x mandatory;
    }

    .work-row {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: auto;
        margin-bottom: 0;
        padding: 18px;
        opacity: 1;
        scroll-snap-align: start;
        grid-template-columns: 1fr;
    }

    .signal-copy {
        padding: 24px;
    }

    .footer .container {
        display: grid;
    }

    .back-to-top,
    .footer.is-visible .back-to-top,
    .footer.is-visible .back-to-top.is-active {
        display: none;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: clamp(30px, 9.2vw, 38px);
    }

    h2.section-title,
    .featured-detail h3,
    .signal-copy h2,
    .contact-section h2 {
        font-size: clamp(25px, 7.6vw, 32px);
    }

    .hero-copy,
    .featured-detail p,
    .contact-section p {
        font-size: 15px;
    }

    .profile-panel.mobile .portrait {
        max-width: 130px;
    }

    .profile-meta {
        padding: 10px;
    }

    .profile-meta p {
        font-size: 14px;
    }

    /*.contact-item*/

    .contact-item span {
        font-size: 11px;
    }
}