:root {
    color-scheme: dark;
    --bg: #07111b;
    --bg-deep: #050c14;
    --surface: #0c1a26;
    --surface-raised: #102331;
    --surface-soft: rgba(17, 38, 52, 0.72);
    --ink: #f2f7f7;
    --ink-soft: #d7e1e4;
    --muted: #a8b8c0;
    --muted-soft: #7f929c;
    --accent: #57d6a3;
    --accent-dark: #173d32;
    --blue: #7fb5ff;
    --line: rgba(168, 204, 214, 0.15);
    --line-strong: rgba(168, 220, 218, 0.28);
    --shadow: 0 24px 60px rgba(1, 8, 13, 0.32);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --page: 1180px;
    --header-height: 72px;
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 22px);
    background: var(--bg);
}

body {
    min-width: 280px;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 2%, rgba(47, 155, 120, 0.18), transparent 34rem),
        radial-gradient(circle at 90% 14%, rgba(60, 111, 181, 0.17), transparent 38rem),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(159, 207, 209, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(159, 207, 209, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

main {
    display: block;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

p,
h1,
h2,
h3,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
strong {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

::selection {
    color: #04120e;
    background: var(--accent);
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    color: var(--bg);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.page-width {
    width: min(calc(100% - 40px), var(--page));
    margin-inline: auto;
}

.eyebrow {
    margin-bottom: 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--accent);
}

.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid var(--line);
    background: rgba(6, 15, 24, 0.94);
}

@supports (backdrop-filter: blur(8px)) {
    .site-header {
        background: rgba(6, 15, 24, 0.82);
        backdrop-filter: blur(12px);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 40px), var(--page));
    min-height: var(--header-height);
    margin-inline: auto;
    gap: 2rem;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 44px;
    gap: 0.7rem;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(87, 214, 163, 0.38);
    border-radius: 13px;
    font-family: var(--font-mono);
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--ink);
    background: linear-gradient(145deg, rgba(87, 214, 163, 0.24), rgba(127, 181, 255, 0.16));
}

.site-brand__name {
    font-size: 0.98rem;
    font-weight: 720;
    letter-spacing: 0.01em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1.8vw, 1.5rem);
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.35rem 0.2rem;
    font-size: 0.88rem;
    color: var(--muted);
    transition: color 160ms ease;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink);
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
    transform: scaleX(1);
}

.consultant-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    min-height: min(720px, calc(100svh - var(--header-height)));
    padding-block: clamp(2rem, 4vw, 3.5rem);
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    row-gap: clamp(1rem, 2vw, 1.5rem);
}

.hero-copy {
    min-width: 0;
}

.hero-copy h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(3.1rem, 7vw, 5.8rem);
    line-height: 0.97;
    letter-spacing: -0.055em;
}

.hero-role {
    max-width: 630px;
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    font-weight: 650;
    line-height: 1.32;
    color: var(--ink-soft);
}

.hero-summary {
    max-width: 650px;
    margin-bottom: 1.65rem;
    font-size: 1.02rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.72rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.93rem;
    font-weight: 740;
    line-height: 1.2;
    touch-action: manipulation;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button--primary {
    color: #06140f;
    background: var(--accent);
    box-shadow: 0 12px 28px rgba(36, 134, 102, 0.25);
}

.button--secondary {
    border-color: var(--line-strong);
    color: var(--ink-soft);
    background: rgba(12, 26, 38, 0.62);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    margin: 1.55rem 0 0;
    padding: 0;
    gap: 0.55rem;
    list-style: none;
}

.hero-facts li {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.3rem 0.72rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--muted);
    background: rgba(14, 31, 43, 0.5);
}

.hero-facts li::before {
    width: 5px;
    height: 5px;
    margin-right: 0.48rem;
    border-radius: 50%;
    content: "";
    background: var(--accent);
}

.hero-portrait {
    position: relative;
    isolation: isolate;
    margin-bottom: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: calc(var(--radius-lg) + 7px);
    background: linear-gradient(145deg, rgba(87, 214, 163, 0.12), rgba(127, 181, 255, 0.09));
    box-shadow: var(--shadow);
}

.hero-portrait::before {
    position: absolute;
    z-index: -1;
    inset: 15% -9% -10% 18%;
    border-radius: 50%;
    content: "";
    background: rgba(51, 161, 125, 0.17);
    filter: blur(60px);
}

.hero-portrait picture,
.hero-portrait img {
    width: 100%;
}

.hero-portrait img {
    aspect-ratio: 1.27 / 1;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: center;
}

.hero-portrait figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    padding: 0.6rem 0.5rem 0.3rem;
    gap: 0.45rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-portrait figcaption span {
    display: inline-flex;
    align-items: center;
}

.hero-portrait figcaption span:not(:last-child)::after {
    width: 4px;
    height: 4px;
    margin-left: 1rem;
    border-radius: 50%;
    content: "";
    background: var(--accent);
}

.smart4drip-spotlight {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid rgba(127, 181, 255, 0.25);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 12% 28%, rgba(87, 214, 163, 0.15), transparent 19rem),
        radial-gradient(circle at 84% 24%, rgba(127, 181, 255, 0.17), transparent 22rem),
        linear-gradient(120deg, rgba(10, 24, 37, 0.96), rgba(7, 15, 27, 0.98));
    box-shadow: 0 22px 54px rgba(1, 8, 13, 0.24);
    gap: 1.5rem;
}

.smart4drip-spotlight::before,
.smart4drip-spotlight::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
}

.smart4drip-spotlight::before {
    opacity: 0.42;
    background-image:
        radial-gradient(circle, rgba(232, 248, 255, 0.78) 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(127, 181, 255, 0.6) 0 1px, transparent 1.3px);
    background-position: 18px 24px, 74px 61px;
    background-size: 96px 96px, 131px 131px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000);
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000);
    animation: smart4drip-stars 22s ease-in-out infinite alternate;
}

.smart4drip-spotlight::after {
    opacity: 0.28;
    background: linear-gradient(110deg, transparent 48%, rgba(127, 181, 255, 0.15) 50%, transparent 52%);
    transform: translateX(-42%);
    animation: smart4drip-scan 14s ease-in-out infinite;
}

.smart4drip-spotlight__glow {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 8%;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: rgba(87, 214, 163, 0.13);
    filter: blur(42px);
    transform: translateY(-50%);
}

.smart4drip-spotlight__copy {
    max-width: 720px;
}

.smart4drip-spotlight .eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
}

.smart4drip-spotlight h2 {
    margin-bottom: 0.25rem;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.smart4drip-spotlight p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.smart4drip-spotlight__action {
    min-width: 178px;
    border-color: rgba(87, 214, 163, 0.38);
    color: var(--ink);
    background: rgba(16, 49, 49, 0.8);
    box-shadow: 0 12px 28px rgba(1, 8, 13, 0.22);
    gap: 0.65rem;
}

.smart4drip-spotlight__action span:last-child {
    color: var(--accent);
    transition: transform 160ms ease;
}

.floating-whatsapp {
    position: fixed;
    z-index: 35;
    right: max(1.1rem, env(safe-area-inset-right, 0px));
    bottom: max(1.1rem, calc(env(safe-area-inset-bottom, 0px) + 0.35rem));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    padding: 0.72rem;
    overflow: hidden;
    border: 1px solid rgba(112, 225, 181, 0.45);
    border-radius: 999px;
    color: #07140f;
    background: rgba(99, 221, 172, 0.96);
    box-shadow: 0 12px 30px rgba(1, 8, 13, 0.34);
    touch-action: manipulation;
    transform: translateZ(0);
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.floating-whatsapp svg {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.floating-whatsapp span {
    max-width: 0;
    overflow: hidden;
    font-size: 0.84rem;
    font-weight: 780;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 180ms ease, margin-left 180ms ease, opacity 140ms ease;
}

.floating-whatsapp.is-scrolling {
    opacity: 0.34;
    transform: scale(0.92);
    box-shadow: 0 6px 18px rgba(1, 8, 13, 0.2);
}

.floating-whatsapp:active {
    transform: scale(0.94);
}

@keyframes smart4drip-stars {
    to {
        background-position: 28px 18px, 64px 69px;
        opacity: 0.56;
    }
}

@keyframes smart4drip-scan {
    0%,
    35% {
        transform: translateX(-42%);
    }

    65%,
    100% {
        transform: translateX(42%);
    }
}

.credibility-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: clamp(5rem, 9vw, 8rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(12, 27, 38, 0.7);
    box-shadow: 0 18px 44px rgba(1, 8, 13, 0.18);
}

.credibility-strip div {
    min-width: 0;
    padding: 1.15rem 1.25rem;
}

.credibility-strip div + div {
    border-left: 1px solid var(--line);
}

.credibility-strip strong,
.credibility-strip span {
    display: block;
}

.credibility-strip strong {
    margin-bottom: 0.18rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.credibility-strip span {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--muted-soft);
}

.content-section {
    margin-bottom: clamp(5rem, 9vw, 8rem);
    scroll-margin-top: calc(var(--header-height) + 22px);
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 2rem;
}

.section-heading h2,
.contact-section h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4.7vw, 3.55rem);
    line-height: 1.07;
    letter-spacing: -0.04em;
}

.section-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: none;
    gap: 2rem;
}

.section-heading--split > p {
    max-width: 460px;
    margin-bottom: 0.18rem;
    color: var(--muted);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
}

.lead-copy p {
    margin-bottom: 1.2rem;
    font-size: clamp(1.04rem, 2.2vw, 1.25rem);
    color: var(--ink-soft);
}

.method-panel {
    padding: clamp(1.35rem, 3vw, 1.8rem);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.method-panel__label {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.method-panel ol {
    display: grid;
    margin: 0;
    padding: 0;
    gap: 0;
    list-style: none;
}

.method-panel li {
    display: grid;
    grid-template-columns: 34px 1fr;
    padding: 1rem 0;
    gap: 0.75rem;
    border-top: 1px solid var(--line);
}

.method-panel li > span {
    padding-top: 0.08rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
}

.method-panel strong,
.method-panel small {
    display: block;
}

.method-panel strong {
    margin-bottom: 0.12rem;
    font-size: 0.94rem;
    color: var(--ink-soft);
}

.method-panel small {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    position: relative;
    min-width: 0;
    min-height: 230px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(12, 27, 38, 0.76);
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.service-card--featured {
    border-color: rgba(87, 214, 163, 0.37);
    background: linear-gradient(145deg, rgba(27, 73, 59, 0.76), rgba(12, 29, 40, 0.84));
}

.service-number {
    display: block;
    margin-bottom: 2.2rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.16rem;
}

.service-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.experience-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block: 1px solid var(--line-strong);
}

.experience-list article {
    min-width: 0;
    padding: 1.6rem 1.6rem 1.6rem 0;
}

.experience-list article:nth-child(2n) {
    padding-right: 0;
    padding-left: 1.6rem;
    border-left: 1px solid var(--line);
}

.experience-list article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}

.experience-list span {
    font-family: var(--font-mono);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--accent);
}

.experience-list h3 {
    margin: 0.35rem 0 0.45rem;
    font-size: 1.18rem;
}

.experience-list p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9rem;
    font-weight: 720;
    color: var(--accent);
    gap: 0.45rem;
}

.text-link span {
    transition: transform 160ms ease;
}

.study-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.study-preview {
    display: flex;
    min-width: 0;
    min-height: 270px;
    flex-direction: column;
    padding: clamp(1.3rem, 3vw, 1.9rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(87, 214, 163, 0.08), transparent 55%),
        rgba(12, 27, 38, 0.78);
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.study-preview__meta {
    margin-bottom: auto;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.study-preview h3 {
    margin: 2rem 0 0.55rem;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    line-height: 1.18;
}

.study-preview p {
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.study-preview__link {
    font-size: 0.8rem;
    font-weight: 720;
    color: var(--ink-soft);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    margin-bottom: clamp(4rem, 7vw, 6rem);
    padding: clamp(1.5rem, 4vw, 2.8rem);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    gap: clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 0 0, rgba(87, 214, 163, 0.14), transparent 26rem),
        rgba(12, 28, 39, 0.82);
    box-shadow: var(--shadow);
}

.contact-section h2 {
    margin-bottom: 0.75rem;
}

.contact-section > div > p:last-child {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--muted);
}

.contact-links {
    display: grid;
    gap: 0.65rem;
}

.contact-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 62px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    gap: 1rem;
    background: rgba(7, 17, 27, 0.56);
    transition: border-color 160ms ease, background 160ms ease;
}

.contact-links span {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-links strong {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-size: 0.86rem;
    color: var(--ink-soft);
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted-soft);
}

.site-footer .page-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    gap: 1rem;
    font-size: 0.8rem;
}

.site-footer a:hover {
    color: var(--ink);
}

/* Çalışmalar sayfası */
.works-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    align-items: center;
    padding-block: clamp(3.4rem, 7vw, 6.2rem);
    gap: clamp(2.5rem, 6vw, 5rem);
}

.works-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(3.1rem, 7vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.works-hero__copy > p:not(.eyebrow) {
    max-width: 590px;
    margin-bottom: 1.25rem;
    font-size: 1.04rem;
    color: var(--muted);
}

.works-hero__media {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.works-hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.works-hero__media figcaption {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.42rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.63rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(4, 12, 17, 0.78);
}

.study-section {
    margin-bottom: clamp(5rem, 9vw, 8rem);
    padding: clamp(1.4rem, 4vw, 2.8rem);
    scroll-margin-top: calc(var(--header-height) + 20px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(10, 24, 35, 0.72);
    box-shadow: 0 26px 70px rgba(1, 7, 12, 0.22);
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.study-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 2rem;
}

.study-heading h2 {
    max-width: 820px;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 4.2vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.study-year {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--muted-soft);
}

.study-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 2.2rem;
    border-block: 1px solid var(--line-strong);
}

.study-metrics div {
    min-width: 0;
    padding: 1rem;
}

.study-metrics div:first-child {
    padding-left: 0;
}

.study-metrics div + div {
    border-left: 1px solid var(--line);
}

.study-metrics strong,
.study-metrics span {
    display: block;
}

.study-metrics strong {
    margin-bottom: 0.15rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--ink);
}

.study-metrics span {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--muted-soft);
}

.study-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 2rem;
    gap: 1rem;
}

.study-body > div {
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(15, 34, 47, 0.65);
}

.study-body h3 {
    margin-bottom: 0.5rem;
    font-size: 0.94rem;
    color: var(--accent);
}

.study-body p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.date-timeline {
    display: flex;
    margin: 0;
    padding: 0.8rem 0.35rem 0;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-color: var(--line-strong) transparent;
    list-style: none;
}

.date-timeline li {
    position: relative;
    flex: 1 0 74px;
    min-width: 0;
    padding-top: 1.05rem;
    text-align: center;
}

.date-timeline li::before {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    content: "";
    background: var(--bg);
    transform: translateX(-50%);
}

.date-timeline li::after {
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    background: var(--line-strong);
}

.date-timeline li:first-child::after {
    left: 50%;
    width: 50%;
}

.date-timeline li:last-child::after {
    width: 50%;
}

.date-timeline time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
}

.table-wrap {
    margin-bottom: 1.4rem;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overscroll-behavior-x: contain;
}

table {
    width: 100%;
    min-width: 690px;
    border-collapse: collapse;
    font-size: 0.86rem;
}

caption {
    padding: 1rem;
    text-align: left;
    font-size: 0.76rem;
    color: var(--muted);
    background: rgba(13, 31, 43, 0.74);
}

th,
td {
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--line);
    text-align: left;
}

thead th {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

tbody th {
    color: var(--ink-soft);
}

tbody td {
    color: var(--muted);
}

tbody tr.is-highlighted {
    background: rgba(87, 214, 163, 0.08);
}

tbody tr.is-highlighted th,
tbody tr.is-highlighted td {
    color: var(--ink);
}

.observation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.2rem;
    gap: 1rem;
}

.observation-grid article {
    min-width: 0;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(15, 34, 47, 0.58);
}

.observation-grid span {
    display: block;
    margin-bottom: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
}

.observation-grid h3 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.observation-grid p {
    margin-bottom: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.study-caveat {
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
    color: var(--muted-soft);
}

.gallery-section {
    margin-bottom: clamp(5rem, 9vw, 8rem);
    content-visibility: auto;
    contain-intrinsic-size: auto 1700px;
}

.gallery-group {
    margin-top: 2.2rem;
}

.gallery-group h3 {
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
    gap: 0.8rem;
}

.gallery-group h3::after {
    flex: 1;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    background: var(--surface);
    cursor: zoom-in;
    touch-action: manipulation;
    transition: border-color 160ms ease, transform 160ms ease;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gallery-item--wide img {
    object-position: center;
}

.gallery-item span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2.4rem 0.7rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 680;
    text-align: left;
    background: linear-gradient(180deg, transparent, rgba(2, 9, 14, 0.9));
}

.lightbox {
    width: min(96vw, 1080px);
    max-width: none;
    max-height: 94dvh;
    padding: 0;
    overflow: visible;
    border: 0;
    color: var(--ink);
    background: transparent;
}

.lightbox::backdrop {
    background: rgba(2, 8, 13, 0.92);
}

.lightbox figure {
    display: grid;
    place-items: center;
    max-height: 92dvh;
    margin: 0;
}

.lightbox__image {
    width: auto;
    max-width: min(88vw, 960px);
    max-height: 82dvh;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--surface);
}

.lightbox figcaption {
    min-height: 2.2rem;
    padding: 0.65rem 3.5rem 0;
    font-size: 0.82rem;
    text-align: center;
    color: var(--ink-soft);
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(10, 25, 36, 0.94);
    cursor: pointer;
    touch-action: manipulation;
}

.lightbox__close {
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    font-size: 1.4rem;
}

.lightbox__nav {
    top: 50%;
    font-size: 2rem;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: max(0.25rem, env(safe-area-inset-left, 0px));
}

.lightbox__nav--next {
    right: max(0.25rem, env(safe-area-inset-right, 0px));
}

.reveal-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 480ms ease, transform 480ms ease;
}

.reveal-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@media (hover: hover) {
    .button:hover,
    .study-preview:hover,
    .service-card:hover,
    .gallery-item:hover {
        transform: translateY(-3px);
    }

    .button--secondary:hover,
    .service-card:hover,
    .study-preview:hover,
    .gallery-item:hover {
        border-color: rgba(87, 214, 163, 0.52);
    }

    .button--primary:hover {
        background: #70e1b5;
    }

    .text-link:hover span {
        transform: translateX(4px);
    }

    .contact-links a:hover {
        border-color: rgba(87, 214, 163, 0.5);
        background: rgba(16, 43, 50, 0.66);
    }

    .smart4drip-spotlight__action:hover {
        border-color: rgba(87, 214, 163, 0.62);
        background: rgba(20, 63, 57, 0.9);
    }

    .smart4drip-spotlight__action:hover span:last-child {
        transform: translate(2px, -2px);
    }

    .floating-whatsapp:hover {
        padding-inline: 0.9rem 1.05rem;
        background: #70e1b5;
        box-shadow: 0 16px 36px rgba(1, 8, 13, 0.38);
        transform: translateY(-2px);
    }

    .floating-whatsapp:hover span {
        max-width: 7rem;
        margin-left: 0.48rem;
        opacity: 1;
    }

    .gallery-item:hover img {
        transform: scale(1.025);
    }
}

@media (max-width: 920px) {
    .consultant-hero,
    .works-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        gap: 2.3rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credibility-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credibility-strip div:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .credibility-strip div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .study-body,
    .observation-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 100px;
    }

    html {
        scroll-padding-top: 112px;
    }

    .page-width {
        width: min(calc(100% - 32px), var(--page));
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        width: calc(100% - 24px);
        min-height: auto;
        padding: 7px 0 6px;
        gap: 3px;
    }

    .site-brand {
        min-height: 39px;
        justify-self: center;
    }

    .site-brand__mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 0.72rem;
    }

    .site-brand__name {
        font-size: 0.86rem;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-self: stretch;
        width: 100%;
        gap: 2px;
    }

    .site-nav a {
        min-width: 0;
        min-height: 44px;
        padding: 0.35rem 0.1rem;
        overflow: hidden;
        font-size: clamp(0.66rem, 2.7vw, 0.76rem);
        text-align: center;
        text-overflow: clip;
        white-space: nowrap;
    }

    .site-nav a::after {
        bottom: 1px;
        right: 16%;
        left: 16%;
    }

    .consultant-hero,
    .works-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-block: 3rem 2.2rem;
        gap: 2rem;
    }

    .consultant-hero .hero-portrait {
        order: 1;
    }

    .consultant-hero .smart4drip-spotlight {
        order: 2;
    }

    .consultant-hero .hero-copy {
        order: 3;
    }

    .hero-copy h1,
    .works-hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .hero-portrait,
    .works-hero__media {
        width: 100%;
        max-width: 620px;
        margin-inline: auto;
    }

    .hero-portrait::before {
        display: none;
    }

    .credibility-strip {
        margin-bottom: 4.5rem;
    }

    .smart4drip-spotlight {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .smart4drip-spotlight__action {
        justify-self: start;
    }

    .content-section {
        margin-bottom: 4.8rem;
        scroll-margin-top: 112px;
    }

    .section-heading--split {
        display: block;
    }

    .section-heading--split > p,
    .section-heading--split .text-link {
        margin-top: 1rem;
    }

    .about-layout,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .smart4drip-spotlight {
        width: 100%;
        padding: 1.25rem;
        border-radius: 20px;
    }

    .smart4drip-spotlight__action {
        width: 100%;
    }

    .floating-whatsapp {
        right: max(0.8rem, env(safe-area-inset-right, 0px));
        bottom: max(0.8rem, calc(env(safe-area-inset-bottom, 0px) + 0.2rem));
        min-width: 52px;
        min-height: 52px;
        padding: 0.68rem;
    }

    .floating-whatsapp svg {
        width: 27px;
        height: 27px;
    }

    .floating-whatsapp.is-before-scroll {
        pointer-events: none;
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    .about-layout {
        gap: 1.5rem;
    }

    .contact-section {
        gap: 1.5rem;
    }

    .works-hero__copy {
        order: 1;
    }

    .works-hero__media {
        order: 2;
    }

    .study-section {
        padding: 1.25rem;
        scroll-margin-top: 112px;
    }

    .study-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .study-metrics div:nth-child(3) {
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .study-metrics div:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-facts {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-portrait {
        padding: 7px;
        border-radius: 22px;
    }

    .hero-portrait img {
        border-radius: 16px;
    }

    .hero-portrait figcaption {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.18rem;
    }

    .hero-portrait figcaption span {
        justify-content: center;
    }

    .hero-portrait figcaption span::after {
        display: none;
    }

    .credibility-strip {
        grid-template-columns: 1fr;
    }

    .credibility-strip div + div,
    .credibility-strip div:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .service-grid,
    .experience-list,
    .study-preview-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 205px;
    }

    .experience-list article,
    .experience-list article:nth-child(2n) {
        padding: 1.25rem 0;
        border-left: 0;
    }

    .experience-list article:nth-child(n + 2) {
        border-top: 1px solid var(--line);
    }

    .contact-section {
        width: calc(100% - 24px);
        padding: 1.25rem;
        border-radius: 20px;
    }

    .contact-links a {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .contact-links strong {
        text-align: left;
    }

    .site-footer .page-width {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0.1rem;
    }

    .works-hero__media {
        border-radius: 20px;
    }

    .study-heading {
        display: block;
    }

    .study-year {
        display: inline-block;
        margin-top: 0.8rem;
    }

    .gallery {
        gap: 0.55rem;
    }

    .lightbox__nav {
        top: auto;
        bottom: calc(0.2rem + env(safe-area-inset-bottom, 0px));
        transform: none;
    }

    .lightbox figcaption {
        padding-inline: 3.2rem;
        padding-bottom: 0.4rem;
    }
}

@media (max-width: 340px) {
    .site-nav a {
        font-size: 0.61rem;
        letter-spacing: -0.02em;
    }

    .page-width {
        width: calc(100% - 24px);
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal-ready .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }

    .floating-whatsapp,
    .floating-whatsapp span {
        transition: none;
    }
}

@media (forced-colors: active) {
    .button,
    .service-card,
    .study-preview,
    .gallery-item,
    .contact-links a {
        border: 1px solid CanvasText;
    }

    .floating-whatsapp {
        border: 2px solid ButtonText;
    }
}
