/* denizaltiokerduran.com.tr — iki kapılı giriş: Özgeçmiş | Portfolyo */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #faf7f0;
  --navy: #17324d;
  --bronze: #8a5a2b;
  --ink: #17123b;
  --cream: #fff6ea;
  --sun: #ffc72c;
  --pink: #ff5fa2;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 3.4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--ink); color: var(--ink); font-family: "Bricolage", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: -6px; }

.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); pointer-events: none; }
.top__domain { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--navy); opacity: .7; }
.top__lang { pointer-events: auto; display: flex; gap: 2px; background: rgba(255, 246, 234, .85); backdrop-filter: blur(8px); border-radius: 999px; padding: 4px; box-shadow: 0 6px 20px rgba(23, 18, 59, .12); }
.top__lang a { font-size: 13px; font-weight: 700; padding: 7px 11px; border-radius: 999px; opacity: .5; }
.top__lang a.is-current { background: var(--ink); color: var(--cream); opacity: 1; }
.top__lang a:hover { opacity: 1; }

.split { position: relative; display: flex; height: 100svh; min-height: 560px; }
.side { position: relative; flex: 1 1 0; overflow: hidden; display: flex; align-items: flex-end; padding: var(--gutter); padding-bottom: calc(var(--gutter) + 46px); isolation: isolate; transition: flex-grow .9s var(--ease); }
.split.hover-cv .side--cv, .split.hover-pf .side--pf { flex-grow: 1.45; }
.split.hover-cv .side--pf, .split.hover-pf .side--cv { flex-grow: .75; }
.side__bg { position: absolute; inset: 0; z-index: -3; }
.side--cv .side__bg {
  background:
    linear-gradient(90deg, rgba(23, 50, 77, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 50, 77, .04) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(138, 90, 43, .14), transparent 32%),
    linear-gradient(180deg, #faf7f0 0%, #f3efe7 60%, #eee8df 100%);
  background-size: 36px 36px, 36px 36px, auto, auto;
}
.side__bg--gradient {
  background:
    radial-gradient(60% 70% at 20% 20%, var(--sun), transparent 60%),
    radial-gradient(50% 60% at 85% 25%, var(--pink), transparent 60%),
    radial-gradient(60% 70% at 70% 90%, #10c7b7, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, #2c64ff, transparent 60%), var(--cream);
}
.side__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }

.side__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.side__kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.side--cv .side__kicker { color: var(--bronze); }
.side__title { display: block; overflow: hidden; line-height: .9; padding-bottom: .06em; }
.side__title .rise { display: inline-block; }
.side__title--serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(64px, 9vw, 150px); letter-spacing: -.02em; color: var(--navy); }
.side__title--display { font-family: "Bricolage", sans-serif; font-weight: 800; font-stretch: 78%; font-size: clamp(64px, 10vw, 168px); letter-spacing: -.045em; color: var(--ink); }
.side__desc { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; max-width: 34ch; }
.side--cv .side__desc { color: #4f5b67; font-family: "Bricolage", sans-serif; }
.side__cta { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; margin-top: 6px; }
.side__cta i { font-style: normal; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; transition: transform .6s var(--ease); }
.side--cv .side__cta { color: var(--navy); }
.side--cv .side__cta i { background: var(--navy); color: var(--paper); }
.side--pf .side__cta i { background: var(--ink); color: var(--sun); }
.side:hover .side__cta i { transform: translateX(6px) rotate(-45deg); }

/* CV tarafı: kâğıt yığını */
.papers { position: absolute; right: 16%; top: 11%; width: min(20vw, 270px); aspect-ratio: 8.5 / 11; z-index: 0; }
.paper { position: absolute; inset: 0; background: #fff; border-radius: 6px; box-shadow: 0 24px 60px rgba(23, 50, 77, .16); transition: transform .9s var(--ease); }
.paper--3 { transform: rotate(-8deg) translate(-18px, 10px); background: #f1ebe0; }
.paper--2 { transform: rotate(-3deg) translate(-6px, 4px); background: #f7f3ec; }
.paper--1 { transform: rotate(3deg); padding: 9% 9%; display: flex; flex-direction: column; gap: 5.5%; }
.side--cv:hover .paper--3 { transform: rotate(-14deg) translate(-44px, 18px); }
.side--cv:hover .paper--2 { transform: rotate(-6deg) translate(-20px, 6px); }
.side--cv:hover .paper--1 { transform: rotate(5deg) translate(10px, -10px); }
.paper__head { display: flex; gap: 8%; align-items: center; margin-bottom: 4%; }
.paper__photo { width: 22%; aspect-ratio: 1; background: url("../img/cv-photo.jpg") center / cover, #e8e2d8; border-radius: 4px; }
.paper__lines { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.paper__lines i { display: block; height: 10px; background: var(--navy); border-radius: 2px; width: 80%; }
.paper__lines i + i { height: 6px; width: 50%; background: var(--bronze); }
.paper .l { display: block; height: 5px; background: #d9e0e6; border-radius: 3px; }
.paper .rule { display: block; height: 2px; background: var(--bronze); margin: 2% 0; }
.w90 { width: 90%; } .w85 { width: 85%; } .w80 { width: 80%; } .w75 { width: 75%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }

/* Portfolyo tarafı: doodle'lar */
.doodles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.dd { position: absolute; }
.dd--star { width: 76px; right: 14%; top: 18%; }
.dd--sun { width: 96px; left: 12%; top: 16%; }
.dd--squiggle { width: 150px; right: 34%; top: 47%; }
.dd--sticker { right: 9%; top: 31%; background: var(--ink); color: var(--sun); font-weight: 800; font-stretch: 85%; font-size: clamp(16px, 1.4vw, 22px); padding: 16px 22px; border-radius: 999px; rotate: -8deg; box-shadow: 0 16px 34px rgba(23, 18, 59, .25); }

/* Orta marka */
.brand { position: absolute; left: 50%; top: 34%; translate: -50% -50%; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; transition: left .9s var(--ease); }
.brand img { width: clamp(92px, 9vw, 128px); height: auto; background: var(--paper); border-radius: 50%; padding: 12px; box-shadow: 0 20px 50px rgba(23, 18, 59, .22); }
.brand__name { margin-top: 14px; background: var(--ink); color: var(--cream); font-weight: 750; font-stretch: 88%; font-size: clamp(15px, 1.25vw, 19px); padding: 10px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 12px 30px rgba(23, 18, 59, .25); }
.brand__tag { margin-top: 8px; font-family: "Instrument Serif", serif; font-style: italic; font-size: clamp(16px, 1.3vw, 20px); color: var(--ink); background: rgba(255, 246, 234, .9); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.split.hover-cv .brand { left: 59%; }
.split.hover-pf .brand { left: 41%; }

.foot { position: fixed; left: 0; right: 0; bottom: 14px; z-index: 20; display: flex; justify-content: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink); pointer-events: none; }
.foot a, .foot span { pointer-events: auto; background: rgba(255, 246, 234, .82); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.foot span[aria-hidden] { background: none; backdrop-filter: none; padding: 6px 0; }

.wipe { position: fixed; inset: 0; z-index: 50; pointer-events: none; transform: scaleY(0); transform-origin: bottom; }

@media (max-width: 800px) {
  body { overflow: auto; }
  .split { flex-direction: column; height: auto; min-height: 100svh; }
  .side { min-height: 50svh; padding-bottom: calc(var(--gutter) + 20px); }
  .side--pf { padding-bottom: calc(var(--gutter) + 60px); }
  .split.hover-cv .side, .split.hover-pf .side { flex-grow: 1; }
  .papers { width: 28vw; right: 7%; top: 12%; }
  .split.hover-cv .papers { right: 7%; }
  .brand { top: 50%; translate: -50% -50%; }
  .split.hover-cv .brand, .split.hover-pf .brand { left: 50%; }
  .brand img { width: 84px; padding: 9px; }
  .brand__tag { display: none; }
  .dd--squiggle { display: none; }
  .dd--sticker { bottom: auto; top: 16%; right: 8%; }
  .dd--sun { width: 70px; left: auto; right: 40%; top: 12%; }
  .dd--star { width: 56px; top: 34%; right: 12%; }
  .side--cv .side__copy { max-width: 60%; }
  .side--cv .side__desc { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.dd--sticker { transition: opacity .5s var(--ease); }
.split.hover-cv .dd--sticker, .split.hover-cv .dd--squiggle { opacity: 0; }
.papers { transition: right .9s var(--ease); }
.split.hover-cv .papers { right: 22%; }
