/* =====================================================================
   MAFE STUDIO — home extras (the home keeps the Framer "Miles" markup)
   ===================================================================== */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}
::selection{background:#fff;color:#000}

/* hover roll on the regenerated Framer buttons */
.mf-roll>span:nth-child(2),.mf-roll>span:nth-child(3){transition:transform .55s cubic-bezier(.65,0,.35,1);transition-delay:calc(var(--i,0) * 22ms)}
a:hover .mf-roll>span:nth-child(2),a:focus-visible .mf-roll>span:nth-child(2){transform:translateY(-120%)!important}
a:hover .mf-roll>span:nth-child(3),a:focus-visible .mf-roll>span:nth-child(3){transform:none!important}


/* hero: project photos follow the pointer */
.mf-trail{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.mf-trail__img{position:absolute;left:0;top:0;width:clamp(170px,15vw,250px);aspect-ratio:4/5;object-fit:cover;opacity:0;will-change:transform,opacity;border-radius:2px}
.mf-hint{position:absolute;right:20px;top:50%;z-index:1;font:500 12px/1 "Inter Display","Inter",sans-serif;letter-spacing:.02em;text-transform:uppercase;color:rgba(255,255,255,.45);writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg);pointer-events:none;transition:opacity .6s}
.mf-hint.is-gone{opacity:0}
@media (hover:none),(pointer:coarse){.mf-hint{display:none}}

/* 3D carousel: draggable */
.mf-drag{cursor:grab}
.mf-drag.is-dragging{cursor:grabbing}

/* page transition + cursor (shared look with the inner pages) */
.pt{position:fixed;inset:0;background:#000;pointer-events:none;opacity:1;transition:opacity .6s cubic-bezier(.22,1,.36,1)}
.pt.is-off{opacity:0}
.pt.is-on{opacity:1;pointer-events:all}
.cursor{position:fixed;left:0;top:0;pointer-events:none;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:#fff;mix-blend-mode:difference;transition:width .35s cubic-bezier(.22,1,.36,1),height .35s cubic-bezier(.22,1,.36,1),margin .35s cubic-bezier(.22,1,.36,1),opacity .3s;opacity:0}
.cursor.is-on{opacity:1}
.cursor.is-link{width:44px;height:44px;margin:-22px 0 0 -22px}
.cursor.is-label{width:92px;height:92px;margin:-46px 0 0 -46px;mix-blend-mode:normal;display:grid;place-items:center}
.cursor__txt{font:500 12px/1 "Inter Display","Inter",sans-serif;text-transform:uppercase;letter-spacing:.02em;color:#000;opacity:0;transition:opacity .25s}
.cursor.is-label .cursor__txt{opacity:1}
@media (hover:none),(pointer:coarse){.cursor{display:none}}

/* preloader (first visit per session) */
.mf-pre{position:fixed;inset:0;z-index:2147483600;background:#000;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:14px 20px 20px;font-family:"Inter Display","Inter",sans-serif;transition:transform 1s cubic-bezier(.76,0,.24,1)}
.mf-pre.is-done{transform:translateY(-100%)}
.mf-pre__top{display:flex;justify-content:space-between;font-size:14px;font-weight:500}
.mf-pre__num{font-size:clamp(90px,22vw,340px);line-height:.78;letter-spacing:-.06em;font-weight:400;align-self:flex-end;font-variant-numeric:tabular-nums}
.mf-pre__bar{height:1px;background:rgba(255,255,255,.15);margin-top:14px;position:relative;overflow:hidden}
.mf-pre__bar i{position:absolute;inset:0;background:#fff;transform-origin:left;transform:scaleX(0)}

/* sitemap bar under the Framer footer */
.mf-footbar{background:#000;color:rgba(255,255,255,.6);font:500 12px/1.1 "Inter Display","Inter",sans-serif;letter-spacing:.01em;text-transform:uppercase;border-top:1px solid rgba(255,255,255,.12)}
.mf-footbar__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:30px 20px 36px}
.mf-footbar__grid div{display:flex;flex-direction:column;gap:6px}
.mf-footbar__grid b{font-weight:500;color:rgba(255,255,255,.35);margin-bottom:6px}
.mf-footbar a{color:#fff;width:max-content}
.mf-footbar__bar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:16px 20px 20px;border-top:1px solid rgba(255,255,255,.12)}
.mf-footbar__bar a{color:rgba(255,255,255,.6)}
.mf-footbar__bar a:hover{color:#fff}
@media (max-width:809.98px){.mf-footbar__grid{grid-template-columns:1fr 1fr;row-gap:30px}}
@media (prefers-reduced-motion:reduce){.mf-pre{display:none}.mf-trail{display:none}}

/* ------------------------------------------------------------ theme: light mode swaps the Framer color tokens */
:root{--cta-bg:#fff;--cta-fg:#000;--mf-bg:#000;--mf-fg:#fff;--mf-muted:rgba(255,255,255,.6);--mf-line:rgba(255,255,255,.12);color-scheme:dark}
html[data-theme="light"]{--cta-bg:#000;--cta-fg:#fff;--mf-bg:#fff;--mf-fg:#000;--mf-muted:rgba(0,0,0,.6);--mf-line:rgba(0,0,0,.12);color-scheme:light}
html[data-theme="light"] body{
  --token-770c88e7-2ead-4762-b4da-bb0f36cf9968:#000;
  --token-26f06691-7e25-4ac9-935d-1aa64f147d3b:#fff;
  --token-0dd34ef4-5b31-4fc4-b491-4fdca109b754:rgba(0,0,0,.6);
  --token-342ab288-3bb6-48d1-a5fa-7163f7f8473e:#fff;
  --token-06d1109d-6099-4c8c-abd3-f8153e496bc3:rgba(0,0,0,.1);
  --token-38dd6d16-6348-4ddc-9775-37273a9814c3:#000;
  --token-9be0cd23-c037-4321-90fe-8286e999326d:rgba(0,0,0,.06);
  --token-7ed504ae-371d-438f-a616-38f15c77be35:#000;
  --token-19605ed0-c23b-4276-ac76-1c19fde2795c:rgba(255,255,255,.2);
  --token-3cc7704f-857e-49ef-8afb-2f95c1fef7d4:rgba(0,0,0,.1);
}
html[data-theme="light"] ::selection{background:#000;color:#fff}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
html[data-theme="light"] .mf-footbar,html[data-theme="light"] .mf-pre{background:#fff;color:#000}
html[data-theme="light"] .mf-footbar{color:rgba(0,0,0,.6);border-color:rgba(0,0,0,.12)}
html[data-theme="light"] .mf-footbar a{color:#000}
html[data-theme="light"] .mf-footbar__grid b{color:rgba(0,0,0,.38)}
html[data-theme="light"] .mf-footbar__bar{border-color:rgba(0,0,0,.12)}
html[data-theme="light"] .mf-footbar__bar a{color:rgba(0,0,0,.6)}
html[data-theme="light"] .mf-pre__bar{background:rgba(0,0,0,.15)}
html[data-theme="light"] .mf-pre__bar i{background:#000}
html[data-theme="light"] .mf-pre__logo{filter:invert(1)}
.pt{background:var(--mf-bg)}
.mf-pre__logo{height:22px;width:auto}
.mf-pre__top{align-items:center}
.mf-pre__top span:first-child{display:flex;align-items:center;gap:10px}


/* hero CTA under "MAFE" */
.mf-hero-cta{grid-column:3 / -1;display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:26px;padding-bottom:4px}
.mf-cta__note{display:inline-flex;align-items:center;font:500 12px/1.1 "Inter Display","Inter",sans-serif;letter-spacing:.01em;text-transform:uppercase;color:var(--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754,rgba(255,255,255,.6))}

/* ------------------------------------------------------------ phone: fewer empty black areas */
@media (max-width:809.98px){
  .mf-hero-cta{grid-column:1 / -1;margin-top:24px}
  .framer-FHcf2 .framer-ha7tlf{min-height:0!important;padding-top:110px!important;padding-bottom:110px!important;gap:64px!important}
  .framer-FHcf2 .framer-12789sm{padding-top:70px!important;padding-bottom:40px!important}
  .mf-footbar__grid{padding:26px 15px 30px}
}

/* elements that blend with "difference" must keep white ink in light mode so they invert over any background */
html[data-theme="light"] .framer-F4uPZ .framer-aupj3n,
html[data-theme="light"] .framer-4zUko .framer-1et28wf{
  --token-770c88e7-2ead-4762-b4da-bb0f36cf9968:#fff;
  --token-0dd34ef4-5b31-4fc4-b491-4fdca109b754:rgba(255,255,255,.6);
  --token-06d1109d-6099-4c8c-abd3-f8153e496bc3:rgba(255,255,255,.1);
}
/* "Ver proyectos" sits on a photo: keep it white in both themes */
html[data-theme="light"] .framer-Cdi2q{--token-770c88e7-2ead-4762-b4da-bb0f36cf9968:#fff;--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754:rgba(255,255,255,.6)}
/* hero top line (fills the first screen) */
.mf-hero-top{position:absolute;left:20px;right:20px;top:85px;z-index:1;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;pointer-events:none;font:500 12px/1.1 "Inter Display","Inter",sans-serif;letter-spacing:.01em;text-transform:uppercase;color:var(--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754,rgba(255,255,255,.6))}
.mf-hero-top span{display:inline-flex;align-items:center}
@media (max-width:809.98px){
  .mf-hero-top{left:15px;right:15px;top:81px;flex-direction:column;gap:8px}
  .framer-FHcf2 .framer-gxf3sr{height:auto!important;min-height:0!important;position:relative!important;padding:152px 0 78px!important}
}

/* ============================================================ v3 polish */

/* works cards: caption at the bottom, title and services on the same line */
.framer-4zUko .framer-1et28wf{justify-content:flex-end!important}
.framer-4zUko .framer-vrlk9u{height:auto!important;position:relative!important;top:auto!important;align-items:flex-end!important;justify-content:space-between!important}
@media (max-width:809.98px){
  .framer-4zUko .framer-vrlk9u{flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;gap:8px!important}
  .framer-4zUko .framer-144s6um{max-width:none!important;justify-content:flex-start!important}
  .framer-4zUko .framer-1v0gdr7{max-width:260px!important}
}

/* phone hero: centred, calm composition */
@media (max-width:809.98px){
  section[data-framer-name="Hero"]>.framer-195kq9h{display:none!important}
  section[data-framer-name="Hero"] .framer-3iib1l{flex:1 0 0!important;width:100%!important;padding:0 15px!important;align-items:center!important;gap:22px!important}
  section[data-framer-name="Hero"] .framer-hf5l0k{justify-content:center!important}
  section[data-framer-name="Hero"] .framer-hf5l0k svg.framer-pos44n{width:min(100%,330px)!important;height:auto!important;flex:none}
  section[data-framer-name="Hero"] .framer-1fv27jh{display:flex!important;flex-direction:column!important;align-items:center!important;padding:0!important;width:100%!important}
  section[data-framer-name="Hero"] .framer-h52opu{display:none!important}
  section[data-framer-name="Hero"] .framer-1px1af6{white-space:normal!important;max-width:300px!important;width:auto!important;justify-content:center!important}
  section[data-framer-name="Hero"] .framer-1px1af6 p{text-align:center!important;font-size:15px!important;line-height:1.3!important}
  .mf-hero-cta{align-items:center;margin-top:28px;gap:14px}
  .mf-hero-top{align-items:center;text-align:center;gap:10px}
  section[data-framer-name="Hero"] .framer-1sp9uxq{justify-content:center!important;gap:14px}
}
@media (max-width:809.98px){.mf-hint{display:none}}
/* SEO H1 in the hero top line, styled like the original label */
.mf-h1{margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
.mf-h1::before{content:"( "}
.mf-h1::after{content:" )"}

/* ============================================================ v4: one button language, aligned hero
   Primary CTA = outlined rectangle (1px ink border, transparent fill) + MaFe mark (PNG).
   Hover wipes the ink in from below and inverts text + mark. */
.mf-cta{--ink:var(--mf-fg);--paper:var(--mf-bg);position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;gap:12px;height:48px;padding:0 20px 0 16px;
  border:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);font:500 14px/1 "Inter Display","Inter",sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap;
  transition:color .5s cubic-bezier(.65,0,.35,1)}
.mf-cta::before{content:"";position:absolute;inset:-1px;z-index:-1;background:var(--ink);transform:scaleY(0);transform-origin:top;transition:transform .55s cubic-bezier(.65,0,.35,1)}
.mf-cta:hover,.mf-cta:focus-visible{color:var(--paper)}
.mf-cta:hover::before,.mf-cta:focus-visible::before{transform:scaleY(1);transform-origin:bottom}
.mf-cta__logo{display:block;width:18px;height:18px;object-fit:contain;flex:none;transition:filter .5s cubic-bezier(.65,0,.35,1)}
.mf-cta:hover .mf-cta__logo,.mf-cta:focus-visible .mf-cta__logo{filter:invert(1)}
html[data-theme="light"] .mf-cta__logo{filter:invert(1)}
html[data-theme="light"] .mf-cta:hover .mf-cta__logo,html[data-theme="light"] .mf-cta:focus-visible .mf-cta__logo{filter:none}
.mf-cta__arrow{margin-left:2px;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.mf-cta:hover .mf-cta__arrow{transform:translate(3px,-3px)}

/* "Empezar proyecto" (values section): same outlined language, MaFe mark instead of a photo.
   That section is inverted (white in dark mode, black in light mode), so its ink is token 342ab288. */
.framer-ZlCt1.framer-nnjej6{--mf-ink:var(--token-342ab288-3bb6-48d1-a5fa-7163f7f8473e,#000);--mf-paper:var(--token-770c88e7-2ead-4762-b4da-bb0f36cf9968,#fff);
  border-radius:0!important;background:transparent!important;padding:0 22px 0 16px!important;height:48px!important;gap:12px!important;
  --border-color:var(--mf-ink)!important;isolation:isolate;overflow:hidden!important}
.framer-ZlCt1.framer-nnjej6::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--mf-ink);transform:scaleY(0);transform-origin:top;transition:transform .55s cubic-bezier(.65,0,.35,1)}
.framer-ZlCt1.framer-nnjej6:hover::before{transform:scaleY(1);transform-origin:bottom}
.framer-ZlCt1[data-border=true]:after{border-radius:0!important}
.framer-ZlCt1 .framer-t9oizw{border-radius:0!important;width:18px!important;height:18px!important}
.framer-ZlCt1 .framer-t9oizw img{object-fit:contain!important;border-radius:0!important;filter:invert(1)!important;transition:filter .5s}
html[data-theme="light"] .framer-ZlCt1 .framer-t9oizw img,.framer-ZlCt1.framer-nnjej6:hover .framer-t9oizw img{filter:none!important}
html[data-theme="light"] .framer-ZlCt1.framer-nnjej6:hover .framer-t9oizw img{filter:invert(1)!important}
.framer-ZlCt1 .framer-trmak5 p,.framer-ZlCt1 .framer-19iyy4t p{--framer-text-color:var(--mf-ink)!important;transition:color .5s}
.framer-ZlCt1.framer-nnjej6:hover .framer-trmak5 p,.framer-ZlCt1.framer-nnjej6:hover .framer-19iyy4t p{--framer-text-color:var(--mf-paper)!important}
.framer-ZlCt1 .mf-cta__arrow{position:relative;font:500 14px/1 "Inter Display","Inter",sans-serif;color:var(--mf-ink);transition:color .5s,transform .5s cubic-bezier(.22,1,.36,1)}
.framer-ZlCt1.framer-nnjej6:hover .mf-cta__arrow{color:var(--mf-paper);transform:translate(3px,-3px)}

/* founders' initials and the MaFe mark in the quotes: transparent PNGs, black in light mode */
.mf-avatar{object-fit:contain!important;background:none!important}
html[data-theme="light"] .mf-avatar{filter:invert(1)}

/* desktop hero: intro + CTA share MAFE's left edge; wider measure so the copy breathes.
   The fit-text SVG is 90% of the column and the M's side bearing is ~2.97% of the SVG:
   2.68% of the column puts the copy and the button exactly on the M's stem at every width. */
@media (min-width:810px){
  section[data-framer-name="Hero"] .framer-1fv27jh{--mf-glyph-inset:2.68%}
  section[data-framer-name="Hero"] .framer-1fv27jh{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;padding:0!important;width:100%!important}
  section[data-framer-name="Hero"] .framer-h52opu{display:none!important}
  section[data-framer-name="Hero"] .framer-1px1af6{white-space:normal!important;width:100%!important;max-width:460px!important;padding-left:var(--mf-glyph-inset)}
  .mf-hero-cta{margin-top:28px;gap:14px;padding-left:var(--mf-glyph-inset)}
}

/* founders' lines: fill the empty half of the hero, in the same row as the intro (desktop) */
.mf-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;pointer-events:none;
  font:500 14px/1.16 "Inter Display","Inter",sans-serif;letter-spacing:0;text-align:left}
.mf-quote{margin:0;display:flex;flex-direction:column;gap:14px;min-width:0}
.mf-quote blockquote{margin:0;padding:0;quotes:none;color:var(--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754,rgba(255,255,255,.6))}
.mf-quote figcaption{display:flex;flex-direction:column;gap:4px;font:500 12px/1.1 "Inter Display","Inter",sans-serif;letter-spacing:.01em;text-transform:uppercase}
.mf-quote figcaption b{font-weight:500;color:var(--token-770c88e7-2ead-4762-b4da-bb0f36cf9968,#fff)}
.mf-quote figcaption span{color:var(--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754,rgba(255,255,255,.6));opacity:.8}
@media (min-width:810px){
  /* the empty left half is exactly as wide as the intro column: left:-100% lands on the page margin */
  section[data-framer-name="Hero"] .framer-1fv27jh{overflow:visible!important;position:relative!important}
  .mf-quotes{position:absolute;top:0;left:-100%;width:calc(100% - 20px)}
  .mf-quote{max-width:260px}
}
/* phone: centred copy, very quiet lines under the CTA */
@media (max-width:809.98px){
  section[data-framer-name="Hero"] .framer-1px1af6{align-self:center!important;margin:0 auto!important}
  section[data-framer-name="Hero"] .framer-1px1af6 p{text-align:center!important}
  .mf-hero-cta{align-self:center}
  .mf-quotes{width:100%;max-width:340px;margin-top:38px;gap:16px;text-align:center;font-size:11px;line-height:1.3;opacity:.75}
  .mf-quote{gap:8px;align-items:center}
  .mf-quote figcaption{font-size:10px}
  .mf-quote figcaption span{display:none}
}

/* ============================================================ v5: index of the 16 projects in the hero
   desktop: 8 x 2 mosaic, exactly as tall as the MAFE letters (cap height to baseline) in the empty half;
   phone: a swipeable strip under the CTA so projects are visible right after landing */
.mf-sheet{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}
.mf-sheet__i{position:relative;display:block;min-width:0;min-height:0;color:inherit;text-decoration:none}
.mf-sheet__m{position:relative;display:block;width:100%;height:100%;overflow:hidden;background:var(--mf-line)}
.mf-sheet__m img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.22,1,.36,1),opacity .45s ease}
.mf-sheet__c{font:500 10px/1 "Inter Display","Inter",sans-serif;letter-spacing:.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.mf-sheet__c b{font-weight:500}
html.js .mf-sheet .mf-sheet__i{opacity:0;transform:translateY(14px)}
html.js .mf-sheet.is-in .mf-sheet__i{opacity:1;transform:none;transition:opacity .8s ease,transform 1s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--i) * 45ms)}
@media (min-width:810px){
  .mf-sheet{position:absolute;left:-100%;bottom:100%;width:calc(100% - 20px);margin-bottom:calc(20px + 1.5%);aspect-ratio:3.64;z-index:1}
  .mf-sheet__c{position:absolute;left:6px;top:6px;color:#fff;mix-blend-mode:difference;opacity:0;transition:opacity .3s ease}
  .mf-sheet__c span{display:none}
  .mf-sheet:hover .mf-sheet__m img{opacity:.32}
  .mf-sheet .mf-sheet__i:hover .mf-sheet__m img{opacity:1;transform:scale(1.07)}
  .mf-sheet__i:hover .mf-sheet__c,.mf-sheet__i:focus-visible .mf-sheet__c{opacity:1}
}
@media (max-width:809.98px){
  section[data-framer-name="Hero"] .framer-1fv27jh,section[data-framer-name="Hero"] .framer-3iib1l{overflow:visible!important}
  .mf-sheet{display:flex;gap:10px;width:100vw;max-width:none;margin-top:40px;padding:0 15px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-left:15px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .mf-sheet::-webkit-scrollbar{display:none}
  .mf-sheet__i{flex:0 0 38vw;max-width:200px;scroll-snap-align:start}
  .mf-sheet__m{aspect-ratio:4/5;height:auto}
  .mf-sheet__c{display:block;margin-top:9px;font-size:12px;line-height:1.25;letter-spacing:0;text-align:left;white-space:normal;color:var(--token-770c88e7-2ead-4762-b4da-bb0f36cf9968,#fff)}
  .mf-sheet__c b{color:var(--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754,rgba(255,255,255,.6))}
  .mf-sheet::after{content:"";flex:0 0 5px}
  .mf-quotes{margin-top:34px}
}

/* project numbers ("01. Canalla Bistro"), same index as the projects page */
.mf-num{font-variant-numeric:tabular-nums}
/* phone: works read like an editorial feed -- photo first, numbered title underneath */
@media (max-width:809.98px){
  .framer-4zUko.framer-v-1pglocx{display:flex!important;flex-direction:column!important;height:auto!important;overflow:visible!important}
  .framer-4zUko.framer-v-1pglocx .framer-1valyjm{position:relative!important;inset:auto!important;order:1;width:100%!important;height:auto!important;aspect-ratio:4/5;flex:none!important}
  .framer-4zUko.framer-v-1pglocx .framer-1et28wf{position:relative!important;inset:auto!important;order:2;height:auto!important;padding:12px 0 0!important;mix-blend-mode:normal!important;background:none!important}
  .framer-4zUko.framer-v-1pglocx .framer-vrlk9u{padding:0!important;gap:4px!important}
  html[data-theme="light"] .framer-4zUko.framer-v-1pglocx .framer-1et28wf{--token-770c88e7-2ead-4762-b4da-bb0f36cf9968:#000;--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754:rgba(0,0,0,.6)}
  .framer-4zUko.framer-v-1pglocx .framer-1v0gdr7 p{--framer-text-color:var(--token-0dd34ef4-5b31-4fc4-b491-4fdca109b754,rgba(255,255,255,.6))!important}
  .framer-4zUko.framer-v-1pglocx h3.framer-text{--framer-font-size:21px!important;font-size:21px!important;line-height:1.15!important;letter-spacing:-.02em!important}
  .framer-FHcf2 .framer-1p83yqf{padding:0 15px!important;row-gap:52px!important}
  .framer-FHcf2 .framer-1mstsp4,.framer-FHcf2 .framer-acb3em,.framer-FHcf2 .framer-1uepye3,.framer-FHcf2 .framer-ve96pb{gap:52px!important}
  .framer-1p83yqf [class$="-container"]{aspect-ratio:auto!important;height:auto!important}
}

/* preloader: the projects flash in the centre while it counts to 100 */
.mf-pre__stage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.mf-pre__frame{position:relative;width:clamp(150px,17vw,250px);aspect-ratio:4/5;overflow:hidden;background:rgba(255,255,255,.06);animation:mfFrame 1.2s cubic-bezier(.22,1,.36,1) both}
.mf-pre__frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;visibility:hidden}
.mf-pre__frame img.is-on{visibility:visible}
.mf-pre__cap{display:flex;gap:10px;min-height:12px;font:500 12px/1 "Inter Display","Inter",sans-serif;letter-spacing:.01em;text-transform:uppercase;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.6)}
.mf-pre__cap b{font-weight:500;color:#fff}
html[data-theme="light"] .mf-pre__frame{background:rgba(0,0,0,.06)}
html[data-theme="light"] .mf-pre__cap{color:rgba(0,0,0,.6)}
html[data-theme="light"] .mf-pre__cap b{color:#000}
@keyframes mfFrame{from{clip-path:inset(50% 0 50% 0)}to{clip-path:inset(0 0 0 0)}}
@media (max-width:809.98px){.mf-pre{padding:14px 15px 18px}.mf-pre__frame{width:44vw;max-width:200px}}

/* project photos are links */
/* Framer turns pointer events off on image wrappers (3D carousel): the link turns them back on */
.mf-imglink{display:block;width:100%;height:100%;color:inherit;pointer-events:auto!important;-webkit-user-drag:none}
.mf-imglink img{-webkit-user-drag:none}
/* =====================================================================
   MAFE STUDIO — shared header (home + every page). One source of truth:
   the header must never change or jump between pages.
   ===================================================================== */
:root{--pad:20px;--nav-h:45px;--ease:cubic-bezier(.22,1,.36,1);--ease-io:cubic-bezier(.65,0,.35,1);
  --h-bg:#000;--h-fg:#fff;--h-muted:rgba(255,255,255,.6);--h-line:rgba(255,255,255,.12)}
html[data-theme="light"]{--h-bg:#fff;--h-fg:#000;--h-muted:rgba(0,0,0,.6);--h-line:rgba(0,0,0,.12)}
@media (max-width:809.98px){:root{--pad:15px;--nav-h:55px}}

/* layering, identical on every page: menu < page transition < header < cursor < skip link (< home preloader) */
.pt{z-index:2147483100!important}
.cursor{z-index:2147483300!important}
.skip{z-index:2147483400!important}

.nav{position:fixed;inset:0 0 auto 0;z-index:2147483200;height:var(--nav-h);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;
  padding:0 var(--pad);margin:0;mix-blend-mode:difference;color:#fff;box-sizing:border-box;
  font:500 14px/1.16 "Inter Display","Inter Display Placeholder","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  letter-spacing:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.nav *{box-sizing:border-box}
.nav a{color:inherit;text-decoration:none}
.nav button{font:inherit;color:inherit;background:none;border:0;margin:0;cursor:pointer}
.nav__logo{justify-self:start;display:flex;align-items:center;gap:9px}
.nav__logo img{display:block;height:19px;width:auto;max-width:none}
.nav__links{display:flex;gap:8px;margin:0;padding:0}
.nav__links a[aria-current="page"]{opacity:.55}
.nav__right{justify-self:end;display:flex;align-items:center;gap:16px}
.nav__menu{display:none;background:none!important;padding:8px 0!important;font-size:18px!important;line-height:1!important}

.theme-toggle{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;flex:none;padding:0;color:inherit}
.theme-toggle__i{width:15px;height:15px;border-radius:50%;border:1.5px solid currentColor;background:linear-gradient(90deg,currentColor 50%,transparent 50%);transition:transform .7s var(--ease-io)}
html[data-theme="light"] .theme-toggle__i{transform:rotate(180deg)}
.theme-toggle:hover .theme-toggle__i{transform:rotate(90deg)}
html[data-theme="light"] .theme-toggle:hover .theme-toggle__i{transform:rotate(270deg)}

/* hover roll (letters slide up) */
.roll{display:inline-flex;white-space:pre}
.roll__c{position:relative;display:inline-block;overflow:hidden;padding-bottom:2px;vertical-align:top}
.roll__c>span{display:inline-block;transition:transform .55s var(--ease-io);transition-delay:calc(var(--i,0) * 22ms)}
.roll__c>span+span{position:absolute;left:0;top:0;transform:translateY(120%)}
a:hover .roll__c>span:first-child,a:focus-visible .roll__c>span:first-child,button:hover .roll__c>span:first-child{transform:translateY(-120%)}
a:hover .roll__c>span+span,a:focus-visible .roll__c>span+span,button:hover .roll__c>span+span{transform:none}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* phone menu overlay */
.menu{position:fixed;inset:0;z-index:2147483000;background:var(--h-bg);color:var(--h-fg);padding:calc(var(--nav-h) + 90px) var(--pad) 30px;display:flex;flex-direction:column;justify-content:space-between;gap:40px;
  opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility 0s linear .45s;overflow-y:auto;box-sizing:border-box;
  font:500 14px/1.16 "Inter Display","Inter Display Placeholder","Inter",-apple-system,BlinkMacSystemFont,sans-serif}
.menu.is-open{opacity:1;visibility:visible;transition:opacity .45s var(--ease)}
.menu a{color:inherit;text-decoration:none}
.menu__main{display:flex;flex-direction:column;gap:6px}
.menu__main a{font-size:40px;line-height:1;letter-spacing:-.03em;font-weight:400;transform:translateY(20px);opacity:0;transition:transform .7s var(--ease),opacity .7s var(--ease)}
.menu.is-open .menu__main a{transform:none;opacity:1}
.menu.is-open .menu__main a:nth-child(2){transition-delay:.04s}.menu.is-open .menu__main a:nth-child(3){transition-delay:.08s}
.menu.is-open .menu__main a:nth-child(4){transition-delay:.12s}.menu.is-open .menu__main a:nth-child(5){transition-delay:.16s}
.menu.is-open .menu__main a:nth-child(6){transition-delay:.2s}
.menu__sub{display:grid;grid-template-columns:1fr 1fr;gap:28px 20px}
.menu__sub div{display:flex;flex-direction:column;gap:4px;font-size:16px}
.menu__sub .label{color:var(--h-muted);font-size:12px;margin-bottom:6px;text-transform:uppercase;letter-spacing:.01em}

@media (max-width:809.98px){
  .nav{grid-template-columns:1fr auto;font-size:18px}
  .nav__links,.nav__cta{display:none}
  .nav__menu{display:block}
  .nav__right{gap:16px}
  .nav__logo img{height:22px}
}

/* thin arrow (SVG, never an emoji): scales with the text it sits in */
.arr{display:inline-block;width:.68em;height:.68em;vertical-align:.02em;flex:none;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:square}
