/* === ABOUT PAGE FINAL VERSION — fffilms.it === */

/* ---------- Shared Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}

/* ---------- Reset & Base Layout ---------- */
html, body {
  height: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;                 /* sticky footer logic using viewport height */
  overflow: auto !important;          /* undo overflow:hidden from Home page */
  background: #eaeaea;
  color: #111;
  font-family: "Inter", sans-serif;
}

/* ---------- Header ---------- */
/* Local blend layer so Difference works even on solid bg */
header {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(24px, 3vw, 40px);
  z-index: 3;
  isolation: isolate;                 /* isolates blend to header */
  background: transparent;            /* make sure nothing blocks blend */
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: difference;         /* creates inversion context */
  z-index: -1;
}

/* ---------- Dark logo with Difference blend ---------- */
header .logo {
  filter: none;
  mix-blend-mode: difference;
}

header .logo,
header .nav a {
  mix-blend-mode: difference;
  color: #fff;
  transition: opacity 0.3s ease;
  font-weight: 600;
}

:root {
  --side-padding: clamp(1.5rem, 6vw, 7rem);
}

/* ---------- Main Area ---------- */
main.about,
#scrollArea.about {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;                     /* allow footer to stay at bottom */
  min-height: 0;
  height: auto !important;
  overflow: visible !important;
  padding: 120px 0 100px;
}

/* ---------- About Grid ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  justify-content: start;
}

.about-grid > div {
  padding-left: clamp(24px, 6vw, 80px);
}

/* Explicitly align the left column to the container’s left edge */
.about-grid > div:first-child {
  justify-self: start;
  margin-left: 0;
  padding-left: 0;
}

/* Optional: give the right column a bit of air */
.about-grid > aside.contacts {
  padding-left: clamp(40px, 8vw, 120px);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-grid > div {
    padding-left: 0;
  }
}

/* ---------- Tighter mobile layout ---------- */
@media (max-width: 980px) {
  .container {
    padding: 0 44px; /* narrower horizontal padding */
  }

  .about-grid > aside.contacts {
    padding-left: 0 !important;
    margin-top: 32px;
  }
}

/* ---------- Text Blocks ---------- */
.block {
  max-width: 640px;
  margin-bottom: 36px;
}

.block h1,
.block h2 {
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: 0;
}

.block p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  margin: 0 0 16px;
}

/* ---------- Services ---------- */
.services-title {
  font-weight: 800;
  font-size: 22px;
  margin: 36px 0 20px;
}

.service-item {
  margin: 14px 0 18px;
}

.service-item .name {
  display: block;
  font-weight: 500;
  font-size: 16px;
}

.service-item .desc {
  display: block;
  font-weight: 500;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 0px;
}

/* ---------- Contacts ---------- */
.contacts h3 {
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 22px;
}

.contacts .row {
  margin: 18px 0 22px;
}

.contacts .label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 0px;
  color: #555555;
}

.contacts a {
  color: #111;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 2px solid transparent;   /* remove visible border */
  transition: border-color 0.25s ease;
}

.contacts a:hover {
  border-color: #111;                     /* underline appears on hover */
}

/* ---------- Manifesto block ---------- */
.manifesto {
  position: relative !important;
  width: 100%;
  max-width: 600px;
  margin-top: 4rem;
  margin-bottom: 6rem;
  padding: 0;
}

.manifesto p {
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 0.3rem);
  line-height: 1.2;
  color: #111;
}

/* ---------- Manifesto logo ---------- */
.manifesto-logo {
  display: block;
  width: clamp(200px, 12vw, 160px);
  margin-top: 2rem;
  filter: brightness(0) saturate(100%) contrast(100%);
}

/* ---------- Footer ---------- */
footer {
  position: relative !important;
  inset: auto !important;
  margin-top: auto !important;        /* push to bottom when content is short */
  padding: 26px 0;
  width: 100%;
  z-index: 1;
  background: none;
  color: #505050;
  font-weight: 600;
  mix-blend-mode:normal;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: left;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
}

footer .nav {
  display: flex;
  gap: 16px;
}

footer .nav a {
  color: #505050;
  font-weight: 600;
  text-decoration: none;
}
footer .nav a:hover {
  text-decoration: underline;
}

/* ---------- Footer final alignment + tone ---------- */

/* make Milano text lighter + align to same left edge as Services */
footer span {
  color: #505050;        /* subtle grey tone */
  font-weight: 600;
}


@media (max-width: 720px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer .nav {
    gap: 12px;
  }
}

/* ---------- Background Video Hidden ---------- */
.bg {
  display: none;
}

/* ---------- Privacy page ---------- */
.privacy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
}

.privacy-content {
  max-width: 720px;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.privacy-content h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.privacy-content h2 {
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.privacy-content p {
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #111;
}

.privacy-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .privacy-content {
    padding-right: 24px;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}
/* ---------- Phone screens: tighter About margins ---------- */
@media (max-width: 480px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
