/* ARKNOVA — Görsel kimlik ve hareket
   Ek kütüphane gerektirmez. Renkler ve geçişler buradan düzenlenebilir. */
:root { --paper: #f6f4ef; --ink: #242521; --accent: #8a6c4b; }
body { background: #fcfbf8; }
.header { background: #fcfbf8f5; }
.home-page .header {
  position: fixed; width: 100%; color: white; background: transparent;
  border-bottom: 1px solid #ffffff30; backdrop-filter: none;
  padding-inline: var(--gutter);
}
.home-page .header .brand img { filter: invert(1); }
.home-page .header { transition: background .3s, color .3s, border-color .3s; }
.home-page.header-solid .header { background: #fcfbf8f5; color: var(--ink); border-color: var(--line); backdrop-filter: blur(12px); }
.home-page.header-solid .header .brand img { filter: none; }
.home-page.header-solid .desktop-nav a:hover { border-color: var(--ink); }
.home-page .desktop-nav a:hover { border-color: white; }
.home-page.menu-open .header { position: fixed; background: var(--paper); color: var(--ink); }
.home-page.menu-open .header .brand img { filter: none; }
.home-page .mobile-menu { background: var(--paper); }
.home-hero { height: 100svh; min-height: 740px; max-height: 1200px; }
.hero-overlay {
  background: linear-gradient(90deg, #111813aa 0%, #11181322 75%),
    linear-gradient(180deg, #10151080, transparent 30%, transparent 62%, #101510bb);
}
.hero-copy { padding: clamp(170px, 24svh, 270px) var(--gutter) 175px; }
.hero-copy h1 { font-size: clamp(4rem, 6.9vw, 8rem); font-weight: 400; line-height: 1.09; margin: 27px 0 23px; letter-spacing: -.065em; }
.hero-line { display: block; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-line > span { display: block; }
.hero-copy .kicker { font-size: .66rem; letter-spacing: .21em; }
.hero-description { color: #f3f0e7; font-size: .9rem; line-height: 1.9; margin-bottom: 27px; }
.hero-copy .button.white { border: 0; border-bottom: 1px solid #fff8; padding: 8px 0 13px; gap: 45px; min-height: 48px; }
.hero-copy .button.white:hover { background: transparent; color: white; border-color: white; }
.hero-copy .button span { font-size: 1.5rem; transition: transform .3s; }
.hero-copy .button:hover span { transform: translate(3px, -3px); }
.hero-meta { bottom: 32px; padding-top: 20px; }
.hero-meta .kicker { font-size: .62rem; letter-spacing: .19em; color: #dddcd2; }
.hero-meta > div:first-child { min-width: 210px; }
.hero-tabs { gap: 14px; }
.hero-tabs button { position: relative; padding: 9px 20px; color: #e3e2da; border: 0; }
.hero-tabs button::after { content: ''; position: absolute; height: 1px; background: #ffffff55; left: 0; right: 0; bottom: 0; }
.hero-tabs button[aria-pressed=true]::after { background: #fff; }
.hero-scroll { display: flex; align-items: center; gap: 24px; font-size: .62rem; letter-spacing: .14em; min-height: 48px; }
.hero-scroll span { font-size: 1.25rem; }
.hero-slide { transition: opacity 1s ease; }
.hero-project-enter { animation: section-enter .6s ease both; }
#hero-project { display: inline-block; }
.hero-slide.is-active { animation: image-settle 4s cubic-bezier(.2,.6,.2,1) both; }
.intro { padding-block: 135px; }
.intro h2 { font-size: clamp(2.4rem,4.3vw,5rem); font-weight: 400; }
.intro h2 span { color: #858578; }
.intro .kicker { position: relative; padding-top: 19px; }
.intro .kicker::before { content: ''; position: absolute; top: 0; left: 0; width: 38px; height: 1px; background: #8a6c4b; }
.section-heading .kicker { color: #797666; }
.editorial-grid { row-gap: 85px; }
.card-image { overflow: hidden; }
.card-image img { transition: transform 1.2s cubic-bezier(.2,.65,.25,1); }
.project-card a:hover .card-image img { transform: scale(1.035); }
.card-title { padding-top: 20px; }
.card-title h3 { font-weight: 400; }
.card-index { background: #fcfbf8e8; }
.line-link { transition: color .25s; }
.intro-replay { border: 0; background: transparent; padding: 10px 0; font-size: .75rem; min-height: 44px; color: inherit; }
.intro-replay span { margin-left: 12px; }

/* Marka perdesi içerik yüklenmesini bekletmez; CSS tek başına da kapanır. */
.brand-intro { display: none; }
.intro-enabled .brand-intro {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); pointer-events: none;
  animation: curtain-exit .9s cubic-bezier(.76,0,.24,1) 2.1s forwards;
}
.intro-brand-frame { width: min(320px, 65vw); text-align: center; position: relative; padding: 34px 24px; }
.intro-brand-frame::before, .intro-brand-frame::after { content: ''; position: absolute; width: 20px; height: 20px; border-color: #b5ab9c; border-style: solid; }
.intro-brand-frame::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.intro-brand-frame::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.intro-brand-frame img { width: 250px; height: auto; margin: auto; animation: logo-draw 1.5s cubic-bezier(.2,.7,.2,1) both; }
.intro-brand-frame p { margin: 24px 0 0; font-size: .6rem; letter-spacing: .18em; animation: copy-enter 1s .6s both; }
.intro-rule { position: absolute; width: 1px; height: 36px; top: -62px; left: 50%; background: #b5ab9c; }
.intro-signature { position: absolute; bottom: 30px; font-size: .57rem; letter-spacing: .18em; color: #767369; }
.motion-ready .hero-line > span { animation: copy-enter 1s cubic-bezier(.2,.7,.15,1) both; }
.motion-ready .hero-line:nth-child(2) > span { animation-delay: .13s; }
.motion-ready .hero-copy .kicker { animation: copy-enter .8s .05s both; }
.motion-ready .hero-description { animation: copy-enter .8s .2s both; }
.motion-ready .hero-copy .button { animation: copy-enter .8s .3s both; }
.intro-sequence.motion-ready .hero-line > span { animation-delay: 2.3s; }
.intro-sequence.motion-ready .hero-line:nth-child(2) > span { animation-delay: 2.44s; }
.intro-sequence.motion-ready .hero-copy .kicker { animation-delay: 2.2s; }
.intro-sequence.motion-ready .hero-description { animation-delay: 2.5s; }
.intro-sequence.motion-ready .hero-copy .button { animation-delay: 2.6s; }
.intro-skipped .hero-copy * { animation: none !important; }
.reveal-in { animation: section-enter .85s cubic-bezier(.2,.65,.2,1) both; }
@keyframes copy-enter { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }
@keyframes section-enter { from { opacity: .2; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes logo-draw { from { clip-path: inset(0 100% 0 0); transform: translateY(8px); } to { clip-path: inset(0); transform: none; } }
@keyframes curtain-exit { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes image-settle { from { transform: scale(1.045); } to { transform: scale(1); } }

@media (max-width: 850px) {
  .home-hero { min-height: 670px; max-height: 1100px; }
  .hero-copy { padding-top: clamp(155px,24svh,230px); padding-bottom: 165px; }
  .hero-copy h1 { font-size: clamp(2.7rem,8.7vw,5rem); max-width: none; }
  .hero-scroll { display: none; }
  .intro { padding-block: 80px; }
  .editorial-grid { row-gap: 45px; }
}
@media (max-width: 560px) {
  .home-hero { min-height: 640px; }
  .hero-copy { padding-top: clamp(140px,23svh,205px); }
  .hero-copy h1 { font-size: clamp(2.55rem,9.4vw,3.4rem); margin-block: 26px 22px; }
  .hero-copy .kicker { max-width: none; font-size: .57rem; letter-spacing: .14em; }
  .hero-description { font-size: .81rem; }
  .hero-meta { bottom: 25px; gap: 15px; }
  .hero-meta > div:first-child { min-width: 0; max-width: 52%; }
  .hero-meta > div > a { font-size: .8rem; }
  .hero-tabs { gap: 7px; }
  .hero-tabs button { padding-inline: 9px; min-width: 40px; }
  .intro h2 { font-size: clamp(2rem,8vw,2.8rem); }
}
/* Mobil öncelikli düzen ve bütün sayfalarda ortak geçiş ritmi. */
:root { --flow-ease: cubic-bezier(.22,.65,.25,1); }
.hero-slide { transform: scale(1.025); transition: opacity 1.2s var(--flow-ease), transform 6s ease-out; }
.hero-slide.is-active { animation: none; transform: scale(1); }
.hero-play { order: 4; font-size: 1.1rem; }
.hero-tabs button { min-width: 48px; min-height: 48px; }
.hero-tabs button:focus-visible { outline-color: white; }
.gallery-image-enter { animation: gallery-arrive .45s var(--flow-ease) both; }
@keyframes gallery-arrive { from { opacity: .45; transform: scale(.99); } to { opacity: 1; transform: none; } }
.gallery-trigger img { transition: transform .8s var(--flow-ease); }
.mobile-menu:not([hidden]) { animation: menu-arrive .35s var(--flow-ease) both; }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.intro-skip { display: none; }
.intro-enabled .intro-skip { display: block; position: fixed; bottom: 64px; right: 6%; z-index: 91; border: 0; background: transparent; min-width: 64px; min-height: 48px; font-size: .8rem; }
@media (hover: none) {
  .project-card a:hover .card-image > img, .gallery-trigger:hover img { transform: none; }
  .card-open { opacity: 1; transform: none; }
}
@media (max-width: 850px) {
  .header { padding-inline: max(20px,env(safe-area-inset-left)); }
  .mobile-menu { padding-bottom: max(32px,env(safe-area-inset-bottom)); }
  .mobile-menu > a { min-height: 54px; }
  .home-hero { display: flex; flex-direction: column; justify-content: space-between; min-height: 660px; height: 100svh; max-height: none; }
  .hero-copy { padding: clamp(140px,22svh,205px) var(--gutter) 40px; }
  .hero-meta { position: relative; inset: auto; margin: 0 var(--gutter) max(20px,env(safe-area-inset-bottom)); flex-shrink: 0; }
  .hero-copy .button.white { font-size: .875rem; line-height: 1.5; min-height: 48px; }
  .hero-description { font-size: .9375rem; }
  .project-story, .gallery-section, .process-steps { scroll-margin-top: 88px; }
  .project-story > *, .service-links > *, .contact-details > * { min-width: 0; }
  .gallery-grid { gap: 28px 18px; }
}
@media (max-width: 560px) {
  :root { --gutter: 6vw; }
  .home-hero { min-height: 640px; }
  .hero-copy { padding-top: clamp(132px,21svh,190px); padding-bottom: 35px; }
  .hero-copy h1 { font-size: clamp(2.5rem,9.5vw,3.5rem); line-height: 1.12; margin-block: 24px; }
  .hero-copy .kicker { font-size: .64rem; letter-spacing: .09em; line-height: 1.8; }
  .hero-description { font-size: .875rem; line-height: 1.8; margin-bottom: 22px; }
  .hero-meta { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 15px; }
  .hero-meta > div:first-child { max-width: none; display: flex; gap: 15px; justify-content: space-between; align-items: baseline; }
  .hero-meta .kicker { flex-shrink: 0; font-size: .6rem; }
  #hero-project { text-align: right; font-size: .8rem; line-height: 1.55; }
  .hero-tabs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
  .hero-tabs button { padding: 8px; min-width: 48px; min-height: 48px; }
  .intro, .process-teaser-copy { padding-top: 64px; padding-bottom: 64px; }
  .selected, .home-services, .gallery-section, .team-grid { padding-bottom: 64px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .process-teaser-copy h2 { font-size: clamp(1.9rem,7.7vw,2.6rem); line-height: 1.16; }
  .editorial-grid, .archive-grid { gap: 36px; }
  .project-grid .card-image > img, .editorial-grid .project-card:nth-child(2n) .card-image > img { aspect-ratio: 1; object-fit: cover; }
  .card-title { padding-top: 15px; gap: 8px 12px; }
  .card-title h3 { font-size: 1.3rem; line-height: 1.3; }
  .card-title > span { font-size: .75rem; }
  .project-cover .cover-trigger img { aspect-ratio: auto; height: auto; max-height: 76svh; object-fit: contain; }
  .gallery-item img, .gallery-item.full img { aspect-ratio: auto; height: auto; object-fit: contain; }
  .zoom-label { min-height: 44px; padding: 9px 12px; right: 12px; bottom: 12px; }
  .project-story { padding-block: 40px 50px; gap: 35px; }
  .project-story aside dl { grid-template-columns: 1fr; }
  .project-story dl > div { grid-template-columns: minmax(90px,.7fr) 1.3fr; }
  .project-pagination { gap: 16px; }
  .project-pagination span { font-size: 1rem; overflow-wrap: anywhere; }
  .process-teaser > div:first-child > img { height: auto; aspect-ratio: 1.15; object-fit: cover; }
  .lightbox-controls button { min-width: 48px; }
  .lightbox-thumbs button { min-width: 56px; }
  .lightbox-bar { gap: 12px; }
  #lightbox-label { font-size: .8rem; line-height: 1.5; }
  #lightbox-count { font-size: .75rem; line-height: 1.4; text-align: center; }
  .contact-form { padding-inline: 20px; }
  .intro-signature { font-size: .6rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .home-hero { min-height: 620px; }
  .hero-copy { padding-top: 125px; }
}
/* Fotoğraf çerçeveleri: ortak, yumuşak köşeler. */
:root { --photo-radius: 26px; --photo-radius-large: 36px; }
.card-image,
.gallery-trigger,
.service-card > div:first-child,
.process-teaser > div:first-child {
  border-radius: var(--photo-radius);
  overflow: hidden;
  isolation: isolate;
}
.card-image {
  box-shadow: 0 8px 24px #29251b08;
}
.team-teaser img,
.team-grid article > img,
.process-teaser > div:first-child > img,
.cover-trigger img,
.gallery-item img {
  border-radius: var(--photo-radius);
}
.home-hero, .sub-hero {
  border-radius: 0 0 var(--photo-radius-large) var(--photo-radius-large);
  isolation: isolate;
}
.zoom-label { border-radius: 999px; }
.card-open { border-radius: 12px; }
.card-index { border-radius: 0 0 12px 0; }
.lightbox-stage img { border-radius: 14px; }
.lightbox-thumbs button { border-radius: 8px; overflow: hidden; }
@media (max-width: 560px) {
  :root { --photo-radius: 20px; --photo-radius-large: 26px; }
  .project-cover.wrap { padding-inline: var(--gutter); }
  .zoom-label { font-size: .65rem; gap: 12px; }
  .card-open { border-radius: 10px; }
  .lightbox-stage img { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .intro-enabled .brand-intro { display: none !important; }
  .intro-replay, .intro-enabled .intro-skip, .hero-play { display: none; }
}
