/* ============================================================
   YAYINLAR İNŞAAT MÜHENDİSLİK — Design System
   Concept: teknik çizim / plan-kesit dili + "temelden teslime"
   alacakaranlık hero animasyonu. Koyu lacivert zemin üzerinde
   pirinç (bronz) marka vurgusu; hesap diyagramlarında ayrı bir
   mühendislik-amber tonu. Aydınlık, dokulu içerik alanları.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@600;700&family=Public+Sans:ital,wght@0,400;0,500;0,600;1,400&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --ink: #0b1220;
  --navy: #16283f;
  --steel: #3b6f93;
  --steel-soft: #7fa0b8;
  --concrete: #b7b2a3;
  --paper: #f6f4ef;
  --paper-dim: #ece7dc;
  --line: #ddd7c8;
  --safety: #b8935a;
  --safety-dim: #93743f;
  --calc-accent: #f2a71b;
  --calc-accent-dim: #d38f10;
  --white: #ffffff;

  --hero-bg-top: #0b1220;
  --hero-bg-bottom: #14263c;
  --window-lit: #ffce70;
  --window-dim: rgba(255, 255, 255, 0.10);

  --font-display: 'Archivo Expanded', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'Roboto Mono', monospace;

  --measure: 68ch;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: var(--measure); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--steel);
}

/* ---------- layout shell with drawing-frame corners ---------- */

.sheet {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.frame-corner {
  position: fixed;
  width: 22px;
  height: 22px;
  border-color: var(--steel-soft);
  border-style: solid;
  opacity: 0.55;
  pointer-events: none;
  z-index: 40;
}
.frame-corner.tl { top: 18px; left: 18px; border-width: 2px 0 0 2px; }
.frame-corner.tr { top: 18px; right: 18px; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: 18px; left: 18px; border-width: 0 0 2px 2px; }
.frame-corner.br { bottom: 18px; right: 18px; border-width: 0 2px 2px 0; }

@media (max-width: 640px) {
  .frame-corner { display: none; }
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(241, 239, 233, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .sheet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.25;
  max-width: 220px;
}

.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--steel);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--steel);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--safety);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.active {
  color: var(--navy);
  font-weight: 600;
}

.nav-cta {
  border: 1.5px solid var(--navy);
  padding: 9px 18px !important;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.nav-toggle { display: none; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--steel-soft);
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--navy);
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 20px;
  }
}

/* ---------- section rhythm ---------- */

section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.eyebrow-line .tick {
  width: 28px;
  height: 1px;
  background: var(--safety);
}
.eyebrow-line span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel);
}

/* ---------- hero ---------- */

.hero {
  padding: 76px 0 88px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero.dark {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%);
  border-bottom: none;
  color: var(--white);
  padding-bottom: 108px;
}

.hero.dark h1 { color: var(--white); }

.hero.dark .hero-lede { color: rgba(246, 244, 239, 0.72); }

.hero.dark .eyebrow-line .tick { background: var(--safety); }
.hero.dark .eyebrow-line .mono { color: #9db6cc; }

.hero.dark .btn-solid {
  background: var(--safety);
  border-color: var(--safety);
  color: var(--ink);
  font-weight: 700;
}
.hero.dark .btn-solid:hover { background: var(--safety-dim); border-color: var(--safety-dim); }

.hero.dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.hero.dark .btn-outline:hover { background: var(--white); color: var(--navy); }

/* açılış perdesi */
.hero.dark { overflow: hidden; }

.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--ink);
  z-index: 6;
}
.curtain-left {
  left: 0;
  animation: curtain-open-left 0.75s cubic-bezier(.7,0,.3,1) 0.15s both;
}
.curtain-right {
  right: 0;
  animation: curtain-open-right 0.75s cubic-bezier(.7,0,.3,1) 0.15s both;
}
@keyframes curtain-open-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes curtain-open-right {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

/* metin giriş koreografisi */
.reveal-item, .reveal-line {
  opacity: 0;
  animation: text-reveal 0.65s cubic-bezier(.22,.9,.32,1) both;
}
.reveal-line { display: inline-block; }
@keyframes text-reveal {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .reveal-item, .reveal-line { animation: none; opacity: 1; transform: none; }
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.hero-scroll-cue .cue-line {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.hero-scroll-cue .cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--safety);
  animation: cue-drop 2.4s ease-in-out infinite;
}
@keyframes cue-drop {
  0%   { top: -100%; }
  55%  { top: 100%; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .cue-line::after { animation: none; top: 0; }
}
@media (max-width: 900px) {
  .hero-scroll-cue { display: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

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

.hero h1 { margin-bottom: 22px; }

.hero-lede {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 46ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid var(--navy);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11, 18, 32, 0.14); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-solid {
  background: var(--navy);
  color: var(--white);
}
.btn-solid:hover { background: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-figure svg { width: 100%; height: auto; position: relative; z-index: 1; }

.hero-figure {
  position: relative;
  overflow: hidden;
}

.hero-figure::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: bldg-grid-drift 24s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 55% 48%, black 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 62% at 55% 48%, black 30%, transparent 78%);
  z-index: 0;
}

/* ---------- "temelden teslime" hero animation ---------- */

@keyframes bldg-grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 38px 38px, 38px 38px; }
}
@keyframes bldg-grow-y {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes bldg-grow-x {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes bldg-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bldg-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bldg-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes bldg-glow {
  from { opacity: 0; }
  to   { opacity: 0.9; }
}
@keyframes bldg-draw {
  from { stroke-dashoffset: 420; }
  to   { stroke-dashoffset: 0; }
}
@keyframes bldg-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes bldg-flicker {
  0%, 82%, 100% { opacity: 1; }
  88% { opacity: 0.35; }
  93% { opacity: 0.9; }
}
@keyframes bldg-flash {
  0%   { opacity: 0; }
  15%  { opacity: 0.85; }
  100% { opacity: 0; }
}
@keyframes bldg-particle-rise {
  0%   { opacity: 0; transform: translateY(0); }
  15%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-46px); }
}
@keyframes bldg-sweep {
  from { transform: translateX(0); }
  to   { transform: translateX(760px); }
}
@keyframes bldg-blink {
  0%, 40%, 100% { opacity: 1; }
  55%, 85% { opacity: 0.12; }
}

.bldg-foundation {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: bldg-grow-y 0.5s ease-out 0.6s both;
}
.bldg-columns {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: bldg-grow-y 0.5s ease-out 1.1s both;
}

/* açılış ışık huzmesi — sayfa yüklenir yüklenmez sahneyi bir kez tarar */
.bldg-beam {
  animation: bldg-sweep 0.7s ease-in 0s both;
}

/* static hesap eğrisi + yük çizgileri */
.bldg-calc-curve {
  stroke-dasharray: 420;
  animation: bldg-draw 0.8s ease-out 0.9s both,
             bldg-pulse 3.2s ease-in-out 2.4s infinite;
}
.bldg-calc-tick { animation: bldg-fade-in 0.3s ease-out both; }
.bldg-calc-label { animation: bldg-fade-in 0.4s ease-out 1.5s both; }

.bldg-floor-1, .bldg-floor-2, .bldg-floor-3, .bldg-floor-4, .bldg-floor-5 {
  animation: bldg-rise-in 0.45s ease-out both;
}

.bldg-flash {
  fill: #ffe9c2;
  opacity: 0;
  animation: bldg-flash 0.35s ease-out both;
}

.bldg-particle { animation: bldg-particle-rise 1.1s ease-out both; }

.bldg-roof {
  transform-box: fill-box;
  transform-origin: center;
  animation: bldg-grow-x 0.4s ease-out 3.4s both;
}
.bldg-antenna { animation: bldg-fade-in 0.3s ease-out 3.75s both; }
.bldg-antenna-light { animation: bldg-blink 2.6s ease-in-out 4.4s infinite; }
.bldg-canopy { animation: bldg-fade-in 0.4s ease-out both; }

.bldg-crane { animation: bldg-fade-out 0.6s ease-in 3.75s both; }

/* tamamlanan cephede tek seferlik parıltı taraması */
.bldg-shine {
  animation: bldg-sweep 0.9s ease-in-out 4.3s both;
}

.bg-bldg { transform-box: fill-box; transform-origin: bottom; }
.bg-bldg-left { animation: bldg-grow-y 0.55s ease-out 0.3s both; }
.bg-bldg-right { animation: bldg-grow-y 0.55s ease-out 0.5s both; }

/* sürekli akan hesap şeridi */
.calc-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 13px 0;
  margin-top: 52px;
}
.calc-ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker-scroll 24s linear infinite;
}
.calc-ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--calc-accent);
  opacity: 0.8;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .calc-ticker-track { animation: none; }
}

/* yük okları + etiket: yapı tamamlandıktan sonra beliren mühendislik detayı */
.bldg-load { animation: bldg-fade-in 0.4s ease-out both; }
.bldg-load-label { animation: bldg-fade-in 0.4s ease-out 4.1s both; }

.bldg-mark { animation: bldg-glow 0.5s ease-out 4.3s both; }
.bldg-window {
  animation: bldg-fade-in 0.4s ease-out both;
}
.bldg-window.flicker {
  animation: bldg-fade-in 0.4s ease-out both,
             bldg-flicker 6s ease-in-out 4.5s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-figure::before { animation: none !important; }
  .bldg-foundation, .bldg-columns, .bldg-floor-1, .bldg-floor-2,
  .bldg-floor-3, .bldg-floor-4, .bldg-floor-5, .bldg-roof, .bldg-crane, .bldg-mark, .bldg-window,
  .bldg-calc-curve, .bldg-calc-tick, .bldg-calc-label, .bldg-load, .bldg-load-label,
  .bg-bldg-left, .bg-bldg-right, .bldg-beam, .bldg-shine, .bldg-flash, .bldg-particle,
  .bldg-antenna, .bldg-antenna-light, .bldg-canopy {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .bldg-crane { opacity: 0 !important; }
  .bldg-beam, .bldg-shine, .bldg-flash, .bldg-particle { opacity: 0 !important; }
}

/* ---------- manifesto band ---------- */

.manifesto {
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}

.manifesto-rule {
  width: 48px;
  height: 2px;
  background: var(--safety);
  margin-bottom: 28px;
}

.manifesto p.statement {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.42;
  color: var(--navy);
  max-width: 22ch;
}

/* ---------- dimension strip (scope, big numerals) ---------- */

.dim-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 -32px;
}

.dim-cell {
  padding: 36px 32px;
  border-left: 1px solid var(--line);
}
.dim-cell:first-child { border-left: none; }

.dim-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--steel-soft);
  margin-bottom: 10px;
}
@supports (-webkit-text-stroke: 1px black) {
  .dim-num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--steel-soft);
  }
}

.dim-cell .mono { display: block; margin-bottom: 10px; }
.dim-cell p { margin: 0; color: var(--steel); font-size: 0.95rem; }

@media (max-width: 700px) {
  .dim-grid { grid-template-columns: 1fr; }
  .dim-cell { border-left: none; border-top: 1px solid var(--line); }
  .dim-cell:first-child { border-top: none; }
}

/* ---------- service triptych ---------- */

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.tri-item {
  padding: 40px 36px 36px 0;
  padding-left: 36px;
  border-left: 1px solid var(--line);
  border-top: 2px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.tri-item:first-child { border-left: none; padding-left: 0; }
.tri-item:hover {
  border-top-color: var(--safety);
  transform: translateY(-4px);
}

.tri-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
}

.tri-item .mono { display: block; margin-bottom: 18px; }
.tri-item h3 { margin-bottom: 12px; }
.tri-item p { color: var(--steel); font-size: 0.96rem; }

@media (max-width: 860px) {
  .tri-grid { grid-template-columns: 1fr; }
  .tri-item { border-left: none; border-top: 1px solid var(--line); padding: 36px 0; }
  .tri-item:first-child { border-top: none; }
  .tri-item:hover { border-top-color: var(--safety); }
}

/* ---------- material strip ---------- */

.material-strip { border-top: 1px solid var(--line); }

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.material-swatch {
  background: var(--paper);
  padding: 26px 22px 22px;
}

.material-chip {
  width: 100%;
  height: 54px;
  margin-bottom: 16px;
}

.material-swatch h3 { font-size: 1rem; margin-bottom: 4px; }
.material-swatch p { font-size: 0.86rem; color: var(--steel); margin: 0; }

@media (max-width: 760px) {
  .material-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- process sequence ---------- */

.seq {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seq-step {
  padding: 32px 28px 32px 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  position: relative;
}
.seq-step:first-child { border-left: none; padding-left: 0; }

.seq-step .mono { display: block; margin-bottom: 14px; }
.seq-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.seq-step p { font-size: 0.92rem; color: var(--steel); margin: 0; }

@media (max-width: 860px) {
  .seq { grid-template-columns: 1fr; }
  .seq-step { border-left: none; border-top: 1px solid var(--line); padding: 28px 0; }
  .seq-step:first-child { border-top: none; }
}

/* ---------- category detail blocks (hizmetler) ---------- */

.detail-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.detail-block:first-of-type { border-top: none; padding-top: 0; }

@media (max-width: 860px) {
  .detail-block { grid-template-columns: 1fr; gap: 24px; }
}

.detail-figure svg { width: 100%; height: auto; }

.detail-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.detail-list li {
  padding-left: 18px;
  position: relative;
  color: var(--steel);
  font-size: 0.96rem;
}
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--safety);
}

/* ---------- project gallery ---------- */

.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proj-card {
  background: var(--paper);
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(11, 18, 32, 0.14);
  z-index: 1;
}

.proj-figure {
  aspect-ratio: 16 / 10;
  background: var(--paper-dim);
  position: relative;
  overflow: hidden;
}
.proj-figure svg { width: 100%; height: 100%; }

.proj-body { padding: 24px 28px 30px; }
.proj-body .mono { margin-bottom: 6px; }
.proj-body h3 { margin-bottom: 8px; }
.proj-body p { font-size: 0.92rem; color: var(--steel); margin: 0; }

@media (max-width: 760px) {
  .proj-grid { grid-template-columns: 1fr; }
}

.proj-note {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px dashed var(--steel-soft);
  font-size: 0.9rem;
  color: var(--steel);
  max-width: none;
}

/* ---------- photo gallery (real project photos) ---------- */

.proj-category {
  margin-bottom: 56px;
}
.proj-category:last-of-type {
  margin-bottom: 32px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.photo-tile {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--paper-dim);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-tile:hover img {
  transform: scale(1.06);
}

/* ---------- ayrılmış proje blokları ---------- */

.proje-block {
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.proje-block:last-child {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}
.proje-block h2 {
  margin: 10px 0 0;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.proje-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 16px 0 26px;
}
.proje-meta span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
}
.proje-meta strong {
  color: var(--navy);
  font-weight: 600;
}

.proje-video { margin-top: 22px; max-width: 300px; }
.proje-video video {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  background: var(--ink);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent);
  mask-image: linear-gradient(180deg, black, transparent);
}
.cta-band .sheet { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band .hero-lede { color: var(--paper-dim); }

.cta-band .btn-solid {
  background: var(--safety);
  border-color: var(--safety);
  color: var(--ink);
}
.cta-band .btn-solid:hover { background: var(--safety-dim); border-color: var(--safety-dim); }

.cta-band .btn-outline {
  border-color: var(--paper-dim);
  color: var(--white);
}
.cta-band .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.office-photo {
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-list li:first-child { border-top: none; padding-top: 0; }

.contact-list a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.contact-list a:hover { color: var(--safety); }

.map-frame {
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--steel);
  outline-offset: 1px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form button {
  justify-self: start;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ---------- hesaplama aracı ---------- */

.calc-tool-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .calc-tool-grid { grid-template-columns: 1fr; }
}

.calc-input-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--steel);
  margin-bottom: 10px;
}

.calc-input {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
}
.calc-input:focus { outline: 2px solid var(--safety); outline-offset: 1px; }

.calc-field { margin-top: 22px; }

.calc-input-secondary {
  font-size: 1.15rem;
  padding: 12px 14px;
}

select.calc-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
                     linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.calc-hint {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--steel);
}

.calc-assumptions {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.calc-assumptions ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.calc-assumptions li {
  font-size: 0.92rem;
  color: var(--steel);
  padding-left: 16px;
  position: relative;
}
.calc-assumptions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--safety);
}

.calc-disclaimer {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--safety);
  background: var(--paper-dim);
  font-size: 0.86rem;
  color: var(--steel);
  max-width: none;
}

.calc-tool-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.calc-result-card {
  background: var(--paper);
  padding: 24px 22px;
}
.calc-result-card.highlight { border-top: 2px solid var(--safety); }

.calc-result-card .mono { display: block; margin-bottom: 10px; }
.calc-result-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--navy);
}
.calc-result-card p { margin: 6px 0 0; font-size: 0.84rem; color: var(--steel); }
.calc-cost {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--safety-dim);
}

@media (max-width: 560px) {
  .calc-tool-results { grid-template-columns: 1fr; }
}

/* ---------- hesaplama sayfası canlı önizleme bandı ---------- */

.calc-visual-band {
  background: linear-gradient(180deg, var(--hero-bg-top) 0%, var(--hero-bg-bottom) 100%);
  color: var(--white);
}

.calc-visual-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 800px) {
  .calc-visual-grid { grid-template-columns: 1fr; }
}

.calc-visual-text p {
  color: rgba(246, 244, 239, 0.72);
  margin: 10px 0 0;
  max-width: 34ch;
}

.calc-visual-figure svg { width: 100%; height: auto; max-width: 260px; margin-left: auto; }

/* ---------- kurucu profili ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 52px;
  align-items: start;
}

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
}

.founder-photo {
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: sticky;
  top: 100px;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .founder-photo { position: static; max-width: 320px; }
}

.founder-bio {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}
.founder-bio p {
  color: var(--steel);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--paper-dim);
  padding: 68px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-col .brand-text { font-size: 1.05rem; color: var(--white); max-width: none; }
.footer-brand-col .brand-text span { color: var(--steel-soft); }
.footer-tagline {
  margin: 18px 0 0;
  color: rgba(236, 231, 220, 0.68);
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--steel-soft);
  margin: 0 0 16px;
}

.footer-nav-list, .footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-nav-list a {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-nav-list a:hover { color: var(--safety); }

.footer-contact-list li { color: rgba(236, 231, 220, 0.82); font-size: 0.92rem; }
.footer-contact-list a { color: inherit; text-decoration: none; }
.footer-contact-list a:hover { color: var(--safety); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(236, 231, 220, 0.55);
}

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- focus visibility ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--safety);
  outline-offset: 2px;
}


/* ---------- telefon ince ayarları ---------- */

@media (max-width: 600px) {
  .sheet { padding: 0 22px; }
  section { padding: 64px 0; }
  section.tight { padding: 48px 0; }
  .hero { padding: 52px 0 60px; }
  .hero.dark { padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .calc-ticker { margin-top: 36px; }
  .dim-grid { margin: 0 -22px; }
  .dim-cell { padding: 28px 22px; }
  .nav-links.open { padding: 8px 22px 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 6px; }
  .contact-list a, .contact-list span { overflow-wrap: anywhere; }
}
