/* =========================================================
   İfakat Ekin Küçük — Seramik Portfolyosu
   ========================================================= */

:root {
    --bg:            #f4f0ea;
    --bg-soft:       #ece6de;
    --surface:       rgba(255, 255, 255, 0.55);
    --surface-solid: #fffdfa;
    --ink:           #2b2621;
    --ink-soft:      #554c44;
    --ink-mute:      #8a7f74;
    --accent:        #8c5838;
    --accent-soft:   #b3856a;
    --line:          #ded4c8;
    --radius:        18px;
    --radius-lg:     26px;
    --shadow-sm:     0 2px 10px rgba(43, 38, 33, 0.04);
    --shadow-md:     0 10px 30px rgba(43, 38, 33, 0.07);
    --header-h:      74px;
    --serif:         'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --sans:          'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 15% -10%, #fffdf9 0%, rgba(255, 253, 249, 0) 60%),
        radial-gradient(900px 500px at 100% 20%, #e8ded2 0%, rgba(232, 222, 210, 0) 55%),
        var(--bg);
    background-attachment: fixed;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

body.nav-open, body.lightbox-open { overflow: hidden; }

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

a { color: inherit; }

::selection { background: var(--accent-soft); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
    padding: 0 clamp(20px, 5vw, 56px);
    background: rgba(244, 240, 234, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 20px rgba(43, 38, 33, 0.05);
}

.logo-link { text-decoration: none; }

.logo {
    font-family: var(--serif);
    font-size: 19px;
    letter-spacing: 2.5px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity .3s ease;
}
.logo-link:hover .logo { opacity: .65; }

.site-nav { display: flex; align-items: center; }

.site-nav a {
    position: relative;
    margin-left: 30px;
    text-decoration: none;
    font-size: 12.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color .3s ease;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .35s cubic-bezier(.16, 1, .3, 1);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    transition: background .3s ease;
}
.nav-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .3s ease, opacity .3s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100svh - var(--header-h));
    padding: 0 clamp(24px, 8vw, 130px) clamp(70px, 12vh, 120px);
    background:
        linear-gradient(180deg, rgba(30, 25, 22, .30) 0%, rgba(30, 25, 22, .38) 45%, rgba(30, 25, 22, .68) 100%),
        url('images/hero.jpg') no-repeat center center / cover;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    max-width: 620px;
    opacity: 0;
    transform: translateY(36px);
    animation: heroEntrance 1.4s cubic-bezier(.16, 1, .3, 1) .25s forwards;
}

.hero-subtitle {
    display: block;
    font-size: 11.5px;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    color: #e6dcd2;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(44px, 8vw, 86px);
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.05;
    margin: 0 0 22px;
    color: #fff;
}

.hero-description {
    max-width: 500px;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.85;
    color: #f2ebe4;
    margin: 0 0 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}
.scroll-cue span {
    width: 3px;
    height: 7px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .8);
    animation: scrollDot 1.9s ease-in-out infinite;
}

@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDot {
    0%   { transform: translateY(0);   opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0);   opacity: 0; }
}

/* ---------- Butonlar ---------- */

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 100px;
    font-size: 11.5px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    transition: all .35s cubic-bezier(.16, 1, .3, 1);
}

.btn-primary {
    background: #fff;
    color: var(--ink);
    border: 1px solid #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

/* ---------- Bölüm iskeleti ---------- */

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(70px, 11vw, 60px) clamp(20px, 5vw, 12px);
    scroll-margin-top: calc(var(--header-h) + 34px);
}

.section-full { scroll-margin-top: calc(var(--header-h) + 34px); }

.hero { scroll-margin-top: 0; }

.section-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 720px; }

.eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 400;
    letter-spacing: .5px;
    line-height: 1.15;
    margin: 0;
}

.section-intro {
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 15.5px;
    max-width: 620px;
}

/* ---------- Hakkında ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 28px;
    align-items: start;
}

.about-card, .quick-info-card, .exhibition-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

.about-card { padding: clamp(28px, 4vw, 46px); }

.about-card p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink-soft);
}
.about-card p:last-child { margin-bottom: 0; }

.about-card .lead {
    font-family: var(--serif);
    font-size: clamp(20px, 2.4vw, 25px);
    line-height: 1.55;
    color: var(--ink);
    font-weight: 400;
}

.quick-info-card { padding: clamp(26px, 3.4vw, 38px); position: sticky; top: calc(var(--header-h) + 24px); }

.quick-info-card h3 {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    margin: 0 0 22px;
    letter-spacing: .4px;
}

.info-list { margin: 0; }
.info-list > div {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.info-list > div:first-child { border-top: 0; padding-top: 0; }

.info-list dt {
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 3px;
}
.info-list dd {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.5;
}

.info-cta {
    display: inline-block;
    margin-top: 22px;
    font-size: 12.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: opacity .3s ease;
}
.info-cta:hover { opacity: .65; }

/* ---------- Filtreler ---------- */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 34px;
}

.filter-btn {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .4);
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .28s ease;
}
.filter-btn:hover { border-color: var(--accent-soft); color: var(--ink); }
.filter-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* ---------- Galeri ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    grid-auto-flow: row dense;
    gap: 20px;
}

.gallery-item {
    margin: 0;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease;
}

.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 18px 16px;
    font-size: 13px;
    letter-spacing: .6px;
    color: #fff;
    background: linear-gradient(transparent, rgba(28, 23, 20, .72));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}
.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Sofrada (geniş görseller) ---------- */

.wide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.wide-item {
    margin: 0;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease;
}
.wide-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.wide-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.wide-item:hover img { transform: scale(1.04); }

.wide-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 20px 18px;
    font-size: 13.5px;
    letter-spacing: .6px;
    color: #fff;
    background: linear-gradient(transparent, rgba(28, 23, 20, .72));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}
.wide-item:hover figcaption,
.wide-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }

.gallery-empty {
    text-align: center;
    color: var(--ink-mute);
    padding: 40px 0;
    font-size: 15px;
}

/* ---------- Atölye ---------- */

#atolye {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: clamp(60px, 9vw, 100px) clamp(20px, 5vw, 40px);
}

.atolye-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}

.atolye-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.atolye-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.atolye-text p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 18px;
}
.atolye-text .section-title { margin-bottom: 22px; }

.atolye-steps {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.atolye-steps li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    color: var(--ink);
    padding: 12px 16px;
    background: var(--surface-solid);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.atolye-steps span {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--accent);
}

/* ---------- Sergiler ---------- */

.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.exhibition-card { padding: clamp(26px, 3.2vw, 36px); }

.exhibition-card h3 {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.cv-list { list-style: none; padding: 0; margin: 0; }
.cv-list li {
    display: flex;
    gap: 14px;
    padding: 9px 0;
    font-size: 14.5px;
    line-height: 1.55;
}
.cv-year {
    flex: 0 0 62px;
    color: var(--accent);
    font-size: 12.5px;
    letter-spacing: .8px;
    padding-top: 2px;
}
.cv-text { color: var(--ink-soft); }

/* ---------- Footer ---------- */

footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(60px, 9vw, 100px) clamp(20px, 5vw, 40px) 40px;
    scroll-margin-top: calc(var(--header-h) + 34px);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 60px);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(30px, 4.5vw, 56px);
}

.footer-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.15;
}

.footer-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15.5px;
    max-width: 420px;
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }

.contact-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 3px;
}

.contact-list a {
    font-size: 16.5px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, color .3s ease;
    word-break: break-word;
}
.contact-list a:hover { color: var(--accent); border-bottom-color: var(--accent-soft); }

.contact-static { font-size: 16.5px; color: var(--ink); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink-mute);
    padding: 26px 6px 0;
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

/* ---------- Görünüme giriş ---------- */

.fade-in-section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}
.fade-in-section.is-visible { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: rgba(28, 23, 20, .78);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .35s ease;
}
.lightbox.active { display: flex; opacity: 1; }

.lightbox-figure {
    margin: 0;
    max-width: min(1000px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    transform: scale(.96);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.lightbox.active .lightbox-img { transform: scale(1); }

.lightbox-caption {
    color: #f0e9e2;
    font-size: 13.5px;
    letter-spacing: 1.2px;
    text-align: center;
}

.lightbox-close,
.lightbox-nav {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    flex-shrink: 0;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: #fff; color: var(--ink); border-color: #fff; }

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 26px;
    line-height: 1;
}

.lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 1;
    padding-bottom: 4px;
}

/* ---------- Duyarlı ---------- */

@media (max-width: 1000px) {
    .about-grid { grid-template-columns: 1fr; }
    .quick-info-card { position: static; }
    .exhibitions-grid { grid-template-columns: 1fr; }
    .atolye-inner { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }

    /* Not: header'daki backdrop-filter, fixed konumlu çocuklar için
       kapsayıcı blok oluşturur. Bu yüzden menü yüksekliği açıkça verilir. */
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100dvh - var(--header-h));
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: #f4f0ea;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(-110%);
        visibility: hidden;
        transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .45s;
        z-index: 999;
    }
    body.nav-open .site-nav {
        transform: translateY(0);
        visibility: visible;
        transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s;
    }

    .site-nav a {
        margin: 0;
        font-family: var(--serif);
        font-size: 27px;
        letter-spacing: 1px;
        text-transform: none;
        text-align: center;
        padding: 14px 0;
        color: var(--ink);
    }
    .site-nav a::after { display: none; }

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

    .lightbox-nav {
        position: absolute;
        bottom: 26px;
        width: 46px;
        height: 46px;
    }
    .lightbox-prev { left: 22px; }
    .lightbox-next { right: 22px; }
    .lightbox-figure { max-width: 92vw; }
    .lightbox-img { max-height: 68vh; }
}

@media (max-width: 560px) {
    .logo { font-size: 15px; letter-spacing: 1.6px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .atolye-steps { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 100%; text-align: center; }
    .cv-list li { flex-direction: column; gap: 2px; }
    .cv-year { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .hero-content { opacity: 1; transform: none; }
}

@media print {
    .site-header, .hero, .filters, .lightbox, .scroll-cue { display: none !important; }
    body { background: #fff; }
    .fade-in-section { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Açılış animasyonu — porselen bardağın boyanması
   ========================================================= */

body.is-loading { overflow: hidden; }

.preloader {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(170deg, #faf7f2 0%, #f1ece4 55%, #e9e1d6 100%);
    transition: opacity .6s ease, visibility 0s linear .6s;
}

.preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cup {
    width: clamp(150px, 28vw, 210px);
    height: auto;
    overflow: visible;
}

/* konturlar: JS stroke-dash ile çizdiriyor */
.cup .draw {
    fill: none;
    stroke: #3d352d;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.cup .motif-stem { stroke: #3f5c86; stroke-width: 1.9; }

/* sır dolumu */
.cup .sir {
    transform: scaleY(0);
    transform-origin: 120px 226px;
    animation: sirDol .85s cubic-bezier(.4, 0, .2, 1) .78s forwards;
}

@keyframes sirDol {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* fırça ile konan yapraklar ve tomurcuklar */
.cup .motif-leaves ellipse,
.cup .motif-buds circle {
    fill: #3f5c86;
    opacity: 0;
    transform: scale(.2);
    transform-box: fill-box;
    transform-origin: center;
    animation: fircaVurusu .42s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.cup .motif-leaves ellipse { animation-delay: calc(1180ms + var(--i) * 62ms); }
.cup .motif-buds circle    { animation-delay: calc(1500ms + var(--i) * 70ms); }

@keyframes fircaVurusu {
    from { opacity: 0; transform: scale(.2); }
    60%  { opacity: 1; transform: scale(1.18); }
    to   { opacity: .92; transform: scale(1); }
}

.preloader-name,
.preloader-sub {
    margin: 0;
    opacity: 0;
    animation: adBelir .8s ease forwards;
}

.preloader-name {
    font-family: var(--serif);
    font-size: clamp(21px, 3.6vw, 29px);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink);
    animation-delay: 1.3s;
}

.preloader-sub {
    font-size: 10.5px;
    letter-spacing: 3.6px;
    text-transform: uppercase;
    color: var(--accent);
    animation-delay: 1.55s;
}

@keyframes adBelir {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Bölüm geçişi — fırça darbesi perdesi
   ========================================================= */

.page-wipe {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    pointer-events: none;
    visibility: hidden;
}
.page-wipe.is-active { visibility: visible; }

.wipe-col {
    flex: 1 1 20%;
    background: linear-gradient(180deg, #f6f2ec 0%, #ece5da 100%);
    transform: scaleY(0);
    transform-origin: top center;
    border-radius: 0 0 46% 54% / 0 0 34px 28px;
    transition: transform .36s cubic-bezier(.65, 0, .35, 1);
    transition-delay: calc(var(--i) * 38ms);
}

.page-wipe.is-in .wipe-col { transform: scaleY(1.04); }

.page-wipe.is-out .wipe-col {
    transform-origin: bottom center;
    transform: scaleY(0);
    border-radius: 54% 46% 0 0 / 28px 34px 0 0;
    transition-delay: calc((4 - var(--i)) * 38ms);
}

.wipe-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    transform: translate(-50%, -50%) scale(.86);
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.4;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity .3s ease, transform .5s ease;
}
.page-wipe.is-in .wipe-mark { opacity: .75; transform: translate(-50%, -50%) scale(1); }

/* =========================================================
   Başlık altı fırça çizgisi
   ========================================================= */

.brush-rule {
    display: block;
    width: 168px;
    max-width: 70%;
    height: 11px;
    margin-top: 14px;
    overflow: visible;
}

.brush-rule path {
    fill: none;
    stroke: var(--accent-soft);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 210;
    stroke-dashoffset: 210;
}

.fade-in-section.is-visible .brush-rule path {
    animation: cizgiCiz 1.1s cubic-bezier(.5, 0, .2, 1) .35s forwards;
}

@keyframes cizgiCiz {
    to { stroke-dashoffset: 0; }
}

/* =========================================================
   Hareket azaltma tercihi
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .preloader { display: none; }
    .page-wipe { display: none; }
    .brush-rule path { stroke-dashoffset: 0; }
    .cup .sir { transform: scaleY(1); }
    .cup .motif-leaves ellipse,
    .cup .motif-buds circle { opacity: .92; transform: none; }
}

/* hızlı açılış (aynı oturumda tekrar ziyaret) */
.preloader.hizli .cup .sir { animation-delay: 0s; animation-duration: .34s; }
.preloader.hizli .cup .motif-leaves ellipse { animation-delay: calc(var(--i) * 22ms); animation-duration: .26s; }
.preloader.hizli .cup .motif-buds circle    { animation-delay: calc(130ms + var(--i) * 22ms); animation-duration: .26s; }
.preloader.hizli .preloader-name { animation-delay: .05s; animation-duration: .4s; }
.preloader.hizli .preloader-sub  { animation-delay: .14s; animation-duration: .4s; }

/* açılış animasyonu biterken hero girişi başlasın */
body.is-loading .hero-content { animation-play-state: paused; }

/* hakkında bölümü kapanış cümlesi */
.about-card .about-close {
    font-family: var(--serif);
    font-size: clamp(18px, 2.1vw, 22px);
    line-height: 1.6;
    color: var(--ink);
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

/* kısa bilgiler kartındaki linkler */
.info-list dd a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-soft);
    transition: color .3s ease;
}
.info-list dd a:hover { color: var(--accent); }

.contact-static { line-height: 1.5; display: block; }

/* menüdeki mağaza linki */
.site-nav .nav-shop { color: var(--accent); }
.site-nav .nav-shop::after { background: var(--accent); }
