/* Marisol Portfolio — layout and details that theme.json can't express.
   Colors/fonts come from theme.json (Appearance > Design > Styles). */

:root {
  --mp-pad: clamp(16px, 2.5vw, 40px);
  --mp-white: #fff;
  --mp-muted: rgba(255, 255, 255, .6);
  --mp-soft: rgba(255, 255, 255, .8);
  --mp-line: rgba(255, 255, 255, .12);
  --mp-orange: #f05b3d;
  --mp-max: 1520px;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

.wp-site-blocks { padding-left: 0; padding-right: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
body:not(.home) .wp-site-blocks > header { position: relative; }

/* every full-width section keeps content on the 1520px grid */
.mp-hero, .mp-work, .mp-about, .mp-expertise, .mp-services, .mp-testimonials, .mp-faq, .mp-cta, .mp-header, .mp-footer {
  padding-left: var(--mp-pad); padding-right: var(--mp-pad);
  box-sizing: border-box;
}
.mp-hero > *, .mp-work > *, .mp-about > *, .mp-expertise > *, .mp-services > *, .mp-testimonials > *,
.mp-faq > *, .mp-cta > *, .mp-header > *, .mp-footer > * { max-width: var(--mp-max); margin-left: auto; margin-right: auto; }
.mp-header, .mp-footer { max-width: none !important; }
.mp-header { padding-top: 40px; width: 100%; }
.mp-footer { width: 100%; padding-top: 24px; padding-bottom: 24px; }

.mp-main > * { margin-block-start: 0; }
.mp-inner { padding: 140px var(--mp-pad) 80px; }

/* ---------- small type: labels, tags, links ---------- */
.mp-micro, .mp-tag, .mp-brand, .mp-link-icon, .mp-fl, .mp-row-name.is-small,
.mp-stats .mp-num, .mp-slash {
  font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: .02em;
  text-transform: uppercase; margin: 0;
}
.mp-brand { margin: 0; }
.mp-brand a, .mp-link-icon a, .mp-fl a { text-decoration: none; color: #fff; }
.mp-tag { color: var(--mp-muted); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.mp-tag::before, .mp-tag::after {
  content: ""; display: inline-block; width: 3px; height: 12px; border: 1px solid currentColor;
}
.mp-tag::before { border-right: 0; }
.mp-tag::after { border-left: 0; }
.mp-slash { color: var(--mp-muted); font-weight: 600; }
.mp-link-icon a::after { content: "\2197"; margin-left: 8px; display: inline-block; transition: transform .2s; }
.mp-link-icon a:hover::after { transform: translate(2px, -2px); }
.mp-label, .mp-head-between { display: flex; align-items: center; gap: 24px; }
.mp-head-between { justify-content: space-between; }

/* ---------- header ---------- */
.mp-header-right { gap: 48px; align-items: center; }
.mp-header .mp-link-icon, .mp-brand { white-space: nowrap; }
.mp-menu .wp-block-navigation__responsive-container-open {
  color: #fff; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 12px;
}
.mp-menu .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
.mp-menu .wp-block-navigation__responsive-container-open svg { width: 12px; height: 10px; fill: var(--mp-muted); }
.mp-menu .wp-block-navigation__responsive-container.is-menu-open { background: #000; color: #fff; }
.mp-menu .wp-block-navigation-item__content { font-size: clamp(32px, 6vw, 64px); text-transform: uppercase; letter-spacing: -.02em; line-height: 1.2; }

/* ---------- hero ---------- */
.mp-hero {
  position: relative; min-height: min(100vh, 1080px); display: flex; flex-direction: column; justify-content: flex-end;
  gap: 0; padding-bottom: 40px; overflow: hidden; isolation: isolate;
  background: #000 url("../img/hero-gradient.webp") center / cover no-repeat;
}
.mp-hero::before { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.mp-hero > * { width: 100%; }
.mp-hero-text { margin-bottom: clamp(40px, 8vh, 120px); }
.mp-hero-name {
  font-family: var(--wp--preset--font-family--aspekta); font-weight: 300; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 128px); line-height: 1.1; letter-spacing: -.02em; margin: 0;
}
.mp-hero-row { align-items: flex-start; justify-content: space-between; gap: 24px; margin-top: 0; }
.mp-hero-intro { max-width: 420px; margin: 24px 0 0 clamp(0px, 8vw, 132px); color: var(--mp-soft); font-size: 16px; letter-spacing: -.02em; }
.mp-hero-role {
  font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 6vw, 96px); line-height: 1.1; letter-spacing: -.02em;
  margin: 0 clamp(0px, 10vw, 170px) 0 auto; text-align: right;
}
.mp-hero-bottom { align-items: center; gap: 24px; }
.mp-stats { gap: 40px; }
.mp-stat { gap: 12px; align-items: center; }
.mp-stats .mp-num { color: #fff; }
.mp-hero-bottom .mp-link-icon { margin-left: auto; }

/* ---------- work ---------- */
.mp-work { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(60px, 8vw, 120px); background: #000; }
.mp-work-stack { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 96px); }
.mp-card { display: flex; flex-direction: column; gap: 20px; }
.mp-card-1 { width: 46.6%; align-self: flex-start; }
.mp-card-2 { width: 59.2%; align-self: flex-end; }
.mp-card-3 { width: 46.6%; align-self: flex-start; }
.mp-card-4 { width: 78.9%; align-self: flex-end; }
.mp-card .mp-card-img { margin: 0; overflow: hidden; border-radius: 0; }
.mp-card .mp-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mp-card:hover .mp-card-img img { transform: scale(1.03); }
.mp-card-1 .mp-card-img { aspect-ratio: 708 / 768; }
.mp-card-2 .mp-card-img { aspect-ratio: 900 / 768; }
.mp-card-3 .mp-card-img { aspect-ratio: 1 / 1; }
.mp-card-4 .mp-card-img { aspect-ratio: 16 / 9; }
.mp-card-meta { gap: 8px 16px; align-items: center; }
.mp-card-meta .mp-micro { margin-right: 0; }

/* ---------- about ---------- */
.mp-about { padding-top: clamp(40px, 6vw, 100px); padding-bottom: clamp(60px, 8vw, 120px); }
.mp-about-col { width: min(100%, 560px); margin-left: auto !important; margin-right: 0 !important; display: flex; flex-direction: column; gap: 32px; }
.mp-h2 {
  font-size: clamp(34px, 4.2vw, 64px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; margin: 0;
}
.mp-h2.mp-light { font-weight: 300; }
.mp-h2.mp-bold { font-weight: 700; }
.mp-about-copy { margin-left: clamp(0px, 5vw, 80px); max-width: 480px; display: flex; flex-direction: column; gap: 32px; }
.mp-body { color: var(--mp-soft); letter-spacing: -.02em; margin: 0; }

/* ---------- expertise ---------- */
.mp-expertise { padding-top: clamp(40px, 6vw, 100px); padding-bottom: clamp(60px, 8vw, 120px); }
.mp-head-split { align-items: flex-start; gap: 32px clamp(40px, 6vw, 90px); margin-bottom: clamp(40px, 5vw, 80px); }
.mp-head-split .mp-label { padding-top: 24px; flex: 0 0 auto; }
.mp-head-split .mp-h2 { flex: 1 1 520px; }
.mp-exp-body { gap: 40px 80px; align-items: flex-start; justify-content: space-between; }
.mp-exp-list { flex: 0 1 620px; width: 100%; display: flex; flex-direction: column; }
.mp-exp-row { border-top: 1px solid var(--mp-line); padding: 21px 2px 0; margin-bottom: 20px; align-items: center; gap: 16px; }
.mp-exp-row:last-child { border-bottom: 1px solid var(--mp-line); padding-bottom: 20px; margin-bottom: 0; }
.mp-exp-row:last-child { padding-top: 21px; }
.mp-exp-left { gap: 8px 8px; align-items: center; }
.mp-row-name { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin: 0; }
.mp-exp-img { flex: 1 1 400px; max-width: 820px; margin: 0; }
.mp-exp-img img { width: 100%; height: auto; aspect-ratio: 820 / 461; object-fit: cover; display: block; }

/* ---------- services ---------- */
.mp-services { padding-top: clamp(40px, 6vw, 100px); padding-bottom: clamp(60px, 8vw, 120px); }
.mp-head-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; margin-bottom: clamp(40px, 5vw, 80px); }
.mp-head-center .mp-h2 { max-width: 1064px; }
.mp-head-center .mp-label { justify-content: center; }
.mp-svc-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--mp-line); }
.mp-svc-row { border-top: 1px solid var(--mp-line); padding: 40px 0 0; margin: 0; padding-bottom: 0; min-height: 99px; align-items: flex-start; gap: 24px; }
.mp-svc-row:not(.is-active) .mp-svc-name { color: var(--mp-muted); }
.mp-svc-name {
  font-size: clamp(26px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 40px; font-weight: 400;
}
.mp-svc-row .mp-tag { margin-top: 22px; }
.mp-svc-row:hover .mp-svc-name { color: #fff; }

/* ---------- testimonials ---------- */
.mp-testimonials { padding-top: clamp(40px, 6vw, 100px); padding-bottom: clamp(60px, 8vw, 120px); overflow: hidden; }
.mp-rings { position: relative; width: min(100%, 1080px); aspect-ratio: 1; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.mp-ring-art { position: absolute; inset: 0; margin: 0 !important; pointer-events: none; }
.mp-ring-art::before, .mp-ring-art::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--mp-line);
}
.mp-ring-art::before { inset: 0; }
.mp-ring-art::after { inset: 16.67%; }
.mp-rings-title { position: relative; max-width: 760px; text-align: center; width: 70%; }
.mp-pill, .mp-av { position: absolute; margin: 0; }
.mp-pill {
  background: #000; border: 1px solid var(--mp-line); border-radius: 999px; padding: 16px; color: var(--mp-soft);
  font-size: 14px; line-height: 1.5; letter-spacing: -.02em; white-space: nowrap;
}
.mp-av { width: 64px; height: 64px; }
.mp-av img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.mp-pill-1 { left: 11.8%; top: 21.6%; } .mp-av-1 { left: 4.4%; top: 21%; }
.mp-pill-2 { left: 48.7%; top: 8.7%; }  .mp-av-2 { left: 55.6%; top: 15.1%; }
.mp-pill-3 { left: 73.4%; top: 26.3%; } .mp-av-3 { left: 92.8%; top: 25.7%; }

.mp-quote-row {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 16px; margin-top: 24px;
  scrollbar-width: none;
}
.mp-quote-row::-webkit-scrollbar { display: none; }
.mp-quote {
  flex: 0 0 min(628px, 88%); scroll-snap-align: start; box-sizing: border-box; background: #000; border: 1px solid var(--mp-line);
  padding: 40px; display: flex; flex-direction: column; gap: 32px; margin: 0;
}
.mp-stars { color: #fff; letter-spacing: 4px; font-size: 12px; margin: 0; }
.mp-quote-text { font-size: 20px; line-height: 1.5; letter-spacing: -.02em; color: var(--mp-soft); margin: 0; }
.mp-quote-by { gap: 8px 12px; align-items: center; margin-top: auto; }
.mp-quote-name { font-size: 14px; margin: 0; }
.mp-trusted { justify-content: center; align-items: center; gap: 0; margin-top: 40px; }
.mp-trusted-img { margin: 0 -4px 0 0; }
.mp-trusted-img img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #000; display: block; }
.mp-trusted-text { margin: 0 0 0 20px; font-size: 14px; color: var(--mp-soft); letter-spacing: -.02em; }

/* ---------- FAQ ---------- */
.mp-faq { padding-top: clamp(40px, 6vw, 100px); padding-bottom: clamp(60px, 8vw, 120px); }
.mp-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.mp-faq-grid > * { margin: 0; }
.mp-faq-item { border-top: 1px solid var(--mp-line); padding: 24px 0; }
.mp-faq-item summary { font-size: clamp(20px, 2.2vw, 32px); line-height: 1.2; list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; }
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary::after {
  content: "+"; flex: 0 0 24px; height: 24px; border: 1px solid var(--mp-muted); border-radius: 50%; font-size: 16px; line-height: 22px; text-align: center;
}
.mp-faq-item[open] summary::after { content: "\2212"; }
.mp-faq-item p { font-size: 14px; font-weight: 500; line-height: 1.5; margin: 16px 0 0; max-width: 736px; }
.mp-faq-more { text-align: center; margin-top: 40px; color: var(--mp-soft); }
.mp-faq-more a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- CTA ---------- */
.mp-cta { min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: center; gap: 80px; padding-top: 40px; padding-bottom: 40px; }
.mp-cta > * { width: 100%; }
.mp-cta-top { gap: 24px; }
.mp-cta-main { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.mp-cta-title { font-size: clamp(44px, 8vw, 128px); text-transform: uppercase; line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 400; }
.wp-block-buttons .mp-circle .wp-block-button__link {
  width: 72px; height: 72px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1; background: #fff; color: #000; transition: transform .2s ease;
}
.wp-block-buttons .mp-circle-orange .wp-block-button__link { background: var(--mp-orange); color: #fff; }
.wp-block-buttons .mp-circle .wp-block-button__link:hover { transform: scale(1.08); }

/* ---------- footer ---------- */
.mp-footer { align-items: center; gap: 16px 40px; border-top: 1px solid var(--mp-line); }
.mp-footer-links { gap: 40px; }
.mp-copy { margin: 0; font-size: 14px; color: var(--mp-soft); letter-spacing: -.02em; }
.mp-fl a:hover, .mp-link-icon a:hover { opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .mp-card-1, .mp-card-2, .mp-card-3, .mp-card-4 { width: 100%; align-self: stretch; }
  .mp-about-col { margin-left: 0 !important; margin-right: auto !important; }
  .mp-hero-role { margin: 0; text-align: left; }
  .mp-hero-intro { margin-left: 0; }
  .mp-faq-grid { grid-template-columns: 1fr; }
  .mp-rings { aspect-ratio: auto; flex-direction: column; gap: 24px; padding: 24px 0; }
  .mp-ring-art { display: none; }
  .mp-pill, .mp-av { position: static; }
  .mp-rings-title { width: 100%; }
  .mp-head-split .mp-label { padding-top: 0; }
}
@media (max-width: 640px) {
  .mp-header-right { gap: 24px; }
  .mp-quote { padding: 24px; }
  .mp-svc-row { flex-wrap: wrap; }
  .mp-footer { justify-content: center; text-align: center; }
  .mp-hero-bottom .mp-link-icon { margin-left: 0; }
}
