/* Inter, served from this site (assets/fonts) instead of Google Fonts: no third-party request, no consent needed.
   Variable font files (Google Fonts build, SIL Open Font License): one file per character set covers weights 300-600. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2'); 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; }
:root {
  --sage: #9db8a8;
  --ink: #f2f2f0;
  --muted: #8c8c8a;
  --line: #232323;
  --bg: #0b0b0b;
  --panel: #141414;
  --gutter: 18px;
  --header-h: 80px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
/* Rotating background layers (bgSlideshow in site.js): soft dip between photos, slow zoom while shown */
.bgs-layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0;
  transition: opacity 1.1s ease-in-out; transform: scale(1.04); }
.bgs-layer.on { opacity: 1; transition-delay: .55s; animation: bgs-zoom 8s ease-out forwards; }
@keyframes bgs-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Hidden until loaded / playing (see mediaEl in site.js) */
.media-fade { opacity: 0; transition: opacity .6s ease; }
.media-fade.ready { opacity: 1; }
/* Never show the phone's own play / start button on our muted background videos */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video.media-fade:not([controls])::-webkit-media-controls { display: none !important; }

/* ---------- Header: logo left, nav + language right ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 0 var(--gutter); height: var(--header-h);
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,0));
  transition: background .3s, box-shadow .3s;
}
.header.solid { background: rgba(11,11,11,.96); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; height: 100%; }
.nav ul { list-style: none; display: flex; height: 100%; }
.nav li { display: flex; align-items: center; height: 100%; }
.nav a {
  position: relative; display: flex; align-items: center; padding: 0 16px; height: 100%;
  font-size: 11px; font-weight: 500; letter-spacing: .8px; color: rgba(255,255,255,.75); transition: color .2s;
}
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 26px; height: 1px; background: var(--sage); transform: scaleX(0); transition: transform .25s; }
.nav a:hover, .nav a.current { color: #fff; }
.nav a:hover::after, .nav a.current::after { transform: scaleX(1); }

.lang { display: flex; align-items: center; gap: 2px; margin-left: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.2); height: 18px; }
.lang button { background: none; border: 0; cursor: pointer; font: 500 11px 'Inter', sans-serif; letter-spacing: .8px; color: rgba(255,255,255,.45); padding: 4px 5px; transition: color .2s; }
.lang button:hover { color: #fff; }
.lang button.on { color: #fff; }

/* ---------- Sections ---------- */
section.block { padding: 100px var(--gutter); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 9.5px; color: var(--muted); letter-spacing: .5px; margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.intro h3 { font-size: 11px; font-weight: 500; letter-spacing: .6px; color: var(--muted); }
.intro p { font-size: 22px; font-weight: 300; line-height: 1.5; max-width: 780px; }
.intro p em { font-style: normal; color: var(--sage); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.section-head h2 { font-size: 28px; font-weight: 300; letter-spacing: .5px; }
.section-head span { font-size: 11px; color: var(--muted); }

/* ---------- Project cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 18px; }
.card .img { aspect-ratio: 4/3; overflow: hidden; background: var(--panel); }
.card .img img, .card .img video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s; filter: brightness(.85); }
.card:hover .img img, .card:hover .img video { transform: scale(1.04); filter: brightness(1); }
.card h4 { margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.card small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); letter-spacing: .3px; text-transform: uppercase; }
.badge { display: inline-block; margin-left: 8px; padding: 2px 6px; border: 1px solid var(--line); font-size: 9px; color: var(--muted); vertical-align: 1px; }

.soon { position: relative; aspect-ratio: 21/7; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 75% 30%, #2c343b, #0b0d0f 70%); }
.soon b { font-size: 34px; font-weight: 300; letter-spacing: .5px; }
.soon p { margin-top: 10px; max-width: 520px; font-size: 14px; line-height: 1.6; color: #bdbdbb; font-weight: 300; }
.soon small { font-size: 10px; letter-spacing: .8px; color: var(--sage); margin-bottom: 8px; }

footer { padding: 40px var(--gutter); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 10.5px; color: var(--muted); letter-spacing: .3px; }
footer a:hover { color: var(--ink); }
footer { align-items: center; }
footer .consent-link { color: var(--muted); }

/* ---------- Consent box ---------- */
.consent { position: fixed; z-index: 200; left: var(--gutter); bottom: 18px; max-width: 400px; padding: 20px 22px;
  background: rgba(18,18,18,.97); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.consent b { display: block; font-size: 11px; font-weight: 500; letter-spacing: 1px; color: var(--sage); text-transform: uppercase; }
.consent p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: #c9c9c7; }
.consent-btns { display: flex; gap: 10px; margin-top: 14px; }
.consent-btns button { flex: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); background: none; color: var(--ink);
  font: 500 11px 'Inter', sans-serif; letter-spacing: .5px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.consent-btns .yes { background: var(--ink); color: #111; border-color: var(--ink); }
.consent-btns button:hover { border-color: var(--sage); }
.consent-btns .yes:hover { background: var(--sage); border-color: var(--sage); }
@media (max-width: 860px) { .consent { left: 12px; right: 12px; max-width: none; } }
footer .social { display: flex; gap: 18px; }
footer .social a { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: .3px; }
footer .social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
footer .social svg .dot { fill: currentColor; stroke: none; }
footer .social a:hover { color: var(--sage); }

@media (max-width: 860px) {
  /* One row: logo | nav (scrolls sideways if it doesn't fit) | TR EN */
  :root { --header-h: 64px; }
  .header { gap: 4px; }
  .logo { margin-right: 0; }
  .logo img { height: 40px; }
  .nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14px); mask-image: linear-gradient(to right, transparent, #000 14px); }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { margin-left: auto; }
  .nav a { padding: 0 7px; font-size: 9.5px; letter-spacing: .4px; white-space: nowrap; }
  .nav a::after { bottom: 20px; left: 7px; right: 7px; }
  .lang { margin-left: 2px; padding-left: 8px; }
  .lang button { font-size: 10px; padding: 4px 3px; }
  .intro { grid-template-columns: 1fr; gap: 16px; }
  .intro p { font-size: 18px; }
  .grid { grid-template-columns: 1fr; }
  .soon { aspect-ratio: 4/3; }
  section.block { padding: 64px var(--gutter); }
}
