/* ===== Mariana Brasileiro — portfolio ===== */

:root {
  --red: #c71616;
  --white: #ffffff;
  --black: #111111;
  --max: 1400px;
  --side: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--red);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.eyebrow {
  font-weight: 800;
  font-size: clamp(0.54rem, 0.75vw, 0.64rem);
  letter-spacing: 0em;
  text-transform: uppercase;
  margin: 0 0 0.35em;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: clamp(0.78rem, 1.05vw, 0.95rem);
  line-height: 1.55;
}
.tags li.active { text-decoration: line-through; }

.section-heading {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0;
  text-align: right;
}

.caption-body {
  font-weight: 500;
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  line-height: 1.35;
  margin: 0;
}
.caption-brand {
  font-weight: 700;
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  margin: 0.15em 0 0;
}

/* ---------- Top nav ---------- */
.topnav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.topnav .nav-sub {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.52rem, 0.64vw, 0.6rem);
  line-height: 1.15;
  max-width: 15rem;
}
.topnav .nav-right { text-align: left; margin-left: auto; }
.topnav .nav-right .nav-sub { margin-left: auto; }
.topnav .tagline {
  margin: -1.2em auto 0;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(0.58rem, 0.75vw, 0.7rem);
  line-height: 1.15;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
}
.hero-imgwrap {
  width: 100%;
  aspect-ratio: 1830 / 770;
  overflow: hidden;
  background: #ddd;
}
.hero-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-title {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  transform: translateY(-98%);
  margin: 0;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 7.2vw, 7.1rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
  pointer-events: none;
  text-align: center;
}
.title-anchor {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.title-line2 {
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
}
.hero-blurb {
  position: absolute;
  left: var(--side);
  top: 28%;
  margin: 0;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(0.62rem, 0.95vw, 0.85rem);
  line-height: 1.4;
}

/* ---------- Section base ---------- */
section.block {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
#content-creation {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 640px) {
  .block-head {
    flex-direction: column;
  }
  .section-heading { text-align: left; }
}

/* ---------- Content Creation canvas ---------- */
.cc-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 2000 / 522;
}
.cph { position: absolute; overflow: hidden; }
.cph img { width: 100%; height: 100%; object-fit: cover; }
.cc-big img { object-fit: contain; }

.cc-t1 { left: 0.00%; top: 5.8%; width: 7.60%; height: 40.99%; }
.cc-t2 { left: 8.00%; top: 5.8%; width: 7.35%; height: 40.99%; }
.cc-t3 { left: 15.70%; top: 5.8%; width: 7.35%; height: 40.99%; }

.cc-t4 { left: 15.70%; top: 48.7%; width: 7.35%; height: 41.00%; }
.cc-t5 { left: 23.40%; top: 48.7%; width: 7.35%; height: 41.00%; }
.cc-t6 { left: 31.10%; top: 48.7%; width: 7.40%; height: 41.00%; }

.cc-cap {
  position: absolute;
  left: 22.5%;
  top: 14%;
  width: 16.5%;
  text-align: center;
  margin: 0;
  font-size: clamp(0.56rem, 0.7vw, 0.66rem);
}

.cc-big { left: 38.75%; top: 0.57%; width: 23.05%; height: 90.43%; }

.cc-r1 { left: 62.05%; top: 5.8%; width: 7.40%; height: 40.99%; }
.cc-r2 { left: 69.75%; top: 5.8%; width: 7.40%; height: 40.99%; }
.cc-r3 { left: 77.50%; top: 5.8%; width: 7.35%; height: 40.99%; }

.cc-r4 { left: 77.50%; top: 48.7%; width: 7.40%; height: 41.00%; }
.cc-r5 { left: 85.20%; top: 48.7%; width: 7.35%; height: 41.00%; }
.cc-r6 { left: 92.95%; top: 48.7%; width: 7.05%; height: 41.00%; }

.cc-email {
  position: absolute;
  left: 0;
  top: 66%;
  width: 19%;
  margin: 0;
  font-size: clamp(0.5rem, 0.65vw, 0.62rem);
  font-weight: 500;
  opacity: 0.85;
  text-align: left;
}
.cc-lisbon {
  position: absolute;
  left: 62.5%;
  top: 70%;
  width: 14%;
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-size: clamp(0.64rem, 0.8vw, 0.75rem);
}

@media (max-width: 760px) {
  .cc-canvas {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .cph, .cc-cap, .cc-email, .cc-lisbon {
    position: static;
    width: 100% !important;
    height: auto !important;
    margin: 0.35rem 0;
  }
  .cph img { aspect-ratio: 150/218; }
  .cc-big img { aspect-ratio: 1/1; }
  .cc-cap, .cc-lisbon { text-align: center; }
}

/* ---------- Fashion Content ---------- */
.fashion {
  background: var(--red);
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.fashion .section-heading { color: var(--white); }
.fashion .block-head { margin-bottom: clamp(0.5rem, 1.5vw, 1.25rem); }
.fashion-caption {
  text-align: center;
  font-weight: 500;
  font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  margin: clamp(1rem, 2.5vw, 1.8rem) 0;
}
.fashion-caption-right {
  margin-left: 46%;
}
.fashion-caption-top {
  margin-top: 1.4em;
  margin-left: -12%;
}
.fashion-caption-left {
  text-align: center;
  margin-top: 0.2em;
  margin-left: -59%;
}
.fashion-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(0.3rem, 0.8vw, 0.7rem);
  width: 80%;
  margin: 0 auto;
}
.fashion-row img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 209/218; }

@media (max-width: 760px) {
  .fashion-row { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Video ---------- */
.video-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1880 / 1326;
}
.video-canvas .vc-tags {
  position: absolute;
  left: 3.4%;
  top: 0.6%;
  margin: 0;
}
.video-word.vc-word {
  position: absolute;
  left: 0;
  top: 45.6%;
  width: 100%;
  margin: 0;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.05em;
  font-size: clamp(2.4rem, 9.5vw, 7.6rem);
}
.vph {
  position: absolute;
  overflow: hidden;
}
.vph a { display: block; width: 100%; height: 100%; }
.vph img { width: 100%; height: 100%; object-fit: cover; }
.vcap {
  position: absolute;
  text-align: center;
}
.vcap .caption-body, .vcap .caption-brand { font-size: clamp(0.6rem, 0.8vw, 0.78rem); }

.vc-soko { left: 36.9%; top: 4.0%; width: 12.7%; height: 34.1%; }
.vc-soko-cap { left: 51.0%; top: 8.8%; width: 12%; text-align: left; }

.vc-heim-cocktail { left: 62.6%; top: 21.3%; width: 11.9%; height: 22.1%; }
.vc-heim-cocktail-cap { left: 75%; top: 34.0%; width: 12%; text-align: left; }

.vc-london { left: 15.1%; top: 32.9%; width: 13.5%; height: 23.9%; }
.vc-london-cap { left: 1.8%; top: 34.5%; width: 12%; text-align: right; }

.vc-nata { left: 67.7%; top: 57.2%; width: 26.2%; height: 24.5%; }
.vc-nata-cap { left: 69%; top: 49.0%; width: 12%; text-align: left; }
.vc-nata-brand {
  position: absolute;
  left: 79%;
  top: 53.6%;
  width: 14%;
  margin: 0;
  text-align: left;
}

.vc-timeout { left: 13.4%; top: 63.5%; width: 12.2%; height: 30.0%; }
.vc-timeout-cap { left: 0.5%; top: 73.5%; width: 12%; text-align: right; }

.vc-heimpark { left: 39.6%; top: 68.6%; width: 18.1%; height: 27.6%; }
.vc-heimpark-cap { left: 24.5%; top: 69.5%; width: 14%; text-align: right; }

@media (max-width: 760px) {
  .video-canvas {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .video-canvas .vc-tags { position: static; }
  .video-word.vc-word { position: static; width: auto; margin: 0.5rem 0; text-align: center; }
  .vph, .vcap {
    position: static;
    width: 55% !important;
    margin: 0 auto;
  }
  .vph { aspect-ratio: 3/4; height: auto !important; }
}

/* ---------- Social Media Manager ---------- */
.smm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: clamp(0.2rem, 0.5vw, 0.5rem);
  align-items: end;
}
.smm-grid .ph img { width: 80%; margin: 0 auto; object-fit: cover; }
.smm-grid .p1 img { aspect-ratio: 222/255; object-position: top; }
.smm-grid .p2 img { aspect-ratio: 269/476; }
.smm-grid .p3 img { aspect-ratio: 222/255; }
.smm-grid .p4 img { aspect-ratio: 272/481; }
.smm-logos { display: flex; align-items: center; justify-content: flex-end; transform: translateY(-25%); }
.smm-logos img { width: min(180%, 480px); max-width: none; object-fit: contain; }

@media (max-width: 760px) {
  .smm-grid { grid-template-columns: repeat(2, 1fr); }
  .smm-logos { grid-column: 1 / 3; justify-content: center; }
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.contact .block-head {
  margin-bottom: clamp(2rem, 6vw, 4rem);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.contact .section-heading { text-align: left; margin-left: -0.1em; }
.contact-links { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-links a { font-weight: 700; font-size: clamp(0.78rem, 1.05vw, 0.95rem); }
.contact-center {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.contact-center p {
  font-weight: 500;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  margin: 0 0 1.5em;
}
.contact-center .hi { font-style: italic; display: block; }
.contact-email {
  font-weight: 500;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  margin-bottom: 2em;
  display: inline-block;
}
.contact-social {
  display: flex;
  justify-content: center;
  gap: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  font-size: clamp(0.78rem, 1.05vw, 0.95rem);
  text-transform: none;
}
.contact-smiley {
  text-align: center;
  margin-top: 1.5em;
  font-size: 1.1rem;
}

footer.made {
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.5;
  padding: 2rem 0;
  font-weight: 500;
}
