/* ==========================================================================
   F-ARC — Stylesheet
   Minimal, editorial, black/white. Edit tokens in :root to restyle globally.
   ========================================================================== */

:root {
  --ink: #141312;
  --paper: #f6f5f2;
  --paper-alt: #eceae5;
  --line: #d8d5cf;
  --grey: #6b685f;
  --grey-light: #9c988d;
  --max-width: 1400px;
  --gutter: clamp(20px, 5vw, 64px);
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
  transition: padding .3s var(--ease);
}
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; }

.nav__logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity .2s var(--ease);
}
.nav__links a:hover { opacity: 1; }

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lang-switch a {
  opacity: 0.55;
  padding: 2px 4px;
}
.lang-switch a[aria-current="true"] {
  opacity: 1;
  border-bottom: 1px solid currentColor;
}

.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05) 0%, rgba(10,10,10,0.15) 55%, rgba(10,10,10,0.72) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: clamp(48px, 8vw, 96px);
  width: 100%;
}
.hero__title {
  font-size: clamp(48px, 11vw, 132px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.hero__tagline {
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.86);
  margin: 0 0 34px;
  font-weight: 400;
}
.hero__cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 8px;
  transition: border-color .25s var(--ease);
}
.hero__cta:hover { border-color: #fff; }

/* ---------- Section scaffolding ---------- */
section { padding: clamp(72px, 12vw, 160px) 0; }
.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 14px 0 0;
}

/* ---------- Introduction ---------- */
.intro { padding-top: clamp(96px, 14vw, 180px); }
.intro__text {
  max-width: 760px;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ---------- Selected Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-item:hover img { transform: scale(1.045); }
.work-item__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.work-item:hover .work-item__caption { opacity: 1; transform: translateY(0); }

.work-item--wide { grid-column: span 2; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}
.service {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.service__num {
  font-size: 13px;
  color: var(--grey-light);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.service h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 14px 0 10px;
  letter-spacing: -0.005em;
}
.service p {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.55;
  margin: 0;
}

/* ---------- About ---------- */
.about {
  background: var(--ink);
  color: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about .eyebrow { color: rgba(246,245,242,0.5); }
.about__quote {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 16px 0 28px;
}
.about__bio {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(246,245,242,0.78);
  max-width: 560px;
}
.about__facts {
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(246,245,242,0.18);
}
.about__facts li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(246,245,242,0.18);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: rgba(246,245,242,0.86);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.about__facts li span:first-child {
  color: rgba(246,245,242,0.48);
}

/* ---------- Clients ---------- */
.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.clients-row span {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.82;
}
.clients-row span.is-placeholder {
  opacity: 0.35;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */
.contact {
  text-align: left;
}
.contact__title {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 780px;
  margin: 0 0 44px;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.contact__item .eyebrow { display: block; margin-bottom: 10px; }
.contact__item a, .contact__item p {
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.contact__item a:hover { text-decoration: underline; }
.contact__note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--grey-light);
  max-width: 520px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 28px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
  border-top: 1px solid var(--line);
}
.footer a { color: var(--grey); }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal-on-scroll (subtle) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: inline-flex;
    background: none;
    border: none;
    color: inherit;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav.is-open .nav__links a {
    padding: 14px var(--gutter);
    width: 100%;
  }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-item--wide { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 64px 0; }
}
