.site-footer{justify-content:space-between;gap:24px;padding-block:28px}.site-footer a{margin-left:0}.site-footer .footer-logo{width:300px;max-width:100%;height:auto;flex-shrink:0}.site-footer .footer-logo:after{font-size:11px}.footer-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 28px;font-size:16px;min-width:0}.footer-links a{padding-block:10px;overflow-wrap:anywhere}.footer-links a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:5px}
@media(max-width:850px){.site-footer{align-items:flex-start;flex-direction:column}.footer-links{justify-content:flex-start;gap:8px 24px}}
@media(max-width:420px){.footer-links a:first-child{flex-basis:100%}}
#projeler .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.all-projects-link{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:28px;border-top:1px solid #d8e2e8;padding-top:24px}.all-projects-link strong{font-size:21px}.all-projects-link p{font-size:16px;color:#536977;margin:6px 0 0}.all-projects-link .button{font-size:16px;white-space:nowrap;padding:14px 20px}
.archive-page h1{font-size:36px;line-height:1.15;margin:0}.archive-page .reference-archive{margin-top:0}.archive-page{min-height:65vh}nav a[aria-current=page]{color:var(--accent)}
.hero-copy .button,.all-projects-link .button{background:transparent;border:0;padding:0;min-height:56px;gap:20px;font-size:18px;font-weight:600;align-items:center}
.hero-copy .button{color:white;min-height:64px;padding:8px 16px 8px 20px;border:1px solid #ffffff70;border-radius:4px;background:#003e5666;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);box-shadow:inset 0 1px 0 #ffffff18;text-shadow:0 1px 3px #00304480;transition:background .2s,border-color .2s}.all-projects-link .button{color:var(--ink)}
.hero-copy .button>span,.all-projects-link .button>span{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:0 55% 55% 55%;transform:rotate(45deg);font-size:0;background:#fff;color:var(--accent);text-shadow:none;transition:transform .2s,background .2s}
.all-projects-link .button>span{background:var(--accent);color:white}
.hero-copy .button>span:after,.all-projects-link .button>span:after{content:'→';font-size:24px;font-weight:400;transform:rotate(-45deg)}
.hero-copy .button:hover{background:#00465c99;border-color:#ffffffb3}.all-projects-link .button:hover{background:transparent}
.hero-copy .button:focus-visible{outline:3px solid white;outline-offset:4px}
.hero-copy .button:hover>span,.all-projects-link .button:hover>span{transform:rotate(45deg) translate(-2px,-2px)}
@media(max-width:560px){.hero-copy .button{color:var(--ink);font-size:17px;min-height:60px;padding:8px 14px 8px 18px;background:#0087a00d;border-color:#0087a04d;text-shadow:none;box-shadow:none}.hero-copy .button:hover{background:#0087a01a;border-color:#0087a080}.hero-copy .button:focus-visible{outline-color:var(--accent)}.hero-copy .button>span{background:var(--accent);color:white}.hero-copy .button>span,.all-projects-link .button>span{width:42px;height:42px;flex-basis:42px}.all-projects-link .button{font-size:17px}}
@media(prefers-reduced-motion:reduce){.hero-copy .button,.hero-copy .button>span,.all-projects-link .button>span{transition:none}}
@media(max-width:650px){.all-projects-link{align-items:flex-start;flex-direction:column}.archive-page h1{font-size:29px}}
#projeler .project-grid article{grid-template-columns:38% 62%;min-width:0;overflow:hidden}
#projeler .project-photo{width:100%;height:100%;min-height:230px;aspect-ratio:auto;align-self:stretch;background-repeat:no-repeat}
#projeler .project-photo-mks{background-image:url('assets/project-mks-site.jpg');background-size:cover;background-position:50% 62%}
#projeler .project-photo-galataport{background-image:url('assets/project-galataport-site.jpg');background-size:cover;background-position:100% 65%}
#projeler .project-photo-gurpinar{background-image:url('assets/project-gurpinar-aerial-enhanced.png');background-size:cover;background-position:50% 56%}
#projeler .project-photo-avsa{background-image:url('assets/project-avsa-selected-hd.png');background-size:cover;background-position:64% 50%}
#projeler .project-content{padding:24px;min-width:0}
#projeler .project-type{display:block;font-size:12px;line-height:1.4;margin:0 0 12px;color:var(--accent)}
#projeler .project-content h3{font-size:23px;line-height:1.15;margin:0 0 12px}
#projeler .project-content strong{display:block;font-size:20px;line-height:1.25;color:var(--accent)}
#projeler .project-content p:not(.project-type){font-size:16px;line-height:1.5;margin:14px 0}
.project-year{font-size:14px;color:#536977}
.reference-archive{margin-top:48px;scroll-margin-top:28px;border-top:1px solid #d8e2e8;padding-top:32px}
.archive-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.archive-heading h3{font-size:25px;margin:0}.archive-heading p{font-size:15px;color:#536977;margin:0;white-space:nowrap}
.reference-controls{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;align-items:end;gap:16px;margin-bottom:24px}
.reference-controls label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;min-width:0}
.reference-controls input,.reference-controls select,.reference-controls button{font:inherit;font-size:16px;min-width:0;height:44px;border:1px solid #b8c9d3;border-radius:3px;background:#fff;color:var(--ink);padding:9px 12px;width:100%}
.reference-controls button{width:auto;background:transparent;font-size:14px;cursor:pointer}.reference-controls button:hover{background:#e7eef2}
.reference-controls :is(input,select):focus-visible{outline:3px solid #eaa338;outline-offset:3px}
.reference-table{width:100%;border-collapse:collapse;text-align:left;font-size:16px;line-height:1.45;table-layout:fixed}
.reference-table thead{border-bottom:2px solid #9ab5c2}.reference-table th,.reference-table td{padding:16px 14px;vertical-align:top;border-bottom:1px solid #d4e0e6;overflow-wrap:break-word}
.reference-table th:first-child,.reference-table td:first-child{padding-left:0}.reference-table thead th{font-size:14px;font-weight:600;color:#536977}.reference-table thead th:nth-child(1){width:12%}.reference-table thead th:nth-child(2){width:30%}.reference-table thead th:nth-child(3){width:37%}.reference-table thead th:nth-child(4){width:21%}
.reference-table tbody th{font-weight:600}.reference-table td{color:#536977}.reference-table td:last-child{color:#00738d;font-weight:600}.reference-table tbody tr:hover{background:#eaf1f5}.reference-table tr[hidden]{display:none}
.reference-empty{padding:28px 0;font-size:17px;color:#536977}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){#projeler .project-grid article{grid-template-columns:1fr}#projeler .project-photo{height:210px;min-height:0}.reference-controls{grid-template-columns:1fr 1fr}.reference-table th,.reference-table td{padding-inline:10px}}
@media(max-width:650px){#projeler .project-grid{grid-template-columns:1fr;gap:20px}#projeler .project-grid article{grid-template-columns:35% 65%}#projeler .project-photo{height:100%;min-height:200px}#projeler .project-content{padding:18px}#projeler .project-content h3{font-size:21px}#projeler .project-content strong{font-size:18px}.archive-heading{align-items:start;flex-direction:column;gap:8px}.archive-heading h3{font-size:24px}.reference-controls{gap:14px 12px}.reference-search{grid-column:1/-1}.reference-controls button{grid-column:1/-1;width:max-content}.reference-table,.reference-table tbody{display:block}.reference-table thead{display:none}.reference-table tbody tr{display:grid;grid-template-columns:1fr;gap:8px;border-top:1px solid #c4d5df;padding:20px 0}.reference-table tbody tr[hidden]{display:none}.reference-table th,.reference-table td{display:block;border:0;padding:0!important}.reference-table tbody th{font-size:18px;order:0}.reference-table td:first-child{order:1;font-size:14px}.reference-table td:nth-child(3){order:2}.reference-table td:last-child{order:3;font-size:15px}.reference-table td:first-child:before{content:'Dönem: ';font-weight:600}.reference-table tbody tr:hover{background:transparent}}

/* Selected layered navy treatment for the featured project cards. */
#projeler .project-grid{gap:32px 24px}
#projeler .project-grid article{grid-template-columns:minmax(0,38fr) minmax(0,62fr);padding:10px;background:var(--ink);border-radius:12px 12px 28px 12px;box-shadow:0 9px 0 #dbe7ee}
#projeler .project-photo{border:3px solid #fff;border-radius:5px;background-origin:border-box}
#projeler .project-content{padding:20px;overflow-wrap:anywhere}
#projeler .project-type{color:#8bdee8}
#projeler .project-content h3{color:#fff;font-weight:650;line-height:1.3}
#projeler .project-content strong{color:#8bdee8}
#projeler .project-content p:not(.project-type){color:#d8e7ed}
#projeler .project-year{color:#c0d4de}
@media(max-width:1050px){#projeler .project-grid article{grid-template-columns:minmax(0,1fr)}#projeler .project-photo{height:230px;min-height:0}#projeler .project-content{padding:22px 12px 14px}}
@media(max-width:650px){#projeler .project-grid{grid-template-columns:minmax(0,1fr);gap:32px}#projeler .project-photo{height:auto;min-height:0;aspect-ratio:4/3}#projeler .project-content{padding:22px 12px 14px}}

/* Water-drop feedback on the hero projects link. */
.hero-copy .button.is-dropping>span{background:#087bd5;color:#fff;animation:project-water-drop .65s cubic-bezier(.4,0,.75,.5) both;transition:none}
@keyframes project-water-drop{
  0%{transform:translateY(0) rotate(45deg);opacity:1;background:#087bd5}
  20%{transform:translateY(-5px) rotate(45deg) scale(.96,1.04);opacity:1}
  65%{transform:translateY(20px) rotate(45deg) scale(.92,1.06);opacity:1}
  100%{transform:translateY(54px) rotate(45deg) scale(.72);opacity:0;background:#005ba9}
}
@media(prefers-reduced-motion:reduce){.hero-copy .button.is-dropping>span{animation:none;transform:rotate(45deg);opacity:1}}

/* Direct home navigation, including outside the collapsed mobile menu. */
.header-home-link{order:3;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-height:42px;padding:9px 12px;border:1px solid #b9d4de;border-radius:5px;background:#e7f3f6;color:#006b84;font-size:13px;font-weight:650;white-space:nowrap}
.header-home-link svg{width:18px;height:18px;flex-shrink:0}
.header-home-link:hover{background:#d5edf2;border-color:#007f9e}
.has-home-link .logo{max-width:320px}
@media(max-width:1100px){.has-home-link .logo{max-width:270px}.has-home-link .menu{display:block}.has-home-link nav{display:none;position:absolute;top:100%;right:0;left:auto;min-width:245px;padding:18px 24px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 25px #08263d14}.has-home-link nav.open{display:flex;flex-direction:column;gap:4px}}
@media(max-width:560px){header.has-home-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto;height:auto;padding-block:12px;gap:8px}.has-home-link .logo{grid-column:1;grid-row:1;width:100%;max-width:100%;margin:0}.has-home-link .language-switch{grid-column:2;grid-row:1}.has-home-link .menu{grid-column:3;grid-row:1}.has-home-link .header-home-link{grid-column:1/-1;grid-row:2;justify-self:end;min-height:40px}.has-home-link nav{top:100%}}
