/*!
 * Fox Mimarlık — Birleşik Custom CSS
 * Versiyon: 1.0.0
 * Güncelleme: WordPress admin > Ayarlar > Fox Mimarlık
 *
 * İçerik:
 *   1. Global (değişkenler, tipografi, yardımcı sınıflar)
 *   2. Animasyonlar (scroll reveal, sayfa geçişi)
 *   3. Hero (Three.js arkaplan, marquee, disiplinler, istatistikler)
 *   4. Projeler & Proje Detay
 *   5. Hakkımızda (canvas animasyonu, referanslar, iletişim, footer)
 */

/* =============================================================
   1. GLOBAL STYLES
   ============================================================= */

:root{
  --fox-ink:#093b52;
  --fox-ink-2:#0a2a3a;
  --fox-bg:#ececec;
  --fox-bg-2:#e3e3e3;
  --fox-paper:#f4f4f2;
  --fox-line:rgba(9,59,82,0.14);
  --fox-muted:rgba(9,59,82,0.55);
  --fox-accent:#c2583a;
}

body{
  background: var(--fox-bg);
  color: var(--fox-ink);
  font-family: "Inter", -apple-system, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection{ background: var(--fox-ink); color: var(--fox-bg); }

/* Yardımcı sınıflar */
.serif{
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
}

.fox-mono-tag{
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.fox-idx{ font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; }
.fox-more{ font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; }

.fox-h2{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.fox-h2 em{ font-style: italic; color: var(--fox-muted); }

.fox-section-head{
  padding-bottom: 60px;
  border-bottom: 1px solid var(--fox-line);
  margin-bottom: 80px;
}

/* CTA bağlantıları */
.fox-cta-link{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fox-ink);
  transition: gap 300ms;
  color: var(--fox-ink);
}
.fox-cta-link:hover{ gap: 20px; color: var(--fox-ink); }

/* Header (Flatsome) renk uyumu */
.header-main .nav-fox-nav-link > a,
.nav > li.fox-nav-link > a{
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}
/* =============================================================
   ANIMATIONS — Scroll Reveal, Sayfa Geçişi
   ============================================================= */

/* IntersectionObserver ile reveal */
.fox-reveal{
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 900ms cubic-bezier(.2,.7,.2,1),
    transform 900ms cubic-bezier(.2,.7,.2,1);
}
.fox-reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* Reveal staggered helpers (manuel delay sınıfları) */
.fox-reveal-d1{ transition-delay: 80ms; }
.fox-reveal-d2{ transition-delay: 160ms; }
.fox-reveal-d3{ transition-delay: 240ms; }
.fox-reveal-d4{ transition-delay: 320ms; }

/* Sayfa geçiş perdesi (opsiyonel — header'a inline JS ile eklenebilir) */
.fox-transition{
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
}
.fox-transition-panel{
  position: absolute;
  inset: 0;
  background: var(--fox-ink);
  transform: translateY(100%);
}
.fox-transition.on .fox-transition-panel{
  animation: fox-curtain 1300ms cubic-bezier(.7,0,.3,1) forwards;
}
@keyframes fox-curtain{
  0%{ transform: translateY(100%); }
  48%{ transform: translateY(0); }
  52%{ transform: translateY(0); }
  100%{ transform: translateY(-100%); }
}

/* Route giriş animasyonu — page wrapper'a uygulanabilir */
.fox-route-in{
  animation: fox-route-in 700ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes fox-route-in{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
/* =============================================================
   FOX HERO — Three.js arkaplanlı kahraman bölüm
   ============================================================= */

.fox-hero-section{ position: relative; overflow: hidden; }

.fox-hero-three{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fox-hero-three canvas{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.9;
}

.fox-hero-veil{
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 60%, transparent 30%, rgba(9,59,82,0.55) 80%);
  pointer-events: none;
  z-index: 1;
}

.fox-hero-inner{
  position: relative;
  z-index: 2;
  height: 92vh;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 40px 50px;
  color: var(--fox-bg);
}

.fox-hero-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  opacity: 0.75;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fox-hero-center{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
}

.fox-hero-kicker{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}
.fox-hero-kicker .fox-dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
}
.fox-hero-kicker .fox-line{
  width: 64px; height: 1px;
  background: currentColor; opacity: 0.4;
}

.fox-hero-title{
  font-weight: 300;
  font-size: clamp(100px, 13vw, 220px);
  line-height: 0.75;
  letter-spacing: -0.035em;
  color: var(--fox-bg);
	max-height:45vh;
}
.fox-hero-title .row{
  display: flex;
  align-items: flex-end;
  gap: 0.1em;
  flex-wrap: wrap;
}
.fox-hero-title .row.two{
  padding-left: 6vw;
  color: rgba(236, 236, 236, 0.7);
  font-style: italic;
}
.fox-hero-title .em{
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.fox-hero-title .em > span{
  display: inline-block;
  animation: fox-rise 1100ms cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes fox-rise{
  from{ transform: translateY(100%); }
  to{ transform: translateY(0); }
}

.fox-hero-bottom{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.fox-hero-sub{
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.78;
}
.fox-hero-scroll{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.75;
}
.fox-hero-scroll .bar{
  width: 42px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.fox-hero-scroll .bar::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  animation: fox-scrollbar 2.4s ease-in-out infinite;
}
@keyframes fox-scrollbar{
  0%{ transform: translateX(-100%); }
  60%, 100%{ transform: translateX(100%); }
}

/* Köşe çizgileri */
.fox-corner{
  position: absolute;
  width: 56px;
  height: 56px;
  border-color: var(--fox-bg);
  opacity: 0.35;
  z-index: 2;
}
.fox-corner-tl{ top: 24px; left: 24px; border-top: 1px solid; border-left: 1px solid; }
.fox-corner-tr{ top: 24px; right: 24px; border-top: 1px solid; border-right: 1px solid; }
.fox-corner-bl{ bottom: 24px; left: 24px; border-bottom: 1px solid; border-left: 1px solid; }
.fox-corner-br{ bottom: 24px; right: 24px; border-bottom: 1px solid; border-right: 1px solid; }

/* Sahne toggle (Three.js mod seçici) */
.fox-scene-toggle{
position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    color: var(--bg);
    pointer-events: auto;
}
.fox-scene-ring{ position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.fox-scene-ring svg{ position: absolute; inset: 0; }
.fox-scene-ring-num{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  opacity: 0.9;
}
.fox-scene-toggle-label{
  opacity: 0.8;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fox-scene-toggle-auto{
  opacity: 0.45;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 2px;
}
.fox-scene-toggle-dots{
display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 12px;
    border: 1px solid rgba(236, 236, 236, 0.4);
    border-radius: 999px;
    background: rgba(9, 59, 82, 0.35);
    backdrop-filter: blur(10px);
}
.fox-scene-dot{
position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid currentColor;
    padding: 0;
    opacity: 0.55;
    transition: all 250ms;
    cursor: pointer;
    background: transparent;
}
.fox-scene-dot:hover{ opacity: 1; }
.fox-scene-dot.on{
  background: currentColor;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(194,88,58,0.35);
}
button.fox-scene-dot{
	min-height:10px;
	min-width:10px;
	margin-right:0;
}
@media (max-width: 900px){
  .fox-scene-toggle{ right: 14px; }
  .fox-scene-toggle-label{ display: none; }
	.fox-marquee-track{
		gap:2vh!important
	}
	.fox-hero-sub{
		padding-bottom:35px;
	}
	.fox-hero-kicker{
		display:none
	}
	.fox-hero-scroll{
		margin:auto;
		padding-bottom: 25px;
	}
}

/* Hero etkileşim ipucu (mobile, ilk yüklemede) */
.fox-hero-hint{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fox-hint-fade-in 400ms ease-out 200ms forwards,
             fox-hint-swipe 1.8s ease-in-out 600ms infinite;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}
@media (max-width: 768px){
  .fox-hero-hint{ top: 70%; }
}
.fox-hero-hint-arrows{
  display: block;
  opacity: 0.85;
}
.fox-hero-hint-out{
  animation: fox-hint-fade-out 500ms ease-out forwards !important;
}
@keyframes fox-hint-fade-in{
  from{ opacity: 0; }
  to  { opacity: 0.9; }
}
@keyframes fox-hint-fade-out{
  from{ opacity: 0.9; }
  to  { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
}
@keyframes fox-hint-swipe{
  0%   { transform: translate(calc(-50% - 36px), -50%); }
  50%  { transform: translate(calc(-50% + 36px), -50%); }
  100% { transform: translate(calc(-50% - 36px), -50%); }
}
@media (prefers-reduced-motion: reduce){
  .fox-hero-hint{ display: none; }
}

/* Marquee */
.fox-marquee{
  overflow: hidden;
  padding: 18px 0;
  background: var(--fox-bg);
}
.fox-marquee-track{
  display: flex;
  gap: 60px;
  animation: fox-marquee 42s linear infinite;
  white-space: nowrap;
  color: var(--fox-ink);
}
.fox-marquee-track span{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  opacity: 0.85;
}
.fox-marquee-track .d{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  align-self: center;
  opacity: 0.5;
}
@keyframes fox-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Manifesto */
.fox-manifesto-text{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 1100px;
}
.fox-manifesto-text em{ font-style: italic; color: var(--fox-muted); }

/* Disciplines */
.fox-disciplines{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fox-line);
  border-bottom: 1px solid var(--fox-line);
}
.fox-disc{
  padding: 48px 36px 56px;
  border-right: 1px solid var(--fox-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  transition: background 400ms;
}
.fox-disc:last-child{ border-right: 0; }
.fox-disc:hover{ background: rgba(9,59,82,0.03); }
.fox-disc-n{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  opacity: 0.45;
}
.fox-disc-t{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.fox-disc-p{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(9,59,82,0.72);
  max-width: 280px;
}
@media (max-width: 900px){
  .fox-disciplines{ grid-template-columns: 1fr 1fr; }
  .fox-disc:nth-child(2){ border-right: 0; }
  .fox-disc{ min-height: auto; padding: 40px 28px; }
  .fox-disc:nth-child(1), .fox-disc:nth-child(2){ border-bottom: 1px solid var(--fox-line); }
}

/* Stats */
.fox-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: end;
}
.fox-stat .n{
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fox-ink);
}
.fox-stat .n .serif{ font-style: italic; }
.fox-stat .l{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--fox-line);
}
@media (max-width: 900px){
  .fox-stats{ grid-template-columns: 1fr 1fr; gap: 32px 40px; }
}

/* Projects Teaser */
.fox-teaser-media{
  position: relative;
  margin: 0 40px;
  aspect-ratio: 21/9;
  overflow: hidden;
  cursor: pointer;
  background: var(--fox-ink);
}
.fox-teaser-media .fox-teaser-img,
.fox-teaser-media img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
  filter: brightness(0.7);
}
.fox-teaser-media:hover img{ transform: scale(1.04); }
.fox-teaser-overlay{
  position: absolute;
  inset: 0;
  color: var(--fox-bg);
  display: flex;
  align-items: flex-end;
  padding: 60px;
}
.fox-teaser-inner{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.fox-teaser-title{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--fox-bg);
}
.fox-teaser-title em{ font-style: italic; opacity: 0.75; }
.fox-teaser-sub{
  font-size: 15px;
  max-width: 420px;
  opacity: 0.8;
  margin-top: 16px;
}
.fox-teaser-cta{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
  border: 1px solid rgba(236,236,236,0.45);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 300ms;
  cursor: pointer;
  color: var(--fox-bg);
}
.fox-teaser-cta:hover{
  background: var(--fox-bg);
  color: var(--fox-ink);
  border-color: var(--fox-bg);
  gap: 24px;
}
@media (max-width: 900px){
  .fox-teaser-media{ margin: 0 20px; aspect-ratio: 4/5; }
  .fox-teaser-overlay{ padding: 40px 20px; }
}

/* Process */
.fox-process{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fox-line);
}
.fox-step{
  padding: 48px 36px 64px;
  border-right: 1px solid var(--fox-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fox-step:last-child{ border-right: 0; }
.fox-step .step-n{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 44px;
  color: var(--fox-muted);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.fox-step .step-t{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.fox-step .step-p{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(9,59,82,0.72);
  max-width: 260px;
}
@media (max-width: 900px){
  .fox-process{ grid-template-columns: 1fr 1fr; }
  .fox-step{ padding: 36px 24px; }
  .fox-step:nth-child(2n){ border-right: 0; }
  .fox-step:nth-child(1), .fox-step:nth-child(2){ border-bottom: 1px solid var(--fox-line); }
}

/* About Preview (home) */
.fox-about-preview{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fox-about-preview .lead{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.fox-about-preview .lead em{ font-style: italic; color: var(--fox-muted); }
.fox-about-preview .body{
  font-size: 15px;
  line-height: 1.7;
  max-width: 440px;
  color: rgba(9,59,82,0.75);
}
.fox-about-preview .body p + p{ margin-top: 16px; }
@media (max-width: 900px){
  .fox-about-preview{ grid-template-columns: 1fr; gap: 40px; }
}
/* =============================================================
   PROJELER & PROJE DETAY SAYFALARI
   ============================================================= */

.fox-projects-h1{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.fox-projects-h1 em{ font-style: italic; color: var(--fox-muted); }

.fox-projects-intro{
  max-width: 420px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(9,59,82,0.7);
}

/* Portfolio grid (Flatsome [ux_image_box] kart düzeni) */
.fox-portfolio-grid .col{ transition: opacity 400ms, transform 400ms; }
.fox-portfolio-grid .box-text{ padding: 18px 0 0 !important; }
.fox-portfolio-grid .box-text h3{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 24px;
  letter-spacing: -0.015em;
  text-transform: none;
  margin: 0 0 6px;
  color: var(--fox-ink);
}
.fox-portfolio-grid .box-text h3 em{ font-style: italic; color: var(--fox-muted); }
.fox-portfolio-grid .fox-card-meta{
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0;
}
.fox-portfolio-grid .box-image{ background: #d3d3d3; }
.fox-portfolio-grid .image-zoom img{
  filter: saturate(0.98);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}

/* Proje detay sayfaları artık page-based; native Flatsome shortcodeları kullanır.
   Önceki .fox-detail-* / .fox-next-project / .fox-gallery stilleri kaldırıldı. */
/* =============================================================
   HAKKIMIZDA — Plan İzometrik Canvas Animasyonu + Body
   ============================================================= */

.fox-about-hero .kicker{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 32px;
}
.fox-about-hero h1{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 136px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 1100px;
}
.fox-about-hero h1 em{ font-style: italic; color: var(--fox-muted); }

.fox-about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.fox-about-grid .left{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding-top: 40px;
}
.fox-about-grid .right{
  font-size: 15px;
  line-height: 1.75;
  color: rgba(9,59,82,0.75);
  max-width: 500px;
  padding-top: 40px;
}
.fox-about-grid .right p + p{ margin-top: 18px; }
@media (max-width: 900px){
  .fox-about-grid{ grid-template-columns: 1fr; gap: 32px; }
}

/* Canvas plan animation */
.fox-plan-anim-wrap{
  position: relative;
  margin: 60px 0 100px;
}
.fox-plan-anim{
  position: relative;
  aspect-ratio: 16/9;
  background: var(--fox-paper);
  border: 1px solid var(--fox-line);
  overflow: hidden;
}
.fox-plan-anim-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.fox-plan-anim-meta{
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
}
@media (max-width: 600px){
  .fox-plan-anim-wrap{ margin: 40px 0 60px; }
  .fox-plan-anim{ aspect-ratio: 4/3; }
  .fox-plan-anim-meta{ position: static; padding: 16px 4px 0; }
}
.fox-plan-anim-meta .k{
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 8px;
}
.fox-plan-anim-meta .v{
  font-size: 22px;
  letter-spacing: -0.01em;
}
.fox-plan-anim-meta .v.serif{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
}
.fox-plan-anim-meta .d{
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-top: 6px;
}
.fox-plan-anim-corner{ position: absolute; width: 22px; height: 22px; opacity: 0.35; }
.fox-plan-anim-corner.tl{ top: 14px; left: 14px; border-top: 1px solid var(--fox-ink); border-left: 1px solid var(--fox-ink); }
.fox-plan-anim-corner.tr{ top: 14px; right: 14px; border-top: 1px solid var(--fox-ink); border-right: 1px solid var(--fox-ink); }
.fox-plan-anim-corner.bl{ bottom: 14px; left: 14px; border-bottom: 1px solid var(--fox-ink); border-left: 1px solid var(--fox-ink); }
.fox-plan-anim-corner.br{ bottom: 14px; right: 14px; border-bottom: 1px solid var(--fox-ink); border-right: 1px solid var(--fox-ink); }

/* Values */
.fox-values{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 80px 0 60px;
  border-top: 1px solid var(--fox-line);
}
.fox-val .n{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  opacity: 0.5;
  margin-bottom: 20px;
}
.fox-val h4{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.fox-val p{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(9,59,82,0.7);
}
@media (max-width: 900px){
  .fox-values{ grid-template-columns: 1fr 1fr; }
}

/* References */
.fox-refs-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.fox-refs-head h1{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.fox-refs-head h1 em{ font-style: italic; color: var(--fox-muted); }
.fox-refs-head .intro{
  max-width: 420px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(9,59,82,0.7);
  justify-self: end;
}
@media (max-width: 900px){
  .fox-refs-head{ grid-template-columns: 1fr; }
  .fox-refs-head .intro{ justify-self: start; }
}

.fox-logo-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--fox-line);
  margin-top: 80px;
}
.fox-logo-cell{
  aspect-ratio: 3/2;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--fox-line);
  border-bottom: 1px solid var(--fox-line);
  padding: 24px;
  transition: background 400ms;
}
.fox-logo-cell:nth-child(4n){ border-right: 0; }
.fox-logo-cell:hover{ background: var(--fox-ink); color: var(--fox-bg); }
.fox-logo-cell .lg{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  opacity: 0.75;
  transition: opacity 300ms;
}
.fox-logo-cell:hover .lg{ opacity: 1; }
@media (max-width: 900px){
  .fox-logo-grid{ grid-template-columns: repeat(2, 1fr); }
  .fox-logo-cell:nth-child(4n){ border-right: 1px solid var(--fox-line); }
  .fox-logo-cell:nth-child(2n){ border-right: 0; }
}

.fox-refs-list h3{
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 40px;
  font-weight: 500;
}
.fox-refs-list ul{
  list-style: none;
  columns: 2;
  column-gap: 80px;
  padding: 0;
  margin: 0;
}
.fox-refs-list li{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--fox-line);
  break-inside: avoid;
  list-style: none;
}
.fox-refs-list li em{
  font-style: italic;
  color: var(--fox-muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: 8px;
  font-family: "Inter", sans-serif;
}
@media (max-width: 700px){
  .fox-refs-list ul{ columns: 1; }
}

/* Contact */
.fox-contact-h1{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 60px;
  max-width: 1100px;
}
.fox-contact-h1 em{ font-style: italic; color: var(--fox-muted); }

.fox-contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding: 60px 0;
  border-top: 1px solid var(--fox-line);
  border-bottom: 1px solid var(--fox-line);
}
@media (max-width: 900px){
  .fox-contact-grid{ grid-template-columns: 1fr; gap: 40px; }
}

.fox-info-block{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.fox-info-block .info .k{
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 10px;
}
.fox-info-block .info .v{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.fox-info-block .info .v a{ color: inherit; }
.fox-info-block .info .v a:hover{ color: var(--fox-accent); }

/* Contact Form 7 — Fox stilleri */
.fox-form-wrap .wpcf7-form{ display: grid; gap: 22px; }
.fox-form-wrap .wpcf7-form p{ margin: 0; }
.fox-form-wrap .fox-form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.fox-form-wrap .fox-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fox-form-wrap .fox-field label{
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
}
.fox-form-wrap input[type="text"],
.fox-form-wrap input[type="email"],
.fox-form-wrap textarea,
.fox-form-wrap select{
  font: inherit;
  font-size: 16px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--fox-line) !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  color: var(--fox-ink) !important;
  outline: none;
  transition: border-color 200ms;
  box-shadow: none !important;
}
.fox-form-wrap input:focus,
.fox-form-wrap textarea:focus,
.fox-form-wrap select:focus{ border-bottom-color: var(--fox-ink) !important; }
.fox-form-wrap textarea{ min-height: 110px; resize: vertical; }
.fox-form-wrap .fox-submit,
.fox-form-wrap input[type="submit"]{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px !important;
  border-radius: 999px !important;
  background: var(--fox-ink) !important;
  color: var(--fox-bg) !important;
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  border: 0 !important;
  transition: gap 300ms, background 300ms;
  cursor: pointer;
}
.fox-form-wrap input[type="submit"]:hover{ background: var(--fox-ink-2) !important; }

/* Footer */
.fox-footer-section{ margin-top: 120px; }
.fox-footer-section h6{
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 24px;
  color: var(--fox-bg);
  font-weight: 500;
}
.fox-footer-section ul{
  list-style: none;
  padding: 0; margin: 0;
}
.fox-footer-section li{
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 200ms;
}
.fox-footer-section li:hover{ opacity: 1; }
.fox-footer-section a{ color: var(--fox-bg); }
.fox-footer-section a:hover{ color: var(--fox-accent); }

.fox-footer-mark{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.fox-footer-mark .mark-f{
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--fox-bg);
}
.fox-footer-mark .mark-name{
  font-size: 22px;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--fox-bg);
}
.fox-footer-mark .mark-name em{
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  opacity: 0.82;
}

.fox-footer-brand{
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--fox-bg);
}
.fox-footer-brand em{ font-style: italic; opacity: 0.7; }

.fox-footer-tag{
  font-size: 14px;
  max-width: 320px;
  opacity: 0.7;
  line-height: 1.6;
  color: var(--fox-bg);
}

.fox-footer-base{
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--fox-bg);
}
