/* Fakhri Asadov — orange & white. One family (Archivo), two widths. */
:root {
  --white: #fff;
  --paper: #fbf8f5;        /* tinted section */
  --ink: #141210;
  --ink-2: #5d5853;
  --ink-3: #8f8a85;
  --line: #e9e4df;
  --orange: #ff5a00;       /* display colour: blocks, marks, large type */
  --orange-ink: #d64400;   /* same hue, AA on white: buttons, small text */
  --orange-wash: #fff1e8;
  --r: 6px;
  --wrap: 1200px;
  --gut: 32px;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* No visible scrollbars — the page still scrolls; the orange line under the header shows progress */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 18px; height: 18px; flex: none; }
.ic--lg { width: 26px; height: 26px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Three slanted bars — the only ornament on the page */
.stripes { display: inline-flex; gap: 3px; transform: skewX(-18deg); }
.stripes i { display: block; width: 5px; height: 16px; background: var(--orange); }
.stripes i:nth-child(2) { opacity: .62; }
.stripes i:nth-child(3) { opacity: .3; }

/* ── Header ─────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.top__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark__t { font-weight: 800; font-stretch: 125%; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color .15s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.top__end { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lang button { padding: 6px 8px; color: var(--ink-3); border-radius: 4px; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed='true'] { color: var(--orange-ink); }

/* ── Buttons & links ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r);
  background: var(--orange-ink); color: var(--white); border: 1.5px solid var(--orange-ink);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--orange-ink); white-space: nowrap; }
.more .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.more--sm { font-size: 14px; }
a.more:hover .ic:last-child, .card:hover .more .ic { transform: translate(2px, -2px); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { padding-top: 72px; overflow-x: clip; } /* clip: the feature slides in from the right and must not widen the page */
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow span:not([data-i18n]) { color: var(--orange); margin-inline: 6px; }
.hero__h { margin-top: 20px; font-weight: 800; font-stretch: 125%; font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -.025em; }
.hero__lead { margin-top: 28px; max-width: 30em; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.feature { display: block; width: 100%; min-height: 0; }
.feature__media, .card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--orange-wash); }
.feature__media img, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media { box-shadow: 14px 14px 0 var(--orange); }
.feature__meta { display: grid; gap: 8px; margin-top: 34px; }
.feature__t { font-weight: 700; font-size: 20px; line-height: 1.3; }
.tag { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); }
.meta { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.play { position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--orange-ink); transition: background .15s, color .15s; }
.play .ic { width: 22px; height: 22px; margin-left: 2px; }
.feature:hover .play, .card--video:hover .play { background: var(--orange-ink); color: var(--white); }

/* Channels */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 88px; border-block: 1px solid var(--line); }
.channels li + li { border-left: 1px solid var(--line); }
.channels a { display: flex; align-items: center; gap: 16px; padding: 28px 24px; transition: background .15s; }
.channels li:first-child a { padding-left: 0; }
.channels li:last-child a { padding-right: 0; }
.channels a > .ic--lg { color: var(--orange); }
.channels__b, .channels__n { display: grid; line-height: 1.3; }
.channels__b strong { font-weight: 700; font-size: 17px; }
.channels__b span, .channels__n span { font-size: 13.5px; color: var(--ink-3); }
.channels__n { margin-left: auto; text-align: right; }
.channels__n strong { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: -.01em; }
.channels .go { color: var(--ink-3); transition: transform .2s ease, color .15s; }
.channels a:hover .go { color: var(--orange-ink); transform: translate(2px, -2px); }

/* ── Sections ───────────────────────────────────────────────────────── */
.sec { padding-block: 112px; }
.sec--tint { background: var(--paper); border-block: 1px solid var(--line); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.sec__note { max-width: 26em; color: var(--ink-2); font-size: 16px; }
.label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
h2 { font-weight: 800; font-stretch: 125%; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.02em; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.empty { grid-column: 1 / -1; color: var(--ink-2); }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.03); }
.card__t { margin-top: 16px; font-weight: 600; font-size: 17px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--video .meta { margin-top: 8px; }
.card--video .play { width: 44px; height: 44px; left: 12px; bottom: 12px; }
.card--video .play .ic { width: 18px; height: 18px; }
.card--ghost { aspect-ratio: 16 / 12; border-radius: var(--r); background: linear-gradient(var(--orange-wash), var(--orange-wash)) top / 100% 70% no-repeat; }

/* Project cards */
.card--project { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 0; transition: border-color .15s; }
.card--project:hover { border-color: var(--orange); }
.card--project .card__media { border-radius: 3px; }
.card--project > :not(.card__media) { margin-inline: 8px; }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.num { font-weight: 800; font-stretch: 125%; font-size: 14px; color: var(--orange-ink); letter-spacing: .04em; }
.card__t--lg { margin-top: 8px; font-weight: 800; font-stretch: 125%; font-size: 23px; line-height: 1.15; letter-spacing: -.01em; }
.card__sub { margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card__d { margin-top: 12px; margin-bottom: 20px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.card__row--foot { margin-top: auto; padding-block: 14px; border-top: 1px solid var(--line); align-items: center; }
.garage { margin-top: 48px; }
.garage .more .ic:first-child { width: 18px; height: 18px; }

/* ── Contact ────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.contact__copy > p:not(.label) { margin-top: 20px; max-width: 28em; color: var(--ink-2); }
.contact__list { margin-top: 32px; border-top: 1px solid var(--line); }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.contact__list li::before { content: ''; width: 5px; height: 14px; background: var(--orange); transform: skewX(-18deg); flex: none; }

.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s; appearance: none;
}
.field textarea { resize: vertical; min-height: 148px; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235d5853' stroke-width='1.8' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc8c1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 3px var(--orange-wash); }
.field.is-bad input, .field.is-bad textarea { border-color: #c4251a; }
.field.is-bad > span { color: #c4251a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__end { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__status { font-size: 15px; font-weight: 500; flex: 1 1 240px; }
.form__status[data-kind='ok'] { color: #1c7a3e; }
.form__status[data-kind='bad'] { color: #c4251a; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); }
/* Row 1: wordmark · socials.  Row 2: © on the left, agency credit on the right. */
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; padding-block: 28px; }
.foot__c { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot__by { white-space: nowrap; }
.foot__by a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.foot__by a:hover { color: var(--orange-ink); text-decoration-color: currentColor; }
.foot__s { display: flex; gap: 4px; margin-left: auto; }
.foot__s a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); color: var(--ink-2); transition: color .15s, background .15s; }
.foot__s a:hover { color: var(--orange-ink); background: var(--orange-wash); }

/* ── Player ─────────────────────────────────────────────────────────── */
.player { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.player::backdrop { background: rgba(20, 18, 16, .86); }
.player__f { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.player__f iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__x { position: absolute; right: 0; top: -48px; display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); border-radius: var(--r); }
.player__x:hover { background: rgba(255, 255, 255, .14); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  :root { --gut: 24px; }
  .hero { padding-top: 48px; }
  .hero__in { grid-template-columns: 1fr; gap: 48px; }
  .feature__media { box-shadow: 10px 10px 0 var(--orange); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  #video-grid > :nth-child(3):last-child { display: none; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .sec { padding-block: 80px; }
  .channels { margin-top: 64px; }
  .channels a { flex-wrap: wrap; padding: 22px 16px; gap: 12px; }
  .channels .go { display: none; }
  .channels__n { margin-left: 0; text-align: left; flex-basis: 100%; }

  /* Hero copy is centred once the layout stacks */
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }

  /* Projects become a swipeable row: full-bleed, snapping, next card peeking in as the cue */
  #project-grid {
    display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain;
    margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 36px; /* bottom room: cards rise 34px when they animate in */
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #project-grid::-webkit-scrollbar { display: none; }
  #project-grid > .card { flex: 0 0 min(82%, 340px); scroll-snap-align: start; }
  .garage { margin-top: 12px; }

  .contact__list { display: none; }
}
@media (max-width: 680px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .top__in { gap: 12px; height: 60px; }
  .nav { display: none; }
  .top__end { margin-left: auto; gap: 8px; }
  .top__end .btn { display: none; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .feature__media { box-shadow: 8px 8px 0 var(--orange); margin-right: 8px; }
  .channels { grid-template-columns: 1fr; }
  .channels li + li { border-left: 0; border-top: 1px solid var(--line); }
  .channels a, .channels li:first-child a, .channels li:last-child a { flex-wrap: nowrap; padding: 18px 0; gap: 14px; }
  .channels__n { margin-left: auto; text-align: right; flex-basis: auto; }
  .channels .go { display: block; }
  .sec { padding-block: 64px; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .form__end .btn { width: 100%; }
  .foot__in { padding-block: 24px; gap: 16px 12px; } /* 12px column gap: wordmark + socials share a row at 375px */
  .foot__c { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Very narrow screens: keep the longer wordmark and the language toggle on one line */
@media (max-width: 360px) {
  .mark { gap: 8px; }
  .mark__t { font-size: 16px; letter-spacing: .02em; }
  .top .stripes i { width: 4px; height: 14px; }
}
